librepods-org / librepods-org/librepods

Root module installs correctly but LibrePods crashes on launch (Android 16 QPR2)

Open
#627 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

android bug
Dominant language
Kotlin
Stars
29.9k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

App version

v0.2.9 (build 55)

App source

GitHub

Device

Motorola Moto G52 (Rhode)

Android / OS version

Android 16 QPR2, Project Infinity X 3.10

Root / hook method

Other (describe in additional context)

AirPods model

AirPods Pro 3

AirPods firmware

No response

What happened

LibrePods works normally when installed as a regular user app.

When installed through the official LibrePods root module, the app is installed as a privileged system app but crashes immediately on launch.

The root module appears to install correctly. PackageManager resolves the package from:

/system/priv-app/LibrePods/LibrePods.apk

The package is marked as PRIVILEGED and version 0.2.9.

Expected behavior:
LibrePods should launch normally after installation through the root module.

Actual behavior:
The app immediately crashes and Android shows an "Librepods keeps stopping" notification.

Logs

Attached logcat from a crash immediately after launching LibrePods.

Relevant entries:

ClassLoader referenced unknown path:
/system/priv-app/LibrePods/LibrePods.apk

Unable to open '/system/priv-app/LibrePods/LibrePods.apk'
No such file or directory

Failed to open APK '/system/priv-app/LibrePods/LibrePods.apk'

ClassNotFoundException:
androidx.core.app.CoreComponentFactory

FATAL EXCEPTION: main

java.lang.NullPointerException
at android.os.GraphicsEnvironment.queryAngleChoice()

librepods_crash.txt

Additional context

Root method:

  • RKSU / KernelSU v3
  • KernelSU driver version: 32473
  • Meta-OverlayFS installed

Verified:

  • APK mounted at /system/priv-app/LibrePods/LibrePods.apk
  • PackageManager resolves the package correctly
  • codePath=/system/priv-app/LibrePods
  • resourcePath=/system/priv-app/LibrePods
  • Package is marked as PRIVILEGED
  • APK hashes match between the module directory and mounted system location

Additional observations:

  • After installation through the root module, the launcher icon is not the normal LibrePods icon. Android shows the default placeholder app icon.

  • The launcher label is displayed as:

    me.kavishdevar.librepods.LibrePodsApplication

    instead of "LibrePods".

  • Package name remains:

    me.kavishdevar.librepods

  • PackageManager resolves the package correctly from:

    /system/priv-app/LibrePods/LibrePods.apk

  • The same LibrePods version (0.2.9) works normally when installed as a regular user application, displaying the correct icon and app name and launching successfully.

Screenshots attached:

  1. App info screen showing the application is displayed as
    "me.kavishdevar.librepods.LibrePodsApplication"
    with the default Android placeholder icon instead of the normal LibrePods icon.

  2. Crash dialog shown immediately after launching LibrePods.

Image Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached librepods_crash.txt and compare the root-module installation with the regular user-app installation. Check why the mounted APK cannot be opened and why the system app shows the application class as its label and a placeholder icon; done means the privileged installation launches with the normal name and icon.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.