Problem with partition sdcard after fail flash - Nexus 5 Q&A, Help & Troubleshooting

Hello,
That last night I wanted to flash a new ROM from 4.4 to 5.0.1.
I had some bugs, like my full SD card, therefore i installed nothing like apps or pictures .
So I try to re-flash the ROM again after a factory reset.
But, i can not reflash since it has wipe my SD card ..
So I managed to reconnect my phone and flash a recovery.
However, when I install a ROM (official google, or custom), it no longer detects my SD card
when the flash rom: E: unknown volume for path / sd-ext.
I try everything, I do not know how to repartition as originally my SD card.
I hope she is not dead as impossible to get out of my phone ...
I manage to mount the SD card, but still the sd-ext partition that does not exist ...
I just followed here: http://forum.xda-developers.com/goo...o-repairing-corrupted-data-partition-t2577447
everything works, but again, the sd-ext partition ..
I manage to get to the bootloader, recovery, I can flash a ROM anyway!
However, when I want to take a picture / install / sms .... I get an error "No SD card" or not avaialble space.
I need your help, since yesterday I have no phone ..
Best Regards,

sleakerz said:
Hello,
That last night I wanted to flash a new ROM from 4.4 to 5.0.1.
I had some bugs, like my full SD card, therefore i installed nothing like apps or pictures .
So I try to re-flash the ROM again after a factory reset.
But, i can not reflash since it has wipe my SD card ..
So I managed to reconnect my phone and flash a recovery.
However, when I install a ROM (official google, or custom), it no longer detects my SD card
when the flash rom: E: unknown volume for path / sd-ext.
I try everything, I do not know how to repartition as originally my SD card.
I hope she is not dead as impossible to get out of my phone ...
I manage to mount the SD card, but still the sd-ext partition that does not exist ...
I just followed here: http://forum.xda-developers.com/goo...o-repairing-corrupted-data-partition-t2577447
everything works, but again, the sd-ext partition ..
I manage to get to the bootloader, recovery, I can flash a ROM anyway!
However, when I want to take a picture / install / sms .... I get an error "No SD card" or not avaialble space.
I need your help, since yesterday I have no phone ..
Best Regards,
Click to expand...
Click to collapse
Easiest way to solve is just to flash a factory image - follow ALL the instructions on this page: https://developers.google.com/android/nexus/images
Have a read of RootSU's post about file system issues after updating - explains how and why this happens, and how to fix. I would just do the above though, just so you know you're totally back to stock.
http://forum.xda-developers.com/google-nexus-5/general/sdcard-problems-upgrading-android-t2938749

it looks run, I can now see my sd card, install applications ...
However, some problem:
- In aborescence I have : sdcard, then 0 / legacy / OBB
Is it the same for you? Is like this for 5.0?
- When flash: E unknown volume to path sd-ext. Unable to unmount or mount /system, but I was able to boot; and it seems to work ..
- Clean master does not detect anything (unnecessary file or anything ..) Why?
- What recovery do you recommend?
- In storage: Various weighs 5.68gb, but there is nothing on it, how to clean?

sleakerz said:
it looks run, I can now see my sd card, install applications ...
However, some problem:
- In aborescence I have : sdcard, then 0 / legacy / OBB
Is it the same for you? Is like this for 5.0?
- When flash: E unknown volume to path sd-ext. Unable to unmount or mount /system, but I was able to boot; and it seems to work ..
- Clean master does not detect anything (unnecessary file or anything ..) Why?
- What recovery do you recommend?
- In storage: Various weighs 5.68gb, but there is nothing on it, how to clean?
Click to expand...
Click to collapse
- go to general > stick roll-up and find my data loss/recovery thread it explains all the /sdcard quirks
- you don't have sd-ext, that's why. you can't mount /system if its already mounted
- who knows?
- TWRP
- again check my recovery /loss thread and also my "sdcard problems" thread in general. particularly the part about lost Nandroid backups
Your best bet is to read those threads, find any lost backups and wipe storage via TWRP

"you don't have sd-ext, that's why. you can't mount /system if its already mounted"
It is normal ? Or it's a problem ? How can i fix it ?
I don't have any Nandroid backup, mine didn't worked ..

sleakerz said:
"you don't have sd-ext, that's why. you can't mount /system if its already mounted"
It is normal ? Or it's a problem ? How can i fix it ?
I don't have any Nandroid backup, mine didn't worked ..
Click to expand...
Click to collapse
Its normal.
Please find and read those threads.

I'm french, and so i didn't understand all , i'm in which case ?
If i understand well, i just have to wipe "data" partition ?
As you say, i have sdcard\0\0\0
Which one i have to moove ?

sleakerz said:
I'm french, and so i didn't understand all , i'm in which case ?
If i understand well, i just have to wipe "data" partition ?
As you say, i have sdcard\0\0\0
Which one i have to moove ?
Click to expand...
Click to collapse
Go to /data/media/0. That's where everything should be. When you're in /data/media/0, you shouldn't see any more "0" folders. If you do, take everything out of those "0" folders and put it all in /data/media/0
So for example you should have your photos in /data/media/0/DCIM. If you have /data/media/0/0/0/0/DCIM, obviously that is wrong.
Sometimes its easiest to wipe everything a d start fresh so copy any data you want to keep to PC, then flash the 5.0.1 full factory image, wiping your device back to default completely.

I just did this, i flashed a full factory image this morning, it was the same ..
I made a factory, wipe a new ROm, always the same, i made everything, nothing work .
the sdcard is boring me ..
I don't know what to do ..

sleakerz said:
I just did this, i flashed a full factory image this morning, it was the same ..
I made a factory, wipe a new ROm, always the same, i made everything, nothing work .
the sdcard is boring me ..
I don't know what to do ..
Click to expand...
Click to collapse
It can't be the same if you flash the full factory image. Please explain the exact steps you took to flash full factory image.

I downloaded : hammerhead-lrx22c-factory-0f9eda1b.tgz
I unzipped , to get the flash-all.bat script (http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701)
I make a factory reset
-- E : unknown volume for path [/sd-ext]
I launch the script : http://i.gyazo.com/177625d0c7f9ba60bc207e39536b0b31.png i've got this ..
What i can do now ?

sleakerz said:
I downloaded : hammerhead-lrx22c-factory-0f9eda1b.tgz
I unzipped , to get the flash-all.bat script (http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701)
I make a factory reset
-- E : unknown volume for path [/sd-ext]
I launch the script : http://i.gyazo.com/177625d0c7f9ba60bc207e39536b0b31.png i've got this ..
What i can do now ?
Click to expand...
Click to collapse
Unpack all the .img files and do this
fastboot erase system
fastboot flash system system.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot flash boot boot.img
Read general > sticky roll-up> adb and fastboot.... If you get stuck with that

fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
And it's seems to work, like you can see : http://i.gyazo.com/f84948dd6d444a47b114437b8878a314.png
Now i have a factory image, what can i do to use a new ROM / get root and unlock bootloader (if it's not done ?)

sleakerz said:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
And it's seems to work, like you can see : http://i.gyazo.com/f84948dd6d444a47b114437b8878a314.png
Now i have a factory image, what can i do to use a new ROM / get root and unlock bootloader (if it's not done ?)
Click to expand...
Click to collapse
You didn't do the commands I said. The erase was important
You would need to fastboot flash a custom recovery and either flash a custom ROM from that recovery or flash SuperSU from recovery depending if you want a new ROM or just root

i didn't do the command, but as you can see in the screen, just after "fastboot flash system C:/image-hammerhead-krt16m/system.img"
there is : "erasing system.. OKAY"
So i think it's good no ?

sleakerz said:
i didn't do the command, but as you can see in the screen, just after "fastboot flash system C:/image-hammerhead-krt16m/system.img"
there is : "erasing system.. OKAY"
So i think it's good no ?
Click to expand...
Click to collapse
I just wanted you to do it manually yourself, for userdata

Really thank for your help rootSU !
Now, everything works like a charm : )

sleakerz said:
Really thank for your help rootSU !
Now, everything works like a charm : )
Click to expand...
Click to collapse
Great news. Thanks for letting us know

No SD Card
Sorry if wrong thread but, my problem is:
If I'm in twrp it sees the sdcard and all things on it.
In system it doesn't see the things on the SD card.
Please don't return that I have to do a factory reflash.
If I try to download sth. It gives a toast "No Sd Card" .
I can't take it out because I've got a Nexus 4.
Pls. Help me.

Related

[Q] Help! TWRP Won't Mount /sdcard for flashing!

I ran a recovery in TWRP to get my phone back to the phones original rom after being on AOKP JB Build 4 on my AT&T One X, but now it stays on the HTC boot screen with the red legal warning on it and TWRP can't mount /sdcard to flash back to another rom. I really hope that this isn't a brick but can someone shine some light on this issue and a possible fix? Help would be greatly appreciated!
Update: Was able to get AOKP flashed back by mounting /data as /sdcard, phone boots into it and I can use it, but the internal storage (/sdcard) is nonexistent and won't mount.
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
c_h0use said:
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
Click to expand...
Click to collapse
Don't worry about the red text. We all have that. And it is not bricked.
Can you turn the phone on with the stock ROM you flashed? If so, can you mount the SD card while it is on, booted up in phone mode? If, mount it there, then move your new rom to your phone.
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
XRACER said:
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
Click to expand...
Click to collapse
I think what you need to do then is flash the ROM from your bootloader. I found this guide with directions explaining how to flash from the bootloader by googling How To Flash Rom from Bootloader in the XDA Wiki. Here are the steps
ROM Flashing
Obtain a ROM of your choice, and note the location on your computer.
reboot your device into fastboot mode via one of the following options.
adb reboot bootloader (requires USB debugging to be turned on).
power off the device then back on with 'vol up' + power button.
Wipe your device.
fastboot -w
Update your ROM.
fastboot update </path/to/your/RomFile.zip>
Your phone will update and automatically reboot into the new ROM.
ROM update without SDcard
If you don't have an sd card, or your slot is broken you can try this trick, but you will need a custom recovery like Clockwork.
Boot up your phone to recovery. And move your rom file to the adb directory, and start a command line ( cmd )
adb shell
mount data
adb push D:\custom_rom.zip /data/
Wait until the push finised, and restart your device to recovery again with "adb reboot-bootloader"
mount data
mount /data /sdcard ( mount the data folder into your sdcard folder, so your recovery will think that you have an sdcard installed )
Locate the ROM .Zip file you wish to flash.
Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.
With some root file explorer, remove the rom file if you don't need it anymore, to free up space.
Or use adb to remove the custom recovery
adb shell rm data/custom_rom.zip
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
elphiz
XRACER said:
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
Click to expand...
Click to collapse
Lol this just happen toe last night what u need to do is boot into bootloader then plug it USB cable to ur phone and format your sdcard it make sure u download a Rom to your computer before this it can be any tom you like after you format you can put the Rom on ur sdcard and flash and u will be golden
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
http://forums.team-nocturnal.com/sh...storage-on-the-HTC-One-X-XL?p=13552#post13552
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
XRACER said:
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
Click to expand...
Click to collapse
If you're not on Hboot 1.14 then you don't have to flashboot flash boot.img. just flash the .zip from your sd card
Sent from my HTC One XL cellular device over clocked to 1.9Ghz
thank you sir!
king200 said:
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
Click to expand...
Click to collapse
ok this did work and i appreciate the link. ive bookmarked it for future use. what sux is i assumed i bricked and have already had a new phone shipped. oh well guess i got a back up
will this work because my microsims card unable to mount /sdcard which i assume is the internal one will it work even if its blank/empty via computer because i have no working os on my phone i have incredible 4g so i hope you can help me
XRACER said:
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
Click to expand...
Click to collapse
I did it. Apparently you can install a zip ROM from SD card once you repartition it from the recovery. There is an option to partition the SD card in the Recovery.
After that, restart the phone, go into recovery again, connect to the PC using a USB cable, and use the USB mount option if you want to copy the ROM without removing the microSD card from the phone. Copy the zip ROM to the sdcard and try installing the ROM again. It worked for me !
I was installing the Pico ROM from this tutorial:
www (dot) rootlord.com/2013/08/revert-htc-explorer-back-to-stock-rom (dot) html
I
TWRP Mounting SD card
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
So I think I may have currupted my sdcard. I'm running CM-12 4/21/15 nightly. I'm a nubie at this stuff and have read everywhere I can think of on the forums. When I try to reboot to bootloader from TWRP recovery if goes immediately to the do no remove USB connection FIRMWARE Update. I am worried that this will un-root me with AT&T being jerks and fixing the bumped bootloader. So, I have always just pulled the battery, plus it never has any progress on the %downloaded bar.
To try to fix the issue I may have just made it worse and created too many partitions or corrupted the SD by doing exactly what you said not to do above. Before I did a TWRP wipe (not the advanced version) the SD card was mounted, but some apps like google play music kept saying external storage removed. I did the wipe and saw the factory reset screen and said ok. I had to download all my apps again and then switched to Google Now launcher I orginally rooted and bootloader unlocked with bump on a different smaller external SD card. I wasn't sure if that had anything to do with it.
I'm almost unsure what to ask you or other more experienced users what to do.
eee. how about on my samsung galaxy j5 sm j500h? i wanted to mount my phone to pc but i cant. was planning to fix my phone cause im stucked on bootlogo due to flashing xposed-v72-sdk22-arm.zip. Hoping that you guys can help me out.

partitions seem to be locked, cant format

i had a recent soft brick in which for some reason, i couldnt decrypt, with this, i couldnt load anything on android besides twrp and fastboot.. when i try reformatting and wiping data, it seems to fail.. for example, i go to format with twrp and it hangs, if i try installing anything itll fail to load any data onto that partition.. if i could reformat that partition back to its useful state, without the encryption issue i could reinstall a rom and fix this issue
any ideas?
when i attempt to do anything in twrp.. i get this error
Updating partition details
E: error opening ' /data/media '
E: error: No such file or directory
just a test, i tried to create a new folder in /data, and it says its a read-only filesystem
jason41987 said:
i had a recent soft brick in which for some reason, i couldnt decrypt, with this, i couldnt load anything on android besides twrp and fastboot.. when i try reformatting and wiping data, it seems to fail.. for example, i go to format with twrp and it hangs, if i try installing anything itll fail to load any data onto that partition.. if i could reformat that partition back to its useful state, without the encryption issue i could reinstall a rom and fix this issue
any ideas?
when i attempt to do anything in twrp.. i get this error
Updating partition details
E: error opening ' /data/media '
E: error: No such file or directory
just a test, i tried to create a new folder in /data, and it says its a read-only filesystem
Click to expand...
Click to collapse
Your partition is probably encrypted. The only way to access to your data is to decrypt it before you can do anything. Do you have a password for it?
LetMeKnow said:
Your partition is probably encrypted. The only way to access to your data is to decrypt it before you can do anything. Do you have a password for it?
Click to expand...
Click to collapse
no, any way i can erase all the data, the partition and start fresh?
jason41987 said:
no, any way i can erase all the data, the partition and start fresh?
Click to expand...
Click to collapse
"Format data" should do this. In which way doesn't it work for you?
_that said:
"Format data" should do this. In which way doesn't it work for you?
Click to expand...
Click to collapse
when i attempt to format data, format fails, it will not let me touch the /data partition, when it does mount, it mounts as read-only.. the partition itself, possibly partition table or something is damaged because it cannot be formatted and nothing can be written to it
it would seem like the internal storage is screwed.. but the other partitions seem to work fine, even able to use command-line from twrp to check fstab and try to mount manually... im not sure how to completely delete and recreate a partition in fdisk, if possible on here
jason41987 said:
when i attempt to format data, format fails
Click to expand...
Click to collapse
No error message? No log file? Just "fails"?
You could try running "/sbin/make_ext4fs /dev/block/mmcblk0p8" manually from adb shell.
jason41987 said:
it would seem like the internal storage is screwed.. but the other partitions seem to work fine, even able to use command-line from twrp to check fstab and try to mount manually... im not sure how to completely delete and recreate a partition in fdisk, if possible on here
Click to expand...
Click to collapse
You can't use fdisk on the internal storage - it uses a combination of GPT and a proprietary partition table.
_that said:
No error message? No log file? Just "fails"?
You could try running "/sbin/make_ext4fs /dev/block/mmcblk0p8" manually from adb shell.
You can't use fdisk on the internal storage - it uses a combination of GPT and a proprietary partition table.
Click to expand...
Click to collapse
the errors i receive are above..trying different things ive received the error that the partition is write one... are there any tools for redoing the entire internal storage?
maybe this could work.. since the other partitions seem to work just fine, as they were not encrypted, what if i edited fstab to mount partitions on a MicroSD card pre-partitioned to act as /data and /cache, then install a rom... unless there are ROMs designed to utilize an external SD for installation?... either way if i can work around these two partitions i could get into a working android system where i can find more tools to assist in removing and recreating those broken partitions
ive considered trying to use fastboot to replace the twrp recovery with a stock asus recovery partition and try to fix the issue from that, but i doubt that would be of any use
jason41987 said:
ive considered trying to use fastboot to replace the twrp recovery with a stock asus recovery partition and try to fix the issue from that, but i doubt that would be of any use
Click to expand...
Click to collapse
Instead you should try it cause i'm pretty sure it will fix your partition.Just install the stock recovery and do a Wipe Data first. If all goes well you can go ahead and flash a stock rom from MicroSD or install the TWRP again and check if it's working.
Here you can find the latest stock recovery - - > http://forum.xda-developers.com/showthread.php?p=44280630
Pretoriano80 said:
Instead you should try it cause i'm pretty sure it will fix your partition.Just install the stock recovery and do a Wipe Data first. If all goes well you can go ahead and flash a stock rom from MicroSD or install the TWRP again and check if it's working.
Here you can find the latest stock recovery - - > http://forum.xda-developers.com/showthread.php?p=44280630
Click to expand...
Click to collapse
are you saying write over twrp with the stock recovery partition with fastboot, then boot into the recovery partition from the power + volume down menu and see if that recovery image will reset to factory defaults?... if so, where would i even get that recovery image?.. and if you mean just try installing a stock rom through TWRP, ive already been there, done that, and it hangs on formatting
jason41987 said:
are you saying write over twrp with the stock recovery partition with fastboot, then boot into the recovery partition from the power + volume down menu and see if that recovery image will reset to factory defaults?... if so, where would i even get that recovery image?.. and if you mean just try installing a stock rom through TWRP, ive already been there, done that, and it hangs on formatting
Click to expand...
Click to collapse
If you follow the link i posted previously you will find the stock recovery (from the latest asus firmware) as an attachment to that post.
After you flash it via Fastboot, do a Wipe Data from the bootloader menu (the one with the 3 icons) after that just follow "restore with stock recovery" procedure from my All in One Thread (it's a sticky post under General Forum).
That should fix your issue and get you to a new clean starting point.
Pretoriano80 said:
If you follow the link i posted previously you will find the stock recovery (from the latest asus firmware) as an attachment to that post.
After you flash it via Fastboot, do a Wipe Data from the bootloader menu (the one with the 3 icons) after that just follow "restore with stock recovery" procedure from my All in One Thread (it's a sticky post under General Forum).
That should fix your issue and get you to a new clean starting point.
Click to expand...
Click to collapse
well, ill try that as soon as i wake up.. if it doesnt work though i am prepared to install something thatll run those partitions of an external microsd though.. wonder why no roms exist specifically for that?... seems like an ultra-secure rom for the ultra-paranoid to be able to pop out their microsd and hide it with all user data stored on it
jason41987 said:
well, ill try that as soon as i wake up.. if it doesnt work though i am prepared to install something thatll run those partitions of an external microsd though.. wonder why no roms exist specifically for that?... seems like an ultra-secure rom for the ultra-paranoid to be able to pop out their microsd and hide it with all user data stored on it
Click to expand...
Click to collapse
Data2SD already exists.
Did you already try to format your data partition from adb shell?
data2sd seems to be something thats applied after a rom is successfully installed, not sure that would help me
anyway, i tried the stock recovery image and it just hangs on an android graphic with a rotating blue wireframe inside its chest and a blue progress bar, but it doesnt actually do anything else
edit: wait a minute.. i see how this goes with the data2sd... i download a data2sd kernal, since i install cleanrom i can add this to the installations list of kernals, the data2sd kernal will mount external SD cards as the /data, cache, and sdcard partitions, allowing me to bypass the issue im having completely and use a 64gb microsd card as my primary storage... very interesting indeed
aah, fantastic, cant even get into fastboot mode to put twrp back on for the data2sd method.. so it would seem now my tablet is COMPLETELY toast
jason41987 said:
aah, fantastic, cant even get into fastboot mode to put twrp back on
Click to expand...
Click to collapse
What happens when you try?
_that said:
What happens when you try?
Click to expand...
Click to collapse
when i hold power and volume down it goes straight to the robot with the blue spinning wireframe graphic,, i dont get an option to go to fastboot.. i can also use power and volume up to go into apx mode but no idea what thats even used for as i find very little reference to it online
jason41987 said:
when i hold power and volume down it goes straight to the robot with the blue spinning wireframe graphic,, i dont get an option to go to fastboot..
Click to expand...
Click to collapse
I see, that's forced boot to recovery because of "wipe data" selected from the bootloader menu.
I don't know how long wiping data takes, maybe you are just not patient enough to let it finish?
_that said:
I see, that's forced boot to recovery because of "wipe data" selected from the bootloader menu.
I don't know how long wiping data takes, maybe you are just not patient enough to let it finish?
Click to expand...
Click to collapse
no, it finished, then said it was booting the recovery image afterwards, then i let it sit for about 2 hours when i went to do something else and it hanged on that screen... no way to fix this from apx mode?
jason41987 said:
no way to fix this from apx mode?
Click to expand...
Click to collapse
APX mode is only useful if you have nvflash, the wheelie tool, and the blob file for your device, which you'd have needed to create with firmware 9.4.5.26 or earlier and the hacked bootloader from androidroot.mobi.

unable to mount /system /data /cache internal storage

can any one help me
what i did was, formatting the system ,data partion using wipe option in recovery (twrp), by mistake the battery got removed during the process since then the problem occured..
my yuphoria device stuck on the boot logo
is not able to mount /system /data /cache and internal storage
it is booting in fastboot mode as well as in recovery but i m not able to flash any rom, in recovery its giving the error as unable to mount /system /data /cache, showing 0mb space in internal storage and system
i also tried to flash using fastboot but giving error at the system partition sowing system write failure.. can some one identify provide me with the solution .. thanks
Same problem
harshgoswami said:
can any one help me
what i did was, formatting the system ,data partion using wipe option in recovery (twrp), by mistake the battery got removed during the process since then the problem occured..
my yuphoria device stuck on the boot logo
is not able to mount /system /data /cache and internal storage
it is booting in fastboot mode as well as in recovery but i m not able to flash any rom, in recovery its giving the error as unable to mount /system /data /cache, showing 0mb space in internal storage and system
i also tried to flash using fastboot but giving error at the system partition sowing system write failure.. can some one identify provide me with the solution .. thanks
Click to expand...
Click to collapse
I'm also facing same problem.......shows 0MB in Internal storage(twrp).......and stuck with YU logo doesnt go further....
I am also facing the exact same problem. Did you find any solution ??
BOTDeveloper said:
I am also facing the exact same problem. Did you find any solution ??
Click to expand...
Click to collapse
same here. any solution?? please help guys !
Facing same problem. Did anyone solve the issue?
cm-13.0-20161219-NIGHTLY-lettuce.zip apply this update from sd card it works
Guys ,..... anybody plz any solutions..... developers!!
facing exact same problem
guys facing exact same problem. searched everywhere but couldn't find any solution. im very much frustrated right now. tried everything . nothing works
facing same problem
any update on howm top solvew thisa guys?
Solution for 0 MB storage in TWRP
Hi Brothers!
It's my first time posting here , so if i make a mistake i am sorry in advance for that.
Solution for 0 MB storage in TWRP is very easy.
You need to boot your phone into TWRP.
In 2nd step you need to go to WIPE option .
Select Data and click on FS Options e.g. trying to change its partition format, most phones use Ext4.
Do same with the Data.
And TADA!!!!
Your problem is solved
I hope it helps you guys getting answer after a long time because i saw it late. Sorry for that.
same problem
BOTDeveloper said:
I am also facing the exact same problem. Did you find any solution ??
Click to expand...
Click to collapse
Try to wipe everything
Format data using twrp
It should be solved.
Hi my YU Yuphoria 5010 started acting up since last week ,when i noticed that the phone was restarting randomly and the settings was missing and even if i clicked on the settings logo in the notification panel, nothing would happen .So i decided to flash a Cusstom ROM instead and boot into recovery.While trying to wipe cache,dalvik and data I got an error message "uable to mount data,cache ,system(invalid argument) and internal memory* was showing up as 0.So i thought my phone was bricked and tried reviving it with the sd card method.But everything else except for system flashed , and got an error FAILED (remote: flash write failure ) just for system .Anyway now I could boot into recovery using fastboot boot command and the internal memory started showing up correcty. The fastboot command is the only way i could get into recovery, if i try power+volume down it would just come up with the empty battery logo. After this i installed qualcomm drivers and manually changed the driver to Qualcomm HS-USB QD Loader 9008 and tried flashing through QFil with a flashable stock ROM and ended up with the error message:"Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol** at QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)** at QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
Download Fail:Sahara FailSahara Fail".
But after going through some of the posts I found that my phone might not be bricked in the first place.My device just shows up as 'Android' under Other devices in Device Manager.
The following are the details from device manager.
Device type: Other devices
Manufacturer: Unknown
Location Port_#002.Hub_#003
Problem code : 0000001C
Physical Device Object name: \Device\USBPDO-6
Hardware IDS: USB\VID_2A96&PID_300A&REV_0100
USB\VID_2A96&PID_300A
{259abffc-50a7-47ce-af08-68c9a7d73366}[13]: 6.0
{6a3433f4-5626-40e8-a9b9-dbd9ecd2884b}[4]: <true>
{6a3433f4-5626-40e8-a9b9-dbd9ecd2884b}[6]: <true>
I also tried to restore through TWRP recovery using the back up my brother created on his YU 5010A to no success.Changing the file system type and back to ext4 also didnt help. I use a Windows 10 64bit Laptop.
What could I possibly do to revive my phone?Kindly help.
Sent from my HUAWEI Y560-L01 using XDA Free mobile app
Not working for me
rahman.khan001 said:
Hi Brothers!
It's my first time posting here , so if i make a mistake i am sorry in advance for that.
Solution for 0 MB storage in TWRP is very easy.
You need to boot your phone into TWRP.
In 2nd step you need to go to WIPE option .
Select Data and click on FS Options e.g. trying to change its partition format, most phones use Ext4.
Do same with the Data.
And TADA!!!!
Your problem is solved
I hope it helps you guys getting answer after a long time because i saw it late. Sorry for that.
Click to expand...
Click to collapse
Not getting any help as the same failed to mount issue is continuing.
puriadeb said:
Not getting any help as the same failed to mount issue is continuing.
Click to expand...
Click to collapse
Wipe everything include system,internal storage and data.
Reboot TWRP to recovery again
Now check your internal storage will be mounted
After it connect phone with pc in mtp mode ( TWRP)
Copy any custom ROM
Then install it through recovery
Enjoy
nischait said:
Wipe everything include system,internal storage and data.
Reboot TWRP to recovery again
Now check your internal storage will be mounted
After it connect phone with pc in mtp mode ( TWRP)
Copy any custom ROM
Then install it through recovery
Enjoy
Click to expand...
Click to collapse
Hi,
I have tried this several times without any help.
Cache format issue .Solved using advanced wipe in TWRP
harshgoswami said:
can any one help me
what i did was, formatting the system ,data partion using wipe option in recovery (twrp), by mistake the battery got removed during the process since then the problem occured..
my yuphoria device stuck on the boot logo
is not able to mount /system /data /cache and internal storage
it is booting in fastboot mode as well as in recovery but i m not able to flash any rom, in recovery its giving the error as unable to mount /system /data /cache, showing 0mb space in internal storage and system
i also tried to flash using fastboot but giving error at the system partition sowing system write failure.. can some one identify provide me with the solution .. thanks
Click to expand...
Click to collapse
open TWRP recovery.Go to wipe section and select advanced wipe option here .Now select data and cache from check boxes.then click on change partition format.Select ext4fs .Wipe it then wait for sometime because sometimes it takes approximately 15-20 mins so be patient .It will successfully wipe and then you can see that everything is up to the mark !
puriadeb said:
Hi,
I have tried this several times without any help.
Click to expand...
Click to collapse
flash stock cyanogen rom again. Then install TWRP. Cross check at your end. We actually don't know which process you are following!
I have a YU5510A running Quarkos and YU5010A running AOSP Extended. I also flash a lot of custom Roms but never get any issue.
did you find any solution for this i can only access cyanogen recovery and fastboot mode .
harshgoswami said:
can any one help me
what i did was, formatting the system ,data partion using wipe option in recovery (twrp), by mistake the battery got removed during the process since then the problem occured..
my yuphoria device stuck on the boot logo
is not able to mount /system /data /cache and internal storage
it is booting in fastboot mode as well as in recovery but i m not able to flash any rom, in recovery its giving the error as unable to mount /system /data /cache, showing 0mb space in internal storage and system
i also tried to flash using fastboot but giving error at the system partition sowing system write failure.. can some one identify provide me with the solution .. thanks
Click to expand...
Click to collapse
duskyrahul said:
did you find any solution for this i can only access cyanogen recovery and fastboot mode .
Click to expand...
Click to collapse
Flash stock ROM using fastboot
For yu5010a you got fastboot package
Open flash all.bat
Just remove device code
02x1ebf or anything I don't remember what it was.
Remove it from all lines
Save flash all.bat
Run it
---------- Post added at 01:29 PM ---------- Previous post was at 01:26 PM ----------
duskyrahul said:
did you find any solution for this i can only access cyanogen recovery and fastboot mode .
Click to expand...
Click to collapse
Flash stock ROM using fastboot
For yu5010a you got fastboot package
Open flash all.bat
Just remove device code
02x1ebf or anything I don't remember what it was.
Remove it from all lines
Save flash all.bat
Run it
For 5510a
Download ygdp 5.0
Select developer option
Select CBP file
Wait for tool extract it
Now minimize tool
Go to folder
Ygdp 5.0
You find here downfiles folder
Copy it and paste in c:\
Run flash all.bat
Done
---------- Post added at 01:35 PM ---------- Previous post was at 01:29 PM ----------
If any one got error in mounting using twrp
Just follow steps
Goto wipe -> advance wipe-> format data->
Type yes
Wait for process completion
Now reboot twrp to recovery
You see everything is mounted successfully.
Note :- with this step you format everything from your phone so don't reboot to system
Now connect phone with pc and copy any downloaded custom ROM in external SD
Flash it
Enjoy

moto g3 lineage os 14.1 bootloop problem

i officially unlocked my moto g3 and flashed it with lineage os 14.1 nightly osprey , twrp 3.1.1-0-osprey and super su v2.79. i also had to change the format of data and cache to f2f. i cheared the cache and factory reset the phone too but the phone is stuck on bootloop.....recovery is perfectly fine , there is no problem opening it but the phone just won't stop booting up. ive waited for nearly 6 hours now
help
r4venfire said:
i officially unlocked my moto g3 and flashed it with lineage os 14.1 nightly osprey , twrp 3.1.1-0-osprey and super su v2.79. i also had to change the format of data and cache to f2f. i cheared the cache and factory reset the phone too but the phone is stuck on bootloop.....recovery is perfectly fine , there is no problem opening it but the phone just won't stop booting up. ive waited for nearly 6 hours now
help
Click to expand...
Click to collapse
Try this:
Go to recovery then wipe everything except internal storage and SD card
Install custom ROM
Don't install anything else(SuperSU or gapps)
Reboot
If above doesn't work, the problem is with custom ROM, download a different rom
ayush4261 said:
Try this:
Go to recovery then wipe everything except internal storage and SD card
Install custom ROM
Don't install anything else(SuperSU or gapps)
Reboot
If above doesn't work, the problem is with custom ROM, download a different rom
Click to expand...
Click to collapse
i solved it. found a thread which helped me. this was the procedure:
Moto g not booting up.
I hope you have an unlocked boot loader.
The first thing you need to find out is that are your phone's partition writable and readable.
1. Download the os you want to your PC rename it to "os.zip" and extract the contents to adb folder (adb folder should be in C drive i.e. C:/adb ). You will get boot. img , system (folder), and others.
1. connect your phone to PC in fastboot mode.
2.In adb type the below commands one by one without quotes. And let one command get processed before typing other.
"fastboot devices" (in response it must show you something like TJ9*****)
"fastboot erase userdata"
"fastboot erase cache"
"fastboot push C:/adb\system /system/"
"fastboot flash boot boot.img"
"fastboot flash recovery recovery.img"(flash the philz recovery now)(not required if you already have a recovery)
"fastboot push C:/adb\boot.img /data/"(to verify whether /data is writable or not)
"fastboot push C:/adb\boot.img /cache/"(to verify whether /cache is writable or not)
"fastboot push C:/adb\os.zip /data/media/0/"(to push the os to sdcard to flash it through recovery)
Then boot your phone to recovery. And see the logs, it should show
/system mounted
/data mounted
/sd-ext error mounting /sd-ext
/cache mounted
If it shows /data can't be mounted or error mounting /data. Then go to wipe and wipe /data and /sdcard and then again push os.zip to /data/media/0/. If you don't see this error, then choose to wipe to install a new rom. After this remount /system /data /cache and flash the os.zip or you can flash stock firmware through mfastboot.
This will work definitely.
r4venfire said:
i solved it. found a thread which helped me. this was the procedure:....
Click to expand...
Click to collapse
Thanks man, I tried only deleting cache and userdata from fastboot and worked too.

0 mb in TWRP internal storage

I searched for an answer and noticed it's a common issue. I am trying to flash a kernel on to my already flashed rom. I was wondering if there is a more current fix. More importantly, how can this be avoided in the future. Thank you guys!
Its caused by a bug/error with either the filesystem or encryption.
Did you wipe data after flashing the new ROM? Data from stock usually doesn't work with custom ROMs.
Do you have a PIN/password on Android?
Are you using the latest build of TWRP?
Press the menu button at the bottom of the screen in TWRP and post what the error message is in the red text.
It's caused by no root access
djhulk2 said:
It's caused by no root access
Click to expand...
Click to collapse
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
KemikalElite said:
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
Click to expand...
Click to collapse
I've debated on doing this. I'm not worried about losing pictures texts etc as they're backed up.
I read that it essentially leaves the device with no OS. If that's wrong please let me know!
I have found that if I choose Slot A and reboot system it reboots me in to TWRP. If I choose Slot B it runs the OS like normal (except I still have issues using Facebook and it's services).
The ROM works and I can perform all the custom mods on it. I just want to flash a kernel and the problem persists. 0 mb in storage.
It's trial and error at this point. Fail fast fail forward. I have another phone I can use but I love the OnePlus. Any help will be appreciated!
https://andi34.github.io/faq/faq_twrp.html
I'm not willing to risk it until I know how to get the custom ROM on to the storage to flash it.
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Never heard of formating data removing the OS, that would be if you wipe the system and normal wipe is like a factory data reset and therefore will not wipe your phone of the OS
djhulk2 said:
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Click to expand...
Click to collapse
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Try this in recovery, sometimes its known to work.
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to EXT2.
Repeat the same process selecting Ext4
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to back to EXT4.
Try formatting data after this.
drey4211 said:
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Click to expand...
Click to collapse
Since you dont care about the data on the phone I would just do 1 of 2 things. 1st I would reflash twrp on to you phone if that doesn't work then I would just grab the fastboot ROM and just flash your phone back to full stock reroot and install twrp from scratch. I would not try to start repairing partitions. I wouldn't want to worry about screwing up the EFS partition
Well in an update, I formatted the
Storage and now I'm stuck in bootloader screen. It's unlocked but I'm having a hard time flashing a ROM through adb.
I use the twrp version 3.3.1-2
Best would be to just use fast command to boot it
But it should be under wipe/format data/then type in yes
That was what I was trying to have you avoid. If your can boot to fastboot download the fastboot ROM I told you to and run the flash-all.bat file. If your on 9.5.8 make sure you use the fastboot ROM of the same version. Do not flash azip of a different version firmware like 9.5.7.
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
I essentially soft bricked my device. Called OnePlus and they got me up and running. That's awesome that they have that service!
Are you removing all security? Pattern, pin and fingerprints? Are you decrypted? Never had an issue with flashing a ROM causing these issues which is why I'm asking. Something you've done at some point is causing this
I'm not sure what that was. Ironically enough I am now stuck in TWRP boot loop. Hopefully I can figure this out otherwise I have to call oneplus again.
I will admit I may not know everything but it's trial and error. I don't have anyone to really teach me this so I try to read the forums and learn. You guys have been great!
ajsmsg78 said:
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
Click to expand...
Click to collapse
I've the same issue.. did you find a fix? So annoying

Categories

Resources