summaryrefslogtreecommitdiff
path: root/usb/android.hardware.usb@1.1-service.bonito.rc
blob: 7061e5594210c24438c133dac1bfab3f2aa92e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.bonito
    class hal
    user root
    group root system shell mtp

on boot
    chown root system /sys/class/typec/port0/power_role
    chown root system /sys/class/typec/port0/data_role
    chown root system /sys/class/typec/port0/port_type
    chmod 664 /sys/class/typec/port0/power_role
    chmod 664 /sys/class/typec/port0/data_role
    chmod 664 /sys/class/typec/port0/port_type