Skip to content

Compatibility of module AndroidFaker with different targets #634

Closed as duplicate

Description

@Hassinalhadi

Steps to reproduce/复现步骤

1-​Install and enable a module that requires Xposed API 100.
2-​Scenario A (System Framework): Select "System Framework" in the module's scope.
3-​Observe that the module's features do not take effect globally as expected.
4-​Scenario B (Specific App): Deselect System Framework and select a specific target app in the scope (e.g., HungerStation).
5-​Launch the targeted app.
6-​The app crashes (Force Closes) immediately upon opening.

Expected behaviour/预期行为

Selecting "System Framework" should apply the module globally without issues. If selecting a specific app instead, the app should launch normally with the module hooked, without crashing.
​Environment Details:
1- ​Vector Version: 2.0 (3021)
2-​Module API Requirement: API 100
3​-Device: Tecno Camon 30 (Model: CL6)
4-​Android Version:15

Actual behaviour/实际行为

1-​When "System Framework" is selected in the scope, the module fails to inject or function at all. It silently fails to apply its features.
2-​When a specific app (e.g., HungerStation) is selected in the scope, the targeted app immediately force closes (crashes) upon launch.

Xposed Module List/Xposed 模块列表

Android faker beta 9-5

Root implementation/Root 方案

Magisk 30.7

System Module List/系统模块列表

Play Integrity Fix [INJECT] v4.5-inject-s
​ReZygisk v1.0.0 (458-18f484b-release)
​TEESimulator v3.2 (81-150a476-release)
​Treat Wheel v0.0.8
​Vector v2.0 (3021)

LSPosed version/LSPosed 版本

​Vector 2.0 (3021)

Android version/Android 版本

15

Version requirement/版本要求

Logs/日志

LSPosed_2026-04-04T23_32_18.316048.zip

Activity

  1. JingMatrix commented on Apr 4, 2026

    @JingMatrix
    Owner

    Crucial logs are:

    [ 2026-04-04T23:01:34.599     1000:  1914:  1914 E/LSPosedContext  ] Error when calling onPackageLoaded of com.android1500.androidfaker
    java.lang.UnsatisfiedLinkError: dlopen failed: couldn't map "/data/app/~~fRZ9oj3vPNEGahxnRwx2QQ==/com.android1500.androidfaker-8S9EBPlfL0heSvCnhujYGg==/base.apk!/lib/arm64-v8a/libc++_shared.so" segment 2: Permission denied
    	at java.lang.Runtime.loadLibrary0(Runtime.java:1081)
    	at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
    	at java.lang.System.loadLibrary(System.java:1765)
    	at com.android1500.androidfaker.data.loader.ModuleMain.onPackageLoaded(r8-map-id-71ab7ac3c705648d6e01a4878c8e75829162e54d93772ed3d0c27c2edeadff11:49)
    	at w1.c(r8-map-id-bd8a188c72dcb420b3bf2c8bb5c3bcde85b40b6a76b9f502e6132e524d661836:19)
    	at c2.after(r8-map-id-bd8a188c72dcb420b3bf2c8bb5c3bcde85b40b6a76b9f502e6132e524d661836:294)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(r8-map-id-bd8a188c72dcb420b3bf2c8bb5c3bcde85b40b6a76b9f502e6132e524d661836:243)
    	at LSPHooker_.createOrUpdateClassLoaderLocked(Unknown Source:11)
    	at android.app.LoadedApk.getClassLoader(LoadedApk.java:1151)
    	at android.app.ContextImpl.getClassLoader(ContextImpl.java:522)
    	at android.app.ActivityThread.installProvider(ActivityThread.java:8661)
    	at android.app.ActivityThread.installContentProviders(ActivityThread.java:8187)
    	at android.app.ActivityThread.installSystemProviders(ActivityThread.java:8887)
    	at com.android.server.am.ContentProviderHelper.installSystemProviders(ContentProviderHelper.java:1503)
    	at com.android.server.SystemServer.startOtherServices(SystemServer.java:1660)
    	at com.android.server.SystemServer.run(SystemServer.java:1026)
    	at com.android.server.SystemServer.main(SystemServer.java:733)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:948)
    [ 2026-04-04T23:01:34.790     1000:  1914:  1914 E/LSPosedContext  ] Error when calling onPackageLoaded of com.android1500.androidfaker
    java.lang.UnsatisfiedLinkError: dlopen failed: couldn't map "/data/app/~~fRZ9oj3vPNEGahxnRwx2QQ==/com.android1500.androidfaker-8S9EBPlfL0heSvCnhujYGg==/base.apk!/lib/arm64-v8a/libaf_native.so" segment 1: Permission denied
    	at java.lang.Runtime.loadLibrary0(Runtime.java:1081)
    	at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
    	at java.lang.System.loadLibrary(System.java:1765)
    	at com.android1500.androidfaker.data.loader.ModuleMain.onPackageLoaded(r8-map-id-71ab7ac3c705648d6e01a4878c8e75829162e54d93772ed3d0c27c2edeadff11:49)
    	at w1.c(r8-map-id-bd8a188c72dcb420b3bf2c8bb5c3bcde85b40b6a76b9f502e6132e524d661836:19)
    	at c2.after(r8-map-id-bd8a188c72dcb420b3bf2c8bb5c3bcde85b40b6a76b9f502e6132e524d661836:294)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(r8-map-id-bd8a188c72dcb420b3bf2c8bb5c3bcde85b40b6a76b9f502e6132e524d661836:243)
    	at LSPHooker_.createOrUpdateClassLoaderLocked(Unknown Source:11)
    	at android.app.LoadedApk.getClassLoader(LoadedApk.java:1151)
    	at android.app.ContextImpl.getClassLoader(ContextImpl.java:522)
    	at android.app.ActivityThread.installProvider(ActivityThread.java:8661)
    	at android.app.ActivityThread.installContentProviders(ActivityThread.java:8187)
    	at android.app.ActivityThread.installSystemProviders(ActivityThread.java:8887)
    	at com.android.server.am.ContentProviderHelper.installSystemProviders(ContentProviderHelper.java:1503)
    	at com.android.server.SystemServer.startOtherServices(SystemServer.java:1660)
    	at com.android.server.SystemServer.run(SystemServer.java:1026)
    	at com.android.server.SystemServer.main(SystemServer.java:733)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:948)
    
  2. JingMatrix commented on Apr 4, 2026

    @JingMatrix
  3. changed the title [-]Module (API 100) scope issues: System Framework ignored, targeting specific app causes crash[/-] [+]Compatibility of module `AndroidFaker` with different targets[/+] on Apr 4, 2026
  4. JingMatrix commented on Apr 4, 2026

    @JingMatrix
    Owner

    I cannot reproduce this error with my devices, please try reinstall the modules.

  5. added and removed
    bugSomething isn't working
    on Apr 4, 2026
  6. JingMatrix commented on Apr 7, 2026

    @JingMatrix
    Owner

    Close this issue in favor of the author's explaination in #641.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions