sd card issues - Desire Q&A, Help & Troubleshooting

I have started having sd cards issues recently... (like 1 month now)..
1) i sometimes get usb brick according to 4ext ... when i boot in recovery, it says sd card can't be mounted and i need to use the usb unbrick tool (never had such issue with cwm.. maybe it's 4ext related).. often get this when i have copied big files to my sd card or i have just flashed a new rom or sometimes without doing anything special... maybe after a black screen of death)
2) when i copy files to my sd card, it sometimes takes a lot of time (at some point, progress bar remains static) or sometimes i get an error IO device error... need to unmount and remount to my pc.... and windows asking me to scan and fix
3) i often get scan and fix when connecting my htc desire to my pc...
4) i sometimes gets black screen of death and this most of the time results in "scan and fix" message by windows when i connect it to pc..
is my sd card getting old and not working well as i used too much a2sd based scripts? or is my phone sd card reader getting defective (hope it's the first one as i am getting a new class 10 card anyway soon)
how will know what is wrong? are the a2sd scripts damaging my sd card? thx for reading and waiting for your opinions and help thx

How did you partition your sd-card?

i used one of the tutorial on xda... (the one using gparted) and i have been using this partitioned sd card for about 2 years now with no major issues... it's recently that it started to show issues.

Try repartitioning it. If it's still faulty, then change it.

ok thx will try that... but how to know whether it's my htc desire sd reader which is faulty or it's the sd card?

yeahman45 said:
ok thx will try that... but how to know whether it's my htc desire sd reader which is faulty or it's the sd card?
Click to expand...
Click to collapse
Try using another card afterwards. If it's the same, then it's a reader fault.

haven't try repartitioning my sd card yet.. i have too much stuff to backup.. anyway is there a cause for usb brick/io errors? i got a usb brick today.. can't copy files and 4ext recovery can't mount sd card... i never got that before

Related

Froyo A2SD+ SD card corruption

Tons of new ROMs coming out now based on OTA and adding A2SD+. But one big issue. Quite a number of people have reported problems with corruption of their SD cards when setting the Desire into Disk mode and connecting it to a PC. I've read it the first time here
http://forum.xda-developers.com/showpost.php?p=7463184&postcount=348
and I can confirm it is reproducible.
Regardless if connecting to Windows or Linux, the card gets corrupted. It does not matter if you properly eject the drive. The Desire will respond saying the SD card is Read Only, and the only thing that one can do is to repartition it to fix the card.
I don't know what A2SD+ application everyone uses in their ROMs but I expect it's all based on some common version like the one put in from ieftm. As this is a serious issue it would be great if all you ROM cooks could look into it and try to fix it. Alternatively it may be a good idea to produce non-deodexed versions that save a significant amount of memory when installed normally without A2SD+.
Thanks for considering
I have this problem aswell its a bit of a nightmare there are a few files on my sd card that I can't even delete using andexplorer or my pc. I think the only way would be to remove my card and format it. I have never had this problem before only when I started using the 2.2 rom.
Noticed it before, i took the SD card out and put it into a cardreader, couldnt do anything in windows, said it was read only. Access via USB cable worked though.
Not that much of a issue for me, I mainly transfer files via Wi-Fi anyway, but I guess thats the explanation for the read-only behaviour.
Happened to me today, however I restarted the phone and everything seems okay now... :/
edit: nope, connected the phone again, chose "charge only" and then disconnected. The notification about my card being corrupted occured again, tapped on it and it went away... Dont know what to think..
I have the same problem .. And now it seems like the SD card is totally corrupted. Its not even possible to do a format
Okay thats it... Doing the titanium backup, nand backup and flashing some rom w/o A2SD+... :/
Out of curiosity guys, did the corruption of the SD card occur to the stock SD card that came with the Desire? I had the same problem with the stock card..
It seemed to unmount 3 or 3 times over a week and the next thing I knew it totally died and could not even be reformatted.. Happened on stock 2.1 that came with my Desire.. after I swapped to me own class 6 8gb Transcend I never had the proble again.. Just gonna upgrade to 2.2 now.. *fingers crossed*
Oh and yes.. I use A2SD+ on Modaco's 3.1. But that was after that card got corrupted..
I'm using card that came with the phone.
I'm going to try another Froyo Rom, just OTA rom rooted and we'll see.
Edit: I made my ext3 partition with ROM manager, if it makes any difference...
God dammit!
http://forum.xda-developers.com/showthread.php?t=747480
Yes its the card that came with the phone .. but it happen after i created the 512MB EXT3 Partition ... and I'm running this ROM : http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=741775&highlight=official it doesnt even use A2SD+
I dual boot my pc with windows 7 & ubuntu.... windows 7 scan and fix has repaired mine numerous times
I have class6 A-DATA 8GB and no problem. But with my last G1 i haved same card and with swapping goes to hell... I now correctly unmounting and disconnecting mobile from PC, after i save from PC to card. Flash have problems with writing.
This looks like a serious problem - it happened to me twice already. Devs, please have a look at this!
I have also had similar experience, SD card corrupt, yes it was the original card that came with the phone, EXT2 partitioned and using APSD+
Now why this happend is a mystery, but something I noticed when I tried the SD card in the PC - it was recognized, but said it must be formated, so I tried but it only saw it as a 32mb capacity!!! (it still would not format though - failed format..and since is no longer reconized at all..)
But, this made me think it "MAY" be something to do with the fact that when I did the Ext2 partition I seem to remember it also created a 32mb swap partition, or using Ext2 instead of Ext3. I have since learnt that it is advisable NOT to created a swap partition, so with my new SD card, after more reading about Ext partitions etc, I have only created only the Ext3 partion as I understand this is better than Ext2 and is less prone to corruption, and no swap partition and have had no problem since!
See this excellent post :- http://forum.xda-developers.com/showpost.php?p=7458565&postcount=8
It would be interesting to have some input from one or two of the developers with knowledge in this field to get an idea why this happens, and how it can be prevented.
It is also possible the the SD card was going to become corrupt anyway... with or without the help of Ext? / APSD+ - it does happen!
delta-101 said:
I have since learnt that it is advisable NOT to created a swap partition, so with my new SD card, after more reading about Ext partitions etc, I have only created only the Ext3 partion as I understand this is better than Ext2 and is less prone to corruption, and no swap partition and have had no problem since!
Click to expand...
Click to collapse
my sd was corrupt using a 512MB ext3 partition without swap partition in SD card :/
Try in windows: start > run > chkdsk x: /f
where x = desire drive letter.
I believe i did this in recovery mode > mount usb.
That's what happens when you don't want to use Froyos own A2SD implementetion because "widgetz doesnt workzz on dat."
Apps are not meant to be on an external EXT partition.
Wait until ROMs like CM have built in A2SD+, these hacky shell scripts can cause serious problems for the SD card.
LeeDroid said:
I dual boot my pc with windows 7 & ubuntu.... windows 7 scan and fix has repaired mine numerous times
Click to expand...
Click to collapse
Windows can not access EXTx partitions. As such is unfortunately not possible that it could possibly repair a broken SD-ext partition A2SD+ uses.
delta-101 said:
I have also had similar experience, SD card corrupt, yes it was the original card that came with the phone, EXT2 partitioned and using APSD+
Now why this happend is a mystery, but something I noticed when I tried the SD card in the PC - it was recognized, but said it must be formated, so I tried but it only saw it as a 32mb capacity!!! (it still would not format though - failed format..and since is no longer reconized at all..)
[...]
It is also possible the the SD card was going to become corrupt anyway... with or without the help of Ext? / APSD+ - it does happen!
Click to expand...
Click to collapse
I can confirm the corruption without any APSD+ ROM
I had a Stock Orange FR 2.1 ROM, and the 4Gb card that came with the phone get corrupted definitively (recognized as a 32mb capacity too, it has something to do with the Cylinder-head-sector combination).
Anyway, I'm going to try APSD+ with a class 2 PNY 16Gb, and tell you then if I get a corrupted card.
FYI, the Sandisk warranty is applicable for the original card: replaced in 5 days
I got some problems too with corruped files on my SDcard and had to format it. I'm thinking that from now i'll only mount my card to pc in recoverymode... maybe that is safe to do?

[Q] HTC Desire doesn't recognize sd card, please help.

Hi everybody,
I posted a similar post in one of the threads, but I did not get any replies. So I thought I might as well post a new thread.
I really hope that you can help me out.
My HTC Desire doesn't recognize the sd card (Samsung micro SDHC 4gb) that is in it. It also doesn't recognize another sd card (SanDisk micro SD 2gb).
I've tried to follow up the steps 'chippieuk' has listed in this thread.
Everything went fine, until I reached steps 8 and 12, because my pc doesn't recognize the sd card either. (I've tried to put it in two other computers and another phone, but it hasn't been recognized in any of them. I've also tried to use another sd card in the sd card readers and adapter, and that sd card was recognized, but it was a SanDisk micro SD 2gb.)
Here's some background information.
Something like 7 months ago I rooted my HTC Desire (in the process of rooting I partitioned the sd card) and I put custom ROM 'opendesire v1.5' on it. I was satisfied with it, so I never changed it since then. But my HTC Desire stopped working properly something like 6 weeks ago. Every time I switched it on, it went into bootloop. So two weeks ago I did a hard reset via 'hboot' and my phone seemed to work again, but then I discovered that the sd card wasn't being recognized and that has been the problem ever since.
I've, btw., (temporarily) unrooted my phone with a RUU (android 2.1). I've not yet upgraded it to android 2.2, because I want my phone to function well first and I will probably root it again soon (if I will succeed with my sd card etc.)...
So... Have any of you got an idea? Could it be something with the readers that I've used (that they can't read micro sdhc cards)? Or because I once partitioned it? I really don't know...
Once again, I would really appreciate it if you could help me.
Thanks.
Regards
If nothing is picking it up then you have no partition on the SD card, or the wrong one. Format it with Windows to FAT32. If Windows picks it up, then Android should pick it up. If it isn't picking it in Android after the format, go to Settings > Storage and see if it's mounted in there, if not, then mount it, if you can't mount it, then it's either a problem with the rom or a problem with the SD card.
Okay, thanks. I'll try that.
Is it, btw., possible to get the data that's on it back?
Not if you format it. To be honest, the only way you can get data off it anyway is by getting it to mount, which it isn't doing.
Yeah, true... I should have made a backup. ;p
Okay, I just connected my phone with its sd card to my computer.
It actually shows a 'Removable Disk' in 'Computer',
but I cannot access it when I try to format it.
So I'm going to try to format it now, using an adapter.
Let me know how it goes
Hmmm.. When I put the micro sd card in an adapter and insert that into my computer, it sort of reacts to it. The icons at the bottom right sort of move, but that's all. When I look into 'Computer', there are no removable disks. I really don't know how to access it..
Plug it into your PC. Go to start, right click on my computer and click on manage. Click on disk management on the left and see if the SD card loads up
Sent from my HTC Desire using XDA App
Okay, so I tried what you said, but the SD card doesn't load up.. I also tried it with that other SD card I talked about, just to check again if it really isn't because of the adapter, but that SD card was recognized.
Put it in your phone and loads up Android. By default, if Android detects a non compatible SD card then it will ask you to format it. If you don't get this option then I guess it's buggered and you'll need to get a new one.
It appears to be a USB brick....
See solution on this thread.
http://forum.xda-developers.com/showthread.php?t=691187
To be more precise, the fix is mentioned in the thread above, but is here
http://forum.xda-developers.com/showpost.php?p=6634033&postcount=115
Had a similar problem myself, see if my little thread is of any use to you
As soon as I'll be back home, I'll try your suggestions. Thanks a lot, all of you.

SD card not recognized by ROMs?

Strange problem with this desire, I can access the SD card from recovery with stuff like USB-MS and flashing from SD but with stock it says the SD card isn't recognized (the options in Settings are all grayed out). With a rom that has Apps2SD like InsertCoin where some of the main apps are installed to the card it just leaves me with a blank screen on boot with the background/top bar still there.
Pretty strange desire really, when I first looked at it the problem I mentioned above was happening (it was originally on InsertCoin, worked for around 4 months before this started) so I reflashed it to stock and then had it returned to me with the owner saying that their SD was broken.
If anyone knows how to fix this it would be much appreciated as I'm as stuck as a brick wall right now :/
Explain your problem in no more than 2 sentences that actually make sense and I may be able to help you out.
Add on information such as
ROM you are/were using
Can you boot
Does PC recognise phone
Hboot (S-ON/ S-OFF)
Have you tried with another SD ? Maybe it is the SD thats broken ?
bortak said:
Explain your problem in no more than 2 sentences that actually make sense and I may be able to help you out.
Add on information such as
ROM you are/were using
Can you boot
Does PC recognise phone
Hboot (S-ON/ S-OFF)
Click to expand...
Click to collapse
Sorry, let me dumb it down a bit:
In Amon Ra recovery it sees the SD card fine and lets me use it over USB fine too but when I boot up into a ROM it doesn't seem to find it.
Using InsertCoin/stock ROM and neither recognize it, it boots up fine and the PC can see the phone too, but since it can't mount the SD card I can't use disk drive mode :/ It's using S-OFF hboot too.
vashishtuday said:
Have you tried with another SD ? Maybe it is the SD thats broken ?
Click to expand...
Click to collapse
The SD is fine, it works in recovery and in my own desire but I've tried another SD card to be sure and still nothing
hmm ok try to reformat the SD card using recovery and tell me if it works
I've had/got a similar problem. I believe it's a problem with the contacts between the sd card and the 'holder' for the sd card.
Try removing the back of your phone, removing the sd card, pushing down on the metal 'holder', replacing the sd card, and rebooting.
This works for me for anything between 1 minute and a couple of days before the problem starts again.
I have no idea why the card is still accessible in recovery. If the above had no effect then please ignore!
The only solution, and it's really not useful, is to remove the sd card. I've returned my phone for repair and nothing got replaced (my guess is because the sd card is still accessible on recovery)
EDIT: No longer convinced it's the contacts as whenever my phone 'freezes' if I reboot into recovery the sd card is always accessible.
Now think it's to do with the file system/structure on the sd card becoming corrupt.
If I format the sd card as one single fat32 and keep ALL apps on the phone then I have no problems.

SD card mount problem please help

I've been searching all over for a couple days now and I can't find any solution only people with similar but not exact same problem I'm having. Out of the blue a couple days ago the fat32 partition on my 32GB class10 patriot SD card unmounted and won't mount at all. However the ext4 partition mounts just fine and continues to work as it always has. I also can't plug the card directly into my PC because the adapter that came with the micro SD card appears to not work. My PC doesn't think there is an SD card in it. I tried it with a known good SD card (the 16GB samsung SD card that came with the phone. Which when inserted into the phone mounts and can be used like expected. No new apps where installed or changes made to my phone or the SD card before it stopped working correctly. The same apps and what not have been in use for as long as I have had the 32GB SD card. In fact the currently in use version of CM10.1 has been is use for the last month with no issue regarding the SD card. When I remove the card a notification shows up telling me to insert an SD card. And when I insert the 32GB card the checking SD card notification shows up an a second or two after the SD card is safe to remove notification shows up as if I had told it to unmount the SD card. If I tap on mount SD card in settings the same thing happens. And it also happens after a reboot. CWM can't mount the SD card either. What can I do to fix it so the fat32 partition is usable again?
StoneRyno said:
I've been searching all over for a couple days now and I can't find any solution only people with similar but not exact same problem I'm having. Out of the blue a couple days ago the fat32 partition on my 32GB class10 patriot SD card unmounted and won't mount at all. However the ext4 partition mounts just fine and continues to work as it always has. I also can't plug the card directly into my PC because the adapter that came with the micro SD card appears to not work. My PC doesn't think there is an SD card in it. I tried it with a known good SD card (the 16GB samsung SD card that came with the phone. Which when inserted into the phone mounts and can be used like expected. No new apps where installed or changes made to my phone or the SD card before it stopped working correctly. The same apps and what not have been in use for as long as I have had the 32GB SD card. In fact the currently in use version of CM10.1 has been is use for the last month with no issue regarding the SD card. When I remove the card a notification shows up telling me to insert an SD card. And when I insert the 32GB card the checking SD card notification shows up an a second or two after the SD card is safe to remove notification shows up as if I had told it to unmount the SD card. If I tap on mount SD card in settings the same thing happens. And it also happens after a reboot. CWM can't mount the SD card either. What can I do to fix it so the fat32 partition is usable again?
Click to expand...
Click to collapse
Have you tried formatting the SD card in recovery?
As I said I can't mount it with CWM either. The card contains the data for my mSecure passwords as that app was forced to the SD card due to JB changes in android so I can't format it until I can recover the data on it. I need a solution to access the data before I can reformat it assuming that it needs to be reformatted. The SD card was supposed to be this fail safe thing and I didn't need to make backups of it as it was the backup storage stuff. So now I'm all freaking out because I can't access it for all the backed up data on top of the data for one critical app that was forced to reside on it. The good news is that only a few apps data is effected by this the bad news is those apps were all very important. I just don't understand why this has happened. And if using a cloud source such as box will be any more secure and safe than using the SD card in light of this; now I don't trust not losing data in the future on a source that was supposed to not have this sort of thing happen.
Maybe the SD card just went bad. Sorry I couldn't be of more help.
DynamicN said:
Maybe the SD card just went bad. Sorry I couldn't be of more help.
Click to expand...
Click to collapse
No problem, it's a problem no easily solved, and is a long shot finding anyone who will be able to help. I looked at dozens of sites and forum threads and all sorts of other stuff from goggle searches and couldn't find a solution to get it to mount in either the phone or on my PC to recover the data from it and find out for sure if it is a bad card or not. It might still be under warranty. If it's not I'll be ticked considering how much it cost and how little time I've had it.
StoneRyno said:
No problem, it's a problem no easily solved, and is a long shot finding anyone who will be able to help. I looked at dozens of sites and forum threads and all sorts of other stuff from goggle searches and couldn't find a solution to get it to mount in either the phone or on my PC to recover the data from it and find out for sure if it is a bad card or not. It might still be under warranty. If it's not I'll be ticked considering how much it cost and how little time I've had it.
Click to expand...
Click to collapse
Try installing Recuva on your PC, if this program doesn't work for you then you might wanna try another more advanced recovery program like R-studio v6 (Shareware) which is easy to use since it's GUI based.
or testdisk-6.14-WIP (Freeware) which includes testdisk_win.exe for partition recovery and photorec_win.exe for files and media recovery, but it's kinda complicated since it's based on Command Prompt or DOS! so you need to google for a guide for how to use it.
StoneRyno said:
No problem, it's a problem no easily solved, and is a long shot finding anyone who will be able to help. I looked at dozens of sites and forum threads and all sorts of other stuff from goggle searches and couldn't find a solution to get it to mount in either the phone or on my PC to recover the data from it and find out for sure if it is a bad card or not. It might still be under warranty. If it's not I'll be ticked considering how much it cost and how little time I've had it.
Click to expand...
Click to collapse
Are you still having the problem? I had the same problem, and I found a solution to it.
chromeplaya said:
Are you still having the problem? I had the same problem, and I found a solution to it.
Click to expand...
Click to collapse
Wow I somehow never got notified of this post seeing as I'm just now noticing a reply from months ago. Yes I still can't mount the SD card. I took it out and returned to the stock one that came with my phone. I still have the card as I need to recover the data from it and if not possible wipe it somehow so that I can warranty exchange it. Please do let me know what your solution is so that I can try it and see if it works.
Refresh my memory on what the problem was. This was a while ago lol.
chromeplaya said:
Refresh my memory on what the problem was. This was a while ago lol.
Click to expand...
Click to collapse
The SD card won't mount in my samsung epic and my windows PCs. This was a sudden without warning signs and with no apparent cause. One moment it was fine and the next moment poof. I was looking for a solution to gain access to the files on it to recover whatever I can and if possible repair the card so that it works again. Assuming that it's not a failure of the card itself. It is within the warranty and well within the life expectancy of it. So I suspect it is not a failure of the card itself. I have the option of using ubuntu or other USB stick bootable options for tools as needed.

[Q] SD card unexpectedly removed / Damaged SD card

Hello, I am on an HTC One V running PACman ROM 15.3, with the kernel JmzPrimoC+.
I started having this problem a couple weeks ago. It would randomly unmount my SD card saying 'SD card unexpectedly removed'.
This started to happen more and more often until it would say that as soon as I put the SD card in.
I did a factory reset, which helped for about 5 minutes before it started happening again. Now, more recently, it started saying 'Damaged SD card. SD card is damaged. Try reformatting it.'
I put it in my computer (which doesn't show anything wrong with it), and did a full format. It didn't help at all.
This problem is happening with both my regularly used SD card (SanDisk Ultra® microSDHC™ UHS-I 32 GB (the red and grey one)), and my ordinary SD card (8 GB class 4 Kingston).
I don't think this can be a hardware problem because when I boot to recovery, TWRP recognizes it perfectly.
But I don't either see how its a software problem, because a factory reset should have helped...
Please help me, any help will be greatly appreciated.
Maybe its a bug in the rom?
Sent from my HTC One V using xda app-developers app
Hhmmm...
Good idea. What other ROMs work with JmzPrimoC+ kernel? AOKP?
Sent from my One V using xda app-developers app
OK, update, now TWRP won't read the card! Either card!
Now I'm getting really nervous...
Does this mean it must be hardware?
Is there ANYTHING I can do now?
Please help!
Wow, I screwed up really bad.
I was gonna use TWRP to flash a new rom, so I did a factory reset, and then started flashing the rom.
But in middle of flashing the rom it was interrupted. So I rebooted, rereset, and then I realized... it's not reading my card.
I can boot to bootloader and recovery, but that's it. No OS. I'm screwed.
Is there ANYTHING I can do?
Is it possible to flash a rom over USB? Or SOMEHOW get my card working again?
Just enter recovery and use adb sideload to flash a ROM.
Sent from my Trickdroid-powered HTC One
FangorX said:
Just enter recovery and use adb sideload to flash a ROM.
Sent from my Trickdroid-powered HTC One
Click to expand...
Click to collapse
How do I do that?
FangorX said:
Just enter recovery and use adb sideload to flash a ROM.
Sent from my Trickdroid-powered HTC One
Click to expand...
Click to collapse
But I need an SD card in order to use ADB sideload!
It fails every time because
Code:
E:Unable to mount /sdcard
Is there ANY way to do this without an SD card?
OK, I was able to do it following this guide.
I flashed the latest version of PACman. Still rejecting my SD card though.
I guess it's a hardware issue. Too bad my warranty is void from bootloader unlock :\
Try to partition SD Card in recovery
I am facing same issue and I came across this thread while looking for solution. Here is what I tried. That resolved issue for five minutes and then damn! same issue again but someone can find possible fix using the info here.
HTC One V rooted, currently running MIUI 3.1.2 with JB 4.1.2
Sandisk 8 GB SD Card.
Firmware CWM Recovery
I was facing same issue even before I rooted my phone while Original HTC ICS 4.0 Firmware was installed. MY observation is the problem starts few months after you start using SD Card. (Insert a new SD card in your phone, it will work fine for days / months and then will start giving same error.
While I tried thousand time to remove SD card, clean slot, clean card and reinsert, it did not work. May be worked just once for few seconds. When I tried to connect phone to PC and browse SD card contents, the card was not detected.
Booted to recovery, tried to format card, not detected. Tried to mount SD card, not detected. Then tried to partition SD card in Advanced options in recovery. The available options are 128MB, 256MB, 512MB, 1024MB, 2048MB and 4096MB. Since my SD card is 8 GB, chose the largest option. Now got an option to choose SWAP partition size. Chose 256 MB. Next chose option fix permissions, you have to wait until you see message permissions fixed message on screen.
Now rebooted phone, and voila! It worked!! SD card with 3.94GB memory is detected. But what happened to my rest of 4 GB?
Tried many apps to manage SD card from Play store. Using an app called APart, was able to delete partitions on SD card and create new ones. It worked for few minutes and then again I got SD card unexpectedly removed message.
Does this info makes any sense? I am not a developer and do not know much into phones but someone who know might be able to help. Buying a new SD card is not an option here because its going to work temporarily.
Have you tried formatting the SD card with your computer?
mrcorey said:
Have you tried formatting the SD card with your computer?
Click to expand...
Click to collapse
Yes, tried formatting SD Card using computer. Works fine when connected using adapter. Not detected when phone is connected to computer.

Categories

Resources