From 0abbfcd853da459eeba844351b2a7bf86f97ad22 Mon Sep 17 00:00:00 2001 From: Ben Westover Date: Tue, 26 Sep 2023 10:44:45 -0400 Subject: [PATCH] lg-mmh4x: Add mtkclient flashing method and specify that device is carrier-specific (MR 4421) [ci:skip-build]: already built successfully in CI --- device/testing/device-lg-mmh4x/APKBUILD | 8 ++++---- device/testing/device-lg-mmh4x/deviceinfo | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/device/testing/device-lg-mmh4x/APKBUILD b/device/testing/device-lg-mmh4x/APKBUILD index 50ffb3c80..d0a70ad3f 100644 --- a/device/testing/device-lg-mmh4x/APKBUILD +++ b/device/testing/device-lg-mmh4x/APKBUILD @@ -1,8 +1,8 @@ # Reference: 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 " diff --git a/device/testing/device-lg-mmh4x/deviceinfo b/device/testing/device-lg-mmh4x/deviceinfo index cadad836b..3d102657f 100644 --- a/device/testing/device-lg-mmh4x/deviceinfo +++ b/device/testing/device-lg-mmh4x/deviceinfo @@ -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"