Damaged Internal Storage Partition (Need Recovery) - General Questions and Answers

I have flashed my phone using qcom flasher its a snapdragon 800 device elife e7. Now the problem is I can access internal storage but phone storage is not available means can't save any photo content etc. I tried formatting with twrp but no help. It shows sdcard0 as vfat on adb shell but nothing works. Any help pls. Would be really grateful. Thanks

Formatting always deletes / wipes all data on chosen partition.

I can't format it I don't care about the data . Tried it with twrp but it fails to even mount the storage every other partition is working flawlessly except the Storage/internal SD

Is there any way to partition internal storage through root?

IMO far easier is to reflash phone's Stock ROM.

that didn't fix it

Related

[Q] SD Card will not mount in Nexus S

Attempting to partition sd card with ext4 -a process I completed multiple times successfully on a Nexus One, the process appeared to complete but now the phone will not mount the sd card. I've tried a wipe/reset, to no avail. I can still access and partition the sd card through adb, but the phone cannot mount it to format/partition, restore from recovery, partition sd-card from within ClockWork Recovery, nothing. I've re-partitioned the sd card through adb, which indicated a successful completion, but the phone still refuses to mount the sd card. If this weren't a Nexus S with it's cursed internal sd-card I would simply swap out the sd card with another or format it externally like all the google topics I pull up on the subject suggest.
Is this fixable or has the fused sd-card scenario become a liability?
Common Error messages:
Can't mount /sdcard
Can't mount /sdcard/.android_secure
Phone: Nexus S
Recovery Img: ClockworkMod Recovery 3.0.2.4
Rom: CM 7.0.3 (now wiped, cannot put back on since sd card won't mount)
fstab:
/dev/block/mtdblock4 /cache yaffs2 rw
/dev/block/platform/s3c-sdhci.0/by-name/userdata /data ext4 rw
/dev/block/platform/s3c-sdhci.0/by-name/system /system ext4 rw
/dev/block/platform/s3c-sdhci.0/by-name/media /sdcard vfat rw
Can mount everything except the last one, /sdcard.
I've attempted all: wipe/reset, format using clockwork, partition using clockwork, partition using adb, changing fstab, etc etc.
All topics I've found on the net end up being resolved by taking out the sd-card and formatting externally or using different card. i've had a N1 for well over a year and done far worse without problems, this phone seems to be very fragile for a 'developer' phone.
Jacks0n said:
Attempting to partition sd card with ext4 -a process I completed multiple times successfully on a Nexus One, the process appeared to complete but now the phone will not mount the sd card. I've tried a wipe/reset, to no avail. I can still access and partition the sd card through adb, but the phone cannot mount it to format/partition, restore from recovery, partition sd-card from within ClockWork Recovery, nothing. I've re-partitioned the sd card through adb, which indicated a successful completion, but the phone still refuses to mount the sd card. If this weren't a Nexus S with it's cursed internal sd-card I would simply swap out the sd card with another or format it externally like all the google topics I pull up on the subject suggest.
Is this fixable or has the fused sd-card scenario become a liability?
Common Error messages:
Can't mount /sdcard
Can't mount /sdcard/.android_secure
Phone: Nexus S
Recovery Img: ClockworkMod Recovery 3.0.2.4
Rom: CM 7.0.3 (now wiped, cannot put back on since sd card won't mount)
fstab:
/dev/block/mtdblock4 /cache yaffs2 rw
/dev/block/platform/s3c-sdhci.0/by-name/userdata /data ext4 rw
/dev/block/platform/s3c-sdhci.0/by-name/system /system ext4 rw
/dev/block/platform/s3c-sdhci.0/by-name/media /sdcard vfat rw
Can mount everything except the last one, /sdcard.
I've attempted all: wipe/reset, format using clockwork, partition using clockwork, partition using adb, changing fstab, etc etc.
All topics I've found on the net end up being resolved by taking out the sd-card and formatting externally or using different card. i've had a N1 for well over a year and done far worse without problems, this phone seems to be very fragile for a 'developer' phone.
Click to expand...
Click to collapse
Are you able to go with ADB through the directories?
and yeah, false Section! Q&A would be better
I am having the same issue. I actually just got my phone back from Samsung support (which is real ****ty) because the SD card started having I/O issues.
According to the ticket information they replaced the PCB.
Anyway, I immediately installed Clockwork recovery and transferred the latest Blandroid rom to the root of the SD card. No matter what I do I cannot mount the SD card from the recovery menu or format it from the recovery menu. Mounting USB storage works fine, though.
Hiya I got the same problem
Any salutation yet ?
Yeah. Don't format the internal storage with clockworkmod etc.
I have that issue I cant even open phone now
albundy2010 said:
Yeah. Don't format the internal storage with clockworkmod etc.
Click to expand...
Click to collapse
Hi The phone just stuck in boot logo I can patch iso file from adb though but I cant mount or even wipe devlink cache I dont know what to do ?
Did you ever get this resolved? If so, can you tell me how you did it?
Jouten said:
Did you ever get this resolved? If so, can you tell me how you did it?
Click to expand...
Click to collapse
1.power off...on it back...test it
2.plug your usb cable, boot into recovery..will heard usb sound from your PC, if does not work, try several times plug the usb untill you get usb sound...unplug, then reboot...
3.fresh install ROM...
Yeah, don't mess with the internal memory. I semi-bricked a Droid Incredible one time doing that. It ended up making all the internal partitions FAT. Took me hours to fix it. Be careful. I am afraid to even do it on my crespo4g. When I mount it in gparted running Linux Mint, the internal sd card showed up as not partitioned. I didn't even think about trying to partition it thinking back on the Incredible.
A solution, at least, for flashing/updating roms
Just happened to me, using CM9 after enabling the encryption I can't access the /data /sdcard paths. It would be nice to be able to read them but for me the biggest problem was how to update to the latest CM9 nighty.
In the end I've tricked the clockwork recovery to think the cache partition is the sdcard. I'll post the method in case someone find it useful.
1. Tranfer the update to the cache partition.
- Normally big enough, wipe it from the cwm if there is not enough space
adb push update-cm-9-20120305-NIGHTLY-crespo-signed.zip /cache/update.zip
2. Log into the phone and mount cache to sdcard.
adb shell
mount /dev/block/mtdblock4 /sdcard
3. Go into the cwm option to flash the uploaded package, it wont give you the mount error as we already mounted /sdcard
4. After the update log again and clear the update package, and unmount /sdcard
adb shell
rm /cache/update.zip
umount /sdcard
As long as you don't have to wipe you can continue updating and using your encrypted storage without much trouble
Help, internal storage not showing
Hi,
I wanted to go back from CM9 to Stock rom, but now I did something wrong (don't know what exactly) and my device is still on CM, but unable to access the internal storage. I cannot even take pictures or access it through CWM.
Any thoughts?
Hi i flash locky another CWR AND IT'S FIX LUCKY ME B^)
Sent from my Nexus S using xda app-developers app
getting SD card back
rellivisit said:
Hi,
I wanted to go back from CM9 to Stock rom, but now I did something wrong (don't know what exactly) and my device is still on CM, but unable to access the internal storage. I cannot even take pictures or access it through CWM.
Any thoughts?
Click to expand...
Click to collapse
I have had no luck using multiple methods to partition sd card with Nexus S. Each time I can view the modified fat32 partition from windows, add files etc, but cannot be recognised from within CWM recovery.
Left me unable to reflash roms etc.
The only thing which has worked for me is to use mini tool for windows and mount usb storage from recovery. Do a refresh from mini tool and it should come up in the list of drives. delete the partition(s) you find there (not your notebook ones of course), and reformat it as fat 32.
CWM>Advanced>Reboot recovery, move over your rom to the sd card, then try to find it in CWM, should now show up :fingers-crossed:

Internal_SD corrupted Old apps coming back force close and unusable

I am trying to fix a friend's i9003 , the major problem is that the phone somehow has got some apps cached which doesn't goes away even when stock rom is put.
It seems the internal sd is corrupted and it has got all the files cached.
I've rooted it and have mounted it as readonly
mount -o rw,remount -t yaffs2 /dev/block/vold/179:1 /mnt/sdcard
Click to expand...
Click to collapse
Still I'm unable to delete all the files from ADB, I've CWM.. but I'm not sure how can I see the internal SD from CWM. Mounting sdcard mounts the external sd.
Also :
Factory Reset didn't reset the internalSd, though it finished successfully.
Have tried formatting everything from CWM.
Have used Odin to reset partitions
Tried to load other stock ROMs and custom roms. Have tried Miui, Nexus and had tried putting KPE stock rom also.
I'm back to the DDKP3 firmware and stock rom, bit lost in how can I fix this problem.
Superuser app doesn't run, but I can get acces to su from adb. due to superuser not running titanium backup also doesn't work, I thought it might let me format.
settings > factory data reset > tick format usb storage > press reset
dont do it from recovery
Have tried that already, somehow the internal memory stays back with everything, rest all resets.
Also I have tried, [MOD]Swap external-internal SD Gingerbread Version, still doesn't work.
Additionally, when I connect the phone to the computer using MTP, it shows the external SD, but another disk is shown as Removal Drive, which most probably is the corrupt internal memory.
Any more suggestions guys, this phone is out of warranty, need to do it badly.
A factory reset doesn't reset the internal SD. Try flashing cm9. Since the mount points are different(the external is on /emmc, it wiped my internal SD for the first time.
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
settings >>>> factory data reset >>>> tick format usb storage >>>> press reset
dont do it from recovery

/system partition size

On a 32GB Verizon version GS3, when I go to settings > storage, under miscellaneous files, it show "system memory" to be 5.74GB, I looked at an unrooted 16GB version, and system memory was only 3.49GB, of my total 5.8GB miscellaneous files, about 60mb is other files and applications, and the remainder says "5.74GB system memory".
Why is it so much higher on a 32GB vs. 16GB? I mean the system files should not be proportional to internal storage space, right? I don't have a lot of apps, and I have in fact removed a bunch of original system apps, it tells me I have only about 300 mb of /system space available, how is this possible?
I have flashed rooted images from Odin a couple of times, restored NAND about 20 times or more, and rooted via adb once or twice from stock unrooted. Is all this fragmenting the /system partition? Should I format /system next time I'm in recovery? If so, my pc doesn't seem to recognize the phone in recovery when connected. Do I need different drivers to connect while in recovery, so I can mount and format /system? I can format /data and /cache easily in recovery, and when I had my old HTC Evo 4G, I could connect the phone while in cwm and format /system, but I can't on an SGS3. Is there another easy way to format /system before restoring a NAND backup to truly start from scratch on a clean system partition?
Thank you

To CM13 users. DO NOT USE ENCRYPTION. details and fix if you've already done inside

just fyi. cm13 has no option to decrypt once you've encrypted it, twrp cannot mount encrypted drives (atleast most of the time i've heard a few say it can that's why i tried it but 2.8.7.0 doesn't even ask for a password or try to decrypt in my case)
so pretty much once you encrypt your stuck with the rom you have unless you have this magical twrp that asks for decrypt password.
also to make things worse, twrp can't format and cm13 changes the sdcard path so although it sees the external sd it can't flash files from it (atleast on g3)
so the only way to fix is to boot into android, backup your internal storage to sdcard or computer
reboot into twrp run a manual format on /data/ from terminal command, then reboot, copy your twrp backup to internal sd, go back to recovery and flash backup, then copy internal sdcard files back to internal drive (from sd or computer backup)
the command to format is the following
mke2fs -T ext4 /dev/block/mmcblkXpXX (NOTE: REPLACE THE XpXX with the proper values for your device) you can find these values by asking in your device forums, or downloading a partition info app that will tell you and i'm sorry i can't remember the one i used, but this is the best way to be sure because even diff device variants sometimes have diff partition tables based on phone provider.
*edit* just for personal peace of mind i remind everyone that every device is diff and i cannot guarantee positive results but this 100% worked for me everything is back to normal.
I did this a few months back and ended up flashing factory images via adb and starting all over again which sucked
Very useful information. :good:
TWRP v3.0.0 can use the adopted storage device (encrypted SD card) now.
Seems it's been fixed because I am successfully using cm13 with twrp 3.0, albeit with visible performance loss.
I just want to say thanks a lot for this. I can once again mount my /data partition.

accidently converted internal memory to ext2 in twrp. stuck in twrp recovery

hi when trying to convert my ext sdcard to ext2 for link sd, i accidently converted my internal memory to ext2 in twrp recovry.
now cant mount system data cache etc. internal memory is showing 0 mb. cant. i tried flashing with one rom i used to run previously (notexperience) but cant flash it anymore. it shows failed. plsss help me:crying:
First try installing STOCK MM via Odin.

Categories

Resources