lg-mmh4x: Add mtkclient flashing method and specify that device is carrier-specific (MR 4421)

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Ben Westover 2023-09-26 10:44:45 -04:00 committed by Oliver Smith
parent d2fa55c56d
commit 0abbfcd853
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 8 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-mmh4x
pkgdesc="LG K40"
pkgver=0.1
pkgrel=2
pkgdesc="LG K40 (AT&T)"
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -25,5 +25,5 @@ package() {
}
sha512sums="
8fb0b9485b731efca11fbb91d443e69b25c73087bf842e972ea979100a819937c64570fbb4cdfbb3f0bd75fe2c096b33974005b0c78a95affff308d01ac26d88 deviceinfo
cb07cca8fab6afdb58b2d8c6aeab6a5f87fa9e53ae3882a7547dd77af9b8c44a6cd0b3fdac4ba4688a11c2e77c762308ca24e14680795b2d7ca40f6a20bf7ca8 deviceinfo
"

View file

@ -3,7 +3,7 @@
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="LG K40"
deviceinfo_name="LG K40 (AT&T)"
deviceinfo_manufacturer="LG"
deviceinfo_codename="lg-mmh4x"
deviceinfo_year="2019"
@ -17,7 +17,9 @@ deviceinfo_screen_width="720"
deviceinfo_screen_height="1440"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_flash_method="mtkclient"
deviceinfo_flash_mtkclient_partition_kernel="boot_a"
deviceinfo_flash_mtkclient_partition_rootfs="userdata"
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,32N2 androidboot.hardware=mmh4x androidboot.usbconfigfs=true androidboot.product.lge.op_verity=1 buildvariant=user"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"