Skip to content

Commit 6cdc802

Browse files
authored
add griffin and cheesedump support (#66)
add support for: * Motorola moto z (griffin) * OnePlus 5 (cheeseburger) * OnePlus 5T (dumpling)
2 parents 1f73a79 + d823a5a commit 6cdc802

File tree

4 files changed

+141
-0
lines changed

4 files changed

+141
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,15 @@ Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean/) |
130130
Motorola | moto g 5G plus / one 5G | [nairo](https://wiki.lineageos.org/devices/nairo/) | | tested
131131
Motorola | moto g 5G / one 5G ace | [kiev](https://wiki.lineageos.org/devices/kiev/) | | tested
132132
Motorola | edge | [racer](https://wiki.lineageos.org/devices/racer/) | | tested
133+
Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin/) | | tested
133134
</details>
134135

135136
<details><summary><b>OnePlus</b></summary>
136137

137138
Vendor | Device Name | CodeName | Models | Status
138139
---|---|---|---|---
140+
OnePlus | 5 | [cheeseburger](https://wiki.lineageos.org/devices/cheeseburger/) | | tested
141+
OnePlus | 5T | [dumpling](https://wiki.lineageos.org/devices/dumpling/) | | tested
139142
OnePlus | 6 | [enchilada](https://wiki.lineageos.org/devices/enchilada/) | | tested
140143
OnePlus | 6T | [fajita](https://wiki.lineageos.org/devices/fajita/) | | tested
141144
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
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: SirRGB
3+
devicename: Motorola Moto Z
4+
devicecode: griffin
5+
steps:
6+
unlock_bootloader:
7+
- type: call_button
8+
command: adb_reboot_bootloader
9+
content: >
10+
As a first step, you need to unlock the bootloader of your device. A bootloader is the piece of software, that tells your phone
11+
how to start and run an operating system (like Android). You need to boot into fastboot mode by pressing the 'Confirm and run' button. Then continue.
12+
- type: call_button
13+
command: fastboot_get_unlock_data
14+
content: >
15+
Now you need to get your device ID to get an unlock code from Motorola. Press 'Confirm and run' to get the ID. (You need to toggle 'Advanced Output' here to see it.)
16+
Copy it to a separate file to use it in the next step.
17+
- type: link_button_with_confirm
18+
content: >
19+
Click on the button to open the instructions on Motorola's official unlocking website to generate an unlock code for your bootloader.
20+
Copy the code from the last step to the website and follow the instructions there. Then continue here.
21+
link: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
22+
- type: confirm_button
23+
content: Connect the device to your PC via USB. And confirm to continue.
24+
- type: call_button_with_input
25+
content: >
26+
Use your code to unlock the bootloader of your device. Type in the full 21 character code you received by email (Example: 5RTSQCYL7ZJKL4NN35MY). Then confirm an run. Afterwards you can continue.
27+
command: fastboot_unlock_with_code
28+
- type: call_button_with_input
29+
content: >
30+
You need to perform the last command again, so reenter the code and run again. Afterwards you can continue.
31+
command: fastboot_unlock_with_code
32+
- type: call_button
33+
content: >
34+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
35+
Connect your device to your PC via USB. Then confirm here to continue.
36+
command: fastboot_reboot
37+
flash_recovery:
38+
- type: call_button
39+
content: >
40+
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
41+
adapting and repairing of the operating system.
42+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
43+
command: adb_reboot_bootloader
44+
- type: call_button
45+
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
46+
command: fastboot_flash_recovery
47+
install_os:
48+
- type: call_button
49+
content: >
50+
In this last step, you finally flash the selected OS image.
51+
Wait until the TWRP screen appears. Then run the command.
52+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
53+
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.
54+
command: adb_twrp_wipe_and_install

0 commit comments

Comments
 (0)