Skip to content

Commit 4b616ab

Browse files
committed
Added another config for device code "bacon"
Another config is needed, because after installation of a custom ROM the device switches from device code "A0001" to "bacon".
1 parent 51f6c5d commit 4b616ab

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
command: fastboot_oem_unlock
21+
- type: confirm_button
22+
content: >
23+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
When you are done, press 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

0 commit comments

Comments
 (0)