| # Copyright (C) 2014 The CyanogenMod Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| # inherit from common celox |
| -include device/samsung/celox-common/BoardConfigCommon.mk |
| |
| # inherit from the proprietary version |
| -include vendor/samsung/t769/BoardConfigVendor.mk |
| |
| # Assert |
| TARGET_OTA_ASSERT_DEVICE := SGH-T769,T769,sgh-t769,t769,Blaze4G,Blaze4g,blaze4G,blaze4g |
| |
| # Kernel |
| TARGET_KERNEL_CONFIG := cyanogenmod_t769_defconfig |
| |
| # Partitions |
| BOARD_FLASH_BLOCK_SIZE := 131072 |
| BOARD_BOOTIMAGE_PARTITION_SIZE := 10485760 |
| BOARD_RECOVERYIMAGE_PARTITION_SIZE := 10485760 |
| BOARD_SYSTEMIMAGE_PARTITION_SIZE := 575885312 |
| BOARD_USERDATAIMAGE_PARTITION_SIZE := 1218445312 |
| TARGET_USERIMAGES_USE_EXT4 := true |
| TARGET_USERIMAGES_USE_F2FS := true |
| |
| # Bluetooth |
| BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/t769/bluetooth |
| |
| # Camera |
| BOARD_NEEDS_MEMORYHEAPPMEM := true |
| |
| # TWRP |
| DEVICE_RESOLUTION := 480x800 |
| TW_THEME := portrait_mdpi |
| TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888" |
| TW_BRIGHTNESS_PATH := "/sys/class/leds/lcd-backlight/brightness" |
| TW_MAX_BRIGHTNESS := 255 |
| TARGET_RECOVERY_FSTAB := device/samsung/t769/twrp.fstab |
| TW_NO_REBOOT_BOOTLOADER := true |
| TW_HAS_DOWNLOAD_MODE := true |
| TW_INTERNAL_STORAGE_PATH := "/sdcard" |
| TW_INTERNAL_STORAGE_MOUNT_POINT := "sdcard" |
| TW_EXTERNAL_STORAGE_PATH := "/external_sdcard" |
| TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sdcard" |
| BOARD_HAS_NO_REAL_SDCARD := true |
| TW_INCLUDE_CRYPTO := true |
| TW_CRYPTO_FS_TYPE := "ext4" |
| TW_CRYPTO_REAL_BLKDEV := "/dev/block/mmcblk0p25" |
| TW_CRYPTO_MNT_POINT := "/data" |
| TW_CRYPTO_FS_OPTIONS := "noauto_da_alloc" |
| TW_CRYPTO_FS_FLAGS := "0x00000006" |
| TW_CRYPTO_KEY_LOC := "/efs/metadata" |