sm8250-common: Remove install-recovery.sh

* Cringe bro

Change-Id: I20656cc2eeca036f5e446b4d16675ed792b3f2d3
This commit is contained in:
Sebastiano Barezzi 2021-02-22 14:53:27 +01:00
parent 284fdf3e93
commit 4ff0cae557
No known key found for this signature in database
GPG Key ID: 47760583F393BC44
3 changed files with 0 additions and 23 deletions

View File

@ -351,7 +351,6 @@ PRODUCT_PACKAGES += \
init.qti.dcvs.sh \
init.qti.media.sh \
init.qti.qcv.sh \
install-recovery.sh \
mishow.sh \
qca6234-service.sh \

View File

@ -129,14 +129,6 @@ LOCAL_SRC_FILES := bin/init.qti.qcv.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := install-recovery.sh
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := bin/install-recovery.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := mishow.sh
LOCAL_MODULE_TAGS := optional

View File

@ -1,14 +0,0 @@
#!/vendor/bin/sh
if ! applypatch --check EMMC:/dev/block/bootdevice/by-name/recovery$(getprop ro.boot.slot_suffix):134217728:cb6fcc2fd2fef217767b15f5846d10acf100e7ac; then
applypatch \
--patch /vendor/recovery-from-boot.p \
--source EMMC:/dev/block/bootdevice/by-name/boot$(getprop ro.boot.slot_suffix):134217728:37acae9a2a87566d2b266c865355eadfe25ad93b \
--target EMMC:/dev/block/bootdevice/by-name/recovery$(getprop ro.boot.slot_suffix):134217728:cb6fcc2fd2fef217767b15f5846d10acf100e7ac && \
log -t recovery "Installing new recovery image: succeeded" && \
echo "Installing new recovery image: succeeded" > /cache/recovery/last_install_recovery_status || \
(log -t recovery "Installing new recovery image: failed" && \
echo "Installing new recovery image: failed" > /cache/recovery/last_install_recovery_status)
else
log -t recovery "Recovery image already installed" && \
echo "Recovery image already installed" > /cache/recovery/last_install_recovery_status
fi