Home | History | Annotate | Download | only in manta
      1 on boot
      2     write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer}
      3     write /sys/class/android_usb/android0/iProduct ${ro.product.model}
      4     write /sys/class/android_usb/android0/iSerial ${ro.serialno}
      5     write /sys/class/android_usb/android0/f_mass_storage/inquiry_string "Manta 0100"
      6     write /sys/class/android_usb/android0/f_rndis/manufacturer Samsung
      7     write /sys/class/android_usb/android0/f_rndis/vendorID 18d1
      8     write /sys/class/android_usb/android0/f_rndis/wceis 1
      9 
     10 on property:sys.usb.config=mtp
     11     write /sys/class/android_usb/android0/enable 0
     12     write /sys/class/android_usb/android0/idVendor 18d1
     13     write /sys/class/android_usb/android0/idProduct d010
     14     write /sys/class/android_usb/android0/functions ${sys.usb.config}
     15     write /sys/class/android_usb/android0/enable 1
     16     setprop sys.usb.state ${sys.usb.config}
     17 
     18 on property:sys.usb.config=mtp,adb
     19     write /sys/class/android_usb/android0/enable 0
     20     write /sys/class/android_usb/android0/idVendor 18d1
     21     write /sys/class/android_usb/android0/idProduct d011
     22     write /sys/class/android_usb/android0/functions ${sys.usb.config}
     23     write /sys/class/android_usb/android0/enable 1
     24     start adbd
     25     setprop sys.usb.state ${sys.usb.config}
     26 
     27 on property:sys.usb.config=rndis
     28     write /sys/class/android_usb/android0/enable 0
     29     write /sys/class/android_usb/android0/idVendor 18d1
     30     write /sys/class/android_usb/android0/idProduct d012
     31     write /sys/class/android_usb/android0/functions ${sys.usb.config}
     32     write /sys/class/android_usb/android0/bDeviceClass 224
     33     write /sys/class/android_usb/android0/enable 1
     34     setprop sys.usb.state ${sys.usb.config}
     35 
     36 on property:sys.usb.config=rndis,adb
     37     write /sys/class/android_usb/android0/enable 0
     38     write /sys/class/android_usb/android0/idVendor 18d1
     39     write /sys/class/android_usb/android0/idProduct d013
     40     write /sys/class/android_usb/android0/functions ${sys.usb.config}
     41     write /sys/class/android_usb/android0/bDeviceClass 224
     42     write /sys/class/android_usb/android0/enable 1
     43     start adbd
     44     setprop sys.usb.state ${sys.usb.config}
     45