From e8e18773ce540c4f02a9e2494dc2e867f165b267 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 7 Jul 2023 20:32:35 -0400 Subject: [PATCH 01/26] dts: msm8226: Add Samsung Galaxy S5 Mini 3G (2014) (G800H) --- dts/msm8226/msm8926-samsung-kmini3g.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dts/msm8226/msm8926-samsung-kmini3g.dts diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-kmini3g.dts new file mode 100644 index 000000000..5eb72baaf --- /dev/null +++ b/dts/msm8226/msm8926-samsung-kmini3g.dts @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include +#include + +/ { + // This is used by the bootloader to find the correct DTB + qcom,msm-id = <0xC808FF01 2 0x10001>; + + matisselte { + model = "Samsung Galaxy S5 Mini (SM-G800H)"; + compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; + lk2nd,match-bootloader = "G800H*"; + + lk2nd,keys = + , + , + ; + }; +}; From 05955d8efe1da9fdfba5fad1b51e258889b4e780 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 7 Jul 2023 20:34:03 -0400 Subject: [PATCH 02/26] add dtb to rules --- dts/msm8226/rules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dts/msm8226/rules.mk b/dts/msm8226/rules.mk index 83c39e99c..d5121feae 100644 --- a/dts/msm8226/rules.mk +++ b/dts/msm8226/rules.mk @@ -10,4 +10,5 @@ DTBS += \ $(LOCAL_DIR)/msm8226-samsung-ms013g.dtb \ $(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \ $(LOCAL_DIR)/msm8926-samsung-r02.dtb \ - $(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb + $(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb \ + $(LOCAL_DIR)/msm8926-samsung-kmini3g.dtb From d97a863745e1f165c3911bb5562bb736689084ee Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 7 Jul 2023 20:36:33 -0400 Subject: [PATCH 03/26] add support Samsung Galaxy S5 Mini 3G (2014) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b7130bf16..1b77ed602 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs. - Motorola Moto G 2013 - falcon - Samsung Galaxy Grand 2 - SM-G7102 - Samsung Galaxy Tab 4 10.1 (2014) - SM-T530, SM-T535 +- Samsung Galaxy S5 Mini 3G (2014) - SM-G800H ## Installation 1. Download `lk2nd.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases)) From 608e8a9f75d9af206b73312e8cb99ef01a06063d Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sat, 29 Jul 2023 11:42:12 -0400 Subject: [PATCH 04/26] i forgot this in dtb --- dts/msm8226/msm8926-samsung-kmini3g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-kmini3g.dts index 5eb72baaf..4d87bf700 100644 --- a/dts/msm8226/msm8926-samsung-kmini3g.dts +++ b/dts/msm8226/msm8926-samsung-kmini3g.dts @@ -9,7 +9,7 @@ // This is used by the bootloader to find the correct DTB qcom,msm-id = <0xC808FF01 2 0x10001>; - matisselte { + kmini3g { model = "Samsung Galaxy S5 Mini (SM-G800H)"; compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; From 11522e769463eb8bfc639c406a1c1ba6bf4aac5d Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sat, 29 Jul 2023 11:46:04 -0400 Subject: [PATCH 05/26] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b77ed602..83b5c1a65 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs. - Motorola Moto G 2013 - falcon - Samsung Galaxy Grand 2 - SM-G7102 - Samsung Galaxy Tab 4 10.1 (2014) - SM-T530, SM-T535 -- Samsung Galaxy S5 Mini 3G (2014) - SM-G800H +- Samsung Galaxy S5 Mini Duos - SM-G800H ## Installation 1. Download `lk2nd.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases)) From abb2d1f75f812abe32ad7d1553c0bdd9cb93bd28 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sat, 29 Jul 2023 11:47:01 -0400 Subject: [PATCH 06/26] Update model to Samsung Galaxy S5 Mini Duos --- dts/msm8226/msm8926-samsung-kmini3g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-kmini3g.dts index 4d87bf700..c52170771 100644 --- a/dts/msm8226/msm8926-samsung-kmini3g.dts +++ b/dts/msm8226/msm8926-samsung-kmini3g.dts @@ -10,7 +10,7 @@ qcom,msm-id = <0xC808FF01 2 0x10001>; kmini3g { - model = "Samsung Galaxy S5 Mini (SM-G800H)"; + model = "Samsung Galaxy S5 Mini Duos (SM-G800H)"; compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; From 71ea641eb77558efd41d3e00ec4e3f5e58231d06 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sun, 30 Jul 2023 17:24:25 -0400 Subject: [PATCH 07/26] Update S5 Mini Duos dts --- dts/msm8226/msm8926-samsung-kmini3g.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-kmini3g.dts index c52170771..7972702fc 100644 --- a/dts/msm8226/msm8926-samsung-kmini3g.dts +++ b/dts/msm8226/msm8926-samsung-kmini3g.dts @@ -7,8 +7,6 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <0xC808FF01 2 0x10001>; - kmini3g { model = "Samsung Galaxy S5 Mini Duos (SM-G800H)"; compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; From b1f9db5bd9df1287cc31e7a0d440fc5d5d12b539 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sun, 30 Jul 2023 17:31:58 -0400 Subject: [PATCH 08/26] Revert dts mod --- dts/msm8226/msm8926-samsung-kmini3g.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-kmini3g.dts index 7972702fc..570c0ed68 100644 --- a/dts/msm8226/msm8926-samsung-kmini3g.dts +++ b/dts/msm8226/msm8926-samsung-kmini3g.dts @@ -7,6 +7,7 @@ / { // This is used by the bootloader to find the correct DTB + qcom,msm-id = <0x9E08FF01 7 0x20000>; kmini3g { model = "Samsung Galaxy S5 Mini Duos (SM-G800H)"; compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; From b2a083396739a31189ed7d9686e34bd3985981af Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sun, 30 Jul 2023 17:33:44 -0400 Subject: [PATCH 09/26] Update dts --- dts/msm8226/msm8926-samsung-kmini3g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-kmini3g.dts index 570c0ed68..c6899be3f 100644 --- a/dts/msm8226/msm8926-samsung-kmini3g.dts +++ b/dts/msm8226/msm8926-samsung-kmini3g.dts @@ -7,7 +7,7 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <0x9E08FF01 7 0x20000>; + qcom,msm-id = <0x6E08FF01 7 0x20000>; kmini3g { model = "Samsung Galaxy S5 Mini Duos (SM-G800H)"; compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; From 7c2cbe8c1b766d20e85bc5675566c76008b1af9b Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Wed, 2 Aug 2023 14:42:49 -0400 Subject: [PATCH 10/26] Rename dts --- .../{msm8926-samsung-kmini3g.dts => msm8926-samsung-r07.dts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename dts/msm8226/{msm8926-samsung-kmini3g.dts => msm8926-samsung-r07.dts} (100%) diff --git a/dts/msm8226/msm8926-samsung-kmini3g.dts b/dts/msm8226/msm8926-samsung-r07.dts similarity index 100% rename from dts/msm8226/msm8926-samsung-kmini3g.dts rename to dts/msm8226/msm8926-samsung-r07.dts From ab96e3d64f035762d8c7930173882a79888575c8 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Wed, 2 Aug 2023 14:45:11 -0400 Subject: [PATCH 11/26] i forgot this --- dts/msm8226/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/rules.mk b/dts/msm8226/rules.mk index d5121feae..14eef6916 100644 --- a/dts/msm8226/rules.mk +++ b/dts/msm8226/rules.mk @@ -11,4 +11,4 @@ DTBS += \ $(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \ $(LOCAL_DIR)/msm8926-samsung-r02.dtb \ $(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb \ - $(LOCAL_DIR)/msm8926-samsung-kmini3g.dtb + $(LOCAL_DIR)/msm8926-samsung-r07.dtb From c9b4055aa002a300873337854832780b2865d5b6 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Wed, 2 Aug 2023 16:05:08 -0400 Subject: [PATCH 12/26] Rename dts again --- .../{msm8926-samsung-r07.dts => msm8926-samsung-r04.dts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename dts/msm8226/{msm8926-samsung-r07.dts => msm8926-samsung-r04.dts} (91%) diff --git a/dts/msm8226/msm8926-samsung-r07.dts b/dts/msm8226/msm8926-samsung-r04.dts similarity index 91% rename from dts/msm8226/msm8926-samsung-r07.dts rename to dts/msm8226/msm8926-samsung-r04.dts index c6899be3f..0c18396e6 100644 --- a/dts/msm8226/msm8926-samsung-r07.dts +++ b/dts/msm8226/msm8926-samsung-r04.dts @@ -7,7 +7,7 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <0x6E08FF01 7 0x20000>; + qcom,msm-id = <0x6E08FF01 4 0x20000>; kmini3g { model = "Samsung Galaxy S5 Mini Duos (SM-G800H)"; compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; From 176da8a5420e546a452795206991a0a63641a22b Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Wed, 2 Aug 2023 16:05:39 -0400 Subject: [PATCH 13/26] Update dtb name again --- dts/msm8226/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/rules.mk b/dts/msm8226/rules.mk index 14eef6916..8228f7841 100644 --- a/dts/msm8226/rules.mk +++ b/dts/msm8226/rules.mk @@ -11,4 +11,4 @@ DTBS += \ $(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \ $(LOCAL_DIR)/msm8926-samsung-r02.dtb \ $(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb \ - $(LOCAL_DIR)/msm8926-samsung-r07.dtb + $(LOCAL_DIR)/msm8926-samsung-r04.dtb From 2af9a15fe5f8860a3b99aa806877df17bc8bc940 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Wed, 2 Aug 2023 17:24:28 -0400 Subject: [PATCH 14/26] Update dts again --- dts/msm8226/msm8926-samsung-r04.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dts/msm8226/msm8926-samsung-r04.dts b/dts/msm8226/msm8926-samsung-r04.dts index 0c18396e6..9bed0689b 100644 --- a/dts/msm8226/msm8926-samsung-r04.dts +++ b/dts/msm8226/msm8926-samsung-r04.dts @@ -9,8 +9,8 @@ // This is used by the bootloader to find the correct DTB qcom,msm-id = <0x6E08FF01 4 0x20000>; kmini3g { - model = "Samsung Galaxy S5 Mini Duos (SM-G800H)"; - compatible = "samsung,kmini3g", "qcom,msm8926", "lk2nd,device"; + model = "[ATLANTIC-3G] Rev-03-MTP-v2"; + compatible = "samsung,kmini3g", "qcom,msm8226", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; lk2nd,keys = From 2c3f47df26d3eacf05ab169adfcc052bd4eeb144 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 15:12:00 -0400 Subject: [PATCH 15/26] Update model dts --- dts/msm8226/msm8926-samsung-r04.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dts/msm8226/msm8926-samsung-r04.dts b/dts/msm8226/msm8926-samsung-r04.dts index 9bed0689b..cad01d222 100644 --- a/dts/msm8226/msm8926-samsung-r04.dts +++ b/dts/msm8226/msm8926-samsung-r04.dts @@ -8,9 +8,9 @@ / { // This is used by the bootloader to find the correct DTB qcom,msm-id = <0x6E08FF01 4 0x20000>; - kmini3g { - model = "[ATLANTIC-3G] Rev-03-MTP-v2"; - compatible = "samsung,kmini3g", "qcom,msm8226", "lk2nd,device"; + atlantic3g { + model = "Samsung Galaxy S5 Mini (Duos)"; + compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; lk2nd,keys = From 0fb6de1b276fb2a3ffe163f3782fda304644ae85 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 17:38:32 -0400 Subject: [PATCH 16/26] Update and rename dts --- .../{msm8926-samsung-r04.dts => msm8228-samsung-r03.dts} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename dts/msm8226/{msm8926-samsung-r04.dts => msm8228-samsung-r03.dts} (80%) diff --git a/dts/msm8226/msm8926-samsung-r04.dts b/dts/msm8226/msm8228-samsung-r03.dts similarity index 80% rename from dts/msm8226/msm8926-samsung-r04.dts rename to dts/msm8226/msm8228-samsung-r03.dts index cad01d222..f08815637 100644 --- a/dts/msm8226/msm8926-samsung-r04.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -7,10 +7,10 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <0x6E08FF01 4 0x20000>; + qcom,msm-id = <0xdf08ff01 3 0x20000>; atlantic3g { model = "Samsung Galaxy S5 Mini (Duos)"; - compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; + compatible = "samsung,atlantic3g", "qcom,msm8228", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; lk2nd,keys = From 9ba860b0d8c7abdd674b78725ac57a935e05315b Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 17:39:32 -0400 Subject: [PATCH 17/26] change dtb in rules.mk} --- dts/msm8226/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/rules.mk b/dts/msm8226/rules.mk index 8228f7841..de2db12ef 100644 --- a/dts/msm8226/rules.mk +++ b/dts/msm8226/rules.mk @@ -11,4 +11,4 @@ DTBS += \ $(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \ $(LOCAL_DIR)/msm8926-samsung-r02.dtb \ $(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb \ - $(LOCAL_DIR)/msm8926-samsung-r04.dtb + $(LOCAL_DIR)/msm8228-samsung-r03.dtb From a9e2a254570fbfca9180194a53d58a572702d2ee Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 19:52:04 -0400 Subject: [PATCH 18/26] Update dts to add muic support --- dts/msm8226/msm8228-samsung-r03.dts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index f08815637..9320dbd8e 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -7,15 +7,23 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <0xdf08ff01 3 0x20000>; + qcom,msm-id = <226 0>; + qcom,board-id = <0xdf08ff01 3>; atlantic3g { - model = "Samsung Galaxy S5 Mini (Duos)"; - compatible = "samsung,atlantic3g", "qcom,msm8228", "lk2nd,device"; + model = "Samsung Galaxy S5 Mini Duos"; + compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; + lk2nd,match-panel; lk2nd,keys = , , ; + + samsung,muic-reset { + i2c-gpio-pins = <9 34>; + i2c-address = <0x25>; + }; + }; }; From 3eba20860cfefafc9d59eccde5ffa621b6dd495b Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 20:00:33 -0400 Subject: [PATCH 19/26] Update muic pins --- dts/msm8226/msm8228-samsung-r03.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index 9320dbd8e..8bf0d997c 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -12,8 +12,6 @@ atlantic3g { model = "Samsung Galaxy S5 Mini Duos"; compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; - lk2nd,match-bootloader = "G800H*"; - lk2nd,match-panel; lk2nd,keys = , @@ -21,7 +19,7 @@ ; samsung,muic-reset { - i2c-gpio-pins = <9 34>; + i2c-gpio-pins = <2 3>; i2c-address = <0x25>; }; From 89df78be272a56e52ec91c133c6cecec8af5cc13 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 20:01:41 -0400 Subject: [PATCH 20/26] Update msm id --- dts/msm8226/msm8228-samsung-r03.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index 8bf0d997c..ae96626cc 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -7,7 +7,7 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <226 0>; + qcom,msm-id = <221 0>; qcom,board-id = <0xdf08ff01 3>; atlantic3g { model = "Samsung Galaxy S5 Mini Duos"; From 2c68b47421849414b76da8806b8911e5b1e868f8 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 20:03:08 -0400 Subject: [PATCH 21/26] Update gpio pins on dts --- dts/msm8226/msm8228-samsung-r03.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index ae96626cc..41b7b707c 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -19,7 +19,7 @@ ; samsung,muic-reset { - i2c-gpio-pins = <2 3>; + i2c-gpio-pins = <4 5>; i2c-address = <0x25>; }; From 1f9a3bcf41110579e781227ce8a5dd52aebf2be4 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Fri, 4 Aug 2023 20:37:07 -0400 Subject: [PATCH 22/26] add important part --- dts/msm8226/msm8228-samsung-r03.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index 41b7b707c..6ece95e7a 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -12,6 +12,7 @@ atlantic3g { model = "Samsung Galaxy S5 Mini Duos"; compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; + lk2nd,match-bootloader = "G800H*"; lk2nd,keys = , From bae9beb1b7e1bdde34f76994f14f7cb420e2ab29 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Sat, 5 Aug 2023 11:06:44 -0400 Subject: [PATCH 23/26] Update board-id --- dts/msm8226/msm8228-samsung-r03.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index 6ece95e7a..270ccee51 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -8,7 +8,7 @@ / { // This is used by the bootloader to find the correct DTB qcom,msm-id = <221 0>; - qcom,board-id = <0xdf08ff01 3>; + qcom,board-id = <0xDD08FF01 3>; atlantic3g { model = "Samsung Galaxy S5 Mini Duos"; compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; From fe300e2bd3eee2b8286ec33791040329c1b6d35a Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Wed, 9 Aug 2023 15:18:30 -0400 Subject: [PATCH 24/26] update dts again this removes the home button support from dts --- dts/msm8226/msm8228-samsung-r03.dts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/dts/msm8226/msm8228-samsung-r03.dts b/dts/msm8226/msm8228-samsung-r03.dts index 270ccee51..c79b869de 100644 --- a/dts/msm8226/msm8228-samsung-r03.dts +++ b/dts/msm8226/msm8228-samsung-r03.dts @@ -7,15 +7,13 @@ / { // This is used by the bootloader to find the correct DTB - qcom,msm-id = <221 0>; - qcom,board-id = <0xDD08FF01 3>; + qcom,msm-id = <0xdf08ff01 3 0x20000>; atlantic3g { - model = "Samsung Galaxy S5 Mini Duos"; - compatible = "samsung,atlantic3g", "qcom,msm8226", "lk2nd,device"; + model = "Samsung Galaxy S5 Mini Duos (G800H)"; + compatible = "samsung,atlantic3g", "qcom,msm8228", "lk2nd,device"; lk2nd,match-bootloader = "G800H*"; lk2nd,keys = - , , ; @@ -23,6 +21,5 @@ i2c-gpio-pins = <4 5>; i2c-address = <0x25>; }; - }; }; From 67f86796c9f84698f635e192a0623504a312ee59 Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Tue, 5 Sep 2023 21:05:08 -0300 Subject: [PATCH 25/26] S5 Mini Duos --- app/aboot/aboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c index 0ad935bba..b38dc1dc0 100644 --- a/app/aboot/aboot.c +++ b/app/aboot/aboot.c @@ -3991,7 +3991,7 @@ void aboot_init(const struct app_descriptor *app) } if (!boot_into_fastboot) { - if (keys_get_state(KEY_VOLUMEUP)) + if (keys_get_state(KEY_VOLUMEDOWN)) boot_into_recovery = 1; if (!boot_into_recovery && (keys_get_state(KEY_HOME) || keys_get_state(KEY_BACK) || keys_get_state(KEY_VOLUMEDOWN))) From a675060092393041eb8b643c76ac74f52138838b Mon Sep 17 00:00:00 2001 From: Vicente Cortes Date: Tue, 5 Sep 2023 21:07:18 -0300 Subject: [PATCH 26/26] revert "S5 Mini Duos" --- app/aboot/aboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c index b38dc1dc0..0ad935bba 100644 --- a/app/aboot/aboot.c +++ b/app/aboot/aboot.c @@ -3991,7 +3991,7 @@ void aboot_init(const struct app_descriptor *app) } if (!boot_into_fastboot) { - if (keys_get_state(KEY_VOLUMEDOWN)) + if (keys_get_state(KEY_VOLUMEUP)) boot_into_recovery = 1; if (!boot_into_recovery && (keys_get_state(KEY_HOME) || keys_get_state(KEY_BACK) || keys_get_state(KEY_VOLUMEDOWN)))