Permalink
Browse files

Ramdisk changes from 4.0.4 minus directory permission changes

CM9 seems to be very picky about them. (shakes fist)
  • Loading branch information...
1 parent 77cc5fa commit 24f453d0cd61e32a8cc453c46d3116476c7761fd @imoseyon committed Mar 31, 2012
Binary file not shown.
@@ -64,7 +64,16 @@ on property:sys.usb.config=ptp,adb
on property:sys.usb.config=rndis,dm
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 04e8
- write /sys/class/android_usb/android0/idProduct 6862
+ write /sys/class/android_usb/android0/idProduct 6864
+ 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
+
+on property:sys.usb.config=rndis,acm,dm
+ write /sys/class/android_usb/android0/enable 0
+ write /sys/class/android_usb/android0/idVendor 04e8
+ write /sys/class/android_usb/android0/idProduct 6864
write /sys/class/android_usb/android0/functions $sys.usb.config
+ write /sys/class/android_usb/android0/f_acm/instances 1
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state $sys.usb.config
@@ -38,7 +38,8 @@
/dev/cdma_rmnet5 0660 radio radio
/dev/cdma_rmnet6 0660 radio radio
/dev/lte_rmnet4 0660 radio radio
-/dev/ttyGS1 0660 radio radio
+/dev/ttyGS0 0660 radio radio
+/dev/ttyGS1 0660 radio radio
/dev/block/mmcblk0p4 0660 radio radio
/dev/modem_br 0660 radio radio
/dev/cdma_ramdump0 0660 radio radio

0 comments on commit 24f453d

Please sign in to comment.