• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1service vendor.usb-hal-1-2 /vendor/bin/hw/android.hardware.usb@1.2-service.sunfish
2    class hal
3    user root
4    group root system shell mtp
5
6on boot
7    chown root system /sys/class/typec/port0/power_role
8    chown root system /sys/class/typec/port0/data_role
9    chown root system /sys/class/typec/port0/port_type
10    chmod 664 /sys/class/typec/port0/power_role
11    chmod 664 /sys/class/typec/port0/data_role
12    chmod 664 /sys/class/typec/port0/port_type
13    chmod 664 /sys/class/power_supply/usb/moisture_detection_enabled
14