Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,247 Members 50,407 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Did you find this Guide Useful ?
Hell Yeah 7 46.67%
Sort of... 7 46.67%
Not Helpful 1 6.67%
Hated It !@#$&*!** 0 0%
Voters: 15. You may not vote on this poll

[Guide]Noobs Guide to creating a logcat[All methods explained as of 20.1.2013]

Tip us?
 
Dark Passenger
Old
(Last edited by Dark Passenger; 1st February 2013 at 01:24 PM.) Reason: Spell Check:-p
#1  
Dark Passenger's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,144
Join Date: Apr 2012
Location: Pune
Default [Guide]Noobs Guide to creating a logcat[All methods explained as of 20.1.2013]

Q. What is a logcat?

Ans. A logcat is a sort of written report for what things(operations like starting processes lot of dev related technical things) the phone is doing at a given time.


this guide shall provide simple step by step method (Will try to be very short and direct)
Why create this guide cause i found a lot of guides on this topic(Really a lot !!!)
But were written in a fairly roundabout manner so here is my attempt to simplify things.

Prerequisites : (Please read before doing anything)

 


For creating a logcat via computer :

1.ADB(Android Debugging Bridge) you can get a smaller version from here : ADB & logcat tools.zip else you can get it along with android SDK.

For creating a logcat via phone :

1.alogcat/catlog[APP]

OR

2.Terminal Emulator.[APP]



Ok down to business...

Via Computer (ADB) :

 


very useful cause you can start logcatting(Is there such term) even before booting.

open terminal at the location for ADB example for me its C:/ADB>

so now your teminal should look like this :

Code:
C:/ADB>
now connect your phone via USB and don't forget to tick Android Debugging option under app>development(2.3.x) or Developer Option>usb debugging(4.0.x & above) on your phone

now type this in the terminal
Code:
adb logcat -v long > name of problem.txt
nothing will happen on the terminal don't worry its working to end the logcat press ctrl+c.

you shall have a log file called name of problem.txt or whatever you thought of substituting that name of problem with inside your ADB folder.



Via Phone :

 


1.Via Terminal Emulator :

its same as for adb except you are already in the shell that is rather than doing adb to reach your phone and then command just enter the command simple

type this in your terminal emulator :
Code:
logcat -v long > name of problem.txt
to finish logging press vol down button + c

you will find a text file on your SD Card.

2.Via logcatting(still don't think its a word) APP

here are the links.
1.CatLog

2.aLogCat(free)



Sources :
Current Device : Sony Xperia SP

Past Devices : Samsung Galaxy Fit
The Following 15 Users Say Thank You to Dark Passenger For This Useful Post: [ Click to Expand ]
 
Dark Passenger
Old
#2  
Dark Passenger's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,144
Join Date: Apr 2012
Location: Pune
If you have any doubts or problem Private message me ...(I do not reply to hate mail,controversies,or doubts that i feel have been adressed to the best of my knowledge here)

Good Luck and hope this helps you to get other developers address your problems convincingly
Current Device : Sony Xperia SP

Past Devices : Samsung Galaxy Fit
The Following 3 Users Say Thank You to Dark Passenger For This Useful Post: [ Click to Expand ]
 
speed_bot
Old
#3  
speed_bot's Avatar
Recognized Contributor
Thanks Meter 1262
Posts: 1,599
Join Date: Jan 2012
Location: Bangalore

 
DONATE TO ME
good tutoiral you could add some basic adb commands to the op..


For all the coloured chaps of xda please feel free to join my Facebook Group

My work's

[HELP/Q&A][SourceBuilding,AllDevices] The Source Building Q&A Help Thread
PAC Man rom for
Fit Grand
Cmx for Fit
Buy me a beer if you found my work helpful.
 
ZmisiS
Old
(Last edited by ZmisiS; 15th January 2013 at 04:50 PM.)
#4  
ZmisiS's Avatar
Senior Member
Thanks Meter 390
Posts: 2,038
Join Date: Dec 2011
Location: Livno
Via Phone don't works for me. Do I need to install something before this?
Samsung Galaxy Fit GT-S5670

CyanogenMod10.1 JB 4.2.2


free image hosting
 
Brady_4love
Old
#5  
Account currently disabled
Thanks Meter 2
Posts: 50
Join Date: Jan 2013
Location: »»City Of Dreams««

 
DONATE TO ME
Can we make a logcat through our phone? ?
 
sudarshan_mehta
Old
#6  
sudarshan_mehta's Avatar
Senior Member
Thanks Meter 270
Posts: 299
Join Date: Mar 2012
Location: $@STARS@$
Quote:
Originally Posted by brady_4u View Post
Can we make a logcat through our phone? ?
yes, you can do it from phone using terminal emulator!!!
 
Brady_4love
Old
#7  
Account currently disabled
Thanks Meter 2
Posts: 50
Join Date: Jan 2013
Location: »»City Of Dreams««

 
DONATE TO ME
Quote:
Originally Posted by sudarshan_mehta View Post
yes, you can do it from phone using terminal emulator!!!
What command?

And then can we copy all the data from there? ?
 
sudarshan_mehta
Old
#8  
sudarshan_mehta's Avatar
Senior Member
Thanks Meter 270
Posts: 299
Join Date: Mar 2012
Location: $@STARS@$
Quote:
Originally Posted by Brady_4love View Post
What command?

And then can we copy all the data from there? ?
search from google!!! i am too lazy to type all that commands!!!!

which data are you taking about?

Sent from my GT-S5670 using xda premium


HIT THANKS
The Following User Says Thank You to sudarshan_mehta For This Useful Post: [ Click to Expand ]
 
Dark Passenger
Old
#9  
Dark Passenger's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,144
Join Date: Apr 2012
Location: Pune
taking logcat via phone (apps and terminal) is explained in the first post please look.

if confused pm me.
Current Device : Sony Xperia SP

Past Devices : Samsung Galaxy Fit
 
flasherruts
Old
#10  
flasherruts's Avatar
Senior Member
Thanks Meter 54
Posts: 243
Join Date: Sep 2013
Location: Mumbai
Post thankx

Quote:
Originally Posted by Dark Passenger View Post
Q. What is a logcat?

Ans. A logcat is a sort of written report for what things(operations like starting processes lot of dev related technical things) the phone is doing at a given time.


this guide shall provide simple step by step method (Will try to be very short and direct)
Why create this guide cause i found a lot of guides on this topic(Really a lot !!!)
But were written in a fairly roundabout manner so here is my attempt to simplify things.

Prerequisites : (Please read before doing anything)

 


For creating a logcat via computer :

1.ADB(Android Debugging Bridge) you can get a smaller version from here : ADB & logcat tools.zip else you can get it along with android SDK.

For creating a logcat via phone :

1.alogcat/catlog[APP]

OR

2.Terminal Emulator.[APP]



Ok down to business...

Via Computer (ADB) :

 


very useful cause you can start logcatting(Is there such term) even before booting.

open terminal at the location for ADB example for me its C:/ADB>

so now your teminal should look like this :

Code:
C:/ADB>
now connect your phone via USB and don't forget to tick Android Debugging option under app>development(2.3.x) or Developer Option>usb debugging(4.0.x & above) on your phone

now type this in the terminal
Code:
adb logcat -v long > name of problem.txt
nothing will happen on the terminal don't worry its working to end the logcat press ctrl+c.

you shall have a log file called name of problem.txt or whatever you thought of substituting that name of problem with inside your ADB folder.



Via Phone :

 


1.Via Terminal Emulator :

its same as for adb except you are already in the shell that is rather than doing adb to reach your phone and then command just enter the command simple

type this in your terminal emulator :
Code:
logcat -v long > name of problem.txt
to finish logging press vol down button + c

you will find a text file on your SD Card.

2.Via logcatting(still don't think its a word) APP

here are the links.
1.CatLog

2.aLogCat(free)



Sources :
Thankx a lot man . Am a newbie and it helped me a lot!!!!! Thanks !!!

Tags
how to create a logcat, logcat guide, noob friendly
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes