diff options
author | Shareef Ali <shareefalis@cyanogenmod.org> | 2012-11-23 22:14:09 -0500 |
---|---|---|
committer | Shareef Ali <shareefalis@cyanogenmod.org> | 2012-11-24 17:05:50 -0500 |
commit | d13e9d2719f0a36caf8331e98ddc1f5fa4184df6 (patch) | |
tree | 782a67edfa4ebdba81559cdd5dcdbb5bf0c25993 /init.espresso.rc | |
parent | 3101de74fde6517ad855c6aada003071d390ce65 (diff) | |
download | device_samsung_p3100-d13e9d2719f0a36caf8331e98ddc1f5fa4184df6.zip device_samsung_p3100-d13e9d2719f0a36caf8331e98ddc1f5fa4184df6.tar.gz device_samsung_p3100-d13e9d2719f0a36caf8331e98ddc1f5fa4184df6.tar.bz2 |
p3xxx: 4.2ified
* updates to sdcard
* disables overlay
* updates audio hal
Change-Id: I03030c6faa13c6c999941b7992272fc13de67e58
Diffstat (limited to 'init.espresso.rc')
-rwxr-xr-x | init.espresso.rc | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/init.espresso.rc b/init.espresso.rc index 86ff9b1..dd2b67b 100755 --- a/init.espresso.rc +++ b/init.espresso.rc @@ -1,22 +1,24 @@ import init.espresso.usb.rc +on init + mkdir /mnt/shell/emulated 0700 shell shell + mkdir /storage 0550 system sdcard_r + mkdir /storage/emulated 0555 root root -on early-init - export EXTERNAL_STORAGE /storage/sdcard0 + export EXTERNAL_STORAGE /storage/emulated/legacy export SECONDARY_STORAGE /storage/sdcard1 - mkdir /storage 0050 system sdcard_r - mkdir /storage/sdcard0 0000 system system - mkdir /storage/sdcard1 0775 system system - mkdir /storage/usbdisk0 0775 system system + export EMULATED_STORAGE_SOURCE /mnt/shell/emulated + export EMULATED_STORAGE_TARGET /storage/emulated # for backwards compatibility - symlink /storage/sdcard0 /sdcard - symlink /storage/sdcard0 /mnt/sdcard + symlink /storage/emulated/legacy /sdcard + symlink /storage/emulated/legacy /mnt/sdcard + symlink /storage/emulated/legacy /storage/sdcard0 + symlink /mnt/shell/emulated/0 /storage/emulated/legacy symlink /storage/sdcard1 /extSdCard symlink /storage/sdcard1 /mnt/extSdCard symlink /storage/usbdisk0 /usbdisk0 symlink /storage/usbdisk0 /mnt/usbdisk0 -on init # Vibetonz export VIBE_PIPE_PATH /dev/pipes mkdir /dev/pipes 0771 shell shell @@ -35,11 +37,7 @@ loglevel 7 on fs mkdir /efs - mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system wait rw - mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ro remount - mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data wait noatime nosuid nodev crypt discard,noauto_da_alloc - mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache wait noatime nosuid nodev nomblk_io_submit,errors=panic - mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs wait rw + mount_all fstab.espresso chown radio system /efs chmod 0775 /efs @@ -288,8 +286,8 @@ service geomagneticd /system/bin/geomagneticd # create virtual SD card at /storage/sdcard0, based on the /data/media directory # daemon will drop to user/group system/media_rw after initializing # underlying files in /data/media will be created with user and group media_rw (1023) -service sdcard /system/bin/sdcard /data/media 1023 1023 - class main +service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023 + class late_start service p2p_supplicant /system/bin/wpa_supplicant \ -Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin |