You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,8 @@ Sony | Xperia Z | yuga | C6603 | tested
45
45
Sony | Xperia Z3 | z3 | | under development
46
46
Sony | Xperia ZX | kagura | | planned
47
47
Fairphone | Fairphone 2 | FP2 | | under development
48
-
Fairphone | Fairphone 3 | FP3 | | under development
49
-
Motorola | Moto G5 | cedric | | planned
48
+
Fairphone | Fairphone 3 | FP3 | | tested
49
+
Motorola | moto G5 | cedric | | planned
50
50
Motorola | moto g7 power | ocean | | under development
51
51
52
52
@@ -87,18 +87,14 @@ If you want to use the tool for a non-supported smartphone, the fastest way is t
87
87
#### Content of a config file
88
88
89
89
Every step in the config file corresponds to one view in the application. These steps should contain the following fields:
90
-
-`title`: str; Describing the overall goal of the step. Will be displayed in the header of the view.
91
90
-`type`: str; Corresponds to the type of view to generate. There are the following options:
92
91
-`text`: Just display the text given in content.
93
92
-`confirm_button`: Display the content, as well as a button to allow the user to go to the next step.
94
93
-`call_button`: Display the content text and a button that runs a given command. After the command is run, a confirm button is displayed to allow the user to move to the next step.
95
94
-`call_button_with_input`: Display the content text, an input field and a button that runs a given command. The inputtext, can be used in the command by using the `<inputtext>` placeholder in the command field. After the command is run, a confirm button is displayed to allow the user to move to the next step.
96
95
-`link_button_with_confirm`: Display a button that opens a browser with a given link, confirm afterwards. Link is given in `link`.
97
96
-`content`: str; The content text displayed alongside the action of the step. Used to inform the user about whats going on.
98
-
-`command`: [ONLY for call_button* steps] str; This is a terminal command run in a shell. (For example fastboot or adb). There are three types of placeholders supported, that will be filled by the tool as soon as information is given.
99
-
-`<image>`: The path of the ROM image file.
100
-
-`<recovery>`: The path of the recovery file.
101
-
-`<inputtext>`: Text from the user input from `call_button_with_input` views.
97
+
-`command`: [ONLY for call_button* steps] str; The command to run. One of `adb_reboot`, `adb_reboot_bootloader`, `adb_reboot_download`, `adb_sideload`, `adb_twrp_wipe_and_install`, `fastboot_flash_recovery`, `fastboot_unlock_with_code`, `fastboot_unlock`, `fastboot_oem_unlock`, `fastboot_reboot`, `heimdall_flash_recovery`.
102
98
-`img`: [OPTIONAL] Display an image on the left pane of the step view. Images are loaded from `openandroidinstaller/assets/imgs/`.
103
99
-`allow_skip`: [OPTIONAL] boolean; If a skip button should be displayed to allow skipping this step. Can be useful when the bootloader is already unlocked.
104
100
-`link`: [OPTIONAL] Link to use for the link button if type is `link_button_with_confirm`.
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/herolte.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ steps:
10
10
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
11
11
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
12
12
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
13
-
command: "adb reboot download"
13
+
command: adb_reboot_download
14
14
- type: call_button
15
15
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.
0 commit comments