[Desire Q&A, Help & Troubleshooting] ranajideb:
Hi infozerich,

Thanks a lot for the such a detailed troubleshooting effort. :) I have written the responses inline.

The ROM you are currently trying out is only 2 weeks old.

If you are looking for a relatively stable ROM, look no further than ICS. I'd recommend starting with Gingerbread ROMs for stability, because those have been actively developed for years. ICS and Jelly Bean are very recent, and the developers have clearly stated these are not fully operational.

Android Versions

ICS and JB are pretty much at the bleeding-edge of development so you should stick with Gingerbread (2.3) if you are looking for stability, MildWild, MIUI, CM 7.1 etc. have been out for awhile and should be relatively stable.

Response: I had tried almost all versions of Mildwild and MIUI till november 2012, but there will stability issues with them too especially when I used A2SD

The benefit of using Gingerbread ROMs is that there are a range of choices for which kernels you can use. This can result in more power-savings and efficient use of energy. However, if you prefer using ICS/JB ROMs, stick with 4.1.2 for awhile and use the V6 Supercharger script for memory management. I would recommend reading zeppelinrox's post regarding undervolting and overclocking because these can cause random reboots that leads to a subsequent consumption of a lot of energy due to booting up.

In relation to the V6 Supercharger script, skip the boot-up scripts to avoid boot loops.

Response: Thanks have bookmarked the link, will go through it

Power Issues and Random Reboots

This sounds like a kernel issue. I would suggest testing No-Frills CPU Control or something similar to SetCPU to set Min/Max frequencies within an acceptable range. Generally, 245 - 998 MHz for the HTC Desire is advisable. Try setting it lower if your phone heats up. Recommended settings would be selecting the ondemand governor and either noop/deadline as the I/O scheduler.

SD card problems

If the sdcard filesystem has been damaged you will need to repair it. There is an option in 4EXT Recovery to do just that. If you have formatted the sdcard, can you describe your partition table? To partition your SD card in 4EXT Recovery, select partition, EXT4 (fs), 512 (sd-ext), skip sd-ext2, 256 (swap).

Response: I am using a 8GB Class10 sdcard with a 512mb EXT4 partition and 6.89GB fat32, but the swap size I selected was 0mb

Additional Questions

Can you provide a logcat for errors and fatal errors? It'd be useful to diagnose the problem.

Response: Ill be more than happy to, if you tell me how to generate a logcat. Do I open the terminal and type logcat > /sdcard/logcat.txt ?

What recovery are you using?

For convenience, try the 4EXT Recovery and partition your SD card from there.

Response: Yeah, I'm using 4EXT recovery.

Have you compared the checksum of the ROM you downloaded to the checksum on the ROM download page to make sure it is a complete download?

Response: Have never compared checksum values while selecting a ROM, will factor that in from now on

What do you mean by problems accessing data on your SD card? Can you browse the SD card's contents?

Try fixing permissions from 4EXT Recovery.

Some ROMs feature an A2SD script. Do you activate these in Terminal Emulator? The ROM you are currently trying out has A2SD. From the Terminal Emulator app get superuser access with: su

install with: a2sd install

enter options with: Y, enter. N, enter. Y, enter. (reboots).

This provides more usable space on data that you can use to install more apps. After this, reboot and leave the phone alone for 5 minutes on boot-up for the phone to stabilise.

Response: A2SD is the area where I am facing a lot of issues, almost all the ROMs that I've tried start giving problems if I try and activate A2SD or flash gapps directly from recovery (in case the ROM requires it).

Before flashing a new ROM, charge your phone to >60% battery, better at full. Also, try wiping data to factory defaults and the dalvik cache. After flashing a ROM, it is advisable to leave it alone for 5 minutes or so.

Response: Yeah..Have been following these instructions while installing a new ROM

Thanks again for taking the time out to explain so many things in detail.

Will try installing the latest version of MildWild with a 512mb EXT4 partition and 256 swap and see if its stable.