Open RANZN opened 3 years ago
@Ranjanpr9 that should be possible without too much work if you already have and use the build environment of your custom rom. In the readme is a short description of the concept how this module interacts with the android internals via xposed: https://github.com/anton-arnold/xoverrideheadphonejackdetection#how-does-it-work-internally So all you'd have to do is to integrate the code that is injected via xposed from here
at the beginning of the destination function here
The xposed lib functions for logging can be removed or replaced with equivalents.
Hey is it possible to somehow add it to custom rom itself so without installing xposed it can be used.