diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 16e016f..a038924 100755 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -66,16 +66,6 @@ TARGET_USES_ION := true TARGET_USES_OVERLAY := true TARGET_USES_SF_BYPASS := true -# Enable dex-preoptimization to speed up first boot sequence -ifeq ($(HOST_OS),linux) - ifeq ($(TARGET_BUILD_VARIANT),user) - ifeq ($(WITH_DEXPREOPT),) - WITH_DEXPREOPT := true - endif - endif -endif -WITH_DEXPREOPT_BOOT_IMG_ONLY ?= true - TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true BOARD_BOOTIMAGE_PARTITION_SIZE := 23068672 # 22M @@ -94,6 +84,7 @@ ifeq ($(HOST_OS),linux) endif endif endif +DONT_DEXPREOPT_PREBUILTS := true BOARD_USERDATAIMAGE_PARTITION_SIZE := 12348030976 # 11.5G BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)