XAppDebug

Debug any application of your choice!

In recent version of Android (starting from... Nougut or Oreo I guess?), undebuggable 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.

Features

  • Reasonable UI
  • Hooks both Process.start() and PackageManagerService.getPackageInfo().
  • Works with multi-user

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:
    • 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:
    • Works, no UI.
    • Hooks Process.start()
    • Making EVERY app debuggable
  • App Debuggable:
    • 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:
    • Good UI, too.
    • Hooks PackageManagerService.getPackageInfo()
    • Pollute /sdcard

Package

tw.idv.palatis.xappdebug

Releases

1.0.6

Release type: Stable

5/26/2023, 7:37:27 AM

  • CI :-D
  • Android 13 (Tiramisu) support, thanks to @ElJaviLuki

1.0.5

Release type: Stable

9/16/2021, 11:06:03 PM

  • Synchronize app list states when "Show Already Debuggable" toggled
  • Navigation Drawer layout fix
  • Post-debuggable apps now shows in the AppPicker of System Developer Settings
  • minor code refactors

1.0.3

Release type: Stable

9/16/2021, 12:34:39 AM