Stuck on "Android is Updating, Apps is starting" - Nexus 4 Q&A, Help & Troubleshooting

Hey Everyone,
So last night randomly while texting my phone reboots and is now stuck in "Android is Updating screen, Apps is starting" with the swirl icon swirling forever [waited over 15 min]. It keeps doing this and now I assume some file somehow got corrupt?
I'm on 4.2.2, stock rom, franco kernel. I've tried fixing permissions, wiping cache/dvalik and nothing has helped thus far. Only thing I can see is a complete wipe? Nandroid backup is not possible atm. Is there a way to pull all my pictures and files from recovery only?
Are there any other suggestions before I go that route?
Thanks,
Jonathan

Boot into recovery and use adb to pull all the contents of your SD card like this:
Code:
adb pull /sdcard/
Then do a full wipe and flash a ROM.

chromium96 said:
Boot into recovery and use adb to pull all the contents of your SD card like this:
Code:
adb pull /sdcard/
Then do a full wipe and flash a ROM.
Click to expand...
Click to collapse
Just had a question, how do I set where ADB pulls the files?

impruv said:
Just had a question, how do I set where ADB pulls the files?
Click to expand...
Click to collapse
Code:
adb pull \path\of\your\choice /sdcard/

i had the exact thing happen to me in january, something corrupted and it wouldnt finish booting. nandroid restore and wiping/flashing didnt help, i had to flash the factory img to get up and running, then i restored a nandroid backup. did you have fsync disabled?

chromium96 said:
Code:
adb pull \path\of\your\choice /sdcard/
Click to expand...
Click to collapse
Hmmm weird, it says my "remote object '\D:\nexuspull' does not exist" and I'm positive that's the correct path

impruv said:
Hmmm weird, it says my "remote object '\D:\nexuspull' does not exist" and I'm positive that's the correct path
Click to expand...
Click to collapse
Sorry I screwed up the command. It should be like this:
Code:
adb pull /sdcard/ D:\nexuspull

chromium96 said:
Sorry I screwed up the command. It should be like this:
Code:
adb pull /sdcard/ D:\nexuspull
Click to expand...
Click to collapse
Ah thank you. Works perfectly now!

chromium96 said:
Sorry I screwed up the command. It should be like this:
Code:
adb pull /sdcard/ D:\nexuspull
Click to expand...
Click to collapse
It seemed to have pulled MOST of the folders, but I have gone and manually done the rest. There is still one folder I can't pull because the folder name has spaces "Photo Grid". Can adb not deal with paths with spaces? I tried _ as a space but did not work.

impruv said:
It seemed to have pulled MOST of the folders, but I have gone and manually done the rest. There is still one folder I can't pull because the folder name has spaces "Photo Grid". Can adb not deal with paths with spaces? I tried _ as a space but did not work.
Click to expand...
Click to collapse
Have you tried putting the path is double quotes?

Related

Recovery 1.52 - 1.6x? How?

I have searched for the last 30 mins and can't seem to find what the latest recovery image is, or how to upgrade my phone to it.
I want to get the image that allows the use of ext4 to test out the latest Fresh toast and can't seem to find it.
Anyone got a link or a quick how to?
http://forum.xda-developers.com/showpost.php?p=4898505&postcount=1
Every version including 1.6.2 and instructions in that link.
Bielinsk said:
I have searched for the last 30 mins and can't seem to find what the latest recovery image is, or how to upgrade my phone to it.
I want to get the image that allows the use of ext4 to test out the latest Fresh toast and can't seem to find it.
Anyone got a link or a quick how to?
Click to expand...
Click to collapse
copy the .img file to your SD card
unmount the sd card from the PC
open CMD
type
abd shell
su
flash_image recovery /sdcard/recovery_filename.img
reboot.
danknee said:
http://forum.xda-developers.com/showpost.php?p=4898505&postcount=1
Every version including 1.6.2 and instructions in that link.
Click to expand...
Click to collapse
adb shell
su
cd /sdcard/
flash_image recovery recovery-RA-heroc-v1.6.2.img
reboot
Jus10o said:
adb shell
su
cd /sdcard/
flash_image recovery recovery-RA-heroc-v1.6.2.img
reboot
Click to expand...
Click to collapse
Beat me to it. Yeah, just do that. Keep in mind you need to put it on the root of your SD before that.
Thanks all, got it.
I'm trying to update my recovery using the steps above but I keep getting " 'adb' is not recognized as an internal or external command, operable program or batch file." o_0
Edit: Nevermind, I got it.

Bricked Phone?

Ok I got A Problem. Went to flash a new rom after backing my current one up with rom manager everything went fine till I went to flash it and now it says
E: Failure at line 7 symlink dumpstate SYSTEM:bin/dumpcrash
I dont have a working phone. Tried several different roms and nothing.
what do I need to do??
can u boot in to recovery mode " vol up + power button " ? and dont use Clockworkmod recovery as its known to have issues with the eris.
use the other recovery.
Thanks T.A.
Yes I can Boot into recovery thats it.
How do I go about Flashing a New Recovery Manager
Topaz is right.... Amon_RA FTW !
How do I install that now though. I have been searching through forums looking cant find a step by step
Forgot to say I was a Leaker before they found the method.
would this work
http://forum.xda-developers.com/showthread.php?t=725096&highlight=Flash+Amon's+recovery
metzy75 said:
How do I install that now though. I have been searching through forums looking cant find a step by step
Forgot to say I was a Leaker before they found the method.
would this work
http://forum.xda-developers.com/showthread.php?t=725096&highlight=Flash+Amon's+recovery
Click to expand...
Click to collapse
might work, I imagine you could also try this....
http://forum.xda-developers.com/showthread.php?t=725047
this gives you the S-OFF bootloader and Amon_RA for recovery
you might wait to see if others weight in on the best approach here.
Already turned S-OFF the only reason I have clock work is because my noobie ass used rom manager for convience
metzy75 said:
Already turned S-OFF the only reason I have clock work is because my noobie ass used rom manager for convience
Click to expand...
Click to collapse
"noobie ass" is funny.
jcase's approach in your link is probably all you need then
Phones about to get thrown at the wall. Nothing is working, do the adb push moves file fine then couple commands down it says not there
metzy75 said:
Phones about to get thrown at the wall. Nothing is working, do the adb push moves file fine then couple commands down it says not there
Click to expand...
Click to collapse
if you do
adb devices
does its show a device HTCxxxxxxxxxx (some alphanumeric)?
Do this
Code:
adb push recovery.img /data/local/
adb push flash_image /data/local/
adb shell chmod 777 /data/local/recovery.img
adb shell chmod 777 /data/local/flash_image
adb shell /data/local/flash_image recovery /data/local/recovery.img
adb reboot recovery
try this in fastboot ( SEND + POWER )
not sure u can push files into /data/local/
hopefully it will work and if not and all fails.
put a rom on sd card and boot into recovery and hopefully clockworkmod recovery will flash it.
Yep, really have no idea what to do. I run the commands in what you gave me and the stupid thing says file its there when i use root command to navigate there its right there. idk whats going on.
TopazAaron said:
Do this
Code:
adb push recovery.img /data/local/
adb push flash_image /data/local/
adb shell chmod 777 /data/local/recovery.img
adb shell chmod 777 /data/local/flash_image
adb shell /data/local/flash_image recovery /data/local/recovery.img
adb reboot recovery
try this in fastboot ( SEND + POWER )
not sure u can push files into /data/local/
hopefully it will work and if not and all fails.
put a rom on sd card and boot into recovery and hopefully clockworkmod recovery will flash it.
Click to expand...
Click to collapse
doesn't show its connected, I have fastboot USB showing on the eris
tried flashing many roms no good same error
http://forum.xda-developers.com/showthread.php?t=651669
May help in that it includes the Amon_RA file and offers a different approach...
good luck
have you ever heard of the jitterbug?
Sjflowerhorn said:
have you ever heard of the jitterbug?
Click to expand...
Click to collapse
Idk what a jitter bug has to do with this. But I got the recovery changed but nothing still flashes.
Got to line 8 instead of line 7
says cant chown/mod /system/bin
(no such file or directory
E: failure at line 8
set_perm_recursive 0 2000 07550
Sjflowerhorn said:
have you ever heard of the jitterbug?
Click to expand...
Click to collapse
holy crap... i almost fell outta my chair!!!! LOL (i used to tell this lady at work all the time.... you NEED a jitterbug!!!).
------------------------------------------------------------------------------------------------------------
in any case...
metzy75... you said you backed up (a NAND backup i'm assuming)... are you able to restore your backup? or same failure? different message?
metzy75 said:
Idk what a jitter bug has to do with this. But I got the recovery changed but nothing still flashes.
Got to line 8 instead of line 7
says cant chown/mod /system/bin
(no such file or directory
E: failure at line 8
set_perm_recursive 0 2000 07550
Click to expand...
Click to collapse
what ROM are you trying to flash?
zach.xtr said:
what ROM are you trying to flash?
Click to expand...
Click to collapse
Just Official eris one that came with that all in one zip. and plain jane as wwell
Plain Jane fails at line 7 and offical eris line 8
tenzomonk said:
holy crap... i almost fell outta my chair!!!! LOL (i used to tell this lady at work all the time.... you NEED a jitterbug!!!).
------------------------------------------------------------------------------------------------------------
in any case...
metzy75... you said you backed up (a NAND backup i'm assuming)... are you able to restore your backup? or same failure? different message?
Click to expand...
Click to collapse
Backups all failed.

Unable to "push su" in rooting my Xoom (push: not found) - any ideas?

So I just got to one of the final steps in rooting my xoom, but for some reason, when I enter the "push su /system/bin/" command, I get a "push: not found" response. I'm completely stuck at this step...anyone have any ideas on this one??
Was adb remount succesful before you tried?
joeski27 said:
So I just got to one of the final steps in rooting my xoom, but for some reason, when I enter the "push su /system/bin/" command, I get a "push: not found" response. I'm completely stuck at this step...anyone have any ideas on this one??
Click to expand...
Click to collapse
I ran in to this. Make sure your Xoom is not on the lock screen. Should be good to go.
PaulG1488 said:
Was adb remount succesful before you tried?
Click to expand...
Click to collapse
Yes, adb remount was in fact successful.
Edit - now I'm getting "cannot stat 'su': No such file or directory"
just to be clear, is it supposed to be:
adb push su /system/bin/
or
adb shell push su /system/bin/
???
syntax is "adb push ..."
bcgaynor82 said:
syntax is "adb push ..."
Click to expand...
Click to collapse
thats what I thought, and when I do this I get the "cannot stat 'su': No such file or directory" error message.
I have no idea what's going on here. Its almost as if I dont have the xoomroot files (including su) in the correct place, but they are there in the SDK tools folder as they are supposed to be. UGH!?!!?
joeski27 said:
thats what I thought, and when I do this I get the "cannot stat 'su': No such file or directory" error message. ?????
Click to expand...
Click to collapse
Make sure that one of the following is true:
the files you want to push are in the same folder as adb
adb is in your path and you are in the directory that the files are
Also make sure you are running this from your computer and not the Xoom, although it sounds like you are bumping into one of the two scenarios above.
nindoja said:
Make sure that one of the following is true:
the files you want to push are in the same folder as adb
adb is in your path and you are in the directory that the files are
Also make sure you are running this from your computer and not the Xoom, although it sounds like you are bumping into one of the two scenarios above.
Click to expand...
Click to collapse
yes they are in the same folder as adb, and I'm in the adb directory while in terminal. still getting the same error message. I'm so lost on this one.
Is there any chance that the unlock didn't take? Though I can't see how it didn't - I went through the entire procedure, answered all the prompts during fastboot, and it did erase/reset the tablet afterwards, so I'm guessing that isn't it.
joeski27 said:
yes they are in the same folder as adb, and I'm in the adb directory while in terminal. still getting the same error message. I'm so lost on this one.
Click to expand...
Click to collapse
Any chance you can screenshot your sdk tools folder
They're supposed to be in the 'platform-tools' folder, not tools. The files go in the same folder as adb so it knows where they are.
PaulG1488 said:
Any chance you can screenshot your sdk tools folder
Click to expand...
Click to collapse
Screenshot of my sdk tools folder:
EDIT: heres the link:
http://i869.photobucket.com/albums/ab259/olesweski/Screenshot2011-03-03at122552AM.png?t=1299130486
Elysian893 said:
They're supposed to be in the 'platform-tools' folder, not tools. The files go in the same folder as adb so it knows where they are.
Click to expand...
Click to collapse
I know, but I had already moved adb into the tools folder earlier on. So they are in the same folder.
send a screenshot of everything in your command prompt if u can please
PaulG1488 said:
send a screenshot of everything in your command prompt if u can please
Click to expand...
Click to collapse
here's the screenshot of my terminal:
http://i869.photobucket.com/albums/ab259/olesweski/Screenshot2011-03-03at124929AM.png?t=1299131460
Do you have the 3.0 sdk installed
Wait I see the problem after you remounted you have to direct it back into your tools foledr before doing the adb push command
PaulG1488 said:
Do you have the 3.0 sdk installed
Click to expand...
Click to collapse
all I know is that i have the latest sdk installed, but are you referring to something additional to that? such as "SDK Platform Android 3.0, API 11, revision 1" ?
joeski27 said:
all I know is that i have the latest sdk installed, but are you referring to something additional to that?
Click to expand...
Click to collapse
After u did adb remount it took you back to your main folder make sure you direct it back to your tools folder then run the adb push command and problem will be solved
PaulG1488 said:
After u did adb remount it took you back to your main folder make sure you direct it back to your tools folder then run the adb push command and problem will be solved
Click to expand...
Click to collapse
So I just did the remount again (successfully), and now instead of just entering "adb push ...", I would need to do what?
EDIT - just tried this, and got this result:
Joseph-Olesweskis-iMac:~ olesweski$ /Users/olesweski/Desktop/android-sdk-mac_x86/tools adb push su /system/bin/
-bash: /Users/olesweski/Desktop/android-sdk-mac_x86/tools: is a directory

Please help a beginner understand ADB

I am quite proud to have got as far as I have (please see screenshot).
However, I am trying to adb pull my nandroid backup from TWRP onto my PC. I've searched all over the place for the right commands but whatever I type, I get a "could not find" message.
Could someone please let me know what to type to adb pull the nandroid backup onto my PC please?
Also, when I have reformatted my Nexus 7, what do I need to do to adb push the nandroid backup back onto my sdcard?
Many thanks in advance!
It should be in your /data/media/0/TWRP/BACKUPS/015d4172c98600219/ directory to c:/users/a/desktop.
Username invalid said:
It should be in your /data/media/0/TWRP/BACKUPS/015d4172c98600219/ directory to c:/users/a/desktop.
Click to expand...
Click to collapse
Thanks! I have been at it all day! I've finally managed to adb pull my nandroid backup and my TBU. I now want to sideload them to make sure I can do everything before I reformat my N7. When I enter: adb sideload 015d172c98600219, I get a "cannot read message". What is it that I should be entering?
You can not sideload a nandroid backup. You need to push it to your TWRP directory.
Username invalid said:
You can not sideload a nandroid backup. You need to push it to your TWRP directory.
Click to expand...
Click to collapse
Ah ok, good to know! So it's "adb push /015d4172c98600219/data/media/0/TWRP/BACKUPS/"?
Example
Code:
adb push c:/users/a/desktop/2013-07-29--11-07-31 /sdcard/TWRP/BACKUPS/015d4172c98600219/2013-07-29--11-07-31
Username invalid said:
Example
Code:
adb push c:/users/a/desktop/2013-07-29--11-07-31 /sdcard/TWRP/BACKUPS/015d4172c98600219/2013-07-29--11-07-31
Click to expand...
Click to collapse
Thanks very much for this. I guess adb is not for me.
This is where I am (screenshots). No matter what code I try nothing happens. I just see a set of instruction run quickly on the screen and then I'm back to square one.
Do I need to do something about the device itself, in "mount" perhaps?
Sorry to be a pain! Don't worry if you don't have the time!
StrangerWeather said:
Thanks very much for this. I guess adb is not for me.
This is where I am (screenshots). No matter what code I try nothing happens. I just see a set of instruction run quickly on the screen and then I'm back to square one.
Do I need to do something about the device itself, in "mount" perhaps?
Sorry to be a pain! Don't worry if you don't have the time!
Click to expand...
Click to collapse
Make a temporary backup so it will create the directory. You should still have your system image after the format so have you tried booting up then copying through My Computer?
Well I haven't reformatted yet because I wanted to make sure I mastered the adb method before I wiped everything. But now I don't know whether I should format at all. Sounds a bit risky if I don't have a rom to go back to!
Sent from my Nexus 7 using xda premium
It's strange, though, that I can successfully adb pull files but not adb push them back. Does anybody have a clue?
Your ROM will still be there after formatting. If is not, just reflash it with fastboot or sideload.
Also, you can't have spaces in the command.

Broke my screen, touch no longer works, want to back up

Hi everyone, I dropped my phone last night and the touch functionality is now finicky at best. Only a few very tiny spots respond to touch input. Anyway, I now want to back up my phone before I send it in for repairs just in case something happens. What is my best option for doing this? ADB won't work because I'm unable to enter the swipe pattern to unlock my device. My recovery is TWRP so I can't navigate it using the volume keys. I have no idea what I should do. Help?
Boot into recovery then use adb
Sent from my Nexus 5
jd1639 said:
Boot into recovery then use adb
Sent from my Nexus 5
Click to expand...
Click to collapse
You mean use adb backup? That requires me to unlock my phone, which is impossible.
Muniosi said:
You mean use adb backup? That requires me to unlock my phone, which is impossible.
Click to expand...
Click to collapse
just run the adb commands when you're in recovery. If you have usb debugging enabled you don't have to unlock your phone.
Sent from my Nexus 5
jd1639 said:
just run the adb commands when you're in recovery. If you have usb debugging enabled you don't have to unlock your phone.
Sent from my Nexus 5
Click to expand...
Click to collapse
I've already tried doing adb backup while in recovery, I just get Now unlock your device and confirm the backup operation. I can't back it up unless I unlock the phone, which I can't do.
Muniosi said:
I've already tried doing adb backup while in recovery, I just get Now unlock your device and confirm the backup operation. I can't back it up unless I unlock the phone, which I can't do.
Click to expand...
Click to collapse
Try using adb pull and pull your whole /sdcard. It'll take a long time but you'll get your stuff
Edit, you could also flash a non-touch cwm in fastboot, but using that for a backup won't backup pictures and stuff
Sent from my Nexus 5
jd1639 said:
Try using adb pull and pull your whole /sdcard. It'll take a long time but you'll get your stuff
Edit, you could also flash a non-touch cwm in fastboot, but using that for a backup won't backup pictures and stuff
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, pulling sdcard now. What about app data? Would I just use CWM for that?
Muniosi said:
Thanks, pulling sdcard now. What about app data? Would I just use CWM for that?
Click to expand...
Click to collapse
You could make a nandroid with cwm, you'll want to adb pull that off too.
Edit you'll want to pull /mnt/shell/emulated/clockworkmod/backup.
Sent from my Nexus 5
jd1639 said:
You could make a nandroid with cwm, you'll want to adb pull that off too.
Edit you'll want to pull /mnt/shell/emulated/clockworkmod/backup.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, working on that now. When I was pulling my sdcard I got an error: cannot create '<filename>': No such file or directory. The file it's referring to is on my computer, so I'm not sure what it's trying to do that it's unable to. I even get it with an administrator command prompt.
Meanwhile, the CWM backup is running out of sdcard space. Is there a way I can write the backup directly to my computer's hard drive?
EDIT: I think I see the issue. The file adb is trying to pull has colons in it. Can I just skip this file, or is there a way to delete it in CWM?
Muniosi said:
Thanks, working on that now. When I was pulling my sdcard I got an error: cannot create '<filename>': No such file or directory. The file it's referring to is on my computer, so I'm not sure what it's trying to do that it's unable to. I even get it with an administrator command prompt.
Meanwhile, the CWM backup is running out of sdcard space. Is there a way I can write the backup directly to my computer's hard drive?
Click to expand...
Click to collapse
Use adb pull /sdcard c:/sdcard. That pull your sdcard and put it in the directory sdcard on your pc.
Sent from my Nexus 5
jd1639 said:
Use adb pull /sdcard c:/sdcard. That pull your sdcard and put it in the directory sdcard on your pc.
Sent from my Nexus 5
Click to expand...
Click to collapse
I don't think that's the issue. Did you see my edit? Also, what can I do about the nandroid backup?
Muniosi said:
I don't think that's the issue. Did you see my edit? Also, what can I do about the nandroid backup?
Click to expand...
Click to collapse
For your nandroid backup it's going to be harder. You need to clean up some space so you'll need to know what and where some large files you don't need any more are
Sent from my Nexus 5
jd1639 said:
For your nandroid backup it's going to be harder. You need to clean up some space so you'll need to know what and where some large files you don't need any more are
Sent from my Nexus 5
Click to expand...
Click to collapse
That's all well and good, but how can I clean up space? Do adb or CWM have functionality for deleting files? I could just pull the files using adb, but I would need to know their locations and filenames.
Muniosi said:
That's all well and good, but how can I clean up space? Do adb or CWM have functionality for deleting files? I could just pull the files using adb, but I would need to know their locations and filenames.
Click to expand...
Click to collapse
You can adb shell. Then from the shell use rm to remove files. But you need to know specifically what you want to remove, the folder it's in and the name and extension
As an example:
adb shell
rm /sdcard/DCIM/*.*
This would remove all your pictures in the gallery
Sent from my Nexus 5
jd1639 said:
You can adb shell. Then from the shell use rm to remove files. But you need to know specifically what you want to remove, the folder it's in and the name and extension
As an example:
adb shell
rm /sdcard/DCIM/*.*
This would remove all your pictures in the gallery
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, I'd forgotten about that command. I'll try the same thing for the other problem of files with colons in them. I'll report back and let you know if it works!
Thanks man, got both backups to work. You were tons of help!

Categories

Resources