pmaports/device/device-xiaomi-santoni/deviceinfo
Danct12 90341ef720
xiaomi-santoni: use Xiaomi USB IDs (!740)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-11-17 15:36:49 +01:00

38 lines
1.4 KiB
Text

# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="1"
deviceinfo_name="Xiaomi Redmi 4X"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-santoni"
deviceinfo_date="04/29/2017 (Malaysia)"
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"
# Device related
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="720"
deviceinfo_screen_height="1280"
deviceinfo_dev_touchscreen="/dev/input/event1"
deviceinfo_dev_touchscreen_calibration=""
deviceinfo_dev_keyboard=""
deviceinfo_swap_size_recommended="1024"
# USB vendor configuration
deviceinfo_usb_idVendor="0x2717" # Xiaomi Communications Co., Ltd.
deviceinfo_usb_idProduct="0xFF80" # Mi/Redmi series (RNDIS)
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000 androidboot.selinux=permissive buildvariant=userdebug"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"