# 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 9C NFC"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-angelican"
deviceinfo_year="2020"
deviceinfo_dtb="mediatek/merged"
deviceinfo_arch="aarch64"

# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="720"
deviceinfo_screen_height="1600"

# Bootloader related
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 androidboot.init_fatal_reboot_target=recovery buildvariant=userdebug kpti=off"
# deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 buildvariant=user"
# deviceinfo_create_initfs_extra="true"
deviceinfo_flash_method="fastboot"
deviceinfo_flash_sparse="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"

# Flashing related
deviceinfo_generate_bootimg="true"
deviceinfo_flash_pagesize="2048"
deviceinfo_header_version="3"
deviceinfo_append_dtb="false"
deviceinfo_flash_offset_dtb="0x07808000"
deviceinfo_flash_offset_base="0x40078000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x11a88000"
deviceinfo_flash_offset_second="0xbff88000"
deviceinfo_flash_offset_tags="0x07808000"

