Hook specific Andoird/JAVA method setImmediate(function() { console.log("[*] Starting script"); Java.perform(function () { var Activity = Java.use("com.mycompany.client.sdk.myclass"); console.log("loaded "+Activity); Activity.isThisTrue.overload('java.lang.String', 'java.lang.Integer').implementation = function (a,b) { console.log(a); b++ console.log(b); return true; }; }); }); Get IMEI from phone function getIMEI(){ console.log('IMEI =', Java.use("android.telephony.TelephonyManager").$new().getDeviceId()); } Java.perform(getIMEI)