[CLI] Background Changer app [Aug-7-2013] - Ubuntu Touch Apps and Games

Figured out how to change the background in Ubuntu Touch. )
You just need to copy the appropriate picture to /home/phablet/Pictures/
Code:
#!/bin/bash
sudo echo
Sleep 1
ls /home/phablet/Pictures/
sleep 3
echo "Please enter a file from /home/phablet/Pictures for New Background:"
read filename
result=$filename
sudo cp /home/phablet/Pictures/$result /usr/share/unity8/graphics/tablet_background.jpg
sudo cp /home/phablet/Pictures/$result /usr/share/unity8/graphics/phone_background.jpg
echo "Ubuntu Touch will reboot in 3 seconds"
notify-send "Background Changed" "$result"
sleep 3
sudo reboot -p

This app will not work as of an update to unity8 and unity8-private from last night.
Will mess around and try to fix it.
With this update it'll read the Pictures folder so you don't have to remember the exact file name.
Sent from my LG-LS970 using xda app-developers app

blmvxer said:
This app will not work as of an update to unity8 and unity8-private from last night.
Will mess around and try to fix it.
With this update it'll read the Pictures folder so you don't have to remember the exact file name.
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
FINNNNALLLLLLYYYYY!!!, thank you so much.

Update
Reads the Pictures folder. Modify it to any location you want.
Should notify you of what picture was selected before reboot.
Sent from my LG-LS970 using xda app-developers app

This app will soon be outdated do to Wallpaper support in Unity8.
Sent from my LG-LS970 using xda app-developers app

blmvxer said:
This app will soon be outdated do to Wallpaper support in Unity8.
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
It doesn't work yet
Sent from my Galaxy Nexus using xda app-developers app

ScardracS said:
It doesn't work yet
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
There is support for it, they just have implemented it yet.
Sent from my LG-LS970 using xda app-developers app

Im trying to change the screens here on my nexus 4 with your script but have no luck.
Are there any specific jpg characteristics i need?
Script is running fine but after reboot i found myself again with the background image it had also before.

akI* said:
Im trying to change the screens here on my nexus 4 with your script but have no luck.
Are there any specific jpg characteristics i need?
Script is running fine but after reboot i found myself again with the background image it had also before.
Click to expand...
Click to collapse
The location of the background may of changed. I will check it out and fix it if possible.
Sent from my LG-LS970 using xda app-developers app

Some large jpg files don't work. It's a hit and miss when looking for new backgrounds.
Sent from my LG-LS970 using xda app-developers app

nice

Related

Dolphin for Tablet

Anyone got the beta file for share?
Sent from my NookColor using XDA app
https://market.android.com/details?id=com.dolphin.browser.pad
it appears to require Honeycomb...
Yea, I tried getting it on my nook and no dice. We'll need the apk. (hopefully it works with 2.3 but just doesn't show up in the Market)
I just put a request in the Xoom thread for Dolphin.
Watch this space http://forum.xda-developers.com/showthread.php?p=16024227#post16024227
Some one just posted it, having issues installing it.
Sent from my NookColor using XDA Premium App
It said there is a problem parsing the package. Is there anything that can be done?
Sent from my NookColor using XDA Premium App
actorman46 said:
It said there is a problem parsing the package. Is there anything that can be done?
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
Same here!
Sent from my NookColor using XDA Premium App
That's because it's Honeycomb only. I tried to decompile it to bypass the version check but it wont decompile correctly using apktool.
<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="10" />
Click to expand...
Click to collapse
joenathane said:
That's because it's Honeycomb only. I tried to decompile it to bypass the version check but it wont decompile correctly using apktool.
Click to expand...
Click to collapse
So in other words were screwed!
Sent from my NookColor using XDA Premium App
Is there a way to fool it into thinking one is using honney comb?
Sent from my NookColor using XDA Premium App
Guys... something to consider; if they set the SDK at level 11, they did so because it uses specific honeycomb calls that we cannot do. You can't "fool" it, because even if you did, it just means it will crash when it makes a call that it cannot do....
That's unfortunate. I was really looking fforward to trying it out
Sent from my I897 using XDA Premium App

[Q] Backing up Track ID

I have over 400 (estimated) track ID's stored in my phone. Id like to flash a new rom but im fairly positive i will lose the whole list of songs. Is there anyway to export the list? Is there a text file somewhere that i can copy over or a way to back up then restore it once i flash?
No one can help?
Sent from my MT15i using xda app-developers app
gsmarena1644 said:
I have over 400 (estimated) track ID's stored in my phone. Id like to flash a new rom but im fairly positive i will lose the whole list of songs. Is there anyway to export the list? Is there a text file somewhere that i can copy over or a way to back up then restore it once i flash?
Click to expand...
Click to collapse
What do you mean? You mean the song or song list?
Sent from my E10i using xda app-developers app
The list, i have close to 400 of them
Sent from my MT15i using xda app-developers app
gsmarena1644 said:
The list, i have close to 400 of them
Sent from my MT15i using xda app-developers app
Click to expand...
Click to collapse
Ok. Are you on stock? Can you give me the apk file please?
Sent from my E10i using xda app-developers app
I am on stock. Just don't know where it's located. Where are the file that you need located?
Sent from my MT15i using xda app-developers app
gsmarena1644 said:
I am on stock. Just don't know where it's located. Where are the file that you need located?
Sent from my MT15i using xda app-developers app
Click to expand...
Click to collapse
Go to data/app or system/app and you will find TrackID.apk so, copy it and paste on your sd card. And share it please... I think I know how can I do this...
Sent from my E10i using xda app-developers app
here's my file, lemme know if i can do anything else, and thank you for your time
http://db.tt/nFqux3Z3
Sent from my MT15i using xda app-developers app
Use titanium backup.
would there be a way to test this method ? Also there has to be somewhere it saves it, in a log or a certain file that i can or should be able to open right?
Rempty said:
Use titanium backup.
Click to expand...
Click to collapse
Install titanium backup, do the backup, search on sdcard/titaniumbackup and zip the files. Upload to xda and i will test it.
Sorry fore my english
Sent from my U20i using xda premium
Her are the files, sorry didn't know how to do it but finally figured it out
http://db.tt/WajynBsF
http://db.tt/NGRSc9Ks
http://db.tt/JVEFPNRF
Sent from my MT15i using xda app-developers app

Picture location

Ok I have another question. I transferred all my pics from my last phone to the DNA and they don't show up in the gallery app. They show up in quickpic though. Any wait to get them to show up there?
Sent from my HTC6435LVW using xda app-developers app
If you're rooted, try using file explorer to move the pictures from wherever they are to the gallery directory. Otherwise, send them to yourself and download them to the phone again.
Sent from my HTC6435LVW using xda app-developers app
Try clearing cache on the gallery, or restart the phone and open it.
Make sure there isn't a .nomedia file in the directory of the pictures.
If all else fails you can move them to the default picture location, and you don't have to be rooted as the guy above me seems to think.
But the default gallery app seems to be really good for me about detecting pics.
Sent from my HTC6435LVW using xda app-developers app
Download an app called rescan media from the play store, it'll fix your problem. :good:
Sent from my HTC6435LVW using xda app-developers app
Thanks everyone. Ill try a few of those
Sent from my HTC6435LVW using xda app-developers app
I didn't say he had to be rooted, I just said that it would make the process easier. He can just as easily send himself the pictures from the other app and download them to his gallery. OP, you should try whatever suggestion you think works best.
Sent from my HTC6435LVW using xda app-developers app

Hidden videos on S3

Has anyone else found the random hidden videos in their s3? These videos don't show up when you go to Gallery > videos. I found 2 videos in /system/media/video . 1 called android in space the other called sunset.
Sent from my GT-I9300 using xda app-developers app
Yeah I found. Since then wondering what would be their use? They may have use for specific system feature.
The only way to have found them is by having root access or via es file explorer or something similar. Just another of Google's Easter eggs?
Sent from my GT-I9300 using xda app-developers app
Haha never noticed them android in space is awesome.
Sent from my GT-I9300 using xda premium
They reside on the preload partition, have no use and come from Samsung.
Not exactly "hidden" if you ask me.
Sent from my GT-I9300 using xda app-developers app
sfjuocekr said:
They reside on the preload partition, have no use and come from Samsung.
Not exactly "hidden" if you ask me.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Not true, they are part of android, not just Samsung.
Also they are not in preload, they are part of system/media/ as already mentioned.
They are in all android installations, CyanogenMod has them, aosp has them etc. etc.
Sent from my Galaxy Nexus using xda premium
The reason for them being on the device as with other phones and tablets is so you can check video play back along with checking the screen quality while playing videos.
Sent from my GT-I9300 using xda premium
sfjuocekr said:
They reside on the preload partition, have no use and come from Samsung.
Not exactly "hidden" if you ask me.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I would say they were hidden, a normal user wouldn't be looking around the root file systems. Most people who don't know what UNIX is would have no idea that there are directories other than what they can see on /sdcard
Sent from my GT-I9300 using xda app-developers app
tororosso125 said:
I would say they were hidden, a normal user wouldn't be looking around the root file systems. Most people who don't know what UNIX is would have no idea that there are directories other than what they can see on /sdcard
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
From normal user perspective they can be defined as hidden. I agreed. Wih Root and android everything.pretty much. is naked.

Gnote not letting me install any thing??

Hello xda i have a galaxy note running PA on king kangers kernal and when i want install anything it wont let me select install when the menu pops. This started happening after I flashed cwm and then flashing back to twrp because i didnt like cwm.. at first I thought it was that part of the screen that wasn't responding but it responds fine to any other finger press in the lower right corner... what's wrong?? Thanks in advance for help.
- matt
Sent from my SAMSUNG-SGH-I717 using xda premium
I run into that issue too off and on, I'm curious about the response too. I assume you're referring to side loads, do you get any issues trying to install anything from the market?
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Marketplace works just fine. just outside sources are and I have that checked...
Sent from my SAMSUNG-SGH-I717 using xda premium
Drop the apk in /data/app and reboot.
Drop it there and then install reboot or other way around??
Sent from my SAMSUNG-SGH-I717 using xda premium
Just paste it in.
May wanna fix permissions in recovery after, but just pasting it there should install it.
So it should be in the app drawer upon booting up.
OK I'll try that
Sent from my SAMSUNG-SGH-I717 using xda premium
Depending on the app,/apk it may require placing it in system/app folder.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
MoJoe277 said:
Depending on the app,/apk it may require placing it in system/app folder.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
Also... depending on the app there may be an accompanying lib file that needs to go in /system/lib
Didn't work. tried a new app and a update for an app and didn't work.. any other ideas??
Sent from my SAMSUNG-SGH-I717 using xda premium
What app and what steps did you take?
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Download a game from outside source. Moved to the data/app via folder manager. Rebooted into recovery, fixed permissions then rebooted again
Sent from my SAMSUNG-SGH-I717 using xda premium
I am not sure of this thread is within the rules of the forum anymore...
If it's paid apps you're trying to download and pirate, no further help will be given here.
No lol not pirated apps... no outside sources is letting me download...
Sent from my SAMSUNG-SGH-I717 using xda premium
It's your rom ....(which one are you using)?
I've had a few like that ....and you need a different browser.
Download boat browser from the play store....and install it.....or use dolphin browser as well.
Then use TIBU to freeze your default browser then reboot.
You should get downloads after that....if not ....you may need a different build....
If using a touchwiz based rom, this problem will occur on occasion.
Post back up with your results ...g
I'm using latest PA. I'll try what you said and post back..
Sent from my SAMSUNG-SGH-I717 using xda premium

Categories

Resources