Skip to content

Commit

Permalink
universal7880: enable functionfs
Browse files Browse the repository at this point in the history
Change-Id: Ifbde88cc4617de417caf202d3046362d6bc49db5
  • Loading branch information
fourkbomb authored and raymanfx committed Apr 11, 2018
1 parent d11c3aa commit 18e5890
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ramdisk/init.samsungexynos7880.usb.rc
Expand Up @@ -10,6 +10,14 @@ on boot
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
write /sys/class/android_usb/android0/f_mass_storage/inquiry_string "Samsung"

on fs
mkdir /dev/usb-ffs 0770 shell shell
mkdir /dev/usb-ffs/adb 0770 shell shell
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
write /sys/class/android_usb/android0/f_ffs/aliases adb
mkdir /dev/bus 0755 root root
mkdir /dev/bus/usb 0755 root root

on property:ro.boot.debug_level=*
write /sys/class/android_usb/android0/iDebugLevel ${ro.boot.debug_level}

Expand Down

0 comments on commit 18e5890

Please sign in to comment.