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/10d60000.hsi2c/i2c-13/13-0025/contaminant_detection
11    chown root system /sys/devices/platform/11210000.usb/dwc3_exynos_otg_b_sess
12    chown root system /sys/devices/platform/11210000.usb/dwc3_exynos_otg_id
13    chown root system /sys/devices/platform/11210000.usb/usb_data_enabled
14    chmod 664 /sys/class/typec/port0/power_role
15    chmod 664 /sys/class/typec/port0/data_role
16    chmod 664 /sys/class/typec/port0/port_type
17    chmod 664 /sys/devices/platform/11210000.usb/dwc3_exynos_otg_b_sess
18    chmod 664 /sys/devices/platform/11210000.usb/dwc3_exynos_otg_id
19    chmod 664 /sys/devices/platform/11210000.usb/usb_data_enabled
20