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

deviceinfo_format_version="0"
deviceinfo_name="Sony Xperia XA"
deviceinfo_manufacturer="Sony"
deviceinfo_codename="sony-tuba"
deviceinfo_year="2016"
deviceinfo_arch="aarch64"

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

# Bootloader related
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_method="fastboot"
deviceinfo_flash_sparse="true"
deviceinfo_flash_offset_base="0x40078000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x04f88000"
deviceinfo_flash_offset_second="0x00e88000"
deviceinfo_flash_offset_tags="0x03f88000"
deviceinfo_flash_pagesize="2048"

# Sony Ericsson Mobile Communications AB
deviceinfo_usb_idVendor="0x0fce"
# XPERIA mini (probably wrong, but what would be the correct value?)
deviceinfo_usb_idProduct="0xe167"
