In efforts for a no open "ports" by default product, we are going to
be disabling adb in default installs.
This should not affect current installs or people doing non data
wiping (that is --wipe and --bootstrap in ubuntu-device-flash).
For people (and CI) who would still want this enabled on clean
installations, all you need to do is add a --developer-mode toggle
option to ubuntu-device-flash. You can do this today and it shouldn't
affect current systems. This will ensure that the system has adb
enabled once the switch is set.
Even though I said June 30, I'm going to be waiting for CI
confirmation that there's a green light for the switch.
On the other hand, if you are an end user and want this disabled after
the change lands; just run this
adb shell setprop persist.sys.usb.config mtp
If you find yourself in need of enabling again, you can either reflash
with ubuntu-device-flash (from recovery with no need of --wipe) with
--developer-mode or you can use the included terminal app and run
sudo setprop persist.sys.usb.config mtp
The UI is pending, but should land in the System Setting in some form
(we may hold on to the landing depending on this as well).
Cheers.
Sergio