Skip to content

Commit

Permalink
update misc asserts (#364)
Browse files Browse the repository at this point in the history
Fixes
#375,
#332
and
#308
  • Loading branch information
tsterbak committed Dec 10, 2023
2 parents e712b45 + b4ffedc commit 793d50d
Show file tree
Hide file tree
Showing 63 changed files with 334 additions and 283 deletions.
6 changes: 3 additions & 3 deletions openandroidinstaller/assets/configs/FP2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ steps:
boot_recovery:
- type: call_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,
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.
Make sure your device is turned on and connected to the computer. Boot into the bootloader by pressing 'Confirm and run' here. Then continue.
command: adb_reboot_bootloader
- type: call_button
img: twrp-start.jpeg
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
command: fastboot_boot_recovery
4 changes: 2 additions & 2 deletions openandroidinstaller/assets/configs/FP3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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.
Expand All @@ -57,4 +57,4 @@ steps:
img: twrp-start.jpeg
content: >
Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
command: fastboot_boot_recovery
4 changes: 2 additions & 2 deletions openandroidinstaller/assets/configs/FP4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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.
Expand All @@ -57,4 +57,4 @@ steps:
img: twrp-start.jpeg
content: >
Once the device is in fastboot mode, boot the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
command: fastboot_boot_recovery
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/Mi439.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ metadata:
- olive
- olivelite
- olivewood
- olives
twrp-link: mi439
requirements:
firmware: MiUI 12.5 (Q)
Expand Down
11 changes: 7 additions & 4 deletions openandroidinstaller/assets/configs/a3y17lte.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A3 (2017)
is_ab_device: false
is_ab_device: false
device_code: a3y17lte
supported_device_codes:
- a3y17lte
- a3y17ltexc
- a3y17ltexx
- a3y17ltelk
steps:
unlock_bootloader:
boot_recovery:
Expand All @@ -22,6 +25,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*. Confirm when the recovery screen appears.
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*. Confirm when the recovery screen appears.
15 changes: 9 additions & 6 deletions openandroidinstaller/assets/configs/a5xelte.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A5 (2016)
is_ab_device: false
is_ab_device: false
device_code: a5xelte
supported_device_codes:
- a5xelte
- a5xeltexx
- a5xelteub
- a5xeltedo
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
Expand All @@ -22,6 +25,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*.
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*.
16 changes: 8 additions & 8 deletions openandroidinstaller/assets/configs/a72q.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A72
is_ab_device: false
device_code: a72q
is_ab_device: false
device_code: a72q
supported_device_codes:
- a72q
- a72q
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
Expand All @@ -22,6 +22,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* 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* + *Power button*.
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power* 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* + *Power button*.
17 changes: 10 additions & 7 deletions openandroidinstaller/assets/configs/a7xelte.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A7 (2016)
is_ab_device: false
device_name: Samsung Galaxy A7 (2016)
is_ab_device: false
device_code: a7xelte
supported_device_codes:
- a7xelte
- a7xeltexx
- a7xelteub
- a7xeltedo
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
Expand All @@ -22,6 +25,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*.
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*.
10 changes: 5 additions & 5 deletions openandroidinstaller/assets/configs/akari.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: >
Expand All @@ -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:
Expand All @@ -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
command: fastboot_flash_boot
14 changes: 7 additions & 7 deletions openandroidinstaller/assets/configs/alioth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@ steps:
- type: link_button_with_confirm
content: >
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
- Add a phone number to your Mi account, insert a SIM into your phone.
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
- Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step!
- After device and Mi account are successfully verified, the bootloader should be unlocked.
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
link: https://en.miui.com/unlock/download_en.html
boot_recovery:
- type: call_button
content: >
Now you need to install 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.
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
command: adb_reboot_bootloader
- type: call_button
Expand Down
6 changes: 3 additions & 3 deletions openandroidinstaller/assets/configs/avicii.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
command: fastboot_boot_recovery
6 changes: 3 additions & 3 deletions openandroidinstaller/assets/configs/bacon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
command: fastboot_boot_recovery
8 changes: 4 additions & 4 deletions openandroidinstaller/assets/configs/barbet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand All @@ -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
command: fastboot_boot_recovery
10 changes: 5 additions & 5 deletions openandroidinstaller/assets/configs/beyond0lte.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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*.
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*.
12 changes: 6 additions & 6 deletions openandroidinstaller/assets/configs/beyond1lte.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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*.
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*.

0 comments on commit 793d50d

Please sign in to comment.