Please Help.. stuck in recovery (SOLVED) - Nexus 7 Q&A, Help & Troubleshooting

Hi I was running stock 4.2.1 with franco's kernel. I flashed the Nexus Louder mod but I accidentially flashed the 4.1.2 version and I got stuck on the 'upgrading apps' screen forever. So I eventually booted it into recover and after a few resets I did a factory reset but it keeps bootlooping. I have a backup on my computer (with the root toolkit) and the drivers installed, but when I click mount sd card in recovery it just doesn't mount so I can't even back up my old image! If anyone can find a solution for me it would be greatly appreciated as I have searched and searched. I have been toying with android development since my Desire HD and this is the first time this has happened

Re: Please Help.. stuck in recovery
Do u have inbuilt r external sd card.if external thn use a card reader to copy file frm ur system
Sent from my Micromax A50

You didn't even bother to mention if your bootloader was unlocked, whether you know how to use fastboot or adb, et cetera. Nor did you mention which recovery you have, nor which toolkit.
Sigh; should we have stopped listening the moment you uttered the word "toolkit"?
If you have TWRP recovery you should be able to use an OTG cable to mount an EXTERNAL storage device - say a memory stick or card reader or something; you can put a ROM in there, right?.
If you think something is funky with your recovery, you can also use fastboot to soft-boot a different recovery (a la "fastboot boot my-recovery-image-file.img") - but only if your bootloader is unlocked.
Your recovery also has an adb server running - did you connect to the PC with the recovery running and using "adb shell" go in there to see if you can figure out what is going on - maybe look at the recovery log file or
e.g. can you do a
# mount /system
or
# mount /data
those two simple steps checks would at least tell you if those two filesystems are healthy, whether there is anything to be rescued from /data via "adb pull", et cetera.
OK. Your turn. Make it count.

Yes my bootloader is unlocked and I solved the problem last night I used the "flash to stock' option on the toolkit while hooked up to USB and it then connected via fast boot. All is good now. Thanks anyway.
Sent from my Galaxy Nexus using xda app-developers app

Related

Fastboot> Recovery dosen't find *.img file on SD card

Hi Guys!
I am trying to root my nexus, unlocked it, installed the right usb drivers, I can see the phone and everything looks right.
Downloaded Superboot for ERE27 with himem enabled and ran this. no problem.
I put the img file on the SD card and when I boot the phone in Fastboot / Recovery it does not find and img files on the SD card.
I tried 2 different cards and also different img files.
When I do this I get first the message no images found than I see the droid with a triangle and a ! in it. - Have to pull the battery.
Ideas anyone?
Thanks
What are you trying to do?
1) you had to unlock the bootloader which enables you to install a new recovery image (which is needed to allow you to install new roms)
2) you had to apply the recovery image Amon RA via a command prompt and a batch file if you use Windows. The phone's USB connection needs to be in development mode and once the batch file executes and successfully finishes you need to reboot the phone.
3) you restart the phone into bootloader mode, use the volume rocker to select the recovery console. If you end up with an andriod and exclamation symbol the Amon RA recovery file was not installed.
4) the new recovery console allows you to clean the SD card. Install roms from the SD card and some other commands. The Roms for the Andriod are in ZIP format and do not need to be unziped. In other words all you need to copy to the SD card is the full ZIP file (approx 75MB) and install that directly from the recovery console.
If your android stays in the booting sequence which is shown as the X with flying little pixels, it's most likely because you did not wipe the device clean first. That item is in the recovery console as well.
Hope this helps. I am just as new to this as you are.
You didn't unzip them did you?
You're trying to root with superboot. Great, but the recovery is not capable of flashing .img files, only .zip updates and roms and such. .img files have to be flashed using fastboot, not recovery, and are flashed from the connected computer.
If you read the superboot instructions from wherever you got the file, you'll see that you have to put the .img in the same directory ON YOUR COMPUTER as fastboot, connect via USB, boot the phone into fastboot, then enter the appropriate command line on the computer to flash the file.
If you've done that, then you are officially DONE with the rooting process.
Also, make damn sure that the superboot version matches the software version on your phone. They're both ERE27, right?
I'm not sure what anosis's post is talking about, but that looks more like the process for installing a custom rom (ie cyanogenmod), than rooting.
To root your phone, you DO NOT need Amon-RA's recovery. You only need that if you want to install custom roms, etc. It wont hurt to have it, as it includes many more functions than the stock recovery, but just to root, you don't need it.
Summary:
If you flashed the superboot.img from your computer via fastboot, your phone is rooted. Done.
You don't need to do anything in the recovery at all for rooting. Only for installing update.zips and custom rom.zips.
Hey, So I have been scouring the forums trying to find some answers about this and you seem to be the closet to my situation. Here is what I did:
So I was running a CM9 Aplha, reverted back to stock 2.3.6 [1ada25375426.signed-soju-ota-189904.1ada2537]) so that I could then apply ICS update [VQ8PQk_V]) which I sucessfully did. This was about a month ago and it was all going well.
Then yesterday I wanted to upgrade to 4.0.4 [hR7QFEtn] so I did and superuser wasn't working properly but then I reinstalled it and got it to work. However I got to the point where everything was working fine EXCEPT for the Google Play store kept on force closing. I spent hours trying last night and could not find a solution.
I tried restoring the previous ICS update that I had and it worked, and then I tried updating again. Also side: My clockwork was on the fritz lately so I was using Zedowmaxs force into clockwork recovery image [fastboot boot recovery3101.img] to force it in sometimes.
Anyway bottom line here is where my REAL ISSUE begins. I decided just to wipe everything and start anew. I factory reset/ wiped properly [cache partition and davliche cache] and then locked my bootloader again. Then tried rebooting. Got stuck on Google screen. Then I unlocked my bootloader again. Tried again, same issue.
So, here is where I am at. Cannot get into recovery from fastboot, takes me back to fastboot. AND, everything is wiped because I locked/unlocked my bootloader. All I can do is adb commands.
I don't know what to do from here and there is a lot of things going on. If you could help that would be great!? What I am going to try next is to flash some recovery on, but I don't know which one/ try to mount a file to my sd card from adb commands.
Daboxk said:
Hey, So I have been scouring the forums trying to find some answers about this and you seem to be the closet to my situation. Here is what I did:
So I was running a CM9 Aplha, reverted back to stock 2.3.6 [1ada25375426.signed-soju-ota-189904.1ada2537]) so that I could then apply ICS update [VQ8PQk_V]) which I sucessfully did. This was about a month ago and it was all going well.
Then yesterday I wanted to upgrade to 4.0.4 [hR7QFEtn] so I did and superuser wasn't working properly but then I reinstalled it and got it to work. However I got to the point where everything was working fine EXCEPT for the Google Play store kept on force closing. I spent hours trying last night and could not find a solution.
I tried restoring the previous ICS update that I had and it worked, and then I tried updating again. Also side: My clockwork was on the fritz lately so I was using Zedowmaxs force into clockwork recovery image [fastboot boot recovery3101.img] to force it in sometimes.
Anyway bottom line here is where my REAL ISSUE begins. I decided just to wipe everything and start anew. I factory reset/ wiped properly [cache partition and davliche cache] and then locked my bootloader again. Then tried rebooting. Got stuck on Google screen. Then I unlocked my bootloader again. Tried again, same issue.
So, here is where I am at. Cannot get into recovery from fastboot, takes me back to fastboot. AND, everything is wiped because I locked/unlocked my bootloader. All I can do is adb commands.
I don't know what to do from here and there is a lot of things going on. If you could help that would be great!? What I am going to try next is to flash some recovery on, but I don't know which one/ try to mount a file to my sd card from adb commands.
Click to expand...
Click to collapse
It looks like the time when you were locking-unlocking the bootloader, you messed up the recovery. Since your phone can get into bootloader menu, I think you can get out of this issue.
Here is what I would do.
1. Unlock the bootloader.
2. flash clockworkmod recovery using fastboot USB.
3. Download recovery-RA-passion-v2.2.1.img, put it in C:\fastboot\
4. Shut down your phone. Then start your Nexus One in Fastboot mode by holding down the Trackball and press the Power button.
5. Connect your phone to your computer. Open a Command Prompt (Start -> All Programs -> Accessories -> Command Prompt), and run the following commands:
cd C:\fastboot
fastboot devices
fastboot flash recovery recovery-RA-passion-v2.2.1.img
now see if you can get into recovery. If you can, just flash a custom rom using install zip from sd card option in the recovery
I didn't read all the replies but fastboot reads from your PC's disk not the sdcard, unless you are running it through shell or something?

[Q] External SD-Card error, please help

Hi
I have HTC hero with CWM recovery. I was in recovery and mounted the sd card, copied few files from sd-card to comp and then on the phone I just clicked back button then realised I should have Unmounted that, having done that on the next reboot it gave me an error to remove the card and insert it, I realised something is wrong so went back into the recovery and tried mounting it but it gave me the error - "unable to write to ums Lunfile".
I dont know what to do now, the card is 8GB and dont have any other card, everything was working fine prior to this.
Plug the card into your PC and format it
sorry mate, that did not work, I also used another 2GB card, formated but that does not work as well.
Using 2GB and going into CWM recovery, while mounting it still gives the same msg?
I also checked that 8GB card putting into the card reader and using it on Win-7, the card shows fine, it is showing that Fat32 partition, obviously it is not going to show me Linux partitions.
So the point is how am I going to use that 8GB card back into my HTC hero?
should I flash CWM again on the phone? will that work?
But the phone does not recognise any sdcard so I cannot flash as well..??
what to do?
Try to reflash jordfaz's CWM
Try that : http://forum.xda-developers.com/showthread.php?t=1780438
kemoba said:
Try to reflash jordfaz's CWM
Click to expand...
Click to collapse
That does not seem to be for hero gsm i guess
SANSYF said:
Try that : http://forum.xda-developers.com/showthread.php?t=1780438
Click to expand...
Click to collapse
this thread to be honest has got only 1 person replying and was quite annoyed as he couldnt do it and was gonna throw his phone then so I am worried.
Is there anyway I could either flash RA-Hero-1.7 recovery image through command windows, if that could solve this problem?
and how to if possible.
http://forum.xda-developers.com/showthread.php?t=1723409 here, copy the .zip to a SDcard via your PC and flash it with your existing recovery
kemoba said:
http://forum.xda-developers.com/showthread.php?t=1723409 here, copy the .zip to a SDcard via your PC and flash it with your existing recovery
Click to expand...
Click to collapse
My friend you didnt get it.
My sdcard itself is not recognised by the recovery, so obviously even if I put it on the sdcard, the card itself is not recognised so I cannot use it.
Thats why I asked if it would be possible to put xxxxxx.IMG file through FASTBOOT and if anyone can advise if that would work?
Else as I already have CWM 5.xx can I replace it with recovery-RA-hero-1.7xx.IMG file? will that solve the problem?
Try it, i taught you cant mount your SD card, are you S-OFF, if you are get Amon RA .img, reboot to fastboot, do fastboot flash recovery AmonRa.img
kemoba said:
Try it, i taught you cant mount your SD card, are you S-OFF, if you are get Amon RA .img, reboot to fastboot, do fastboot flash recovery AmonRa.img
Click to expand...
Click to collapse
No I am S-ON
will that be a problem?
suddenly now adb has stopped working.
what a day begins man
could you please give me the step by step commands to flash amonra.img please..
Can you boot into your ROM ? Does your ROM "see" your SD card. If both of these questions answer yes then do this. Mount your SDCard in your ROM and copy amonra.img to it. Then do
Code:
adb remount
adb shell
flash_image recovery /sdcard/amonra.img or flash_image recovery /mnt/sdcard/amonra.img
exit
adb reboot recovery
Hopefully it should go ok, if you get some errors copy output here and i'll help
I can boot into ROM but it cannot see the sdcard?
Now no matter what I do the "adb" doesnt see the devices as well -
I treid
adb kill-server
adb start-server
adb devices
and it says no devices found
I tried going in fastboot mode and then also adb does not see my device.
it has gone to a stage - helpless
Is USB debugging on ??? Are you on linux or windows ?
kemoba said:
Is USB debugging on ??? Are you on linux or windows ?
Click to expand...
Click to collapse
windows 7 and debugging is on
:S This is weird... It sure would help if you were S-OFF but now since no SDCard or ADB this is gonna be a tough fix. Only think i see posible is to get ROM Manager from market and flash CWM recovery from there, i think that ROM Manager will flash version 2.x.x.x
i checked that, there is no market on the phone now as everything was app2sd, market is gone as well
I have Ubuntu on one machine, it was there just for some trial and learning purpose
would anything help with that
Are you sure your USB cable is OK ? No device found is almost 100% bad cable connection, do you have a spare USB
My cable is ok, i have a spare one as well, tried that , same thing, adb doesnt find anything.
I also installed android sdk20 on another pc (64bit) and that doesnt recognise phone in recovery as well..
even while connected, it doesnt even show new drivers installing or nothing..

[Q]Can't mount tablet as USB Storage Device, ums lunfiles issue

Hello folks,
To start, the tablet is an a500. It's running the ICS bootloader V8 with Thor's 1.7.3 recovery.
On my Nexus S, I was able to mount the device as USB mass storage from the recovery, drop a new rom on it from the computer and flash as usual. I can't do that with the a500 because it gives me the "Unable to write to ums lunfile" error. Thinking back, the recovery has always given me this error, but I've gotten around it by successfully mounting it from the booted tablet instead of from the recovery - I can't do that this time because booting hangs on the Tegra Owners screen and doesn't continue any further.
Things I'm wondering about
-Am I on the right recovery for the V8 bootloader? this indicates that I should switch to this
-Can someone point me to how to properly flash recoveries/roms via adb/fastboot?
-What can I do to be able to mount the a500 through the recovery?
I've tried to do some more research and I think my data might be pooched again. A few posts mentioned that formatting the data enabled them to mount their tablet as a USB device to load roms onto it. When I was still running the HC bootloader, I was able to successfully format the data using the hardware reset (power, volume+, screen lock). I'm trying to do that again, but it just boots straight into the V8 bootloader.
1) rotate lock set to the locked position
2) hold volume+
3) hold power until tablet vibrates, then release power and switch the rotate lock to the unlocked position
... but instead of giving the Formatting Data text, it boots straight into the bootloader menu. BLAST!
Wermut said:
Hello folks,
To start, the tablet is an a500. It's running the ICS bootloader V8 with Thor's 1.7.3 recovery.
On my Nexus S, I was able to mount the device as USB mass storage from the recovery, drop a new rom on it from the computer and flash as usual. I can't do that with the a500 because it gives me the "Unable to write to ums lunfile" error. Thinking back, the recovery has always given me this error, but I've gotten around it by successfully mounting it from the booted tablet instead of from the recovery - I can't do that this time because booting hangs on the Tegra Owners screen and doesn't continue any further.
Things I'm wondering about
-Am I on the right recovery for the V8 bootloader? this indicates that I should switch to this
-Can someone point me to how to properly flash recoveries/roms via adb/fastboot?
-What can I do to be able to mount the a500 through the recovery?
I've tried to do some more research and I think my data might be pooched again. A few posts mentioned that formatting the data enabled them to mount their tablet as a USB device to load roms onto it. When I was still running the HC bootloader, I was able to successfully format the data using the hardware reset (power, volume+, screen lock). I'm trying to do that again, but it just boots straight into the V8 bootloader.
1) rotate lock set to the locked position
2) hold volume+
3) hold power until tablet vibrates, then release power and switch the rotate lock to the unlocked position
... but instead of giving the Formatting Data text, it boots straight into the bootloader menu. BLAST!
Click to expand...
Click to collapse
Hard reset will not work this way on v8, u need to use fastboot...
Boot to fastboot pwr/vol UP
Connect to pc via micro USB cable
Open cmd prompt type:
fastboot devices
U should see a ?
Type:
fastboot erase userdata
fastboot erase cache
fastboot reboot
It might pay to reflash your recovery while you're there
Grab your chosen recovery
(I used cwm1.7.3 that came in civatos nvflash v8 pckge and renamed it recovery.img)
and copy it to the fastboot folder
Fastboot erase recovery
Fastboot flash recovery recovery.img
Fastboot reboot
Yes, v8/cwm 1.7.3 should work fine, not sure why u have errors mounting....someone else maybe able to help with that...
good luck
dibb
Sent from my A500 using Tapatalk 2
This is a super helpful post. Many thanks!
I'll try this in the next couple of days and report back.
Hello Dibb, thanks again for trying to help.
Using fastboot, I successfully:
-erased user data
-erased cache
-erased recovery
-reflashed the 1.7.3 recovery.
I didn't have any luck mounting the tablet in windows, so I tried the above steps again, but this time flashing the TWRP 2.1.3.
The recovery booted OK, so I know I did that correctly, but still no luck mounting.
Next, I tried redoing the bootloader/recovery using Blackthund3r's A500 APX Flashing utility back to the Bundle 17 (A500 and A501 BL v8 / Thor Recovery 1.7.3, ICS Unlocked / Skrilax Bootloader v8 and Thor Recovery 1.7.3 for the A500 and A501) to maybe get a fresh start. I rebooted into the recovery, but still no luck mounting the tablet.
I think I need to try pushing a rom straight onto the tablet using either fastboot or adb, but I'm not sure how to do it. I did some research and came up with the following cmd code:
fastboot flash boot boot.img
All of the roms that I've ever downloaded come in zips that you flash straight from the recovery, they're not .img files. Is there a way to push zips onto the SD card using adb/fastboot? I see a boot.img inside these zips, but I feel that if I flash that after extracting it from the rom zip, I'm not going to be getting any gapps or any of the other potentially important stuff in that zip. Do you mind explaining that, and maybe including some more awesome instructions on how to push a rom onto the tablet from windows, without having to mount the SD?
Thanks in advance!
K, lets back up a bit.....a quick question first
Are u just wanting to flash a custom rom via recovery?
As long as you have the unlocked bootloader (which you do) just flash via "install from zip" option from either
internal or external storage.....or am I missing something?
Sent from my A500 using Tapatalk 2
Yep, that`s exactly what I want to do.
My problem is that there's nothing on the internal disk (I have no SD card for the a500) and I can't put anything on the SD card because it won't mount to show up in windows for me to drag a zip onto it.
Roger that then
And no card reader either I take it?
Edit: what rom are u running right now
That's right, no card reader either. I do have a USB key, maybe I can put a new rom on that and mount the usb key in recovery?
I'm not sure what rom I'm on right now, it's been so long since the tablet successfully booted into a rom. The last one I think was Thor's JB v17 from tegraowners.
Yeh try the USB key first....
I didn't realise you couldn't boot your OS, thought you meant the recovery screen, no matter...
do you have your cpuid backed up somewhere....anywhere....pleeeaasssee say you do!!!
I'm just writing up a post now in case the USB key won't work...
Yep, I've got the CPUID, drivers, sdk, adb and fastboot work too.
I'm going to try the USB key method.
Wermut said:
Yep, I've got the CPUID, drivers, sdk, adb and fastboot work too.
I'm going to try the USB key method.
Click to expand...
Click to collapse
Awsum that's great:highfive::good:
adb push name-of-your-rom.zip /sdcard
I'm sure you will still need to mount it tho but this is not my speciality.....
If the key won't mount I'd strongly suggest you download timmydeans v4 - it does not require an sdcard. http://www.mediafire.com/download.php?fo4wqjeald4s3rj
This will downgrade you back to stock HC3.2.1 which is pre-rooted and comes with cwm....this will wipe everything and reset yr tab, that will deal with yr boot issue - and hopefully the mount issues too....
Holy**** the USB key worked, just installed CM10-FLEX_V6Supercharged_Rev2.3c.
Lets hope I don't have any SOD issues, which is what led me to upgrading my bootloader, which is what started all of this!
I searched the rom that you have in your sig, (I suppose you think it's pretty stable?), but I didn't manage to find it. Throw a link? Does it come with a kernel?
Thanks so much!!
Phew!!
Ive been using the v6 supercharge cm10 JB rom for a week or so and its fantastic http://forum.xda-developers.com/showthread.php?t=1935582
The one in my sig is ics but u know us tinkerers we have to have the latest and greatest.lol...
I never go too far from civato's roms - I'm a big fan! So can't offer feedback for anything else....
You should have no probs with SOD...mainly an issue with hc bootloader/ics rom and not wiping....thing of the past these days!
Well I'm pleased you got sorted without too many probs - happy tabbing
rgds dibb
Sent from my A500 using Tapatalk 2

Stuck in recovery mode

Today, I wanted to reinstall the ROM on my Google nexus 4, and my phone was previously rooted months ago (with Google_Nexus_4_ToolKit_v2.0.0) and was installed with AOKP custom ROM. So I booted into the recovery mode, and accidentally I formatted the system, the cache, the data, etc. I thought when I connect the phone (in recovery mode) to my PC, the PC should recognize my phone and display it as a USB drive in my computer.
However, I was so wrong. With the right driver, the phone is recognized by my PC (as shown in device manager), but it won't show up as a USB drive. So I cannot put in any ROM/gapps file into the phone, I tried to use adb push to load the ROM/gapps into the phone, but I keep getting the "Read-only file system" error. I found the /storage/sdcard0/ can receive the pushed files, but in recovery mode, I cannot select these files for install.
I am now stuck in the recovery mode and cannot do anything. I need you guys help. How can I install a ROM now? thanks a million!!!!
Adb can only be used when your device is booted on android. If not then go to the boot loader and use fastboot.
Sent from my Nexus 4 using Tapatalk 2
rcholic said:
Today, I wanted to reinstall the ROM on my Google nexus 4, and my phone was previously rooted months ago (with Google_Nexus_4_ToolKit_v2.0.0) and was installed with AOKP custom ROM. So I booted into the recovery mode, and accidentally I formatted the system, the cache, the data, etc. I thought when I connect the phone (in recovery mode) to my PC, the PC should recognize my phone and display it as a USB drive in my computer.
However, I was so wrong. With the right driver, the phone is recognized by my PC (as shown in device manager), but it won't show up as a USB drive. So I cannot put in any ROM/gapps file into the phone, I tried to use adb push to load the ROM/gapps into the phone, but I keep getting the "Read-only file system" error. I found the /storage/sdcard0/ can receive the pushed files, but in recovery mode, I cannot select these files for install.
I am now stuck in the recovery mode and cannot do anything. I need you guys help. How can I install a ROM now? thanks a million!!!!
Click to expand...
Click to collapse
Of course you are able to use ADB in recovery mode. Have you tried
Code:
adb push nameoftherom.zip /sdcard/
or if you are using a recovery where you are able to use adb sideload
Code:
adb sideload nameoftherom.zip
Then it should work. Or try mounting the usb in mounts/storage -> mount usb storage
scream4cheese said:
Adb can only be used when your device is booted on android. If not then go to the boot loader and use fastboot.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Of course, it should work if the drivers are installed properly
Like others said use adb push to put a file on the device and then you can flash it with recovery.
If you don't have adb you can get it either by downloading android SDK or just downloading adb did
Sent from my Nexus 4 using xda app-developers app
Try flashing back to stock, then just root and put your ROM back on, I've had to do it once before
Sent from my Nexus 4

[Q] Lg g2 cwm bootloop?

Since someone accidently updated my rooted g2, i'm stuck in a cwm bootloop.
Whenever i boot the phone it always ends up in cwm.
When i connect the phone to my pc it doesn't detect it no matter what usb driver i install.
Is there anything i can do? (maybe a modified usb driver?)
I'm on windows 8.1 btw...
breezerx said:
Since someone accidently updated my rooted g2, i'm stuck in a cwm bootloop.
Whenever i boot the phone it always ends up in cwm.
When i connect the phone to my pc it doesn't detect it no matter what usb driver i install.
Is there anything i can do? (maybe a modified usb driver?)
I'm on windows 8.1 btw...
Click to expand...
Click to collapse
Ey breezer,
Also see this thread.
http://forum.xda-developers.com/showthread.php?t=2451696
If your phone is the whole time booting into recovery instead of OS I suggest to flash TWRP through clockworkmod recovery and then type the terminal commands in the TWRP recovery. Type it good and carefully cause the dd if command could wipe your whole phone, like the OP in that thread said it could nuke your phone(I didn't typed that command here cause I know that people with also maybe bad English would type that command). I hope that you still have maybe some old TWRP recovery in your storage or that you are maybe having some OTG micro sd reader or something like that? Cause If adb doesn't work in CWM then you could still maybe try Download mode and flash kdz but I don't know or it wipes the fota partition.
EDIT: Maybe also try to wipe cache in clockworkmod recovery? I never had this issue so I can't tell you exactly in steps how to fix it, especially in the clockworkmod recovery.

Categories

Resources