mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: rootdir: Mount sec_efs partition
* only available on A series Signed-off-by: SamarV-121 <samarvispute121@gmail.com> Change-Id: If860b66f65667c582d8554d2b5e731392d2dd646
This commit is contained in:
parent
179ec03067
commit
44ba529c7f
1 changed files with 10 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
on early-init
|
||||
mkdir /efs 0771 radio system
|
||||
mkdir /mnt/vendor/efs 0771 radio system
|
||||
mkdir /mnt/vendor/cpefs 0771 radio system
|
||||
mkdir /mnt/vendor/persist 0771 system system
|
||||
|
|
@ -76,6 +77,12 @@ on post-fs-data
|
|||
chmod 0660 /mnt/vendor/efs/nxp/rdc_cal
|
||||
chmod 0660 /mnt/vendor/efs/nxp/temp_cal
|
||||
|
||||
mkdir /efs/nxp 0770 system audio
|
||||
chown system audio /efs/nxp/rdc_cal
|
||||
chown system audio /efs/nxp/temp_cal
|
||||
chmod 0660 /efs/nxp/rdc_cal
|
||||
chmod 0660 /efs/nxp/temp_cal
|
||||
|
||||
chown system audio /sys/class/nxp/tfa_log/data_maxx
|
||||
chown system audio /sys/class/nxp/tfa_log/count_overxmax
|
||||
chown system audio /sys/class/nxp/tfa_log/data_maxt
|
||||
|
|
@ -389,6 +396,9 @@ on boot
|
|||
|
||||
on fs
|
||||
mount_all /vendor/etc/fstab.${ro.hardware}
|
||||
# We need to seperate mounting SEC_EFS partition from fstab file due to GSI image loading case
|
||||
wait /dev/block/platform/13500000.dwmmc0/by-name/sec_efs
|
||||
mount ext4 /dev/block/platform/13500000.dwmmc0/by-name/sec_efs /efs nosuid nodev noatime noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic
|
||||
|
||||
mount none /mnt/vendor/cpefs /cpefs bind
|
||||
restorecon_recursive /mnt/vendor/efs
|
||||
|
|
|
|||
Loading…
Reference in a new issue