mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-02-01 07:44:42 +00:00
Our device has broken roles: they appear to be permanently set to NONE and don't respond to configfs writes. This causes Android to not see the USB port as connected, breaking the USB settings. To repair USB preferences, we spoof roles in the following fashion: - data role: DEVICE (if NONE) - port mode: UFP (if NONE)
22 KiB
Executable File
22 KiB
Executable File