• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1service vendor.usb-hal-1-2 /vendor/bin/hw/android.hardware.usb@1.2-service.bramble
2    class hal
3    user system
4    group system shell mtp
5
6service init-gadgethal-sh /vendor/bin/init.gadgethal.sh
7    class hal
8    user root
9    disabled
10    oneshot
11
12on boot
13    chown root system /sys/class/typec/port0/power_role
14    chown root system /sys/class/typec/port0/data_role
15    chown root system /sys/class/typec/port0/port_type
16    chmod 664 /sys/class/typec/port0/power_role
17    chmod 664 /sys/class/typec/port0/data_role
18    chmod 664 /sys/class/typec/port0/port_type
19