Internal_SD corrupted Old apps coming back force close and unusable - Samsung Galaxy SL i9003

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

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:

[Q] TF101 Installing Custom ROM on Encrypted device

I recently managed to successfully root my TF101.
I installed CWM (Via ROM Manager) and downloaded CM9
I boot into CWM and attempt to do a nandroid...can't find path.
I attempt to just install from SDCard...can't find path
Realization (and research) hits that CWM can't see the external sd, and the system doesn't see it as SDCARD but EXT-.
CWM can't see the internal SDCard because apparently on the Tablet the ICS encryption locks that down (but doesn't on my EVO since the SC Card isn't part of the internal storage)
I attempt to perform a factory data wipe to clear out the encrtyption , but upon reboot CWM loads. I try to perform the boot-launcher data wipe, but then CWM loads.
I try to use CWM to factory reset but since it can see the damned SDCard because of the encryption, no dice.
My machine is not bricked, as I can still boot into the previous install but I can't seem unable to format the thing to install CM9.
What to do, and thanks.
It has been said multiple times before DO NOT USE ROM MANAGER.
Either use Thing O Doom's peri to install a different CWM or Gnufabio's Recovery installer or NVFlash a rom to completely wipe. And don't use encryption there is no point 99% of the time
I didn't check here first, which is obviously what was my first mistake.
Will any of those recoveries be able to access and format the SD Card area?
Also, I use encryption as I do have sensitive things on my machine that I don't want exposed in case the machine is stolen. First time I've ever had it give me a problem, as the phone encrypts differently.
Team roug's recovery has internal and external sd support and i think the encryption is an ics/tegra 2 bug more than anything
Ok, so I managed to get the new recovery on via Thing O Doom's peri. And I was able to install Revolver via the ext card...but upon boot I was prompted for my encryption pin and got the message that android was updating...My Build number is now Revolver but everything is the same as it was. I still can't factory wipe this damned thing.
Upon request to wipe, it boots back to recovery and says formatting data and cache, data wipe failed.
Tis site states http ://0xfeedface.org/blog/lattera/2012-06-04/installing-cm9-encrypted- android-tablet
The dilemma
When you encrypt your Android device, the /data partition is what gets encrypted. The partition in full is encrypted and cannot be mounted within CWM. CWM also cannot perform a wipe, since it cannot mount the /data partition. And CWM cannot mount the external SD card. This is our dilemma. No access to the internal SD. No access to the external SD. No way to perform a wipe and format the internal SD from CWM.
The Solution
What we need to do, then, is use adb while the tablet is in recovery mode to reformat the internal SD card, thereby removing the encryption. On the US Transformer Prime, the internal SD card is at /dev/block/mmcblk0p8. The partition for our spare SD card will be at /dev/block/mmcblk1p1. You will need to replace those device entries for any other device you might attempt this on. After formatting the internal SD card, we will mount it and then mount the external SD card at /data/media:
In CWM, wipe cache
adb shell
mke2fs -t ext4 /dev/block/mmcblk0p8 # Warning: This can take a while. Be patient.
mount /data
mount /dev/block/mmcblk1p1 /data/media
Now go back to CWM on your device, then go ahead and flash your CM9 and gapps zips like normal. You now have CM9 installed! The /data partition is not encrypted. If you do not need to flash any other ROMs (unlikely if you're reading this article), feel free to re-encrypt your device.
Click to expand...
Click to collapse
I don't know the block numbers for the TF01
you need to undo the encryption before you can wipe anything
You can't. Hence my problem. I cannot mount,delete, or format the SDCard. It sounds like the process in the above post is the solution, but I don't know how to find out what block numbers the tf101 uses.
If you don't mine losing your data NVflashing a rom will resolve all the problems
Yep nvflash will do the trick otherwise as the solution you found yourself explains
Use adb in recovery ( in other words hook it up on a pc ) for this you will need android sdk runnin on your pc
More info about adb u can find here
http://forum.xda-developers.com/showthread.php?t=1751439&highlight=adb+help
Good luck
Thanks to all, I have resolved my issue!
I had to download the stock rom, extract the blob, and use Wheelie for PC to NVFlash everthing abck to stock. I was then able to update over OTA, and use the excellent Thing O Doom's peri to re-root and flash the working recovery.
There should be several items in the Root FAQ up top, such as:
If you are encrypted and going to root, factory reset to get rid of the encryption FIRST since the encryption locks down the SDCARD partition (Unlike on the phone)and none of the recoveries can access it to mount. DON"T use ROM manage on the TF101 and always, always check XDA first.
:good:
darthrater said:
Thanks to all, I have resolved my issue!
I had to download the stock rom, extract the blob, and use Wheelie for PC to NVFlash everthing abck to stock. I was then able to update over OTA, and use the excellent Thing O Doom's peri to re-root and flash the working recovery.
There should be several items in the Root FAQ up top, such as:
If you are encrypted and going to root, factory reset to get rid of the encryption FIRST since the encryption locks down the SDCARD partition (Unlike on the phone)and none of the recoveries can access it to mount. DON"T use ROM manage on the TF101 and always, always check XDA first.
:good:
Click to expand...
Click to collapse
That FAQ is sadly pretty outdated, I wish I could liberate the OP
Glad all is working now though.

[Q] Error E:format_Volume: make_extf4fs failed on on dev/block/mmcblk1p2

Im having a trouble reflashing a ROM. During my efforts to fix my horrible battery life problem by doing Odin back to stock and reflashing DK ROM something else has gone wrong.
I go to to Recovery and I tried to wipe data and Reset to Factory
it says
Formatting / data......
Formatting / Cache....
Formatting / sd-ext....
E:format_Volume: make_extf4fs failed on on dev/block/mmcblk1p2
Formatting/sdcard/.android_secure....
Data wipe Complete.
It also says, sd-ext.img not found when I restored my Nandroid backup. Not sure whats going on here...
When it restarts, its still the same old rom with everything still there, just with user data wiped like my google login. How do I fix this? I have already Odin back to stock, rerooted and CWM and am still getting this issue. Could this be contributing to my terrible battery drain?
Nothing wrong, that's normal.
ROMs on phones that didn't have enough local space to install any real number of apps, etc (think Nexus One, or HTC Evo 4G) used to create a second partition on the SD card. This partition was formatted to ext4 and mounted in place of stuff like /system/apps or /data, etc..
Nandroid simply tries to format the partition if it's there, and obviously it isn't. I doubt anyone here has that partition. The sd-ext.img would be the image file nandroid would create if you did have the partition and you backed it up.
But the problem is I cant flash another ROM without doing the factory reset, and when I do factory reset I get that error and the new ROM isnt flashed.... I have never had this error before when I flashed DK originally, or on my last Blaze phone. I need to fix this issue so I can flash a different ROM, or next newest update to this ROM.
You've got some other problems then, because I get that error all the time and have for some time on all sorts of phones.
Once the /data partition is formatted, your wipe is complete. The /cache is good stuff too... once you see those two lines, you are all resetted.
If you nandroid restore, you're going back to what you had.
So why wont it factory reset then? Everytime I do factory reset in recovery, it shows all my files and stuff still on the phone. It never completely wipes my phone. I dont know what to do or what the problem is...
Is there a certain way everything is supposed to look in mounts and storage? Whats supposed to be mounted or unmounted? And what should be formatted?
Factory reset doesn't wipe your sd card. For that you have to format it from the settings menu.
dr4stic said:
Factory reset doesn't wipe your sd card. For that you have to format it from the settings menu.
Click to expand...
Click to collapse
Can you explain how to do that?
I beilive he means in CWM, under mounts and storage, format /sdcard
Sent from my SGH-T769
No, I meant in android. I'm sure a quick Google search would turn it up, but here goes: Settings -> Storage... you'll want to unmount first, then format.
SD card = removable card
USB Storage = internal storage
Just remember, this will destroy ALL your data on whichever you choose to format. Everything, your pictures, music, etc...

[Q] omni 4.4 help stingray

I am not new to ROM's I have dabbled here and there with my phones and the xoom. I followed the directions to a t for the Omni 4.4.2. I did the first part for putting bigPart TWRP on my xoom. I have the recovery on there and I can find my SD card with the rom and other files on there needed but it will not load after I install everything. The internal storage still shows at 0. I get the Omni bootloader and then a message from google pops up saying encryption unsuccessful and I need to perform a factory reset. When I try that it just brings me back to recovery. I don't know what I did wrong but the only thing that works is recovery. It's like nothing at all is on the internal storage of the xoom. I have tried to copy the files from my sd card over to internal and install, same thing. When I go back to check the files I copied to internal they are gone. The files I have on the sd card are there but it won't load the files on the internal storage to set up android on there. I can't even go back to an old restore cause I was using cwm recovery and the those restore files aren't recognized. I'm at a loss, any help would be greatly appreciated. I can't even get my computer to see so I can push the files over to it and I am pretty rusty with ADB to try and set that up.
I just tried to push the original twrp 2630 through adb and it flashed, I tried to reboot into recovery and it just staid at the twrp screen. Ughhh I'm getting so frustrated cause I had the xoom working perfectly on JB before I started messing around. Any help would be great, Even getting me back to stock and I can take it from there.
update
at0msplat said:
I am not new to ROM's I have dabbled here and there with my phones and the xoom. I followed the directions to a t for the Omni 4.4.2. I did the first part for putting bigPart TWRP on my xoom. I have the recovery on there and I can find my SD card with the rom and other files on there needed but it will not load after I install everything. The internal storage still shows at 0. I get the Omni bootloader and then a message from google pops up saying encryption unsuccessful and I need to perform a factory reset. When I try that it just brings me back to recovery. I don't know what I did wrong but the only thing that works is recovery. It's like nothing at all is on the internal storage of the xoom. I have tried to copy the files from my sd card over to internal and install, same thing. When I go back to check the files I copied to internal they are gone. The files I have on the sd card are there but it won't load the files on the internal storage to set up android on there. I can't even go back to an old restore cause I was using cwm recovery and the those restore files aren't recognized. I'm at a loss, any help would be greatly appreciated. I can't even get my computer to see so I can push the files over to it and I am pretty rusty with ADB to try and set that up.
I just tried to push the original twrp 2630 through adb and it flashed, I tried to reboot into recovery and it just staid at the twrp screen. Ughhh I'm getting so frustrated cause I had the xoom working perfectly on JB before I started messing around. Any help would be great, Even getting me back to stock and I can take it from there.
Click to expand...
Click to collapse
trying to give as much info as I can. I got the original twrp 2630 running, flash twrp big part, followed next step to to wipe everything except sdcard, this is what I got:
Updating partition details...
E:unable to mount '/system'
E:unable to mount '/cache'
E:failed to wipe dalvik
updating partition details...
E:unable to mount '/system'
E:unable to mount '/cache'

[Q] Corrupted internal storage

ill keep this simple. tried to advanced wipe data and cache with TWRP which returned an E:/ unable to mount for both data and cache. internal storage is now saying its 0MB after i "fastboot erase" on as many of the partitions it would return success with (ie, what was mounted) flashall is asking me for a specific device.
How do i reset the internal partitions so they become mountable again? i believe in erasing the ones i had, it has deleted them altogether and i need to flash original firmware to get it to auto restructure (im guessing)
EDIT: so i downloaded this (link not allowed) i just dont know how to implement it through adb or fastboot
somewhere i read that the latest moto PQ versions for CWM and TWRP both have some selinux problem when wiping data, causing a force unmount (parroting. i DONT know what im talking about)
the first time i installed with CM11 with twrp (after CMW only allowing me to install 10.2) it worked great, except google play and whisperpush(whatever that is) crashing consistently. i should have used 'fix permissions' instead of going for a wipe+re-install
please help, what commands do i need to use through fastboot to restore the partitions, or where can i get the fxz file to use with RSD?
this is a brand new out of the box Sim-modded and pre-rooted PQ
SOLVED (i think)
god im so ****ing stupid.
due to corrupting the file structure and not being able to mount the cache or data partitions, when i installed CM11 snapshot it picked my external SD as the data storage /android/data/
FIX: unmounting and removing the external SD i rebooted to system, booted back to recovery. -> factory reset.... auto reboot, cant mount messages, then a second time it said SELinux supported message. ->factory reset again and finally no red messages, wipe to system (got an error, but probably cause system = external SD). i then inserted the external SD, installed the ROM and everything looks normal and working right
TWRP will restore file structure with 'factory reset' BUT ONLY IF you remove your external sd
i hope this thread saves time and headaches for someone.

Categories

Resources