Skip to content

Commit d56706c

Browse files
committed
Fix the config for google pixel 3a
1 parent 145f20a commit d56706c

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

openandroidinstaller/assets/configs/Pixel 3a.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ steps:
2121
type: call_button
2222
content: "Reboot the phone"
2323
command: "fastboot reboot"
24-
allow_skip: True
2524
- title: "Unlock the bootloader"
2625
type: confirm_button
2726
content: "The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue."
2827
- title: "Flash custom recovery"
2928
type: call_button
30-
content: "Reboot into bootloader"
29+
content: "Once the device is fully booted, reboot into bootloader"
3130
command: "adb reboot bootloader"
3231
- title: "Flash custom recovery"
3332
type: confirm_button
@@ -36,30 +35,25 @@ steps:
3635
type: call_button
3736
content: "Flash custom recovery (temporarily)"
3837
command: "fastboot flash boot <recovery>"
39-
- title: "Flash LineageOS"
40-
type: call_button
41-
content: "Boot into recovery"
42-
command: "adb reboot bootloader"
4338
- title: "Flash LineageOS"
4439
type: confirm_button
45-
content: "Select 'Restart recovery' on your smartphone screen. Then confirm"
40+
content: "Select 'Recovery Mode' on your smartphone screen. Then confirm"
4641
- title: "Flash LineageOS"
4742
type: confirm_button
48-
content: "Now tap 'Wipe'. Then tap 'Format Data' and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage."
43+
content: "Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one)."
4944
- title: "Flash LineageOS"
5045
type: confirm_button
51-
content: "Return to the previous menu and tap 'Advanced Wipe', then select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'."
46+
content: "Return to the main menu."
5247
- title: "Flash LineageOS"
5348
type: confirm_button
54-
content: "On the device, go back and select “Advanced”, “ADB Sideload”, then swipe to begin sideload. Then confirm here"
49+
content: "On the device, select “Apply Update”, then “Apply from ADB” to begin sideload. Then confirm here"
5550
- title: "Flash LineageOS"
5651
type: call_button
5752
content: "Flash lineageOS image. Don't remove the USB-Cable!"
5853
command: "adb sideload <image>"
59-
- title: "Reboot"
60-
type: call_button
61-
content: "Reboot into OS"
62-
command: "adb reboot"
54+
- title: "Flash LineageOS"
55+
type: confirm_button
56+
content: "Flashing finished. Now press 'back' (arrow) and then 'Reboot system now' to finish the installation."
6357
- title: "Successfully finished flashing"
6458
type: text
6559
content: "Have fun with LineageOS!"

openandroidinstaller/openandroidinstaller.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from time import sleep
33
import flet
44
from flet import (
5+
Divider,
56
AppBar,
67
ElevatedButton,
78
Page,
@@ -256,6 +257,8 @@ def get_new_view(title: str, index: int, content: List = []) -> View:
256257
get_new_view(
257258
title="Welcome to OpenAndroidInstaller!",
258259
content=[
260+
Text("Before you continue, make sure your devices is on the latest system update."),
261+
Divider(),
259262
Text("Enable USB debugging on your device by enabling developer options."),
260263
Text("To do this, tap seven times on the build number in the System-Menu in Settings."),
261264
Text("Then in developer options, toggle OEM unlocking and USB-Debugging."),

0 commit comments

Comments
 (0)