[GH-ISSUE #215] android: wrong path for su and can't get MAC #97

Open
opened 2026-03-02 12:03:25 +03:00 by kerem · 28 comments
Owner

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

Hi @kavishdevar thanks for the continuous development! But after installing the apk for the latest release and after clearing cache and storage the app immediately crashes.

Originally created by @NL-TCH on GitHub (Sep 30, 2025). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/215 Hi @kavishdevar thanks for the continuous development! But after installing the apk for the latest release and after clearing cache and storage the app immediately crashes.
Author
Owner

@NL-TCH commented on GitHub (Sep 30, 2025):

Pixel 8 Pro
Android 16

Image Image
<!-- gh-comment-id:3354040025 --> @NL-TCH commented on GitHub (Sep 30, 2025): Pixel 8 Pro Android 16 <img width="1344" height="2992" alt="Image" src="https://github.com/user-attachments/assets/c391add7-e45b-4f36-bad2-78b1458329d2" /> <img width="1344" height="1927" alt="Image" src="https://github.com/user-attachments/assets/b9c9313c-5423-46e0-9578-c8c53723b82f" />
Author
Owner

@FrenchToucan commented on GitHub (Oct 1, 2025):

Same. Android 16 QPR 1 on a Pixel 10.

<!-- gh-comment-id:3354224498 --> @FrenchToucan commented on GitHub (Oct 1, 2025): Same. Android 16 QPR 1 on a Pixel 10.
Author
Owner

@NL-TCH commented on GitHub (Oct 1, 2025):

also happens when building and installing #202

<!-- gh-comment-id:3354256646 --> @NL-TCH commented on GitHub (Oct 1, 2025): also happens when building and installing #202
Author
Owner

@NL-TCH commented on GitHub (Oct 1, 2025):

crashlog of logcat:

10-01 03:15:21.826  2614  3088 V ShellStartingWindow: RSO:Receive removal info for task=2820
10-01 03:15:21.826  1881  2093 I ActivityTaskManager: Displayed me.kavishdevar.librepods/.MainActivity for user 0: +131ms
10-01 03:15:21.844 13315 13834 D WM-GreedyScheduler: Starting tracking for 0cb213d3-5eb3-479c-8800-a6913165cbd8
10-01 03:15:21.845 13315 13834 D WM-NetworkStateTracker: Unregistering network callback
10-01 03:15:21.887 10410 10425 E BitmapFactory: Unable to decode file: java.io.FileNotFoundException: file:/data/user/0/com.google.android.apps.tips/files/download/asset/076a06274d40d80116692f8ca3bcb4354d3dac9e.webp: open failed: ENOENT (No such file or directory)
10-01 03:15:21.898  2634  2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.network.TopLevelNetworkEntryPreferenceController
10-01 03:15:21.899  2634  2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController
10-01 03:15:21.899  2634  2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.notification.modes.ZenModesLinkPreferenceController
10-01 03:15:21.905  2634  2859 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.accessibility.ColorInversionIllustrationPreferenceController
10-01 03:15:21.918  2634  2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.communal.CommunalPreferenceController
10-01 03:15:21.919 10410 10425 I PlatformIndex: index data: Get help fast with Emergency SOS
10-01 03:15:21.939 14564 14564 D AndroidRuntime: Shutting down VM
--------- beginning of crash
10-01 03:15:21.940 14564 14564 E AndroidRuntime: FATAL EXCEPTION: main
10-01 03:15:21.940 14564 14564 E AndroidRuntime: Process: me.kavishdevar.librepods, PID: 14564
10-01 03:15:21.940 14564 14564 E AndroidRuntime: java.lang.RuntimeException: Unable to create service me.kavishdevar.librepods.services.AirPodsService
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:5352)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2602)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:110)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.os.Looper.dispatchMessage(Looper.java:315)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:251)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:349)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:9041)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: Caused by: java.io.IOException: Cannot run program "/system/bin/su": error=2, No such file or directory
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.Runtime.exec(Runtime.java:709)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.Runtime.exec(Runtime.java:568)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at me.kavishdevar.librepods.services.AirPodsService.onCreate(AirPodsService.kt:352)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:5341)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	... 10 more
10-01 03:15:21.940 14564 14564 E AndroidRuntime: Caused by: java.io.IOException: error=2, No such file or directory
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.UNIXProcess.forkAndExec(Native Method)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.ProcessImpl.start(ProcessImpl.java:141)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
10-01 03:15:21.940 14564 14564 E AndroidRuntime: 	... 14 more
10-01 03:15:21.942  1881 14712 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
10-01 03:15:21.946  1881  2624 W ActivityTaskManager:   Force finishing activity me.kavishdevar.librepods/.MainActivity
10-01 03:15:21.946  1881  2624 W TransitionChain: Combining AR.finish-force-crash into #11(CLOSE|R|0x10) from finishTopCrash
10-01 03:15:21.947  2614  3088 V WindowManagerShell: Transition requested (#11): android.os.BinderProxy@3003fbd TransitionRequestInfo { type = CLOSE, triggerTask = TaskInfo{userId=0 taskId=2820 effectiveUid=10421 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=me.kavishdevar.librepods/.MainActivity } baseActivity=ComponentInfo{me.kavishdevar.librepods/me.kavishdevar.librepods.MainActivity} topActivity=ComponentInfo{me.kavishdevar.librepods/me.kavishdevar.librepods.MainActivity} origActivity=null realActivity=ComponentInfo{me.kavishdevar.librepods/me.kavishdevar.librepods.MainActivity} numActivities=1 lastActiveTime=119454 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.os.BinderProxy@b32be82} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 0 - 0, 0) topActivityInfo=ActivityInfo{3b4e9b2 me.kavishdevar.librepods.MainActivity} launchCookies=[android.os.BinderProxy@48a6dd0] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isTopActivityNoDisplay=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false isActivityStackTransparent=false lastNonFullscreenBounds=Rect(346, 863 - 998, 2207) capturedLink=null capturedLinkTimestamp=0 requestedVisibleTypes=-9 topActivityRequestOpenInBrowserEducationTimestamp=0 appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false eligibleForLetterboxEducation= false isLetterboxEducationEnabled= false isLetterboxDoubleTapEnabled= false eligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 topActivityAppBounds=Rect(0, 0 - 1344, 2992) isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false hasMinAspectRatioOverride=false topActivityLetterboxBounds=null cameraCompatTaskInfo=CameraCompatTaskInfo { freeformCameraCompatMode=inactiveundefined} topNonResizableActivityAspectRatio=-1.0} topActivityMainWindowFrame=null isAppBubble=false}, pipChange = null, remoteTransition = null, displayChange = null, flags = 16, debugId = 11 }
10-01 03:15:21.947   600  2303 I libbinder.BpBinder: onLastStrongRef automatically unlinking death recipients: 
10-01 03:15:21.948  2634  2859 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.accessibility.ColorInversionMainSwitchPreferenceController
10-01 03:15:21.948  2634  2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.display.TopLevelDisplayPreferenceController
10-01 03:15:21.949  2634  2859 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.accessibility.ToggleShortcutPreferenceController
10-01 03:15:21.949  2634  2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.display.TopLevelWallpaperPreferenceController
10-01 03:15:21.950 14564 14564 I Process : Sending signal. PID: 14564 SIG: 9
<!-- gh-comment-id:3354335585 --> @NL-TCH commented on GitHub (Oct 1, 2025): crashlog of logcat: ``` 10-01 03:15:21.826 2614 3088 V ShellStartingWindow: RSO:Receive removal info for task=2820 10-01 03:15:21.826 1881 2093 I ActivityTaskManager: Displayed me.kavishdevar.librepods/.MainActivity for user 0: +131ms 10-01 03:15:21.844 13315 13834 D WM-GreedyScheduler: Starting tracking for 0cb213d3-5eb3-479c-8800-a6913165cbd8 10-01 03:15:21.845 13315 13834 D WM-NetworkStateTracker: Unregistering network callback 10-01 03:15:21.887 10410 10425 E BitmapFactory: Unable to decode file: java.io.FileNotFoundException: file:/data/user/0/com.google.android.apps.tips/files/download/asset/076a06274d40d80116692f8ca3bcb4354d3dac9e.webp: open failed: ENOENT (No such file or directory) 10-01 03:15:21.898 2634 2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.network.TopLevelNetworkEntryPreferenceController 10-01 03:15:21.899 2634 2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController 10-01 03:15:21.899 2634 2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.notification.modes.ZenModesLinkPreferenceController 10-01 03:15:21.905 2634 2859 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.accessibility.ColorInversionIllustrationPreferenceController 10-01 03:15:21.918 2634 2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.communal.CommunalPreferenceController 10-01 03:15:21.919 10410 10425 I PlatformIndex: index data: Get help fast with Emergency SOS 10-01 03:15:21.939 14564 14564 D AndroidRuntime: Shutting down VM --------- beginning of crash 10-01 03:15:21.940 14564 14564 E AndroidRuntime: FATAL EXCEPTION: main 10-01 03:15:21.940 14564 14564 E AndroidRuntime: Process: me.kavishdevar.librepods, PID: 14564 10-01 03:15:21.940 14564 14564 E AndroidRuntime: java.lang.RuntimeException: Unable to create service me.kavishdevar.librepods.services.AirPodsService 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:5352) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2602) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.os.Looper.dispatchMessage(Looper.java:315) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:251) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.os.Looper.loop(Looper.java:349) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9041) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: Caused by: java.io.IOException: Cannot run program "/system/bin/su": error=2, No such file or directory 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.Runtime.exec(Runtime.java:709) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.Runtime.exec(Runtime.java:568) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at me.kavishdevar.librepods.services.AirPodsService.onCreate(AirPodsService.kt:352) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:5341) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: ... 10 more 10-01 03:15:21.940 14564 14564 E AndroidRuntime: Caused by: java.io.IOException: error=2, No such file or directory 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.UNIXProcess.forkAndExec(Native Method) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.UNIXProcess.<init>(UNIXProcess.java:133) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.ProcessImpl.start(ProcessImpl.java:141) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) 10-01 03:15:21.940 14564 14564 E AndroidRuntime: ... 14 more 10-01 03:15:21.942 1881 14712 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 10-01 03:15:21.946 1881 2624 W ActivityTaskManager: Force finishing activity me.kavishdevar.librepods/.MainActivity 10-01 03:15:21.946 1881 2624 W TransitionChain: Combining AR.finish-force-crash into #11(CLOSE|R|0x10) from finishTopCrash 10-01 03:15:21.947 2614 3088 V WindowManagerShell: Transition requested (#11): android.os.BinderProxy@3003fbd TransitionRequestInfo { type = CLOSE, triggerTask = TaskInfo{userId=0 taskId=2820 effectiveUid=10421 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=me.kavishdevar.librepods/.MainActivity } baseActivity=ComponentInfo{me.kavishdevar.librepods/me.kavishdevar.librepods.MainActivity} topActivity=ComponentInfo{me.kavishdevar.librepods/me.kavishdevar.librepods.MainActivity} origActivity=null realActivity=ComponentInfo{me.kavishdevar.librepods/me.kavishdevar.librepods.MainActivity} numActivities=1 lastActiveTime=119454 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.os.BinderProxy@b32be82} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 0 - 0, 0) topActivityInfo=ActivityInfo{3b4e9b2 me.kavishdevar.librepods.MainActivity} launchCookies=[android.os.BinderProxy@48a6dd0] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isTopActivityNoDisplay=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false isActivityStackTransparent=false lastNonFullscreenBounds=Rect(346, 863 - 998, 2207) capturedLink=null capturedLinkTimestamp=0 requestedVisibleTypes=-9 topActivityRequestOpenInBrowserEducationTimestamp=0 appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false eligibleForLetterboxEducation= false isLetterboxEducationEnabled= false isLetterboxDoubleTapEnabled= false eligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 topActivityAppBounds=Rect(0, 0 - 1344, 2992) isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false hasMinAspectRatioOverride=false topActivityLetterboxBounds=null cameraCompatTaskInfo=CameraCompatTaskInfo { freeformCameraCompatMode=inactiveundefined} topNonResizableActivityAspectRatio=-1.0} topActivityMainWindowFrame=null isAppBubble=false}, pipChange = null, remoteTransition = null, displayChange = null, flags = 16, debugId = 11 } 10-01 03:15:21.947 600 2303 I libbinder.BpBinder: onLastStrongRef automatically unlinking death recipients: 10-01 03:15:21.948 2634 2859 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.accessibility.ColorInversionMainSwitchPreferenceController 10-01 03:15:21.948 2634 2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.display.TopLevelDisplayPreferenceController 10-01 03:15:21.949 2634 2859 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.accessibility.ToggleShortcutPreferenceController 10-01 03:15:21.949 2634 2866 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.display.TopLevelWallpaperPreferenceController 10-01 03:15:21.950 14564 14564 I Process : Sending signal. PID: 14564 SIG: 9 ```
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Same on pixel 8 pro, android 16 qpr1, magisk a344ebf2-alpha (30100), lsposed 1.10.2 (7189).

<!-- gh-comment-id:3354531692 --> @farinrav commented on GitHub (Oct 1, 2025): Same on pixel 8 pro, android 16 qpr1, magisk a344ebf2-alpha (30100), lsposed 1.10.2 (7189).
Author
Owner

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

I had a feeling this might happen. Could y'all please open termux/shell and run which su? After giving root access to termux/shell of course.

Sorry for the inconvenience!

<!-- gh-comment-id:3354639215 --> @kavishdevar commented on GitHub (Oct 1, 2025): I had a feeling this might happen. Could y'all please open termux/shell and run `which su`? After giving root access to termux/shell of course. Sorry for the inconvenience!
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Image
<!-- gh-comment-id:3354651278 --> @farinrav commented on GitHub (Oct 1, 2025): <img width="1344" height="2992" alt="Image" src="https://github.com/user-attachments/assets/242fb694-38c5-4cf3-936d-fcb964803281" />
Author
Owner

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

@farinrav what about su shell -c which su? (Run after giving com.android.shell root) Seems like termux got its own binary, not magisk’s.

<!-- gh-comment-id:3354671594 --> @kavishdevar commented on GitHub (Oct 1, 2025): @farinrav what about `su shell -c which su`? (Run after giving com.android.shell root) Seems like termux got its own binary, not magisk’s.
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Termix not accepting argument for some reason but I got "/system_ext/bin/su" using local wireless debugging

Image
<!-- gh-comment-id:3354690441 --> @farinrav commented on GitHub (Oct 1, 2025): Termix not accepting argument for some reason but I got "/system_ext/bin/su" using local wireless debugging <img width="1344" height="2992" alt="Image" src="https://github.com/user-attachments/assets/11a34ca8-039e-4847-a201-2cd8fb5443be" />
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Here it is
Image

<!-- gh-comment-id:3354693448 --> @farinrav commented on GitHub (Oct 1, 2025): Here it is <img width="1344" height="2992" alt="Image" src="https://github.com/user-attachments/assets/acd41000-c5ad-46aa-a7bd-906a02c56122" />
Author
Owner

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

thanks, @farinrav. reverting to just calling su for now. I will figure out another way to detect the binary later. GitHub's security bot had a warning to not use relative paths, so I switched to /system/bin/su because that's where it is in KernelSU.

Anyway, updated the latest release with the fix. Please download again.

<!-- gh-comment-id:3354701167 --> @kavishdevar commented on GitHub (Oct 1, 2025): thanks, @farinrav. reverting to just calling `su` for now. I will figure out another way to detect the binary later. GitHub's security bot had a warning to not use relative paths, so I switched to `/system/bin/su` because that's where it is in KernelSU. Anyway, updated the latest release with the fix. Please download again.
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Now app loads successfully but crashes a second later if airpods are connected and sometimes disconnects my airpods on crash.

Lsposed module enabled for com.google.android.bluetooth and com.android.settings

Tried clean reinstall and reboot.

https://github.com/user-attachments/assets/f9b0c314-320d-4329-9e06-d89a72a79f94

<!-- gh-comment-id:3354732887 --> @farinrav commented on GitHub (Oct 1, 2025): Now app loads successfully but crashes a second later if airpods are connected and sometimes disconnects my airpods on crash. Lsposed module enabled for com.google.android.bluetooth and com.android.settings Tried clean reinstall and reboot. https://github.com/user-attachments/assets/f9b0c314-320d-4329-9e06-d89a72a79f94
Author
Owner

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

Weird, could you please use logcat -b crash (run as root if termux, or just shell)

<!-- gh-comment-id:3354741980 --> @kavishdevar commented on GitHub (Oct 1, 2025): Weird, could you please use `logcat -b crash` (run as root if termux, or just shell)
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Running "logcat -b crash" in termux gave no output even after crashing librepods multiple times. So here's logcat from app "Logcat Reader" filtered by Package name: 'me.kavishdevar.librepods' after opening librepods with airpods connected

I have Airpods Pro 2 (type-c) btw

[removed log for privacy]

<!-- gh-comment-id:3354763181 --> @farinrav commented on GitHub (Oct 1, 2025): Running "logcat -b crash" in termux gave no output even after crashing librepods multiple times. So here's logcat from app "Logcat Reader" filtered by Package name: 'me.kavishdevar.librepods' after opening librepods with airpods connected I have Airpods Pro 2 (type-c) btw [removed log for privacy]
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Here's errors from com.google.android.bluetooth after opening librepods. Idk if u need it

Image
<!-- gh-comment-id:3354825301 --> @farinrav commented on GitHub (Oct 1, 2025): Here's errors from com.google.android.bluetooth after opening librepods. Idk if u need it <img width="1344" height="2992" alt="Image" src="https://github.com/user-attachments/assets/a2973c87-2e77-4a46-b8f8-306a449e7eeb" />
Author
Owner

@NL-TCH commented on GitHub (Oct 1, 2025):

it does work for me now without any crashes.

@farinrav make sure librepods has root access as there is an error in your log stating Neither user 10044 nor current process has android.permission.BLUETOOTH_PRIVILEGED.

or install the rootmodule in magisk called btl2capfix.zip

<!-- gh-comment-id:3355629878 --> @NL-TCH commented on GitHub (Oct 1, 2025): it does work for me now without any crashes. @farinrav make sure librepods has root access as there is an error in your log stating `Neither user 10044 nor current process has android.permission.BLUETOOTH_PRIVILEGED.` or install the rootmodule in magisk called `btl2capfix.zip`
Author
Owner

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

@farinrav could you please give root access, it needs it to get the MAC address of your phone for the mutli-device features. Google thinks it’s not okay for apps to get the MAC of your phone, so the app gets it by using root (better solutions do exist, though). I'll remove the requirement soon.

<!-- gh-comment-id:3355663296 --> @kavishdevar commented on GitHub (Oct 1, 2025): @farinrav could you please give root access, it needs it to get the MAC address of your phone for the mutli-device features. Google thinks it’s not okay for apps to get the MAC of your phone, so the app gets it by using root (better solutions do exist, though). I'll remove the requirement soon.
Author
Owner

@NL-TCH commented on GitHub (Oct 1, 2025):

in a few days the google bugtracker "celebrates" its first birthday 👎🏼

<!-- gh-comment-id:3355678985 --> @NL-TCH commented on GitHub (Oct 1, 2025): in a few days the google bugtracker "celebrates" its first birthday 👎🏼
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Librepods already has root granted in magisk. I also set magisk to automatically grand root access to all apps.

If I'm trying to install btl2capfix.zip I get this error.

I tried disabling Bluetooth and resetting hook though librepods settings but after reconnecting airpods, app starts crashing again... 😭

Librepods v0.1.0-rc.4 was working good using first installation method.

I have no idea what might be the problem....

Image Image Image
<!-- gh-comment-id:3355743866 --> @farinrav commented on GitHub (Oct 1, 2025): Librepods already has root granted in magisk. I also set magisk to automatically grand root access to all apps. If I'm trying to install btl2capfix.zip I get this error. I tried disabling Bluetooth and resetting hook though librepods settings but after reconnecting airpods, app starts crashing again... 😭 Librepods v0.1.0-rc.4 was working good using first installation method. I have no idea what might be the problem.... <img width="1344" height="280" alt="Image" src="https://github.com/user-attachments/assets/37764bfb-913f-4c54-a103-5e14953ae06e" /> <img width="1344" height="280" alt="Image" src="https://github.com/user-attachments/assets/020fa268-2759-492f-bbac-853abb0058aa" /> <img width="1344" height="2992" alt="Image" src="https://github.com/user-attachments/assets/035f413f-72d0-44dd-9639-1fde4fa14cfd" />
Author
Owner

@NL-TCH commented on GitHub (Oct 1, 2025):

@farinrav good catch i get the same error, i already have a working fix, please create a new issue for this so i can create the PR.

(i will close this issue then)

<!-- gh-comment-id:3356246913 --> @NL-TCH commented on GitHub (Oct 1, 2025): @farinrav good catch i get the same error, i already have a working fix, please create a new issue for this so i can create the PR. (i will close this issue then)
Author
Owner

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

@farinrav you don't need that module if you had it working with xposed before.

fixed your crash here https://github.com/kavishdevar/librepods/actions/runs/18163661981

lemme know if it works now!

<!-- gh-comment-id:3356314557 --> @kavishdevar commented on GitHub (Oct 1, 2025): @farinrav you don't need that module if you had it working with xposed before. fixed your crash here https://github.com/kavishdevar/librepods/actions/runs/18163661981 lemme know if it works now!
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Just tried this version.
When I connect my airpods and open librepods either it crashes or my phone just freezes for 10 seconds and then librepods crashes, it's 50/50 😭😭😭

https://github.com/user-attachments/assets/400d7955-b235-480c-bc38-e1d8565a32bf

<!-- gh-comment-id:3356485151 --> @farinrav commented on GitHub (Oct 1, 2025): Just tried this version. When I connect my airpods and open librepods either it crashes or my phone just freezes for 10 seconds and then librepods crashes, it's 50/50 😭😭😭 https://github.com/user-attachments/assets/400d7955-b235-480c-bc38-e1d8565a32bf
Author
Owner

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

@farinrav oops, did the fix in a hurry last time, had to change a few similar issues at other places too. please give this a try.

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

<!-- gh-comment-id:3356835616 --> @kavishdevar commented on GitHub (Oct 1, 2025): @farinrav oops, did the fix in a hurry last time, had to change a few similar issues at other places too. please give this a try. https://github.com/kavishdevar/librepods/actions/runs/18165693852
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

It's workiiiing now les gooooo 🎉🎉🎉
Thank you sooo much ♥️.
I really got used to checking my airpods battery and switching anc modes from my phone)))
God level devs frfr

<!-- gh-comment-id:3356891190 --> @farinrav commented on GitHub (Oct 1, 2025): It's workiiiing now les gooooo 🎉🎉🎉 Thank you sooo much ♥️. I really got used to checking my airpods battery and switching anc modes from my phone))) God level devs frfr
Author
Owner

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

yay!

God level devs frfr

thanks! though, it's just me, a high school student here :D

could you nevertheless share the logs when you connect? the airpods multidevice features will not work because the app wasn't able to get the MAC address of your phone (the app needs it to introduce the phone to other apple device, kinda)

<!-- gh-comment-id:3356911514 --> @kavishdevar commented on GitHub (Oct 1, 2025): yay! > God level devs frfr thanks! though, it's just me, a high school student here :D could you nevertheless share the logs when you connect? the airpods multidevice features will not work because the app wasn't able to get the MAC address of your phone (the app needs it to introduce the phone to other apple device, kinda)
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Connected airpods and then opened librepods

[removed log for privacy]

<!-- gh-comment-id:3356944901 --> @farinrav commented on GitHub (Oct 1, 2025): Connected airpods and then opened librepods [removed log for privacy]
Author
Owner

@farinrav commented on GitHub (Oct 1, 2025):

Here's another log cuz I think I fucked up the first one by cleaning logcat 😂

[removed log for privacy]

<!-- gh-comment-id:3356973403 --> @farinrav commented on GitHub (Oct 1, 2025): Here's another log cuz I think I fucked up the first one by cleaning logcat 😂 [removed log for privacy]
Author
Owner

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

@farinrav #220, please.

<!-- gh-comment-id:3357013782 --> @kavishdevar commented on GitHub (Oct 1, 2025): @farinrav #220, please.
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#97
No description provided.