Are there any log files you can look into, or any good ways of finding out if an app is causing the phone to hang (if even possible)? My friend has an Xperia Arc and after a while with a custom ROM he's having issues with his phone hanging completely, requiring him to do a "battery reboot" to use it again.

I know that it's probably good to try another ROM and kernel to see if it's specific to that or not, but I'm just wondering if there are any good, general pointers on what to look up first.

  • From a troubleshooting perspective, it's almost certainly the ROM that's causing this, probably kernel related. – sloosecannon Aug 20 '14 at 20:39

Problem with most log files is: They do not survive a boot, as they are stored on tmpfs (a temporary file system in RAM). So once you have to boot, they are gone. Leaving your best chances to some app capturing the log and saving the capture to SDCard. As far as I know, aLogCat is capable of that. An alternative is to send the log to another machine (such as a PC) via WiFi, which can be done using Logcat UDP. The so-captured log might not directly mention the cause (as the freeze probably keeps the final bytes from being sent/written), but at least it should yield some useful information of what was going on at the time of the freeze.

Some other sources you might want to check:

| improve this answer | |

There's the logcat which is almost always the first thing you should look at when you're experiencing any issues. Then you need to distinguish between the app locking up, which will may cause an "Application Not Responding" dialog at worst, and framework lock up, which usually will cause a hard reboot at worst. In the case of framework lock up, logcat may not necessarily be able to reliably capture all log information but usually you may still be able to catch the cause of the lock up by looking at what is happening a few minutes prior to the lock up.

For small janks, there are debugging tools that can help, but they require you to install the large-ish SDK, and most only work when the applications are set to allow debugging.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.