From 4ed9d33eb0712b8d7d29120bb5c65147eb1a743b Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 13 Mar 2022 13:40:27 +0100 Subject: [PATCH] mondrianwifi: add misc partition for OTA update --- BoardConfig.mk | 3 +-- recovery.fstab | 1 + stock/recovery.fstab | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 4b41e67..691b180 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -35,7 +35,6 @@ BOARD_FLASH_BLOCK_SIZE := 0 BOARD_HAS_NO_REAL_SDCARD := true BOARD_HAS_NO_SELECT_BUTTON := true BOARD_SUPPRESS_SECURE_ERASE := true -BOARD_HAS_NO_MISC_PARTITION := true BOARD_RECOVERY_SWIPE := true BOARD_USES_MMCUTILS := true BOARD_SUPPRESS_EMMC_WIPE := true @@ -45,7 +44,7 @@ TW_HAS_DOWNLOAD_MODE := true TW_NO_REBOOT_BOOTLOADER := true include $(LOCAL_PATH)/kernel.mk BOARD_CUSTOM_BOOTIMG_MK := device/samsung/mondrianwifi/seEnforcing.mk -LZMA_RAMDISK_TARGETS := boot,recovery +LZMA_RAMDISK_TARGETS := boot,recovery # TWRP BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\" diff --git a/recovery.fstab b/recovery.fstab index 2793828..ab0d395 100644 --- a/recovery.fstab +++ b/recovery.fstab @@ -20,6 +20,7 @@ /system ext4 /dev/block/mmcblk0p23 flags=display="System";backup=1 /cache ext4 /dev/block/mmcblk0p24 flags=display="Cache";backup=1 /recovery emmc /dev/block/mmcblk0p15 flags=display="Recovery";backup=1 +/misc emmc /dev/block/mmcblk0p16 flags=display="Misc" /fimware-modem vfat /dev/block/mmcblk0p2 flags=display="modem";backup=1 /external_sd auto /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable /usb-otg auto /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable diff --git a/stock/recovery.fstab b/stock/recovery.fstab index d67f33d..07d093a 100644 --- a/stock/recovery.fstab +++ b/stock/recovery.fstab @@ -6,4 +6,5 @@ /external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 /efs emmc /dev/block/platform/msm_sdcc.1/by-name/efs /modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem +/misc emmc /dev/block/platform/msm_sdcc.1/by-name/fota /usb-otg vfat /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable