FORUMS
Remove All Ads from XDA

[ADB/ROOT] Scoop - Catch the stack trace when an app crashes

1,466 posts
Thanks Meter: 6,433
 
By paphonb, Senior Member on 11th January 2019, 12:05 PM
Post Reply Email Thread
Scoop: Catches a stack trace when an app crashes unexpectedly

Quote:

This module - as the description says - saves the stack trace of a crashing app and displays all crashes in a list so you don't have to look through a long logcat anymore. Additionally you get a notification on every crash (configurable) which already displays the most important information.

This app is based on @MrWasdennnoch's Scoop Xposed module which doesn't work on Android Pie anymore (no Xposed ), so I forked it and made it work without Xposed. I've also made some UI changes so the app feels more modern.

The app still packs many functionalities like the old module does, with a nice addition. These are the supported features.
- Search in crashed apps
- Search in stack trace
- Crash preview in notification
- Combination of same crashes / apps to avoid long repetetive lists
- Crash blacklist
- Quick actions to copy / share a stack trace
- Uploading to dogbin for convenient sharing.

Downloads
http://paphonb.xyz/android/apps/scoop/

Instructions
For unrooted/ADB users
1. Install ADB on your computer
2. Enable USB debugging on your phone and connect it to your computer
3. Install the app on your phone
4. Open a command prompt
5. Type the command below and press enter
Code:
adb shell pm grant xyz.paphonb.scoop android.permission.READ_LOGS
6. Open the app
7. You should now see a notification that indicates that the app is running.
8. Go crash an app and it will show up

For rooted users:
1. Install and open the app
2. Grant root permission
3. You should now see a notification that indicates that the app is running.
4. Go crash an app and it will show up

XDA:DevDB Information
Scoop, App for all devices (see above for details)

Contributors
paphonb, MrWasdennnoch

Version Information
Status: Stable
Current Stable Version: 2.0.2
Stable Release Date: 2019-01-03

Created 2019-01-11
Last Updated 2019-01-11
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190111-185804.png
Views:	1480
Size:	41.6 KB
ID:	4684315   Click image for larger version

Name:	Screenshot_20190111-185545.jpg
Views:	1484
Size:	174.9 KB
ID:	4684316   Click image for larger version

Name:	Screenshot_20190111-185600.png
Views:	1470
Size:	135.2 KB
ID:	4684317   Click image for larger version

Name:	Screenshot_20190111-185631.jpg
Views:	1414
Size:	252.7 KB
ID:	4684318   Click image for larger version

Name:	Screenshot_20190111-185647.jpg
Views:	1388
Size:	201.3 KB
ID:	4684320   Click image for larger version

Name:	Screenshot_20190111-185727.png
Views:	1366
Size:	160.5 KB
ID:	4684321   Click image for larger version

Name:	Screenshot_20190111-185748.png
Views:	1248
Size:	177.8 KB
ID:	4684322   Click image for larger version

Name:	Screenshot_20190111-185756.png
Views:	1210
Size:	175.8 KB
ID:	4684323  
The Following 21 Users Say Thank You to paphonb For This Useful Post: [ View ] Gift paphonb Ad-Free
 
 
11th January 2019, 12:49 PM |#2  
psychoela's Avatar
Senior Member
Thanks Meter: 116
 
More
Thanks, testing with pie here,but i do not know work or not,try make my gboard crash but scoop not detach any crash.just suggesting background black emoled

Sent from my Nexus 6 using XDA Labs
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190111-204139_Quickstep.png
Views:	608
Size:	250.5 KB
ID:	4684350   Click image for larger version

Name:	Screenshot_20190111-204156_Scoop.png
Views:	608
Size:	53.5 KB
ID:	4684351  
11th January 2019, 01:12 PM |#3  
paphonb's Avatar
OP Senior Member
Thanks Meter: 6,433
 
Donate to Me
More
Quote:
Originally Posted by psychoela

Thanks, testing with pie here,but i do not know work or not,try make my gboard crash but scoop not detach any crash.just suggesting background black emoled

Sent from my Nexus 6 using XDA Labs

That's weird. Do you see a notification that indicates that Scoop is running in the background?
11th January 2019, 01:24 PM |#4  
psychoela's Avatar
Senior Member
Thanks Meter: 116
 
More
Quote:
Originally Posted by paphonb

That's weird. Do you see a notification that indicates that Scoop is running in the background?

Yes "Monitoring app crashes"

Sent from my Nexus 6 using XDA Labs
11th January 2019, 01:54 PM |#5  
paphonb's Avatar
OP Senior Member
Thanks Meter: 6,433
 
Donate to Me
More
Quote:
Originally Posted by psychoela

Yes "Monitoring app crashes"

Sent from my Nexus 6 using XDA Labs

Then it should be working just fine. How do you make Gboard crash? I can try to replicate the issue on my device and fix it.
11th January 2019, 02:18 PM |#6  
psychoela's Avatar
Senior Member
Thanks Meter: 116
 
More
Quote:
Originally Posted by paphonb

Then it should be working just fine. How do you make Gboard crash? I can try to replicate the issue on my device and fix it.

By using module gboard theme, every time i want to changing theme my gboard become freezing, so i touch forces the screen n result crash, i do not know it will same result with others device

Sent from my Nexus 6 using XDA Labs
15th January 2019, 10:14 AM |#7  
Senior Member
Thanks Meter: 6
 
More
I have an issue with Google Photos that makes it crash because something is null (checked using logcat). Tried this app but it didn't catch that crash as well. This is using MIUI 10 on Android 6.0 unrooted.
15th January 2019, 11:15 AM |#8  
~El Julio~'s Avatar
Senior Member
Flag Paris
Thanks Meter: 42
 
Donate to Me
More
Works flawlessly on my devices but if I may ask, would you please provide an option to toggle the dark theme on/off/auto ?
16th January 2019, 01:36 PM |#9  
Senior Member
Flag Near Nijmegen
Thanks Meter: 202
 
Donate to Me
More
Centered actionbar title
Hi @paphonb,
Thank you for your effort and congrats on the nice result. The app is really useful.
While rewriting the v4a app I was trying to implement a centered action bar title just like in your app, but I haven't been able to achieve the desired result. I wondered if you want to share the source or some code snippets to help me out a little.


Hope to hear from you,
pittvandewitt
The Following User Says Thank You to pittvandewitt For This Useful Post: [ View ] Gift pittvandewitt Ad-Free
16th January 2019, 10:39 PM |#10  
paphonb's Avatar
OP Senior Member
Thanks Meter: 6,433
 
Donate to Me
More
Quote:
Originally Posted by pittvandewitt

Hi @paphonb,
Thank you for your effort and congrats on the nice result. The app is really useful.
While rewriting the v4a app I was trying to implement a centered action bar title just like in your app, but I haven't been able to achieve the desired result. I wondered if you want to share the source or some code snippets to help me out a little.


Hope to hear from you,
pittvandewitt

I can't give the sources to you because I won't be able to access my computer until next Tuesday. But the inplementation is just a text view centered in the toolbar. Feel free can decompile the app and see it if you want.

Sent from my ONEPLUS A6003 using Tapatalk
The Following User Says Thank You to paphonb For This Useful Post: [ View ] Gift paphonb Ad-Free
20th January 2019, 01:02 AM |#11  
Senior Member
Flag Near Nijmegen
Thanks Meter: 202
 
Donate to Me
More
Quote:
Originally Posted by paphonb

I can't give the sources to you because I won't be able to access my computer until next Tuesday. But the inplementation is just a text view centered in the toolbar. Feel free can decompile the app and see it if you want.

Sent from my ONEPLUS A6003 using Tapatalk

I've tried to take a look around and it resulted in some improvements in my app, but with minify enabled it's really hard to make something sensible out of most methods and classes. I would really appreciate if you would take the effort to get back on this next week
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes