1. Download our Official Android App: Forums for Android!

Root Desire crashes : how do I obtain log cat / crashes information

Discussion in 'Android Devices' started by Paul8944, Nov 7, 2011.

  1. Paul8944

    Paul8944 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    129
    Joined:
    Nov 17, 2010

    Nov 17, 2010
    129
    29
    43
    Quantity Surveyor
    Southampton
    This is something that I have been struggling with on and off for a while.
    Every now and then my desire has a hissy fit and locks up completely or just randomly re-boots.
    What is the best way to diognose the reason behind this.
    Should I be running a log cat constantly and if so which do people recommend .
    Or is there another solution.
    I am only after these log to try and get answers for the random restarts etc
    Thanks
     

    Advertisement

  2. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    You can try and look at /proc/last_kmsg.

    Logcat would be lost at crash unless you're connected to a pc.

    Do you overclock?
     
  3. Paul8944

    Paul8944 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    129
    Joined:
    Nov 17, 2010

    Nov 17, 2010
    129
    29
    43
    Quantity Surveyor
    Southampton
    Thanks I will try the /proc/ *** that you have suggested. I assume I can run this in a terminal emulator.
    I am overclocked but the crashes seem to happen at completely random times, sometimes during hravy use and even when the phone is just on my desk at work looking pretty.
    I am also undervolted using incredicontrol but have on dropped the mv by 50 or so
     
  4. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Well the heavy usage is overclock issue, where as idle is undervolted issue.

    When kernel crashes it *should be logged in last_kmsg automatically. Just check it after a crash
     
    Paul8944 likes this.
  5. Paul8944

    Paul8944 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    129
    Joined:
    Nov 17, 2010

    Nov 17, 2010
    129
    29
    43
    Quantity Surveyor
    Southampton
    Can I use that command at any time on a terminal emulator and are there meant to be any spaces in it as I have just tried it and got permission denied.
    Guess I will have to play with the overclock and undrvolt and get something a bit more stable
    Thanks for your help again........
     
  6. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    What command? Confused
     
    Paul8944 likes this.
  7. Paul8944

    Paul8944 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    129
    Joined:
    Nov 17, 2010

    Nov 17, 2010
    129
    29
    43
    Quantity Surveyor
    Southampton
    You and me both.
    Sorry for this but where do I enter the /proc/last_kmpg or is this a file on my SD card.
    Thanks for your help
     
  8. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Its a file path. If ever you see for linux based OS's, /something/somethingelse/someotherthing its a file path. For windows based OS's, its \something\somethingelse\someotherthing

    Nothing to do with SD card. On the root of NAND, where you find /system, /data etc, you will also find /proc. If you browse there with say, root explorer, you can open last_kmsg which will open as text.
     
  9. rowlers

    rowlers Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    520
    Joined:
    Oct 21, 2010

    Oct 21, 2010
    520
    51
    78
    this is interesting...
    I've had some reboots too. thought it was was I was OC'd at 1190!
    But it still does at 998. what would I be looking for after a crash?
     
  10. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Well the first thing to identify is what's the phone doing immediately before the crash?
     
  11. rowlers

    rowlers Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    520
    Joined:
    Oct 21, 2010

    Oct 21, 2010
    520
    51
    78
    Last time, i had some tune playing (poweramp 2) and was reading a book (aldiko 2). went to turn the page , freeze, reboot...
     
  12. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Normally would say kernel freq or voltages
     
Tags:

Share This Page

Loading...