DevSwitch
Toggle developer options, USB and wireless debugging, with Quick Settings tiles
新版本 1.0.1
Fixes a crash on launch in 1.0 as published on F-Droid. That build had the INTERNET permission removed, but Android's network service discovery refuses clients without it, so the Wireless tab could not be set up. DevSwitch still opens no sockets and contacts no server.
- Device discovery now reports nothing instead of crashing if the system refuses it
- Device discovery now reports nothing instead of crashing if the system refuses it
DevSwitch turns Developer options, USB debugging and Wireless debugging on and off from one screen and from three Quick Settings tiles. It writes the same system settings Android's own Settings app does, so the system reacts immediately: adbd starts or stops, and the Developer options screen appears or hides.
One-time setup
Android only lets an app change these settings if it holds WRITE_SECURE_SETTINGS, which cannot be requested with a dialog. Grant it once, in any of three ways, and it survives reboots and updates:
- From a computer: adb shell pm grant app.devswitch android.permission.WRITE_SECURE_SETTINGS
- On the phone, through Shizuku, with no computer needed
- With root
Wireless tab
Shows this device's IP address and its live wireless debugging address, plus a scan of adb devices on the Wi-Fi. With Shizuku running it also lists paired computers and can pair a new one, either by showing a code for adb pair or by scanning the QR that Android Studio shows.
Safety
Turning a switch off, or unpairing a computer, asks first, because either can cut the connection a computer is using. The tiles refuse to toggle from the lock screen.
Privacy
No network services, no accounts, no analytics. The only network use is local discovery of adb devices on your own Wi-Fi.
Free software under the GPLv3.
One-time setup
Android only lets an app change these settings if it holds WRITE_SECURE_SETTINGS, which cannot be requested with a dialog. Grant it once, in any of three ways, and it survives reboots and updates:
- From a computer: adb shell pm grant app.devswitch android.permission.WRITE_SECURE_SETTINGS
- On the phone, through Shizuku, with no computer needed
- With root
Wireless tab
Shows this device's IP address and its live wireless debugging address, plus a scan of adb devices on the Wi-Fi. With Shizuku running it also lists paired computers and can pair a new one, either by showing a code for adb pair or by scanning the QR that Android Studio shows.
Safety
Turning a switch off, or unpairing a computer, asks first, because either can cut the connection a computer is using. The tiles refuse to toggle from the lock screen.
Privacy
No network services, no accounts, no analytics. The only network use is local discovery of adb devices on your own Wi-Fi.
Free software under the GPLv3.
版本
雖然在下方可選擇下載 APK 檔案,但要留意這樣的安裝方式將不會收到更新通知,是一種較不安全的下載方法。建議您先安裝 F-Droid 用戶端使用。
下載 F-Droid-
arm64-v8aarmeabi-v7ax86x86_64此版本需要 Android 8.0 或更高的版本。
此套件包由原開發者建置和簽署,並保證與此原始碼 Tarball 保持一致。
-
arm64-v8aarmeabi-v7ax86x86_64此版本需要 Android 8.0 或更高的版本。
此套件包由原開發者建置和簽署,並保證與此原始碼 Tarball 保持一致。
新版本 1.0
Initial release.
- Developer options, USB debugging and Wireless debugging switches, with Quick Settings tiles
- One-time permission grant through adb, Shizuku or root
- Wireless tab: this device's adb address, network device discovery, and pairing by code or by scanning Android Studio's QR (needs Shizuku)
- Confirmations before turning anything off or unpairing
- Developer options, USB debugging and Wireless debugging switches, with Quick Settings tiles
- One-time permission grant through adb, Shizuku or root
- Wireless tab: this device's adb address, network device discovery, and pairing by code or by scanning Android Studio's QR (needs Shizuku)
- Confirmations before turning anything off or unpairing


