Skip to content

Commit d090728

Browse files
committed
docs: clarify run-as requires debug build for MAC injection
Address PR review comment: run-as only works on debuggable builds. Add prerequisite note directing users to install the debug/nightly APK. Remove the alternative adb settings method which also requires elevated privileges.
1 parent bc5a12b commit d090728

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ Until then, you must xposed. I used to provide a non-xposed method too, where th
7575

7676
#### Setup for OxygenOS/ColorOS 16 (Non-rooted)
7777

78-
For multi-device audio switching to work properly on non-rooted OxygenOS 16, you need to inject your phone's Bluetooth MAC address into the app's settings. This is a one-time setup:
78+
For multi-device audio switching to work properly on non-rooted OxygenOS 16, you need to inject your phone's Bluetooth MAC address into the app's settings. This is a one-time setup.
79+
80+
> [!IMPORTANT]
81+
> The `run-as` command only works with **debug builds** (e.g., the nightly APK from CI). If you installed a release build, reinstall with the debug APK first.
7982
8083
1. **Get your phone's Bluetooth MAC address:**
8184
- Go to Settings → About → Device Details → Bluetooth Address
82-
- Or use: `adb shell settings get secure bluetooth_address` (requires running once with a recently-root device or use the Settings method)
8385

8486
2. **Inject the MAC address via adb:**
8587
```bash

0 commit comments

Comments
 (0)