Related
Is there any way to do a restore without the need for a pc,
senario:
using my device installing apps
one bricks my phone,
luckly i had nanadroid backup and did a backup how ever long before installing the apps.
(most post are stating that you need to use the adb and pc sdk to load this backup.)
is there a way to do this on the phone?
I'm hoping for one day we get a nandroid restore on the phone. The big challenge is the uniqueness the nandroid backup folder names. There is no real easy way to say 'go here and use this backup'
You can't do it in the shell because the recovery console still has full control of the /sdcard mount right?
That would be slick to be able restore a backup without using a pc. I've had a few occasions when I wanted to install a new theme or try something out when I'm not a home, but don't because I don't want to go without a phone if it fails.
axion68 said:
That would be slick to be able restore a backup without using a pc. I've had a few occasions when I wanted to install a new theme or try something out when I'm not a home, but don't because I don't want to go without a phone if it fails.
Click to expand...
Click to collapse
That is me almost ALL of the time!
Actually, the recovery console doesn't have "control of" your phone, I know I've been able to push update.zips to my phone in the recovery console using ADB, so I would assume you could also rename a "themename.zip" file to update.zip in a similar fashion, then flash it. (You have to type "mount /sdcard" in the console to get it to mount)
I have had to do this before but its tedious for a non-linux user.
If you know the bash commands you can actually use the shell and go to the folder on your sd card. You move it to the root location and rename it to update.zip. For those familiar with dos and windows, its doing a copy and paste, then rename the file.
I used this page for reference. http://www.ss64.com/bash/
There is also a commands built into the shell itself.
To get a list of busybox commands just type 'busybox'
If it flies off the top of the screen, type 'busybox | more'
That will get you started if your familiar with using shell.
I have found though that the easiest way to restore your phone is to get a second 1gig SD if you havent already upgraded to an 8 or 16 gig. Put your most recent update.zip on it. If you mess up, just pop your SD card out put your "back-up" card in and restore it.
Brutal-Force said:
If you know the bash commands you can actually use the shell and go to the folder on your sd card. You move it to the root location and rename it to update.zip. For those familiar with dos and windows, its doing a copy and paste, then rename the file.
I used this page for reference. http://www.ss64.com/bash/
There is also a commands built into the shell itself.
To get a list of busybox commands just type 'busybox'
If it flies off the top of the screen, type 'busybox | more'
That will get you started if your familiar with using shell.
I have found though that the easiest way to restore your phone is to get a second 1gig SD if you havent already upgraded to an 8 or 16 gig. Put your most recent update.zip on it. If you mess up, just pop your SD card out put your "back-up" card in and restore it.
Click to expand...
Click to collapse
i actually have been using a seperate sd card with my apps... thanks for all your responses it has proven helpful... now that they have improved their roms releases i have been able to make partitions on my sdcard just for rom, for apps and for swap....
Can someone help me? For the longest time I've been running Android Keyboard because HTC's keyboard just doesn't work for me any more. Now I want to get it fixed because Android's keyboard is just miserable.
Every time I click on the HTC Keyboard to type it force closes immediately. Anyone know what that's attributed to?
Running Cyanogen's 4.1.6
kevdawg said:
Can someone help me? For the longest time I've been running Android Keyboard because HTC's keyboard just doesn't work for me any more. Now I want to get it fixed because Android's keyboard is just miserable.
Every time I click on the HTC Keyboard to type it force closes immediately. Anyone know what that's attributed to?
Running Cyanogen's 4.1.6
Click to expand...
Click to collapse
try uninstalling HTC_IME and then reinstalling it.. worked for me and several others
What files need to be deleted to completely remove HTC IME from my phone?
uansari1 said:
What files need to be deleted to completely remove HTC IME from my phone?
Click to expand...
Click to collapse
i just uninstall it through AppManager ... theres an adb command that cyanogen posted a long time ago and i always forget it but ill look for it now .. its something like adb uninstall com.android.htc_ime
EDIT:
here it is:
Code:
adb uninstall com.htc.android.htcime
and then grab HTC_IME from CM Rom and do
Code:
adb install HTC_IME.apk
xidominicanoix said:
i just uninstall it through AppManager ... theres an adb command that cyanogen posted a long time ago and i always forget it but ill look for it now .. its something like adb uninstall com.android.htc_ime
EDIT:
here it is:
Code:
adb uninstall com.htc.android.htcime
and then grab HTC_IME from CM Rom and do
Code:
adb install HTC_IME.apk
Click to expand...
Click to collapse
I may need to try this, since my AppManager seems to not be working properly. After I run the uninstall script, do I just put the extracted HTC_IME.apk in the root folder of my SD card to run the install script?
EDIT: Okay, figured this out! I just put the HTC_IME.apk from the CM-4.1.11.1 ROM zip in my C:\ folder, opened cmd, nav to C:\ and ran those commands. Now HTC_IME Touch Input works!
This was going to be a deal breaker, and I gave up and went back to 4.0.4 until I saw this thread. Thx for the help.
How the noob made it work
http://www.megaupload.com/?d=DGFGMI3I
Link above contains Clicker.apk, HTC_IME.apk, and libt9.so from cyanogen's 4.1.11.1 ROM
Code:
Adb remount
adb push \wateverlocation\libt9.so /system/lib
Then copy the clicker to /system/app... then use a FileManager on your phone to install.. I use ASTRO, its FREE...
you could also adb that, but don't recommend it.
Code:
adb push \wateverlocation\Clicker.apk /system/app
adb push \wateverlocation\HTC_IME.apk /system/app
I have tried what you have written, i have pushed it, but when i find it with the Astro manager i only get the option to UNinstall or details.
And when i try adb install from whateverlocation on pc i get:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
I have Abyzou ROM.
Forget it, it is installed. But now it force closes before it even opens! What the?!
See post HERE for the properly working HTC_IME.
Also has the text to speech option.
Install as instructed and you should be golden
Nice, thanks! But you know what?? It is TOTALLY oversized! I have a tattoo!
Is this ever gonna end for me!
I have a Motorola Cliq, Also a G1. I was wondering. Is there a way to pull an APK from an unrooted phone? I can "adb shell" into the phone and look at it's contents. I see the APK i want to copy but since i don't have root, it says "CP Permission Denied"... Is there a way of pulling or copying an APK if the phone is not rooted???
Did you try adb remount first?
Karolis said:
Did you try adb remount first?
Click to expand...
Click to collapse
yes, I tried ADB remount but it doesn't work... I can do adb devices and it'll show but it won't mount it as rw... it just lists the contents but can't copy,move,pull or push.
Where is the apk located? If it's in /system and it's read-only in theory you should still be able to pull it. Don't know why you're using 'cp' rather than adb pull.. If it's in data/app-private then no you won't be able to pull it. Hence the ADP1 has root but can't download paid apps (to prevent piracy)..
Solved
I tried CP, MV, PULL, PUSH... nothing worked because the phone is not rooted... BUT I SOLVED THE PROBLEM!
Here's what my goal was. My wife got a Motorola Cliq. It came with the TeleNav program and i wanted to put it on my G1... I couldn't get it out because the phone's not rooted....
I fixed the problem though...
I installed ASTRO File Manager on the Motorola Cliq, located the APK and used the e-mail option to e-mail it to myself... that actually worked... woot woot!
Installed it on the G1 and it works like a charm... so now I have Turn by Turn directions on my G1.
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
jbearamus said:
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
Click to expand...
Click to collapse
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Ooglez said:
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Click to expand...
Click to collapse
now i understand the fact that i have a different device may screw things up, but when i look in the data file it says "directory is empty" and when i executed that command via cmd prompt it says remote object...does not exist
the new google maps in market hs turn by turns as well...
Problem solved through other means, thanks for the help!
outa boredem i decied to try apps 2 sd and i did the partion stuff (with ext2 to 3) and then went to dconfig(damge control) and did the apps2sd save and all now i wont to use my apps but i dont know how and dont have android sd installed because i keep getting errors and dont know how to get my apps back or cant download from market and nadroid wont let me nadroid soooooo what do i do??
Yeah the DCconfig is kinda buggy right now. What I would suggest is set the DCconfig back to the no A2SD and then get anything off of your SD that you need then wipe the SD and then reformat it to FAT. Hope that helps
Thomas1218 said:
Yeah the DCconfig is kinda buggy right now. What I would suggest is set the DCconfig back to the no A2SD and then get anything off of your SD that you need then wipe the SD and then reformat it to FAT. Hope that helps
Click to expand...
Click to collapse
how...lol(oblivious expanding my knowledge AND NOT WORKING lol)
try to do UID fix in Recovery under Other
1.Plug your phone into your computer and copy all of your essential files to your desktop.
2.Set the DCconfig back to the default with no A2SD enabled
3.Go to Menu-settings-sd card & phone storage-press then press unmount sdcard then "Format SD card"
Jus10o said:
try to do UID fix in Recovery under Other
Click to expand...
Click to collapse
didnt work now i have market as THIS APP IS NO LONGER INSTALLED ON YOUR PHONE...
rulyskull said:
didnt work now i have market as THIS APP IS NO LONGER INSTALLED ON YOUR PHONE...
Click to expand...
Click to collapse
This happened to me i ended up just formating my sd and reflashing my rom(i was using fresh)
rulyskull said:
didnt work now i have market as THIS APP IS NO LONGER INSTALLED ON YOUR PHONE...
Click to expand...
Click to collapse
cuz market moves to sdcard when using a2sd, I dont know why..
Something definitely went wrong when moving the files to your sd card.
Type this on the computer
adb shell
cd /system/sd/app
ls
If you see a list of apps, then your apps are on your sdcard.
If your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
If your apps are not there or you dont have the directory /system/sd/app then create the folder yourself. Reboot your phone and see if anything works
adb shell
mkdir /system/sd/app
Jus10o said:
cuz market moves to sdcard when using a2sd, I dont know why..
Something definitely went wrong when moving the files to your sd card.
Type this on the computer
adb shell
cd /system/sd/app
ls
If you see a list of apps, then your apps are on your sdcard.
If your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
If your apps are not there or you dont have the directory /system/sd/app then create the folder yourself. Reboot your phone and see if anything works
adb shell
mkdir /system/sd/app
Click to expand...
Click to collapse
my computer wont let me install sdk (it wont show packages availe for download)
rulyskull said:
my computer wont let me install sdk (it wont show packages availe for download)
Click to expand...
Click to collapse
You have to go to setting and click on force download.. Or whatever the check box says.. Ill double check
Edit: Its "force htt://blah blah" it should then show up in downloads.
Jus10o said:
You have to go to setting and click on force download.. Or whatever the check box says.. Ill double check
Edit: Its "force htt://blah blah" it should then show up in downloads.
Click to expand...
Click to collapse
now what? were do i type the commands?
rulyskull said:
now what? were do i type the commands?
Click to expand...
Click to collapse
In to command prompt (assuming you run windows)
go to start at the bottom left (i hope you know start on windows)
run "cmd"
when that comes up type
cd\
cd /android-sdk/tools (Or the folder you installed everything to and names)
adb remount
blah blah and everything else i said to type, i dont remember
One question? how did you root your phone without having android/tools? Im guessing using the flash app on the phone??
Jus10o said:
In to command prompt (assuming you run windows)
go to start at the bottom left (i hope you know start on windows)
run "cmd"
when that comes up type
cd\
cd /android-sdk/tools (Or the folder you installed everything to and names)
adb remount
blah blah and everything else i said to type, i dont remember
One question? how did you root your phone without having android/tools? Im guessing using the flash app on the phone??
Click to expand...
Click to collapse
used very first kitchen (pre-kitchen) and did auto root from there on been flashing and playing with EVERYTHING but thanks for this this really helped if theres anything eles ill pm you one of my ims and sorry for the headack i probally gave you!
No headache.. I used to not know what everything meant also.
But im the type to never ask for help and try to figure it out on my own. Yet im always willing to help the best i can. Im no expert though so I cant answer everyones questions.
Jus10o said:
No headache.. I used to not know what everything meant also.
But im the type to never ask for help and try to figure it out on my own. Yet im always willing to help the best i can. Im no expert though so I cant answer everyones questions.
Click to expand...
Click to collapse
ok well thank you and i don't like to ask either but this one got me and this is giving me a headache it keeps saying the path can not be found i tried many different ways (folder paths) but it keeps saying that and im on vista and i seen what it said when i clicked on all including tools and typed thaT and still no
rulyskull said:
ok well thank you and i don't like to ask either but this one got me and this is giving me a headache it keeps saying the path can not be found i tried many different ways (folder paths) but it keeps saying that and im on vista and i seen what it said when i clicked on all including tools and typed thaT and still no
Click to expand...
Click to collapse
Well go to start > computer> c:/ drive
Find the android folder you created.. You can rename it to "android".
When typing in cmd when it first opens type
cd/
then type
cd /android/tools/
If you renamed your folder to android.
wait so if i go to dconfig and turn off a2sd do the apps auto go back to the phone, or what happs there cause i feel like when i use a2sd i feel like my phone is kinda laggy
Jus10o said:
Well go to start > computer> c:/ drive
Find the android folder you created.. You can rename it to "android".
When typing in cmd when it first opens type
cd/
then type
cd /android/tools/
If you renamed your folder to android.
Click to expand...
Click to collapse
ok so i had a retard move and didnt place it in the c drive lol sorry my bad but now when i do it it says phone not found so do i do htc sync(because i cant mine got infected by a virus so if i luge my phone it idk what will happen) but if i do ll need to do it on a freinds computer BUT I FIGURED IT OUT!!....sorta
so the N1 is one of those phones who does not have a few gigs in internal space... is there a way around this? at first i thought App2SD can be used to move any app over to SD card but guess not??
reason why im lookin into this is cuz sometimes "internal space" is low like around or under 20mb and it starts BLOCKING my text messages D: Noooo then i txt the most freq ppl and see who text me and i usually get lucky that its one of them but thats a pain in the butt, no?
so i was wondering if there was a way for u to move apps on the phone over to be run on the SD card?
If you're rooted, enter pm setInstallLocation 2 in a terminal. If you're not, use ADB shell to enter it.
That will enable 99% of apps to be moved to the SD card.
I had this issue forever and it drove me crazy! Yesterday I decided to take the plunge and I rooted my phone using the superoneclick root method (just google it). It doesn't touch the bootloader (so I still have my warranty) which is why I never rooted before. After that I installed CM7 RC1 and all of my apps have apps to sd now! (go to http://theunlockr.com/2010/01/08/how-to-load-a-custom-rom-on-the-nexus-one/ to learn how to load custom ROM's). Hope this helps.
Not rooted. Just upgraded to 2.3.3 on thursday
ADB shell? is it in market place?
---------------
*edit* lol
was lookin at pinke123's post and the link, went to a part about setting up ADB.. http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
is that the same? should i follow this or were u referring to something else?
Yep that's it. After you've got it just type:
adb shell pm setInstallLocation 2
would i need to reinstall the apps or i can move em as soon as i do that?
You can move them.
It'll have some bad effects, though. If you move wrong apps (those that have widgets, for example) - they'll disappear from your launcher screen.
To the OP: I guess search isn't one of your strengths? Or do you think that in over 1 year that Nexus is out, nobody ever faced that problem?
Read the Wiki, go to Developers forums, read DarkTremor's A2SD thread.
Or you could just start by reading the FAQ, question 9.