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
This PR adds:
- progress bar do show the progress of the flashing.
- force light mode to address (#54)
- a fix with alternative device code resolution (#56)
- support for new devices (#52) :
- Motorola moto g6 plus
- Motorola moto g 5G plus / one 5G
- Motorola moto g 5G / one 5G ace
- Motorola edge
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.
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
+
- 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.
56
+
install_os:
57
+
- type: call_button
58
+
content: >
59
+
In this last step, you finally flash the selected OS image.
60
+
Wait until the TWRP screen appears. Then run the command.
61
+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
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.
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.
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
+
- 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.
56
+
install_os:
57
+
- type: call_button
58
+
content: >
59
+
In this last step, you finally flash the selected OS image.
60
+
Wait until the TWRP screen appears. Then run the command.
61
+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
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.
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.
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
+
- 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.
56
+
install_os:
57
+
- type: call_button
58
+
content: >
59
+
In this last step, you finally flash the selected OS image.
60
+
Wait until the TWRP screen appears. Then run the command.
61
+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
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.
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.
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
+
- 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.
56
+
install_os:
57
+
- type: call_button
58
+
content: >
59
+
In this last step, you finally flash the selected OS image.
60
+
Wait until the TWRP screen appears. Then run the command.
61
+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
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