FORUMS

 View Poll Results: What are you using this guide for?

A starting point to learn
 
669 Vote(s)
71.94%
A quick refresher course
 
123 Vote(s)
13.23%
Troubleshooting
 
308 Vote(s)
33.12%
Referring users from development threads
 
56 Vote(s)
6.02%
Linking to my own guide(s)
 
15 Vote(s)
1.61%

[UNIVERSAL][LOGCAT]How to get & read a logcat/ Troubleshoot your own issues!

6,793 posts
Thanks Meter: 9,197
 
By Stryke_the_Orc, Retired Senior Moderator on 11th May 2013, 04:04 PM
Post Reply Email Thread
14th September 2019, 04:16 PM |#871  
Member
Thanks Meter: 6
 
More
im new to this, can someone explain how to take kernel log after random reboot?
14th September 2019, 05:25 PM |#872  
ktmom's Avatar
Retired Forum Moderator
Flag Deep Space Station K7
Thanks Meter: 3,544
 
More
Quote:
Originally Posted by andreas123lb

im new to this, can someone explain how to take kernel log after random reboot?

It matters what version android we're talking about. Stack Overflow link discusses a couple of different ways.
14th September 2019, 05:30 PM |#873  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by ktmom

It matters what version android we're talking about. Stack Overflow link discusses a couple of different ways.

thanks ,according to your link soo the comand is cat/proc/last_kmsg, and to write the comand in terminal emulator sir?
14th September 2019, 06:34 PM |#874  
Recognized Contributor
Thanks Meter: 3,590
 
More
Quote:
Originally Posted by andreas123lb

thanks ,according to your link soo the comand is cat/proc/last_kmsg, and to write the comand in terminal emulator sir?

if you're running a newer version of Android/kernel that location has changed as mentioned further down the linked thread).
So if that file doesn't exist then use:
cat /sys/fs/pstore/console-ramoops-0

Note that the files won't exist unless you had a kernel panic causing an unexpected shutdown.

If you're rooted with Magisk the linked post contains a Magisk Module which will automatically retrieve the ramoops file and copy it to /sdcard
https://forum.xda-developers.com/pix...3/post79933175

If you're creating last_kmsg instead then you'll have to modify the service.sh script. Exact location is in the post.
14th September 2019, 06:35 PM |#875  
ktmom's Avatar
Retired Forum Moderator
Flag Deep Space Station K7
Thanks Meter: 3,544
 
More
Again, it depends on Android version. at least three different locations are discussed in that thread.
1st January 2020, 10:30 AM |#876  
Senior Member
Thanks Meter: 27
 
More
freshly compiled havoc os not passing havoc boot animation
Here is logcat att plz help
Attached Files
File Type: txt logcat.txt - [Click for QR Code] (245.7 KB, 14 views)
6th June 2020, 05:16 AM |#877  
Senior Member
Flag Adelaide
Thanks Meter: 33
 
More
Is there Concise guide for Matlog that explains all functions in a logical order.
1. To setup all parameters first.
2. Record a log.
3. Get application that has errors started.
4. Get errors from the mishaving app. ie cannot login to server. "User name or password incorrect" message.
5. Stop recording and save log.
6. Open the log and display it. Using log, search keywords, to isolate errors within log.
7. Open log and use log levels to reduce no. Lines of text to display the problem, using search again to use keywords. To further reduce no of lines appropriate to the issue.

Methods include using Matlog app. or ADB commands on PC. Which is best method.

Cheers
4th August 2020, 04:33 PM |#878  
Senior Member
Flag Milan
Thanks Meter: 324
 
More
clean built POSP that get stuck on bootanimation. I cannot really understand what's the problem even reading the log output. I've took it from adb while trying to boot for more or less 10 minutes.
Someone have the time to help me understand it?

https://del.dog/irimenucys

Thanks a lot.
Post Reply Subscribe to Thread

Tags
how-to, logcat, troubleshooting

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes