dd3d5cda92
1. Set deviceinfo_flash_offset_base to 0x00000000. 2. Enable deviceinfo_bootimg_qcdt, and make dt.img for it. Directly use zImage instead of zImage-dtb for smaller boot.img size. 3. Reduce kernel size by disable xz, lzma and bz2 compressing. 4. Update kernel to the last version in LineageOS repository. Please note that it is ONLY TESTED on XT1079 "thea", aka Moto G 2014 LTE. However, "thea" and "titan" are nearly identical, sharing same kernel and defconfig on LineageOS, etc. [ci:skip-build]: already built successfully in CI
31 lines
1.1 KiB
Text
31 lines
1.1 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="Motorola Moto G 2014"
|
|
deviceinfo_manufacturer="Motorola"
|
|
deviceinfo_codename="motorola-titan"
|
|
deviceinfo_date=""
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_nonfree="????"
|
|
deviceinfo_dtb=""
|
|
deviceinfo_modules_initfs=""
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_arch="armhf"
|
|
|
|
# Splash screen
|
|
deviceinfo_screen_width="720"
|
|
deviceinfo_screen_height="1280"
|
|
|
|
# Fastboot related
|
|
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_flash_pagesize="2048"
|
|
deviceinfo_kernel_cmdline="androidboot.bootdevice=msm_sdcc.1 androidboot.hardware=qcom vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags buildvariant=userdebug"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="true"
|
|
deviceinfo_flash_sparse="true"
|