Skip to content

Commit d37c1c0

Browse files
committed
Fix configs
1 parent e24b724 commit d37c1c0

5 files changed

Lines changed: 14 additions & 33 deletions

File tree

openandroidinstaller/assets/configs/cheeseburger.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,4 @@ steps:
3131
command: adb_reboot_bootloader
3232
- type: call_button
3333
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34-
command: fastboot_flash_recovery
35-
install_os:
36-
- type: call_button
37-
content: >
38-
In the next steps, you finally flash the selected OS image.
39-
Wait until the TWRP screen appears. Then run the command.
40-
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
41-
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.
42-
command: adb_twrp_wipe_and_install
34+
command: fastboot_flash_recovery

openandroidinstaller/assets/configs/dumpling.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,4 @@ steps:
3131
command: adb_reboot_bootloader
3232
- type: call_button
3333
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34-
command: fastboot_flash_recovery
35-
install_os:
36-
- type: call_button
37-
content: >
38-
In the next steps, you finally flash the selected OS image.
39-
Wait until the TWRP screen appears. Then run the command.
40-
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
41-
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.
42-
command: adb_twrp_wipe_and_install
34+
command: fastboot_flash_recovery

openandroidinstaller/assets/configs/griffin.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,4 @@ steps:
4343
command: adb_reboot_bootloader
4444
- type: call_button
4545
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
46-
command: fastboot_flash_recovery
47-
install_os:
48-
- type: call_button
49-
content: >
50-
In this last step, you finally flash the selected OS image.
51-
Wait until the TWRP screen appears. Then run the command.
52-
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
53-
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.
54-
command: adb_twrp_wipe_and_install
46+
command: fastboot_flash_recovery

openandroidinstaller/views/addon_view.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ def build(self):
140140
),
141141
]
142142
),
143-
Text("Here you can find instructions on how to download the right Google apps for your device."),
143+
Text(
144+
"Here you can find instructions on how to download the right Google apps for your device."
145+
),
144146
Row(
145147
[
146148
ElevatedButton(
@@ -174,10 +176,10 @@ def build(self):
174176
self.right_view.controls.extend(
175177
[
176178
Text("Select addons:", style="titleSmall"),
177-
#Markdown(
178-
#f"""
179-
#The image file should look something like `lineage-19.1-20221101-nightly-{self.state.config.metadata.get('devicecode')}-signed.zip`."""
180-
# ),
179+
# Markdown(
180+
# f"""
181+
# The image file should look something like `lineage-19.1-20221101-nightly-{self.state.config.metadata.get('devicecode')}-signed.zip`."""
182+
# ),
181183
Row(
182184
[
183185
FilledButton(

openandroidinstaller/views/step_view.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,10 @@ def display_progress_bar(self, line: str):
335335
result = None
336336
# get the progress numbers from the output lines
337337
if (type(line) == str) and line.strip():
338-
result = re.search(r"\(\~(\d{1,3})\%\)|(Total xfer:|adb: failed to read command: Success)", line.strip())
338+
result = re.search(
339+
r"\(\~(\d{1,3})\%\)|(Total xfer:|adb: failed to read command: Success)",
340+
line.strip(),
341+
)
339342
if result:
340343
if result.group(2):
341344
percentage_done = 100

0 commit comments

Comments
 (0)