Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Palatis/XAppDebug
toggle app debuggable
https://github.com/Palatis/XAppDebug
Last synced: 14 days ago
JSON representation
toggle app debuggable
- Host: GitHub
- URL: https://github.com/Palatis/XAppDebug
- Owner: Palatis
- License: gpl-3.0
- Created: 2020-03-28T13:56:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T05:15:44.000Z (9 months ago)
- Last Synced: 2024-08-01T17:32:22.914Z (3 months ago)
- Language: Java
- Size: 269 KB
- Stars: 216
- Watchers: 4
- Forks: 47
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# XAppDebug
Debug any application of your choice!
In recent version of Android (starting from... Nougat or Oreo I guess?),
un-debuggable apps won't show its name in the logcat view of Android Studio.This is somehow inconvenient since at some point we always have to build
our apps with release configuration, which disables the debuggable flag and
making life difficult.This xposed module allows you to toggle debuggable for any app you want.
## Features
- Reasonable UI
- Hooks **both** `Process.start()` **and**
`PackageManagerService.getPackageInfo()`.
- Works with multi-user## How it works?
This module inject hooks to the `android` system package, and tricks the system
think another package is build with `debuggable` option.## Usage
1. Enable `XAppDebug` (this module) in your xposed framework settings app
2. Hook the `android` system package if any varient of "application scope"
is enabled. **DO NOT HOOK THE INDIVIDUAL PACKAGE YOU WANT TO DEBUG**
3. Launch `XAppDebug` UI, select the app you want to debug
4. kill and restart the victim app
5. Enjoy!## Notes
1. For users with EdXposed or LSPosed using "application scope", attach this
module to `android` system package.
2. For users with Work profile, install this all in **both** your Main profile
and Work profile. Attach to `android` package in your **Main** profile,
and tick the apps you want to debug in the according profile.## Special Thanks
I've tried several Xposed modules, but they either don't work with multi-user
(work profile) or is too old to even work correctly.That's why I started this project. However, lots of codes are ~~copied from~~
refactored out of these projects.- [XDebuggable](https://github.com/ttimasdf/XDebuggable):
- Works the best IMHO
- Hooks `Process.start()`
- Can only enable one app because it utilize the debug options in
"Developer Options" from `System.UI`.
- [XDebug](https://github.com/deskid/XDebug):
- Works, no UI.
* Hooks `Process.start()`
- Making **EVERY** app debuggable
- [App Debuggable](https://github.com/dirname/AppDebuggable):
- Good UI
- Hooks `PackageManagerService.getPackageInfo()`
- Writes file to `/sdcard` and `/data` (which is IMHO dirty)
- No multi-user support (because of ↑↑↑)
- Requests **LOTS** of unnecessary permissions (even wants SU...!!)
- [OpenDbg](https://github.com/ZhouHoubin/OpenDbg):
- Good UI, too.
- Hooks `PackageManagerService.getPackageInfo()`
- Pollute `/sdcard`