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

deviceinfo_format_version="0"
deviceinfo_name="Google Nexus 4"
deviceinfo_manufacturer="LG"
deviceinfo_codename="lg-mako"
deviceinfo_year="2012"
deviceinfo_external_storage="false"
deviceinfo_flash_method="fastboot"
deviceinfo_arch="armv7"

# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_screen_width="768"
deviceinfo_screen_height="1280"
deviceinfo_dev_touchscreen="/dev/input/event2"
deviceinfo_gpu_accelerated="false"

# Fastboot related
deviceinfo_generate_bootimg="true"
deviceinfo_kernel_cmdline_mainline="console=ttyMSM2,115200,n8 fw_devlink=permissive"
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0,115200,n8"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
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"

# Extra
deviceinfo_getty_mainline="ttyMSM2;115200"
deviceinfo_getty_downstream="ttyHSL0;115200"
