# # Copyright (C) 2017 The LineageOS 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 msm8953-common -include device/xiaomi/msm8953-common/BoardConfigCommon.mk DEVICE_PATH := device/xiaomi/vince # Filesystem BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 TARGET_COPY_OUT_VENDOR := vendor # HIDL DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml # Hals TARGET_QCOM_AUDIO_VARIANT := caf-msm8996 TARGET_QCOM_MEDIA_VARIANT := caf-msm8996 TARGET_QCOM_DISPLAY_VARIANT := caf-msm8996 # Kernel TARGET_KERNEL_CONFIG := vince_defconfig TARGET_KERNEL_SOURCE := kernel/xiaomi/msm8953 # Partitions BOARD_USERDATAIMAGE_PARTITION_SIZE := 25765043200 # 25765059584 - 16384 BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864 BOARD_USERDATAIMAGE_PARTITION_SIZE := 25765043200 # 25765059584 - 16384 BOARD_VENDORIMAGE_PARTITION_SIZE := 872415232 # Power TARGET_TAP_TO_WAKE_NODE := "/sys/devices/platform/soc/78b7000.i2c/i2c-3/3-0020/input/input2/wake_gesture" # RIL ENABLE_VENDOR_RIL_SERVICE := true TARGET_USES_OLD_MNC_FORMAT := true TARGET_USES_ALTERNATIVE_MANUAL_NETWORK_SELECT := true # Security Patch Level VENDOR_SECURITY_PATCH := 2019-03-05 # Sepolicy BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy # Inherit from the proprietary version -include vendor/xiaomi/vince/BoardConfigVendor.mk