From c2423bf992a29100cbd4b3b7796c17c0c0fb3778 Mon Sep 17 00:00:00 2001 From: SirRGB Date: Tue, 21 Nov 2023 13:26:27 +0100 Subject: [PATCH] sync cheeseburger asserts * taken from https://github.com/LineageOS/android_device_oneplus_cheeseburger/blob/093e9c7fa2e974092730b34b6390d32a2a124465/BoardConfig.mk#L14 Signed-off-by: SirRGB --- openandroidinstaller/assets/configs/akari.yaml | 10 +++++----- openandroidinstaller/assets/configs/avicii.yaml | 6 +++--- openandroidinstaller/assets/configs/bacon.yaml | 6 +++--- openandroidinstaller/assets/configs/barbet.yaml | 8 ++++---- openandroidinstaller/assets/configs/beyond0lte.yaml | 10 +++++----- openandroidinstaller/assets/configs/beyond1lte.yaml | 12 ++++++------ openandroidinstaller/assets/configs/beyond2lte.yaml | 10 +++++----- openandroidinstaller/assets/configs/cedric.yaml | 8 ++++---- .../assets/configs/cheeseburger.yaml | 1 + 9 files changed, 36 insertions(+), 35 deletions(-) diff --git a/openandroidinstaller/assets/configs/akari.yaml b/openandroidinstaller/assets/configs/akari.yaml index a2833faf..b781b0b4 100644 --- a/openandroidinstaller/assets/configs/akari.yaml +++ b/openandroidinstaller/assets/configs/akari.yaml @@ -2,9 +2,9 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Sony Xperia XZ2 is_ab_device: true - device_code: akari + device_code: akari supported_device_codes: - - akari + - akari requirements: android: 10 steps: @@ -21,7 +21,7 @@ steps: - type: link_button_with_confirm content: > Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader. - Once you got the code write it down somewhere and continue to input the code. + Once you got the code write it down somewhere and continue to input the code. link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ - type: confirm_button content: > @@ -37,7 +37,7 @@ steps: command: fastboot_unlock_with_code - type: call_button content: > - Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue. + Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue. Connect your device to your PC via USB. Then confirm here to continue. command: fastboot_reboot boot_recovery: @@ -59,4 +59,4 @@ steps: - type: call_button content: > Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue. - command: fastboot_flash_boot \ No newline at end of file + command: fastboot_flash_boot diff --git a/openandroidinstaller/assets/configs/avicii.yaml b/openandroidinstaller/assets/configs/avicii.yaml index 9befd3fb..994aadb7 100644 --- a/openandroidinstaller/assets/configs/avicii.yaml +++ b/openandroidinstaller/assets/configs/avicii.yaml @@ -25,7 +25,7 @@ steps: Once it's done, press continue here. command: fastboot_oem_unlock - type: confirm_button - content: > + content: > The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. boot_recovery: - type: call_button @@ -37,7 +37,7 @@ steps: - type: call_button content: > Install additional partitions selected before by pressing 'Confirm and run'. Once it's done continue. - + Note : If you have not selected additional partitions it will do nothing and is save to continue. command: fastboot_flash_additional_partitions - type: call_button @@ -54,4 +54,4 @@ steps: img: twrp-start.jpeg content: > Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue. - command: fastboot_boot_recovery \ No newline at end of file + command: fastboot_boot_recovery diff --git a/openandroidinstaller/assets/configs/bacon.yaml b/openandroidinstaller/assets/configs/bacon.yaml index 43dc97e7..ca1a5555 100644 --- a/openandroidinstaller/assets/configs/bacon.yaml +++ b/openandroidinstaller/assets/configs/bacon.yaml @@ -21,12 +21,12 @@ steps: content: > In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat. Once it's done, press continue here. - + Notice: If you don't have the stock OnePlus One recovery, your device might boot into your custom recovery, but don't do anything / throw an error. If this appears, reboot you device through your bootloader and just continue normally. (Your bootloader will be unlocked.) command: fastboot_oem_unlock - type: confirm_button - content: > + content: > The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. You don't need to re-enable those options, if you have a custom recovery. (See last step.) When you are done, press continue. @@ -41,4 +41,4 @@ steps: img: twrp-start.jpeg content: > Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. - command: fastboot_boot_recovery \ No newline at end of file + command: fastboot_boot_recovery diff --git a/openandroidinstaller/assets/configs/barbet.yaml b/openandroidinstaller/assets/configs/barbet.yaml index 17fff981..36301150 100644 --- a/openandroidinstaller/assets/configs/barbet.yaml +++ b/openandroidinstaller/assets/configs/barbet.yaml @@ -2,9 +2,9 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Pixel 5a is_ab_device: true - device_code: barbet + device_code: barbet supported_device_codes: - - barbet + - barbet requirements: android: 12.1.0 steps: @@ -37,7 +37,7 @@ steps: content: > The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue. boot_recovery: - - type: confirm_button + - type: confirm_button content: > Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, adapting and repairing of the operating system. @@ -52,4 +52,4 @@ steps: img: twrp-start.jpeg content: > Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. - command: fastboot_boot_recovery \ No newline at end of file + command: fastboot_boot_recovery diff --git a/openandroidinstaller/assets/configs/beyond0lte.yaml b/openandroidinstaller/assets/configs/beyond0lte.yaml index ffbcd414..adb472a1 100644 --- a/openandroidinstaller/assets/configs/beyond0lte.yaml +++ b/openandroidinstaller/assets/configs/beyond0lte.yaml @@ -2,7 +2,7 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Samsung Galaxy S10e is_ab_device: false - device_code: beyond0lte + device_code: beyond0lte supported_device_codes: - beyond0lte - beyond0 @@ -28,7 +28,7 @@ steps: boot_recovery: - type: call_button content: > - Now plug the USB-cable to your device. As a first step, you need to boot into download mode. Your device should be turned on. + Now plug the USB-cable to your device. As a first step, you need to boot into download mode. Your device should be turned on. Then press 'Confirm and run' to reboot into download mode. Continue once it's done. command: adb_reboot_download - type: call_button @@ -39,6 +39,6 @@ steps: - type: confirm_button img: samsung-buttons-bixby.png content: > - Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Bixby* 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* + *Bixby* + *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* + *Bixby* 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* + *Bixby* + *Power button*. diff --git a/openandroidinstaller/assets/configs/beyond1lte.yaml b/openandroidinstaller/assets/configs/beyond1lte.yaml index f83f9740..501516dd 100644 --- a/openandroidinstaller/assets/configs/beyond1lte.yaml +++ b/openandroidinstaller/assets/configs/beyond1lte.yaml @@ -1,8 +1,8 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Samsung Galaxy S10 - is_ab_device: false - device_code: beyond1lte + is_ab_device: false + device_code: beyond1lte supported_device_codes: - beyond1lte - beyond1 @@ -28,7 +28,7 @@ steps: boot_recovery: - type: call_button content: > - Now plug the USB-cable to your device. As a first step, you need to boot into download mode. Your device should be turned on. + Now plug the USB-cable to your device. As a first step, you need to boot into download mode. Your device should be turned on. Then press 'Confirm and run' to reboot into download mode. Continue once it's done. command: adb_reboot_download - type: call_button @@ -39,6 +39,6 @@ steps: - type: confirm_button img: samsung-buttons-bixby.png content: > - Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Bixby* 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* + *Bixby* + *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* + *Bixby* 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* + *Bixby* + *Power button*. diff --git a/openandroidinstaller/assets/configs/beyond2lte.yaml b/openandroidinstaller/assets/configs/beyond2lte.yaml index 73dee942..e70a1e47 100644 --- a/openandroidinstaller/assets/configs/beyond2lte.yaml +++ b/openandroidinstaller/assets/configs/beyond2lte.yaml @@ -2,9 +2,9 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Samsung Galaxy S10+ is_ab_device: false - device_code: beyond2lte + device_code: beyond2lte supported_device_codes: - - beyond2lte + - beyond2lte - beyond2 requirements: android: 12 @@ -28,7 +28,7 @@ steps: boot_recovery: - type: call_button content: > - Now plug the USB-cable to your device. As a first step, you need to boot into download mode. Your device should be turned on. + Now plug the USB-cable to your device. As a first step, you need to boot into download mode. Your device should be turned on. Then press 'Confirm and run' to reboot into download mode. Continue once it's done. command: adb_reboot_download - type: call_button @@ -39,6 +39,6 @@ steps: - type: confirm_button img: samsung-buttons-bixby.png content: > - Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Bixby* 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, + Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Bixby* 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* + *Bixby* + *Power button*. diff --git a/openandroidinstaller/assets/configs/cedric.yaml b/openandroidinstaller/assets/configs/cedric.yaml index 809f96fd..10e1ce2b 100644 --- a/openandroidinstaller/assets/configs/cedric.yaml +++ b/openandroidinstaller/assets/configs/cedric.yaml @@ -7,12 +7,12 @@ metadata: - cedric steps: unlock_bootloader: - - type: call_button + - type: call_button command: adb_reboot_bootloader content: > As a first step, you need to unlock the bootloader of your device. A bootloader is the piece of software, that tells your phone how to start and run an operating system (like Android). You need to boot into fastboot mode by pressing the 'Confirm and run' button. Then continue. - - type: call_button + - type: call_button command: fastboot_get_unlock_data content: > Now you need to get your device ID to get an unlock code from Motorola. Press 'Confirm and run' to get the ID. (You need to toggle 'Advanced Output' here to see it.) @@ -35,7 +35,7 @@ steps: command: fastboot_unlock_with_code - type: call_button content: > - Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue. + Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue. Connect your device to your PC via USB. Then confirm here to continue. command: fastboot_reboot boot_recovery: @@ -49,4 +49,4 @@ steps: img: twrp-start.jpeg content: > Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. - command: fastboot_boot_recovery \ No newline at end of file + command: fastboot_boot_recovery diff --git a/openandroidinstaller/assets/configs/cheeseburger.yaml b/openandroidinstaller/assets/configs/cheeseburger.yaml index 8bd880cc..5cb93487 100644 --- a/openandroidinstaller/assets/configs/cheeseburger.yaml +++ b/openandroidinstaller/assets/configs/cheeseburger.yaml @@ -6,6 +6,7 @@ metadata: supported_device_codes: - cheeseburger - OnePlus5 + - oneplus5 twrp-link: cheeseburger_dumpling requirements: android: 10