[TUT]NooP-Frindly- Easiest way to create logcat - Galaxy Y GT-S5360 General

Hi
If u wana to logcat u can open treminal(on device)
Type
Code:
Su
Code:
logcat > /sdcard/logcat.txt
U will find ur log in root of sd

but for problems with boot this is no good
its best to do a full logcat in adb
http://forum.xda-developers.com/showthread.php?t=2141817

Ohhh I did'nt knew that!!!!
Sent from my GT-S5360 using Tapatalk 2

Thanks

Related

Logcat to desktop command.

I feel like such a tard.. i cant remeber the adb command to make the command prompt on my pc show the phones running logcat.
I tried adb shell logcat but the cursor just sat there looking at me like i asked something it couldnt do...
What command am i forgetting? I just want to see the logcat on my pc while i do thngs on the phone?
Sent from my PC36100 using XDA App
v_lestat said:
I feel like such a tard.. i cant remeber the adb command to make the command prompt on my pc show the phones running logcat.
I tried adb shell logcat but the cursor just sat there looking at me like i asked something it couldnt do...
What command am i forgetting? I just want to see the logcat on my pc while i do thngs on the phone?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I don't quite remember this either, but have you tried.... adb shell logcat > log.txt
I believe its:
adb logcat > name of rom.txt
Sent from my SUPERSONIC
The arrow key is just a space right so
adb logcat logcat.txt
Sent from my PC36100 using XDA App
v_lestat said:
The arrow key is just a space right so
adb logcat logcat.txt
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
no the arrow is the arrow
freeza said:
no the arrow is the arrow
Click to expand...
Click to collapse
Correct.
Sent from my SUPERSONIC
i just use adb logcat and it comes out. use control c to exit
If on Linux/Mac:
Code:
adb logcat > ~/logcat.txt
If on Windows:
Code:
adb logcat > %userprofile%\Desktop\logcat.txt

Logging terminal activity?

I'm running a script and want to log the terminal as the script is running. How do I do this?
Grab alogcat from the market or use 'adb logcat > FILE.TXT' advanced logcat has a switch to output it to a file but I do not know what it is.
Sent from my Incredible using Tapatalk

Logcat how to

I need to know what i need to do to post a logcat
Sent from my PC36100 using xda premium
install adb on your computer and do the adb logcat command adb logcat -d > logcat.txt and then upload to pastebin or dropbox
Sent from my EVO 4G using XDA

[GUIDE]How to provide a logcat ![ATUALIZED]

Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Provide logcat on Ubuntu
Qtabd 32 bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux32.tar.gz
Qtabd 64bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux64.tar.gz
Binaries ADB : http://motyczko.pl/qtadb/linux_binaries.tar.gz
Open terminal:
Code:
sudo apt-get install libqtgui4 libqt4-network libqt4-declarative
32 bits :
Code:
$ cd Downloads/linux_binaries/
$ sudo cp adb aapt /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x adb aapt
New terminal
Code:
$ cd Downloads/QtADB_0.8.1_linux32
$ sudo cp QtADB /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x QtADB
Now
Code:
$ sudo QTABD
Tell where are the binaries and enjoy!
Thnx sir
Very useful
sent using repencis 3.5 wid a2sd
press thnxxx
very nice guide......... also post about how to provide logcat using Android SDK ...........its good to know all new user how to use SDK
Sent from my GT-S6102 using Tapatalk 2
Sir i hope u upload the Terminal Emulator too....
Sent from my GT-S5360 using xda premium
it works well in my device.
Sent from my GT-S5360 using xda app-developers app
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
using part Windows
using qtabd !!
Nice work, this should be good for the community. Sticked so that everyone will see it and learn how to do it.
whitexp said:
using part Windows
using qtabd !!
Click to expand...
Click to collapse
How about ubuntu? Cause im on ubuntu although i do have windows running from virtualbox but thats only for the rest of my family here cause they prefer windows and i prefer ubuntu ... its 64 bit ubuntu by the way.,. How to get logcat then?
Sent from my GT-S5360 using xda premium
atualized
whitexp said:
atualized
Click to expand...
Click to collapse
nice
its helpfull!
thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Click to expand...
Click to collapse
here is a method that worked for me.
1. Turn off your phone (if stuck, just remove the battery).
2. At your command prompt, do "adb logcat > logresult.txt".
3. Plug your phone to your usb and power it.
4. After at least 1-2 minutes or until the phone has fully booted up, terminate your logcat session (ctrl+c)
Click to expand...
Click to collapse
Can op or anyone add info how to read and analyst error from logcat??
Love You man...
whitexp said:
Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Click to expand...
Click to collapse
Hey... Nice job... thanked already...
---------- Post added at 12:14 AM ---------- Previous post was at 12:03 AM ----------
Just wondering, can you also upload some tutorials on identifying common issues through logcat?
that would be great for me as i am not of comp sc background, yet want to positively help the devs and possibly someday dev some... B)
[I think some others are also thinking just what i am thinking... LOL]
hey man working great! thanks :good:
very useful thread, thank you
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
alkesh95 said:
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
nitubhaskar said:
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
Click to expand...
Click to collapse
Thanks buddy....
Sent from my GT-S5360 using xda premium

[Q] How to disable logcat service?

Anyone know how to disable logcat? Don't need the logging. Tq
Sent from my SM-N750 using XDA Free mobile app
fylim said:
Anyone know how to disable logcat? Don't need the logging. Tq
Sent from my SM-N750 using XDA Free mobile app
Click to expand...
Click to collapse
bro logcat and kmsg u cnt turn it off its for debugging stuffs like it stores all the info aba os live but don't worry it dose not use any system resources btw logcat keeps a track of your all java VM activities like apps loading crash connection etc and kmsg keeps the debug msgs from ur kernel like cache oom and many but u can force turn it off there is a way if ur rooted than only try make a small script for deleting file logs r always stays inside your emulated drive where kernel is loaded u can find it inside root directory /dev/log there u can c 4 files radio system etc if u del all u will find logcat stopped working i mean this is the only way 2 turn logcat off bt on everyboot those files will come so u need to make a script on boot using script manager or boot shell etc put commands like
Code:
busybox rm /dev/log/system
like that :highfive::good:

Categories

Resources