[Q] Help! Sd card gets corrupted in miniCM10. - XPERIA X8 Q&A, Help & Troubleshooting

X8: MiniCM latest nightly with latest nAa kernel.
Everything flashed in the proper way.
Sd card partitioned in CWM with swap partition and CWM's default ext.
Overclocked.
Class 6 4GB SD card in phone. (no money for other so don't even think about advicing to get a new one).
Sometimes I have random reboots. Sometimes after random reboots the sd card gets corrupted and needs to be partitioned again. It happened in earlier nighlies and versions of MiniCM10 too. It's annoying. Anybody have a solution in minicm10 for this?
and another question: how to set swapiness? I tried to edit files with ESFileExplorer with root privileges, but didn't let me.

sznattila said:
X8: MiniCM latest nightly with latest nAa kernel.
Everything flashed in the proper way.
Sd card partitioned in CWM with swap partition and CWM's default ext.
Overclocked.
Class 6 4GB SD card in phone. (no money for other so don't even think about advicing to get a new one).
Sometimes I have random reboots. Sometimes after random reboots the sd card gets corrupted and needs to be partitioned again. It happened in earlier nighlies and versions of MiniCM10 too. It's annoying. Anybody have a solution in minicm10 for this?
and another question: how to set swapiness? I tried to edit files with ESFileExplorer with root privileges, but didn't let me.
Click to expand...
Click to collapse
Maybe, maybe ,maybe it's a bug If other people faced (read comments or bugs list ).
-remove partitions
Or
-flash back to a gb rom+kernel
Or
-use sdcards warranty
Or
-use 2gb card which comes with phone cause it's almost impossible to repair corrupted , this happened to my last sdcard & I tried every stupid method but not working.
Sent for xda via tapatalk
# always wear your seat belt as it saved my life...:beer:
# sorry for English

sd card is not damaged just corrupted. Everytime this happens I need to repartition.
I didn't had any card with the phone, it was a gift from a friend, he didn't needed anymore...
So this is the only card. When it get corrupted it can be repaired by partitioning again. BUT it would be nice, if there would be a fix for this...

sznattila said:
sd card is not damaged just corrupted. Everytime this happens I need to repartition.
I didn't had any card with the phone, it was a gift from a friend, he didn't needed anymore...
So this is the only card. When it get corrupted it can be repaired by partitioning again. BUT it would be nice, if there would be a fix for this...
Click to expand...
Click to collapse
That card is not usable any more if is corrupted, we call that a "damaged sd"(and if happens after reformatting)
Best way is to try another rom to make sure sd is ok or not.
But but there's a way to trick android (your phone, your risk),
do this: (this will stop "checking for errors" error & makes phone more stable {this file also repairs partitions so it's 50/50 for working})
Remove or rename file(rename to keep a backup is better ) " fsck_msdos " from this destination :
System / bin ------ > restart & then reformat sd from recovery ---->bootup
report results
Sent for xda via tapatalk
# always wear your seat belt as it saved my life...:beer:
# sorry for English

Of course my SD card is ok... It happened many times this "corruption thing" and I partitioned it again and again and it worked again and again but it happened again...
So it has to be a bug or something in the ROM or Kernel. Is there a FIX for this?

For changing the swappiness: Download Swapper 2 from Google Play. It is an option in the settings.
---------- Post added at 09:17 PM ---------- Previous post was at 09:16 PM ----------
Maybe this is because you are using Swap.

Related

[Q] SGS sd card problem on custom roms (darky and Doc's rom mods)

History
I bought a phone which was on orange-UK, the shopkeeper when gave it to me he used some code which i wrote down on first startup which unlcoked it.
I rooted it > success (with one click root)
ryanZ one click lag fix > did not work, phone stopped booting > went into 2e recovery and factory reset resolved the problem and i didnt tried to lag fix again...
yesterday found Darky's rom and docrom mod
doc's rom mods: http://forum. xda- developers.com/showthread.php?t=807848&highlight=doc
darky : http://forum. xda - developers .com/showthread.php?t=814091
and downloaded both....
copied everything needed, installed darky, my both internal and external sd cards didnt work....
flashed with odin on original factory stock eclair rom .... did again .... nothing....
flashed again with odin (coulnt access internal card, obviously) ... stock rom worked fine, both cards mounted....
then didnt do the darky one, did the other doc's .... same problem...
thought there may be some files remaining form the un succesful lag fix of ryanz ...
flashed again with odin, formatted everyhing all memory cards.... did doc's rom, now with sd card sitting on my table rather than in the phone ... internal sd card detected...
inserted external sd , didnt mount... did a couple of times more , no success...
Now I am using doc's rom and I cant use my external SD card... its a 4gig kingston one....
BTW when sd card is not accessible in the O, if you reboot into clockworkmod, it accesses it... so its something else...
I did the following post on darky's thread on page 53 i think... and the issue i thought was this:
"
Hi its me again, i found out where the problem is.... after the rom installs (not just darky, the other doc rom on which its based too) if there is no external memory card installed internal memory card appears fine...
(BTW i used odin to flash the factory eclair, repartition and format everything) after that did that 3 times with ur rom and doc mod one released on the 14th of the month if i remember correctly....
On each boot if there is no external memory card in the slot the internal sd card is usable, if at boot it is installed both are not mounted and are un useable.
Both these roms with the vodoo creates two folder "sd" and "external_sd" on the "/mnt/sdcard" address... and normally on the stock rom this sd folder is where the SGS mounts the external sd as a folder.... so i think vodoo does its magic and so SD cards (external) are unuseable with these roms or this version...
Couldnt quite understand....
Please check this on 3.0 version that if there is an external sd card inserted on the first boot and the subsequent boot as well , is that use able or does it render both the memory cards un mounted and you cant mount them either...
IS IT JUST ME OR SHOULD I POST THIS THREAD AS A SEPERATE ISSUE WITH DARKY / DOC ROMS (i have not tried the slim kalpik+doc version yet, got exhausted after flashing to stock for three times in one day and then reverting back here only to find out that "dont bloody put ur SD in... and use the internal memory only"
plzzzzzzzz help....
"
edit: turns out there is one guy who replied that he is able to access both memory cards on darky.....
Please anybody... Mr. kalpik, Mr. Tayutama, Mr. Docrombone .... (plz dont mind the spell)
Could anybody help.... What is it I am missing.....
Bit strange, first time i see this error.
You have the standard I9000?
What was the stock rom that the phone was shipped with?
Product code on your phone now?
If you are using my files, when it opens it shows /sdcard on top. Scroll down to sd. Thats your external card. Hope this helps.
Sent from my GT-I9000 using XDA App
@ DocRambone
Yes this is standard I9000
i was originally on BVGJ4 i think (something like that ) (the eclair for Orange UK)... i cant quite remember this.....sorry
but then i flashed with odin with the stock rom that i got from the forums.... here
http://forum. xda-developers.com/showthread.php?t=816890&highlight=uploading+stock&page=2
then i went into 2e recovery then into clockworkmod and flashed the one i provided link above....
now the product code is I9000HKDXEE in nv_data.bin (used SGS tollbox to see that, its the same as backed up one)
other info currently is:
PDA: I9000XWJP6
PHONE: I9000XXJPM
CSC: I9000XEEJP4
But these things are i presume, due to the firmware currently installed... (i am a newbie, so... dont know abt product code stuff)
Cant we just flash some rom with odin which makes this phone a WWE >>> ?
@ragin
I used the stocck rom from the link provided above....
ragin said:
If you are using my files, when it opens it shows /sdcard on top. Scroll down to sd. Thats your external card. Hope this helps.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I used the one link i provided in the post above.... the thing is that if the sd card is in the phone and then u turn the phone on, no card is detected... neither internal nor external,
if not then, if u power it on if the external sd card is out then it shows the internal but when u insert the sd card, nothing happpens...
The rom i installed has already created a folder named "sd" and a second folder "external_sd" on the root of the external sd ..... so external sd is not mounted there...
if you go into recovery and then into clockworkmod recovery and u go into sd cards and mounts and then try to mount the sd it gives an error
/dev/block/mmcblk0 (cant remember exact file name) already exists cant mount sd....
SO thats why i was thinking that maybe voodoo has created some file or this file is causing the problem.
should i try to find where this file is and try to delete from a root file manager...????
I M BLOODY STUCK...
CANT THERE BE A WAY TO FLASH A ROM WHICH RENDERS THE PHONE INTO A FACTORY NEW PHONE STATE AND I COULD PLAY LIKE EVERYBODY ELSE IS???
what are the compatible file systems of the external sd cards for froyo roms??
fat16 / 32 / ext2 / ext 4 ????
@urhhoney
i had the same problem after apllying the darky steel rom on the tayutama rom (i disabled the lag fix first), i flashed the stock WJM9 then the CF root and recovery kernel then darky steel again but the external sd card didnot work but i noticed some errors in recovery mode about mounting the cach folder so i flashed WJM5 then WJM9 and CF kernel then applied darky steel rom and the sd card worked fine this time.

[Q] 'Damaged SD Card'

I used to have a 4GB class 6 Micro SD Card. One day my phone crashed and I had to remove the battery in order to reboot. When I reboot, the SD Card is damaged and I had SD-Ext with alot of apps on.
I then got a 2GB class 6 Micro SD Card. Today the same thing happened.
I'm using FroyoByLaszlo 5.2 and I want to know if there's a solution to this problem (as in, stopping the phone from breaking my SD Cards - they must be reformatted before they will work now).
i am not sure if thats a genuine warning.i get it all the time every time i reboot,i just think thats cos i dont have an ext4 partition.all i do is remount the card
Sent from my HTC Dream using Tapatalk
I have Ext4 partition though. And if I attempt to launch an app (they usually have the default app green logo) it says 'Could not launch the requested activity'...
same problem here, with froyobylaszlo, did you find a solution? thanks
Reformat/partition your SD Card.
BeenAndroidized said:
Reformat/partition your SD Card.
Click to expand...
Click to collapse
did that already, and then after a while the error comes back
it's the rom... you need to reflash it.. i had an issue like that.. dropped my phone and sd card fell out so no matter what i did it wouldn't fix, had to reflash rom..
ldrifta said:
it's the rom... you need to reflash it..
Click to expand...
Click to collapse
yep! That is what needs to be done after that.
ok... thank you very much for your help.
I was wondering if the reflashing worked for more people? I reflashed like 3 times now and it still pops up.
Before when I switched my apps to the SD card, they died there and didn't work anymore. Otherwise it was fine (except with that annoying notification that would never leave).
Now I have formatted everything like 4 times and still no luck. This all happened after I got froyo by laszlo.
GeneralG2 said:
I was wondering if the reflashing worked for more people? I reflashed like 3 times now and it still pops up.
Before when I switched my apps to the SD card, they died there and didn't work anymore. Otherwise it was fine (except with that annoying notification that would never leave).
Now I have formatted everything like 4 times and still no luck. This all happened after I got froyo by laszlo.
Click to expand...
Click to collapse
did you un partition it?
you need to un partition via recovery (set swap and ext values to: 0mb)
then remove from device, insert to pc and re format to FAT32
now do wipe of everything(flash superwipe) re partition your sd card than re flash rom.

[Q] Sd card appears damaged and reboots phone

Recently i bought an 8gB class 10 sdhc card. Put it in my phone it was working fine. I copied all the files from my old card exacty as they were mounted the card again and the phone says the card is damaged and reboots all the time.
I put it in a friends samsung galaxy3. The card worked fine and all files were there. So obviously it has to do with my phone.
I'm using gingerdx the latest version with stock kernel.
I'd appreciate all the help you could give me guys. Thanks in advance.
try to format your sdcard (backup fist)
don't perform quick format..
still can't try format using phone..
then make a partition..
on developer forum we have a [guide] how to partitionning sd card
Nothing. I tried what you said I even reflashed my rom and worked it with no extra apps but phone still restarts when i try to move an app to the card.
I don't know if it's significant but i noticed that: I went in cwm and tried to mount sd-ext and I always got an error. Tried to format it again error.
sonik_5 said:
Nothing. I tried what you said I even reflashed my rom and worked it with no extra apps but phone still restarts when i try to move an app to the card.
I don't know if it's significant but i noticed that: I went in cwm and tried to mount sd-ext and I always got an error. Tried to format it again error.
Click to expand...
Click to collapse
do not perform any activity in cwm regarding sdcard it is not compatible,even format sd ext it will give you a result of damage sdcard for some rom or your current,resulting to reformat your sdcard,now backup all your files to pc,reformat your sdcard through your phone,unmount sdcard t then erased sdcard,then back your files...Hope it help...
Go to advanced in cwm and go to fix permissions. See what that does for you.
Sent from my Nexus S using xda premium
Guys thanks for all the replies. Nothing seems to be working though, phone keeps rebooting. Might just be a faulty sd card, but that would be the second in the row.

SD Card problem after trying A2SDX

So I've been having problems with my internal memory, so I decided to try it out. The first problem came upon rebooting my phone. It said something like "android.process.acore stopped working". So I decided to just format the card again, but the place for swap was gone (about 200 mb-s), so I decided to format the whole thing to FAT 32. At first, the phone didn't boot. Then I wanted to reinstall TheWhisp's CM 10 mod which I've been using, but CWM recovery said that mounting the SD Card failed. I read somewhere that going back to a stock rom might help, but nope. I still installed CWM Touch 5.0.2.8, but it still can't mount my sd card. Can anyone please help me? The stock rom is stuck in a bootloop, so I can't use the phone.
Rekesz said:
So I've been having problems with my internal memory, so I decided to try it out. The first problem came upon rebooting my phone. It said something like "android.process.acore stopped working". So I decided to just format the card again, but the place for swap was gone (about 200 mb-s), so I decided to format the whole thing to FAT 32. At first, the phone didn't boot. Then I wanted to reinstall TheWhisp's CM 10 mod which I've been using, but CWM recovery said that mounting the SD Card failed. I read somewhere that going back to a stock rom might help, but nope. I still installed CWM Touch 5.0.2.8, but it still can't mount my sd card. Can anyone please help me? The stock rom is stuck in a bootloop, so I can't use the phone.
Click to expand...
Click to collapse
Are u sure u removed the ext partition before u tried booting up your phone? Having an ext partition without a2sd would cause bootloops. If you have removed the partition, then have you removed the init.d file from cm10?
tietganFTW said:
Are u sure u removed the ext partition before u tried booting up your phone? Having an ext partition without a2sd would cause bootloops. If you have removed the partition, then have you removed the init.d file from cm10?
Click to expand...
Click to collapse
Thanks for the answer but I've solved it since then. Simply had to reformat two or three times, now it works. The only problem is that when I remove the card and put it back ES file explorer does not see it, but that's nothing.

Mount issue with internal SD Card-is there a permanent fix?

Thank you to all the developers on here.
I recently wiped everything, flashed the Baked ROM and got the following error messages when trying to use the camara:
---------
No Storage
No external storage available
Insert an SD card before using the camara.
-------------
I have just over a gig available on my internal card and have 27 gig on my external card. So the capacity is not the issue. I also can't download podcasts since it is giving me a similar error message.
I tried sdswap but when I went to reboot, got stuck on the boot animation for a half hour.
I then went into cwm recovery, wiped everything and tried the AOSP ICS 4.04 ROM, but ran into the same issue. I then wiped everything again and tried the AOKP 4.2.2 ROM and am still getting the same errors.
My phone works fine, but I can't take pictures or download any attachments till this gets fixed.
I searched the forums for the exhibit and saw some temporary fixes.....but all of those fixed are gone when phone is rebooted. I don't want to have to do a fix after every reboot. Please help.
Thanks,
David
d1david said:
Thank you to all the developers on here.
I recently wiped everything, flashed the Baked ROM and got the following error messages when trying to use the camara:
---------
No Storage
No external storage available
Insert an SD card before using the camara.
-------------
I have just over a gig available on my internal card and have 27 gig on my external card. So the capacity is not the issue. I also can't download podcasts since it is giving me a similar error message.
I tried sdswap but when I went to reboot, got stuck on the boot animation for a half hour.
I then went into cwm recovery, wiped everything and tried the AOSP ICS 4.04 ROM, but ran into the same issue. I then wiped everything again and tried the AOKP 4.2.2 ROM and am still getting the same errors.
My phone works fine, but I can't take pictures or download any attachments till this gets fixed.
I searched the forums for the exhibit and saw some temporary fixes.....but all of those fixed are gone when phone is rebooted. I don't want to have to do a fix after every reboot. Please help.
Thanks,
David
Click to expand...
Click to collapse
This is bizarre, I wonder if your device is/was/has gone bad? Also I would avoid SwapSD unless it's been determined the ROM is 100% compatible based on user comments. Those things cause more problems then they solve sometimes. Also have you checked file apps like ES Explorer to see if your cards are being read? Check settings/storage and if you are getting reads on all three storage elements then something else is at work. In that case IDK?!
ArtfulDodger said:
This is bizarre, I wonder if your device is/was/has gone bad? Also I would avoid SwapSD unless it's been determined the ROM is 100% compatible based on user comments. Those things cause more problems then they solve sometimes. Also have you checked file apps like ES Explorer to see if your cards are being read? Check settings/storage and if you are getting reads on all three storage elements then something else is at work. In that case IDK?!
Click to expand...
Click to collapse
Thanks. Es file explorer recognizes the external sd card...but clicing on storage (internal sd card), it says its unmounted.
I rebooted into cwm recovery... mounted only the internal sd card, rebooted, and es file manager still says it is unmounted. You are probably right, probably a hardware issue, but it's weird how if I go to system settings, storage, it tells me how much available internal storage I have available which implies the internal sd card is mounted...
d1david said:
Thanks. Es file explorer recognizes the external sd card...but clicing on storage (internal sd card), it says its unmounted.
I rebooted into cwm recovery... mounted only the internal sd card, rebooted, and es file manager still says it is unmounted. You are probably right, probably a hardware issue, but it's weird how if I go to system settings, storage, it tells me how much available internal storage I have available which implies the internal sd card is mounted...
Click to expand...
Click to collapse
During my recent trials, I have learned that you can't mount your ext sd card with CWM, but you have to do it with a computer (at least, that's what I read). CWM was not recognizing my ext sd, either. I did not spend time learning how to get the ext card recognized, as I was worried about solving other problems, but I do remember that CWM can't mount your external card.
Proud2banoob said:
During my recent trials, I have learned that you can't mount your ext sd card with CWM, but you have to do it with a computer (at least, that's what I read). CWM was not recognizing my ext sd, either. I did not spend time learning how to get the ext card recognized, as I was worried about solving other problems, but I do remember that CWM can't mount your external card.
Click to expand...
Click to collapse
I think you meant to say internal sd. Either way, I did read that hooking it up to the laptop will mount it... but I don't want to have to do that after everytime I reboot.... just seeing if there is a permanent fix.
thanks
d1david said:
I think you meant to say internal sd. Either way, I did read that hooking it up to the laptop will mount it... but I don't want to have to do that after everytime I reboot.... just seeing if there is a permanent fix.
thanks
Click to expand...
Click to collapse
Btw you're not using an app called SD Card Boost are you? If so that is what's causing your problem as the exact same thing happened to me when using that.
Sent from my Samsung Galaxy Exhibit running AOIP.
ArtfulDodger said:
Btw you're not using an app called SD Card Boost are you? If so that is what's causing your problem as the exact same thing happened to me when using that.
Sent from my Samsung Galaxy Exhibit running AOIP.
Click to expand...
Click to collapse
Nope--- this whole thing is due to me being a NOOB. NOOB's take notice! Don't be like me.
I realize what the problem was....after switching to baked bean ROM originally, I did a backup with cwm... not realizing that the back up would take most of my internal sd space.... I had less than 100 mb left on the internal card and so the internal card shuts down, even though it has plenty of space to take a few pictures or download some pdfs... it just wasn't accessable.
I freed up another 100 mb on the internal... and lo and behold I can take pictures or download. Now I have the option when using the camera to use the external sd card (not sure why it doesn't give you that option to begin with)...
I was looking at the wrong setting earlier.... I saw I had .96 gig available... but that must have been the ram...not the internal sd card.
Sorry for wasting everyone's time.... I am back to the 4.2.2 AOKP rom and loving it. Sorry everyone.
Hey, I'm kinda having a similar problem (since it's similar and from my lack of posts I cant post on the 4.4 thread. I thought I'd ask here ).
When I flash the 4.4 ROM, it seems my external and internal sd isn't mounted, it gives me an "invalid path" when using Es File Explorer.
Not sure if this is a problem everyone has and it's not fixed yet (If its even a problem at all), or I'm just having this problem, lol.
I'm not receiving this problem on any other rom I flash just the 4.4.
Note: I wipe Dalvik, Cache, and Data. I also tried wiping my system and Ext SD. I tried to Google a solution, but all I found was weird ritual answers, like take out battery and sd. Wait 5 min, while you wait, do the Hokey Pokey, lol.
d1david said:
Nope--- this whole thing is due to me being a NOOB. NOOB's take notice! Don't be like me.
I realize what the problem was....after switching to baked bean ROM originally, I did a backup with cwm... not realizing that the back up would take most of my internal sd space.... I had less than 100 mb left on the internal card and so the internal card shuts down, even though it has plenty of space to take a few pictures or download some pdfs... it just wasn't accessable.
I freed up another 100 mb on the internal... and lo and behold I can take pictures or download. Now I have the option when using the camera to use the external sd card (not sure why it doesn't give you that option to begin with)...
I was looking at the wrong setting earlier.... I saw I had .96 gig available... but that must have been the ram...not the internal sd card.
Sorry for wasting everyone's time.... I am back to the 4.2.2 AOKP rom and loving it. Sorry everyone.
Click to expand...
Click to collapse
We all started and were noobs at some time, don't feel bad!
---------- Post added at 01:31 AM ---------- Previous post was at 01:27 AM ----------
Doobski said:
Hey, I'm kinda having a similar problem (since it's similar and from my lack of posts I cant post on the 4.4 thread. I thought I'd ask here ).
When I flash the 4.4 ROM, it seems my external and internal sd isn't mounted, it gives me an "invalid path" when using Es File Explorer.
Not sure if this is a problem everyone has and it's not fixed yet (If its even a problem at all), or I'm just having this problem, lol.
I'm not receiving this problem on any other rom I flash just the 4.4.
Note: I wipe Dalvik, Cache, and Data. I also tried wiping my system and Ext SD. I tried to Google a solution, but all I found was weird ritual answers, like take out battery and sd. Wait 5 min, while you wait, do the Hokey Pokey, lol.
Click to expand...
Click to collapse
Unfortunately this is a bug with 4.4. The internal card actually should show up twice in ES Explorer (4.4 ROM only), and only 1 path invalid. The external card has path problems in Titanium Backup and RAM Expander. This is why I ended up not using KitKat for this phone.
ArtfulDodger said:
We all started and were noobs at some time, don't feel bad!
---------- Post added at 01:31 AM ---------- Previous post was at 01:27 AM ----------
Unfortunately this is a bug with 4.4. The internal card actually should show up twice in ES Explorer (4.4 ROM only), and only 1 path invalid. The external card has path problems in Titanium Backup and RAM Expander. This is why I ended up not using KitKat for this phone.
Click to expand...
Click to collapse
Ahh, thank you. Yea, I really wanna use it, but I guess I cant till a solution comes along.

Categories

Resources