Skip to content

Commit ddddd22

Browse files
committed
configs: add addison support
* asserts taken from https://github.com/LineageOS/android_device_motorola_addison/blob/daf1d8d27e577517e4dd52560180746f88212165/BoardConfig.mk#L48 * config taken from griffin/cedric Signed-off-by: SirRGB <[email protected]>
1 parent 1f96597 commit ddddd22

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean) | X
130130
Motorola | moto g 5G plus / one 5G | [nairo](https://wiki.lineageos.org/devices/nairo) | XT2075-3, XT2075-5 | tested
131131
Motorola | moto g 5G / one 5G ace | [kiev](https://wiki.lineageos.org/devices/kiev) | XT2113-2, XT2113-3 | tested
132132
Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin) | XT1650-3, XT1650-05 | tested
133+
Motorola | moto z play | [addison](https://wiki.lineageos.org/devices/addison) | XT1635-01, XT1635-02, XT1635-03 | untested
133134

134135
</details>
135136

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: SirRGB
3+
device_name: Motorola Moto Z Play
4+
is_ab_device: false
5+
device_code: addision
6+
supported_device_codes:
7+
- addison
8+
- addison_retail
9+
untested: true
10+
steps:
11+
unlock_bootloader:
12+
- type: call_button
13+
content: >
14+
As a first step, you need to unlock the bootloader of your device. A bootloader is the piece of software, that tells your phone
15+
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.
16+
command: adb_reboot_bootloader
17+
- type: call_button
18+
content: >
19+
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.)
20+
Copy it to a separate file to use it in the next step.
21+
command: fastboot_get_unlock_data
22+
- type: link_button_with_confirm
23+
content: >
24+
Click on the button to open the instructions on Motorola's official unlocking website to generate an unlock code for your bootloader.
25+
Copy the code from the last step to the website and follow the instructions there. Then continue here.
26+
link: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
27+
- type: confirm_button
28+
content: >
29+
Connect the device to your PC via USB. And confirm to continue.
30+
- type: call_button_with_input
31+
content: >
32+
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.
33+
command: fastboot_unlock_with_code
34+
- type: call_button_with_input
35+
content: >
36+
You need to perform the last command again, so reenter the code and run again. Afterwards you can continue.
37+
command: fastboot_unlock_with_code
38+
- type: call_button
39+
content: >
40+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
41+
Connect your device to your PC via USB. Then confirm here to continue.
42+
command: fastboot_reboot
43+
boot_recovery:
44+
- type: call_button
45+
content: >
46+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
47+
adapting and repairing of the operating system.
48+
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
49+
command: adb_reboot_bootloader
50+
- type: call_button
51+
img: twrp-start.jpeg
52+
content: >
53+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
54+
command: fastboot_boot_recovery

0 commit comments

Comments
 (0)