You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motorola | moto g7 power | ocean | | under development
57
+
Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean/) | | tested
58
58
OnePlus | 6 | enchilada | | under development
59
59
OnePlus | 6T | fajita | | under development
60
60
OnePlus | 7T | hotdogb | | under development
@@ -105,7 +105,7 @@ Every step in the config file corresponds to one view in the application. These
105
105
-`call_button_with_input`: Display the content text, an input field and a button that runs a given command. The inputtext, can be used in the command by using the `<inputtext>` placeholder in the command field. After the command is run, a confirm button is displayed to allow the user to move to the next step.
106
106
-`link_button_with_confirm`: Display a button that opens a browser with a given link, confirm afterwards. Link is given in `link`.
107
107
-`content`: str; The content text displayed alongside the action of the step. Used to inform the user about whats going on.
108
-
-`command`: [ONLY for call_button* steps] str; The command to run. One of `adb_reboot`, `adb_reboot_bootloader`, `adb_reboot_download`, `adb_sideload`, `adb_twrp_wipe_and_install`, `fastboot_flash_recovery`, `fastboot_unlock_with_code`, `fastboot_unlock`, `fastboot_oem_unlock`, `fastboot_reboot`, `heimdall_flash_recovery`.
108
+
-`command`: [ONLY for call_button* steps] str; The command to run. One of `adb_reboot`, `adb_reboot_bootloader`, `adb_reboot_download`, `adb_sideload`, `adb_twrp_wipe_and_install`, `adb_twrp_copy_partitions`, `fastboot_flash_recovery`, `fastboot_unlock_with_code`, `fastboot_unlock`, `fastboot_oem_unlock`, `fastboot_get_unlock_data`, `fastboot_reboot`, `heimdall_flash_recovery`.
109
109
-`img`: [OPTIONAL] Display an image on the left pane of the step view. Images are loaded from `openandroidinstaller/assets/imgs/`.
110
110
-`allow_skip`: [OPTIONAL] boolean; If a skip button should be displayed to allow skipping this step. Can be useful when the bootloader is already unlocked.
111
111
-`link`: [OPTIONAL] Link to use for the link button if type is `link_button_with_confirm`.
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/ocean.yaml
+24-16Lines changed: 24 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,33 @@
1
1
metadata:
2
2
maintainer: Tobias Sterbak (tsterbak)
3
3
devicename: Moto G7 power
4
-
devicecode: Ocean
5
-
requirements:
6
-
copy_partitions: True
4
+
devicecode: ocean
7
5
steps:
8
6
unlock_bootloader:
9
-
- type: confirm_button
7
+
- type: call_button
8
+
command: adb_reboot_bootloader
10
9
content: >
11
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
12
-
how to start and run an operating system (like Android). On the device, dial *#06# to launch the service menu.
13
-
- type: confirm_button
14
-
content: Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
15
-
- type: confirm_button
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
16
14
content: >
17
-
Now go to Settings 'About the phone' and then Status. Write down the IMEI of your device. You will need it in the next step.
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.
18
17
- type: link_button_with_confirm
19
18
content: >
20
19
Click on the button to open the instructions on Motorola's official unlocking website to generate an unlock code for your bootloader.
21
-
Once you got the code write it down somewhere and continue to input the code.
20
+
Copy the code from the last step to the website and follow the instructions there. Then continue here.
content: Connect the device to your PC via USB. And confirm to continue.
25
-
- type: call_button
26
-
content: Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
27
-
command: adb_reboot_bootloader
28
24
- type: call_button_with_input
29
25
content: >
30
-
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
31
-
If you already did that, you can skip this step.
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.
32
31
command: fastboot_unlock_with_code
33
32
- type: call_button
34
33
content: >
@@ -45,10 +44,19 @@ steps:
45
44
- type: call_button
46
45
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
47
46
command: fastboot_flash_recovery
47
+
- type: call_button
48
+
command: adb_twrp_copy_partitions
49
+
content: >
50
+
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.
51
+
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.
52
+
- type: call_button
53
+
command: fastboot_flash_recovery
54
+
content: >
55
+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
48
56
install_os:
49
57
- type: call_button
50
58
content: >
51
-
In the next steps, you finally flash the selected OS image.
59
+
In this last step, you finally flash the selected OS image.
52
60
Wait until the TWRP screen appears. Then run the command.
53
61
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
54
62
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.
0 commit comments