# QuJing [中文版](./README.md) QuJing is an Xposed module that allows you to dynamically monitor (hook) function calls, view stack information, and perform reflective invocations on Android devices through a PC browser. It eliminates the need for writing frequent hook code and provides a visual interface that is more user-friendly, especially for beginners. ## Features 1. Enumerate all apps on an Android device. 2. Search for methods based on class name and method name. 3. Method monitoring with printing of call stacks and input/output parameters. 4. Forced execution of target methods. ## Known Issues 1. When functions are frequently called, a large amount of stack information and input/output parameters are printed on the browser page, which may cause the page to be overloaded. If unnecessary data is present, refreshing the page can resolve the issue. 2. Some layout issues may occur in the frontend display. 3. Does not support scenarios where hooking immediately after booting (as the target app needs to be set after each boot). 4. Does not support apps that do not have network permissions. 5. ~~There seems to be an issue with LSPOSED support; the symptom is that port 61000 cannot be opened. It will be supported later~~ (LSPOSED is now supported. When using, make sure to not only select the target app in Lsposed, **but also check "System Framework" [as shown here](https://github.com/Mocha-L/QuJing/assets/24688287/53906a4e-96ca-4824-83c5-eb5cc70dd2af)~~). ## Usage You can directly download the APK file from the "apk" directory and install it for testing. For detailed usage instructions, please refer to [this article](https://mp.weixin.qq.com/s/zXRKNximCk5DDFfFZcxDJQ). If it helps you, don't forget to give it a star. ## Demo Enumerating all apps on the phone for selection. Guiding manual operations on the selected app. Enter the app, search for classes and methods to monitor. Enter the monitored method, view basic information and call stack, and print input/output parameters. Supported types for method execution. ## Issue Discussion If you have any questions, feel free to raise an issue. You are also welcome to contribute to further optimizations and submit pull requests. You can also join my knowledge planet "爬虫三十六计" for further discussions. ## Acknowledgements This project is based on [xserver](https://github.com/monkeylord/XServer) and optimized accordingly. Thanks to the original author. Thanks to [@小黄鸭爱学习](https://github.com/HuRuWo) for helping with optimizations and resolving classloader errors in certain cases.