Skip to content

Commit

Permalink
Added config for bacon
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicLike committed Mar 7, 2023
1 parent 80a563f commit 4556780
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions openandroidinstaller/assets/configs/bacon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
metadata:
maintainer: MagicLike
devicename: OnePlus One
devicecode: bacon
twrp-link: bacon
requirements:
android: 6.0.1
steps:
unlock_bootloader:
- type: call_button
content: >
As a first step, you need to unlock 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.
Press 'Confirm and run' to reboot into the bootloader.
command: adb_reboot_bootloader
- type: call_button
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
command: fastboot_oem_unlock
- type: confirm_button
content: >
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
Please take whatever actions the device asks you to to proceed.
- type: call_button
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
command: fastboot_reboot
- type: confirm_button
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
flash_recovery:
- type: call_button
content: >
Now you need to flash 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. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
command: adb_reboot_bootloader
- type: call_button
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_flash_recovery

0 comments on commit 4556780

Please sign in to comment.