I am not sure if this is a common problem but ever since I've rooted my phone (and changed to a new 4gb sandisk card), my SD card became corrupted twice! Once was with Supernova rom and another was with Runnymede rom.
Does anyone have a similar problem? Could it be a SD card problem or is it an inherent fault with the phone/rom?
Never heard / read of that before. Is the SD card completely unreadable (so even Linux cannot read it), or just unmountable by ROM / recovery?
Had the same problem with earlier Seb's Runnymede version. The sdcard was totally wiped, nothing left.. mounted in Windows, it said the card was not formatted. But it was not ROM related, it was the recovery I guess. Change to CWM 2.5.0.7 and redo everything, never face the same problem anymore. Anyway no more on Seb's Runnymede but on my own modded ROM with RMD Recovery.. running good till now.
I had the same problem back in the day when I had my G1. My old 8GB Sandisk had been partitioned for the use with A2SD and for some reason I can't access the ext partition from phone/unix but I can access the fat partition. I can't even format the card as a whole.
I think the SD cards headers might have become currupted or something.
Had the same problem twice with a 2 GB class 2 Sandisk card. Both times the card was totally unreadable and Windows asked to format it before it could be read. Both times it happened all of a sudden. The 2'nd time i used "chkdsk -r" to scan the card for bad sectors and i've found some 8 kB of them. I have since replaced the card and all is good now.
Yeah, I think my 8gb broke due to bad sectors. If you are using A2SD, you are constantly causing many read/write cycles and the SD card might have not been able to handle such I/O.
Some SD cards come with a massive warantee (maybe even a lifetime). If you can find a receipt/packaging then send the manufacturer a repair request. They'll likely replace it. Do try everything you can to get it working. If you can't get it working using gParted then it is likely to be broken.
A2SD is constantly reading and writing to sd.
Also the type of file format used for A2SD matters.
The least relyable but the fastes and the most coserning the lifetime of sd is ext2, this isnt common due to stability issues.
ext3 is mostly the most common but it doesnt really do too much good in terms of lifetime of the SD card.
so there is ext4 which has all of these in mind and is as fast as ext2.
Also the scize of the A2SD format matters alot. The bigger the better one may think but that is wrong.
More apps have more reads and writes. And there is a limit that Roms can handle. This is usually 2GB, however not all Roms.
Cheers.
Related
Hello.
I have bought a new SD Card (kingston 16gb Class4).
I had a lot of problems with ext3 make. By Gparted it have errors.
I have readed this topic.
Can I repair my SD Card?
Sry for my english.
How are you connecting the card? Via a card reader or still in the phone? If it's still in the phone make sure you are in recovery and not booted in to android.
I made it by card reader. Formatting and partitioning by recovery - errors.
Have you tried erasing all the partitions and creating them again? What happens if you click the 'Repair' button?
I've always done my partitioning with my card in the phone, connected to my PC while in recovery and used Minitool Partition Wizard for Windows (this software was suggested in a thread I read a while ago) and never had any problems.
There is also the possibility of the card having a hardware problem, so you might need to swap it under warranty.
yes, first i have erased all partitions (deleted)
On repair ext - error, fat32 works fine.
first make an extended partition for your fat32 and inside that a primary fat32.
The unallocated space make it ext3
snowboard said:
first make an extended partition for your fat32 and inside that a primary fat32.
The unallocated space make it ext3
Click to expand...
Click to collapse
shouldn't both partitions be primary (no extended ones)?
erase everything 1st keep it unformatted then create fat32 primary then ext primary (optional linuxs swap) this is what i have done when installed miui rom data2ext
i suggest you dont use that card reader try through the cell....
I have tried a lot of methods - ext still no works.
Sent from my HTC Desire using XDA App
Where did you get the card from?
Stupid question but two of my friends bought cheap (fake) cards from eBay and both had problems with them, either the card kept losing data or they go errors loading from the card due to the poor quality. In which case you need to spend a little more and get a proper card from amazon on a high street retailer.
If not then as suggested use try formatting and partitioning the card through the recovery on your phone, most of the up-to-date recoveries can do this and it's the easiest way to get the card ass needed for a2sd etc. if it still doesn't work then take the card back it's probably faulty.
I bought this card too and even though I had no issues formatting the card I do have speed issues with it. I've been in contact with Kingston and they're looking into it. My writing speed is 1.6Mb/s....
But now a tip for you, I couldn't use Gparted since it's Live CD wont start my monitors. So I downloaded Easeus Partition Master. Very easy to use and it worked perfect.
Start with your Fat32 partition and then your Ext partition.
You can find the program here: http://download.cnet.com/Easeus-Partition-Master-Home-Edition/3000-2248_4-10863346.html
Sent from my HTC Desire using XDA App
I partitioned my new 8Gb class 10 SD card with roughly 6.5Gb Fat32 and 1Gb Ext4 in Gparted (2X Primary etc...) and installed LeeDroids R4 HD rom. Everything works fine, great rom and well pleased with it. R5 came out so I decided to do a full wipe and pop that on instead, the update said amongst other things it had improved battery life (which it does).
Anyway, I thought I'd just clear/recreate the partitions from scratch again in Gparted and reformat the card. When I booted it up with Gparted the only partition that showed up was the FAT32 one. So it reported the card as being only the size of the FAT32 patrition. And no mention of the EXT4 one at all. I loaded it up as a drive in windows (7) and the same thing happened. It only recognised the FAT32, previously it has shown the ext as unknown.
Titanium backup reports that the ext partition is there ok (app2sd), so I just cleared the caches etc.. in recovery and flashed it that way.
It's not a problem as such as it's all working, but why can't I see that other partition to delete/edit it? And if I ever use it for something else it's a bit of a pain if I'm down a gig...
Thanks in advance
I also realised I forgot to tick the "is this a question" thing too, so sorry sbout that
I had the same issue 2 days ago when I wanted to remove the ext partition from my SD card. The only thing that would show up in gparted was 7GB of unformatted space which was in fact the size of my FAT32 partition.
Instead of USB mounting it from Recovery, I took the card out of the phone and put it into a card reader, gparted was then able to see my Ext3/Fat32 partitions and I was free to make changes
Hope this helps!
Nice one, I'll try it with that later and see if it works
It is quite usual for WIn7 to not show the ext partition exists since Win7 does not recognize it... Try checking your sd card on ubuntu by running a live cd... it should show up as 2 removable medias
Thank you salty wagyu
Got round to trying it yesterday, your tip was spot on.
Sent from my HTC Desire using Tapatalk
I have had my GS3 for a little over a month, rooted and had no issues, I installed another rom with no issue. Unfortunately when I tried to install a CM10 or AOKP rom, each say my ext sd card is damaged and needs to be formatted. I try to format, but it hangs and then just quits without completing the task.
I have tried formatting to fat32 on my PC, downloaded EaseUS Disk utility to format, but none seem to work. When I restore back into the previous rom, it still says damaged and then I can format and start over only in that non AOSP/AOKP rom.
I boot into recovery when the AOSP/AOKP roms are loaded and it wont even mount or format in recovery either.
Any ideas?
stretch0r said:
I have had my GS3 for a little over a month, rooted and had no issues, I installed another rom with no issue. Unfortunately when I tried to install a CM10 or AOKP rom, each say my ext sd card is damaged and needs to be formatted. I try to format, but it hangs and then just quits without completing the task.
I have tried formatting to fat32 on my PC, downloaded EaseUS Disk utility to format, but none seem to work. When I restore back into the previous rom, it still says damaged and then I can format and start over only in that non AOSP/AOKP rom.
I boot into recovery when the AOSP/AOKP roms are loaded and it wont even mount or format in recovery either.
Any ideas?
Click to expand...
Click to collapse
I think I read somewhere that in CM10/AOKP that it won't read/understand exFat very well.
So, formatting to Fat32 is definitely the way to go.
When I used some other programs it would say the same thing... that my card was damaged and had to be fixed.
I had a heck of a time finding a program that would do it for me on my 64gb sdxc SanDisk card!
But I found a free one called GUI Fat 32 Format that actually worked.
Click this link and it will start to download:
http://www.ridgecrop.demon.co.uk/guiformat.exe
It didn't work immediately, for me at first, but after a few tries it actually worked very well.
I think that once you get it into Fat32 all of your problems will go away. Hope so anyway.:cyclops:
Let us know if it works!
This seems to have corrected the issue, finally
stretch0r said:
This seems to have corrected the issue, finally
Click to expand...
Click to collapse
Glad it worked for you!
Sent from my SPH-L710 using xda app-developers app
I had a similar issue... I flashed an AOSP ROM on my phone n it corrupted my sd card and wouldn't format. before formatting I went back to a touchwiz ROM and it still said it was a bad sd card and needed to format I ended up formatting my card in my phone and lost all my data. I put music on my sd card and removed the sd card from my phone before flashing another AOSP ROM. After I installed another AOSP ROM I re-inserted the sd card and it again said it was bad and needed to be reformatted...
So my question is...How can you use a 64gb sd card on an AOSP ROM...I'm back on touchwiz for now. Sd card works fine.
Does formatting the sd card in your phone format it to exfat and not fat32?
Sent from my SPH-L710 using xda app-developers app
iomega311 said:
I think I read somewhere that in CM10/AOKP that it won't read/understand exFat very well.
So, formatting to Fat32 is definitely the way to go.
When I used some other programs it would say the same thing... that my card was damaged and had to be fixed.
I had a heck of a time finding a program that would do it for me on my 64gb sdxc SanDisk card!
But I found a free one called GUI Fat 32 Format that actually worked.
Click this link and it will start to download:
http://www.ridgecrop.demon.co.uk/guiformat.exe
It didn't work immediately, for me at first, but after a few tries it actually worked very well.
I think that once you get it into Fat32 all of your problems will go away. Hope so anyway.:cyclops:
Let us know if it works!
Click to expand...
Click to collapse
Wait, so you're saying that AOKP/CM10 don't have the necessary drivers to handle exFAT formatted sd cards?
Do you remember where/how you came upon this information? Was this issue particular to 64gb SDXC cards vs smaller SDHC cards or maybe to certain classes of cards?
I find this shocking, but I can't say it isn't unfounded.
I have a 64gb uhs-1 sandisk card coming from newegg in a few days, so I'm obviously concerned.
Any insight you could provide is greatly appreciated!
Hey guys... after doing some fooling around I've found out some (useful) information for people with 64 gb sd cards...
1. When you format an sd card while its inside your phone it will format it to exFat.... which is fine if you plan on only staying on TW ROMs. This format is not compatible with TWRP Recovery and has given me issues (causing me to loose all my data on my card) just by flashing an AOSP ROM
2. If you use the program posted in the second post(thanks iomega311) you can format your sd card to Fat32 and it will now work on TW ROMs, TWRP, and AOSP ROMs.
Hope this helps for anyone with SD Card Questions/issues.
In my opinion... Never program sd cards on phone... Always use a computer. Especially if you want it done right!!!!
kdepro said:
Wait, so you're saying that AOKP/CM10 don't have the necessary drivers to handle exFAT formatted sd cards?
Do you remember where/how you came upon this information? Was this issue particular to 64gb SDXC cards vs smaller SDHC cards or maybe to certain classes of cards?
I find this shocking, but I can't say it isn't unfounded.
I have a 64gb uhs-1 sandisk card coming from newegg in a few days, so I'm obviously concerned.
Any insight you could provide is greatly appreciated!
Click to expand...
Click to collapse
CM 10 which all the AOSP roms are based off does not support exFAT since it is a proprietary format and they don't want any legal trouble. The best way to format a 64GB gard is with GUI formatter
What allocation size did you guys use? Just got my 64GB SDXC and need to format it so that I can use it on CM10.
Ok so. At first I thought it was the 32gb card I bought on ebay so I just returned it and bought another class 10 32gb adata card from another seller. This time I did a surface scan and chkdsk ahead of time to make sure everything checked out before I started using it. So as one partition as fat32, everything works fine, md5's verify successfully for nandroids after backing them up to external sd. Until I go to partition the sd card for fat32, and ext4, ext3, fat32 (tried every format). Tried mini partition, easus and Gparted outside of windows. Minitool shows it as "other" format when I try to partition the second ext4 partition. (which is odd)
After I do that, the fat32 begins to not show files that are copied to it. I noticed this while doing a routine nandroid through recovery, then when checking the cwmr folder on the external 32gb card, the files aren't there. NOW after reformatting and testing again, I'm getting the nandroids to show up, but the md5 verification fails.
I'm not sure on what the issue is. I just want to have a damn ext4 partition for mounts2sd.
Is there *anything* I can do further to verify if the card is in fact faulty aside from a surface scan test? Or is that sufficient?
Could it be my phone's sd card reader?
Could the kernel's "usb fast charge" enabled cause an issue?
I'm on the stock latest tmobile-samsung firmware, rooted.
Using stable kernel:
[KERNEL][3.0.90][Tiberius 4.1.2 T989UVMC6][Hercules]
Just to be sure I understand this correctly you want 2 partitions on an SD card? I would not recommend this personally as SD cards are not really designed for that...
But I could be misunderstanding you...
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Yeah, so I can have a script for mounts2sd use the ext4 partition to install apps to.
However, I'm looking for the sure fire way to test your SD to see if it's faulty or not. Is a surface scan test enough? Is there more?
I guess it's gotta be the card.. Just thought it was odd that it happened with two brand new 32gb sd cards from separate sellers.
Just put in my 8gb and everything works fine, md5's match and everything...
Oh well, return time!
I had a 128GB microSD card in my LG G3, a 128GB Samsung EVO Select microSD card. After only a year I was seeing slow read/write benchmark speeds (using A1 SD Bench) & was also seeing some lag so I replaced it with a 128GB Sandisk Extreme Pro. But the speed for the Sandisk is the same.
The app A1 SD Bench shows them both doing Read: 42MB/sec, Write: 38MB/sec. I've seen others that see speeds of 70MB/sec and higher. Both cards are formatted exFAT.
I'm concerned that maybe I've made tweaks using Trickster Mod that might have slowed the card down? Or could there be another reason? Thanks to anyone that can help.
I don't know what's causing that. I also had a problem with my LG G3 851 and the SD card. Basically the SD card died and I can't read anything from it nor reformat nor anything. It was a 128gb SanDisk, one of the faster ones, running Lineage OS 16.1. I ended up just figuring I didn't really need the SD card in my case. I'm sorry your's is running slow. All I can say is try to factory reset the phone back to stock and see if that solves the problem.
Factory reset ("saying a prayer") is too drastic a step and rarely solves anything, but I did solve the problem.
Using Desk Genius on my PC I created a single partition on the microSD card (Most people just format, you must create a partition first). Then using Windows 7 disk format I formatted the microSD card for exFAT, 128K cluster size. Now the microSD card flies!!!
It took me a full weekend of testing to come up with this. I tried using various tools to partition, and various tools to format, all with different cluster sizes. This gave me the best performance.
Tools included Disk Genius, EaseUS Partition Master, MiniTool Partition Wizard, Windows 7 built-in tools, and a lot more.
EDIT: I forgot to add, after formatting you need to go back into Disk Genius and do a 4K alignment check (it's in the Tools menu). Alignment to 4K boundaries prevents extra read/write cycles and improves performance.
If it fails 4K alignment then you need to partition and reformat all over again.
That's awesome! I'll keep that in mind if I go get another SD card some day. I didn't realize that the format could mess up the read/write speeds. I wonder if a wrong format made my SD card die. If I do get another SD card, this time I'll keep the receipt in case it stops working again. I had a PNY SD card die on me in my Surface 3 as well.
It's not just the reformat, you have to repartition as well. And I forgot to mention you need to check for 4K alignment too (I edited my OP).