Logcat from kernel crash? - Android Q&A, Help & Troubleshooting

Hi all,
Is it possible to grab a logcat from when I segfault in the kernel? I'm connected over gdb to my remote target, but I can't connect to adb since I'm segfaulting. Is it possible to do through gdb to get the logcat ring buffers or something?
Thanks

Related

CM6.01 reboots - how to do logcat?

My phone has been rebooting many times recently. I have read about people mentioning a logcat when connected via USB. I am keen to help shed light on reboots so want to know what I need to do after a reboot.
Do I simply hook up the phone to my PC via USB and run a command to dump some sort of error log file?
Darren
ADB is your friend
DarrenNewsgroup said:
Do I simply hook up the phone to my PC via USB and run a command to dump some sort of error log file?
Darren
Click to expand...
Click to collapse
Yes. You shall use ADB for viewing log from PC.
I use the ADB included with SuperOneClick 2.1.1
Download it from here: ftp://shortfuse.org/SuperOneClick/Packages/SuperOneClickv2.1.1-ShortFuse.zip
Inside the zip there is an ADB folder. First, if on windows, try just invoking adb.exe from a command prompt (cmd), it will spit out the parameters.
For log viewing, connect USB to phone and start "adb.exe logcat".
If you want to redirect the output to a file, you can use "adb logcat > output.log", for example.
Cheers,
timara

[Q]Start logcat via init.d script?

Here's the sit: A very good developer is trying to blind port a JB ROM to his sister device which happens to be my device. There's some issues and he needs a logcat starting as early as possible. I tried to run logcat from terminal emulator but it didn't output a log to the directory I specified. In the logcat tutorial thread it says to end logcat by pressing control+c; obviously that's not possible on the phone itself. So, is it even possible for a shell script to start logcat, end it via terminal emulator and the log then created?
Sent from my LG-P999 using xda premium
Волк said:
Here's the sit: A very good developer is trying to blind port a JB ROM to his sister device which happens to be my device. There's some issues and he needs a logcat starting as early as possible. I tried to run logcat from terminal emulator but it didn't output a log to the directory I specified. In the logcat tutorial thread it says to end logcat by pressing control+c; obviously that's not possible on the phone itself. So, is it even possible for a shell script to start logcat, end it via terminal emulator and the log then created?
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Download and install the android SDK
Then in terminal or cmd prompt type
Adb logcat
Sent from my HTC PH39100 using Tapatalk 2

[Q] ADB and mediaserver

Is there any way to do with the ADB, which file is using or scanning the mediaserver process?
I tried a logcat without result, the same goes with a bugreport.
Does anyone know?

how to take logcat

i am using ddms in android sdk to take logcat but i cant take logcat while booting the phone
use google

[Q] logcat error?

Code:
c:\logcat>adb logcat > logcat.txt
- waiting for device -
error: protocol fault (no status)
- waiting for device -
c:\logcat>
what does that suppose to mean? i need logcat for my miui port and i get this message.
the logcat.txt is saved in logcat folder
butr the file is blank.
Do adb devices and see if it can actually see your phone.
Sent from my HTC6435LVW using xda app-developers app
no it doesnt not while booting. does how ever see phone in recovery fastboot and adb sideload strange
well nevermind i lost all adb functions im dead in the water.
wheres that adb.ro.sercure=0 maybe thats the issue

Categories

Resources