Skip to content

Commit d823a5a

Browse files
committed
add cheesedump support
* copy pasta from guacamole
1 parent 5477333 commit d823a5a

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin/) | | t
137137

138138
Vendor | Device Name | CodeName | Models | Status
139139
---|---|---|---|---
140+
OnePlus | 5 | [cheeseburger](https://wiki.lineageos.org/devices/cheeseburger/) | | tested
141+
OnePlus | 5T | [dumpling](https://wiki.lineageos.org/devices/dumpling/) | | tested
140142
OnePlus | 6 | [enchilada](https://wiki.lineageos.org/devices/enchilada/) | | tested
141143
OnePlus | 6T | [fajita](https://wiki.lineageos.org/devices/fajita/) | | tested
142144
OnePlus | 7 | [guacamoleb](https://wiki.lineageos.org/devices/guacamoleb/) | | tested
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
metadata:
2+
maintainer: SirRGB
3+
devicename: OnePlus 5T
4+
devicecode: dumpling
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

Comments
 (0)