diff options
-rwxr-xr-x | init.tuna.rc | 3 | ||||
-rw-r--r-- | overlay/frameworks/base/core/res/res/xml/storage_list.xml | 2 | ||||
-rw-r--r-- | vold.fstab | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/init.tuna.rc b/init.tuna.rc index d8b5e62..fcaceda 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -4,10 +4,11 @@ on early-init export EXTERNAL_STORAGE /storage/sdcard0 mkdir /storage 0050 system sdcard_r mkdir /storage/sdcard0 0000 system system + mkdir /storage/usbdisk 0755 system system # for backwards compatibility symlink /storage/sdcard0 /sdcard symlink /storage/sdcard0 /mnt/sdcard - mkdir /mnt/usbdisk 0755 system system + symlink /storage/usbdisk /mnt/usbdisk on post-fs-data # we will remap this as /storage/sdcard0 with the sdcard fuse tool diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml index 0ef57a7..49cc7ae 100644 --- a/overlay/frameworks/base/core/res/res/xml/storage_list.xml +++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml @@ -39,7 +39,7 @@ android:emulated="true" android:mtpReserve="100" /> - <storage android:mountPoint="/mnt/usbdisk" + <storage android:mountPoint="/storage/usbdisk" android:storageDescription="@string/storage_usb" android:primary="false" android:removable="true" /> @@ -13,4 +13,4 @@ ###################### # USB storage device -dev_mount usbdisk /mnt/usbdisk auto /devices/platform/omap/musb-omap2430 +dev_mount usbdisk /storage/usbdisk auto /devices/platform/omap/musb-omap2430 |