-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xposed Module #132
Comments
If you could reuse code from this app to make a working xposed module, that would be absolutely awesome. With xposed you could probably get rid of the workaround for the randomized mac addresses, battery optimization, etc. Keep me posted, I'm really interested. |
I'm trying but I don't really understand what I'm doing. |
I never programmed a Magisk module but I imagine there is some way to access BLE without going through the limited Android APIs like OpenPods does. If there is, all you have to do is listen for all beacons that have the right UUID, read the manufacturer specific data field 76, make sure the length is 27 bytes and do the decoding as explained here |
I'll try to work on this when I have time, but I feel like an Android developer can do the thing in 5 minutes. |
Any updates on this? |
Hey I'm trying to do this by myself but I'm a newbie on Android development.
The idea is to add a Xposed module to the app that enables the native battery indicator.
I made a simple module that sets the battery level to 50% (not very helpful) and I think you only need to feed it with the real value and that should be all.
The code of the module is as simple as:
Some tweaks should be done, like checking the device is indeed a non-natively-compatible one.
I don't know if this idea is not new, I didn't see anything related in the issues.
An image of my "always 50% airpods pro" module: https://i.imgur.com/M4xQGht.png
The text was updated successfully, but these errors were encountered: