ff968a751e
* Packaged libsparse libsparse from the Android project provides multiple tools like img2simg and simg2img. These are used to split a large image for the system partition into separate smaller chunks with sparse headers This is required for several devices (at least bullhead, fp2 and titan) because it fixes the "Invalid sparse file format at header magi" error https://github.com/postmarketOS/pmbootstrap/issues/299 * Added new variable deviceinfo_flash_sparse (fixes #299) Right after the system image is generated, pmbootstrap checks this variable. In case it is true, run img2simg on it * motorola-titan: enable deviceinfo_flash_sparse * libsparse: use source from github: anestisb/android-simg2img It is not that easy to use the upstream archive because everytime you download it, the files have the current date as creation date and that makes the file have a different checksum every download https://github.com/postmarketOS/pmbootstrap/pull/303#issuecomment-319017197
32 lines
1.1 KiB
Text
32 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="Moto G 2014"
|
|
deviceinfo_manufacturer="Motorola"
|
|
deviceinfo_date=""
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_nonfree="????"
|
|
deviceinfo_dtb=""
|
|
deviceinfo_modules_initfs=""
|
|
deviceinfo_external_disk="false"
|
|
deviceinfo_external_disk_install="false"
|
|
deviceinfo_flash_methods="fastboot"
|
|
deviceinfo_arch="armhf"
|
|
|
|
# Splash screen
|
|
deviceinfo_screen_width="720"
|
|
deviceinfo_screen_height="1280"
|
|
|
|
# Fastboot related
|
|
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_flash_sparse="true"
|
|
|
|
# Weston red screen workaround (see issue #54)
|
|
deviceinfo_weston_pixman_type="2"
|