Nexus 5 flash write error & failed to mount /cache - Nexus 5 Q&A, Help & Troubleshooting

Hi friends,
My Nexus 5 running hammerhead 6.0.0 MRA58K is stuck in bootloop. Ive gone through most of the suggestions I've found and tried to use them to no avail. The phone is able to boot into fastboot and I am able to issue commands. I have tried unlocking the bootloader, but once I restart the phone, it doesnt stay locked. I get specifically 2 errors in recovery; e:/ failed to mount /cache, and also flash write failure when trying to fastboot flash from my laptop. Any help is greatly appreciated.
Thanks!

PyroDingus said:
Hi friends,
My Nexus 5 running hammerhead 6.0.0 MRA58K is stuck in bootloop. Ive gone through most of the suggestions I've found and tried to use them to no avail. The phone is able to boot into fastboot and I am able to issue commands. I have tried unlocking the bootloader, but once I restart the phone, it doesnt stay locked. I get specifically 2 errors in recovery; e:/ failed to mount /cache, and also flash write failure when trying to fastboot flash from my laptop. Any help is greatly appreciated.
Thanks!
Click to expand...
Click to collapse
Did you find a fix for this?

Related

[Q] - Nexus S 4G Unable to boot past Google logo and CWM can't mount /sdcard

I have a Sprint Nexus S 4G that I keep in Airplane mode most of the time and rarely use (an hour a week at most, usually). I use it so rarely that it shuts off due to low battery a lot.
The last time it shut off, I wasn't able to boot it up when I turned it back on. It got stuck at the Google logo indefinitely with the bottom buttons lit up. I can boot to CWM Recovery (v6.0.1.9) but when I do, I get the log message "Error mounting /sdcard!" or "E:Can't mount /sdcard/" when I try to search for an update.zip on the phone, or try to mount or format /sdcard. I tried using the "adb sideload" command to install a ROM from CWM, which fails with:
E:Error in /tmp/update.zip
(Status 0)
Installation aborted.
Click to expand...
Click to collapse
I also tried using "adb push cm-10.1.2-crespo4g.zip /sdcard/", which does not fail with any errors but still am unable to mount /sdcard/ through CWM so that obviously isn't any help for me.
I can boot into fastboot and tried flashing back to stock with these commands using the image files from this thread.
Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot flash radio radio.img
fastboot erase cache
fastboot reboot
When I flashed using the commands above, I got no errors in the terminal but my phone still would not boot past the Google logo. Afterwards I was able to flash CWM Recovery back onto the phone with no problems but CWM still can't see the /sdcard partition.
I also tried all of the suggestions on this thread with no success.
Nexus S stuck on google boot logo
For an even crazier attempt at a solution, I found a person with a similar problem to mine where they ran a hair dryer over the phone for a few minutes to fix it. That didn't help, either.
I think my nexus died
At this point I'm out of ideas and was hoping someone else might know something I could try. I planned on getting a new phone soon anyway but was hoping to be able to use my old phone for a little while until that happens.
You've tried all sorts of things to recover the SD card portion. Which I think is badly corrupted.
I think your internal memory card has died. I suggest going for a new phone.
One last effort will be to install a different recovery and try formatting the SD card from there. Try Philz Touch or TWRP.
Sent from my Nexus S using Tapatalk 4
danherbert said:
I have a Sprint Nexus S 4G that I keep in Airplane mode most of the time and rarely use (an hour a week at most, usually). I use it so rarely that it shuts off due to low battery a lot.
The last time it shut off, I wasn't able to boot it up when I turned it back on. It got stuck at the Google logo indefinitely with the bottom buttons lit up. I can boot to CWM Recovery (v6.0.1.9) but when I do, I get the log message "Error mounting /sdcard!" or "E:Can't mount /sdcard/" when I try to search for an update.zip on the phone, or try to mount or format /sdcard. I tried using the "adb sideload" command to install a ROM from CWM, which fails with:
I also tried using "adb push cm-10.1.2-crespo4g.zip /sdcard/", which does not fail with any errors but still am unable to mount /sdcard/ through CWM so that obviously isn't any help for me.
I can boot into fastboot and tried flashing back to stock with these commands using the image files from this thread.
Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot flash radio radio.img
fastboot erase cache
fastboot reboot
When I flashed using the commands above, I got no errors in the terminal but my phone still would not boot past the Google logo. Afterwards I was able to flash CWM Recovery back onto the phone with no problems but CWM still can't see the /sdcard partition.
I also tried all of the suggestions on this thread with no success.
Nexus S stuck on google boot logo
For an even crazier attempt at a solution, I found a person with a similar problem to mine where they ran a hair dryer over the phone for a few minutes to fix it. That didn't help, either.
I think my nexus died
At this point I'm out of ideas and was hoping someone else might know something I could try. I planned on getting a new phone soon anyway but was hoping to be able to use my old phone for a little while until that happens.
Click to expand...
Click to collapse
I am also having the same situation. OP, were you able to resolve this issue?

[Q] Razr HD Stuck in bootloop

Hey guys, love all the work that goes on in this forum.
I've run into a bit of a problem. My mate gave me his phone to try and fix after he interrupted a factory reset. It's stuck in a bootloop.
It's a RAZR HD and was originally from Telstra (Aus).
I've managed to unlock the bootloader, but quickly after that everything has gone to hell.
When I turn the phone on, it gives the bootloader is unlocked message. Then the android installation guy comes up and after about 5 seconds of trying to install the phone bootloops.
I am able to enter the Android System Recovery (3e) and have done factory reset/wipe data and wipe cache options, however does not change anything. When I press reboot system, the bootloop continues as if I did nothing. I have tried installing a ROM from an SD card however it fails at the Verifying Package stage. I am unable to adb push anything as usb debugging wasn't turned on.
I am able to enter into fastboot and can see my device however cannot flash any images from there for some reason using the fastboot commands (it comes up with a <bootloader> variable not supported! error: cannot load '[name of image file]'
I was able to use RSD Lite to flash the official Telstra ROM to the phone, however at the very end of the installation when it rebooted, it just went into the bootloop again.
Any help would be muchly appreciated.
Thanks guys!
Anyone?
I was able to get adb sideload to work (I had the wrong path name to the zip file) but still no luck...
piCARSO said:
Anyone?
I was able to get adb sideload to work (I had the wrong path name to the zip file) but still no luck...
Click to expand...
Click to collapse
try mfastboot and flash the partition table first, if that fails, there is no hope of saving the device. if it passes, flash the rest of the files, including the wipe command.
bweN diorD said:
try mfastboot and flash the partition table first, if that fails, there is no hope of saving the device. if it passes, flash the rest of the files, including the wipe command.
Click to expand...
Click to collapse
Thanks for the reply. When you say flash the partition table first, would that be the partition_signed file (aka mfastboot flash partition partition_signed)?
piCARSO said:
Thanks for the reply. When you say flash the partition table first, would that be the partition_signed file (aka mfastboot flash partition partition_signed)?
Click to expand...
Click to collapse
yes, thats correct.

Cannot mount /cache (No External Storage available)

Hello everyone,
Device Nexus 5(Android L 5.1.1)
my colleague was trying to unlock bootloader "fastboot oem unlock" and after that it stuck on erasing userdata for around 2 hours.
Then he restart device now while flashing it says "cannot mount /cache"and few other errors.
I tried flashing Stock 5.0/5.1 nothing works (Stuck at loading screen).
Then i tried Android 4.4.4 and it worded.
now at this point in recovery mode it still says "cannot mount /cache" and few other errors.
I cannot use gallery/camera/playstore.
When i opem gallery it says "No external Storage available".
So was he able to unlock the bootloader successfully? It's not very clear if he did
Sent from my Nexus 5 using Tapatalk
spookytay said:
So was he able to unlock the bootloader successfully? It's not very clear if he did
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sorry for the bad english.
Yes it shows unlock symbol below google logo. but the process was surely not completed. I think messing up in middle of erasing process caused this issue.
How are you flashing the factory images? I find fastboot flashing the images manually is the best way, each file individually and not with the flash-all.bat script.
You could try locking and then unlocking the bootloader again as well and see what happens.

[Resolved] No partitions?

So, I've almost bricked a moto g by trying to flash the stock firmware again, I am able to access the bootloader and the recovery, but the device doesn't boot up. Also, when I try to flash a new ROM I get some warnings that say "unable to mount /data" and then I it fails the installation and I get "unable to mount storage".
First I tried manually flashing the firmware from this post: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795 and that's when the phone got stuck.
Then I tried using this script: http://forum.xda-developers.com/showthread.php?t=2646415 but it still doesn't boot up, and I get an error during the flash of motoboot.img, everything else "flashes properly".
I'm pretty sure that there is a way to solve this, since I can still use fastboot commands and adb through recovery. Please help.
Edit: I just solved it. Looks like I wasn't flashing with "mfastboot" but instead with just the "fastboot" command, now it works perfectly

nexus 5 softbrick

Hey,
Hopefully you guys can give me some help with the problem ive been having,
My nexus 5 is stuck in bootloop, i can get into the bootloader and the lockstate is unlocked but no custom recovery is appearing like it used to. I tried flashing using ADB but my phone doesn't show up as a device on my pc.
i have tried to wipe the cache ect and it comes up with "E:failed to mount /cache (invalid argument)
I only really know the basics of this stuff (only ever used the basic stuff to root and flash my phone)
You must use fastboot commands while being into the bootloader, not adb.
mworley1991 said:
Hey,
Hopefully you guys can give me some help with the problem ive been having,
My nexus 5 is stuck in bootloop, i can get into the bootloader and the lockstate is unlocked but no custom recovery is appearing like it used to. I tried flashing using ADB but my phone doesn't show up as a device on my pc.
i have tried to wipe the cache ect and it comes up with "E:failed to mount /cache (invalid argument)
I only really know the basics of this stuff (only ever used the basic stuff to root and flash my phone)
Click to expand...
Click to collapse
Yeah, exactly what primokorn says...
Primokorn said:
You must use fastboot commands while being into the bootloader, not adb.
Click to expand...
Click to collapse
If you use the command "fastboot devices" and your phone with a code appears in the command prompt then there's no problem with your drivers.
Just reflash the factory image, you can use the automatic process if you run "flash all". You can also flash the images manually but if you go for that option make sure you don't forget to flash the cache image, that will fix your problem with mounting the cache partition.
ADB commands are used when the phone is booted into the ROM.
Flash the latest stock ROM from here to see if it solves the issue: https://developers.google.com/android/nexus/images
If the phone still bootloops, flash the userdata.img in fastboot. After flashing the userdata.img file in fastboot, boot directly into stock recovery using the power/volume buttons, perform a factory wipe, and reboot.

Categories

Resources