# 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 Z"
deviceinfo_manufacturer="Sony"
deviceinfo_codename="sony-yuga"
deviceinfo_year="2013"
deviceinfo_arch="armv7"

# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_flash_method="fastboot"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"

# Mainline kernel related
deviceinfo_dtb_mainline="qcom-apq8064-sony-xperia-yuga"
deviceinfo_append_dtb_mainline="true"
deviceinfo_kernel_cmdline_mainline="console=ttyMSM0,115200,n8 fw_devlink=permissive"

# Boot related
deviceinfo_generate_bootimg="true"
deviceinfo_flash_offset_base="0x80200000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 maxcpus=2 androidboot.selinux=permissive"
