Logcat reports with no ADB? - Hero, G2 Touch Q&A, Help & Troubleshooting

Hi,
Is there any way to get a logcat report of the phone without using ADB?
I'm on my work machine at the moment and it's doesn't play well with ADB but I need to get the report so I can submit it with a bug report (in VR12, when using an app or in a menu, pressing the Back or Home keys crash Sense and it has to reload - no process managers being used though).
Thanks.

I was once told about an app on Market called something like log grabber, log catcher, log fetch or something along those lines. Have a look to see what you can find. Ill try to have a look later if i can for you. Let me know what you find.

Just had a quick go then, you can just type logcat into a terminal emulator. Not sure about outputting it though, you will have to see if anyone with more Linux experience than me knows.
Sent from my HTC Hero using XDA App

Thanks for that, I couldn't find any of those you mentioned but have found Log Collector and aLogcot so I'll give those a try now and see which one is best

alogcat works perfectly.
I've attached my log but will also post in the appropriate thread.
Thanks for the help folks

Related

Reboot Analyzer

Is there a way to determine what specifically caused a reboot or maybe the state of the phone right before a reboot? I'd like to find out what exactly is causing my phone to randomly reboot. If I could pinpoint an app that is causing the problem... problem solved!
Does a "reboot analyzer" type app exist?
Yes. Try alogcat in the market. Logcat can run in the background so it will catch what's causing reboot. If you don't know how to read a logcat theres a logcat reader in the market or just post the text file and someone could read it for you. It doesn't kill battery faster than any other app or nothing like that so don't be worried, just let it run.
Its not just a reboot analyzer it will tell you everything thats going wrong with your device etc. You should take some time to learn how to read it. Pretty neat..
Edit: I had some force closes with alogcat so download catlog it works great!
Thanks for the alogcat recommendation. You're right, I definitely need help reading it. What is the best way to learn what the logcat means? Right now, it's completely greek to me and I actually have a programming background (vba, c++, fortran).
sjamie said:
Thanks for the alogcat recommendation. You're right, I definitely need help reading it. What is the best way to learn what the logcat means? Right now, it's completely greek to me and I actually have a programming background (vba, c++, fortran).
Click to expand...
Click to collapse
Use catlog it will help you read it. Try opening catlog then turning your phone in landscape to get a feel of how it works!
http://developer.android.com/guide/developing/tools/logcat.html
http://forum.samdroid.net/f38/tutorial-how-get-logcat-example-check-battery-drain-2543/
Try searching around or visiting the android homepage for devs. Lots you can learn there.

Note keeps rebooting is there a log i can look at for troubleshooting

is there a log file i can look at to give me a clue of what is cause the reboots?
Anyone knows?
Could be anything. Try giving more information?
I am just inquiring, if there is a log file somewhere that i can see so that i can track which app was being launch or services so that i can see what or figure out what is causing the reboots.
supac said:
I am just inquiring, if there is a log file somewhere that i can see so that i can track which app was being launch or services so that i can see what or figure out what is causing the reboots.
Click to expand...
Click to collapse
look for logcat on the Market...it will do this for you...
i noticed mine rebooting too, i am on saurom and it only happens when i set my CPU to 1944000.... might want to check that

Team Speak 3

I used the TS3 app before I rooted my phone and it worked fine. I now have root by way of Zedomaxs method, installed TS3, it worked for like 5seconds and now when I open the app I get a blank screen. Anyone else having this issue?
Sent from my EVO using xda premium
William said:
I used the TS3 app before I rooted my phone and it worked fine. I now have root by way of Zedomaxs method, installed TS3, it worked for like 5seconds and now when I open the app I get a blank screen. Anyone else having this issue?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Not specifically familar with this app, but since none of the general troubleshooting steps have been mentioned, I'll throw those out with a hope they'll resolve the issue.
Having been on both sides of this situation, as the user and as the developer, I mention the following suggestions.
First, I'd make a backup before I started experimenting.
If you suspect the issue is related to gaining root access, perhaps "unroot" and see if that fixes the app. Luckily, it is still not the norm for apps to not work on rooted devices.
Otherwise, I'd start with the specific application's data directory, essentially where it stores all its settings/cache. I'd erase this directory, which would be similar to uninstalling/reinstalling the app.
If wiping the app's specific data directory didn't work, I would uninstall/reinstall the app. If that still didn't work, I would reach out to the developers of the specific application and supply them all the troubleshooting steps which have been taken, type of your specific device, and request assistance.
One of the additional pieces of information which can be very helpful for troubleshooting and for developers is a copy of the logcat off the device showing the application and error occurring.
Hope that helps!
Nice checklist! Shortly after posting this I was messing round w/my phone. I pressed my volume up button and noticed that instead of my ringer volume meter I was getting the media volume meter. So I went into my task manager to see what could possibly be running that would be characterized as media and found nothing. Next thing I did was reboot my phone, opened TS3 and everything's fine now. I keep forgetting to reboot my phone after I in/uninstall anything on it. I always do this w/any computer I'm using/working on. Guess the same goes w/phones now. But thanks again for the useful intel!
Sent from my EVO using xda premium

CM10 for ONEX+ International Bugs List & Solutions

Right guys THIS thread is for reporting bugs\issues and for solutions, i will update this with every new release\hot\bugfix.
Please post logcats and please post your error like this:
Version of rom your running
DETAILED ERROR HERE (not just wifi doesnt work, explain on how it didnt work so we can reproduce)
Any mods your running and kernel version
Code:
Currently Not working
NFC ---- fixed for when i release the next build
Bluetooth (kernel issue not rom so bug maxwen about this)
Please tell me if anything else is broken
We have a hard time with audio because we currently cannot use
the stock audio drivers since they crash in loading - Big thanks to HTC
We found a way using HOX drivers for now and changing kernel
so that we have "basic" audio now.
If all goes well when I get home from work expect a audio "fixed" build
Sent from my One V using Tapatalk 2
Use this thread to give me bug reports and so on...
oops i forgot about the menu button "issue" for now remap the buttons settings > system > hardware keys
Sometimes when unlocking the lock screen or changing activity, a red frame appears for about 0.5 sec and disappears
it's because i did an engineering build and not a user build
if it really annoys you edit the build.prop
look for
ro.build.type=eng
and change it to
ro.build.type=user
i'll do user builds from now on
Just a short one
I switched to CM10 now as my "daily" on HOX+
Runs absolutley stable.
So you shoulda give it a try
used a test version without audio solution from Lloir a few days above.
having trouble with wifi...there was no connection.
a give CM a new try, after update to CM10.1
i think LLoir will build it in a few weeks
skdubg said:
used a test version without audio solution from Lloir a few days above.
having trouble with wifi...there was no connection.
a give CM a new try, after update to CM10.1
i think LLoir will build it in a few weeks
Click to expand...
Click to collapse
a logcat would help...wifi works perfectly for everyone else :/
how can i create this logcat?
this thread has everything you need in http://forum.xda-developers.com/showthread.php?t=1616059
thats all?
only
adb logcat > logcat.txt
?
skdubg said:
thats all?
only
adb logcat > logcat.txt
?
Click to expand...
Click to collapse
yes
but you can also record logcats on the device with an app
like e.g. alogcat
thanks...
sounds very simple to do
skdubg said:
thanks...
sounds very simple to do
Click to expand...
Click to collapse
Oh BTW missed something about this
In JB an app needs permissions to read the logs
So if you use e.g. alogcat and it actually doesnt display the log
do the following in a shell (only required once)
Code:
adb shell pm grant <pkg> android.permission.READ_LOGS
for alogcat replace <pkg> with org.jtb.alogcat
So finally this becomes for alogcat
Code:
adb shell pm grant org.jtb.alogcat android.permission.READ_LOGS
okay maxwen. thanks again :fingers-crossed:
i will do it later this day....
I have found a non-important issue but can't find the reason. Sometimes when i turn off the phone it doesn't shows me the crt effect and also sometimes it directly passes through the lock screen. I don't have a pass code or any kind of security on my device. Both of them are not important for me but they are still a issue. If it's necessary I can provide a logcat as soon as I arrive home.
By the way when I was using aosp derived roms on my HTC one x there was a huge drain issue, fortunately this rom doesn't have that issue. Great job.
Sent from my HTC One X+ using XDA Premium HD app
leventccc said:
I have found a non-important issue but can't find the reason. Sometimes when i turn off the phone it doesn't shows me the crt effect and also sometimes it directly passes through the lock screen. I don't have a pass code or any kind of security on my device. Both of them are not important for me but they are still a issue. If it's necessary I can provide a logcat as soon as I arrive home.
Click to expand...
Click to collapse
These are two "known issues" regarding both CRT animation
and lock screen in current CM10 code. I have seen these also on the HOV
hey,
i have no telephone-app in the drawer and my SMS app don't work.
greez

logcat issues

So I've had to use logcat extreme for a while since it's the only one that would work consistently. Now it's crashing and it appears Matlog is active again. I can't get a logcat to consistently display. Most of the time nothing shows. And well I'm not really sure how to debug without a logcat. Done all the typical steps of clean flashes and such.
I've always used Catlog, if I'm not using a toolkit app's bundled reader or the ADB console window.
Speaking of which, have you tried hooking up to your computer and pulling it via ADB?
Septfox said:
I've always used Catlog, if I'm not using a toolkit app's bundled reader or the ADB console window.
Speaking of which, have you tried hooking up to your computer and pulling it via ADB?
Click to expand...
Click to collapse
I just don't always have my laptop on me. That's all. I've figured some stuff to make the logcat show but it's just annoying.
TotallyAnxious said:
I just don't always have my laptop on me. That's all. I've figured some stuff to make the logcat show but it's just annoying.
Click to expand...
Click to collapse
Oh, I know. It's definitely not an ideal solution.
But using the ADB console to run logging (better yet, have it stream to a text file so you can search by the package name after launching the offending apps a few times), you can open up your apps and see what error(s) they're throwing. Use logcat to debug logcat, like.
https://play.google.com/store/apps/details?id=com.sungroup.logcat
This works for some reason. It's clearly a fork/clone of MatLog but it works everytime.

Categories

Resources