admin管理员组文章数量:1125434
I have successfully hooked unmutePlayersForCall in system_server once and it logged on console. Later i have adjusted .js script code a bit and frida server crashed and phone soft rebooted. From then onward i am using same old working .js script but still it not able to hook to same method and i don't see any console log message on terminal(though in reality the said method is being executed in system_server).
So basically issue is: in whichever hooked method, frida server crash and phone reboots then onward that same method can't be rehooked with same js anymore.
Old working .js(but not working anymore):
Java.perform(() => {
const PlaybackActivityMonitor = Java.use("com.android.server.audio.PlaybackActivityMonitor");
PlaybackActivityMonitor.unmutePlayersForCall.implementation = function () {
console.log(`Proceeding with unmutePlayersForCall`);
this.unmutePlayersForCall();
};
});
I have tried same .js script after full reboot and selinux permissive but no luck.
My Setup:
Android 14
Command used on Windows Frida: frida -U -n system_server -l hook_unmutePlayersForCall.js
Frida version: 16.5.9
本文标签:
版权声明:本文标题:android - Frida once hooked last time but then later rehooking same method in system_server doesn't do anything - Stack 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736657365a1946289.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论