Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
5.a Setup on Android [Rooted]
Browse https://github.com/frida/frida/releases/latest and download the compressed binary file with the name similar to
frida-server-XX.YY.ZZ-android-arm.xz(where XX, YY & ZZ are the version numbers of the latest release)
Extract the archive and rename the extracted binary file as
Connect the device to your Mac and open Terminal type the following commands:
adb push frida-server /data/local/tmp/
adb shell "chmod 755 /data/local/tmp/frida-server"
adb shell "/data/local/tmp/frida-server &"
Install the SManager app via Google Play Store and grant root permission to this app
Then create an auto-run on boot script to run the
frida-serverevery time you reboot your device, automatically as follows
Now reboot the device and type
frida-ps -Uas a smoketest to list all the running apps on the device.
NOTE: After reboot, depending on the device's performance and/or running background tasks the
frida-autorun script might take up to 3-4 minutes to execute.
- If you are using a device with a custom ROM e.g. MIUI 8.1.1 (on Android 6.0.1), the frida-autorun script might not auto start itself after device re-boot. To solve this issue, you can:
- Install an Autostart app similar to Autostart and stay
- Add the SManager app to auto-start upon boot completion with the "Stay" & "Persist" flags on.
- Refer to the animated GIF below for a walkthrough: