de21973ce3
Both downstream and mainline ports. https://wiki.postmarketos.org/wiki/Xiaomi_Mi_8_Lite_(xiaomi-platina)
41 lines
1.7 KiB
Text
41 lines
1.7 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 8 Lite"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-platina"
|
|
deviceinfo_year="2018"
|
|
deviceinfo_dtb_mainline="qcom/sdm660-xiaomi-platina"
|
|
deviceinfo_append_dtb_mainline="true"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="1080"
|
|
deviceinfo_screen_height="2280"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_flash_fastboot_partition_vbmeta="vbmeta"
|
|
deviceinfo_kernel_cmdline_downstream="console=ttyMSM0,115200n8 PMOS_NO_OUTPUT_REDIRECT androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 loop.max_part=7 usbcore.autosuspend=7 buildvariant=userdebug"
|
|
deviceinfo_kernel_cmdline_mainline="PMOS_NO_OUTPUT_REDIRECT"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_flash_sparse="true"
|
|
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"
|
|
|
|
# USB related
|
|
deviceinfo_usb_idVendor="0x2717" # Xiaomi Communications Co., Ltd.
|
|
deviceinfo_usb_idProduct="0xff80" # Mi/Redmi series (RNDIS)
|
|
deviceinfo_usb_rndis_function_downstream="rndis_bam.rndis"
|