how to take logcat - Galaxy S III Q&A, Help & Troubleshooting

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

use google

Related

Logcat not working

When I try to enable logcat i just get the message:
Unable to open log device '/dev/log/main': No such file or directory
Click to expand...
Click to collapse
After some searching i got that I must enable logcat but how to do that is different on all devices and kernels.
So how to enable logcat?

[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] 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

Logcat from kernel crash?

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

How to enable Logcat logs using the Android Studio ?

I have been trying to capture logcat logs/device logs using the 'Android Studio' on my Win 7 ... but I always see empty screen. When I try to so the same with any other device I can see all the traces.... What I am doing wrong ??? Can anyone help me please?

Categories

Resources