vendredi 10 juin 2016

Boolean Replacement

Hey Guys..

I have a problem with my xposed module.

I will a class to boolean false not true if rooted device..
Code:

public static boolean isRooted()
This to return false if rooted device..
Code:

XposedHelpers.findAndHockMethod("com.example.utils.RootCheck", lpparam.classLoader, "isRooted", boolean.class, new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
param.args[0] = false;
}
});

Xposed say me nosuchmethoderror com.example.utils.RootCheck#isRooted(boolean)..

Can help me..
Thanks

Sorry for my bad English i m a german.


from xda-developers http://ift.tt/25STpZ6
via IFTTT

Aucun commentaire:

Enregistrer un commentaire