Move modem setup to init.persist.rc

When the modem setup is done is init.efs.rc file,
there is boot time regression in the 4kb configuration.

Bug: 374435821
Flag: EXEMPT bugfix
Test: Build and tested in abtd
Change-Id: I909f9eb45f783fda45e7782419845d236c263aa0
This commit is contained in:
Juan Yescas 2024-11-06 17:35:21 -08:00
parent e2f1ae629c
commit 1ef792a230
3 changed files with 9 additions and 19 deletions

View file

@ -3,6 +3,14 @@ on early-init && property:ro.boot.hardware.cpu.pagesize=4096
setprop ro.vendor.persist.status mounted
on property:ro.vendor.persist.status=mounted
# for modem related functions
restorecon_recursive /mnt/vendor/efs
chown radio system /mnt/vendor/efs
restorecon_recursive /mnt/vendor/efs_backup
chown radio system /mnt/vendor/efs_backup
restorecon_recursive /mnt/vendor/modem_userdata
chown radio system /mnt/vendor/modem_userdata
# for battery defender
mkdir /mnt/vendor/persist/battery 0700 system system