Re-enables Android Wireless debugging automatically after reboot.
On many devices (tested on ONN tablets, Android 16) the ROM clears the wireless-debugging switch at every boot, and there is no API a normal app can call to set it back — the flag is writable only by the Settings app itself. wifiadb is an accessibility service that taps the Wireless debugging Quick Settings tile shortly after boot, verifies the switch, then returns the device to the launcher. Lab utility, not a Play app.
Install: adb install wifiadb-release.apk ·
Full hash: a34c8ab75e632d0caf6adbe74b4dff8be9fd91367b904f33fc974dbd15675f0e
Source and build notes: github.com/Jocala/wifiadb
No root and no special permission to provision — enabling the accessibility service is the entire setup. An accessibility service can operate the Settings UI, and on this ROM that is the only writer of the setting, so the app reads the flag back afterwards to confirm the tap took. Read the source before enabling: github.com/Jocala/wifiadb.
adb shell settings get global adb_wifi_enabled # expect 1
Expected on a boot that needed fixing:
onServiceConnected enter
onServiceConnected receiver registered
ensure start cycle=false reason=service-connected
global adb_wifi_enabled isOn=false cycle=false
tile found checked=false needOffFirst=false
ensure finish ok=true turned on
Note: the heal lands within the first minute after boot, and the system log buffer turns over inside that same window — so if you have to scan for the new ADB port before you can connect, these lines are usually gone by the time you look. That is not a failure. The app's own status screen keeps the last result and its timestamp.
sudo nmap -sS -Pn -T4 --min-rate 2000 --max-retries 1 -p 32768-60999 <ip>, then
adb connect each open port; adbd answers getprop ro.serialno, the pairing port stays offline.wifiadb 1.0 · source · lab utility, no tracking beyond site analytics