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


