Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not working, error in LSPosed log #32

Open
j0110 opened this issue Jul 1, 2022 · 0 comments
Open

Module not working, error in LSPosed log #32

j0110 opened this issue Jul 1, 2022 · 0 comments

Comments

@j0110
Copy link

j0110 commented Jul 1, 2022

Hello there,
I'm trying to use XInternalSD.
I installed the module, and activated the scope in LSPosed for android system framework, and telegram (the app I'm trying to move to SD).
I added the permision android.permission.WRITE_EXTERNAL_STORAGE to telegram as recommended by several users.
I got the following error in LSPosed log and telegram is still using internal storage and not SD card...

[ 2022-06-30T20:54:55.569     1000:  1533:  1533 I/LSPosed-Bridge  ]   Loading class com.pyler.xinternalsd.XInternalSD
[ 2022-06-30T20:54:56.367     1000:  1533:  1533 E/LSPosed-Bridge  ] java.lang.NoSuchMethodError: com.android.server.pm.PackageManagerService#grantPermissionsLPw(android.content.pm.PackageParser.Package,boolean,java.lang.String)#exact
    at sop.MOs.HV.oSyi.T.TOHC.XposedHelpers.lambda$findMethodExact$3(Unknown Source:6)
    at sop.MOs.HV.oSyi.T.TOHC.XposedHelpers.h(Unknown Source:0)
    at sop.MOs.HV.oSyi.T.TOHC.c.get(Unknown Source:15)
    at java.util.Optional.orElseThrow(Optional.java:286)
    at sop.MOs.HV.oSyi.T.TOHC.XposedHelpers.findMethodExact(Unknown Source:21)
    at sop.MOs.HV.oSyi.T.TOHC.XposedHelpers.findAndHookMethod(Unknown Source:27)
    at com.pyler.xinternalsd.XInternalSD.handleLoadPackage(XInternalSD.java:163)
    at sop.MOs.HV.oSyi.T.TOHC.IXposedHookLoadPackage$Wrapper.handleLoadPackage(Unknown Source:2)
    at sop.MOs.HV.oSyi.T.TOHC.callbacks.XC_LoadPackage.call(Unknown Source:6)
    at sop.MOs.HV.oSyi.T.TOHC.callbacks.XCallback.callAll(Unknown Source:26)
    at r.beforeHookedMethod(Unknown Source:3)
    at sop.MOs.HV.oSyi.T.TOHC.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79)
    at LSPHooker_.startBootstrapServices(Unknown Source:11)
    at com.android.server.SystemServer.run(SystemServer.java:881)
    at com.android.server.SystemServer.main(SystemServer.java:614)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:981)```

How to solve it ?
Thanks in advance
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

No branches or pull requests

1 participant