Desire Crashing frequently(possibly SD related) - Desire Q&A, Help & Troubleshooting

Im using a SCLD GSM Desire rooted. Ive used Gingerbread versions of Oxygen, CM7, and currently on MIUI XJ but all freeze up on me often(almost daily) and battery pulls are required to revive.
The freezes do not happen with my 2GB Samsung SD card that came with the phone, but i have used 3 brand new Sandisk 16GB Class 4 SD cards and it crashes on all. This is regardless of whether i have Apps2SD enabled or not. I have looked for last_kmsg after the crashes on CM7 and Oxygen, but the file is never present after a battery pull, if i reboot normally i will get an old last_kmsg file from a few months back.
Was transferring about a gig of music to my phone currently on MIUI XJ 1.12.2, and after i unmounted USB storage it froze up and crashed.
The SD card im currently using was bought at a Virgin store, so im sure it wouldnt be a fake. I hope someone can help troubleshoot, im completely out of ideas!!
Thanks a tone in advance!

zigackly said:
Im using a SCLD GSM Desire rooted. Ive used Gingerbread versions of Oxygen, CM7, and currently on MIUI XJ but all freeze up on me often(almost daily) and battery pulls are required to revive.
The freezes do not happen with my 2GB Samsung SD card that came with the phone, but i have used 3 brand new Sandisk 16GB Class 4 SD cards and it crashes on all. This is regardless of whether i have Apps2SD enabled or not. I have looked for last_kmsg after the crashes on CM7 and Oxygen, but the file is never present after a battery pull, if i reboot normally i will get an old last_kmsg file from a few months back.
Was transferring about a gig of music to my phone currently on MIUI XJ 1.12.2, and after i unmounted USB storage it froze up and crashed.
The SD card im currently using was bought at a Virgin store, so im sure it wouldnt be a fake. I hope someone can help troubleshoot, im completely out of ideas!!
Thanks a tone in advance!
Click to expand...
Click to collapse
which version of MIUI-XJ ie.. A2SD or XPart or D2W?
You can try the following:
1. take nand backup, titanium backup & miui backup
2. download the full rom
3. full wip/wip cache/wip dalvik
4. flash the rom, if you are using cm7r2 hboot you might have to flash market cache fix.
5. let the rom reboot automatically and then let it settle for 15-20 mins
6. go to super user and make sure you enable ROOT permission ON.
7. power-off and power-on, restore your apps.

Thanks for help, appreciate it. I'm running the apps2sd version. Will flash according the method you have suggested. Since I'm on apps2sd, any reformatting/repartitiin you recommend?
Right now for the 16gb class 4 card I have a 1gb ext3 partition created using gparted.

You partitionend your SD card with an FAT32 partition and an EXT partition. If you partitionend in that order and set both partitions primary, you are ready for A2SD/A2SD+.
But please use "A2SD" if you are talking about the script which moves apps automatically to EXT partition, because with "app2sd" you could also mean the FroYo-App2SD and this would be very confusing.

Thanks for the help guys. I repartitioned and reflashed miui according to the procedures you'll mentioned. So far its been running fine, except that I had to use the terminal to reinstall a2sd yesterday, but still no crashes.
So far I have not put any music on the phone since last time it crashed when I filled up the SD. Now that I'm certain the installation is clean after using it for the past few days, ill go ahead and fill up some muswic tomorrow and will post back here.

So the phone crashes everyday now. Noticeably after I enabled a2sd amd moved dalvik.
Need to perform battery pulls to revive the phone and there is no last_kmsg after a reboot.it really kills me everytime I need to pull out the battery, hopefully someone can help troubleshoot!

I have the same problem. It's do not freeze only with stock hboot

Since I'm rooted on custom rom, any way to use a stock hboot now?

yes, you can use any rom with stock hboot. but you will not have much memory for applications

just checked, im on stock hboot.
do you have any other ideas ?

maybe here: http://forum.xda-developers.com/showthread.php?t=1393132

After failing to get 3 of my 16gb sandisk cards working, I tried my Samsung 2gb that came with the phone. This card is working flawlessly for the past month (or however long its been). I'm using a 512mb partition with apps and cache moved to SD with zipalign running and its never crashed.
Does anyone have any ideas? Can't really load any music into such a small card

I have a similar problem.
My phone crashes every time I browse fast trough my picture gallery (I have a lot of pictures) or I use an app that accesses the SD card continuously for several minutes.
For instance, it happens when I do a batch backup with Titanium Backup for all my applications.
I tried the official ROMs and custom ROMs (Cyanogen, DevNull) but the problem persisted.
I sent the device to HTC and they replaced the mainboard.
I tried then the latest official ROM and I faced the same problem.
I switched again to Cyanogen and the same problem appeared.
I have to mention that all this time I used a 8GB SD card (I tried several different cards with the same result) and no App2SD.
Now I'm using the card delivered by HTC together with the device and the problem is gone.
This card is only 4GB (the brand is Samsung) but it seems to work flawless.
My advise is to try a 4GB card and see if it works.

Related

[Q] New SD Card causing rooted Desire to hang. Can't partition it either.

Hi
I'm having issues with sticking a new SD card in my Rooted Desire. I am running the NeoPhyTe Mod v1.8 Sense-FroYo 2.2 ROM, and it seems great (before I was running Pays Desire Rom which had the same problem).
My old 4gb card was partitioned with 512mb for Apps to SD (I can't even remember how I did this now, but I seem to recall it being really easy), and worked flawlessly. The new card can be seen in Windows 7 when I go into recovery on the phone and select mount USB Storage, and I seem to be able to get into it to format the card, but when I reboot, the phone hangs at the HTC screen. There is nothing on the card apart from the ROM I installed.
I've tried partitioning it in Recovery with ADB/Clockwork, but Parted will not load/work. I've tried...well, everything I could find over the last 4 hours to try to sort this out. It should be a simple task, surely!?
All I'm trying to do is put in a new 16gb card, partition it for Apps2SD and reinstall my backed up apps. I have been trying to do this since 9am (it is now 12.50pm), and my head is well and truly done in. Can anyone help? Please? I am at my wits end!
logcat is log
If you hang on the HTC Splash screen, a good place to start is always
Code:
adb logcat
Do this simple job..put da 16gb mem crd in card reader and connect with pc...partition it using paragon parititon manager or easeus partition manager...now freshly install a rom on this card..i m sure it will work flawlessly...n offcourse you can restore ur apps by transferring da backup to new card and restoring frm backups using backup manager or any backup software...
Sent from my HTC Desire using Tapatalk

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

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.

[Q] Apps on SD Card or Second Partition?

Is it better to have apps on the SD card or the SD card's second partition that I created, and If I flash a rom will they still be installed if they're in either location? I have the Samsung Extreme Speed Class 10 16GB Micro SDHC card.
Should I use the built-in a2sd or Link2sd, should the second partition be ext 3 or 4 and how should I format it?
I'm using ICS for HTC Desire 0.5.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
Thanks.
I can recommend to use Stock A2SD with EXT4 (fastest type). Partition size: => 512 MB.
Thanks for your response.
Yep apps on the ext partition. More advantageous. Saves space and doesn't break widgets. Apps are accessible even on USB mode.
Thanks also.
If I make an ext4 partition on my SD card and use the built-in a2sd with ICS for Desire, it will move all apps (including davlik, data and cache) to the second partition with the ability to move them back if needed?
If I flash a rom will they still be installed if they're in either location?
Yes, as far as I know, it moves all apps from your internal data to your ext partition.
a2sd supports moving your apps back, type "a2sd" to get a list of supported commands. The ones you are searching for are propably "a2sd nocachesd", "a2sd nodatasd" or maybe "a2sd noxdata", depending on the option you chose at installation.
If you flash a new rom, it depends on the rom and your installation setup, whether your apps remain or not.
If you flash a rom with the same a2sd script without wiping, your apps should remain. They will be lost in any other case. Always backup to be sure!
I have tried a few times with the A2SD script in (Sandvold's) ICS - but always get problems:
Very slow - at boot-up the "Preparing SD card" takes along time, and also for Apex launcher to internally catalogue the apps before being able to display their icons.
Worse still is downloading from the market, which takes 5x the length of time.
It is true I 'only' have a class 4 sd card - but others have reported this is OK.
I have ordered a class 10 card which will be with me shortly.
The worse problem is the phone keeps prompting me to input my SIM card number, and asking to reboot.
I am on stock HBOOT (but also previously tried cm7r2), I have tried stock and Tiamat kernals, and I have tried all different kinds of a2sd scripts. In some cases I have still run out of space, even though I have 1gb of ext4.
I am currently on Apex launcher, Tiamat kernal - and leaving apps where they are .... but I miss some of my favourites.
This configuration is stable - so I am hoping the new class 10 sd card will do the trick.
Looloup said:
I have tried a few times with the A2SD script in (Sandvold's) ICS - but always get problems:
Very slow - at boot-up the "Preparing SD card" takes along time, and also for Apex launcher to internally catalogue the apps before being able to display their icons.
Worse still is downloading from the market, which takes 5x the length of time.
It is true I 'only' have a class 4 sd card - but others have reported this is OK.
I have ordered a class 10 card which will be with me shortly.
The worse problem is the phone keeps prompting me to input my SIM card number, and asking to reboot.
I am on stock HBOOT (but also previously tried cm7r2), I have tried stock and Tiamat kernals, and I have tried all different kinds of a2sd scripts. In some cases I have still run out of space, even though I have 1gb of ext4.
I am currently on Apex launcher, Tiamat kernal - and leaving apps where they are .... but I miss some of my favourites.
This configuration is stable - so I am hoping the new class 10 sd card will do the trick.
Click to expand...
Click to collapse
Class 10 SD cards are reported to be unstable on the Desire, someone may be lucky with it running properly, but a lot of people have problems; check out the forum.
Thanks for the info. However, I tried it and most apps appear to be on the SD card. I typed a2sd install, y, n, y.
Class 10 card ... my observations
Ryther said:
Class 10 SD cards are reported to be unstable on the Desire, someone may be lucky with it running properly, but a lot of people have problems; check out the forum.
Click to expand...
Click to collapse
I saw conflicting advice on class 10 cards ... but in any case I took the plunge and ordered one from Amazon - wasn't too expensive .. 11GBP.
I set up the card from scratch via Gparted - wiped the phone and reinstalled Sandvold's 0.5.3 (Tiamat kernal, stock a2sd, Apex launcher ) turned a2sd on via terminal - moving everything ... and reinstalled all apps from the market not from TB.
Result: a very stable phone, nice and quick, no problems with download speed ... so I am pleased as punch.

most of app won't read SDCard

Hi...
This is my first post here.
I have a problem with my SD Card.
My SDCard: 32GB microSDHC, some application like music player and gallery sometimes can't read file on my ext sd card (but my file manager can do it flawlessly)
Furthermore, sometimes it shows PREPARING SD CARD on top of the screen, although I don't even do anything. I tried to re-mount it again. But the problem still sometime occurs.
This problem started happening when I changed my stock rom to Ressurection Remix, I thought this problem occurred because of the ROM. so I change it to AOSP. But still... the problem still existed. So then, I changed it back to my stock ROM (with restore option in CWM)
But yeah... Nothing happen.
Any idea?
P.S.: Sorry for my bad english.
extSdCard/sdcard 1 issues
I have a Note II N1907 (ATT) running Liquid Smooth with a SanDisk microSD ultra 32gb. I have been trying to figure this issue out since I bought this phone 2 months ago. I screwed up the original card that I transferred from my old phone some how by trying different things to make the phone recognize it. It worked fine in my HTC Vivid. I have root and am able to use root options to try to access this card of installation, but the best I have been able to do is use it for storage. And I have to manually move things to the card, because most apps do not acknowledge that it is there (can't see it). TWRP recovery can see it after I did my first ROM Flash, but I have to use internal memory for my first ROM Flash, because recovery mode was unable to mount extSdCard.
Is there a kernel I can flash to remedy this. I am no developer, but I think the problem is that the internal memory is also SD in type. I have noticed that internal memory shows up as SDcard0 (zero) and the after market sd card is sdcard1. Maybe the phone automatically defaults to the first sdcard and ignores the other (because it is only designed to have one sd card).
I am sure others have hard this problem with this phone. Thank you for any help you can offer..
floykoe said:
I have a Note II N1907 (ATT) running Liquid Smooth with a SanDisk microSD ultra 32gb. I have been trying to figure this issue out since I bought this phone 2 months ago. I screwed up the original card that I transferred from my old phone some how by trying different things to make the phone recognize it. It worked fine in my HTC Vivid. I have root and am able to use root options to try to access this card of installation, but the best I have been able to do is use it for storage. And I have to manually move things to the card, because most apps do not acknowledge that it is there (can't see it). TWRP recovery can see it after I did my first ROM Flash, but I have to use internal memory for my first ROM Flash, because recovery mode was unable to mount extSdCard.
Is there a kernel I can flash to remedy this. I am no developer, but I think the problem is that the internal memory is also SD in type. I have noticed that internal memory shows up as SDcard0 (zero) and the after market sd card is sdcard1. Maybe the phone automatically defaults to the first sdcard and ignores the other (because it is only designed to have one sd card).
I am sure others have hard this problem with this phone. Thank you for any help you can offer..
Click to expand...
Click to collapse
As soon as I saw your reply I scanned for the words "Sandisk Ultra" and then I knew this was your issue.
I had a lot of SD card corruption with this brand and searching a lot on the web I found many stories of people having the same issues as I did.
My 32Gb Sandisk Ultra was the cause of many of my problems. 2 months on with a Lexar 32Gb, no problems (touch wood)

Categories

Resources