summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2016-02-02 08:35:54 -0200
committerCaio Schnepper <caioschnepper@gmail.com>2016-02-02 08:40:32 -0200
commit7ec9e5c0c073a3d9edf5596275508ce64b9aa695 (patch)
treed7e077fa639b67cc04695064d10d55fa70e8655e
parent85ba1e8745ae4a8d0d4e0a20e43b41a0cbd44204 (diff)
downloaddevice_samsung_galaxys2-common-7ec9e5c0c073a3d9edf5596275508ce64b9aa695.zip
device_samsung_galaxys2-common-7ec9e5c0c073a3d9edf5596275508ce64b9aa695.tar.gz
device_samsung_galaxys2-common-7ec9e5c0c073a3d9edf5596275508ce64b9aa695.tar.bz2
galaxys2-common: Fix MTP USB node
Change-Id: I5eabaa5ad8b73eba43bfc82ae756fbb8961e15e2
-rw-r--r--rootdir/init.smdk4210.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index fbfec8b..5d664c4 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -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