logcat issues - LG V30 Questions & Answers

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.

Related

Logcat reports with no ADB?

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

[How To] Get a live verbose/dmesg/logcat boot

I'm gonna say it loudly. I did not make these apps., so don't tell me this a repeated thread. I'm putting it up for the noobies.
Now to begin. So, what is a verbose boot? Well, it tells you exactly what is going on when you boot up a Nook.
Let's start! Your gonna need two apps. They're called "root live dmesg boot" and "root live logcat boot"
They cost I think 3 smackers total.
Got those? OK, now open up settings. Find these to apps in applications and hit move to phone for both.
If there isn't that button and it says move to sd card, you are OK!
Now open up the dmesg one. Dish out a superuser access.
Hit install live dmesg. If it is grayed out, good.
Check hide copyright.
Unless your screen is 10 inches or bigger, DON'T be a double sizer.
Change starup mode to split.
Now, your wondering, Why did I download logcat?
Well, dmesg it the boot process and the logcat it the log. It shows both on boot up.
Fire up logcat. Same options.
But now hit reboot.
Wait, and do you see code?
Is it cool?
For some people this is old news, like pndo1.
Credits!
@pndo1 for telling me about live dmesg.
@Chainfire for the apps.
ive ran this app and it is pretty neat.
Sent from my NookColor using Tapatalk
Live Boot
@ikingblack
You don't need both of the apps, you only need one. You can pick either one, it really doesn't matter. Just pointing this out so people don't get confused.
You need both to display both at the same time in "split" mode ...
@Chainfire
Thanks for pointing that out. I had no idea it worked like that.

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.

Ubuntu on Note!

Just wanted to let you guys know that Ubuntu runs great on the Note.
I used Ubuntu Installer Pro to fetch the script and Ubuntu image. (on the market)
It runs in androidVNC, but it's still very responsive and fully functional.
Attached a screenshot of Firefox running it.
this is awesome! i'll try it as soon as i get home!
I am a super noob so can you please answer a few questions for me.
Are you running it through a remote desktop?
Or is this a complete operating system running on the phone?
Thank you in advance!
06z said:
I am a super noob so can you please answer a few questions for me.
Are you running it through a remote desktop?
Or is this a complete operating system running on the phone?
Thank you in advance!
Click to expand...
Click to collapse
It's weird. It runs within Android, locally on the phone. This means you can tap the home button and go right back to Android.
With this image. You can set the resolution of the screen to 1280x800 rather than getting a custom image for that size.
You also have access to SD and external SD from within Ubuntu.
If you're not using a keyboard + mouse, I recommend setting your input to trackpad (this is in the AndroidVNC settings)
It runs really fast, especially w/ LXDE (it does fine in Gnome too!)
Apps included:
-Firefox
-Thunderbird
-Open Office Suite
-GIMP image editor
-Emacs Text Editor
-Transmission p2p client
-and a lot more
Thank you for all this info.
Maroon Mushroom said:
Just wanted to let you guys know that Ubuntu runs great on the Note.
I used Ubuntu Installer Pro to fetch the script and Ubuntu image. (on the market)
It runs in androidVNC, but it's still very responsive and fully functional.
Attached a screenshot of Firefox running it.
Click to expand...
Click to collapse
The market app you mentioned says that the kernel needs to have loop device support. Did you install a custom ROM with that feature? Because the app makes it sound like loop device support isn't part of any stock ROMs.
Otsego.wupiwupi said:
The market app you mentioned says that the kernel needs to have loop device support. Did you install a custom ROM with that feature? Because the app makes it sound like loop device support isn't part of any stock ROMs.
Click to expand...
Click to collapse
Worked great w/ the OC kernel. Stock ROM.
Should work with the stock kernel too
Is this the one you used?
I guess I don't understand why one would need this or what the advantage of having it is on your phone. If all my docs, files, music, pics, videos, etc are synced to the cloud and always accessible, then what is the benefit of this app?
jdsemler said:
Is this the one you used?
Click to expand...
Click to collapse
I think this is the one the op used as I used it too but switched to backtrack from the same Dev. He has threads in the android general area if anyone has questions
kiltedthrower said:
I guess I don't understand why one would need this or what the advantage of having it is on your phone. If all my docs, files, music, pics, videos, etc are synced to the cloud and always accessible, then what is the benefit of this app?
Click to expand...
Click to collapse
the question shouldnt be why should one want it. the real question should be why wouldnt one want it? its an option. id love to be able to load wm7.5 win8 ubuntu or android ics on a small device like this. with a bluetooth keyboard and mouse and 1080p out be a sweet little full function pc
Update: never mind, RTFM
jdsemler said:
Is this the one you used?
Click to expand...
Click to collapse
Yep.
kiltedthrower said:
I guess I don't understand why one would need this or what the advantage of having it is on your phone. If all my docs, files, music, pics, videos, etc are synced to the cloud and always accessible, then what is the benefit of this app?
Click to expand...
Click to collapse
Turning your phone into a full computer. MHL it to your TV, get a keyboard, etc
This doesn't seem to work 'out of the box' or by following the instructions in the pro app. I configured everything as asked, and put everything in /mnt/sdcard/external_sd/Ubuntu. As soon as the terminal app launches to start ubuntu.sh, it immediately errors because it doesnt have the correct path pre-configured for our phones. So I manually went to the correct path and ran "sh ubuntu.sh" but I was again hit with an error "can't execute /root/init.sh : no such file or directory". This is past my abilities, as I assume that is a path issue within the .img. How are you guys getting ubuntu booted?
Is your note rooted? Almost seems like it can't access that directory.
coretech said:
Is your note rooted? Almost seems like it can't access that directory.
Click to expand...
Click to collapse
It it, but I don't remember the app asking for su
Sent from my SAMSUNG-SGH-I717 using Tapatalk
loudog3114 said:
This doesn't seem to work 'out of the box' or by following the instructions in the pro app. I configured everything as asked, and put everything in /mnt/sdcard/external_sd/Ubuntu. As soon as the terminal app launches to start ubuntu.sh, it immediately errors because it doesnt have the correct path pre-configured for our phones. So I manually went to the correct path and ran "sh ubuntu.sh" but I was again hit with an error "can't execute /root/init.sh : no such file or directory". This is past my abilities, as I assume that is a path issue within the .img. How are you guys getting ubuntu booted?
Click to expand...
Click to collapse
It is supposed to be on the internal sd if you want it on the external you have to edit the boot script.
Also you do need root the first command is su
this was all done inside backtrack on the note.
bclark said:
this was all done inside backtrack on the note.
Click to expand...
Click to collapse
Do the majority of the programs on backtrack work with the not?
MCKINLEC said:
Do the majority of the programs on backtrack work with the not?
Click to expand...
Click to collapse
The majority of them yes. There are definitely some that don't

Question Hello I need some help with ADB

Hello,
I like to see myself as a very advanced user of ADB.
I usualy debloat my devices very extreme. 99% of the time it goes without issues. I have had some issues but ive managed to resolve them by myself. However now im running into a problem and I really dont wanna do a factory reset so I turn to the famous XDA forum.
On my S23 Ultra when i change the wallpaper of my phone the background works but lockscreen is unable to change. The background and style app keeps crashing when I do that.
I reinstalled com.samsung.android.app.dressroom but this did not resolve the issue.
I reinstalled com.android.wallpaperbackup but this also did not resolve my issue.
I have Wallpapercropper and wallpaper.res also installed.
I feel like im missing something, maybe something i deleted that has a service thats directly connected to this. But im clueless to which one that would be. Can anyone maybe post a list of all services needed for the dressroom app to function properly?
This is exactly why I use PackageDisabler Cloud version, so I can disable and reenable on the fly with out a PC. I've been using adb since the TMobile G1 too but it has it's limitations.
I have used that in the past but i prefer adb through command prompt. But this still does not help the issue at hand. Anyone have a solution?
I use ADB app control. Yes you need a computer but it shows you everything you have disabled and you can enable with a click. I would just enable everything and start there. Package disabler sucked in the past getting charger over and over again, half the time you had to factory reset to get it off your device. Maybe it changed. But that developer will never get anymore of my money
3 options:
1.) Enable all the apps you have disabled, one by one until the issue is fixed
2.) adb logcat to see why the app crashes
3.) factory reset
butchieboy said:
I use ADB app control. Yes you need a computer but it shows you everything you have disabled and you can enable with a click. I would just enable everything and start there. Package disabler sucked in the past getting charger over and over again, half the time you had to factory reset to get it off your device. Maybe it changed. But that developer will never get anymore of my money
Click to expand...
Click to collapse
Not the same as it used to be. Been using it since the Note 10 and have done numerous FDR's on the Note 10, Note 20 and Fold 4 and never had to pay again!
Have you tried using a different launcher, like Nova?

Categories

Resources