1+ metadata :
2+ maintainer : MagicLike
3+ devicename : OnePlus One
4+ devicecode : bacon
5+ twrp-link : bacon
6+ requirements :
7+ android : 6.0.1
8+ steps :
9+ unlock_bootloader :
10+ - type : call_button
11+ content : >
12+ As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
13+ how to start and run an operating system (like Android). Your device should be turned on.
14+ Press 'Confirm and run' to reboot into the bootloader.
15+ command : adb_reboot_bootloader
16+ - type : call_button
17+ content : >
18+ In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
19+ Once it's done, press continue here.
20+
21+ 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.
22+ If this appears, reboot you device through your bootloader and just continue normally. (Your bootloader will be unlocked.)
23+ command : fastboot_oem_unlock
24+ - type : confirm_button
25+ content : >
26+ The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+ You don't need to re-enable those options, if you have a custom recovery. (See last step.)
28+ When you are done, press continue.
29+ boot_recovery :
30+ - type : call_button
31+ content : >
32+ Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
33+ adapting and repairing of the operating system.
34+ Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
35+ command : adb_reboot_bootloader
36+ - type : call_button
37+ content : >
38+ Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
39+ command : fastboot_boot_recovery
0 commit comments