aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/fstab.smdk4x1225
-rw-r--r--rootdir/init.target.rc26
2 files changed, 26 insertions, 25 deletions
diff --git a/rootdir/fstab.smdk4x12 b/rootdir/fstab.smdk4x12
index 375320d..a8ce248 100644
--- a/rootdir/fstab.smdk4x12
+++ b/rootdir/fstab.smdk4x12
@@ -1,20 +1,21 @@
# Android fstab file.
-#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
+#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
# data partition must be located at the bottom for supporting device encryption
-/dev/block/platform/dw_mmc/by-name/SYSTEM /system ext4 ro wait
-/dev/block/platform/dw_mmc/by-name/EFS /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
-/dev/block/platform/dw_mmc/by-name/CACHE /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
-/dev/block/platform/dw_mmc/by-name/RADIO /firmware vfat ro,shortname=lower,fmask=0133,dmask=0022 wait
-/dev/block/platform/dw_mmc/by-name/USERDATA /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer
-/dev/block/platform/dw_mmc/by-name/TOMBSTONES /tombstones ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
+
+/dev/block/platform/dw_mmc/by-name/SYSTEM /system ext4 ro wait
+/dev/block/platform/dw_mmc/by-name/EFS /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
+/dev/block/platform/dw_mmc/by-name/CACHE /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
+/dev/block/platform/dw_mmc/by-name/RADIO /firmware vfat ro,shortname=lower,fmask=0133,dmask=0022 wait
+/dev/block/platform/dw_mmc/by-name/USERDATA /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_async_commit,errors=panic wait,check,encryptable=footer
+/dev/block/platform/dw_mmc/by-name/TOMBSTONES /tombstones ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
# vold-managed volumes ("block device" is actually a sysfs devpath)
-/devices/platform/s3c-sdhci.2/mmc_host/mmc1* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
-/devices/platform/s5p-ehci* auto auto defaults voldmanaged=usb:auto,noemulatedsd
+/devices/platform/s3c-sdhci.2/mmc_host/mmc1* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
+/devices/platform/s5p-ehci* auto auto defaults voldmanaged=usb:auto,noemulatedsd
# recovery
-/dev/block/platform/dw_mmc/by-name/BOOT /boot emmc defaults recoveryonly
-/dev/block/platform/dw_mmc/by-name/RECOVERY /recovery emmc defaults recoveryonly
-/dev/block/platform/dw_mmc/by-name/RADIO /modem emmc defaults recoveryonly
+/dev/block/platform/dw_mmc/by-name/BOOT /boot emmc defaults recoveryonly
+/dev/block/platform/dw_mmc/by-name/RECOVERY /recovery emmc defaults recoveryonly
+/dev/block/platform/dw_mmc/by-name/RADIO /modem emmc defaults recoveryonly
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 6593331..6060a85 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -41,6 +41,10 @@ on init
on post-fs-data
#########################################################################################################################
+# wifi
+ write /data/.cid.info 0
+ restorecon /data/.cid.info
+
chown system radio /dev/block/platform/dw_mmc/by-name
chmod 0775 /dev/block/platform/dw_mmc/by-name
@@ -67,20 +71,10 @@ on post-fs-data
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
# Restorecon
- restorecon /efs/bluetooth/bt_addr
- restorecon /efs/FactoryApp/keystr
- restorecon /efs/FactoryApp/factorymode
- restorecon /efs/FactoryApp/serial_no
- restorecon /efs/imei/mps_code.dat
- restorecon /efs/wifi/.mac.info
- restorecon /tombstones
- restorecon /tombstones/qcks
- restorecon /tombstones/qcks/acdb.bin
- restorecon /tombstones/qcks/efs1.bin
- restorecon /tombstones/qcks/efs2.bin
- restorecon /tombstones/qcks/efs3.bin
- restorecon /tombstones/qcks/temp.dump
+ restorecon_recursive /efs
+ restorecon_recursive /tombstones
restorecon /data/.cid.info
+ restorecon /data/ISP_CV
# Waketime fot fast dormancy
chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime
@@ -110,6 +104,12 @@ on property:sys.boot_completed=1
write /sys/power/cpufreq_min_limit -1
# SISO-ANDR_PERF :: END
+on property:init.svc.macloader=stopped
+ chown system root /data/.cid.info
+ chmod 0666 /data/.cid.info
+ chown system root /data/.rev
+ chmod 0666 /data/.rev
+
#########################################################################################################################
on boot
#########################################################################################################################