1service vendor.usb-gadget-hal-1-1 /vendor/bin/hw/android.hardware.usb.gadget-service.redfin 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 20on post-fs 21 chown root system /sys/devices/platform/soc/a600000.ssusb/id 22 chown root system /sys/devices/platform/soc/a600000.ssusb/b_sess 23 chown root system /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled 24 chmod 664 /sys/devices/platform/soc/a600000.ssusb/id 25 chmod 664 /sys/devices/platform/soc/a600000.ssusb/b_sess 26 chmod 664 /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled 27