android11 inject Unexpectedly timed out while waiting for app to launch
after setprop persist.device_config.runtime_native.usap_pool_enabled false and reboot
/frida-inject-14.2.18-android-arm64 -f gej.xxerqld.mu -s b.js < Unexpectedly timed out while waiting for app to launch
Unexpectedly timed out while waiting for app to launch
custom firmwares often reset usap state to default
you can double check before doing it
su
getprop | grep usap
also it's not necessary to reboot after disabling usap, just force close the application and attach frida on it.
i found that the reason is the pip install frida cli version is 16.0.2,and i download the 16.0.4 frida-server just download the 16.0.2 frida-server,and "adb push" to the android device, fixed.