The ultimate way to block using ADB from a device, because however many ways you block dialer codes, or developer options from being enabled, this simple overlay, just blocks the USB debugging authorization prompt from showing, and replaces it with a custom authorization popup.
(GitHub - shlomo1383/usb-debugging-popup-overlay · GitHub)
Not the best approach to blocking USB Debugging, IMHO. Probably more effective to use a well designed DPC, no way around other than factory reset on devices that don’t implement FRP.
if you put this into the super, then there is no way to allow at all, even if you factory reset.
Idk, seems like you are locking the front door, but leaving the house. Why don’t you just nuke the adbd if you’re creating a custom ROM?
that’s possible? to totally remove adb system from the phone?
Just don’t let it start
how?
adbd
(post deleted by author)
Heh?
nothing, sorry.