[GH-ISSUE #124] [Android] App not installed #50

Closed
opened 2026-03-02 12:03:01 +03:00 by kerem · 6 comments
Owner

Originally created by @Swhitzer on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/124

Can't install rc3 and rc2.

Image

However rc1 is installing and im able to activate xposed module, but cant grant bluetooth permissions for some reason.

Image

Fresh iodeOS (i believe its linageos 18), android 11, SM-A520F

Originally created by @Swhitzer on GitHub (May 12, 2025). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/124 Can't install rc3 and rc2. ![Image](https://github.com/user-attachments/assets/2d4f5198-07fb-4981-b109-83475ea6175f) However rc1 is installing and im able to activate xposed module, but cant grant bluetooth permissions for some reason. ![Image](https://github.com/user-attachments/assets/8c8ef756-14af-4735-9a75-76272d7c9f80) Fresh iodeOS (i believe its linageos 18), android 11, SM-A520F
kerem closed this issue 2026-03-02 12:03:01 +03:00
Author
Owner

@kavishdevar commented on GitHub (May 16, 2025):

Seems to be because Android introduced the new bluetooth permissions in Android 12. I'll add the older permission, and you can test out from there.

And, you're not being able to install the newer releases because of some change in the manifest- sorry bout that, will fix it.

<!-- gh-comment-id:2885607508 --> @kavishdevar commented on GitHub (May 16, 2025): Seems to be because Android introduced the new bluetooth permissions in Android 12. I'll add the older permission, and you can test out from there. And, you're not being able to install the newer releases because of some change in the manifest- sorry bout that, will fix it.
Author
Owner

@kavishdevar commented on GitHub (May 16, 2025):

https://github.com/kavishdevar/librepods/actions/runs/15060848343

Download the APK from here. Since you already have the module installed from rc.1, you can directly update the system app.

<!-- gh-comment-id:2885626330 --> @kavishdevar commented on GitHub (May 16, 2025): https://github.com/kavishdevar/librepods/actions/runs/15060848343 Download the APK from here. Since you already have the module installed from rc.1, you can directly update the system app.
Author
Owner

@kairon0x00 commented on GitHub (May 17, 2025):

I'm having very similar issues that's why I'm not creating a separate issue.

  1. Unable to install rc2 and rc3. only version rc1

    This is the error message thrown when trying to install via adb
    (installing from device itself fails aswell) :
    [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package couldn't be installed in /data/app/me.kavishdevar.librepods-IPXk06MHiBimeE5WoxC3LA==: Package me.kavishdevar.librepods has no signatures that match those in shared user android.uid.system; ignoring!]

  2. Xposed Module activated but unable to grant bluetooth permission

    clicking the "Ask for regular permission" button won't ask for bluetooth permission, only notification.
    This is the logcat output when pressing the button
    05-17 18:40:36.779 2767 2790 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10084 05-17 18:40:36.827 3963 3963 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@aa9983e

LineageOS 16
Android 9
Samsung A5 2017
SM-A520F

EDIT:
installing the provided debug.apk worked for permissions. however setup failed : "Failed to find function offset"
tried to install the bluetooth fix manual with magisk but without success:

- Installing btl2capfix-v0.0.3.zip
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: module.prop
****************************************
 Bluetooth L2CAP workaround for AirPods 
 by @devnoname120 and @kavishdevar 
****************************************
*******************
 Powered by Magisk 
*******************
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh
- Extracting module files
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
   creating: busybox/
  inflating: busybox/busybox-arm64
  inflating: busybox/xz
  inflating: customize.sh
  inflating: module.prop
  inflating: radare2-5.9.9-android-aarch64.tar.gz
[O] Extracting module files...
[O] Extracting radare2 to /data/local/tmp/aln_unzip...
[O] rabin2 binary is ready.
[O] radare2 binary is ready.
[O] busybox binary is ready.
[O] xz shim is ready.
[O] Detected library: /system/lib64/libbluetooth_jni.so
[O] Calculating patch addresses for /system/lib64/libbluetooth_jni.so...
[O] l2c_fcr_chk_chan_modes_address=Failed to obtain address for symbol l2c_fcr_chk_chan_modes
[O] l2cu_send_peer_info_req_address=Failed to obtain address for symbol l2cu_send_peer_info_req
[O] Patching libbluetooth_jni.so...
[O] Installing patched file...
[O] Patched file installed at /data/adb/modules_update/btl2capfix/system/lib64/libbluetooth_jni.so
[O] [E] cp: can't stat '/data/adb/modules_update/btl2capfix/module.prop': No such file or directory
[O] - Done
<!-- gh-comment-id:2888486508 --> @kairon0x00 commented on GitHub (May 17, 2025): I'm having very similar issues that's why I'm not creating a separate issue. 1. Unable to install rc2 and rc3. only version rc1 This is the error message thrown when trying to install via adb (installing from device itself fails aswell) : `[INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package couldn't be installed in /data/app/me.kavishdevar.librepods-IPXk06MHiBimeE5WoxC3LA==: Package me.kavishdevar.librepods has no signatures that match those in shared user android.uid.system; ignoring!]` 2. Xposed Module activated but unable to grant bluetooth permission clicking the "Ask for regular permission" button won't ask for bluetooth permission, only notification. This is the logcat output when pressing the button `05-17 18:40:36.779 2767 2790 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10084 05-17 18:40:36.827 3963 3963 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@aa9983e` LineageOS 16 Android 9 Samsung A5 2017 SM-A520F EDIT: installing the provided debug.apk worked for permissions. however setup failed : "Failed to find function offset" tried to install the bluetooth fix manual with magisk but without success: ```- Copying zip to temp directory - Installing btl2capfix-v0.0.3.zip Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip inflating: module.prop **************************************** Bluetooth L2CAP workaround for AirPods by @devnoname120 and @kavishdevar **************************************** ******************* Powered by Magisk ******************* Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip inflating: customize.sh - Extracting module files Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip creating: busybox/ inflating: busybox/busybox-arm64 inflating: busybox/xz inflating: customize.sh inflating: module.prop inflating: radare2-5.9.9-android-aarch64.tar.gz [O] Extracting module files... [O] Extracting radare2 to /data/local/tmp/aln_unzip... [O] rabin2 binary is ready. [O] radare2 binary is ready. [O] busybox binary is ready. [O] xz shim is ready. [O] Detected library: /system/lib64/libbluetooth_jni.so [O] Calculating patch addresses for /system/lib64/libbluetooth_jni.so... [O] l2c_fcr_chk_chan_modes_address=Failed to obtain address for symbol l2c_fcr_chk_chan_modes [O] l2cu_send_peer_info_req_address=Failed to obtain address for symbol l2cu_send_peer_info_req [O] Patching libbluetooth_jni.so... [O] Installing patched file... [O] Patched file installed at /data/adb/modules_update/btl2capfix/system/lib64/libbluetooth_jni.so [O] [E] cp: can't stat '/data/adb/modules_update/btl2capfix/module.prop': No such file or directory [O] - Done ```
Author
Owner

@kavishdevar commented on GitHub (Oct 15, 2025):

Pre-A13 Bluetooth stack seems to be very different than A13+. I don't know if I should actually put in efforts bringing support for this. I juts switched to using a library that requires me to use A13+, but I can work on that if someone is able to figure out how the stack needs to be modified in the first place.

<!-- gh-comment-id:3404564525 --> @kavishdevar commented on GitHub (Oct 15, 2025): Pre-A13 Bluetooth stack seems to be very different than A13+. I don't know if I should actually put in efforts bringing support for this. I juts switched to using a library that requires me to use A13+, but I can work on that if someone is able to figure out how the stack needs to be modified in the first place.
Author
Owner

@kavishdevar commented on GitHub (Nov 20, 2025):

It's going to take a lot more digging through Android to get it to work on a13, doesn't seem very feasible to me.

<!-- gh-comment-id:3556356077 --> @kavishdevar commented on GitHub (Nov 20, 2025): It's going to take a lot more digging through Android to get it to work on a13, doesn't seem very feasible to me.
Author
Owner

@harshkumarkhatri commented on GitHub (Nov 24, 2025):

I am getting the same issue in s23 Ultra.
A dialog comes from Google Play protect saying tha the app blocked to protect your device.

<!-- gh-comment-id:3569463945 --> @harshkumarkhatri commented on GitHub (Nov 24, 2025): I am getting the same issue in s23 Ultra. A dialog comes from Google Play protect saying tha the app blocked to protect your device.
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#50
No description provided.