3
0

galaxys2-common: Fix MTP USB node

Change-Id: I5eabaa5ad8b73eba43bfc82ae756fbb8961e15e2
This commit is contained in:
Caio Schnepper 2016-02-02 08:35:54 -02:00
parent 85ba1e8745
commit 7ec9e5c0c0

View File

@ -102,10 +102,10 @@ on post-fs-data
# SELinux restore context for efs files
restorecon_recursive /efs
# MTP Device permission.
chmod 0660 /dev/usb_mtp_gadget
chown system system /dev/usb_mtp_gadget
chmod 0660 /dev/mtp_usb
chown system system /dev/mtp_usb
# terminal mode
chmod 0660 /sys/class/android_usb/android0/terminal_version