Hey, it is not an issue but a question, I don't know how to reach you so I just typed it here:
I would like to ask to have xposed module working, do we have to use xposed installer?
Is there a way that we create a module; add it into target app's memory(I can sideload the apk as a zip and use reflection to get all the functions) and invoke handleLoadPackage directly?
I ask this because I am working on an research idea, here is what I did:
I sideloaded xposedbridge.jar to the target app's memory;
I wrote a simple module and sideload it to the memory as well(by using DexClassLoader).
Now I am stuck at this:
I would need to invoke handleLoadPackagefrom our module.apk using reflection; I got the function handle but I would need to get the llparam to invoke it.
I tried using reflection to get the static field sLoadedPackageCallbacks from xposedbridge and calling new LoadPackageParam(sLoadedPackageCallbacks) to instantiate the llparam, but it does not work.
Any ideas about this? Let me know if you need more information, I am glad to email/DM you somewhere with details.
Hey, it is not an issue but a question, I don't know how to reach you so I just typed it here:
I would like to ask to have xposed module working, do we have to use xposed installer? Is there a way that we create a module; add it into target app's memory(I can sideload the apk as a zip and use reflection to get all the functions) and invoke
handleLoadPackage
directly?I ask this because I am working on an research idea, here is what I did: I sideloaded xposedbridge.jar to the target app's memory; I wrote a simple module and sideload it to the memory as well(by using DexClassLoader).
Now I am stuck at this: I would need to invoke
handleLoadPackage
from our module.apk using reflection; I got the function handle but I would need to get thellparam
toinvoke
it. I tried using reflection to get the static fieldsLoadedPackageCallbacks
fromxposedbridge
and callingnew LoadPackageParam(sLoadedPackageCallbacks)
to instantiate thellparam
, but it does not work.Any ideas about this? Let me know if you need more information, I am glad to email/DM you somewhere with details.