# 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 Note 9 Pro / Redmi Note 9S"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-miatoll"
deviceinfo_year="2020"
deviceinfo_arch="aarch64"

# Device related
deviceinfo_drm="true"
deviceinfo_chassis="handset"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2400"

# Bootloader related
deviceinfo_flash_method="fastboot-bootpart"
# Where to flash boot.img, or in our case where to flash the pmOS boot partition.
# This is a bit confusing.
deviceinfo_flash_fastboot_partition_kernel="cache"
deviceinfo_generate_systemd_boot="true"
deviceinfo_boot_filesystem="fat32"

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

# Support super partition flashing
deviceinfo_super_partitions="/dev/sda17"
