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

本文标签: