Created
September 12, 2016 10:25
-
-
Save segura2010/3d51bef4a64e4802384ab6eec96fd303 to your computer and use it in GitHub Desktop.
Frida script to force compatibility of Samsung Manager app in Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function () { | |
// Function to hook is defined here | |
var HostManagerUtils = Java.use('com.samsung.android.app.twatchmanager.util.HostManagerUtils'); | |
HostManagerUtils.isSupportedInHostDevice.implementation = function (p1) { | |
var result = this.isSupportedInHostDevice(p1); | |
console.log("isSupportedInHostDevice return: " + result); | |
return true; | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment