Skip to content

Commit 299eeb1

Browse files
committed
Simplify and fix emulator setup details in setup.md
1 parent cd89d4b commit 299eeb1

File tree

1 file changed

+21
-26
lines changed

1 file changed

+21
-26
lines changed

scripts/frida/setup.md

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,39 @@
44

55
### Option A - Fully Automated
66
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
910

1011
### Option B: Manual Setup
11-
Create your own emulator Manually:
12+
Create your own emulator manually:
1213

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:
1716
- 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
2320
```bash
24-
# Launch emulator with root capabilities
25-
emulator -avd emulator_name -writable-system
21+
# Switch to root mode
22+
adb root
2623

27-
Or use ? rootAVD?...
24+
# Should return "root" if properly rooted
25+
adb shell whoami
2826
```
27+
Note: Google APIs images allow root access by default. If you selected Google Play images, you'll need additional rooting tools like rootAVD.
2928

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:
3931

40-
# Push to device
32+
```bash
33+
# Install to device
4134
adb push frida-server /data/local/tmp/frida-server
4235
adb shell chmod 755 /data/local/tmp/frida-server
36+
```
4337

44-
# Start frida server for frida analysis
38+
#### 4. Start frida-server
39+
```bash
4540
adb shell "/data/local/tmp/frida-server &"
4641
```
4742

0 commit comments

Comments
 (0)