Hot answers tagged logging
15
You can either download the SDK and use adb logcat or get aLogcat from the Market, which shows the log directly on your phone.
Jelly Bean
With Android 4.1 (aka Jelly Bean) the full system log is only visible if you have root. Apps can only see their own log messages. For more information view see this question.
10
I think you have caught yourself out, in short, nothing you can do!
Have a look at this source that explains why, specifically in this section:
System Partition and Safe Mode
The system partition contains Android's kernel as well as the
operating system libraries, application runtime, application
framework, and applications. This partition is set ...
7
These free apps in the Market claim to be able to display your logcat, and don't make any mention of root. Should only take you a few minutes to try them out:
CatLog
aLogcat
LogViewer
7
/data/system/dropbox is not part of "DropBox" it is part of the Android OS DropBoxManager (not related at all to "DropBox").
This puts data from application crashes and kernel logs and such in this log directory. I know the market uses this directory(See #4) as well, probably to report application crashes.
You could probably remove the data in this ...
7
Does anyone have any suggestions as to how I can see the full text of the errors which are occurring when trying to sync my K9 folders?
It seems that there is no way to see these log messages on the device without root access, but if you do have root access, there are a couple of options, either grant the required permissions to aLogcat or consider ...
6
Log-File locations
There are several directories where logs (including those from crashes) might appear -- not all of them are standardized (i.e. some may be ROM-specific).
/data/anr: Some trace files seem to get here (Dalvik writes stack traces here on ANR, i.e. "Application Not Responding" aka "Force-Close"; see e.g. log excerpts here)
/data/dontpanic ...
6
Sniffing the network traffic would require root for the app that does the sniffing part. This can easily be done with "shark for root". But you won't get any end-user friendly information, just the raw packet data that's been send and received from your phone. That information needs to be matched to a particular app and action (e.g. app xy is uploading photo ...
6
No, for security reasons it is not possible to access android log files on the Nexus 7 without root access. Google changed that with Jelly Bean.
I'd suggest you wait until logcat readers like aLogCat and such get fixed (i.e. they will require root access to show all logs then).
It has been found that the READ_LOGS permission allows access to many protected ...
5
Not very active if you use apps like aLogcat. The permissions system regarding to logs was changed with Jelly Bean: The permission to read logs "READ_LOGS" is now systemOrSignature, which means that an app that is not signed with the ROM/system key can only view it's on log. IIRC you can still view the full android log with adb logcat from the SDK.
I think ...
5
You already pointed to the correct lines -- the interesting ones are the two immediately before it:
10-01 18:25:44.391 V/AlarmManager( 279): sending alarm Alarm{40d4f110 type 0 com.gau.go.launcherex.theme.GalaxySTheme}
10-01 18:25:44.391 V/AlarmManager( 279): pending wakeup alarm com.gau.go.launcherex.theme.GalaxySTheme
10-01 18:25:44.411 E/power ( ...
4
You don't need to root your phone to run adb logcat with the Android SDK, but I did just test it in my Terminal Emulator and I did have to be root (used the su command -- my phone is already rooted) to run logcat in the terminal on my phone.
So yes: if you have root on your phone you can run logcat from a terminal on your phone.
4
The only log I remember, that contains installation success/failure info is the one that can be accessed via ADB (android debug bridge). The command is:
adb logcat
But you might not have the Android debugging tools installed, so an easy way of looking at the logcat is to install aLogcat from market. Because that log is a memory buffer (I learned it form ...
4
If you want sane information, I recommend sane commands :) (no offense meant, just kidding). So the question should read:
How to obtain log information from an Android device?
And now we are on the better side. There are multiple approaches which can be used:
utilize apps to display (color-coded) log information
utilize ADB (part of the Android SDK) to ...
4
Ok, found the answer here
When you start the update process it loads that screen with the android character and the yellow progress bar, as soon as that screen shows up press both vol up and vol down at the same time and it will switch to verbose mode where it will show each step of the install process. When it fails it will typically display a directory ...
3
You can run tcpdump on the background(compiled for Android processor of course) in a shell, save the captured file and analyze later with wireshark on your pc. That solution will not tell you what application sent the data, but enables you to examine what your phone sends and where. The great benefit is tcpdump under normal situations does not consume many ...
3
Logs are written even when logcat is not connected, although I believe the logs are limited to a certain maximum size. They are, however, cleared on reboot. You can try using an app such as aLogCat to persist the logs to files, and hope it can catch whatever is misbehaving "in the act".
3
Use the phone information dial code if it works.
In your dialer enter *#*#4636#*#* to get to the phone info screen.
On my Spica running 2.1 Eclair, the last option of USAGE STATISTICS shows the usage time (in milliseconds) and the no. of times an app has been launched.
At first glance, it does however seem to be a log restricted from the time the phone ...
3
You might be able to get some of what you want from Carat. This app is a project from UC-Berkeley to measure what's using your battery and how your battery life compares to other people's devices.
It doesn't directly measure CPU, but your resource hogs are going to use more battery by implication.
From the description:
Carat will tell you which apps it ...
3
Windows
Its easier, what you can do is this, from the cmd window, adb logcat > my_logcat.txt and just let it run, now, you can pause, resume the scrolling, in that cmd window, same keystrokes for Linux terminal, IIRC, now launch an editor and open the file 'my_logcat.txt' and there the results will show, had there not being a pause/resume in the cmd ...
3
If you as a user experience such crashes, and want to help the developer to get them fixed, you can use tools such as aLogcat (free) - logcat or Bug Reporter to catch a log of what happened:
While aLogCat allows you to restrict the log closer to the crash event (by letting you define what to capture), Bug Reporter enables you to send other useful ...
3
For information about seeing log messages, look at the answers to How can I view and examine the Android log? Note that the behaviour is different between 4.1-jelly-bean and prior versions.
Android users don't work like users on a normal GNU/Linux system, so unlocking the lock screen is not a "login" in the same way that logging into a terminal session, ...
2
One way to do this would be with Evernote. You could organize it all sorts of different ways (eg. Organize companies by tag or by notebook... and a new note for each interaction...) and you can attach files (photos, pdf, voice memos...) to each note. As far as recording the actual calls, as Matthew Read suggested, take a look at this question.
If you are ...
2
Kineto is the company that makes the Wifi calling software that is present on some Tmobile phones such as the G2. Unfortunately this software is poorly written. To make matters worse it is only possible to stop or remove the software if you root your phone. (More accurately it isn't your phone - it is tmobile's phone to do with as they please.) ...
2
First, I'd start by ensuring that the APN settings are correct. A different SIM card from another carrier could have overwritten them. You can access these by going to Menu -> Settings -> Wireless & networks -> Mobile networks -> Access Point Names and then tapping on the selected one to edit it. The correct settings are sometimes listed ...
2
I will answer my own question until someone else shows me another application.
I have found the following one in the market : Wifi Monitor.
Time will tell whether it really does what it promises.
Still, if anyone has got some other software which does this, please let me know !
UPDATE
After trying this app for a week now, I can confirm that it works. ...
2
Is it possible to track what personal information an app is unloading? In general, the answer is no.
Sniffing the precise data the the software is uploading - either through installing some specific software on a rooted device, or by sniffing the traffic elsewhere between the device and the Internet (e.g. on your wireless router) - is a very good idea and ...
2
Problem with most log files is: They do not survive a boot, as they are stored on tmpfs (a temporary file system in RAM). So once you have to boot, they are gone. Leaving your best chances to some app capturing the log and saving the capture to SDCard. As far as I know, aLogCat is capable of that. An alternative is to send the log to another machine (such as ...
2
You will know if the kernel has hung, the led light stays on and not go further.
As for your question, you need to be more clearer and specific as we do not know and since you posted a similar question before. You have not stated, what device is it, what android version is it, what kernel is it, all those are left out and thusly playing a guessing game ...
2
1) Are there any similar loopholes that can be dangerous?
They are not actually loopholes. They are ignorance of the user. For any Android app to be able record your calls, needs these permissions: (This is a code snippet from manifest XML file.)
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission ...
2
What is a LogCat?
A "LogCat" is for debugging applications / Android system. When applications / Android crash the output the "explanation" for the crash, the Exception Stacktrace, to a Log. This log can be saved and help developers to fix the crash.
What is it supposed to do?
It will help to solve your questions, if your asked for a LogCat it is always ...
Only top voted, non community-wiki answers of a minimum length are eligible