4 ms·
LineageOS has a "Trust HAL" [0] for restricting USB gadgets while a device is locked. Android (AOSP) also has a "Default USB Configuration" setting deep in the
by h4waii 7y ago
LineageOS has a "Trust HAL" [0] for restricting USB gadgets while a device is locked.
Android (AOSP) also has a "Default USB Configuration" setting deep in the Developer Options [1] to set a device to MTP, PTP, RNDIS, charging etc...
A device would have to be really misconfigured by either the user or the OEM to allow plugging in a USB cable to extract system from the userdata partition without user input or awareness; or someone is just burning 0days on the general public.
0. https://review.lineageos.org/q/topic:%22trust-usb%22+(status:open%20OR%20status:merged) https://review.lineageos.org/q/topic:%22trust-usb%22+(status...
1. https://developer.android.com/studio/debug/dev-options https://developer.android.com/studio/debug/dev-options
- ThePowerOfFuet 7y ago>A device would have to be really misconfigured by [...] the OEM You're giving Android OEMs, on the whole, way too much credit.