diff --git a/device/testing/linux-samsung-a6lte/APKBUILD b/device/testing/linux-samsung-a6lte/APKBUILD index 7fc222231..2fe05b836 100644 --- a/device/testing/linux-samsung-a6lte/APKBUILD +++ b/device/testing/linux-samsung-a6lte/APKBUILD @@ -3,7 +3,7 @@ pkgname=linux-samsung-a6lte pkgver=3.18.140 -pkgrel=1 +pkgrel=2 pkgdesc="Samsung Galaxy A6 2018 kernel fork" arch="aarch64" _carch="arm64" @@ -40,6 +40,8 @@ source=" zram-zs-create-pool-null.patch decon-fb-colors.patch firmware-paths-fix.patch + disable-boot-mode-check.patch + linux3.7to4.5-ARM64-remove-Sun-Solaris-style-flag-on-section.patch " builddir="$srcdir/$_repository-$_commit" _outdir="." @@ -76,4 +78,6 @@ d8239ea119c45e71047ab064fc8846a77a8e744867377ac6676a962df72cb8ad7c0f470c3cb2d840 3f65a690e48f913fcb980718fae4dc03c29a6dc86eecb1e2af644488ad415de326a61d840399fb69915cbc5d56d5586f2df2287b3e7323a2927ae73a3b1b1373 zram-zs-create-pool-null.patch 5bd204239a5daff9f990757178398707ae5ec64f823ed9ec72a8d50ebe6d5f0a3cc9743e0d775094da4b3a7566f1ccceb56f39f3b0234d08ca05e537d86271ec decon-fb-colors.patch e1409844c46869ffe6ac9e028c3f38868120b6fd38dcf52ca7c1fdb98e90d2717d72ed52f7f41d3b4a18862a5b7210b6921c5c635d91cbb2a5772b55d5f1b4fb firmware-paths-fix.patch +1e705ff6f256b93986adba4c1f296b2d47be48986490d6a1130fc57126a462b2adfb4f51d3717ef70e91d0b42eb54a33b0d29f85d0c0bb9bf1498bb80c1bb7c1 disable-boot-mode-check.patch +75545ccd0082a119b9ad95fcef3523c939a5c946f8f3a5c3dde15cee1502f6c1011050a0ad5359426f018bb7ceea1c97a28c7665941bc89f365c8d11065ce0f6 linux3.7to4.5-ARM64-remove-Sun-Solaris-style-flag-on-section.patch " diff --git a/device/testing/linux-samsung-a6lte/disable-boot-mode-check.patch b/device/testing/linux-samsung-a6lte/disable-boot-mode-check.patch new file mode 100644 index 000000000..7ea748821 --- /dev/null +++ b/device/testing/linux-samsung-a6lte/disable-boot-mode-check.patch @@ -0,0 +1,11 @@ +--- a/drivers/staging/samsung/sec_batt.c 2022-02-08 08:17:27.000000000 +0300 ++++ b/drivers/staging/samsung/sec_batt.c 2024-02-20 00:28:52.680748950 +0300 +@@ -20,6 +20,8 @@ + + static int sec_bat_is_lpm_check(char *str) + { ++ int lpcharge = 0; ++ + if (strncmp(str, "charger", 7) == 0) + lpcharge = 1; + diff --git a/device/testing/linux-samsung-a6lte/linux3.7to4.5-ARM64-remove-Sun-Solaris-style-flag-on-section.patch b/device/testing/linux-samsung-a6lte/linux3.7to4.5-ARM64-remove-Sun-Solaris-style-flag-on-section.patch new file mode 120000 index 000000000..f61312e32 --- /dev/null +++ b/device/testing/linux-samsung-a6lte/linux3.7to4.5-ARM64-remove-Sun-Solaris-style-flag-on-section.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux3.7to4.5-ARM64-remove-Sun-Solaris-style-flag-on-section.patch \ No newline at end of file