# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.

deviceinfo_format_version="0"
deviceinfo_name="Xiaomi Redmi K20 Pro"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-raphael"
deviceinfo_year="2019"
deviceinfo_dtb="qcom/sm8150-xiaomi-raphael"
deviceinfo_arch="aarch64"

# Device related
deviceinfo_chassis="handset"

# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_flash_fastboot_partition_vbmeta="vbmeta"
deviceinfo_generate_bootimg="true"
deviceinfo_header_version="0"
deviceinfo_append_dtb="true"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x00000000"
deviceinfo_flash_offset_second="0x00000000"
deviceinfo_flash_offset_tags="0x00000100"

deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"

# Required for devices using UFS as storage (instead of e.g. eMMC)
deviceinfo_rootfs_image_sector_size="4096"
