On LineageOS how to disable *Rooted debugging* with `adb`?
Feb 19, 10:37pm
On LineageOS, the "Rooted debugging" option (also known as "ADB root") allows ADB to run with root privileges. If you want to disable rooted debugging via ADB, follow these steps:
1. Check Current ADB Root Status
First, verify if rooted debugging is enabled:
bash
adb root
If it returns adbd cannot run as root in production builds, rooted debugging is already disabled.
If it switches to root mode, proceed to disable it.
2. Disable Rooted Debugging
Use the following command to disable rooted debugging: