EXT-partition makes phone unstable. - Desire Q&A, Help & Troubleshooting

Hi there!
I've got a problem with my HTC Desire sd card partition.
Every rom works fine, sd card also but it starts to force closing, freezing and randomly rebooting when I push apps to sd card using any of the A2SD scripts (except stock one). I mean, when I use roms which just need SD-EXT (such as MIUI or SpazeDog ICS) nothing seems to work uncorrectly but when I move apps all problems start. I tried many roms (MIUI, InsertCoin Sense, SpazeDog) and diffrent moving scripts (A2SD+ ; D2EXT ; and others which names i forgot) and it always caused reboots, FCs and frezzes when I pushed my apps. Can you guys tell me how to fix this problem, or is it just my SD card broken? I always partitioned card by 4EXT recovery, tried EXT3 and EXT4 file system, never made partition bigger than 1GB. My SD card is a Sandisk 16GB class 4.
Sorry for my bad english, Szotaa

An important thing is the method younused to partition your sd (a tool you used).
Also, it wouldn't be bad to buy faster sd card (class 6 or 10).

So, the solution for the problem would be using another partitioning tool? Is gpared a good choice?

Now I saw you used 4ext recovery, and it's the best tool. Gparted is the second best, but I think u need a new sd.
One more question, is your phone s-off? Some scripts need it to work properly.

Yes, my phone is s-off. So its a sd card issue. At the end could u tell me is supernova rom going to work properly, even on my sd card? Because i heard it is the stabliest d2ext ever made.

szotaa said:
Yes, my phone is s-off. So its a sd card issue. At the end could u tell me is supernova rom going to work properly, even on my sd card? Because i heard it is the stabliest d2ext ever made.
Click to expand...
Click to collapse
Supernova recommend a certain brand of sd card to work with the rom. I cant remember it off the bat but it's stated on Droidzone's website/forum.

stankyou said:
Supernova recommend a certain brand of sd card to work with the rom. I cant remember it off the bat but it's stated on Droidzone's website/forum.
Click to expand...
Click to collapse
Based on user feedback, we recommend a Transcend Class 6 for D2SD roms.

Related

ROM and Radio install order, and partitioning SD cards?

Hi, I just wanted to know which order I should install ROMs and Radios in. I want to install the latest radio because I have heard it can improve reception/increase battery life and I am going to finish installing MoDaCo 3.0 when I know which one to do first.
Also when partitioning an SD card using the AR Recovery loader (sorry if thats not what its called) do I have to change any values or are the default ones suitable. The reason I ask is that I bought a 4gb Class 6 card and want to use that instead.
Many thanks
byakkotai said:
Hi, I just wanted to know which order I should install ROMs and Radios in. I want to install the latest radio because I have heard it can improve reception/increase battery life and I am going to finish installing MoDaCo 3.0 when I know which one to do first.
Also when partitioning an SD card using the AR Recovery loader (sorry if thats not what its called) do I have to change any values or are the default ones suitable. The reason I ask is that I bought a 4gb Class 6 card and want to use that instead.
Many thanks
Click to expand...
Click to collapse
When I had a Windows Mobile Phone, I flashed the Radio first, and then the ROM. You would maybe have to look if it's described anything about the ROM and which Radio, I don't think it's any problem. Find also the best Radio for your area, I once flashed a US radio and got the worst signals ever.
And if your flashing the MoDaCo 3.0 I would partitioned the SD card after the default settings, but you loose 1gb then. And you loose all data, so therefor do a Flash of the ROM afterwards.
Regards
Fraction
OK well I've flashed the radio already. Now I'm going to put the MoDaCo ROM on my new SD card. Once I've done that I will Flash the ROM onto the phone.
Once this is done I will boot into recovery and partition the SD card. This I assume will wipe the SD card and if I follow the defaults (32MB, 512MB, Rest in Fat32) then I should have an OK setup?
I assume the values I have listed are the best values for partitioning but I don't know.
Also, what do you mean about losing 1gb?
Thanks
byakkotai said:
OK well I've flashed the radio already. Now I'm going to put the MoDaCo ROM on my new SD card. Once I've done that I will Flash the ROM onto the phone.
Once this is done I will boot into recovery and partition the SD card. This I assume will wipe the SD card and if I follow the defaults (32MB, 512MB, Rest in Fat32) then I should have an OK setup?
I assume the values I have listed are the best values for partitioning but I don't know.
Also, what do you mean about losing 1gb?
Thanks
Click to expand...
Click to collapse
Sorry I ment 500mb ish, From the total size of the sdcard, since 544mb goes to ext and 1,4gb is left for FAT32.
Fraction

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?

Titanium Back & 16Gb memory card

This is an ongoing problem for me and it's definitely not ROM related, but it makes flashing ROM's difficult, in fact downright awkward!
When installing apps from TB it will get through a couple then reboot, at which point nothing will install until I repair my ext partition (Thank God for AmonRA!). Then it will do the same thing again. It will do the same thing with installing apps from the market too, but it's not so pronounced as I don't tend to install loads of apps at once especially as I've got TB.
I found that TB worked fine with CM7 as it didn't install to the ext partition until I flashed DarkTremors aps2sd, and that worked fine as a way round the problem.
None of this happened until I upgraded my 8Gb to 16Gb sd card. The card seems fine in every respect, just the problem with installing aps :-(
Anyone with any ideas?
My previous thread on disabling aps2sd has not proved fruitful either.
David
Before I upgraded my pathetic 2gb I done a little research and the word on the street was the hero couldn't handle more than 8gb, recommended by HTC apparently!
Whether this was due to the limitations of the rom(1.6 at the time) or the hardware I don't know.
Have you tried re-formatting your SD card and making sure the ext partion is compatible with the rom your using?
dully79 said:
Before I upgraded my pathetic 2gb I done a little research and the word on the street was the hero couldn't handle more than 8gb, recommended by HTC apparently!
Whether this was due to the limitations of the rom(1.6 at the time) or the hardware I don't know.
Have you tried re-formatting your SD card and making sure the ext partion is compatible with the rom your using?
Click to expand...
Click to collapse
Yeah I've reformatted and reformatted, initially I thought that the problem mgiht have been the backup files had become corrupt when transfering them over ... and yes I've tried ext2 ext3 and ext4 all with the same results (the only rom i tried which wasn't compatible with ext4 was Cronos).
Maybe its true about 8gb being the limit the hero can handle, maybe someone else can confirm or deny.
I'm sure I've seen some on here using 16Gb cards, but it would be good to know, maybe I should change to the Froyo aps2sd?
Maybe you could try doing a nandroid backup, and trying a different rom to see if it works, if not you could have a faulty SD card???
I a, using a 16 Gb card without problems, I always do a full wipe of my phone and a format of my card before flashing a new Rom. I use the aps2sc within the rom and make sure that the settings are right (install to external) before I use titanium.
I am on elelinux 6.2.0
GL
The max htc Hero should handle would be 32gb I believe. According to link 1, htc hero supports SD 2.0. While SD 2.0 is also called SDHC, which according to link 2 its max is 32gb
Maybe you should try to pull /proc/last_kmsg to see why it rebooted? (post it at pastebin.org, and place url here. Maybe we can understand it )
links:
http://www.htc.com/uk/product/hero/specification.html
http://en.wikipedia.org/wiki/Secure_Digital
I a, using a 16 Gb card without problems, I always do a full wipe of my phone and a format of my card before flashing a new Rom. I use the aps2sc within the rom and make sure that the settings are right (install to external) before I use titanium.
I am on elelinux 6.2.0
GL
Click to expand...
Click to collapse
Yeah I'm really confused as those were my settings also and I tried in on Elelinux 6.2 ... I think it must be either my Hero had a bad day it was born or the sd card did, but it always comes up clean when scanned.
snah65 said:
I a, using a 16 Gb card without problems, I always do a full wipe of my phone and a format of my card before flashing a new Rom. I use the aps2sc within the rom and make sure that the settings are right (install to external) before I use titanium.
I am on elelinux 6.2.0
GL
Click to expand...
Click to collapse
16gb card here, use TB all the time and nadroid as well and never had a problem. Maybe your card has some faulty sectors. Try to copy 16gb on it on the PC and copy it back to your pc after you've made sure nothing was cached. Or try scandisk to see if a part of the flash is broken, maybe.
Using a cheap ebay-bought Team 16GB Class6 with TB, flashing and nandroids. No issues whatsoever. Works great!
I've scanned the disk multiple times, not tried a full 16gb transfer ... and I'll get the log output in a minute or two
output of /proc/last_kmsg
http://pastebin.com/0rpNHFF8
Thanks in advance!
Edit: It got to installing around 15apps this time before crashing. It varies as to when it dies, but it will. I even considered that it was overheating, or due to OC'ing, but it does the same thing regardless of temp or CPU speed
i also use 16gb sd card for 3 or 4 months and nothing ever happens like that. everything works perfect...
Have a feeling that it's corrupt, as I have a new problem with installing anything, I now get told there's not enough room to install or updates apps ... when there's plenty ... arrrgggg!
if 16gb isn't working for you, send the card to me. I have a working 2gb you can have instead.
dkelley said:
if 16gb isn't working for you, send the card to me. I have a working 2gb you can have instead.
Click to expand...
Click to collapse
Haha that's really funny.
Actually I ran some scans, fsck's and reformats with repair options, and if it wasn't for the reboot issue and instability issues I have with Elelinux 7.0.3 then I'm sure I've got it fixed... I hope ...
Sent from my Hero using XDA App

SD card not found on AOSP ROMs

I'm on Seb's Runnymede ROM for quite some time. Because of the well known "freezing problem" I wanted to test something else.
So I tried Mildwild's CM and oxygen based ROMS and recently the newest ICS ROM by Sandvold. When I flash these ROMs "clean" they boot but I can't use my sd card. It's like there's no card inserted at all. If I install extra mods like dalvik2sd or ad2sdx immediately after the rom, my phone doesn't boot.
I wiped everything a few times, and even repartitioned my card with 4EXT recovery. Could it be the ext4 partition? I've searched through both threads for the same issue, but can't find anything similar.
EDIT: I tried ICS with A2SD, dalvik to nand (3rd option) and I was able to boot, but again sd card not found...
What SD Card do you have? have you partitioned using gparted and tried? and Seb's Runnymede doesnt have a freezing problem.... can you elaborate the freezing issue? maybe i could help.
I have a samsung 16GB class 6 card (This one). I always use 4EXT recovery to partition my card. It's also advised in Seb's thread to partition with 4EXT. I used Gparted live before, but always ran into problems. Don't know why, I followed the guide. I'll try it again when I got some time.
I know it's not caused by Runnymede, but I want to test another ROM to see if it happens more/less frequent. That's when I realised I can't install another ROM. Hence this thread.
I'm yet to try an older card (class2 sandisk) with these roms. Also, that card didn't have freezing problems with runnymede, but was awfully slow.
recovery can see the sd card i guess?
might be worth booting gparted just to see if you can see the ext partition?
Yes, recovery shows the card, partition alignment is OK, usb diskdrive works as intended,... When I format and repartition my card, I notice that the partitions are not completely empty. I guess this is normal? I'll try gparted tonight.
Ok I didn't try gparted because I couldn't find any cdrs to create a bootable disk again.
But... I tried my other sd card (Sandisk 8GB class 2). Formatted and partitioned by 4EXT. I Installed ICS Beta 0.4.1.1 with ad2sdx option. Booted without problems, recognised my sd card immediately, no problems.
Definitely a problem with that samsung card. Or a compatibility issue. I'm still confused about that, but at least I know what's the problem now.
mby USB Brick? 4EXT touch had bug with that
yes I know. When I "reboot to recovery" SD card can't be found. I need to power off completely and boot to recovery.
And sometimes the phone gets USB bricked after flashing a ROM. But there's a tool in the latest 4EXT version to unbrick.
I'm running RunnyMede AOI on the class 2 card now. Everything is ok, no freezes (yet). I'm a bit worried about the AD2SDX script on class 2 though.

So many bugs... don't know what to do!

Hey everyone ! First I swear I don't post this because I'm too lazy to make a proper search, I've been trying to solve my problems for two days...
Ok, I'll try to sum it up. Sorry if my english goes wrong at some point, I'm french.
Having problems with my micro SD in my Desire, I bought a new one, a kingston 8go, class 10.
My desire was under CM7, was S-OFF with a modified HBOOT. And except from bugs due to my SD (sometimes it would not be recognized), everything was working.
After installing the new micro SD, i did some manipulations: wipe, reinstallation, change of radio/RIL/kernel, and unfortunately ended up with no recovery and others bugs. So I decided (at one point I did stupid stuff) to reinstall RUU aaaand as I was S-OFF with a modified HBOOT, I bricked my phone. BUt after some hours and thanks to the forum, I managed to put back a RUU.
Then I did everything properly: ROOT/S-OFF with revolutionary, wipe, micro SD partition, and CM7 installation.
THen it was hell: I tried everything from regular install to legacy2ext and SimplytoExt etc every time it's really unstable. First the all thing is slow, then I can't flash the google apps, no matter what I try. If I install an app from the market, sometimes it works, sometimes it makes the phone reboot from the boot animation, sometimes it can't install etc.. Google maps was especially unstable.
THen, 10 or 20 manipulations, formatting, reinstallations later, I decided to check other rome, like Oxygen or milwild.
On my last Milwild install, everything is fluid but I can't install a single app (it's just stay on "installation" forever) and I can't wake up the screen after the phone goes to sleep.
Last but not least, my usb charger seems to have transfer problems. It's way to slow and the speed is not constant. During large transfers, comes files go corrupted. Am I usb bricked or something? I tried with another micro SD and it's the same problem;
So here I am, I really don't know what to do more? Any help?
Thanks a lot for your eventual answers!
Seems that installing a RUU solve all the problems for now, I wonder what in the process of putting a custom ROM could have caused so many differents and random problems. I'am doing the all process again to see if I can do it properly.
And again, I installed a custom ROM with CM7 hbott: impossible to download any app and the camera crashed. Any idea?
1. Don't use any D2EXT scripts with Cm7, obviously that's what caused the issue. If you NEED more space (even with cm7 hboot) try using DarkTremor's A2SD.
2. Before you flash a new ROM, do a FULL wipe (either from fastboot or recovery) - erase boot, system, userdata, cache, sd-ext (make sure you have an EXT-n partition on your sd-card, best program to use is gparted)
Desire is designed for class 4 SD card. Although some class 10's will perform at class 10 levels, many do not because of this. Kingston Class 10 being one example (I have one).
My kingston class 10, in Android, performs at class 6 speeds. Which would be ideal, but my class 10 Kingston was slower with data2sd than my class 4 sandisk.
Thanks for your answers:
Desire is designed for class 4 SD card. Although some class 10's will perform at class 10 levels, many do not because of this. Kingston Class 10 being one example (I have one).
My kingston class 10, in Android, performs at class 6 speeds. Which would be ideal, but my class 10 Kingston was slower with data2sd than my class 4 sandisk.
Click to expand...
Click to collapse
Ok, I might send it back and change for another model then. But still it can't explain the problems I have
1. Don't use any D2EXT scripts with Cm7, obviously that's what caused the issue. If you NEED more space (even with cm7 hboot) try using DarkTremor's A2SD.
2. Before you flash a new ROM, do a FULL wipe (either from fastboot or recovery) - erase boot, system, userdata, cache, sd-ext (make sure you have an EXT-n partition on your sd-card, best program to use is gparted)
Click to expand...
Click to collapse
I only was using this script to put the apps on the ext partition and I removed it. It's obviously not the problem since they stayed after a clean install.
I always fo a full wipe, I even formated all the partitions and my EXT partition is there and well aligned.
Here I am: I managed to "stabilise" with a gingerbread RUU, rooted and S-OFF with revolutionary.
I used RM recovery (with USB brick fix) and it seemed to help. I don't have any USB transfer problem any more.
The RUU works like a charm.
Then I tried again to install two customs romq, without any script or modification:
-on Milwild, I have still this "deep sleep" problem. I can use the camera, but I can't install any app from the market. It's stays on "installation" forever.
-On CM7 (I put the CM7r2 HBOOT with it) it starts well: I can install google maps. But then I try to open it and it freezes. Then I try to mount the FAT32 partition on my computer and it doesn't work. The cellphone also freezes when I try to reboot (there is the wheel, turning and turning, but nothing happens). SO I forced reboot, and then, google maps had just ... disappeard. I think my phone is haunted...
Isn't it strange that my cellphone is perfectly normal under RUU but can't bear any custom ROM???
I think I'm gonna go back to the RUU and try to use another SD card but I'm sceptical. If someone has a miraculous idea to share, I'll take it!!!
Thanks again
Well, rootSU, it seemed that you found the answer. I put another class 2 sd card and it seems to work again! I just spent hours on this for nothing... The strangest is that the class 10 card work perfectly when out of my phone...
Any advice about a good class 6/8/10 that could improve the performances without crashing like this?
EDIT: last question, I used the app2sd script you introduced, but I can't install any app with it, it says that I've got unsuficiant stockage space Oo.
I use.my class 10 Kingston and it works perfectly as a class 6. Plus its pretty future proof. Just no.good for data2sd.
Should work fine for everything else though
Sent from my HTC Desire using Tapatalk
Well, mine didn't worked at all, except the RUUs...strange! I have fully configured my class 2 SD card with simple2ext (only app on the ext partition, not data) and it works.
As I'm tireless, I'll try to put all this via nandroid on my class 10. If it could work like a class 6...
What did you use to partition the Kingston?
Sent from my HTC Desire using Tapatalk
I partitioned it several time, with gparted and recoveries. I'm a bit worried about some part of the hardware managing the connection with the SD card that could be partly broken. I decided to change my first SD card when I first saw a "you need to put an SD card" when I try to take a picture. I had problems with files disappearing from the SD and reappearing. Also I lost some applications that I couldn't appear. I figured the card was dying.
Then I put a new SD card, faster and with larger capacity and everything goes wrong;
Then I put the old one back and... for now, everything works.

Categories

Resources