Merge "init.qcom.usb: Update non-configfs usb composition rules"
This commit is contained in:
commit
c19f60f131
|
@ -25,10 +25,6 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
on init
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
|
||||
on charger
|
||||
setprop sys.usb.config mass_storage
|
||||
|
||||
|
@ -122,6 +118,7 @@ service qcom-usb-sh /system/bin/sh /init.qcom.usb.sh
|
|||
# USB compositions
|
||||
on property:sys.usb.config=diag,serial_tty,serial_smd && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9002
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -132,6 +129,7 @@ on property:sys.usb.config=diag,serial_tty,serial_smd && property:sys.usb.config
|
|||
|
||||
on property:sys.usb.config=diag,serial_tty,serial_smd,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9020
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -143,6 +141,7 @@ on property:sys.usb.config=diag,serial_tty,serial_smd,adb && property:sys.usb.co
|
|||
|
||||
on property:sys.usb.config=diag,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 901D
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -153,6 +152,7 @@ on property:sys.usb.config=diag,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 900E
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -162,6 +162,7 @@ on property:sys.usb.config=diag && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_bam,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9091
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -174,6 +175,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_bam,adb && property:sys.usb.con
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9091
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -186,6 +188,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb && property:sys.usb
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_bam && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9092
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -197,6 +200,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_bam && property:sys.usb.configf
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9092
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -208,6 +212,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam && property:sys.usb.con
|
|||
|
||||
on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9025
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -220,6 +225,7 @@ on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,ad
|
|||
|
||||
on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9026
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -231,6 +237,7 @@ on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage &&
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9025
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -243,6 +250,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb
|
|||
|
||||
on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_bam,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903D
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -255,6 +263,7 @@ on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_bam,mass_storage,adb && pr
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9026
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -266,6 +275,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage &&
|
|||
|
||||
on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_bam,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903E
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -277,6 +287,7 @@ on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_bam,mass_storage && proper
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_smd,rmnet_smd_sdio,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9037
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -288,6 +299,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_smd,rmnet_smd_sdio,m
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_smd,rmnet_smd_sdio,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903B
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -299,6 +311,7 @@ on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_smd,rmnet_smd_sdio,mass_st
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_smd,rmnet_smd_sdio,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9038
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -309,6 +322,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_smd,rmnet_smd_sdio,m
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_smd,rmnet_smd_sdio,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903C
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -319,6 +333,7 @@ on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_smd,rmnet_smd_sdio,mass_st
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_tty,rmnet_sdio,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9031
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -330,6 +345,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_tty,rmnet_sdio,mass_
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_tty,rmnet_sdio,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903B
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -341,6 +357,7 @@ on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_tty,rmnet_sdio,mass_storag
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_tty,rmnet_sdio,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9032
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -351,6 +368,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_tty,rmnet_sdio,mass_
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_tty,rmnet_sdio,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903C
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -361,6 +379,7 @@ on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_tty,rmnet_sdio,mass_storag
|
|||
|
||||
on property:sys.usb.config=diag,serial_tty,serial_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9025
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -373,6 +392,7 @@ on property:sys.usb.config=diag,serial_tty,serial_tty,rmnet_smd,mass_storage,adb
|
|||
|
||||
on property:sys.usb.config=diag,acm_tty,acm_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903D
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -385,6 +405,7 @@ on property:sys.usb.config=diag,acm_tty,acm_tty,rmnet_smd,mass_storage,adb && pr
|
|||
|
||||
on property:sys.usb.config=diag,serial_tty,serial_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9026
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -396,6 +417,7 @@ on property:sys.usb.config=diag,serial_tty,serial_tty,rmnet_smd,mass_storage &&
|
|||
|
||||
on property:sys.usb.config=diag,acm_tty,acm_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903E
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -406,6 +428,7 @@ on property:sys.usb.config=diag,acm_tty,acm_tty,rmnet_smd,mass_storage && proper
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9025
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -417,6 +440,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_smd,mass_storage,adb
|
|||
|
||||
on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903D
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -429,6 +453,7 @@ on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_smd,mass_storage,adb && pr
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9026
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -439,6 +464,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_smd,mass_storage &&
|
|||
|
||||
on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903E
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -450,6 +476,7 @@ on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_smd,mass_storage && proper
|
|||
# RmNet using USB BAM to IPA BAM
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9025
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -462,6 +489,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,adb
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9026
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -473,6 +501,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage &&
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_ipa,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9091
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -485,6 +514,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_ipa,adb && property:sys.usb.con
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_ipa && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9092
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -497,6 +527,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_ipa && property:sys.usb.configf
|
|||
# Fusion 3 composition
|
||||
on property:sys.usb.config=diag,serial_hsic,serial_tty,rmnet_hsic,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9025
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -516,6 +547,7 @@ on property:sys.usb.config=diag,serial_hsic,serial_tty,rmnet_hsic,mass_storage,a
|
|||
# Fusion 3 composition with diag_mdm and adb
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9031
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -535,6 +567,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_
|
|||
# Fusion 3 composition with diag_mdm
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9032
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -553,6 +586,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_
|
|||
# Fusion 3 DSDA composition with adb
|
||||
on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmnet_hsic,rmnet_hsuart,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9065
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc
|
||||
|
@ -572,6 +606,7 @@ on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmne
|
|||
# Fusion 3 DSDA composition without adb
|
||||
on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmnet_hsic,rmnet_hsuart,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9066
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc
|
||||
|
@ -590,6 +625,7 @@ on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmne
|
|||
# Fusion 3 DSDA2 composition with adb
|
||||
on property:sys.usb.config=diag,diag_mdm,diag_mdm2,serial_hsic,serial_hsusb,rmnet_hsic,rmnet_hsusb,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9065
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_mdm2
|
||||
|
@ -609,6 +645,7 @@ on property:sys.usb.config=diag,diag_mdm,diag_mdm2,serial_hsic,serial_hsusb,rmne
|
|||
# Fusion 3 DSDA2 composition without adb
|
||||
on property:sys.usb.config=diag,diag_mdm,diag_mdm2,serial_hsic,serial_hsusb,rmnet_hsic,rmnet_hsusb,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9066
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_mdm2
|
||||
|
@ -628,6 +665,7 @@ on property:sys.usb.config=diag,diag_mdm,diag_mdm2,serial_hsic,serial_hsusb,rmne
|
|||
# Serial & RmNet bridged in userspace with tty and qti/ether
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_tty,rmnet_qti_ether,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9035
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -642,6 +680,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_tty,rmnet_qti_ether,mass_storage
|
|||
# Serial & RmNet bridged in userspace with tty and qti/ether
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_hsic,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9036
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -655,6 +694,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_hsic,mass_storage &&
|
|||
# RmNet is bridged over PCIe using qti,ether ctrl/data transports
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_qti_ether,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9035
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -670,6 +710,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_qti_ether,mass_storag
|
|||
# RmNet is bridged over PCIe using qti,ether ctrl/data transports
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_hsic,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9036
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -684,6 +725,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_hsic,mass_storage &&
|
|||
# Serial & RmNet bridged in userspace with port bridge and qti/ether
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_cdev,rmnet_qti_ether,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9036
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -695,6 +737,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_cdev,rmnet_qti_ether,mass_storag
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,serial_cdev,rmnet_qti_ether,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9035
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -708,6 +751,7 @@ on property:sys.usb.config=diag,diag_mdm,serial_cdev,rmnet_qti_ether,mass_storag
|
|||
# Fusion 2.2 composition with diag_qsc and adb
|
||||
on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9053
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_qsc
|
||||
|
@ -721,6 +765,7 @@ on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmn
|
|||
# Fusion 2.2 composition with diag_qsc
|
||||
on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9054
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_qsc
|
||||
|
@ -738,8 +783,10 @@ on property:sys.usb.config=rndis
|
|||
|
||||
on property:sys.usb.config=rndis,none && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct F00E
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/functions rndis
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
setprop sys.usb.state rndis
|
||||
|
@ -749,8 +796,10 @@ on property:sys.usb.config=rndis,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9024
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/functions rndis,adb
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
start adbd
|
||||
|
@ -758,8 +807,10 @@ on property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,diag && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 902C
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/functions rndis,diag
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -767,8 +818,10 @@ on property:sys.usb.config=rndis,diag && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 902D
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/functions rndis,diag,adb
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -778,8 +831,10 @@ on property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=0
|
|||
# DPL is implemented using QDSS
|
||||
on property:sys.usb.config=rndis,diag,dpl && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90BF
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_qdss/debug_intf 0
|
||||
write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa
|
||||
|
@ -791,8 +846,10 @@ on property:sys.usb.config=rndis,diag,dpl && property:sys.usb.configfs=0
|
|||
# DPL is implemented using QDSS
|
||||
on property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90C0
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_qdss/debug_intf 0
|
||||
write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa
|
||||
|
@ -804,8 +861,10 @@ on property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,serial_smd && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B3
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_serial/transports smd
|
||||
write /sys/class/android_usb/android0/functions rndis,serial
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -813,8 +872,10 @@ on property:sys.usb.config=rndis,serial_smd && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,serial_smd,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B4
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_serial/transports smd
|
||||
write /sys/class/android_usb/android0/functions rndis,serial,adb
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -823,8 +884,10 @@ on property:sys.usb.config=rndis,serial_smd,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,serial_smd,diag && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B5
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_serial/transports smd
|
||||
write /sys/class/android_usb/android0/functions rndis,serial,diag
|
||||
|
@ -833,8 +896,10 @@ on property:sys.usb.config=rndis,serial_smd,diag && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,serial_smd,diag,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B6
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_serial/transports smd
|
||||
write /sys/class/android_usb/android0/functions rndis,serial,diag,adb
|
||||
|
@ -844,8 +909,10 @@ on property:sys.usb.config=rndis,serial_smd,diag,adb && property:sys.usb.configf
|
|||
|
||||
on property:sys.usb.config=rndis,serial_cdev,diag && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B5
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_serial/transports char_bridge
|
||||
write /sys/class/android_usb/android0/functions rndis,serial,diag
|
||||
|
@ -854,8 +921,10 @@ on property:sys.usb.config=rndis,serial_cdev,diag && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B6
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_serial/transports char_bridge
|
||||
write /sys/class/android_usb/android0/functions rndis,serial,diag,adb
|
||||
|
@ -865,8 +934,10 @@ on property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.config
|
|||
|
||||
on property:sys.usb.config=rndis,diag,diag_mdm && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9041
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
write /sys/class/android_usb/android0/functions rndis,diag
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -874,8 +945,10 @@ on property:sys.usb.config=rndis,diag,diag_mdm && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,diag,diag_mdm,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9042
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
write /sys/class/android_usb/android0/functions rndis,diag,adb
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -884,8 +957,10 @@ on property:sys.usb.config=rndis,diag,diag_mdm,adb && property:sys.usb.configfs=
|
|||
|
||||
on property:sys.usb.config=rndis,diag,diag_mdm,diag_qsc && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9086
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc
|
||||
write /sys/class/android_usb/android0/functions rndis,diag
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -893,8 +968,10 @@ on property:sys.usb.config=rndis,diag,diag_mdm,diag_qsc && property:sys.usb.conf
|
|||
|
||||
on property:sys.usb.config=rndis,diag,diag_mdm,diag_qsc,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9087
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc
|
||||
write /sys/class/android_usb/android0/functions rndis,diag,adb
|
||||
write /sys/class/android_usb/android0/enable 1
|
||||
|
@ -903,6 +980,7 @@ on property:sys.usb.config=rndis,diag,diag_mdm,diag_qsc,adb && property:sys.usb.
|
|||
|
||||
on property:sys.usb.config=ptp && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 904D
|
||||
write /sys/class/android_usb/android0/functions ptp
|
||||
|
@ -911,6 +989,7 @@ on property:sys.usb.config=ptp && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 904E
|
||||
write /sys/class/android_usb/android0/functions ptp,adb
|
||||
|
@ -920,6 +999,7 @@ on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct F003
|
||||
write /sys/class/android_usb/android0/functions mtp
|
||||
|
@ -928,6 +1008,7 @@ on property:sys.usb.config=mtp && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9039
|
||||
write /sys/class/android_usb/android0/functions mtp,adb
|
||||
|
@ -937,6 +1018,7 @@ on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp,diag && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 901B
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -946,6 +1028,7 @@ on property:sys.usb.config=mtp,diag && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903A
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -956,6 +1039,7 @@ on property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp,diag,diag_mdm && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9040
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -965,6 +1049,7 @@ on property:sys.usb.config=mtp,diag,diag_mdm && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp,diag,diag_mdm,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 903F
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -975,6 +1060,7 @@ on property:sys.usb.config=mtp,diag,diag_mdm,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mtp,diag,diag_mdm,diag_qsc && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9088
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc
|
||||
|
@ -984,6 +1070,7 @@ on property:sys.usb.config=mtp,diag,diag_mdm,diag_qsc && property:sys.usb.config
|
|||
|
||||
on property:sys.usb.config=mtp,diag,diag_mdm,diag_qsc,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9089
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc
|
||||
|
@ -994,6 +1081,7 @@ on property:sys.usb.config=mtp,diag,diag_mdm,diag_qsc,adb && property:sys.usb.co
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,ccid && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9045
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1003,6 +1091,7 @@ on property:sys.usb.config=diag,diag_mdm,ccid && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,ccid,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9044
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1013,6 +1102,7 @@ on property:sys.usb.config=diag,diag_mdm,ccid,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9015
|
||||
write /sys/class/android_usb/android0/functions adb,mass_storage
|
||||
|
@ -1023,6 +1113,7 @@ on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=0
|
|||
#Mass-storage only composition
|
||||
on property:sys.usb.config=mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct F000
|
||||
write /sys/class/android_usb/android0/functions mass_storage
|
||||
|
@ -1031,6 +1122,7 @@ on property:sys.usb.config=mass_storage && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,qdss && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 904A
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1043,6 +1135,7 @@ on property:sys.usb.config=diag,qdss && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9060
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1056,6 +1149,7 @@ on property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,qdss && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9099
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1068,6 +1162,7 @@ on property:sys.usb.config=diag,diag_mdm,qdss && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,qdss,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9098
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1081,6 +1176,7 @@ on property:sys.usb.config=diag,diag_mdm,qdss,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,qdss,rmnet_bam && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9083
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1094,6 +1190,7 @@ on property:sys.usb.config=diag,qdss,rmnet_bam && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,qdss,rmnet_qti_bam && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9083
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1107,6 +1204,7 @@ on property:sys.usb.config=diag,qdss,rmnet_qti_bam && property:sys.usb.configfs=
|
|||
|
||||
on property:sys.usb.config=diag,qdss,rmnet_bam,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9084
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1122,6 +1220,7 @@ on property:sys.usb.config=diag,qdss,rmnet_bam,adb && property:sys.usb.configfs=
|
|||
|
||||
on property:sys.usb.config=diag,qdss,rmnet_qti_bam,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9084
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1137,6 +1236,7 @@ on property:sys.usb.config=diag,qdss,rmnet_qti_bam,adb && property:sys.usb.confi
|
|||
|
||||
on property:sys.usb.config=diag,qdss,rmnet_ipa && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9083
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1150,6 +1250,7 @@ on property:sys.usb.config=diag,qdss,rmnet_ipa && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,qdss,rmnet_ipa,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9084
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1165,6 +1266,7 @@ on property:sys.usb.config=diag,qdss,rmnet_ipa,adb && property:sys.usb.configfs=
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,qdss,rmnet_hsic && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 909B
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1178,6 +1280,7 @@ on property:sys.usb.config=diag,diag_mdm,qdss,rmnet_hsic && property:sys.usb.con
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,qdss,rmnet_hsic,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 909A
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1193,6 +1296,7 @@ on property:sys.usb.config=diag,diag_mdm,qdss,rmnet_hsic,adb && property:sys.usb
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,qdss_apq,qdss_mdm,rmnet_hsic && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90A3
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1206,6 +1310,7 @@ on property:sys.usb.config=diag,diag_mdm,qdss_apq,qdss_mdm,rmnet_hsic && propert
|
|||
|
||||
on property:sys.usb.config=diag,diag_mdm,qdss_apq,qdss_mdm,rmnet_hsic,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90A2
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm
|
||||
|
@ -1221,8 +1326,10 @@ on property:sys.usb.config=diag,diag_mdm,qdss_apq,qdss_mdm,rmnet_hsic,adb && pro
|
|||
|
||||
on property:sys.usb.config=rndis,diag,qdss && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9081
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_qdss/debug_intf 1
|
||||
write /sys/class/android_usb/android0/f_qdss/transports bam
|
||||
|
@ -1233,8 +1340,10 @@ on property:sys.usb.config=rndis,diag,qdss && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 9082
|
||||
write /sys/class/android_usb/android0/f_rndis/wceis 1
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
write /sys/class/android_usb/android0/f_qdss/debug_intf 1
|
||||
write /sys/class/android_usb/android0/f_qdss/transports bam
|
||||
|
@ -1248,6 +1357,7 @@ on property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=0
|
|||
# same as 9025, plus data packet logging (DPL) using QDSS
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,dpl,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90AD
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1265,6 +1375,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,dpl
|
|||
# same as 9026, plus data packet logging (DPL)
|
||||
on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,dpl && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B0
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1280,6 +1391,7 @@ on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,dpl
|
|||
|
||||
on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dpl,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90AD
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1296,6 +1408,7 @@ on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dp
|
|||
|
||||
on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dpl && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B0
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1311,6 +1424,7 @@ on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dp
|
|||
|
||||
on property:sys.usb.config=ncm && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 0525
|
||||
write /sys/class/android_usb/android0/idProduct A4A1
|
||||
write /sys/class/android_usb/android0/functions ncm
|
||||
|
@ -1319,6 +1433,7 @@ on property:sys.usb.config=ncm && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=ncm,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 908C
|
||||
write /sys/class/android_usb/android0/functions ncm,adb
|
||||
|
@ -1328,6 +1443,7 @@ on property:sys.usb.config=ncm,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=charging && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct F006
|
||||
write /sys/class/android_usb/android0/functions charging
|
||||
|
@ -1336,6 +1452,7 @@ on property:sys.usb.config=charging && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,dpl_qti_bam_dmux && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B7
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1348,6 +1465,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,dpl_qti_bam_dmux && pro
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,dpl_qti_bam_dmux,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B8
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1361,6 +1479,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,dpl_qti_bam_dmux,adb &&
|
|||
|
||||
on property:sys.usb.config=diag,diag_cnss,serial_smd,serial_tty,rmnet_bam,mass_storage,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B2
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_cnss
|
||||
|
@ -1373,6 +1492,7 @@ on property:sys.usb.config=diag,diag_cnss,serial_smd,serial_tty,rmnet_bam,mass_s
|
|||
|
||||
on property:sys.usb.config=diag,diag_cnss,serial_smd,serial_tty,rmnet_bam,mass_storage && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B3
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag,diag_cnss
|
||||
|
@ -1384,6 +1504,7 @@ on property:sys.usb.config=diag,diag_cnss,serial_smd,serial_tty,rmnet_bam,mass_s
|
|||
|
||||
on property:sys.usb.config=midi && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90BA
|
||||
write /sys/class/android_usb/android0/functions midi
|
||||
|
@ -1392,6 +1513,7 @@ on property:sys.usb.config=midi && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=midi,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90BB
|
||||
write /sys/class/android_usb/android0/functions midi,adb
|
||||
|
@ -1401,6 +1523,7 @@ on property:sys.usb.config=midi,adb && property:sys.usb.configfs=0
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_ipa,dpl && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B7
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
@ -1416,6 +1539,7 @@ on property:sys.usb.config=diag,serial_smd,rmnet_ipa,dpl && property:sys.usb.con
|
|||
|
||||
on property:sys.usb.config=diag,serial_smd,rmnet_ipa,dpl,adb && property:sys.usb.configfs=0
|
||||
write /sys/class/android_usb/android0/enable 0
|
||||
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
|
||||
write /sys/class/android_usb/android0/idVendor 05C6
|
||||
write /sys/class/android_usb/android0/idProduct 90B8
|
||||
write /sys/class/android_usb/android0/f_diag/clients diag
|
||||
|
|
Loading…
Reference in New Issue