[Q] TWRP issue: E:Unable to mount storage. - Nexus 5 Q&A, Help & Troubleshooting

Help. I have the this error when I start TWRP
Code:
E:Unable to mount storage.
This stop me from doing backup in TWRP..
I have tried to re-flash TWRP. I have also tried flash the recovery.img from Google, and then flash TWRP. The problem still there.
I even try to nearly did a factory the full factory image by doing
Code:
fastboot flash bootloader bootloader-hammerhead-HHZ11d.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
and then restart phone,. booth into phone, and reboot to recovery and flash TWRP...
Are there anything else that I can do? Please help...

Are you using twrp 2.6.3.4? Go into wipe and then format data. Backup first

jd1639 said:
Are you using twrp 2.6.3.4? Go into wipe and then format data. Backup first
Click to expand...
Click to collapse
He's not able to backup. That's the point of his problem. Still trying wiping dalvik and cache first. Then try data. If that don't work trying flashing cwm or Philz's touch recovery.

I tried to wiping dalvik and cache... the problem remains.
I then tried to wipe data but preserve /data/media, which is the default action. The problem remains...
I really don't want to reset my phone to factory state with internal memory completely wiped... any help, please?

leoncheong said:
I tried to wiping dalvik and cache... the problem remains.
I then tried to wipe data but preserve /data/media, which is the default action. The problem remains...
I really don't want to reset my phone to factory state with internal memory completely wiped... any help, please?
Click to expand...
Click to collapse
Don't think you have a choice if you want the phone to work. You're going to have to format the data.

Sound like you missed a reboot before installing custom recovery after unlocking boot.
WR
Sent from my Nexus 5

I solve it flashing to stock rom and re installing the recovery.. It is the only way.. I had the same problem
Inviato dal mio Nexus 7 utilizzando Tapatalk

Thanks for all your suggestions! I took the pain to wipe the phone.

jd1639 said:
Don't think you have a choice if you want the phone to work. You're going to have to format the data.
Click to expand...
Click to collapse
I wanna format my N5, leave it really clean, coz it has the same problem about not mounting storage. But i wanna do it by commands. Can u tell me how can I do that? By adb or fastboot?

tinaag said:
I wanna format my N5, leave it really clean, coz it has the same problem about not mounting storage. But i wanna do it by commands. Can u tell me how can I do that? By adb or fastboot?
Click to expand...
Click to collapse
I'm not sure but you could try adb shell wipe data. Any reason you don't want to do it through twrp?
Sent from my [device_name] using XDA-Developers Legacy app

Related

storage issue

hello
i flashed lollilop ( google factory image ) via fastboot and the surprise is i've only 16 Giga while my phone is 32
anyone kno how solve this i dont wanna reflash again its the last solution and also it drains battery fast
thanks
I had to factory data reset in stock recovery to fix... Tried clearing cache but no luck.
ok ill try now , tnx
Apparently it was a problem with the userdata.img that came with the stock rom. All I had to do was format the userdata from using fastboot!
For anyone else having the problem, here is the command for formatting userdata:
Code:
fastboot format userdata
Found this in another thread
i did a reset via recovery but still the same and flashed purity kk and still ?
kosaidpo said:
i did a reset via recovery but still the same and flashed purity kk and still ?
Click to expand...
Click to collapse
i got same problem.And cant fix it right now
Jnewell05 said:
Apparently it was a problem with the userdata.img that came with the stock rom. All I had to do was format the userdata from using fastboot!
For anyone else having the problem, here is the command for formatting userdata:
Code:
fastboot format userdata
Found this in another thread
Click to expand...
Click to collapse
thanks just did and its fixed ??
Jnewell05 said:
Apparently it was a problem with the userdata.img that came with the stock rom. All I had to do was format the userdata from using fastboot!
For anyone else having the problem, here is the command for formatting userdata:
Code:
fastboot format userdata
Found this in another thread
Click to expand...
Click to collapse
Thanks mate.Fixed mine problem too
You can also boot into recovery and wipe user data partition that way.

[Q] Partition Problem on my Nexus 5 (32GB before, 16GB after)

Hello sorry for my bad English I speak Spanish.
I have a Nexus 5 32 GB but now it is 16GB ...
Last month I updated my smartphone to Android 5.1.0 (manually) from bootloader:
fastboot flash bootloader bootloader-hammerhead-hhz12f.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.25.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot
When I tried to copy my music I received the "Insufficient memory storage" message :crying:. I checked the Storage menu and it says that my smartphone has only 16GB now . I don't understand what happened because I always update my smartphone from bootloader.
Do a factory reset in the stock recovery and clear cache. This is a common problem. Back up first
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Do a factory reset in the stock recovery and clear cache. This is a common problem. Back up first
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I forgot tell you but I tried flashing Android 4.4 and other official ROMs but I still have the same problem.
hectorkrrillo said:
I forgot tell you but I tried flashing Android 4.4 and other official ROMs but I still have the same problem.
Click to expand...
Click to collapse
That is why you have to do a factery reset in stock recovery.
Problem
I have some problem :/
pipo406 said:
I have some problem :/
Click to expand...
Click to collapse
Do a factory reset in stock recovery
If factory reset does not work (didn't for me for some reason), install TWRP recovery, go to Wipe and choose Format Data. This worked for me. Of course all your data will be lost, but if you backed up, no harm done.
eross said:
If factory reset does not work (didn't for me for some reason), install TWRP recovery, go to Wipe and choose Format Data. This worked for me. Of course all your data will be lost, but if you backed up, no harm done.
Click to expand...
Click to collapse
Ohhh!! Thanks! My phone has 32GB again! :good::good::good:.... I had root on my Nexus 5 and TWRP recovery, I did just "Format Data" from TWRP and wala! 32GB is back... I didn't try to apply factory reset from ROM because I have root.
hectorkrrillo said:
Ohhh!! Thanks! My phone has 32GB again! :good::good::good:.... I had root on my Nexus 5 and TWRP recovery, I did just "Format Data" from TWRP and wala! 32GB is back... I didn't try to apply factory reset from ROM because I have root.
Click to expand...
Click to collapse
Glad to hear that :good:

Need help after installing a ROM

Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
I don't know what you tried to install, but you can't install zip files using fastboot. Reboot to recovery and install it using ADB sideload. Or adb push it to the device and install it using "Install".
_that said:
I don't know what you tried to install, but you can't install zip files using fastboot. Reboot to recovery and install it using ADB sideload. Or adb push it to the device and install it using "Install".
Click to expand...
Click to collapse
Thanks,
Isn't there a way to push a zip through fastboot? My phone isn't seen as ADB device, only as fastboot one.
stefano0798 said:
Thanks,
Isn't there a way to push a zip through fastboot? My phone isn't seen as ADB device, only as fastboot one.
Click to expand...
Click to collapse
ADB works while in TWRP. If not, you may need to install some drivers (or use Linux).
stefano0798 said:
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
Click to expand...
Click to collapse
If your bootloader is unlocked then just enter these commands in fastboot:
fastboot erase system
fastboot erase userdata
fastboot erase cache
Then install a custom recovery using:
fastboot flash recovery recovery_name.zip
And then finally install the custom ROM in the recovery.
stefano0798 said:
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
Click to expand...
Click to collapse
install motorola drivers on pc and boot in twrp then plug the phone to pc and copy the rom to phone.
Paradox♀ said:
If your bootloader is unlocked then just enter these commands in fastboot:
fastboot erase system
fastboot erase userdata
fastboot erase cache
Then install a custom recovery using:
fastboot flash recovery recovery_name.zip
And then finally install the custom ROM in the recovery.
Click to expand...
Click to collapse
Thanks a lot,
now how should I proceed? I have the rom in a .zip in my PC, but the command:
adb push rom.zip /data
says: "error: device '(null)' not found.
It also says "unable to mount /data" and "unable to mount /system". Any ideas?
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
stefano0798 said:
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
Click to expand...
Click to collapse
Try formatting these partitions in TWRP (Wipe -> Advanced ....).
stefano0798 said:
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
Click to expand...
Click to collapse
While in the recovery just wipe all the partitions and reboot to the recovery that should solve your mount problem and if you have installed TWRP as the custom recovery then it would initiate the MTP protocol from your device so you can transfer the ROM from your PC directly as you transfer your media. :good:
Thank you very much! It works perfectly

How to erase CACHE PARTITION ?

I ran into a problem today when I tried to repair my Z5 Dual, I unplugged my phone in the beginning (NOT EVEN 5 Seconds). Then my phone started showing SOFTWARE UPDATE FAILED PLEASE CONNECT YOUR PHONE TO YOUR COMPUTER. I have a lot of important data in my phone which I need. I thought of just erasing the cache partition. But when I try via fastboot it says that REMOTE: COMMAND NOT ALLOWED HERE. Is there any other way to erase the cache partition? is there any other tool for erasing the cache partition alone? If the above doesn't work us there any way to recover the files in the internal storage. I have also encrypted some files using galleryvault that's why I prefer wiping cache and trying to boot up instead of flashing a new ROM with USERDATA box unchecked. Any help would really be appreciated.
Wipe it in twrp if you have it.
L33Tgod said:
Wipe it in twrp if you have it.
Click to expand...
Click to collapse
I haven't unlocked the bootloader.. No modifications to my phone. Is there any other way?
ajithpoison said:
I haven't unlocked the bootloader.. No modifications to my phone. Is there any other way?
Click to expand...
Click to collapse
Then just flash .ftf using flashtool without wiping anything

*URGENT* Tablet wont boot and is bricked

Hello my Nvidia Shield Tablet (original WIFI) is dead i think
I can get into fastboot and TWRP recovery.
TWRP shows Internal memory as 0mb and is unable to mount anything
I also tried flashing stock images but no luck as it keeps failing and tablet wont boot
Any solution? please help:fingers-crossed:
what did you do to get it to this state? try format data and wipe data in twrp. might take a few tries. could also try flashing stock in twrp rather then fastboot. I've seen similar on my phone (involves encryption error) but never on my shield.
Sent from my SAMSUNG-SM-N900A using Tapatalk
lafester said:
what did you do to get it to this state? try format data and wipe data in twrp. might take a few tries. could also try flashing stock in twrp rather then fastboot. I've seen similar on my phone (involves encryption error) but never on my shield.
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
Hi this happened after i flashed 5.1 blob from Optimized Rom thread
Try reflashing OTA 5.2 blob as the blob is not just the bootloader but also the GPT partition setup too
Sent from my pa_osprey using Tapatalk
hacktrix2006 said:
Try reflashing OTA 5.2 blob as the blob is not just the bootloader but also the GPT partition setup too
Sent from my pa_osprey using Tapatalk
Click to expand...
Click to collapse
Hello man thanks for the suggestion can you please guide me through this i am not sure about the GPT partition setup?
I just dont want to go wrong thanks
Right using the following commands for flashing the device.
Code:
fastboot flash staging blob
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot format system
fastboot flash system system.img
fastboot format userdata
fastboot format cache
This is how i flash mine when returning to stock.
hacktrix2006 said:
Right using the following commands for flashing the device.
Code:
fastboot flash staging blob
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot format system
fastboot flash system system.img
fastboot format userdata
fastboot format cache
This is how i flash mine when returning to stock.
Click to expand...
Click to collapse
Ok i will try this again and update you
Dalbin Reji said:
Ok i will try this again and update you
Click to expand...
Click to collapse
Ok so i tried flashing this in an unconventional way by rebooting fastboot everytime it failed and then it worked after
but still after i press continue, it says booting failed...
Whats wrong?
Which shield do you have? Original or K1
Sent from my pa_osprey using Tapatalk
Dalbin Reji said:
Ok i will try this again and update you
Click to expand...
Click to collapse
hacktrix2006 said:
Which shield do you have? Original or K1
Sent from my pa_osprey using Tapatalk
Click to expand...
Click to collapse
I have the original WIFI
Make sure your using factory images for that device and not the K1 version
Sent from my pa_osprey using Tapatalk
hacktrix2006 said:
Make sure your using factory images for that device and not the K1 version
Sent from my pa_osprey using Tapatalk
Click to expand...
Click to collapse
Nope man i used the Factory images for Wifi version im sure
Dalbin Reji said:
Nope man i used the Factory images for Wifi version im sure
Click to expand...
Click to collapse
https://developer.nvidia.com/gameworksdownload#?search=Shield Tablet Wifi
Did you use that one?
hacktrix2006 said:
https://developer.nvidia.com/gameworksdownload#?search=Shield Tablet Wifi
Did you use that one?
Click to expand...
Click to collapse
Yep that one exactly, this all happened after i flashed 5.0 blob from an optimized custom rom thread i believe ?
Looks like you have corrupted the boot-loader then hence the issue you have, the chances of recovering from that is very slim. Best to speak to nvidia see if they can help.
hacktrix2006 said:
Looks like you have corrupted the boot-loader then hence the issue you have, the chances of recovering from that is very slim. Best to speak to nvidia see if they can help.
Click to expand...
Click to collapse
Is there no way i can fix it? Probably not then aw
Only Nvidia will be able to fix boot loader issues as they have the magic key for lower level access.
Sent from my SHIELD Tablet K1 using Tapatalk
Maybe you have bricked internal memory eMMC chip
Dalbin Reji said:
I can get into fastboot and TWRP recovery.
TWRP shows Internal memory as 0mb and is unable to mount anything
I also tried flashing stock images but no luck as it keeps failing and tablet wont boot
Click to expand...
Click to collapse
Internal memory as 0mb, and failure to mount anything, often are signs that the internal storage has been corrupted.
Try going to TWRP Wipe section, and tap the button to "Format data". Obviously, you will lose your data. But your data is probably beyond that point, anyway.
Formatting the storage, will often fix corruption issues.
redpoint73 said:
Internal memory as 0mb, and failure to mount anything, often are signs that the internal storage has been corrupted.
Try going to TWRP Wipe section, and tap the button to "Format data". Obviously, you will lose your data. But your data is probably beyond that point, anyway.
Formatting the storage, will often fix corruption issues.
Click to expand...
Click to collapse
Sorry man but when i try @format data it gaves me the same error ''unable to mount.... storage'' etc
Any other method to fix corrupted bootloader?

Categories

Resources