File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,6 +155,35 @@ More examples: [`examples/`](examples/)
155155| [ ` softap_wifi_hal ` ] ( examples/softap_wifi_hal/ ) | WiFi chip info, AP interface state |
156156| [ ` softap_tether_offload ` ] ( examples/softap_tether_offload/ ) | Tethering offload config, stats |
157157
158+ ## bindercli Quick Start
159+
160+ ` bindercli ` lets you call any Android system service from the command line — no Go code needed.
161+
162+ ** Install and deploy:**
163+
164+ ``` bash
165+ GOOS=linux GOARCH=arm64 go build -o bindercli ./cmd/bindercli/
166+ adb push bindercli /data/local/tmp/
167+ ```
168+
169+ ** Try it:**
170+
171+ ``` bash
172+ # List all binder services
173+ adb shell /data/local/tmp/bindercli service list
174+
175+ # Check battery level
176+ adb shell /data/local/tmp/bindercli android.hardware.health.IHealth get-health-info
177+
178+ # Query ActivityManager
179+ adb shell /data/local/tmp/bindercli android.app.IActivityManager get-process-limit
180+
181+ # Get GPS hardware info
182+ adb shell /data/local/tmp/bindercli android.location.ILocationManager get-gnss-hardware-model-name
183+ ```
184+
185+ See the full [ bindercli reference] ( #bindercli ) for all subcommands and more examples.
186+
158187## Building and Running
159188
160189Binaries are pure Go (no CGO) and run directly on Android:
You can’t perform that action at this time.
0 commit comments