SHARE
TWEET

Arrows Tab LTE F-01D build:V08R31A init.omap4430.usb.rc

huhka_com Sep 30th, 2012 34 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on init
  2.     write /sys/class/android_usb/android0/f_rndis/manufacturer $ro.product.manufacturer
  3.     write /sys/class/android_usb/android0/f_rndis/vendorID 04C5
  4.     write /sys/class/android_usb/android0/f_rndis/wceis 1
  5.  
  6. on boot
  7.     write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
  8.     write /sys/class/android_usb/android0/iProduct $ro.product.model
  9.     write /sys/class/android_usb/android0/iSerial $ro.serialno
  10.     write /sys/class/android_usb/android0/idVendor 04C5
  11.  
  12. on property:sys.usb.config=mtp
  13.     write /sys/class/android_usb/android0/enable 0
  14.     write /sys/class/android_usb/android0/idVendor 04C5
  15.     write /sys/class/android_usb/android0/idProduct 1334
  16.     write /sys/class/android_usb/android0/functions $sys.usb.config
  17.     write /sys/class/android_usb/android0/bDeviceClass 0
  18.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  19.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  20.     write /sys/class/android_usb/android0/enable 1
  21.     setprop sys.usb.state $sys.usb.config
  22.  
  23. on property:sys.usb.config=mtp,adb
  24.     write /sys/class/android_usb/android0/enable 0
  25.     write /sys/class/android_usb/android0/idVendor 04C5
  26.     write /sys/class/android_usb/android0/idProduct 1334
  27.     write /sys/class/android_usb/android0/functions $sys.usb.config
  28.     write /sys/class/android_usb/android0/bDeviceClass 0
  29.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  30.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  31.     write /sys/class/android_usb/android0/enable 1
  32.     start adbd
  33.     setprop sys.usb.state $sys.usb.config
  34.  
  35. on property:sys.usb.config=rndis
  36.     write /sys/class/android_usb/android0/enable 0
  37.     write /sys/class/android_usb/android0/idVendor 04C5
  38.     write /sys/class/android_usb/android0/idProduct 12AF
  39.     write /sys/class/android_usb/android0/functions $sys.usb.config
  40.     write /sys/class/android_usb/android0/bDeviceClass 239
  41.     write /sys/class/android_usb/android0/bDeviceSubClass 2
  42.     write /sys/class/android_usb/android0/bDeviceProtocol 1
  43.     write /sys/class/android_usb/android0/enable 1
  44.     setprop sys.usb.state $sys.usb.config
  45.  
  46. on property:sys.usb.config=rndis,adb
  47.     write /sys/class/android_usb/android0/enable 0
  48.     write /sys/class/android_usb/android0/idVendor 04C5
  49.     write /sys/class/android_usb/android0/idProduct 12AF
  50.     write /sys/class/android_usb/android0/functions $sys.usb.config
  51.     write /sys/class/android_usb/android0/bDeviceClass 239
  52.     write /sys/class/android_usb/android0/bDeviceSubClass 2
  53.     write /sys/class/android_usb/android0/bDeviceProtocol 1
  54.     write /sys/class/android_usb/android0/enable 1
  55.     start adbd
  56.     setprop sys.usb.state $sys.usb.config
  57.  
  58. on property:sys.usb.config=ptp
  59.     write /sys/class/android_usb/android0/enable 0
  60.     write /sys/class/android_usb/android0/idVendor 04C5
  61.     write /sys/class/android_usb/android0/idProduct 1364
  62.     write /sys/class/android_usb/android0/functions $sys.usb.config
  63.     write /sys/class/android_usb/android0/bDeviceClass 0
  64.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  65.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  66.     write /sys/class/android_usb/android0/enable 1
  67.     setprop sys.usb.state $sys.usb.config
  68.  
  69. on property:sys.usb.config=ptp,adb
  70.     write /sys/class/android_usb/android0/enable 0
  71.     write /sys/class/android_usb/android0/idVendor 04C5
  72.     write /sys/class/android_usb/android0/idProduct 1364
  73.     write /sys/class/android_usb/android0/functions $sys.usb.config
  74.     write /sys/class/android_usb/android0/bDeviceClass 0
  75.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  76.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  77.     write /sys/class/android_usb/android0/enable 1
  78.     start adbd
  79.     setprop sys.usb.state $sys.usb.config
  80.  
  81. on property:sys.usb.config=mass_storage
  82.     write /sys/class/android_usb/android0/enable 0
  83.     write /sys/class/android_usb/android0/idVendor 04C5
  84.     write /sys/class/android_usb/android0/idProduct 12B0
  85.     write /sys/class/android_usb/android0/functions $sys.usb.config
  86.     write /sys/class/android_usb/android0/bDeviceClass 0
  87.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  88.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  89.     write /sys/class/android_usb/android0/enable 1
  90.     setprop sys.usb.state $sys.usb.config
  91.  
  92. on property:sys.usb.config=mass_storage,adb
  93.     write /sys/class/android_usb/android0/enable 0
  94.     write /sys/class/android_usb/android0/idVendor 04C5
  95.     write /sys/class/android_usb/android0/idProduct 12B0
  96.     write /sys/class/android_usb/android0/functions $sys.usb.config
  97.     write /sys/class/android_usb/android0/bDeviceClass 0
  98.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  99.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  100.     write /sys/class/android_usb/android0/enable 1
  101.     start adbd
  102.     setprop sys.usb.state $sys.usb.config
  103.  
  104. on property:sys.usb.config=mmp
  105.     write /sys/class/android_usb/android0/enable 0
  106.     write /sys/class/android_usb/android0/idVendor 04C5
  107.     write /sys/class/android_usb/android0/idProduct 12C5
  108.     write /sys/class/android_usb/android0/functions $sys.usb.config
  109.     write /sys/class/android_usb/android0/bDeviceClass 0
  110.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  111.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  112.     write /sys/class/android_usb/android0/enable 1
  113.     setprop sys.usb.state $sys.usb.config
  114.  
  115. on property:sys.usb.config=mmp,adb
  116.     write /sys/class/android_usb/android0/enable 0
  117.     write /sys/class/android_usb/android0/idVendor 04C5
  118.     write /sys/class/android_usb/android0/idProduct 134F
  119.     write /sys/class/android_usb/android0/functions $sys.usb.config
  120.     write /sys/class/android_usb/android0/bDeviceClass 0
  121.     write /sys/class/android_usb/android0/bDeviceSubClass 0
  122.     write /sys/class/android_usb/android0/bDeviceProtocol 0
  123.     write /sys/class/android_usb/android0/enable 1
  124.     start adbd
  125.     setprop sys.usb.state $sys.usb.config
  126.  
  127. on property:sys.usb.config=rndis,mmp
  128.     write /sys/class/android_usb/android0/enable 0
  129.     write /sys/class/android_usb/android0/idVendor 04C5
  130.     write /sys/class/android_usb/android0/idProduct 12C6
  131.     write /sys/class/android_usb/android0/functions $sys.usb.config
  132.     write /sys/class/android_usb/android0/bDeviceClass 239
  133.     write /sys/class/android_usb/android0/bDeviceSubClass 2
  134.     write /sys/class/android_usb/android0/bDeviceProtocol 1
  135.     write /sys/class/android_usb/android0/enable 1
  136.     setprop sys.usb.state $sys.usb.config
  137.  
  138. on property:sys.usb.config=rndis,mmp,adb
  139.     write /sys/class/android_usb/android0/enable 0
  140.     write /sys/class/android_usb/android0/idVendor 04C5
  141.     write /sys/class/android_usb/android0/idProduct 12C6
  142.     write /sys/class/android_usb/android0/functions $sys.usb.config
  143.     write /sys/class/android_usb/android0/bDeviceClass 239
  144.     write /sys/class/android_usb/android0/bDeviceSubClass 2
  145.     write /sys/class/android_usb/android0/bDeviceProtocol 1
  146.     write /sys/class/android_usb/android0/enable 1
  147.     start adbd
  148.     setprop sys.usb.state $sys.usb.config
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top