-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds: - fix for #48 Support for new devices: - Fairphone 4 - Samsung Galaxy Note 3 LTE (#46) - Google Pixel 4 XL - Google Pixel 3a XL (#38) - Google Pixel 3 XL - Google Pixel 3 - Google Pixel 2 XL - Google Pixel 2
- Loading branch information
Showing
12 changed files
with
486 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
metadata: | ||
maintainer: Tobias Sterbak (tsterbak) | ||
devicename: Fairphone 4 | ||
devicecode: FP4 | ||
steps: | ||
unlock_bootloader: | ||
- type: link_button_with_confirm | ||
content: > | ||
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone | ||
how to start and run an operating system (like Android). Your device should be turned on. | ||
Click on the button to open the instructions on the Fairphone Support official unlocking website to generate an unlock code for your device. | ||
Once you've done that, continue. | ||
link: https://support.fairphone.com/hc/en-us/articles/4405858258961-FP4-Manage-the-bootloader | ||
- type: call_button | ||
content: Press 'Confirm and run' to reboot into the bootloader. | ||
command: adb_reboot_bootloader | ||
- type: confirm_button | ||
content: > | ||
Select 'Restart bootloader' on your smartphone screen by pressing the volume button and the confirm by pushing the power button. | ||
Then press 'Confirm and continue' here. | ||
- type: call_button | ||
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here. | ||
command: fastboot_unlock | ||
- type: confirm_button | ||
content: > | ||
Follow the instructions on the Fairphone screen. This command will wipe all the personal data on your phone. | ||
- type: call_button | ||
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue. | ||
command: fastboot_reboot | ||
- type: confirm_button | ||
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue. | ||
flash_recovery: | ||
- type: confirm_button | ||
content: > | ||
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, | ||
adapting and repairing of the operating system. | ||
- type: call_button | ||
content: Turn on your device. Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. | ||
command: fastboot_flash_recovery | ||
- type: confirm_button | ||
content: > | ||
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed! | ||
With the device powered off, hold 'Volume Up + Power'. Release when boot logo appears. | ||
install_os: | ||
- type: call_button | ||
content: > | ||
In the next steps, you finally flash the selected OS image. | ||
Wait until the TWRP screen appears. Then run the command. | ||
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored | ||
in the internal storage. Then the OS image will be installed. This might take a while. At the end your phone will boot into the new OS. | ||
command: adb_twrp_wipe_and_install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
metadata: | ||
maintainer: Tobias Sterbak (tsterbak) | ||
devicename: OnePlus Nord | ||
devicecode: avicii | ||
requirements: | ||
android: 10 | ||
steps: | ||
unlock_bootloader: | ||
- type: call_button | ||
content: > | ||
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone | ||
how to start and run an operating system (like Android). Your device should be turned on. | ||
Press 'Confirm and run' to reboot into the bootloader. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here. | ||
command: fastboot_oem_unlock | ||
- type: confirm_button | ||
content: > | ||
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader. | ||
Please take whatever actions the device asks you to to proceed. | ||
- type: call_button | ||
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue. | ||
command: fastboot_reboot | ||
- type: confirm_button | ||
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. | ||
flash_recovery: | ||
- type: call_button | ||
content: > | ||
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, | ||
adapting and repairing of the operating system. | ||
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. | ||
command: fastboot_flash_recovery | ||
- type: call_button | ||
command: adb_twrp_copy_partitions | ||
content: > | ||
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. | ||
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. | ||
- type: call_button | ||
command: fastboot_flash_recovery | ||
content: > | ||
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue. | ||
install_os: | ||
- type: call_button | ||
content: > | ||
In this last step, you finally flash the selected OS image. | ||
Wait until the TWRP screen appears. Then run the command. | ||
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored | ||
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. | ||
command: adb_twrp_wipe_and_install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
metadata: | ||
maintainer: Tobias Sterbak (tsterbak) | ||
devicename: Google Pixel 3 | ||
devicecode: blueline | ||
requirements: | ||
android: 12 | ||
steps: | ||
unlock_bootloader: | ||
- type: call_button | ||
content: > | ||
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone | ||
how to start and run an operating system (like Android). Your device should be turned on. | ||
Press 'Confirm and run' to reboot into the bootloader. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here. | ||
command: fastboot_unlock | ||
- type: confirm_button | ||
content: > | ||
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader. | ||
Please take whatever actions the device asks you to to proceed. | ||
- type: call_button | ||
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue. | ||
command: fastboot_reboot | ||
- type: confirm_button | ||
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. | ||
flash_recovery: | ||
- type: call_button | ||
content: > | ||
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, | ||
adapting and repairing of the operating system. | ||
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once your phone screen looks like the picture on the left, continue. | ||
command: fastboot_flash_recovery | ||
img: twrp-start.jpeg | ||
install_os: | ||
- type: call_button | ||
content: > | ||
In the next steps, you finally flash the selected OS image. | ||
Wait until the TWRP screen appears. Then run the command. | ||
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored | ||
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. | ||
command: adb_twrp_wipe_and_install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
metadata: | ||
maintainer: Tobias Sterbak (tsterbak) | ||
devicename: Google Pixel 3a XL | ||
devicecode: bonito | ||
requirements: | ||
android: 12.1.0 | ||
steps: | ||
unlock_bootloader: | ||
- type: call_button | ||
content: > | ||
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone | ||
how to start and run an operating system (like Android). Your device should be turned on. | ||
Press 'Confirm and run' to reboot into the bootloader. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here. | ||
command: fastboot_unlock | ||
- type: confirm_button | ||
content: > | ||
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader. | ||
Please take whatever actions the device asks you to to proceed. | ||
- type: call_button | ||
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue. | ||
command: fastboot_reboot | ||
- type: confirm_button | ||
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. | ||
flash_recovery: | ||
- type: call_button | ||
content: > | ||
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, | ||
adapting and repairing of the operating system. | ||
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once your phone screen looks like the picture on the left, continue. | ||
command: fastboot_flash_recovery | ||
img: twrp-start.jpeg | ||
install_os: | ||
- type: call_button | ||
content: > | ||
In the next steps, you finally flash the selected OS image. | ||
Wait until the TWRP screen appears. Then run the command. | ||
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored | ||
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. | ||
command: adb_twrp_wipe_and_install |
Oops, something went wrong.