Skip to content

Adapt getInstalledPackages signature change#603

Merged
JingMatrix merged 1 commit intomasterfrom
a17
Mar 27, 2026
Merged

Adapt getInstalledPackages signature change#603
JingMatrix merged 1 commit intomasterfrom
a17

Conversation

@JingMatrix
Copy link
Copy Markdown
Owner

Android 17 Beta 3 changed the IPackageManager method signature to:

getInstalledPackages(JI)Landroid/content/pm/PackageInfoList;

We introduce a reflective helper to handle the new 'PackageInfoList' return type (which inherits from ParceledListSlice) and ensures compatibility with both Long and Int flag types across API levels.

Android 17 Beta 3 changed the IPackageManager method signature to:
```
getInstalledPackages(JI)Landroid/content/pm/PackageInfoList;
```

We introduce a reflective helper to handle the new 'PackageInfoList' return type (which inherits from ParceledListSlice) and ensures compatibility with both Long and Int flag types across API levels.
This was linked to issues Mar 27, 2026
@JingMatrix JingMatrix marked this pull request as ready for review March 27, 2026 11:21
@JingMatrix
Copy link
Copy Markdown
Owner Author

@Sebastianqiarourou, @AllenChangMusic, @jiggs82, please test latest CI build of this pull-request.

@jiggs82
Copy link
Copy Markdown

jiggs82 commented Mar 27, 2026

@Sebastianqiarourou, @AllenChangMusic, @jiggs82, please test latest CI build of this pull-request.

Yup it's working for me now 🙌🏻 thanks a lot!!

@IMSoley
Copy link
Copy Markdown

IMSoley commented Mar 27, 2026

Still Doesn't work:

  1. Removed previous version then restarted
  2. Installed CI build then restarted
  3. Opened lsposed manager and says lsposed not installed, installed it using the button then restarted in 5 seconds
  4. Opened magisk, zygisk is not present although it is turned on. Tried toggle off and on again then restarted
  5. Lsposed manager doesn't open

Logs attached as well magisk modules
kmsg.log
modules_2026-03-27T12:47:54.651341.log
props.txt
verbose_2026-03-27T12:47:54.651003.log
Screenshot_20260327-125201

@jiggs82
Copy link
Copy Markdown

jiggs82 commented Mar 27, 2026

Still Doesn't work:

  1. Removed previous version then restarted
  2. Installed CI build then restarted
  3. Opened lsposed manager and says lsposed not installed, installed it using the button then restarted in 5 seconds
  4. Opened magisk, zygisk is not present although it is turned on. Tried toggle off and on again then restarted
  5. Lsposed manager doesn't open

Logs attached as well magisk modules kmsg.log modules_2026-03-27T12:47:54.651341.log props.txt verbose_2026-03-27T12:47:54.651003.log Screenshot_20260327-125201

Try extracting the manager from Vector zip , then uninstall previous manager then install extracted one

@IMSoley
Copy link
Copy Markdown

IMSoley commented Mar 27, 2026

Still Doesn't work:

  1. Removed previous version then restarted
  2. Installed CI build then restarted
  3. Opened lsposed manager and says lsposed not installed, installed it using the button then restarted in 5 seconds
  4. Opened magisk, zygisk is not present although it is turned on. Tried toggle off and on again then restarted
  5. Lsposed manager doesn't open

Logs attached as well magisk modules kmsg.log modules_2026-03-27T12:47:54.651341.log props.txt verbose_2026-03-27T12:47:54.651003.log Screenshot_20260327-125201

Try extracting the manager from Vector zip , then uninstall previous manager then install extracted one

Unfortunately doesn't work. Idk why it works for you but not for me, lol

@JingMatrix
Copy link
Copy Markdown
Owner Author

@IMSoley , you should have LSPosed v1.11.0 disabled, ideally, uninstalled.

Please try uninstall LSPosed and Vector, reboot, then reinstall Vector again.

@JingMatrix JingMatrix merged commit 9058485 into master Mar 27, 2026
1 check passed
@bodya666
Copy link
Copy Markdown

Device: Google Pixel 7 Pro
Android version: Android 17 Beta 3 (CP21.260306.017)
Root method: Tested both Magisk and KernelSU

I’m experiencing critical issues with LSPosed on Android 17 Beta 3. I tested multiple installation methods and builds, but none of them work properly. The stable LSPosed release results in a bootloop with continuous reboots, and the UI never opens. In contrast, the latest CI (Actions) builds from JingMatrix do allow the LSPosed app to open, but no modules are detected or displayed, and installed modules are completely ignored and do not function. I also tried NeoZygisk CI builds, but the behavior remains the same: LSPosed launches, yet modules do not appear and nothing works. I tested both Magisk and KernelSU as root solutions, and there is no difference in behavior between them.

Additionally, at one point LSPosed prompted to install the latest version. After accepting, the device rebooted approximately five times, then stopped rebooting, but all LSPosed modules were disabled afterward.

Overall, the expected behavior would be for LSPosed to load normally and properly detect and run modules, but instead the stable build causes a bootloop while CI builds open without loading any modules. This seems to be related to compatibility with Android 17 (API 101), possibly involving issues in module loading or Zygisk/loader integration.

Thanks.
logs.zip
photo_2026-03-28_21-36-28

@AllenChangMusic
Copy link
Copy Markdown

Device: Google Pixel 7 Pro Android version: Android 17 Beta 3 (CP21.260306.017) Root method: Tested both Magisk and KernelSU

I’m experiencing critical issues with LSPosed on Android 17 Beta 3. I tested multiple installation methods and builds, but none of them work properly. The stable LSPosed release results in a bootloop with continuous reboots, and the UI never opens. In contrast, the latest CI (Actions) builds from JingMatrix do allow the LSPosed app to open, but no modules are detected or displayed, and installed modules are completely ignored and do not function. I also tried NeoZygisk CI builds, but the behavior remains the same: LSPosed launches, yet modules do not appear and nothing works. I tested both Magisk and KernelSU as root solutions, and there is no difference in behavior between them.

Additionally, at one point LSPosed prompted to install the latest version. After accepting, the device rebooted approximately five times, then stopped rebooting, but all LSPosed modules were disabled afterward.

Overall, the expected behavior would be for LSPosed to load normally and properly detect and run modules, but instead the stable build causes a bootloop while CI builds open without loading any modules. This seems to be related to compatibility with Android 17 (API 101), possibly involving issues in module loading or Zygisk/loader integration.

Thanks. logs.zip photo_2026-03-28_21-36-28

Is your Zygisk actually working? Your Youtube Morphe makes me question that. Also... some modules (like core patcher) is making zygisk abort. If you have that, even if you boot, your zygisk would crash, so LSposed wouldn't really work even with the manager opening.

Also forget trying to update LSposed in app. Just stick to the latest CI build. Stable isn't going to work plain and simple, the API changed in API37. And don't change between magisk and KSU, this is not that kind of issue. Although if you switched, you may have lost all your settings. You may want to try reinstalling modules to see if they get detected?

@JingMatrix
Copy link
Copy Markdown
Owner Author

JingMatrix commented Mar 28, 2026

@bodya666 Given this case, you have to now uninstall LSPosed and Vector, reboot, and install the latest CI of Vector again in master branch: https://github.com/JingMatrix/Vector/actions/runs/23646263242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on Android 17 Beta 3 [BUG] Support for Android 17 beta 13

5 participants