Adapt getInstalledPackages signature change#603
Conversation
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.
|
@Sebastianqiarourou, @AllenChangMusic, @jiggs82, please test latest CI build of this pull-request. |
Yup it's working for me now 🙌🏻 thanks a lot!! |
|
Still Doesn't work:
Logs attached as well magisk modules |
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 |
|
@IMSoley , you should have LSPosed v1.11.0 disabled, ideally, uninstalled. Please try uninstall LSPosed and Vector, reboot, then reinstall Vector again. |
|
Device: Google Pixel 7 Pro 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. |
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? |
|
@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 |




Android 17 Beta 3 changed the IPackageManager method signature to:
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.