Skip to content

Commit 6a3d0e0

Browse files
committed
Merge branch 'dev' into requirements-view
2 parents fe135b4 + 674278b commit 6a3d0e0

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This file is sideloaded by OpenAndroidInstaller to help with a TWRP issue on A/B-partioned devices.
2+
Please visit https://github.com/openandroidinstaller-dev/openandroidinstaller to find out more.

openandroidinstaller/tool_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def adb_twrp_wipe_and_install(bin_path: Path, target: str, config_path: Path) ->
159159
if (type(line) == bool) and not line:
160160
logger.error(f"Wiping {partition} failed.")
161161
# TODO: if this fails, a fix can be to just sideload something and then adb reboot
162-
for line in run_command("adb", ["sideload", str(config_path)], bin_path):
162+
for line in run_command("adb", ["sideload", str(config_path.parent.parent) + "/helper.txt"], bin_path):
163163
yield line
164164
sleep(1)
165165
if (type(line) == bool) and not line:

openandroidinstaller/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@ def build(
791791
self.right_view.controls = [
792792
get_title("Installation completed successfully!"),
793793
self.state.progressbar,
794+
Text("Now your devices boots into the new OS. Have fun with it!"),
794795
Row(
795796
[
796797
ElevatedButton(

0 commit comments

Comments
 (0)