My device is already rooted, this is why I'm asking.
Do you need root to monitor the logcat stream on the phone? If I ran the logcat command from within a Terminal on the phone, would that work?
|
|
|
It seems you cannot run logcat from Terminal Emulator without having root on your phone. In this case you have to su first. AFAIK, it comes from Android Permissions: Terminal Emulator simply doesn't have enough permissions to view device's log. So the system says Permission denied. On the other hand, as others said, there are plenty of apps that allow you to view device's log just because they request the permission. |
|||
|
|
|
Logcat does not need root. Simples - its a de-facto standard across the board in respect to different Android versions and is part of Android irrespective if you're rooted or not, and is a standard means for diagnosing problems as in for example - you install an app, the app force close, you complain to developer of said app, chances are quite high the developer will ask "send over the logcat" regardless if you're rooted or not! aLogCat is one way of gathering the information, with the option of logging to webpage layout or plain text, bear in mind, if you schedule it to log at a certain frequency such as every 15 minutes, the SDCard will fill up quite quickly. Another aspect, usage of logcat will be dependent on the kernel in terms of how much it can store - in any kernel that is used by the ROM, the source for the logging from a kernel level, where it reserves the memory for the logcat service can be found in
Again, mileage will vary, some developers of such ROMs will choose to minimize consumption to reduce memory overheads... |
||||
|
|
|
The application Android System Info has the ability to output log info to the screen which as far as I can tell is the same log info as logcat spits out. |
|||||
|
|
No, you don't need root to access logcat. My device (Samsung Galaxy Note, Gingerbread 2.3.6 with stock ROM) is not rooted (yet!) and I have used the following ways to access log on my device:
However, the Terminal app doesn't allow you to run logcat, and gives you "permission denied". I'm not sure why. |
|||
|
|
|
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: |
|||
|
|
|
You don't need to root your phone to run So yes: if you have root on your phone you can run logcat from a terminal on your phone. |
|||
|
|
|
No, you don't need root to get logcat information. To do it, you probably want to download the Android SDK and run "adb logcat", using the adb tool that comes with the SDK. Alternatively, you could install the ADT Eclipse plugin and use its handy streaming Logcat viewer. |
|||
|