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

deviceinfo_format_version="0"
deviceinfo_name="Samsung Galaxy S4 Mini Value Edition"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-serranovelte"
deviceinfo_year="2015"
deviceinfo_dtb_mainline="qcom-msm8916-samsung-serranovelte"
deviceinfo_dtb_mainline_modem="qcom-msm8916-samsung-serranovelte-modem"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs="panel-samsung-s6e88a0-ams427ap24 msm zinitix"
deviceinfo_arch="armv7"

# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="540"
deviceinfo_screen_height="960"
deviceinfo_getty="ttyMSM0;115200"

# The panel on this device displays everything horizontally flipped for some reason (WTF Samsung?).
# Make it look normal by instructing the kernel to flip the screen using video=540x960,reflect_x.
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 video=540x960,reflect_x PMOS_NO_OUTPUT_REDIRECT"

# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
