Skip to content

Commit 2d10dd4

Browse files
committed
Add configs for OnePlus 6, 6T, 7, 7 Pro, 7T, 7T Pro, Nord N200
1 parent 548cc59 commit 2d10dd4

10 files changed

Lines changed: 344 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ Fairphone | Fairphone 2 | [FP2](https://wiki.lineageos.org/devices/FP2/) | | tes
5757
Fairphone | Fairphone 3 | [FP3](https://wiki.lineageos.org/devices/FP3/) | | tested
5858
Motorola | moto G5 | [cedric](https://wiki.lineageos.org/devices/cedric/) | | tested
5959
Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean/) | | tested
60-
OnePlus | 6 | enchilada | | under development
61-
OnePlus | 6T | fajita | | under development
62-
OnePlus | 7T | hotdogb | | under development
60+
OnePlus | 6 | [enchilada](https://wiki.lineageos.org/devices/enchilada/) | | tested
61+
OnePlus | 6T | [fajita](https://wiki.lineageos.org/devices/fajita/) | | tested
62+
OnePlus | 7 | [guacamoleb](https://wiki.lineageos.org/devices/guacamoleb/) | | tested
63+
OnePlus | 7 Pro | [guacamole](https://wiki.lineageos.org/devices/guacamole/) | | tested
64+
OnePlus | 7T | [hotdogb](https://wiki.lineageos.org/devices/hotdogb/) | | tested
65+
OnePlus | 7T Pro | [hotdog](https://wiki.lineageos.org/devices/hotdog/) | | tested
66+
OnePlus | Nord N200 | [dre](https://wiki.lineageos.org/devices/dre/) | | tested
6367
OnePlus | 9 | lemonade | | under development
6468

6569

openandroidinstaller/assets/configs/cedric.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
3-
devicename: Moto G5
3+
devicename: Motorola Moto G5
44
devicecode: cedric
55
steps:
66
unlock_bootloader:
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: OnePlus Nord N200
4+
devicecode: dre
5+
requirements:
6+
android: 11
7+
steps:
8+
unlock_bootloader:
9+
- type: call_button
10+
content: >
11+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
12+
how to start and run an operating system (like Android). Your device should be turned on.
13+
Press 'Confirm and run' to reboot into the bootloader.
14+
command: adb_reboot_bootloader
15+
- type: call_button
16+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
17+
command: fastboot_oem_unlock
18+
- type: confirm_button
19+
content: >
20+
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
21+
Please take whatever actions the device asks you to to proceed.
22+
- type: call_button
23+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
24+
command: fastboot_reboot
25+
- type: confirm_button
26+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+
flash_recovery:
28+
- type: call_button
29+
content: >
30+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
31+
adapting and repairing of the operating system.
32+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
33+
command: adb_reboot_bootloader
34+
- type: call_button
35+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
36+
command: fastboot_flash_recovery
37+
- type: call_button
38+
command: adb_twrp_copy_partitions
39+
content: >
40+
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
41+
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
42+
- type: call_button
43+
command: fastboot_flash_recovery
44+
content: >
45+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
46+
install_os:
47+
- type: call_button
48+
content: >
49+
In this last step, you finally flash the selected OS image.
50+
Wait until the TWRP screen appears. Then run the command.
51+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
52+
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.
53+
command: adb_twrp_wipe_and_install
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: OnePlus 6
4+
devicecode: enchilada
5+
requirements:
6+
android: 11
7+
steps:
8+
unlock_bootloader:
9+
- type: call_button
10+
content: >
11+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
12+
how to start and run an operating system (like Android). Your device should be turned on.
13+
Press 'Confirm and run' to reboot into the bootloader.
14+
command: adb_reboot_bootloader
15+
- type: call_button
16+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
17+
command: fastboot_oem_unlock
18+
- type: confirm_button
19+
content: >
20+
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
21+
Please take whatever actions the device asks you to to proceed.
22+
- type: call_button
23+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
24+
command: fastboot_reboot
25+
- type: confirm_button
26+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+
flash_recovery:
28+
- type: call_button
29+
content: >
30+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
31+
adapting and repairing of the operating system.
32+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
33+
command: adb_reboot_bootloader
34+
- type: call_button
35+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
36+
command: fastboot_flash_recovery
37+
- type: call_button
38+
command: adb_twrp_copy_partitions
39+
content: >
40+
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
41+
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
42+
- type: call_button
43+
command: fastboot_flash_recovery
44+
content: >
45+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
46+
install_os:
47+
- type: call_button
48+
content: >
49+
In this last step, you finally flash the selected OS image.
50+
Wait until the TWRP screen appears. Then run the command.
51+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
52+
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.
53+
command: adb_twrp_wipe_and_install
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: OnePlus 6T
4+
devicecode: fajita
5+
requirements:
6+
android: 11
7+
steps:
8+
unlock_bootloader:
9+
- type: call_button
10+
content: >
11+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
12+
how to start and run an operating system (like Android). Your device should be turned on.
13+
Press 'Confirm and run' to reboot into the bootloader.
14+
command: adb_reboot_bootloader
15+
- type: call_button
16+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
17+
command: fastboot_oem_unlock
18+
- type: confirm_button
19+
content: >
20+
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
21+
Please take whatever actions the device asks you to to proceed.
22+
- type: call_button
23+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
24+
command: fastboot_reboot
25+
- type: confirm_button
26+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+
flash_recovery:
28+
- type: call_button
29+
content: >
30+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
31+
adapting and repairing of the operating system.
32+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
33+
command: adb_reboot_bootloader
34+
- type: call_button
35+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
36+
command: fastboot_flash_recovery
37+
- type: call_button
38+
command: adb_twrp_copy_partitions
39+
content: >
40+
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
41+
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
42+
- type: call_button
43+
command: fastboot_flash_recovery
44+
content: >
45+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
46+
install_os:
47+
- type: call_button
48+
content: >
49+
In this last step, you finally flash the selected OS image.
50+
Wait until the TWRP screen appears. Then run the command.
51+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
52+
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.
53+
command: adb_twrp_wipe_and_install
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: OnePlus 7 Pro
4+
devicecode: guacamole
5+
requirements:
6+
android: 12
7+
steps:
8+
unlock_bootloader:
9+
- type: call_button
10+
content: >
11+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
12+
how to start and run an operating system (like Android). Your device should be turned on.
13+
Press 'Confirm and run' to reboot into the bootloader.
14+
command: adb_reboot_bootloader
15+
- type: call_button
16+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
17+
command: fastboot_oem_unlock
18+
- type: confirm_button
19+
content: >
20+
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
21+
Please take whatever actions the device asks you to to proceed.
22+
- type: call_button
23+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
24+
command: fastboot_reboot
25+
- type: confirm_button
26+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+
flash_recovery:
28+
- type: call_button
29+
content: >
30+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
31+
adapting and repairing of the operating system.
32+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
33+
command: adb_reboot_bootloader
34+
- type: call_button
35+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
36+
command: fastboot_flash_recovery
37+
install_os:
38+
- type: call_button
39+
content: >
40+
In the next steps, you finally flash the selected OS image.
41+
Wait until the TWRP screen appears. Then run the command.
42+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
43+
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.
44+
command: adb_twrp_wipe_and_install
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: OnePlus 7
4+
devicecode: guacamoleb
5+
requirements:
6+
android: 12
7+
steps:
8+
unlock_bootloader:
9+
- type: call_button
10+
content: >
11+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
12+
how to start and run an operating system (like Android). Your device should be turned on.
13+
Press 'Confirm and run' to reboot into the bootloader.
14+
command: adb_reboot_bootloader
15+
- type: call_button
16+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
17+
command: fastboot_oem_unlock
18+
- type: confirm_button
19+
content: >
20+
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
21+
Please take whatever actions the device asks you to to proceed.
22+
- type: call_button
23+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
24+
command: fastboot_reboot
25+
- type: confirm_button
26+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+
flash_recovery:
28+
- type: call_button
29+
content: >
30+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
31+
adapting and repairing of the operating system.
32+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
33+
command: adb_reboot_bootloader
34+
- type: call_button
35+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
36+
command: fastboot_flash_recovery
37+
install_os:
38+
- type: call_button
39+
content: >
40+
In the next steps, you finally flash the selected OS image.
41+
Wait until the TWRP screen appears. Then run the command.
42+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
43+
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.
44+
command: adb_twrp_wipe_and_install
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: OnePlus 7T Pro
4+
devicecode: hotdog
5+
requirements:
6+
android: 12
7+
steps:
8+
unlock_bootloader:
9+
- type: call_button
10+
content: >
11+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
12+
how to start and run an operating system (like Android). Your device should be turned on.
13+
Press 'Confirm and run' to reboot into the bootloader.
14+
command: adb_reboot_bootloader
15+
- type: call_button
16+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
17+
command: fastboot_oem_unlock
18+
- type: confirm_button
19+
content: >
20+
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
21+
Please take whatever actions the device asks you to to proceed.
22+
- type: call_button
23+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
24+
command: fastboot_reboot
25+
- type: confirm_button
26+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
27+
flash_recovery:
28+
- type: call_button
29+
content: >
30+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
31+
adapting and repairing of the operating system.
32+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
33+
command: adb_reboot_bootloader
34+
- type: call_button
35+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
36+
command: fastboot_flash_recovery
37+
install_os:
38+
- type: call_button
39+
content: >
40+
In the next steps, you finally flash the selected OS image.
41+
Wait until the TWRP screen appears. Then run the command.
42+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
43+
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.
44+
command: adb_twrp_wipe_and_install

0 commit comments

Comments
 (0)