Run frida-server in the emulator or device

circle-info

If you want just a steps summary, go to Summaryarrow-up-right

Upload frida-server

First, let's test to make sure that we have working connectivity over ADB (Android Debug Bridge).

circle-info

This lab is also covered off in the Environment Setup video walkthrougharrow-up-right.

1. Open a command line and type adb devices

List of devices connected to PC

2. In order for frida to work, you need it's companion frida-server, to be running on the device. You can download it from the frida releases page on Githubarrow-up-right.

circle-exclamation
circle-exclamation

3. Push it to /data/local/tmp with adb push frida-server-XX.Y.ZZ-android-ARCH /data/local/tmp

4. Obtain root with adb root, then connect to your device with adb shell. Navigate to the /data/local/tmp directory with cd /data/local/tmp .

5. At this point it's preferred to rename frida-server-XX.Y.ZZ-android-ARCHto something a little less annoying to type: mv frida-server-XX.Y.ZZ-android-ARCH frida-server

6. Make the server executable with chmod 777 frida-server

Run frida-server persistently using nohup

7. Start the server with nohup ./frida-server &

circle-exclamation

Summary

Download frida from releases page on Githubarrow-up-right and then:

Last updated