From 6a839c3da996d713afffdb96b2ff3716cab8ad4f Mon Sep 17 00:00:00 2001 From: SirRGB Date: Mon, 20 Nov 2023 09:45:21 +0100 Subject: [PATCH] sync herolte/hero2lte asserts * taken from https://github.com/LineageOS/android_device_samsung_herolte/blob/583c038ee30afc2c2d11520c9e24ec50f2f24164/BoardConfig.mk#L22 * and https://github.com/LineageOS/android_device_samsung_hero2lte/blob/f225e6a0bb4fd3b39d04ff003c93ca4dab408cf8/BoardConfig.mk#L22 * fixes https://github.com/openandroidinstaller-dev/openandroidinstaller/issues/308 Signed-off-by: SirRGB --- .../assets/configs/hero2lte.yaml | 19 ++++++++++++------- .../assets/configs/herolte.yaml | 18 +++++++++++------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/openandroidinstaller/assets/configs/hero2lte.yaml b/openandroidinstaller/assets/configs/hero2lte.yaml index e6371f81..aea0d6c0 100644 --- a/openandroidinstaller/assets/configs/hero2lte.yaml +++ b/openandroidinstaller/assets/configs/hero2lte.yaml @@ -2,16 +2,21 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Samsung Galaxy S7 Edge is_ab_device: false - device_code: hero2lte + device_code: hero2lte supported_device_codes: - - hero2lte + - hero2lte + - hero2ltebmc + - hero2lteskt + - hero2ltektt + - hero2ltelgt + - hero2ltexx steps: unlock_bootloader: boot_recovery: - type: call_button content: > - As a first step, you need to boot into the bootloader. A bootloader is the piece of software, - that tells your phone how to start and run an operating system (like Android). Your device should be turned on. + As a first step, you need to boot into the bootloader. A bootloader is the piece of software, + that tells your phone how to start and run an operating system (like Android). Your device should be turned on. Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done. command: adb_reboot_download - type: call_button @@ -22,6 +27,6 @@ steps: - type: confirm_button img: samsung-buttons.png content: > - Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds - until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off, - hold *Volume Up* + *Home* + *Power button*. \ No newline at end of file + Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds + until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off, + hold *Volume Up* + *Home* + *Power button*. diff --git a/openandroidinstaller/assets/configs/herolte.yaml b/openandroidinstaller/assets/configs/herolte.yaml index 152485f7..559a00f3 100644 --- a/openandroidinstaller/assets/configs/herolte.yaml +++ b/openandroidinstaller/assets/configs/herolte.yaml @@ -2,17 +2,21 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Samsung Galaxy S7 is_ab_device: false - device_code: herolte + device_code: herolte supported_device_codes: - - herolte + - herolte - heroltexx + - heroltebmc + - herolteskt + - heroltektt + - heroltelgt steps: unlock_bootloader: boot_recovery: - type: call_button content: > - As a first step, you need to boot into the bootloader. A bootloader is the piece of software, - that tells your phone how to start and run an operating system (like Android). Your device should be turned on. + As a first step, you need to boot into the bootloader. A bootloader is the piece of software, + that tells your phone how to start and run an operating system (like Android). Your device should be turned on. Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done. command: adb_reboot_download - type: call_button @@ -23,6 +27,6 @@ steps: - type: confirm_button img: samsung-buttons.png content: > - Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds - until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off, - hold *Volume Up* + *Home* + *Power button*. \ No newline at end of file + Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds + until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off, + hold *Volume Up* + *Home* + *Power button*.