init.qcom.rc: folder creation on boot up for uicc storage
start fuse service for uicc storage and add storage volumes in storage xml list to let it handled by MountService Change-Id: I1ab0d9dc7e0991e79787ba4a0f5c587298574bf7
This commit is contained in:
parent
68e4017632
commit
0d68149ecb
|
@ -48,6 +48,18 @@
|
|||
android:emulated="false"
|
||||
android:removable="true"
|
||||
android:allowMassStorage="true" />
|
||||
<storage android:mountPoint="/storage/uicc0"
|
||||
android:storageDescription="@string/storage_uicc"
|
||||
android:primary="false"
|
||||
android:emulated="false"
|
||||
android:removable="true"
|
||||
android:allowMassStorage="true" />
|
||||
<storage android:mountPoint="/storage/uicc1"
|
||||
android:storageDescription="@string/storage_uicc"
|
||||
android:primary="false"
|
||||
android:emulated="false"
|
||||
android:removable="true"
|
||||
android:allowMassStorage="false" />
|
||||
<storage android:mountPoint="/storage/usbotg"
|
||||
android:storageDescription="@string/storage_usb"
|
||||
android:primary="false"
|
||||
|
|
|
@ -41,7 +41,10 @@ on init
|
|||
mkdir /storage/emulated/legacy 0555 root root
|
||||
mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw
|
||||
mkdir /mnt/media_rw/usbotg 0700 media_rw media_rw
|
||||
mkdir /mnt/media_rw/uicc0 0700 media_rw media_rw
|
||||
mkdir /mnt/media_rw/uicc1 0700 media_rw media_rw
|
||||
mkdir /storage/sdcard1 0700 root root
|
||||
mkdir /storage/uicc0 0700 root root
|
||||
mkdir /storage/usbotg 0700 root root
|
||||
|
||||
export EXTERNAL_STORAGE /storage/emulated/legacy
|
||||
|
@ -681,6 +684,9 @@ service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
|
|||
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1
|
||||
class late_start
|
||||
|
||||
service fuse_uicc0 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/uicc0 /storage/uicc0
|
||||
class late_start
|
||||
|
||||
service fuse_usbotg /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/usbotg /storage/usbotg
|
||||
class late_start
|
||||
|
||||
|
|
Loading…
Reference in New Issue