Remove All Ads from XDA
Honor 9 Lite

Logcat File?

6 posts
Thanks Meter: 0
By NvrSlowsDown, Junior Member on 1st August 2009, 06:47 AM
Post Reply Email Thread
I have been searching around but haven't found the answer. I have got logcat working but I haven't figured out how to make a logcat file to look through on my computer. I found a post that said to type: adb shell logcat > /logcat but the screen just sits there without anything ever happening.

I think it would also be helful for someone to write up a good tutorial on how they use logcat to figure out problems with there phone so people can do more than just come into the rom forums and say they are getting a force close on this app or there is a lot of lag. Those don't help much in figuring out if it is a problem with the rom, the app, or some old apps hanging around causing trouble and time for a wipe.
1st August 2009, 07:21 AM |#2  
lukekirstein's Avatar
Senior Member
Flag Chandler, Arizona
Thanks Meter: 2
Have you actually confirmed that ADB is working? Try just typing "adb logcat" and you should get a scrolling log that updates as the phone works on Command Prompt.
1st August 2009, 07:31 AM |#3  
OP Junior Member
Thanks Meter: 0
Yes that is what I am getting now but I want to output that to a file.
1st August 2009, 08:14 PM |#4  
OP Junior Member
Thanks Meter: 0
Someone should be able to answer this question for me.

What am I doing wrong?
1st August 2009, 10:57 PM |#5  
lukekirstein's Avatar
Senior Member
Flag Chandler, Arizona
Thanks Meter: 2
Nothing. That works fine. You can then go to command prompt menu (right click the title bar I believe) and select "mark". That'll let you select text, then you can use that same menu to copy and paste.
1st August 2009, 11:03 PM |#6  
OP Junior Member
Thanks Meter: 0
I answered my own question.
You type:
adb logcat > logcat.txt
Then the command prompt screen doesn't appear to be doing anything but it is writing everything to the logcat.txt file which is in the SDK tools folder that you are running the logcat file from.

Now my question is, is it normal to get this Low memory warning. I wouldn't think it would be but I don't know for sure. I do see some background applications that I can get rid of permanantly but is there anything else I can do or I can look for to prevent this. Also to exit the logcat I have just been unplugging the usb cord from the phone, is there some other way to end the command?

D/dalvikvm( 3678): GC freed 4441 objects / 377680 bytes in 303ms

D/dalvikvm( 3685): GC freed 3698 objects / 264640 bytes in 312ms

I/ActivityManager( 132): Process (pid 3614) has died.

I/ActivityManager( 132): Low Memory: No more background processes.

I/WindowManager( 132): WIN DEATH: Window{43995d08 paused=false}

D/dalvikvm( 245): GC freed 7 objects / 248 bytes in 450ms

D/dalvikvm( 569): GC freed 7 objects / 240 bytes in 429ms

D/dalvikvm( 189): GC freed 81 objects / 4624 bytes in 460ms

D/dalvikvm( 132): GC freed 3069 objects / 131080 bytes in 674ms

D/dalvikvm( 3639): GC freed 7 objects / 256 bytes in 968ms

D/dalvikvm( 3632): GC freed 7 objects / 256 bytes in 981ms

D/dalvikvm( 3646): GC freed 7 objects / 248 bytes in 978ms

D/dalvikvm( 443): GC freed 7 objects / 248 bytes in 1018ms

D/dalvikvm( 3192): GC freed 7 objects / 240 bytes in 1053ms

D/dalvikvm( 510): GC freed 48 objects / 1720 bytes in 1014ms

D/dalvikvm( 359): GC freed 7 objects / 240 bytes in 1101ms

D/dalvikvm( 3701): GC freed 1207 objects / 95176 bytes in 858ms

D/TrackingPatternView( 132): width=480 textureWidth=120

D/dalvikvm( 3678): GC freed 1354 objects / 99528 bytes in 516ms

D/dalvikvm( 3685): GC freed 887 objects / 53240 bytes in 462ms

D/TrackingPatternView( 132): width=480 textureWidth=120

D/HomeLoaders( 3685): load applications

D/HomeLoaders( 3685): loading user items

D/HomeLoaders( 3685): --> starting workspace loader

D/gmail-ls( 3678): Purging old attachments
14th March 2012, 05:23 AM |#7  
moeahmad1995's Avatar
Senior Member
Flag Chicago
Thanks Meter: 157
Press control c to stop it without unplugging
14th March 2012, 05:39 AM |#8  
Senior Member
Thanks Meter: 177
Ey this is 3 years old :P
I don't think he'll check for an answer anymore
Post Reply Subscribe to Thread

adb, logcat

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

Advanced Search
Display Modes