[Q] Unable to mount storage - Nexus 5 Q&A, Help & Troubleshooting

My phone crashed and when it came back up, I got that I was unable to mount
cache
system
and
storage in TWRP
I fixed cache and system, but I cannot mount storage. TWRP asks for a password (which was never set).
Is there any way I can do anything to get this fixed without losing everything on my phone (if it isn't lost already)?

Try and fastboot flash the stock cache.img from Google factory image.
Sent from my Nexus 5 using Tapatalk

rootSU said:
Try and fastboot flash the stock cache.img from Google factory image.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did. That's how I fixed cache.
It's data that's not mounting.
I'll be happy if I can just somehow pull any of my nandroid backups and then I'll completely wipe and format everything.

Trel said:
I did. That's how I fixed cache.
It's data that's not mounting.
I'll be happy if I can just somehow pull any of my nandroid backups and then I'll completely wipe and format everything.
Click to expand...
Click to collapse
I think you want to access storage from the pc while on twrp. Not possible. You need to do adb pull commands

GUGUITOMTG4 said:
I think you want to access storage from the pc while on twrp. Not possible. You need to do adb pull commands
Click to expand...
Click to collapse
Not what I was trying to do.
I was able to 'fix' and begin an ADB pull by following this guide
http://forum.xda-developers.com/showthread.php?t=2577447

Related

Wipe data/cache not working

I am trying to update my xoom to a new rom, ICS, and yet when I go into recovery to wipe data/cache, nothing gets touched by this command. I want to wipe the xoom clean and start over yet I can never get this command to work. I want to format the internal storage and start fresh yet every time I try this command all of the folders and apps and data are still left on the internal storage.
Any suggestions on how to get this fixed? I wanted to just mount the storage while in recovery and then perform a format on the device from within windows yet I can never get the device to mount from recovery. The only thing I can think of is to re-root/unlock the device and fastboot flash a new image to the device. Any thoughts?
beankid said:
I am trying to update my xoom to a new rom, ICS, and yet when I go into recovery to wipe data/cache, nothing gets touched by this command. I want to wipe the xoom clean and start over yet I can never get this command to work. I want to format the internal storage and start fresh yet every time I try this command all of the folders and apps and data are still left on the internal storage.
Any suggestions on how to get this fixed? I wanted to just mount the storage while in recovery and then perform a format on the device from within windows yet I can never get the device to mount from recovery. The only thing I can think of is to re-root/unlock the device and fastboot flash a new image to the device. Any thoughts?
Click to expand...
Click to collapse
Sometimes you have to mount /data and /system before those commands work. For some reason I see those file systems don't get mounted when cwm or twr loads.
Sent from my PG86100 using Tapatalk

[Q] Help! My internal storage is dead!! No access!

Hi community,
I have my Nexus 5 since 2 Days. Now it cant find the internal storage.
U dont talk about usb, mount at mass storage etc. NO
My Phone didnt recognize the internal storage.
So i can boot it, but can not access.
What i have done:
- its odex stock rom
- open bootloader
- root SuperSU
- Recovery TWRP latest
Until then everything was fine.
Then I tried to mount my USB storage with TWRP.
I know now its not possible..
But I would not give up so I installed CWM latest to try it.
->
fastboot erase cache
fastboot flash recovery cwm.img
fastboot erase cache
After that i navigated to "mount option" and try to mount and unmount all of this buts not working.
So i flashed back to twrp and reboot my phone.
Now the phone has booted, but the internal storage was not recognized.
In addition, there is no GSM / LTE connection.
Because I can not access the storage, I can not f the recovery
So my question:
How does the phone get back access to the memory?
Thank
Try format data and data/media (sdcard) from recovery. If that doesn't work, you may have to flash the factory images from fastboot. In either case, your data will be wiped.
Sent from my Nexus 7 using Tapatalk 4
Since you´ve messed up your internal storage, I suggest you to flash a factory image and to hope for the best
https://developers.google.com/android/nexus/images?hl=de#hammerheadkrt16m
Gorgtech said:
Since you´ve messed up your internal storage, I suggest you to flash a factory image and to hope for the best
https://developers.google.com/android/nexus/images?hl=de#hammerheadkrt16m
Click to expand...
Click to collapse
What to do?
O wont fail again.
Flashing a factory image is very simple, have a look at eg. this link: http://forum.xda-developers.com/showthread.php?t=2513701
zoellner86 said:
What to do?
O wont fail again.
Click to expand...
Click to collapse
Yeah, thx. Now its stock and full working.

Is not having external SDCard an issue for rooting?

I'll try to explain myself before people jump at me. I saw another thread with same question but seems like people misunderstood the question.
I am not talking about "lack" of memory, or not having another 32/64gb availble, etc.
I'll give you an example to what I am referring to:
Recently I decided that my rooted S2 needs a little 'refreshing', meaning - not just a wipe, but a complete format, to start from scratch. So I formatted everything, including /system and /emmc partitions. I then re-booted to recovery and had my rom file on the SD card so i was able to get a clean install.
Now, the question is - say I am at a stage when I need to 'refresh' the phone and wipe everything out. How do I then access the rom file for new install if I don't have external SD Card?
Thanks.
with adb.
What I do when I want a clean start, is I will load the rom/gapps/kernel to my phone, go to recovery, factory reset (with system if you choose), then flash all the things you want, then go back and wipe internal storage after. Then you're left with a fresh version of the ROM you want to install and no files whatsoever in the memory. Hope that helps.
I had the same suspicions a while ago. Basically with the nexus 5, even without an external sd, you can still do a full wipe of everything other than your storage. There is a path on the internal storage which essentially acts like an sd card, and when doing wipes in recovery it will not be wiped, unless of course you specifically choose to format /sdcard or all of /data. Read here for more info. I found that explanation very helpful.
So to answer your question, no, its not an issue.
Zepius said:
with adb.
Click to expand...
Click to collapse
This.
I have the same issue, with my OCD, that I always need a complete wipe of EVERYTHING.
One option, I recommend if that's not an option at the time of flash, is to simply "reset" in settings. It clears out the whole SD, which is something I usually want to do when I want a FULL flash
justinisloco said:
simply "reset" in settings. It clears out the whole SD, which is something I usually want to do when I want a FULL flash
Click to expand...
Click to collapse
Reset in settings just uses recovery unless something changed I haven't realised?
It should be down to what recovery you have (stock vs custom) as to whether a reset (regardless of how you initiate it) wipes /sdcard or not... or are you saying that's changed now?
Sent from my Nexus 5 using Tapatalk
Zepius said:
with adb.
Click to expand...
Click to collapse
Pardon my ignorance, but what is adb?
spitefulrain said:
What I do when I want a clean start, is I will load the rom/gapps/kernel to my phone, go to recovery, factory reset (with system if you choose), then flash all the things you want, then go back and wipe internal storage after. Then you're left with a fresh version of the ROM you want to install and no files whatsoever in the memory. Hope that helps.
Click to expand...
Click to collapse
Problem with factory reset, as far as I know, is that it does not wipe out everything. When I do factory reset in my S2, I still see old folders (even though empty) from before the wipe. That's why I like to format everything clean. When I mean clean, I don't want to see any old folder in there
justinisloco said:
This.
I have the same issue, with my OCD, that I always need a complete wipe of EVERYTHING.
One option, I recommend if that's not an option at the time of flash, is to simply "reset" in settings. It clears out the whole SD, which is something I usually want to do when I want a FULL flash
Click to expand...
Click to collapse
OK, but if you do that, where do you 'keep' the rom file and how do you flash it?
sbi1 said:
Pardon my ignorance, but what is adb?
OK, but if you do that, where do you 'keep' the rom file and how do you flash it?
Click to expand...
Click to collapse
Android Debug Bridge. It allows you to communicate with your phone via command line tools.
You would keep the rom somewhere on your internal storage (data/media) just like you would on any other phone. Then after wiping, you would simply choose to install zip from sdcard and your rom, along with any other flashable zip on your sdcard will be available to install. Basically when you do a typical full wipe from a custom recovery, the contents of your internal storage/sdcard are not wiped.
Chromium said:
Android Debug Bridge. It allows you to communicate with your phone via command line tools.
You would keep the rom somewhere on your internal storage (data/media) just like you would on any other phone. Then after wiping, you would simply choose to install zip from sdcard and your rom, along with any other flashable zip on your sdcard will be available to install. Basically when you do a typical full wipe from a custom recovery, the contents of your internal storage/sdcard are not wiped.
Click to expand...
Click to collapse
OK, this seems a bit too complicated for me
sbi1 said:
Problem with factory reset, as far as I know, is that it does not wipe out everything. When I do factory reset in my S2, I still see old folders (even though empty) from before the wipe. That's why I like to format everything clean. When I mean clean, I don't want to see any old folder in there
Click to expand...
Click to collapse
Which is why I said wipe your internal storage after
Sent from my Nexus 5 using Tapatalk
rootSU said:
Reset in settings just uses recovery unless something changed I haven't realised?
It should be down to what recovery you have (stock vs custom) as to whether a reset (regardless of how you initiate it) wipes /sdcard or not... or are you saying that's changed now?
Click to expand...
Click to collapse
Lately, I've noticed that it wipes the Data as well. Unless It was only on CWM that it happened? I had installed CM11 with CWM and wanted to reset my SD. I used the reset feature and it erased everything, except the OS
sbi1 said:
OK, but if you do that, where do you 'keep' the rom file and how do you flash it?
Click to expand...
Click to collapse
I would flash the Rom first, then do the factory reset, the only downside is the nandroid you made may be lost, unless you uploaded it to GDrive or something.
---------------------------------------
Using this guide, you will be able to learn about ADB
http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905
In Step 3-
Chromium said:
3. Rooting
Now that your phone has an unlocked bootloader and a custom recovery installed you have a two options to gain root (Pick one or the other. You don't need to do both)
Option A) Flash SuperSU binaries which will give you root with the stock rom
Confirm that you have downloaded the SuperSU zip from the downloads section above and that it is located in the platform-tools folder inside of the android-sdk-windows folder on your desktop.
Turn the phone off then boot into the bootloader. (volume down + power). Once in the bootloader use the volume rockers to scroll onto Recovery Mode, then press power to select it. This should bring you into your newly installed custom recovery. Leave the phone at the home page of the custom recovery.
Open a command prompt window and run the following commands:
Code:
cd Desktop/android-sdk-windows/platform-tools
Code:
adb push UPDATE-SuperSU-v[COLOR="Red"]X[/COLOR].[COLOR="red"]XX[/COLOR].zip /sdcard/
This will copy the SuperSU zip onto your phone. Once the command has completed continue.
Instructions for TeamWin Recovery Project (TWRP):
Install > browse to SuperSU zip and select the it
Swipe to confirm the installation. Then reboot.
Click to expand...
Click to collapse
It shows how to "Push" a file to your phone. That is the best way, IMO. But instead of SuperSU, just "adb push ROM.zip /sdcard/"
sbi1 said:
OK, this seems a bit too complicated for me
Click to expand...
Click to collapse
Flashing the rom? Its honestly not any more complicated than flashing a rom for any other device. You download the rom to your internal storage. Boot into recovery. Then do a full wipe:
TWRP Full Wipe:
- Wipe
- Advanced wipe
- Select all, except internal storage
- Swipe to wipe
CWM Full Wipe:
- wipe data/factory reset
- wipe cache partition
- advanced > wipe dalvik cache
- mounts and storage > format /system
Finally you can then flash the rom (and gapps).
sbi1 said:
OK, this seems a bit too complicated for me
Click to expand...
Click to collapse
It's not really and if you're rooting and flashing any device, adb is essential knowledge.
Once you've installed adb (millions of guides on the net) you just boot into recovery then connect to pc via usb.
adb commands are run from cmd prompt.
For example...
adb push c:\users\sbi1\desktop\rom.zip /sdcard
Would push the file on your windows desktop called rom.zip to your sdcard.
You can even sideload from recovery.
Or better yet,.just don't wipe /sdcard. It has no benefit other than looking tidy anyway
Sent from my Nexus 5 using Tapatalk
---------- Post added at 10:20 PM ---------- Previous post was at 10:17 PM ----------
Ok too many cooks... i'm bowing out
Sent from my Nexus 5 using Tapatalk
OK, thank you all. So I should have no worries then. Was just wondering how this is done without external SD and it seems to be working fine. Thanks again!
Chromium said:
CWM Full Wipe:
- wipe data/factory reset
- wipe cache partition
- advanced > wipe dalvik cache
- mounts and storage > format /system
Click to expand...
Click to collapse
Parting note
Philz Touch Full Wipe:
- wipe data/factory reset > clean to install new ROM
(Does all the steps mentioned above at once)
Sent from my Nexus 5 using Tapatalk

Accidentally wiped internal storage..need help adb pushing rom!

as the title states..in a rush i accidentally wiped my internal storage and everything else..i can get into recovery and fastboot mode
i have all the adb drives and stuff installed from when i previously used it (months ago)
when i plug my phone into my pc in fastboot it doesnt not connect and adb devices does not list it as connected
please PM me and help me..i just need to push a rom onto the phone so i can flash it
jdiddy_ub said:
as the title states..in a rush i accidentally wiped my internal storage and everything else..i can get into recovery and fastboot mode
i have all the adb drives and stuff installed from when i previously used it (months ago)
when i plug my phone into my pc in fastboot it doesnt not connect and adb devices does not list it as connected
please PM me and help me..i just need to push a rom onto the phone so i can flash it
Click to expand...
Click to collapse
That's ironic, the very same thing happen to me yesterday except in my case I undervolted too low and corrupted the data, had to format everything.
Which recovery are you using? PhilZ Touch allows you to push stuff onto the internal storage.
The command would be "adb push (name of your folder) /sdcard/"
thanks for the response...im using TWRP...i just decided to flash the stock images and start from scratch
adb doesn't work in fastboot mode. Only fastboot works in fastboot mode. adb works only in recovery mode or Android mode. adb and fastboot are NOT the same thing. They are not synonymous
Sent from my Nexus 5 using Tapatalk
Get fastboot and adb exes for windows.
Add them to your PATH to make them available from everywhere.
If you dont know from where to get fastboot and adb and you dont know how to add them to the PATH, then this is for you.
If you choose TWRP to flash new rom:
If you are on windows 8 or 8.1 then disable driver signature enforcement.
You need universal naked drivers.
Open CMD window on your PC.
Go to that directory where the rom.zip is. (The commands you need to navigate between folders: dir and cd)
For adb push:
Type this in the CMD window and flash it in TWRP:
Code:
adb push rom.zip /sdcard
For adb sideload:
In twrp: Advanced->ADB Sideload->Swipe to Start Sideload
Then type this in the CMD window:
Code:
adb sideload rom.zip
If you ends up in boot loop do a factory reset.
For flashing factory images:
Enter the phone to fastboot mode and connect it to the PC
Install usb drivers from google.
Download factory images for nexus 5 and extract it.
Run flash-all.bat.
If you are still lost I recommend you these threads:
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
[Tutorial] How to flash factory images with LG Flashtool
I've been having trouble with this..... When I wipe data in twrp it also wipes internal storage. How are people wiping their device for a clean rom install?
Sent from my Nexus 5 using Tapatalk
toprunner2786 said:
I've been having trouble with this..... When I wipe data in twrp it also wipes internal storage. How are people wiping their device for a clean rom install?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
For me, by not using TWRP
rootSU said:
For me, by not using TWRP
Click to expand...
Click to collapse
Oh.... Interesting I guess I never thought that it could be an issue with the recovery itself.... I just assumed it was operator error.
So I would assume CWM is the obvious alternative.... Is there anything else that is recommended?
Sent from my Nexus 5 using Tapatalk
Link in signature
Sent from my Nexus 5 using Tapatalk
toprunner2786 said:
I've been having trouble with this..... When I wipe data in twrp it also wipes internal storage. How are people wiping their device for a clean rom install?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
What do you mean by internal storage? Wiping data will wipe your apps but anything on your internal sdcard should not be wiped. Backups, etc
Sent from my Nexus 5 using XDA Free mobile app
toprunner2786 said:
I've been having trouble with this..... When I wipe data in twrp it also wipes internal storage. How are people wiping their device for a clean rom install?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
What I do is reboot to twrp. Select wipe then swipe that thing which tells me "swipe to factory reset".
This does wipes /cache and /data without deleting /data/media. The files on the internal storage is in /data/media/0
What I do not do is selecting Format data and type yes for format or going into the advanced wipe and select /sdcard to format too.
hey
jdiddy_ub said:
as the title states..in a rush i accidentally wiped my internal storage and everything else..i can get into recovery and fastboot mode
i have all the adb drives and stuff installed from when i previously used it (months ago)
when i plug my phone into my pc in fastboot it doesnt not connect and adb devices does not list it as connected
please PM me and help me..i just need to push a rom onto the phone so i can flash it
Click to expand...
Click to collapse
hey i have the same problem dude can you please help me with this
Hi, can anyone help me, I got problem.
I have Lenovo A526 phone stuck in logo. First time I used Sp Flash Tools & Stock Rom to fix, after all done the popup said "Download OK" but after restart it still hang in logo. I tried few time.
Stock ROM from this site: http://firmwarefile.com/lenovo-a526 And I use SP_Flash_Tool_v5.1628 from that site too.
Then I use this rom: http://www.symbianize.com/showthread.php?t=1184121 With the same SP_Flash_Tool_v5.1628. I use " [Custom ROM] A526 is based on a sink firmware ROW_031 for Lenovo a526 " from FoxtrotKZ, result still same.
Later I've used ADB & TWRP recovery to install a custom rom. With this custom rom:
http://www.needrom.com/download/miui...v5-5-01-16-ru/
https://filosofipohonkelapa.wordpres...n-ke-lollipop/
http://www.mastahdroid.com/2015/08/c...novo-a526.html
I tried via adb sideload and via sdcard too. Same result.
On TWRP recovery the message said "Installation Done ! Please Reboot ! Successful".
But at the end of line of installation, it's written:
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
Then I reboot and it still hang in logo
https://postimg.org/image/6tlj5nem7/
I boot to recovery and tried "wipe" option, Same result.
https://postimg.org/image/oibdy3b7f/
Dont know the meaning of that and fix this. Can anyone help? Thank you.
Can i recover files pictures after swiping/format on twrp?
danarama said:
adb doesn't work in fastboot mode. Only fastboot works in fastboot mode. adb works only in recovery mode or Android mode. adb and fastboot are NOT the same thing. They are not synonymous
Click to expand...
Click to collapse
omg you saved me, thank you so much for this info!
I'm using nexus 6p and when I try to install new pie Ron with FBE instead of FDE, I use a USB OTG adapter and install the zip from USB storage then completely format internal storage.
So if you have USB OTG then you can mount the USB storage into TWRP and install from there

[Q] Sdcard became a file

my sdcard in root explorer became read only and a file and is now legacy. this first started when i tried to boot into TWRP 2.8 and did not boot so i tried to fastboot erase cache and that is when i had problems. I also don't have an IMEI number but i have a backup. TWRP can read the sdcard though
Try fastboot flashing the cache.img.
Wakamatsu said:
Try fastboot flashing the cache.img.
Click to expand...
Click to collapse
Fixed becasue i had a back up and just restored the cache and efs from another ROM
is the sdcard mounted in cache or something?
dirtbikerr450 said:
is the sdcard mounted in cache or something?
Click to expand...
Click to collapse
No but you mentioned that you erased the cache in fastboot. Normally, the cache should reformat. If it doesn't, you lose your cache file system. The phone is still useable but may exhibit odd behavior.

Categories

Resources