Add Timestamps to Xposed Installer Logs with… Xposed!
Posted August 27, 2014 at 09:30 pm by Tomek Kondrat
If talking about the most interesting projects in the last few years, we must mention the powerful and versatile Xposed Framework. This tool is the foundation that allows us to implement hooks into existing code using the app_process binary. In short, Xposed helps us by letting us fix various bugs, add new features, and perform various other tasks on any rooted firmware with Xposed installed–without the need to dive into Smali modifications.
The two developers standing behind this project, XDA Senior Recognized Developer rovo89 and XDA Recognized Contributor Tungstwenty, included a simple debugging tool that helps developers fix their modules. But even Xposed Framework itself can be improved by an Xposed Framework module. One such modules was created by XDA Senior Member defim, and it adds a timestamp to Xposed logs in order to make them more reader-friendly. Logs with date and time often come handy for developers who are trying to find out what and when something goes wrong with their code. And if you’re developing an Xposed module, you certainly want to know when things go wrong so you can fix it before you share it with the community.
We must note that there is a bit of controversy surrounding this module. The module itself was (understandably and appropriately) removed from the official Xposed Repo because it violates Xposed policy of not hooking into Xposed itself. However, this isn’t to say that you can’t sideload and install it manually. As such, the module is available in the thread, but please use it at your own risk and be aware that since it hooks into Xposed Framework itself, there may be unexpected results.
Despite the controversy, you may find this module very useful in the development of other Xposed modules. You can find it by visiting the HitchXposedLog Xposed Framework module thread.
Want something on the XDA Portal? Send us a tip!