39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
|
# Reference: <https://postmarketos.org/deviceinfo>
|
||
|
# Please use double quotes only. You can source this file in shell
|
||
|
# scripts.
|
||
|
|
||
|
deviceinfo_format_version="0"
|
||
|
deviceinfo_name="Xiaomi Mi 9"
|
||
|
deviceinfo_manufacturer="Xiaomi"
|
||
|
deviceinfo_codename="xiaomi-cepheus-downstream"
|
||
|
deviceinfo_year="2019"
|
||
|
deviceinfo_arch="aarch64"
|
||
|
|
||
|
# Device related
|
||
|
deviceinfo_chassis="handset"
|
||
|
deviceinfo_keyboard="false"
|
||
|
deviceinfo_external_storage="false"
|
||
|
deviceinfo_screen_width="1080"
|
||
|
deviceinfo_screen_height="2340"
|
||
|
deviceinfo_no_framebuffer="true"
|
||
|
|
||
|
# Bootloader related
|
||
|
deviceinfo_flash_method="fastboot"
|
||
|
deviceinfo_kernel_cmdline="console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xa90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 buildvariant=user"
|
||
|
deviceinfo_generate_bootimg="true"
|
||
|
deviceinfo_bootimg_qcdt="false"
|
||
|
deviceinfo_bootimg_mtk_mkimage="false"
|
||
|
deviceinfo_bootimg_dtb_second="false"
|
||
|
deviceinfo_flash_pagesize="4096"
|
||
|
deviceinfo_flash_offset_base="0x00000000"
|
||
|
deviceinfo_flash_offset_kernel="0x00008000"
|
||
|
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||
|
deviceinfo_flash_offset_second="0x00f00000"
|
||
|
deviceinfo_flash_offset_tags="0x00000100"
|
||
|
deviceinfo_rootfs_image_sector_size="4096"
|
||
|
|
||
|
# USB related
|
||
|
deviceinfo_usb_idVendor="0x2717" # Xiaomi Communications Co., Ltd.
|
||
|
deviceinfo_usb_idProduct="0xff80" # Mi/Redmi series (RNDIS)
|
||
|
deviceinfo_usb_rndis_function="rndis.rndis"
|