Android 15 (NoSuchFieldError - LSPosed)
Hello! First of all, thank you for the amazing module.
I'm reporting a bug that occurs on Android 15 using LSPosed (latest stable version). The module WaEnhancer does not work and shows the message "Module Disabled" even when it is enabled correctly in LSPosed.
I checked the logs, and this is the key part:
java.lang.NoSuchFieldError: at XposedHelpers.findField(Unknown Source) at Helper.getResourcesMap(Unknown Source) at Helper.addActiveResource(SourceFile) at com.wmods.wppenhacer.WppXposed.handleInitPackageResources(WppXposed.java:83)
This crash occurs on Android SDK 35 (Android 15). The log shows that WaEnhancer fails to hook WhatsApp properly due to a missing field it expects.
Device info:
- Device: Motorola Xpeng (Moto G200)
- Android Version: 15 (SDK 35)
- WhatsApp Version: 2.25.10.x
- LSPosed Version: 1.9.2 (also tried with 1.8.x)
- WaEnhancer Version: latest available
- KernelSU used instead of Magisk (but same error under Magisk)
I’ve confirmed LSPosed works fine with other modules like DisableFlagSecure and AlwaysBatterySaver, so it seems specific to WaEnhancer.
Please let me know if you need more logs or testing help. I'd love to help make it compatible with Android 15.
Thanks again!
I need more details from the log, the field it reports is missing.
Can't reproduce (Android 15, Whatsapp 2.25.11.75, LSPosed (JingMatrix) 1.10.1, Zygisk Next 1.2.8, KernelSU 12018, WaEnhancer de915d14)
I need more details from the log, the field it reports is missing.
Hi, Thanks for replying, yes I thought the log file had been sent. There I send you the complete log of the LSPosed.
https://drive.google.com/file/d/1-wJhtA7OFLdmw9OIqzxUA4_pmpKhQs8C/view?usp=drivesdk
Have you tried using JingMatrix's lsposed? It's giving a lot of hook errors in lsposed itself
Have you tried using JingMatrix's lsposed? It's giving a lot of hook errors in lsposed itself
Hi! First of all, thanks a lot for your time and for the great work you're doing with WaEnhancer.
Regarding what you mentioned about LSPosed by JingMatrix — I understand that version might have issues, but I was already using the official LSPosed version from the beginning. I only switched to alternative builds like JingMatrix’s after encountering errors, hoping it would solve the problem.
Eventually, I returned to the official version, and the same issue persists. After trying many things and even checking logs with ChatGPT, we concluded that the root of the problem is likely not LSPosed, but a compatibility issue with WaEnhancer itself, possibly on Android 15.
Here’s the link to a full debug log taken while using the official LSPosed version and KernelSU Next: https://drive.google.com/file/d/10FYtG3npauYL_4gUEQsh7J2xcbg_eqRn/view?usp=drivesdk
Let me know if there's anything else I can test or provide to help!
Thanks again for your work and attention.
Okay, let's go, first your lsposed is giving an error when loading the main binary for hooks, the lsp
[ 2025-04-19T10:51:41.864 1000: 1387: 1387 E/LSPlant ] Hook Fails: _ZN3art11ClassLinker22FixupStaticTrampolinesEPNS_6ThreadENS_6ObjPtrINS_6mirror5ClassEEE
[ 2025-04-19T10:51:41.864 1000: 1387: 1387 E/LSPlant ] Failed to init class linker
[ 2025-04-19T10:51:41.864 1000: 1387: 1387 E/LSPosed ] Failed to init lsplant
This is a problem, seriously.
My module needs to use the resources to get the texts from the WAE apk and inject into WA via resources hooks (official lsposed).
This is not working:
[ 2025-04-19T10:52:06.979 10488: 4079: 4079 E/LSPosed-Bridge ] java.lang.NoSuchFieldError: android.app.ActivityThread#mResourcesManager
This hook is made by lsposed and not by me. Therefore the incompatibility with Android 15 comes from lsposed.
The other modules may work by not using resources, and not injecting dynamic texts,drawables and arrays inside the target application, but my module does.
I suggest you try the compilations of JingMatrix actions, if the error persists, open an issue on JingMatrix's lsposed, it is very active in solving these types of problems.
I suggest you try the compilations of JingMatrix actions, if the error persists, open an issue on JingMatrix's lsposed, it is very active in solving these types of problems.
thank you so much for taking the time to explain everything in such detail.
I now understand that your module, unlike others, requires injecting texts, drawables, and arrays directly into the target application using resource hooks, which makes it dependent on LSPosed's deep-level functionality.
It's clear to me now that the issue isn’t with your module, but with the way LSPosed handles those hooks on Android 15, which unfortunately is breaking that critical functionality.
I’ll try JingMatrix’s LSPosed builds as you suggested, and if the issue continues, I’ll open an issue directly on JingMatrix’s LSPosed repository so they can take a look.
Thanks again for your patience and dedication. I really appreciate your work on WAEnhancer, and I hope to use it properly on Android 15 soon.
You mentioned that you used ksu. As far as I know, the kernel version of this phone is 5.4, and it is not native to ksu. Can you share the boot image file and other related files that you used or found? Thank you very much for your help.