[HD2 Android SD Development] steve austin:
culprits - CPU overload

ok, I have been having this problem with this build. I have never experenced before and I did a bit of research and here is what the issue has been. (Check and see if this is happening for you too under similar circumstances).

Get these apps first:

OSmonitor and SeePU PLUS.

(in case you don't know). They let you monitor CPU strain/activity. What you need to do is (for Seepu) activate the network and cpu toggles. they will give you a blue (for network) and oragnge (for cpu) indicators in the notification bar. Getting the Plus version will allow you to do a history chart (whick i reccomend so you can see the actual activity).

OsMonitor

I run this along side SeePU. The reason why is this lets you see what program is clogging up your cpu. This is key to the process. It will turn bright green in the notification box.

Now the problems:

Situation 1: after going to the market to get an app, especially one with 3-5mb's, the phone will download it. You will see the blue network indicator rise in seepu, the orange indicator rise in cpu and the green box fill up in OSmonitor.

Situation 2: there will be, at least for me, at least 10 updates in the marketplace after a reboot. What I had been doing is just updating them all at one time. Again, you will see the same indicatiors rise in seepu and osmonitor.

Situation 3: opening up Unistaller app. The uninstaller app has to populate the screen with all the apps. That is time you will only see the orange and green indicators light up. (no blue because there is no network connection).

Observations: In situation 1 & 2 I erroneously thought that I was not getting a connection. Actually, after installing the two programs mentioned above, it became clear that the CPU just hung there and was jammed. By using OSmonitor i saw that "smd_tty" was taking up 90% of the CPU on top of the other sytem processes. I would just keep pressing buttons to try to go to other screens. Then came the unscheduled reboot. They system is stuck and can't process anything else.

Problem is, OSmonitor is "supposed" to allow you to kill the process. It does'nt. So I can see my problem now, before the system overloads and reboots, but I can't kill the process. What is smd_tty and can it be deleted?

Observation: For situation 3, this is random. You could try to send an mms message and flip through the main gallery that has all the thumbnail bics and it will slow your system down. You can use an uninstaller. It could be numerous things. The two programs will let you know when things are getting bogged down. At least, in my case, it is not a mystery anymore.

Concusion: I asked a question about this in two other forums.

http://xdaforums.com/showthread.php?t=844210

Hastrain, if I am correct, believes that this is a wrapper issue...?

http://xdaforums.com/showthread.php?t=840876

there seems to be a (delvik) memory issue "possible" resolution, but I don't have the files that the person is talking about in my android folder. Therefore, I can't apply the fix.

Anyone with knowledge far greater than mine is free to add or help. I am still having the overloads, but at least I am a bit clearer on what is going on - i think.:confused: I hope this helps.