5.a Setup on Android [Rooted]

Nishant Das Patnaik edited this page Apr 9, 2017 · 12 revisions


Install frida-server

  • Enable USB debugging

  • 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 frida-server

  • 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-server every time you reboot your device, automatically as follows

  • Now reboot the device and type frida-ps -U as 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.


  1. 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:
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.