diff --git a/recovery/root/init.recovery.mt6893.rc b/recovery/root/init.recovery.mt6893.rc index 659a91b..eac97e1 100644 --- a/recovery/root/init.recovery.mt6893.rc +++ b/recovery/root/init.recovery.mt6893.rc @@ -26,19 +26,10 @@ on post-fs symlink /dev/block/platform/bootdevice/by-name/preloader_b /dev/block/platform/bootdevice/by-name/preloader_emmc_b symlink /dev/block/platform/bootdevice/by-name/preloader_a /dev/block/platform/bootdevice/by-name/preloader_ufs_a symlink /dev/block/platform/bootdevice/by-name/preloader_b /dev/block/platform/bootdevice/by-name/preloader_ufs_b - - # Support A/B feature for combo emmc and ufs OTA update - symlink /dev/block/platform/bootdevice/by-name/preloader_a /dev/block/by-name/preloader_emmc_a - symlink /dev/block/platform/bootdevice/by-name/preloader_b /dev/block/by-name/preloader_emmc_b - symlink /dev/block/platform/bootdevice/by-name/preloader_a /dev/block/by-name/preloader_ufs_a symlink /dev/block/platform/bootdevice/by-name/preloader_b /dev/block/by-name/preloader_ufs_b exec u:r:update_engine:s0 root root -- /system/bin/mtk_plpath_utils - - symlink /dev/block/mapper/pl_a /dev/block/by-name/preloader_raw_a - symlink /dev/block/mapper/pl_b /dev/block/by-name/preloader_raw_b - symlink /dev/block/mapper/pl_a /dev/block/platform/bootdevice/by-name/preloader_raw_a - symlink /dev/block/mapper/pl_b /dev/block/platform/bootdevice/by-name/preloader_raw_b + start mtk.plpath.utils.link on property:ro.crypto.state=encrypted && property:ro.crypto.type=file install_keyring diff --git a/recovery/root/system/etc/init/mtk-plpath-utils.rc b/recovery/root/system/etc/init/mtk-plpath-utils.rc index b0488ca..7ebff28 100644 --- a/recovery/root/system/etc/init/mtk-plpath-utils.rc +++ b/recovery/root/system/etc/init/mtk-plpath-utils.rc @@ -7,29 +7,6 @@ on property:persist.vendor.mtk.pl_lnk=1 symlink /dev/block/mapper/pl_a /dev/block/platform/bootdevice/by-name/preloader_raw_a symlink /dev/block/mapper/pl_b /dev/block/platform/bootdevice/by-name/preloader_raw_b -# FSTAB_RAW2(lk2,bootloader2) of fstab.in.emmc, but without bootloader2 mount point - symlink /dev/block/by-name/lk1 /dev/block/by-name/bootloader1 - symlink /dev/block/by-name/lk2 /dev/block/by-name/bootloader2 - -# Fix ro.vendor.mtk_ufs_support remove issue of recovery mode -on property:vendor.mtk.boot0_linka=1 - symlink /dev/block/sda /dev/block/mmcblk0boot0 - -on property:vendor.mtk.boot0_linkb=1 - symlink /dev/block/sdb /dev/block/mmcblk0boot0 - -on property:vendor.mtk.boot0_linkc=1 - symlink /dev/block/sdc /dev/block/mmcblk0boot0 - -on property:vendor.mtk.boot1_linka=1 - symlink /dev/block/sda /dev/block/mmcblk0boot1 - -on property:vendor.mtk.boot1_linkb=1 - symlink /dev/block/sdb /dev/block/mmcblk0boot1 - -on property:vendor.mtk.boot1_linkc=1 - symlink /dev/block/sdc /dev/block/mmcblk0boot1 - service mtk.plpath.utils.link /system/bin/mtk_plpath_utils class main user root