Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

Logcat File?

6 posts
Thanks Meter: 0
By NvrSlowsDown, Junior Member on 1st August 2009, 05:47 AM
Post Reply Subscribe to Thread 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, 06: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, 06: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, 07: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, 09: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, 10: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, 04:23 AM |#7  
moeahmad1995's Avatar
Senior Member
Flag Chicago
Thanks Meter: 157
Press control c to stop it without unplugging
14th March 2012, 04:39 AM |#8  
Senior Member
Thanks Meter: 176
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes