https://github.com/web1n/android_packages_apps_xiaomible
Report the battery status of Xiaomi TWS earbuds to the Android system and provide some settings.
https://github.com/web1n/android_packages_apps_xiaomible
Last synced: over 1 year ago
JSON representation
Report the battery status of Xiaomi TWS earbuds to the Android system and provide some settings.
- Host: GitHub
- URL: https://github.com/web1n/android_packages_apps_xiaomible
- Owner: web1n
- Created: 2025-01-11T03:13:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T11:41:30.000Z (over 1 year ago)
- Last Synced: 2025-03-10T12:32:22.542Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 9.86 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# android_packages_apps_XiaomiBle
Integration of Xiaomi TWS into AOSP.
## Features
- Reports the Xiaomi TWS earbuds' volume to the Android system.
- Configures the equalizer settings.
- Switches between noise cancellation modes.
- Customizes single, double, triple-click, and long-press gestures for both ears.
- Finds the earbuds.
## Supported Models
Currently, only TWS earbuds using the Xiaomi MMA and custom Xiaomi Hands-free Profile are supported. Some earbuds may not support these two protocols and, therefore, are not compatible.
## Integration Steps
1. Add commit for `android_packages_modules_Bluetooth`: [Add support for Xiaomi TWS headset commands](https://github.com/web1n/android_packages_modules_Bluetooth/commit/0df13bbf2b70301003e422dccdd9f48520a80260).
2. Clone `android_packages_apps_XiaomiBle` into the AOSP: `[AOSP code path]/packages/apps/XiaomiBle/`.
3. Add `XiaomiBluetooth` to your device tree:
```makefile
PRODUCT_PACKAGES += \
XiaomiBluetooth
```
## Screenshots


## Credits
* [packages_apps_BtHelper](https://github.com/TheParasiteProject/packages_apps_BtHelper)