diff options
author | Lorenzo M <djmesias@yahoo.es> | 2013-12-19 11:05:48 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2014-12-13 00:38:36 +0100 |
commit | 9efdd13e35f2e92fb0625c0e6a8b3b9f989bbf15 (patch) | |
tree | f97304ec0f3d4c25eae12ef130174017c1114a05 | |
parent | 468ebd2bd3da6e8de2ae43e90acbea3c32180e23 (diff) | |
download | device_samsung_tuna-9efdd13e35f2e92fb0625c0e6a8b3b9f989bbf15.zip device_samsung_tuna-9efdd13e35f2e92fb0625c0e6a8b3b9f989bbf15.tar.gz device_samsung_tuna-9efdd13e35f2e92fb0625c0e6a8b3b9f989bbf15.tar.bz2 |
tuna: fix mount USB storage (OTG support)
It solves error in DirectVolume:
Vold managed volumes must have auto mount point; ignoring /storage/usbdisk
PS2: Solves:
/dev/block/vold/8:1 failed to mount via VFAT (No such file or directory)
Volume usbdisk found no suitable devices for mounting :(
Now, it's working fine
Change-Id: I7dd061c0e0cfb068b88cf8b6ce210a98c5ffe176
-rw-r--r-- | fstab.tuna | 2 | ||||
-rwxr-xr-x | init.tuna.rc | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -16,4 +16,4 @@ /dev/block/platform/omap/omap_hsmmc.0/by-name/radio /radio emmc defaults defaults # USB storage device -/devices/platform/omap/musb-omap2430/musb-hdrc /storage/usbdisk vfat defaults voldmanaged=usbdisk:auto +/devices/platform/omap/musb-omap2430/musb-hdrc auto vfat defaults voldmanaged=usbdisk:auto diff --git a/init.tuna.rc b/init.tuna.rc index 9bc0ed7..334c606 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -16,9 +16,9 @@ on init symlink /mnt/shell/emulated/0 /storage/emulated/legacy # create directory for mounting usb drives - mkdir /storage/usbdisk 0666 system system - symlink /storage/usbdisk /mnt/usbdisk - symlink /mnt/usbdisk /usbdisk + chmod 0701 /mnt/media_rw + mkdir /mnt/media_rw/usbdisk 0775 system system + mkdir /storage/usbdisk 0000 system system on post-fs-data mkdir /data/media 0770 media_rw media_rw @@ -181,6 +181,10 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \ service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated class late_start +service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usbdisk /storage/usbdisk + class late_start + disabled + service p2p_supplicant /system/bin/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \ |