1service vendor.usb-gadget-hal /vendor/bin/hw/android.hardware.usb.gadget-service
2    class hal
3    user system
4    group system shell mtp
5
6on post-fs
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    chown root system /sys/devices/platform/11210000.usb/dwc3_exynos_otg_b_sess
11    chown root system /sys/devices/platform/11210000.usb/dwc3_exynos_otg_id
12    chown root system /sys/devices/platform/11210000.usb/usb_data_enabled
13    chmod 664 /sys/class/typec/port0/power_role
14    chmod 664 /sys/class/typec/port0/data_role
15    chmod 664 /sys/class/typec/port0/port_type
16    chmod 664 /sys/devices/platform/11210000.usb/dwc3_exynos_otg_b_sess
17    chmod 664 /sys/devices/platform/11210000.usb/dwc3_exynos_otg_id
18    chmod 664 /sys/devices/platform/11210000.usb/usb_data_enabled
19