Advertisement
Guest User

Untitled

a guest
Jan 10th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. on init
  2.     write /sys/class/android_usb/android0/iSerial $ro.serialno
  3.     write /sys/class/android_usb/android0/f_rndis/manufacturer Samsung
  4.     write /sys/class/android_usb/android0/f_rndis/vendorID 04e8
  5.     write /sys/class/android_usb/android0/f_rndis/wceis 1
  6.  
  7. on boot
  8.     write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
  9.     write /sys/class/android_usb/android0/iProduct $ro.product.model
  10.  
  11. on property:sys.usb.config=mtp
  12.     #write /sys/class/android_usb/android0/enable 0
  13.     #write /sys/class/android_usb/android0/idVendor 04e8
  14.     #write /sys/class/android_usb/android0/idProduct 6860
  15.     #write /sys/class/android_usb/android0/functions $sys.usb.config
  16.     #write /sys/class/android_usb/android0/enable 1
  17.     #setprop sys.usb.state $sys.usb.config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement