sm7325-common: symlink vendor/fsg to system_root

* Seems to be an issue where if modemst1/2 (efs) is wiped modem only looks for fsg to rebuild efs in the root_directory.

* Even though this isn't correct it should allow radio to be easily flashed during future firmware upgrades as the stock radio.img is a container which flashes fsg/modem then passes the command to wipe modemst*

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
This commit is contained in:
Andrew Hexen 2023-10-26 06:02:09 -07:00
parent d1f45b867a
commit 56d93f30a0
No known key found for this signature in database
GPG Key ID: 8A690B4B0CD461A2
2 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,9 @@ TARGET_KERNEL_CONFIG := vendor/lahaina-qgki_defconfig vendor/lineage_moto-lahain
BOARD_USES_QCOM_HARDWARE := true
TARGET_BOARD_PLATFORM := lahaina
BOARD_ROOT_EXTRA_SYMLINKS := \
/vendor/fsg:/fsg
# A/B
AB_OTA_UPDATER := true

View File

@ -15,6 +15,7 @@
/dev/block/platform/soc/1d84000\.ufshc/by-name/utagsBackup u:object_r:vendor_utags_block_device:s0
# Partition Mountpoints
/fsg u:object_r:fsg_file:s0
/(vendor|system/vendor)/fsg u:object_r:fsg_file:s0
/(vendor|system/vendor)/super_fsg u:object_r:fsg_file:s0
/(vendor|system/vendor)/super_modem u:object_r:firmware_file:s0