TARGET_INIT_VENDOR_LIB := libinit_sec
# Partitions
-BOARD_HAS_NO_MISC_PARTITION:= false
TARGET_USERIMAGES_USE_F2FS := true
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3145728000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 12096372736
-BOARD_FLASH_BLOCK_SIZE := 131072
+
+# blockdev --getbsz /dev/block/mmcblk0p23
+BOARD_FLASH_BLOCK_SIZE := 4096
# Kernel
TARGET_KERNEL_CONFIG := lineageos_s5neolte_defconfig