[GH-ISSUE #216] android root module not working after building #98

Closed
opened 2026-03-02 12:03:25 +03:00 by kerem · 0 comments
Owner

Originally created by @NL-TCH on GitHub (Oct 1, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/216

steps to reproduce:

  1. run ./build-magisk-module.sh
    output:
./build-magisk-module.sh 
+ cd root-module
+ rm -f ../btl2capfix.zip
+ export COPYFILE_DISABLE=1
+ COPYFILE_DISABLE=1
+ curl -L -o ./radare2-5.9.9-android-aarch64.tar.gz https://hc-cdn.hel1.your-objectstorage.com/s/v3/25e8dbfe13892b4c26f3e01bfa45197f170bb0e7_radare2-5.9.9-android-aarch64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.0M  100 21.0M    0     0  6915k      0  0:00:03  0:00:03 --:--:-- 6916k
+ zip -r ../btl2capfix.zip . -x '*.DS_Store' '*__MACOSX' '*DEBIAN' '._*' .gitignore
  adding: META-INF/ (stored 0%)
  adding: META-INF/com/ (stored 0%)
  adding: META-INF/com/google/ (stored 0%)
  adding: META-INF/com/google/android/ (stored 0%)
  adding: META-INF/com/google/android/update-binary (deflated 53%)
  adding: META-INF/com/google/android/updater-script (stored 0%)
  adding: busybox/ (stored 0%)
  adding: busybox/busybox-arm64 (deflated 39%)
  adding: busybox/xz (deflated 7%)
  adding: customize.sh (deflated 67%)
  adding: module.prop (deflated 30%)
  adding: radare2-5.9.9-android-aarch64.tar.gz (deflated 3%)
  1. install the module in magisk
    output:
- Copying zip to temp directory
- Installing btl2capfix (1).zip
- Current boot slot: _a
- Device is system-as-root
Archive:  /data/user/0/on.nv/cache/flash/install.zip
  inflating: module.prop
****************************************
 Bluetooth L2CAP workaround for AirPods 
 by @devnoname120 and @kavishdevar 
****************************************
*******************
 Powered by Magisk 
*******************
Archive:  /data/user/0/on.nv/cache/flash/install.zip
  inflating: customize.sh
- Extracting module files
Archive:  /data/user/0/on.nv/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] Failed to extract /data/local/tmp/aln_unzip/radare2-5.9.9-android-aarch64-aln.tar.gz.
[O] [E] tar: can't open '/data/local/tmp/aln_unzip/radare2-5.9.9-android-aarch64-aln.tar.gz': No such file or directory
! Installation failed

why does this happen?
the build script calls radare "radare2-5.9.9-android-aarch64.tar.gz" and the root module expects "radare2-5.9.9-android-aarch64-aln.tar.gz"

Originally created by @NL-TCH on GitHub (Oct 1, 2025). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/216 steps to reproduce: 1. run `./build-magisk-module.sh` output: ``` ./build-magisk-module.sh + cd root-module + rm -f ../btl2capfix.zip + export COPYFILE_DISABLE=1 + COPYFILE_DISABLE=1 + curl -L -o ./radare2-5.9.9-android-aarch64.tar.gz https://hc-cdn.hel1.your-objectstorage.com/s/v3/25e8dbfe13892b4c26f3e01bfa45197f170bb0e7_radare2-5.9.9-android-aarch64.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 21.0M 100 21.0M 0 0 6915k 0 0:00:03 0:00:03 --:--:-- 6916k + zip -r ../btl2capfix.zip . -x '*.DS_Store' '*__MACOSX' '*DEBIAN' '._*' .gitignore adding: META-INF/ (stored 0%) adding: META-INF/com/ (stored 0%) adding: META-INF/com/google/ (stored 0%) adding: META-INF/com/google/android/ (stored 0%) adding: META-INF/com/google/android/update-binary (deflated 53%) adding: META-INF/com/google/android/updater-script (stored 0%) adding: busybox/ (stored 0%) adding: busybox/busybox-arm64 (deflated 39%) adding: busybox/xz (deflated 7%) adding: customize.sh (deflated 67%) adding: module.prop (deflated 30%) adding: radare2-5.9.9-android-aarch64.tar.gz (deflated 3%) ``` 2. install the module in magisk output: ``` - Copying zip to temp directory - Installing btl2capfix (1).zip - Current boot slot: _a - Device is system-as-root Archive: /data/user/0/on.nv/cache/flash/install.zip inflating: module.prop **************************************** Bluetooth L2CAP workaround for AirPods by @devnoname120 and @kavishdevar **************************************** ******************* Powered by Magisk ******************* Archive: /data/user/0/on.nv/cache/flash/install.zip inflating: customize.sh - Extracting module files Archive: /data/user/0/on.nv/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] Failed to extract /data/local/tmp/aln_unzip/radare2-5.9.9-android-aarch64-aln.tar.gz. [O] [E] tar: can't open '/data/local/tmp/aln_unzip/radare2-5.9.9-android-aarch64-aln.tar.gz': No such file or directory ! Installation failed ``` **why does this happen?** the build script calls radare "radare2-5.9.9-android-aarch64.tar.gz" and the root module expects "radare2-5.9.9-android-aarch64-aln.tar.gz"
kerem closed this issue 2026-03-02 12:03:26 +03:00
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#98
No description provided.