[Samsung Galaxy Star] Niku-Droid:
So,

SGS users, here is my another thread, for guys, who want to help devs of our sgs community. ;)

Devs asking you to get a logcat and give?? Yes it helps a lot for devs if you give logcat to solve problem. So dont wait till devs ask you to get a logcat! Just give them a logcat when you tell them this/that doesnt work. This way theirs and yours time will be saved and unnecessary posts will be avoided.

Now i will give you simple steps to do it. There are two main ways to do a logcat, 1. within android device, and 2. through adb using PC.​

WITHIN ANDROID DEVICE METHOD:

1. Logcat within android device can be done in one of two ways, through a Logcat app: Difficulty --> Very Easy

Here are two good apps: aLogcat or Catlog

Both of these programs can dump their logs to a text file, which is very useful for debugging. Or, you can do it in terminal emulator (same rules as running through adb(see below))

2. Through Terminal method: Difficulty --> Almost Easy

Install Android Terminal Emulator app from Play Store..

Open terminal app you just installed..

Enter these commands:

After every command press ENTER/SUBMIT button

su

then accept the superuser popup message[it comes only first time if you select checkbox "remember the choice"]

logcat -v long > /sdcard/test.log

Or use this command:

The -v long puts the text in a nice format that is more easily readable. The *:W will search for all warnings, errors, and fatals, while the *:S will silence everything else.

So essentially, u will have a .txt file that has a log of all warnings and up, nothing else, and it'll look pretty too!

logcat -v long *:W*:S > /sdcard/filename.txt

now press home button to minimize the terminal..

and do the task which is giving problems/ whichever task log you need to give to dev..

then drag the notification bar..

select terminal app in it..

now press and hold "Volume down button" and touch c button on keyboard.

This will stop the command..

now use this command twice

exit

Now app will get closed. go to sdcard to find test.log file.. upload it to here so that dev can access it..

Thank you for reading it with patience :) hope you can get logcat now..

Note: if you are stuck in boot and want to take logcat.. READ LOGCAT FROM ADB METHOD BELOW.. the above one is simple method for these tasks for eg.. if you are having some force close of app/lag etc.. then after entering second command press enter and then use home button to minimize terminal.. dont worry it will take log.. now open that app and once it gives force close then click on it and then open terminal again and press volume down button + c to terminate command.. then use exit command two times... done.. now go to sdcard and find a.txt file

From PC[i.e, ADB] LOGCAT METHOD :Difficulty --> Medium

There is an advantage here. As doing this way, you can start using logcat when your device boots. There are 2 ways here again..

PREPARATION:

In your android device, go to settings --> applications --> development -->

Check USB Debugging

Make sure your device driver is already installed otherwise install kies software which will install drivers too.. Get kies from This LINK

You need to download this ADB.zip file i made to your system.. Download link

Extract the ADB.zip file from any applications like IZarc/7Zip/winzip/winrar.

ADB USAGE INSTRUCTIONS:

Then go to Android folder.. inside that you should find 3 files.. Now open a command prompt or terminal in that path..(wherever you extracted it.. use cd command)

Then inside that path.. type

adb logcat > filename.txt

Or

logcat -v long > /sdcard/test.log

Or

logcat -v long *:W*:S > /sdcard/filename.txt

Now perform tasks in android device of which you need to give logcat for the devs. Then use CTRL+C to end the command.

Now find the filename.txt inside the Android folder which has logcat. Upload this file and give link to dev..

The full list of options that can be used with logcat command is as follows:

V — Verbose (lowest priority)

D — Debug

I — Info (default priority)

W — Warning

E — Error

F — Fatal

S — Silent (highest priority, on which nothing is ever printed)

You can replace the *:W with any other letter from above to get more info.