Coder Social home page Coder Social logo

xappdebug's Introduction

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

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:
    • 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

xappdebug's People

Contributors

palatis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.