@@ -84,7 +84,7 @@ make stop-server # stop the server
8484
8585### Rooted devices (Magisk module)
8686
87- Auto-starts on boot. Self-contained -- no ` make deploy ` needed after install.
87+ Auto-starts on boot.
8888
8989``` bash
9090make magisk DIST_GOARCH=arm64 # build module
@@ -94,6 +94,7 @@ adb reboot # starts on next boot
9494```
9595
9696Configuration (optional): create ` jniservice.env ` in the Magisk module directory:
97+
9798``` bash
9899JNISERVICE_PORT=50051
99100JNISERVICE_LISTEN=0.0.0.0
@@ -113,11 +114,13 @@ Open "jniservice" from the launcher once to start the service and register the b
113114### Connecting
114115
115116On the device itself:
117+
116118``` bash
117119jnicli --addr localhost:50051 --insecure jni get-version
118120```
119121
120122From another machine (via adb port forwarding):
123+
121124``` bash
122125adb forward tcp:50051 tcp:50051
123126jnicli --addr localhost:50051 --insecure jni get-version
@@ -130,10 +133,10 @@ Run `make test-emulator` to test against a connected device or emulator. Tests s
130133<details >
131134<summary >Verified platforms (click to expand)</summary >
132135
133- | Type | Device | Android | API | ABI | Build | Date | Passed | Total |
134- | ------| --------| ---------| -----| -- ---| -------| ------| --------| ------- |
135- | Phone | Pixel 8a | 16 | 36 | arm64-v8a | BP4A.260205.001 | 2026-03-22 | 65 | 65 |
136- | Emulator | sdk_gphone64_x86_64 | 15 | 35 | x86_64 | | 2026-03-14 | 21 | 21 |
136+ | Type | Device | Android | API | ABI | Build | Date | Passed | Total |
137+ | -------- | ------------------- | ------- | --- | --------- | --------------- | ---------- | ------ | ----- |
138+ | Phone | Pixel 8a | 16 | 36 | arm64-v8a | BP4A.260205.001 | 2026-03-22 | 65 | 65 |
139+ | Emulator | sdk_gphone64_x86_64 | 15 | 35 | x86_64 | | 2026-03-14 | 21 | 21 |
137140
138141</details >
139142
@@ -159,6 +162,7 @@ make generate # runs: proto → protoc → grpc → cli
159162```
160163
161164Individual steps:
165+
162166``` bash
163167make proto # generate .proto files from Java specs
164168make protoc # compile .proto → Go stubs
0 commit comments