|
| 1 | +metadata: |
| 2 | + maintainer: SirRGB |
| 3 | + devicename: OnePlus 5 |
| 4 | + devicecode: cheeseburger |
| 5 | +steps: |
| 6 | + unlock_bootloader: |
| 7 | + - type: call_button |
| 8 | + content: > |
| 9 | + As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone |
| 10 | + how to start and run an operating system (like Android). Your device should be turned on. |
| 11 | + Press 'Confirm and run' to reboot into the bootloader. |
| 12 | + command: adb_reboot_bootloader |
| 13 | + - type: call_button |
| 14 | + content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here. |
| 15 | + command: fastboot_oem_unlock |
| 16 | + - type: confirm_button |
| 17 | + content: > |
| 18 | + At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader. |
| 19 | + Please take whatever actions the device asks you to to proceed. |
| 20 | + - type: call_button |
| 21 | + content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue. |
| 22 | + command: fastboot_reboot |
| 23 | + - type: confirm_button |
| 24 | + content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. |
| 25 | + flash_recovery: |
| 26 | + - type: call_button |
| 27 | + content: > |
| 28 | + Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, |
| 29 | + adapting and repairing of the operating system. |
| 30 | + Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. |
| 31 | + command: adb_reboot_bootloader |
| 32 | + - type: call_button |
| 33 | + content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. |
| 34 | + command: fastboot_flash_recovery |
| 35 | + install_os: |
| 36 | + - type: call_button |
| 37 | + content: > |
| 38 | + In the next steps, you finally flash the selected OS image. |
| 39 | + Wait until the TWRP screen appears. Then run the command. |
| 40 | + This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored |
| 41 | + in the internal storage. Then the OS image will be installed. Confirm to run. This might take a while. At the end your phone will boot into the new OS. |
| 42 | + command: adb_twrp_wipe_and_install |
0 commit comments