|
4 | 4 |
|
5 | 5 | ### Option A - Fully Automated |
6 | 6 | emulator_creator.py will: |
7 | | -- Create a rooted emulator with API 28 |
8 | | -- Download and setup frida-server-17.2.15-android-arch |
| 7 | +- Create an Android emulator (API 28, Google APIs) |
| 8 | +- Download and install frida-server (17.2.15) |
| 9 | +- Configure environment |
9 | 10 |
|
10 | 11 | ### Option B: Manual Setup |
11 | | -Create your own emulator Manually: |
| 12 | +Create your own emulator manually: |
12 | 13 |
|
13 | | -#### 1. Create AVD in Android Studio |
14 | | -```bash |
15 | | -## Using Android Studio GUI |
16 | | -Tools → Device Manager → + Create Virtual Device |
| 14 | +#### 1. Create and start emulator |
| 15 | +For example, using Android Studio: |
17 | 16 | - Device: Pixel 4 XL |
18 | | -- System: API 29, Android 10, Google APIs |
19 | | -- Arch: arm64 |
20 | | -``` |
21 | | - |
22 | | -#### 2. Launch with root access |
| 17 | +- System: API 29, Google APIs |
| 18 | + |
| 19 | +#### 2. Enable root access |
23 | 20 | ```bash |
24 | | -# Launch emulator with root capabilities |
25 | | -emulator -avd emulator_name -writable-system |
| 21 | +# Switch to root mode |
| 22 | +adb root |
26 | 23 |
|
27 | | -Or use ? rootAVD?... |
| 24 | +# Should return "root" if properly rooted |
| 25 | +adb shell whoami |
28 | 26 | ``` |
| 27 | +Note: Google APIs images allow root access by default. If you selected Google Play images, you'll need additional rooting tools like rootAVD. |
29 | 28 |
|
30 | | -### 3. Install and prestart frida server |
31 | | -```bash |
32 | | -adb shell getprop ro.product.cpu.abilist |
33 | | - |
34 | | -https://github.com/frida/frida/releases/tag/17.2.15 |
35 | | -# Download appropriate frida-server (example for arm64) |
36 | | -wget https://github.com/frida/frida/releases/download/17.2.15/frida-server-17.2.15-android-arm64.xz |
37 | | -xz -d frida-server-17.2.15-android-arm64.xz |
38 | | -mv frida-server-17.2.15-android-arm64 frida-server |
| 29 | +#### 3. Install frida-server |
| 30 | +Download appropriate frida-server from [Frida releases](https://github.com/frida/frida/releases), and install: |
39 | 31 |
|
40 | | -# Push to device |
| 32 | +```bash |
| 33 | +# Install to device |
41 | 34 | adb push frida-server /data/local/tmp/frida-server |
42 | 35 | adb shell chmod 755 /data/local/tmp/frida-server |
| 36 | +``` |
43 | 37 |
|
44 | | -# Start frida server for frida analysis |
| 38 | +#### 4. Start frida-server |
| 39 | +```bash |
45 | 40 | adb shell "/data/local/tmp/frida-server &" |
46 | 41 | ``` |
47 | 42 |
|
|
0 commit comments