Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on init
- write /sys/class/android_usb/android0/iSerial $ro.serialno
- write /sys/class/android_usb/android0/f_rndis/manufacturer Samsung
- write /sys/class/android_usb/android0/f_rndis/vendorID 04e8
- write /sys/class/android_usb/android0/f_rndis/wceis 1
- on boot
- write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
- write /sys/class/android_usb/android0/iProduct $ro.product.model
- on property:sys.usb.config=mtp
- #write /sys/class/android_usb/android0/enable 0
- #write /sys/class/android_usb/android0/idVendor 04e8
- #write /sys/class/android_usb/android0/idProduct 6860
- #write /sys/class/android_usb/android0/functions $sys.usb.config
- #write /sys/class/android_usb/android0/enable 1
- #setprop sys.usb.state $sys.usb.config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement