[GH-ISSUE #3] How to install it on Android? #3

Closed
opened 2026-03-02 12:02:30 +03:00 by kerem · 5 comments
Owner

Originally created by @dongliang0 on GitHub (Nov 4, 2024).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/3

Originally assigned to: @kavishdevar on GitHub.

I didn't understand the installation file where

Originally created by @dongliang0 on GitHub (Nov 4, 2024). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/3 Originally assigned to: @kavishdevar on GitHub. I didn't understand the installation file where
kerem 2026-03-02 12:02:30 +03:00
Author
Owner

@kavishdevar commented on GitHub (Nov 4, 2024):

Hi!

this requires root! To know more about why, read note below.

To install the app, check out the first testing release here. It will have all the required files.

This has a libbluetooth_jni.so. Create folder structure like this -

/data/local/tmp/overlay:
upper  work
/data/local/tmp/overlay/upper:
libbluetooth_jni.so

Now duplicate the overlay folder and name it overlay2

There is another file bt.sh

  • Download this and place the bt.sh in /data/adb/post-fs-data.d/
  • Create a folder in /data/adb/modules/ and place the libbluetooth_jni.so file and the module.prop as the folder structure shows below.
/data/adb/modules/btl2capfix:
module.prop
/data/adb/modules/btl2capfix/system/lib64:
libbluetooth_jni.so

Now, you can use the app.

p.s. the app has multiple bugs because it is a testing version. It might show an alert about the app not responding when your airpods get disconnected after you have the app running. And, if the app crashes often and doesn't work even if your airpods are connected, force stop the app, and start it again.

Let me know, if you have root, you were able to install and/or need any more help in setting up the required system files.

Root is currently required only to fix an Android bug. If you do not have root, all you can do for now is upvote the issue so that it is fixed with more priority!

Thank you!

<!-- gh-comment-id:2454835126 --> @kavishdevar commented on GitHub (Nov 4, 2024): Hi! > this requires root! To know more about why, read note below. To install the app, check out the first testing release [here](/kavishdevar/aln/releases/latest). It will have all the required files. This has a `libbluetooth_jni.so`. Create folder structure like this - ``` /data/local/tmp/overlay: upper work /data/local/tmp/overlay/upper: libbluetooth_jni.so ``` Now duplicate the `overlay` folder and name it `overlay2` There is another file `bt.sh` - Download this and place the `bt.sh` in `/data/adb/post-fs-data.d/` - Create a folder in `/data/adb/modules/` and place the `libbluetooth_jni.so` file and the `module.prop` as the folder structure shows below. ``` /data/adb/modules/btl2capfix: module.prop /data/adb/modules/btl2capfix/system/lib64: libbluetooth_jni.so ``` Now, you can use the app. > p.s. the app has multiple bugs because it is a testing version. It might show an alert about the app not responding when your airpods get disconnected after you have the app running. And, if the app crashes often and doesn't work even if your airpods are connected, force stop the app, and start it again. Let me know, if you have root, you were able to install and/or need any more help in setting up the required system files. Root is currently required only to fix [an Android bug](https://issuetracker.google.com/issues/371713238). If you do not have root, all you can do for now is upvote the issue so that it is fixed with more priority! Thank you!
Author
Owner

@dongliang0 commented on GitHub (Nov 4, 2024):

Create folder structure in android?

<!-- gh-comment-id:2454908378 --> @dongliang0 commented on GitHub (Nov 4, 2024): Create folder structure in android?
Author
Owner

@kavishdevar commented on GitHub (Nov 4, 2024):

May I know if you are rooted?

<!-- gh-comment-id:2454913582 --> @kavishdevar commented on GitHub (Nov 4, 2024): May I know if you are rooted?
Author
Owner

@dongliang0 commented on GitHub (Nov 4, 2024):

I dont have root and i have vote the issue

<!-- gh-comment-id:2454921759 --> @dongliang0 commented on GitHub (Nov 4, 2024): I dont have root and i have vote the issue
Author
Owner

@kavishdevar commented on GitHub (Nov 4, 2024):

Sorry, but as you might have read, currently this project requires root because of a bug in the android's bluetooth code, which makes communicating with AirPods without modyfing the system libraries of android impossible.

Thank you very much for the upvote! Until then, you could checkout the linux app in this same repository, if you are a linux user!

(Any help with upvotes or even a PR to fix the issue will be much appreciated :] thanks!)

<!-- gh-comment-id:2455011737 --> @kavishdevar commented on GitHub (Nov 4, 2024): Sorry, but as you might have read, currently this project requires root because of a bug in the android's bluetooth code, which makes communicating with AirPods without modyfing the system libraries of android impossible. Thank you very much for the upvote! Until then, you could checkout the linux app in this same repository, if you are a linux user! (Any help with upvotes or even a PR to fix the issue will be much appreciated :] thanks!)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librepods#3
No description provided.