Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.4.3-beta #135

Merged
merged 73 commits into from
May 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
1f68603
Reformatted configs
MagicLike Mar 24, 2023
373e616
More formatting
MagicLike Mar 24, 2023
11df3ae
Removed unneeded rebooting instructuons from FPs
MagicLike Mar 24, 2023
c7f998b
Added TWRP image to every config
MagicLike Mar 24, 2023
b100366
Updated the config section
MagicLike Mar 25, 2023
0da5e31
Reordered device list
MagicLike Mar 26, 2023
68eb13a
Linked LineageOS in description
MagicLike Mar 26, 2023
33c5ece
Made title for selfbuilding bigger
MagicLike Mar 26, 2023
2b6d650
Removed trailing slashes
MagicLike Mar 26, 2023
e097949
Added link to website contribute section
MagicLike Mar 26, 2023
1cf0603
Removed more trailing slashes
MagicLike Mar 26, 2023
ab4130d
Merge branch 'dev' into config-formatting
MagicLike Mar 27, 2023
f1c9062
add Samsung S4 mini
freechelmi Mar 31, 2023
0ce1dd6
Add serranoltexx on readme & rename config
freechelmi Apr 3, 2023
002f335
Update readme for serranoltexx
freechelmi Apr 3, 2023
ebc0b3b
Merge branch 'openandroidinstaller-dev:main' into readme-fix
MagicLike Apr 3, 2023
4eeb3ba
Merge branch 'openandroidinstaller-dev:main' into main
freechelmi Apr 3, 2023
9bbbd81
Readme fix (#129)
tsterbak Apr 3, 2023
074351d
Merge branch 'dev' into config-formatting
MagicLike Apr 3, 2023
cdeceec
Updated link for MinMicroG addon
MagicLike Apr 3, 2023
b733458
Updated MinMicroG link in README
MagicLike Apr 3, 2023
dc6d020
Reverted to old format of README link
MagicLike Apr 3, 2023
6faf53c
Updated MinMicroG (#136)
tsterbak Apr 3, 2023
d8418b7
Merge branch 'main' into dev
tsterbak Apr 3, 2023
028ee64
Merge branch 'dev' into config-formatting
tsterbak Apr 3, 2023
f799950
Merge branch 'openandroidinstaller-dev:main' into main
freechelmi Apr 7, 2023
aa631e4
Remove old serranolte yaml
freechelmi Apr 7, 2023
3b75594
Merge branch 'ekimiateam-main' into dev
tsterbak Apr 8, 2023
406ac40
Imrpove the addons installer progress bars and fix issues
tsterbak Apr 11, 2023
fa5d04d
Fix adb bug
tsterbak Apr 11, 2023
30761b6
Simplify fastboot_boot_recovery
tsterbak Apr 11, 2023
9d8344d
Fixed typo in multiple configs
MagicLike Apr 14, 2023
de0133c
Formatting
MagicLike Apr 14, 2023
a3611d4
Samsung devices are flashed not booted
MagicLike Apr 14, 2023
78a8af3
More formatting
MagicLike Apr 14, 2023
03c99b9
Formatting of 'content'
MagicLike Apr 14, 2023
6fb8abd
Added formatting note to `content`
MagicLike Apr 14, 2023
49cff08
Added config for grandprimevelte
MagicLike Apr 15, 2023
0fd6bba
Added grandprimevelte to list
MagicLike Apr 15, 2023
a4aa74d
If adb twrp format data fails, retry with adb twrp wipe data
tsterbak Apr 19, 2023
6b973e8
Removed duplicated `command` for fajita
MagicLike Apr 23, 2023
e3291c9
Config formatting (#130)
tsterbak Apr 23, 2023
2fd156d
Bump app version
tsterbak Apr 23, 2023
cdb5683
Run the retry in the correct function...
tsterbak Apr 24, 2023
f5c1236
Fix typos
kianmeng Apr 27, 2023
7b973f7
Merge branch 'dev' into fix-typos
tsterbak Apr 27, 2023
574516c
Fix typos (#145)
tsterbak Apr 27, 2023
0b54802
If no addon is selected just reboot to OS at installation time
tsterbak May 1, 2023
be8d660
If no addon is selected just reboot to OS at installation time (#148)
tsterbak May 1, 2023
076b060
Only look for a config file in the root of the executable and in the …
tsterbak May 1, 2023
5c10c71
Enable basic markdown highlighting
tsterbak May 1, 2023
d9aa0c2
add dreamlte config
allaeddineomc May 4, 2023
3a99084
Merge dev into branch
tsterbak May 6, 2023
540df59
Improve the addons installer progress bars and fix issues (#139)
tsterbak May 6, 2023
37dbeba
Marked grandprimevelte as tested
MagicLike May 6, 2023
5dee245
Follow links in markdown
tsterbak May 7, 2023
d1e445f
Fix follow links
tsterbak May 7, 2023
4d595d3
Allow Markdow to format text content of device configs (#149)
tsterbak May 8, 2023
e77dd5e
Merge branch 'openandroidinstaller-dev:main' into main
allaeddineomc May 9, 2023
92d50b7
fix dreamlte.yaml
allaeddineomc May 9, 2023
9647bd1
Retry explicitly, when the command is unknown
tsterbak May 10, 2023
54e5373
Fix stupid bug...
tsterbak May 10, 2023
74377ab
Fix markdown link bug
tsterbak May 12, 2023
3f7a878
Fix markdown bug
tsterbak May 12, 2023
ad81cca
If adb twrp format data fails, retry with adb twrp wipe data (#142)
tsterbak May 13, 2023
6d136df
Support for Samsung Galaxy Grand Prime VE (#140)
tsterbak May 13, 2023
47c6d40
Enable passing a path at startup to specify the location of the logs
tsterbak May 16, 2023
22e7678
Enable passing a path at startup to specify the location of the logs …
tsterbak May 16, 2023
2496423
Make the fairphone 2 config clearer
tsterbak May 16, 2023
b0dfd45
Improve logging for the run_command function
tsterbak May 16, 2023
875201e
Merge branch 'dev' into main
tsterbak May 17, 2023
872d73e
Update readme and config of dreamlte
tsterbak May 17, 2023
6628f74
fix dreamlte config
tsterbak May 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 78 additions & 73 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions openandroidinstaller/app_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(
# placeholders
self.advanced = False
self.install_addons = False
self.addon_paths = []
self.config = None
self.image_path = None
self.recovery_path = None
Expand Down
14 changes: 6 additions & 8 deletions openandroidinstaller/assets/configs/FP2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ metadata:
steps:
unlock_bootloader:
boot_recovery:
- type: confirm_button
- type: call_button
content: >
Now you need to boot 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: Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
Make sure your device is turned on and connected to the computer. Boot into the bootloader by pressing 'Confirm and run' here. Then continue.
command: adb_reboot_bootloader
- type: call_button
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
- type: confirm_button
img: twrp-start.jpeg
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.
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
23 changes: 13 additions & 10 deletions openandroidinstaller/assets/configs/FP3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,38 @@ steps:
Once you've done that, continue.
link: https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/
- type: call_button
content: Press 'Confirm and run' to reboot into the bootloader.
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.
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.
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.
content: >
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
boot_recovery:
- type: confirm_button
content: >
Now you need to boot 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.
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_boot_recovery
- type: confirm_button
img: twrp-start.jpeg
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.
Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
23 changes: 13 additions & 10 deletions openandroidinstaller/assets/configs/FP4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,38 @@ steps:
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.
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.
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.
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.
content: >
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
boot_recovery:
- type: confirm_button
content: >
Now you need to boot 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.
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, boot the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
- type: confirm_button
img: twrp-start.jpeg
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.
Once the device is in fastboot mode, boot the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
4 changes: 2 additions & 2 deletions openandroidinstaller/assets/configs/a3y17lte.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ steps:
- type: call_button
content: >
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
command: adb_reboot_download
- type: call_button
content: >
In this step, you need to boot a custom recovery on your device.
In this step, you need to flash a custom recovery on your device.
Press 'Confirm and run' to start the process. Confirm afterwards to continue.
command: heimdall_flash_recovery
- type: confirm_button
Expand Down
6 changes: 4 additions & 2 deletions openandroidinstaller/assets/configs/a5xelte.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ steps:
- type: call_button
content: >
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
command: adb_reboot_download
- type: call_button
content: In this step, you need to boot a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
content: >
In this step, you need to flash a custom recovery on your device.
Press 'Confirm and run' to start the process. Confirm afterwards to continue.
command: heimdall_flash_recovery
- type: confirm_button
img: samsung-buttons.png
Expand Down
6 changes: 4 additions & 2 deletions openandroidinstaller/assets/configs/a72q.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ steps:
- type: call_button
content: >
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
command: adb_reboot_download
- type: call_button
content: In this step, you need to boot a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
content: >
In this step, you need to flash a custom recovery on your device.
Press 'Confirm and run' to start the process. Confirm afterwards to continue.
command: heimdall_flash_recovery
- type: confirm_button
img: samsung-buttons.png
Expand Down
6 changes: 4 additions & 2 deletions openandroidinstaller/assets/configs/a7xelte.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ steps:
- type: call_button
content: >
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
command: adb_reboot_download
- type: call_button
content: In this step, you need to boot a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
content: >
In this step, you need to flash a custom recovery on your device.
Press 'Confirm and run' to start the process. Confirm afterwards to continue.
command: heimdall_flash_recovery
- type: confirm_button
img: samsung-buttons.png
Expand Down
21 changes: 13 additions & 8 deletions openandroidinstaller/assets/configs/akari.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ requirements:
steps:
unlock_bootloader:
- type: confirm_button
content: As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
content: >
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
- type: confirm_button
content: Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
content: >
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
- type: confirm_button
content: >
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.
Expand All @@ -22,9 +24,11 @@ steps:
Once you got the code write it down somewhere and continue to input the code.
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
- type: confirm_button
content: Connect the device to your PC via USB. And confirm to continue.
content: >
Connect the device to your PC via USB. And confirm to continue.
- type: call_button
content: Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
content: >
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
command: adb_reboot_bootloader
- type: call_button_with_input
content: >
Expand All @@ -44,14 +48,15 @@ steps:
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: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_flash_boot
- 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.
command: adb_twrp_copy_partitions
- type: call_button
command: fastboot_flash_boot
content: >
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
command: fastboot_flash_boot
21 changes: 13 additions & 8 deletions openandroidinstaller/assets/configs/akatsuki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ requirements:
steps:
unlock_bootloader:
- type: confirm_button
content: As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
content: >
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
- type: confirm_button
content: Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
content: >
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
- type: confirm_button
content: >
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.
Expand All @@ -22,9 +24,11 @@ steps:
Once you got the code write it down somewhere and continue to input the code.
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
- type: confirm_button
content: Connect the device to your PC via USB. And confirm to continue.
content: >
Connect the device to your PC via USB. And confirm to continue.
- type: call_button
content: Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
content: >
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
command: adb_reboot_bootloader
- type: call_button_with_input
content: >
Expand All @@ -44,14 +48,15 @@ steps:
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: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_flash_boot
- 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.
command: adb_twrp_copy_partitions
- type: call_button
command: fastboot_flash_boot
content: >
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
command: fastboot_flash_boot
2 changes: 2 additions & 0 deletions openandroidinstaller/assets/configs/avicii.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ steps:
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
img: twrp-start.jpeg
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
Expand All @@ -41,6 +42,7 @@ steps:
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.
command: adb_twrp_copy_partitions
- type: call_button
img: twrp-start.jpeg
content: >
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
command: fastboot_boot_recovery
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/bacon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ steps:
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
img: twrp-start.jpeg
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
Loading