How to troubleshoot a lockup/freeze I have a GNex running on CN(A) 3.8. It has started to lockup/freeze when the screen is off. So far it occurs mostly overnight while it's charging. I have to pull the battery to resolve. I believe it started a couple of ROM updates ago. I have not gone through the step of doing a factory wipe (but have cleared the cache/Dalvik), etc, but I was wondering what tools does Android have to troubleshoot freezes, etc.

Is there a system log, etc that I can look at to see if there's a pattern of what is occurring at the time of freeze?
There are apps that let you look at the system log, like CatLog.

What I would do is start logging before you charge it at night and then take a look at the result in the morning. The log will probably be staggering but the errors should show up in red.