z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <recovery> |
| 3 | <styles> |
| 4 | <style name="text_l"> |
| 5 | <font resource="font_l" color="%text_color%"/> |
| 6 | </style> |
| 7 | |
| 8 | <style name="text_m"> |
| 9 | <font resource="font_m" color="%text_color%"/> |
| 10 | </style> |
| 11 | |
| 12 | <style name="text_m_accent"> |
| 13 | <font resource="font_m" color="%accent_color%"/> |
| 14 | </style> |
| 15 | |
| 16 | <style name="text_m_fail"> |
| 17 | <font resource="font_m" color="%text_fail_color%"/> |
| 18 | </style> |
| 19 | |
| 20 | <style name="text_s"> |
| 21 | <font resource="font_s" color="%text_color%"/> |
| 22 | </style> |
| 23 | |
| 24 | <style name="input"> |
| 25 | <background color="%background_color%"/> |
| 26 | <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/> |
| 27 | <font resource="font_m" color="%text_color%"/> |
| 28 | </style> |
| 29 | |
| 30 | <style name="checkbox"> |
| 31 | <font resource="font_m" color="%text_color%"/> |
| 32 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 33 | </style> |
| 34 | |
| 35 | <style name="radiobutton"> |
| 36 | <font resource="font_m" color="%text_color%"/> |
| 37 | <image checked="radio_true" unchecked="radio_false"/> |
| 38 | </style> |
| 39 | |
| 40 | <style name="main_button"> |
| 41 | <highlight color="%highlight_color%"/> |
| 42 | <font resource="font_l" color="%text_button_color%"/> |
| 43 | <image resource="main_button"/> |
| 44 | </style> |
| 45 | |
| 46 | <style name="main_button_m"> |
| 47 | <highlight color="%highlight_color%"/> |
| 48 | <font resource="font_m" color="%text_button_color%"/> |
| 49 | <image resource="main_button"/> |
| 50 | </style> |
| 51 | |
| 52 | <style name="main_button_half_width"> |
| 53 | <highlight color="%highlight_color%"/> |
| 54 | <font resource="font_m" color="%text_button_color%"/> |
| 55 | <image resource="main_button_half_width"/> |
| 56 | </style> |
| 57 | |
| 58 | <style name="main_button_half_width_low"> |
| 59 | <highlight color="%highlight_color%"/> |
| 60 | <font resource="font_m" color="%text_button_color%"/> |
| 61 | <image resource="main_button_half_width_low"/> |
| 62 | </style> |
| 63 | |
| 64 | <style name="button_third_width"> |
| 65 | <highlight color="%highlight_color%"/> |
| 66 | <font resource="font_m" color="%text_button_color%"/> |
| 67 | <image resource="tab_3"/> |
| 68 | </style> |
| 69 | |
| 70 | <style name="button_quarter_width"> |
| 71 | <highlight color="%highlight_color%"/> |
| 72 | <font resource="font_m" color="%text_button_color%"/> |
| 73 | <image resource="tab_4"/> |
| 74 | </style> |
| 75 | |
| 76 | <style name="sort_asc"> |
| 77 | <highlight color="%highlight_color%"/> |
| 78 | <font resource="font_m" color="%text_button_color%"/> |
| 79 | <image resource="sort_asc"/> |
| 80 | </style> |
| 81 | |
| 82 | <style name="sort_desc"> |
| 83 | <highlight color="%highlight_color%"/> |
| 84 | <font resource="font_m" color="%text_button_color%"/> |
| 85 | <image resource="sort_desc"/> |
| 86 | </style> |
| 87 | |
| 88 | <style name="sort_empty"> |
| 89 | <highlight color="%highlight_color%"/> |
| 90 | <font resource="font_m" color="%text_button_color%"/> |
| 91 | <image resource="sort_empty"/> |
| 92 | </style> |
| 93 | |
| 94 | <style name="fab"> |
| 95 | <highlight color="%highlight_color%"/> |
| 96 | <placement x="%indent_right%" y="%row21a_y%" placement="1"/> |
| 97 | <font resource="font_m" color="%button_text_color%"/> |
| 98 | </style> |
| 99 | |
| 100 | <style name="tab"> |
| 101 | <highlight color="%highlight_color%"/> |
| 102 | <fill color="%accent_color%"/> |
| 103 | <font resource="font_s" color="%text_button_color%"/> |
| 104 | </style> |
| 105 | |
| 106 | <style name="console"> |
| 107 | <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 108 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 109 | <font resource="fixed"/> |
| 110 | </style> |
| 111 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 112 | <style name="terminal"> |
| 113 | <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 114 | <background color="%background_color%"/> |
| 115 | <font resource="fixed" spacing="3" color="%text_color%"/> |
| 116 | </style> |
| 117 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 118 | <style name="fileselector"> |
| 119 | <highlight color="%fileselector_highlight_color%"/> |
| 120 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 121 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 122 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 123 | <sort name="tw_gui_sort_order"/> |
| 124 | <icon folder="folder" file="file"/> |
| 125 | <background color="%background_color%"/> |
| 126 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 127 | </style> |
| 128 | |
| 129 | <style name="listbox"> |
| 130 | <highlight color="%fileselector_highlight_color%"/> |
| 131 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 132 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 133 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 134 | <icon selected="radio_true" unselected="radio_false"/> |
| 135 | <background color="%background_color%"/> |
| 136 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 137 | </style> |
| 138 | |
| 139 | <style name="scrolllist"> |
| 140 | <background color="%background_color%"/> |
| 141 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/> |
nkk71 | 1a230e4 | 2017-08-07 00:28:19 +0300 | [diff] [blame] | 142 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 143 | </style> |
| 144 | |
| 145 | <style name="partitionlist"> |
| 146 | <highlight color="%fileselector_highlight_color%"/> |
| 147 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 148 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 149 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 150 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 151 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 152 | <background color="%background_color%"/> |
| 153 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 154 | </style> |
| 155 | |
| 156 | <style name="partitionlist_storage"> |
| 157 | <highlight color="%fileselector_highlight_color%"/> |
| 158 | <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/> |
| 159 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 160 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 161 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 162 | <icon selected="radio_true" unselected="radio_false"/> |
| 163 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 164 | <background color="%background_color%"/> |
| 165 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 166 | </style> |
| 167 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 168 | <style name="advanced_listbox"> |
| 169 | <highlight color="%fileselector_highlight_color%"/> |
| 170 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 171 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 172 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 173 | <icon selected="handle" unselected="handle"/> |
| 174 | <background color="%background_color%"/> |
| 175 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 176 | </style> |
| 177 | |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 178 | <style name="options_listbox"> |
| 179 | <highlight color="%fileselector_highlight_color%"/> |
| 180 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 181 | <separator color="%background_color%" height="%fileselector_separatorheight%"/> |
| 182 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 183 | <background color="%background_color%"/> |
| 184 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 185 | </style> |
| 186 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 187 | <style name="slider"> |
| 188 | <placement x="%col2_x_right%" y="%row17a_y%"/> |
| 189 | <font resource="font_m" color="%text_color%"/> |
| 190 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 191 | </style> |
| 192 | |
| 193 | <style name="slider_centered"> |
| 194 | <placement x="%center_x%" y="%row17a_y%"/> |
| 195 | <font resource="font_m" color="%text_color%"/> |
| 196 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 197 | </style> |
| 198 | |
| 199 | <style name="slidervalue"> |
| 200 | <resource handle="handle"/> |
| 201 | <font resource="font_m" color="%text_color%"/> |
| 202 | <colors line="%fileselector_linecolor%"/> |
| 203 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 204 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 205 | |
| 206 | <style name="patternpassword"> |
| 207 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 208 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 209 | </styles> |
| 210 | |
| 211 | <pages> |
| 212 | <page name="main"> |
| 213 | <action> |
| 214 | <actions> |
| 215 | <action function="set">tw_clear_destination=main2</action> |
| 216 | <action function="page">clear_vars</action> |
| 217 | </actions> |
| 218 | </action> |
| 219 | </page> |
| 220 | |
| 221 | <page name="main2"> |
| 222 | <template name="page"/> |
| 223 | |
| 224 | <text style="text_l"> |
| 225 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 226 | <text>{@twrp_header=Team Win Recovery Project}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 227 | </text> |
| 228 | |
| 229 | <text style="text_m"> |
| 230 | <condition var1="tw_no_cpu_temp" var2="0"/> |
| 231 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 232 | <text>%tw_version%</text> |
| 233 | </text> |
| 234 | |
| 235 | <button style="main_button"> |
| 236 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 237 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 238 | <actions> |
| 239 | <action function="queueclear"/> |
| 240 | <action function="set">tw_selectimage=0</action> |
| 241 | <action function="page">install</action> |
| 242 | </actions> |
| 243 | </button> |
| 244 | |
| 245 | <button style="main_button"> |
| 246 | <placement x="%center_x%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 247 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 248 | <action function="page">wipe</action> |
| 249 | </button> |
| 250 | |
| 251 | <button style="main_button"> |
| 252 | <placement x="%col1_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 253 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 254 | <action function="page">backup</action> |
| 255 | </button> |
| 256 | |
| 257 | <button style="main_button"> |
| 258 | <placement x="%center_x%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 259 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 260 | <action function="page">restore</action> |
| 261 | </button> |
| 262 | |
| 263 | <button style="main_button"> |
| 264 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 265 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 266 | <action function="page">mount</action> |
| 267 | </button> |
| 268 | |
| 269 | <button style="main_button"> |
| 270 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 271 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 272 | <action function="page">settings</action> |
| 273 | </button> |
| 274 | |
| 275 | <button style="main_button"> |
| 276 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 277 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 278 | <action function="page">advanced</action> |
| 279 | </button> |
| 280 | |
| 281 | <button style="main_button"> |
| 282 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 283 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 284 | <action function="page">reboot</action> |
| 285 | </button> |
| 286 | </page> |
| 287 | |
| 288 | <page name="install"> |
| 289 | <template name="page"/> |
| 290 | |
| 291 | <text style="text_l"> |
| 292 | <condition var1="tw_selectimage" var2="0"/> |
| 293 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 294 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 295 | </text> |
| 296 | |
| 297 | <text style="text_l"> |
| 298 | <condition var1="tw_selectimage" var2="1"/> |
| 299 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 300 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 301 | </text> |
| 302 | |
| 303 | <text style="text_m"> |
| 304 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 305 | <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 306 | </text> |
| 307 | |
| 308 | <template name="sort_options"/> |
| 309 | |
| 310 | <fileselector> |
| 311 | <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 312 | <text>{@file_selector_folders_hdr=Folders}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 313 | <filter folders="1" files="0"/> |
| 314 | <path name="tw_zip_location" default="/sdcard"/> |
| 315 | <data name="select"/> |
| 316 | </fileselector> |
| 317 | |
| 318 | <fileselector> |
| 319 | <condition var1="tw_selectimage" var2="0"/> |
| 320 | <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/> |
| 321 | <text>%tw_zip_location%</text> |
mauronofrio | 6d3bf89 | 2019-10-26 19:47:55 +0200 | [diff] [blame] | 322 | <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/> |
Ian Macdonald | e7c34e5 | 2021-01-23 18:52:28 +0100 | [diff] [blame] | 323 | <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 324 | <path name="tw_zip_location" default="/sdcard"/> |
| 325 | <data name="tw_filename"/> |
| 326 | <selection name="tw_file"/> |
| 327 | </fileselector> |
| 328 | |
| 329 | <fileselector> |
| 330 | <condition var1="tw_selectimage" var2="1"/> |
| 331 | <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/> |
| 332 | <text>%tw_zip_location%</text> |
| 333 | <filter extn=".img" folders="0" files="1"/> |
| 334 | <path name="tw_zip_location" default="/sdcard"/> |
| 335 | <data name="tw_filename"/> |
| 336 | <selection name="tw_file"/> |
| 337 | </fileselector> |
| 338 | |
| 339 | <button style="main_button_half_width_low"> |
| 340 | <condition var1="tw_selectimage" var2="0"/> |
| 341 | <placement x="%col_button_right%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 342 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 343 | <actions> |
| 344 | <action function="set">tw_selectimage=1</action> |
| 345 | <action function="page">install</action> |
| 346 | </actions> |
| 347 | </button> |
| 348 | |
| 349 | <button style="main_button_half_width_low"> |
| 350 | <condition var1="tw_selectimage" var2="1"/> |
| 351 | <placement x="%col_button_right%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 352 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 353 | <actions> |
| 354 | <action function="set">tw_selectimage=0</action> |
| 355 | <action function="page">install</action> |
| 356 | </actions> |
| 357 | </button> |
| 358 | |
| 359 | <button style="main_button_half_width_low"> |
| 360 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 361 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 362 | <actions> |
| 363 | <action function="set">tw_back=install</action> |
| 364 | <action function="overlay">select_storage</action> |
| 365 | </actions> |
| 366 | </button> |
| 367 | |
| 368 | <action> |
| 369 | <conditions> |
| 370 | <condition var1="tw_selectimage" var2="0"/> |
| 371 | <condition var1="tw_filename" op="modified"/> |
| 372 | </conditions> |
| 373 | <actions> |
| 374 | <action function="queuezip"/> |
| 375 | <action function="page">flash_confirm</action> |
| 376 | </actions> |
| 377 | </action> |
| 378 | |
| 379 | <action> |
| 380 | <conditions> |
| 381 | <condition var1="tw_selectimage" var2="1"/> |
| 382 | <condition var1="tw_filename" op="modified"/> |
| 383 | </conditions> |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 384 | <actions> |
| 385 | <action function="set">tw_is_slot_part=0</action> |
| 386 | <action function="page">flashimage_confirm</action> |
| 387 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 388 | </action> |
| 389 | |
| 390 | <action> |
| 391 | <touch key="back"/> |
| 392 | <action function="page">main</action> |
| 393 | </action> |
| 394 | |
| 395 | <action> |
| 396 | <touch key="home"/> |
| 397 | <action function="page">main</action> |
| 398 | </action> |
| 399 | </page> |
| 400 | |
| 401 | <page name="flash_confirm"> |
| 402 | <template name="page"/> |
| 403 | |
| 404 | <text style="text_l"> |
| 405 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 406 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 407 | </text> |
| 408 | |
| 409 | <text style="text_m"> |
| 410 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 411 | <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 412 | </text> |
| 413 | |
| 414 | <text style="text_m_accent"> |
| 415 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 416 | <text>{@zip_warn1=This operation may install incompatible}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 417 | </text> |
| 418 | |
| 419 | <text style="text_m_accent"> |
| 420 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 421 | <text>{@zip_warn2=software and render your device unusable.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 422 | </text> |
| 423 | |
| 424 | <text style="text_m"> |
| 425 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 426 | <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 427 | </text> |
| 428 | |
| 429 | <text style="text_m_accent"> |
| 430 | <placement x="%col1_x_left%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 431 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 432 | </text> |
| 433 | |
| 434 | <text style="text_m"> |
| 435 | <placement x="%col1_x_left%" y="%row9_y%"/> |
| 436 | <text>%tw_zip_location%</text> |
| 437 | </text> |
| 438 | |
| 439 | <text style="text_m_accent"> |
| 440 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 441 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 442 | </text> |
| 443 | |
| 444 | <text style="text_m"> |
| 445 | <placement x="%col1_x_left%" y="%row12_y%"/> |
| 446 | <text>%tw_file%</text> |
| 447 | </text> |
| 448 | |
| 449 | <text style="text_m_accent"> |
| 450 | <placement x="%col1_x_right%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 451 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 452 | </text> |
| 453 | |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 454 | <listbox style="options_listbox"> |
| 455 | <placement x="%col1_x_right%" y="%row9_y%" w="%content_half_width%" h="%listbox_options_height%"/> |
| 456 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 457 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
| 458 | <data variable="tw_signed_zip_verify"/> |
| 459 | </listitem> |
| 460 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 461 | <data variable="tw_skip_digest_check_zip"/> |
| 462 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 463 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 464 | <conditions> |
| 465 | <condition var1="tw_has_boot_slots" var2="1"/> |
Captain Throwback | 1f5d4ca | 2023-01-11 13:46:30 -0500 | [diff] [blame] | 466 | <condition var1="tw_no_flash_current_twrp" var2="0"/> |
Darth9 | 8af7fe2 | 2024-01-18 20:00:44 +0000 | [diff] [blame^] | 467 | <condition var1="tw_is_vendor_boot_header_v3" var2="0"/> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 468 | </conditions> |
| 469 | <data variable="tw_auto_reflashtwrp"/> |
| 470 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 471 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 472 | <data variable="tw_install_reboot"/> |
| 473 | </listitem> |
| 474 | <listitem name="{@inject_twrp_chk=Inject TWRP after install}"> |
| 475 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 476 | <data variable="tw_inject_after_zip"/> |
| 477 | </listitem> |
| 478 | </listbox> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 479 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 480 | <button style="main_button_half_width"> |
| 481 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 482 | <text>{@zip_add_btn=Add more Zips}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 483 | <action function="page">install</action> |
| 484 | </button> |
| 485 | |
| 486 | <button style="main_button_half_width"> |
| 487 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 488 | <text>{@zip_clear_btn=Clear Zip Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 489 | <actions> |
| 490 | <action function="queueclear"/> |
| 491 | <action function="page">install</action> |
| 492 | </actions> |
| 493 | </button> |
| 494 | |
| 495 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 496 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 497 | <action function="flash">flash_zip</action> |
| 498 | </slider> |
| 499 | |
| 500 | <action> |
| 501 | <touch key="back"/> |
| 502 | <actions> |
| 503 | <action function="cancelzip"/> |
| 504 | <action function="page">install</action> |
| 505 | </actions> |
| 506 | </action> |
| 507 | |
| 508 | <action> |
| 509 | <touch key="home"/> |
| 510 | <action function="page">main</action> |
| 511 | </action> |
| 512 | </page> |
| 513 | |
| 514 | <page name="flash_zip"> |
| 515 | <template name="page"/> |
| 516 | |
| 517 | <text style="text_l"> |
| 518 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 519 | <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 520 | </text> |
| 521 | |
| 522 | <text style="text_m"> |
| 523 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 524 | <text>%tw_file%</text> |
| 525 | </text> |
| 526 | |
| 527 | <template name="console"/> |
| 528 | |
| 529 | <template name="progress_bar"/> |
| 530 | |
| 531 | <action> |
| 532 | <condition var1="tw_operation_state" var2="1"/> |
| 533 | <action function="page">flash_done</action> |
| 534 | </action> |
| 535 | </page> |
| 536 | |
| 537 | <page name="flash_done"> |
| 538 | <template name="page"/> |
| 539 | |
| 540 | <text style="text_l"> |
| 541 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 542 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 543 | </text> |
| 544 | |
| 545 | <text style="text_m_fail"> |
| 546 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 547 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 548 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 549 | </text> |
| 550 | |
| 551 | <text style="text_m"> |
| 552 | <condition var1="tw_operation_status" var2="0"/> |
| 553 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 554 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 555 | </text> |
| 556 | |
| 557 | <template name="console"/> |
| 558 | |
| 559 | <button style="main_button_half_width"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 560 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 561 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 562 | <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 563 | <actions> |
| 564 | <action function="set">tw_back=flash_done</action> |
| 565 | <action function="set">tw_action=wipe</action> |
| 566 | <action function="set">tw_action_param=/cache</action> |
| 567 | <action function="set">tw_has_action2=1</action> |
| 568 | <action function="set">tw_action2=wipe</action> |
| 569 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 570 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 571 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 572 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
| 573 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 574 | <action function="page">confirm_action</action> |
| 575 | </actions> |
| 576 | </button> |
| 577 | |
| 578 | <button style="main_button_half_width"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 579 | <condition var1="tw_ab_device" var2="1"/> |
| 580 | <placement x="%indent%" y="%row21a_y%"/> |
| 581 | <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> |
| 582 | <actions> |
| 583 | <action function="set">tw_back=flash_done</action> |
| 584 | <action function="set">tw_action=wipe</action> |
| 585 | <action function="set">tw_action_param=dalvik</action> |
| 586 | <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> |
| 587 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> |
| 588 | <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> |
| 589 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
| 590 | <action function="page">confirm_action</action> |
| 591 | </actions> |
| 592 | </button> |
| 593 | |
| 594 | <button style="main_button_half_width"> |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 595 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 596 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 597 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 598 | <actions> |
| 599 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 600 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 601 | </actions> |
| 602 | </button> |
| 603 | |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 604 | <button style="main_button_half_width"> |
| 605 | <condition var1="tw_ab_device" var2="1"/> |
| 606 | <placement x="%center_x%" y="%row15a_y%"/> |
| 607 | <text>{@reboot_btn=Reboot}</text> |
| 608 | <actions> |
| 609 | <action function="set">tw_back=main2</action> |
| 610 | <action function="page">reboot</action> |
| 611 | </actions> |
| 612 | </button> |
| 613 | |
| 614 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 615 | <action> |
| 616 | <touch key="back"/> |
| 617 | <actions> |
| 618 | <action function="set">tw_clear_destination=install</action> |
| 619 | <action function="page">clear_vars</action> |
| 620 | </actions> |
| 621 | </action> |
| 622 | |
| 623 | <action> |
| 624 | <touch key="home"/> |
| 625 | <actions> |
| 626 | <action function="set">tw_clear_destination=main2</action> |
| 627 | <action function="page">clear_vars</action> |
| 628 | </actions> |
| 629 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 630 | |
| 631 | <action> |
| 632 | <conditions> |
| 633 | <condition var1="tw_install_reboot" var2="1"/> |
| 634 | <condition var1="tw_operation_status" var2="0"/> |
| 635 | <condition var1="tw_reboot_system" var2="1"/> |
| 636 | </conditions> |
| 637 | <actions> |
| 638 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 639 | <action function="page">flash_sleep_and_reboot</action> |
| 640 | </actions> |
| 641 | </action> |
| 642 | </page> |
| 643 | |
| 644 | <page name="flash_sleep_and_reboot"> |
| 645 | <template name="page"/> |
| 646 | |
| 647 | <text style="text_l"> |
| 648 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 649 | <text>{@install_zip_hdr=Install Zip}</text> |
| 650 | </text> |
| 651 | |
| 652 | <text style="text_m"> |
| 653 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 654 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 655 | </text> |
| 656 | |
| 657 | <template name="console"/> |
| 658 | |
| 659 | <template name="progress_bar"/> |
| 660 | |
| 661 | <button style="main_button_half_width"> |
| 662 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 663 | <placement x="%center_x%" y="%row15a_y%"/> |
| 664 | <text>{@cancel_btn=Cancel}</text> |
| 665 | <actions> |
| 666 | <action function="set">tw_install_reboot=0</action> |
| 667 | <action function="page">flash_done</action> |
| 668 | </actions> |
| 669 | </button> |
| 670 | |
| 671 | <action> |
| 672 | <conditions> |
| 673 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 674 | <condition var1="tw_install_reboot" var2="1"/> |
| 675 | </conditions> |
| 676 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 677 | </action> |
| 678 | |
| 679 | <action> |
| 680 | <conditions> |
| 681 | <condition var1="tw_sleep" var2="0"/> |
| 682 | <condition var1="tw_install_reboot" var2="1"/> |
| 683 | </conditions> |
| 684 | <actions> |
| 685 | <action function="sleep">50000</action> |
| 686 | <action function="set">tw_back=main2</action> |
| 687 | <action function="page">reboot_system_routine</action> |
| 688 | </actions> |
| 689 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 690 | </page> |
| 691 | |
| 692 | <page name="flashimage_confirm"> |
| 693 | <template name="page"/> |
| 694 | |
| 695 | <text style="text_l"> |
| 696 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 697 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 698 | </text> |
| 699 | |
| 700 | <text style="text_m"> |
| 701 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 702 | <text>{@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 703 | </text> |
| 704 | |
| 705 | <text style="text_m_accent"> |
| 706 | <placement x="%col1_x_left%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 707 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 708 | </text> |
| 709 | |
| 710 | <text style="text_m"> |
| 711 | <placement x="%col1_x_left%" y="%row9_y%"/> |
| 712 | <text>%tw_zip_location%</text> |
| 713 | </text> |
| 714 | |
| 715 | <text style="text_m_accent"> |
| 716 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 717 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 718 | </text> |
| 719 | |
| 720 | <text style="text_m"> |
| 721 | <placement x="%col1_x_left%" y="%row12_y%"/> |
| 722 | <text>%tw_file%</text> |
| 723 | </text> |
| 724 | |
| 725 | <partitionlist> |
| 726 | <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/> |
| 727 | <icon selected="radio_true" unselected="radio_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 728 | <text>{@flash_image_select=Select Partition to Flash Image:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 729 | <data name="tw_flash_partition"/> |
| 730 | <listtype name="flashimg"/> |
| 731 | </partitionlist> |
| 732 | |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 733 | <button style="checkbox"> |
| 734 | <conditions> |
| 735 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 736 | <condition var1="tw_flash_both_slots" op="=" var2="0"/> |
| 737 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 738 | </conditions> |
| 739 | <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/> |
| 740 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 741 | <image resource="checkbox_false"/> |
| 742 | <action function="set">tw_flash_both_slots=1</action> |
| 743 | </button> |
| 744 | |
| 745 | <button style="checkbox"> |
| 746 | <conditions> |
| 747 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 748 | <condition var1="tw_flash_both_slots" op="=" var2="1"/> |
| 749 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 750 | </conditions> |
| 751 | <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/> |
| 752 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 753 | <image resource="checkbox_true"/> |
| 754 | <action function="set">tw_flash_both_slots=0</action> |
| 755 | </button> |
| 756 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 757 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 758 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 759 | <actions> |
| 760 | <action function="set">tw_back=flashimage_confirm</action> |
| 761 | <action function="set">tw_action=flashimage</action> |
| 762 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 763 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 764 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 765 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 766 | <action function="page">action_page</action> |
| 767 | </actions> |
| 768 | <action function="flashimage"/> |
| 769 | </slider> |
| 770 | |
| 771 | <action> |
| 772 | <touch key="back"/> |
| 773 | <actions> |
| 774 | <action function="set">tw_clear_destination=install</action> |
| 775 | <action function="page">clear_vars</action> |
| 776 | </actions> |
| 777 | </action> |
| 778 | |
| 779 | <action> |
| 780 | <touch key="home"/> |
| 781 | <actions> |
| 782 | <action function="set">tw_clear_destination=main2</action> |
| 783 | <action function="page">clear_vars</action> |
| 784 | </actions> |
| 785 | </action> |
| 786 | </page> |
| 787 | |
| 788 | <page name="clear_vars"> |
| 789 | <action> |
| 790 | <action function="set">tw_operation_state=0</action> |
| 791 | <action function="set">tw_text1=</action> |
| 792 | <action function="set">tw_text2=</action> |
| 793 | <action function="set">tw_text3=</action> |
| 794 | <action function="set">tw_text4=</action> |
| 795 | <action function="set">tw_action_text1=</action> |
| 796 | <action function="set">tw_action_text2=</action> |
| 797 | <action function="set">tw_action_param=</action> |
| 798 | <action function="set">tw_has_action2=0</action> |
| 799 | <action function="set">tw_action2=</action> |
| 800 | <action function="set">tw_action2_param=</action> |
| 801 | <action function="set">tw_has_cancel=0</action> |
| 802 | <action function="set">tw_cancel_action=</action> |
| 803 | <action function="set">tw_cancel_param=</action> |
| 804 | <action function="set">tw_show_exclamation=0</action> |
| 805 | <action function="set">tw_show_reboot=0</action> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 806 | <action function="set">tw_crypto_user_id=</action> |
| 807 | <action function="set">tw_multiuser_warning_accepted=</action> |
| 808 | <action function="set">tw_multiuser_warning_destination=</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 809 | <action function="page">%tw_clear_destination%</action> |
| 810 | </action> |
| 811 | </page> |
| 812 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 813 | <page name="reboot_system_routine"> |
| 814 | <action> |
| 815 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 816 | <action function="set">tw_action_param=system</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 817 | <action function="set">tw_has_action2=0</action> |
| 818 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 819 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 820 | <action function="set">tw_text3=</action> |
| 821 | <action function="set">tw_text4=</action> |
| 822 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 823 | <action function="set">tw_action_text2=</action> |
| 824 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 825 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 826 | <action function="page">rebootcheck</action> |
| 827 | </action> |
| 828 | </page> |
| 829 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 830 | <page name="confirm_action"> |
| 831 | <template name="page"/> |
| 832 | |
| 833 | <text style="text_l"> |
| 834 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 835 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 836 | </text> |
| 837 | |
| 838 | <text style="text_m"> |
| 839 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 840 | <text/> |
| 841 | </text> |
| 842 | |
| 843 | <text style="text_m_accent"> |
| 844 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 845 | <text>%tw_text1%</text> |
| 846 | </text> |
| 847 | |
| 848 | <text style="text_m_accent"> |
| 849 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 850 | <text>%tw_text2%</text> |
| 851 | </text> |
| 852 | |
| 853 | <text style="text_m"> |
| 854 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 855 | <text>%tw_text3%</text> |
| 856 | </text> |
| 857 | |
| 858 | <text style="text_m"> |
| 859 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 860 | <text>%tw_text4%</text> |
| 861 | </text> |
| 862 | |
| 863 | <text style="text_m"> |
| 864 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 865 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 866 | </text> |
| 867 | |
| 868 | <slider style="slider_centered"> |
| 869 | <text>%tw_slider_text%</text> |
| 870 | <action function="page">action_page</action> |
| 871 | </slider> |
| 872 | |
| 873 | <action> |
| 874 | <touch key="back"/> |
| 875 | <actions> |
| 876 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 877 | <action function="page">clear_vars</action> |
| 878 | </actions> |
| 879 | </action> |
| 880 | |
| 881 | <action> |
| 882 | <touch key="home"/> |
| 883 | <action function="page">main</action> |
| 884 | </action> |
| 885 | </page> |
| 886 | |
| 887 | <page name="action_page"> |
| 888 | <template name="page"/> |
| 889 | |
| 890 | <text style="text_l"> |
| 891 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 892 | <text>%tw_action_text1%</text> |
| 893 | </text> |
| 894 | |
| 895 | <text style="text_m"> |
| 896 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 897 | <text>%tw_action_text2%</text> |
| 898 | </text> |
| 899 | |
| 900 | <template name="console"/> |
| 901 | |
| 902 | <template name="progress_bar"/> |
| 903 | |
| 904 | <button style="main_button_half_width"> |
| 905 | <condition var1="tw_has_cancel" var2="1"/> |
| 906 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 907 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 908 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 909 | </button> |
| 910 | |
| 911 | <action> |
| 912 | <condition var1="tw_operation_state" var2="1"/> |
| 913 | <actions> |
| 914 | <action function="page">action_complete</action> |
| 915 | </actions> |
| 916 | </action> |
| 917 | |
| 918 | <action> |
| 919 | <condition var1="tw_has_action2" var2="0"/> |
| 920 | <actions> |
| 921 | <action function="%tw_action%">%tw_action_param%</action> |
| 922 | </actions> |
| 923 | </action> |
| 924 | |
| 925 | <action> |
| 926 | <condition var1="tw_has_action2" var2="1"/> |
| 927 | <actions> |
| 928 | <action function="%tw_action%">%tw_action_param%</action> |
| 929 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 930 | </actions> |
| 931 | </action> |
| 932 | </page> |
| 933 | |
| 934 | <page name="singleaction_page"> |
| 935 | <template name="page"/> |
| 936 | |
| 937 | <text style="text_l"> |
| 938 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 939 | <text>%tw_action_text1%</text> |
| 940 | </text> |
| 941 | |
| 942 | <text style="text_m"> |
| 943 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 944 | <text>%tw_action_text2%</text> |
| 945 | </text> |
| 946 | |
| 947 | <template name="console"/> |
| 948 | |
| 949 | <template name="progress_bar"/> |
| 950 | |
| 951 | <action> |
| 952 | <condition var1="tw_operation_state" var2="1"/> |
| 953 | <actions> |
| 954 | <action function="set">tw_page_done=1</action> |
| 955 | </actions> |
| 956 | </action> |
| 957 | |
| 958 | <action> |
| 959 | <condition var1="tw_has_action2" var2="0"/> |
| 960 | <actions> |
| 961 | <action function="%tw_action%">%tw_action_param%</action> |
| 962 | </actions> |
| 963 | </action> |
| 964 | |
| 965 | <action> |
| 966 | <condition var1="tw_has_action2" var2="1"/> |
| 967 | <actions> |
| 968 | <action function="%tw_action%">%tw_action_param%</action> |
| 969 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 970 | </actions> |
| 971 | </action> |
| 972 | </page> |
| 973 | |
| 974 | <page name="action_complete"> |
| 975 | <template name="page"/> |
| 976 | |
| 977 | <text style="text_l"> |
| 978 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 979 | <text>%tw_complete_text1%</text> |
| 980 | </text> |
| 981 | |
| 982 | <text style="text_m_fail"> |
| 983 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 984 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 985 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 986 | </text> |
| 987 | |
| 988 | <text style="text_m"> |
| 989 | <condition var1="tw_operation_status" var2="0"/> |
| 990 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 991 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 992 | </text> |
| 993 | |
| 994 | <template name="console"/> |
| 995 | |
| 996 | <button style="main_button_half_width"> |
| 997 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 998 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 999 | <actions> |
| 1000 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1001 | <action function="page">clear_vars</action> |
| 1002 | </actions> |
| 1003 | </button> |
| 1004 | |
| 1005 | <button style="main_button_half_width"> |
| 1006 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1007 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1008 | <actions> |
| 1009 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1010 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1011 | </actions> |
| 1012 | </button> |
| 1013 | |
| 1014 | <action> |
| 1015 | <touch key="home"/> |
| 1016 | <actions> |
| 1017 | <action function="set">tw_clear_destination=main2</action> |
| 1018 | <action function="page">clear_vars</action> |
| 1019 | </actions> |
| 1020 | </action> |
| 1021 | |
| 1022 | <action> |
| 1023 | <touch key="back"/> |
| 1024 | <actions> |
| 1025 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1026 | <action function="page">clear_vars</action> |
| 1027 | </actions> |
| 1028 | </action> |
| 1029 | </page> |
| 1030 | |
| 1031 | <page name="filecheck"> |
| 1032 | <action> |
| 1033 | <action function="fileexists">%tw_filecheck%</action> |
| 1034 | </action> |
| 1035 | |
| 1036 | <action> |
| 1037 | <conditions> |
| 1038 | <condition var1="tw_operation_state" var2="1"/> |
| 1039 | <condition var1="tw_operation_status" var2="0"/> |
| 1040 | </conditions> |
| 1041 | <actions> |
| 1042 | <action function="set">tw_fileexists=1</action> |
| 1043 | <action function="page">%tw_existpage%</action> |
| 1044 | </actions> |
| 1045 | </action> |
| 1046 | |
| 1047 | <action> |
| 1048 | <conditions> |
| 1049 | <condition var1="tw_operation_state" var2="1"/> |
| 1050 | <condition var1="tw_operation_status" var2="1"/> |
| 1051 | </conditions> |
| 1052 | <actions> |
| 1053 | <action function="set">tw_fileexists=0</action> |
| 1054 | <action function="page">%tw_notexistpage%</action> |
| 1055 | </actions> |
| 1056 | </action> |
| 1057 | </page> |
| 1058 | |
| 1059 | <page name="rebootcheck"> |
| 1060 | <action> |
| 1061 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 1062 | <action function="reboot">%tw_reboot_param%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1063 | </action> |
| 1064 | |
| 1065 | <action> |
| 1066 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1067 | <action function="page">confirm_action</action> |
| 1068 | </action> |
| 1069 | </page> |
| 1070 | |
| 1071 | <page name="wipe"> |
| 1072 | <template name="page"/> |
| 1073 | |
| 1074 | <text style="text_l"> |
| 1075 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1076 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1077 | </text> |
| 1078 | |
| 1079 | <text style="text_m"> |
| 1080 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1081 | <text>{@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1082 | </text> |
| 1083 | |
| 1084 | <text style="text_m_accent"> |
| 1085 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1086 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1087 | </text> |
| 1088 | |
| 1089 | <text style="text_m_accent"> |
bigbiff | adc599e | 2020-05-28 19:36:30 +0000 | [diff] [blame] | 1090 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1091 | <text>{@factory_reset5=(not including users/lockscreen)}</text> |
| 1092 | </text> |
| 1093 | |
| 1094 | <text style="text_m_accent"> |
| 1095 | <condition var1="tw_has_data_media" var2="1"/> |
| 1096 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1097 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1098 | </text> |
| 1099 | |
| 1100 | <text style="text_m_accent"> |
| 1101 | <conditions> |
| 1102 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1103 | <condition var1="fileexists" var2="/and-sec"/> |
| 1104 | </conditions> |
| 1105 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1106 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1107 | </text> |
| 1108 | |
| 1109 | <text style="text_m_accent"> |
| 1110 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1111 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1112 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1113 | </text> |
| 1114 | |
| 1115 | <text style="text_m"> |
| 1116 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1117 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1118 | </text> |
| 1119 | |
| 1120 | <text style="text_m"> |
| 1121 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1122 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1123 | </text> |
| 1124 | |
| 1125 | <text style="text_m"> |
| 1126 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1127 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1128 | </text> |
| 1129 | |
| 1130 | <button style="main_button_half_width"> |
| 1131 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1132 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1133 | <actions> |
| 1134 | <action function="set">partitionlisterror=0</action> |
| 1135 | <action function="page">advancedwipe</action> |
| 1136 | </actions> |
| 1137 | </button> |
| 1138 | |
| 1139 | <button style="main_button_half_width"> |
| 1140 | <condition var1="tw_has_data_media" var2="1"/> |
| 1141 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1142 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1143 | <action function="page">formatdata</action> |
| 1144 | </button> |
| 1145 | |
| 1146 | <button style="main_button_half_width"> |
| 1147 | <conditions> |
| 1148 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1149 | <condition var1="tw_has_data_media" var2="0"/> |
| 1150 | </conditions> |
| 1151 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1152 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1153 | <actions> |
| 1154 | <action function="set">tw_back=wipe</action> |
| 1155 | <action function="set">tw_action=wipe</action> |
| 1156 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1157 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1158 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1159 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1160 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1161 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1162 | <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1163 | <action function="page">confirm_action</action> |
| 1164 | </actions> |
| 1165 | </button> |
| 1166 | |
| 1167 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1168 | <text>{@swipe_factory_reset=Swipe to Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1169 | <actions> |
| 1170 | <action function="set">tw_back=wipe</action> |
| 1171 | <action function="set">tw_action=wipe</action> |
| 1172 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1173 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1174 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1175 | <action function="page">action_page</action> |
| 1176 | </actions> |
| 1177 | </slider> |
| 1178 | |
| 1179 | <action> |
| 1180 | <touch key="back"/> |
| 1181 | <action function="page">main</action> |
| 1182 | </action> |
| 1183 | |
| 1184 | <action> |
| 1185 | <touch key="home"/> |
| 1186 | <action function="page">main</action> |
| 1187 | </action> |
| 1188 | </page> |
| 1189 | |
| 1190 | <page name="advancedwipe"> |
| 1191 | <template name="page"/> |
| 1192 | |
| 1193 | <action> |
| 1194 | <action function="set">tw_wipe_list=</action> |
| 1195 | </action> |
| 1196 | |
| 1197 | <text style="text_l"> |
| 1198 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1199 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1200 | </text> |
| 1201 | |
| 1202 | <text style="text_m"> |
| 1203 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1204 | <text>{@advanced_wipe_hdr=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1205 | </text> |
| 1206 | |
| 1207 | <partitionlist> |
| 1208 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1209 | <text>{@sel_part_wipe=Select Partitions to Wipe:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1210 | <data name="tw_wipe_list"/> |
| 1211 | <listtype name="wipe"/> |
| 1212 | </partitionlist> |
| 1213 | |
| 1214 | <text style="text_m_fail"> |
| 1215 | <condition var1="partitionlisterror" var2="1"/> |
| 1216 | <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1217 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1218 | </text> |
| 1219 | |
| 1220 | <button style="main_button_m"> |
| 1221 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1222 | <text>{@repair_change_btn=Repair or Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1223 | <actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1224 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1225 | <action function="page">checkpartitionlist</action> |
| 1226 | </actions> |
| 1227 | </button> |
| 1228 | |
| 1229 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1230 | <text>{@swipe_wipe=Swipe to Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1231 | <actions> |
| 1232 | <action function="set">tw_back=advancedwipe</action> |
| 1233 | <action function="set">tw_action=wipe</action> |
| 1234 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1235 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1236 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1237 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1238 | <action function="page">action_page</action> |
| 1239 | </actions> |
| 1240 | </slider> |
| 1241 | |
| 1242 | <action> |
| 1243 | <touch key="home"/> |
| 1244 | <action function="page">main</action> |
| 1245 | </action> |
| 1246 | |
| 1247 | <action> |
| 1248 | <touch key="back"/> |
| 1249 | <action function="page">wipe</action> |
| 1250 | </action> |
| 1251 | </page> |
| 1252 | |
| 1253 | <page name="formatdata"> |
| 1254 | <template name="page"/> |
| 1255 | |
| 1256 | <text style="text_l"> |
| 1257 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1258 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1259 | </text> |
| 1260 | |
| 1261 | <text style="text_m"> |
| 1262 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1263 | <text>{@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1264 | </text> |
| 1265 | |
| 1266 | <text style="text_m_fail"> |
| 1267 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1268 | <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1269 | </text> |
| 1270 | |
| 1271 | <text style="text_m_fail"> |
| 1272 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1273 | <text>{@format_data_lcp2=removes encryption on internal storage.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1274 | </text> |
| 1275 | |
Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 1276 | <text style="text_m_fail"> |
| 1277 | <condition var1="tw_has_adopted_storage" var2="1"/> |
| 1278 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 1279 | <text>{@format_data_adopted=Including Adopted Storage}</text> |
| 1280 | </text> |
| 1281 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1282 | <text style="text_m"> |
| 1283 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1284 | <text>{@format_data_undo=This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1285 | </text> |
| 1286 | |
| 1287 | <text style="text_m"> |
| 1288 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1289 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1290 | </text> |
| 1291 | |
| 1292 | <input> |
| 1293 | <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/> |
| 1294 | <text>%tw_confirm_formatdata%</text> |
| 1295 | <data name="tw_confirm_formatdata"/> |
| 1296 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1297 | <action function="page">formatdata_confirm</action> |
| 1298 | </input> |
| 1299 | |
| 1300 | <fill color="%accent_color%"> |
| 1301 | <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/> |
| 1302 | </fill> |
| 1303 | |
| 1304 | <template name="keyboardtemplate"/> |
| 1305 | |
| 1306 | <action> |
| 1307 | <touch key="home"/> |
| 1308 | <action function="page">main</action> |
| 1309 | </action> |
| 1310 | |
| 1311 | <action> |
| 1312 | <touch key="back"/> |
| 1313 | <action function="page">wipe</action> |
| 1314 | </action> |
| 1315 | </page> |
| 1316 | |
| 1317 | <page name="formatdata_confirm"> |
| 1318 | <action> |
| 1319 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1320 | <actions> |
| 1321 | <action function="set">tw_back=formatdata</action> |
| 1322 | <action function="set">tw_action=wipe</action> |
| 1323 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1324 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1325 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1326 | <action function="page">action_page</action> |
| 1327 | </actions> |
| 1328 | </action> |
| 1329 | |
| 1330 | <action> |
| 1331 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1332 | <action function="page">formatdata</action> |
| 1333 | </action> |
| 1334 | </page> |
| 1335 | |
| 1336 | <page name="checkpartitionlist"> |
| 1337 | <action> |
| 1338 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1339 | <actions> |
| 1340 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1341 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1342 | <action function="page">partitionoptions</action> |
| 1343 | </actions> |
| 1344 | </action> |
| 1345 | |
| 1346 | <action> |
| 1347 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1348 | <actions> |
| 1349 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1350 | <action function="page">advancedwipe</action> |
| 1351 | </actions> |
| 1352 | </action> |
| 1353 | </page> |
| 1354 | |
| 1355 | <page name="partitionoptions"> |
| 1356 | <template name="page"/> |
| 1357 | |
| 1358 | <text style="text_l"> |
| 1359 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1360 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1361 | </text> |
| 1362 | |
| 1363 | <text style="text_m"> |
| 1364 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1365 | <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1366 | </text> |
| 1367 | |
| 1368 | <text style="text_m_accent"> |
| 1369 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1370 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1371 | </text> |
| 1372 | |
| 1373 | <text style="text_m_accent"> |
| 1374 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1375 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1376 | </text> |
| 1377 | |
| 1378 | <text style="text_m"> |
| 1379 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1380 | <placement x="%col2_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1381 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1382 | </text> |
| 1383 | |
| 1384 | <text style="text_m"> |
| 1385 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1386 | <placement x="%col2_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1387 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1388 | </text> |
| 1389 | |
| 1390 | <text style="text_m"> |
| 1391 | <condition var1="tw_partition_removable" var2="1"/> |
| 1392 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1393 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1394 | </text> |
| 1395 | |
| 1396 | <text style="text_m"> |
| 1397 | <condition var1="tw_partition_removable" var2="0"/> |
| 1398 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1399 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1400 | </text> |
| 1401 | |
| 1402 | <text style="text_m"> |
| 1403 | <placement x="%col2_x_left%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1404 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1405 | </text> |
| 1406 | |
| 1407 | <text style="text_m"> |
| 1408 | <placement x="%col1_x_right%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1409 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1410 | </text> |
| 1411 | |
| 1412 | <text style="text_m"> |
| 1413 | <placement x="%col2_x_left%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1414 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1415 | </text> |
| 1416 | |
| 1417 | <text style="text_m"> |
| 1418 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1419 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1420 | </text> |
| 1421 | |
| 1422 | <button style="main_button_half_width"> |
| 1423 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1424 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1425 | <text>{@resize_btn=Resize File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1426 | <actions> |
| 1427 | <action function="set">tw_back=partitionoptions</action> |
| 1428 | <action function="set">tw_action=resize</action> |
| 1429 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1430 | <action function="set">tw_has_action2=1</action> |
| 1431 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1432 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1433 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1434 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1435 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1436 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1437 | <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1438 | <action function="page">confirm_action</action> |
| 1439 | </actions> |
| 1440 | </button> |
| 1441 | |
| 1442 | <button style="main_button_half_width"> |
| 1443 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1444 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1445 | <text>{@repair_btn=Repair File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1446 | <actions> |
| 1447 | <action function="set">tw_back=partitionoptions</action> |
| 1448 | <action function="set">tw_action=repair</action> |
| 1449 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1450 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1451 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1452 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1453 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1454 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1455 | <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1456 | <action function="page">confirm_action</action> |
| 1457 | </actions> |
| 1458 | </button> |
| 1459 | |
| 1460 | <button style="main_button_half_width"> |
| 1461 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1462 | <text>{@change_fs_btn=Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1463 | <action function="page">selectfilesystem</action> |
| 1464 | </button> |
| 1465 | |
| 1466 | <action> |
| 1467 | <touch key="home"/> |
| 1468 | <action function="page">main</action> |
| 1469 | </action> |
| 1470 | |
| 1471 | <action> |
| 1472 | <touch key="back"/> |
| 1473 | <action function="page">advancedwipe</action> |
| 1474 | </action> |
| 1475 | </page> |
| 1476 | |
| 1477 | <page name="refreshfilesystem"> |
| 1478 | <action> |
| 1479 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1480 | <actions> |
| 1481 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1482 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1483 | <action function="page">selectfilesystem</action> |
| 1484 | </actions> |
| 1485 | </action> |
| 1486 | |
| 1487 | <action> |
| 1488 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1489 | <actions> |
| 1490 | <action function="set">partitionlisterror=1</action> |
| 1491 | <action function="set">tw_wipe_list=</action> |
| 1492 | <action function="page">advancedwipe</action> |
| 1493 | </actions> |
| 1494 | </action> |
| 1495 | </page> |
| 1496 | |
| 1497 | <page name="selectfilesystem"> |
| 1498 | <template name="page"/> |
| 1499 | |
| 1500 | <text style="text_l"> |
| 1501 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1502 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1503 | </text> |
| 1504 | |
| 1505 | <text style="text_m"> |
| 1506 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1507 | <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1508 | </text> |
| 1509 | |
| 1510 | <text style="text_m_accent"> |
| 1511 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1512 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1513 | </text> |
| 1514 | |
| 1515 | <text style="text_m_accent"> |
| 1516 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1517 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1518 | </text> |
| 1519 | |
| 1520 | <text style="text_m_fail"> |
| 1521 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1522 | <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1523 | </text> |
| 1524 | |
| 1525 | <text style="text_m_fail"> |
| 1526 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1527 | <text>{@change_fs_warn2=file systems. Proceed with caution!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1528 | </text> |
| 1529 | |
| 1530 | <button style="main_button_half_width"> |
| 1531 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1532 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1533 | <text>EXT2</text> |
| 1534 | <actions> |
| 1535 | <action function="set">tw_back=refreshfilesystem</action> |
| 1536 | <action function="set">tw_action=changefilesystem</action> |
| 1537 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1538 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1539 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1540 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1541 | <action function="set">tw_text2=EXT2</action> |
| 1542 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1543 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1544 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1545 | <action function="page">confirm_action</action> |
| 1546 | </actions> |
| 1547 | </button> |
| 1548 | |
| 1549 | <button style="main_button_half_width"> |
| 1550 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1551 | <placement x="%col2_x_left%" y="%row11_y%"/> |
| 1552 | <text>EXT3</text> |
| 1553 | <actions> |
| 1554 | <action function="set">tw_back=refreshfilesystem</action> |
| 1555 | <action function="set">tw_action=changefilesystem</action> |
| 1556 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1557 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1558 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1559 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1560 | <action function="set">tw_text2=EXT3</action> |
| 1561 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1562 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1563 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1564 | <action function="page">confirm_action</action> |
| 1565 | </actions> |
| 1566 | </button> |
| 1567 | |
| 1568 | <button style="main_button_half_width"> |
| 1569 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1570 | <placement x="%center_x%" y="%row11_y%"/> |
| 1571 | <text>EXT4</text> |
| 1572 | <actions> |
| 1573 | <action function="set">tw_back=refreshfilesystem</action> |
| 1574 | <action function="set">tw_action=changefilesystem</action> |
| 1575 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1576 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1577 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1578 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1579 | <action function="set">tw_text2=EXT4</action> |
| 1580 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1581 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1582 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1583 | <action function="page">confirm_action</action> |
| 1584 | </actions> |
| 1585 | </button> |
| 1586 | |
| 1587 | <button style="main_button_half_width"> |
| 1588 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1589 | <placement x="%col2_x_right%" y="%row11_y%"/> |
| 1590 | <text>FAT</text> |
| 1591 | <actions> |
| 1592 | <action function="set">tw_back=refreshfilesystem</action> |
| 1593 | <action function="set">tw_action=changefilesystem</action> |
| 1594 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1595 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1596 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1597 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1598 | <action function="set">tw_text2=FAT</action> |
| 1599 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1600 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1601 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1602 | <action function="page">confirm_action</action> |
| 1603 | </actions> |
| 1604 | </button> |
| 1605 | |
| 1606 | <button style="main_button_half_width"> |
| 1607 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1608 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
| 1609 | <text>exFAT</text> |
| 1610 | <actions> |
| 1611 | <action function="set">tw_back=refreshfilesystem</action> |
| 1612 | <action function="set">tw_action=changefilesystem</action> |
| 1613 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1614 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1615 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1616 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1617 | <action function="set">tw_text2=exFAT</action> |
| 1618 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1619 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1620 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1621 | <action function="page">confirm_action</action> |
| 1622 | </actions> |
| 1623 | </button> |
| 1624 | |
| 1625 | <button style="main_button_half_width"> |
| 1626 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1627 | <placement x="%center_x%" y="%row15a_y%"/> |
| 1628 | <text>F2FS</text> |
| 1629 | <actions> |
| 1630 | <action function="set">tw_back=refreshfilesystem</action> |
| 1631 | <action function="set">tw_action=changefilesystem</action> |
| 1632 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1633 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1634 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1635 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1636 | <action function="set">tw_text2=F2FS</action> |
| 1637 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1638 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1639 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1640 | <action function="page">confirm_action</action> |
| 1641 | </actions> |
| 1642 | </button> |
| 1643 | |
| 1644 | <action> |
| 1645 | <touch key="home"/> |
| 1646 | <action function="page">main</action> |
| 1647 | </action> |
| 1648 | |
| 1649 | <action> |
| 1650 | <touch key="back"/> |
| 1651 | <action function="page">partitionoptions</action> |
| 1652 | </action> |
| 1653 | </page> |
| 1654 | |
| 1655 | <page name="backup"> |
| 1656 | <template name="page"/> |
| 1657 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1658 | <action> |
| 1659 | <conditions> |
| 1660 | <condition var1="tw_is_fbe" var2="1"/> |
| 1661 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 1662 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 1663 | </conditions> |
| 1664 | <actions> |
| 1665 | <action function="set">tw_multiuser_warning_destination=backup</action> |
| 1666 | <action function="page">multiuser_warning</action> |
| 1667 | </actions> |
| 1668 | </action> |
| 1669 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1670 | <text style="text_l"> |
| 1671 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1672 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1673 | </text> |
| 1674 | |
| 1675 | <text style="text_m"> |
| 1676 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1677 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1678 | </text> |
| 1679 | |
| 1680 | <text style="text_m_accent"> |
| 1681 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1682 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1683 | </text> |
| 1684 | |
| 1685 | <text style="text_m"> |
| 1686 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 1687 | <text>%tw_backup_name%</text> |
| 1688 | </text> |
| 1689 | |
| 1690 | <fill color="%fileselector_linecolor%"> |
| 1691 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1692 | </fill> |
| 1693 | |
| 1694 | <button> |
| 1695 | <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/> |
| 1696 | <fill color="%transparent%"/> |
| 1697 | <actions> |
| 1698 | <action function="set">tw_fileexists=0</action> |
| 1699 | <action function="page">backupname1</action> |
| 1700 | </actions> |
| 1701 | </button> |
| 1702 | |
| 1703 | <partitionlist> |
| 1704 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1705 | <text>{@sel_part_backup=Select Partitions to Backup:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1706 | <data name="tw_backup_list"/> |
| 1707 | <listtype name="backup"/> |
| 1708 | </partitionlist> |
| 1709 | |
| 1710 | <text style="text_m_accent"> |
| 1711 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1712 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1713 | </text> |
| 1714 | |
| 1715 | <text style="text_m"> |
| 1716 | <conditions> |
| 1717 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1718 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1719 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1720 | </conditions> |
| 1721 | <placement x="%col1_x_right%" y="%row3_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1722 | <text>{@enc_disabled=disabled - set a password to enable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1723 | </text> |
| 1724 | |
| 1725 | <text style="text_m"> |
| 1726 | <conditions> |
| 1727 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1728 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1729 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1730 | </conditions> |
| 1731 | <placement x="%col1_x_right%" y="%row3_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1732 | <text>{@enc_enabled=enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1733 | </text> |
| 1734 | |
| 1735 | <fill color="%fileselector_linecolor%"> |
| 1736 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1737 | </fill> |
| 1738 | |
| 1739 | <button> |
| 1740 | <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/> |
| 1741 | <fill color="%transparent%"/> |
| 1742 | <actions> |
| 1743 | <action function="set">tw_password_not_match=0</action> |
| 1744 | <action function="page">backupencryption</action> |
| 1745 | </actions> |
| 1746 | </button> |
| 1747 | |
| 1748 | <text style="text_m_accent"> |
| 1749 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1750 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1751 | </text> |
| 1752 | |
| 1753 | <checkbox> |
| 1754 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1755 | <text>{@enable_backup_comp_chk=Enable compression}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1756 | <data variable="tw_use_compression"/> |
| 1757 | </checkbox> |
| 1758 | |
| 1759 | <checkbox> |
| 1760 | <placement x="%col1_x_right%" y="%row7a_y%"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 1761 | <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text> |
| 1762 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1763 | </checkbox> |
| 1764 | |
| 1765 | <checkbox> |
| 1766 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 1767 | <text>{@disable_backup_space_chk=Disable free space check before backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1768 | <data variable="tw_disable_free_space"/> |
| 1769 | </checkbox> |
| 1770 | |
| 1771 | <button style="main_button_half_width"> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1772 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1773 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1774 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1775 | <actions> |
| 1776 | <action function="set">tw_back=backup</action> |
| 1777 | <action function="overlay">select_storage</action> |
| 1778 | </actions> |
| 1779 | </button> |
| 1780 | |
| 1781 | <button style="main_button_half_width"> |
| 1782 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1783 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1784 | <actions> |
| 1785 | <action function="refreshsizes"/> |
| 1786 | <action function="page">backup</action> |
| 1787 | </actions> |
| 1788 | </button> |
| 1789 | |
| 1790 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1791 | <text>{@swipe_backup=Swipe to Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1792 | <action function="page">backup_run</action> |
| 1793 | </slider> |
| 1794 | |
| 1795 | <action> |
| 1796 | <touch key="home"/> |
| 1797 | <action function="page">main</action> |
| 1798 | </action> |
| 1799 | |
| 1800 | <action> |
| 1801 | <touch key="back"/> |
| 1802 | <action function="page">main</action> |
| 1803 | </action> |
| 1804 | </page> |
| 1805 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1806 | <page name="multiuser_warning"> |
| 1807 | <template name="page"/> |
| 1808 | |
| 1809 | <text style="text_l"> |
| 1810 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 1811 | <text>{@multiuser_warning_hdr=Multiuser Warning}</text> |
| 1812 | </text> |
| 1813 | |
| 1814 | <text style="text_m_fail"> |
| 1815 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
| 1816 | <text>{@multiuser_warning1=Not all users decrypted!}</text> |
| 1817 | </text> |
| 1818 | |
| 1819 | <text style="text_m_fail"> |
| 1820 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
| 1821 | <text>{@multiuser_warning2=Backup/restore operations may fail!}</text> |
| 1822 | </text> |
| 1823 | |
| 1824 | <button style="main_button_m"> |
| 1825 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 1826 | <text>{@decrypt_users=Decrypt Users}</text> |
| 1827 | <action function="page">decrypt_users</action> |
| 1828 | </button> |
| 1829 | |
| 1830 | <slider> |
| 1831 | <text>{@multiuser_warning_accept=Continue Anyway}</text> |
| 1832 | <actions> |
| 1833 | <action function="set">tw_multiuser_warning_accepted=1</action> |
| 1834 | <action function="page">%tw_multiuser_warning_destination%</action> |
| 1835 | </actions> |
| 1836 | </slider> |
| 1837 | |
| 1838 | <action> |
| 1839 | <touch key="home"/> |
| 1840 | <action function="page">main</action> |
| 1841 | </action> |
| 1842 | |
| 1843 | <action> |
| 1844 | <touch key="back"/> |
| 1845 | <action function="page">main</action> |
| 1846 | </action> |
| 1847 | </page> |
| 1848 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1849 | <page name="backupname1"> |
| 1850 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1851 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1852 | <action function="generatebackupname"/> |
| 1853 | </action> |
| 1854 | |
| 1855 | <action> |
| 1856 | <action function="page">backupname2</action> |
| 1857 | </action> |
| 1858 | </page> |
| 1859 | |
| 1860 | <page name="backupname2"> |
| 1861 | <template name="page"/> |
| 1862 | |
| 1863 | <text style="text_l"> |
| 1864 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1865 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1866 | </text> |
| 1867 | |
| 1868 | <text style="text_m"> |
| 1869 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1870 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1871 | </text> |
| 1872 | |
| 1873 | <text style="text_m_accent"> |
| 1874 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1875 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1876 | </text> |
| 1877 | |
| 1878 | <input> |
| 1879 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 1880 | <text>%tw_backup_name%</text> |
| 1881 | <data name="tw_backup_name"/> |
| 1882 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 1883 | <actions> |
| 1884 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1885 | <action function="set">tw_existpage=backupname2</action> |
| 1886 | <action function="set">tw_notexistpage=backup</action> |
| 1887 | <action function="page">filecheck</action> |
| 1888 | </actions> |
| 1889 | </input> |
| 1890 | |
| 1891 | <fill color="%accent_color%"> |
| 1892 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1893 | </fill> |
| 1894 | |
| 1895 | <fill color="%text_fail_color%"> |
| 1896 | <condition var1="tw_fileexists" var2="1"/> |
| 1897 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1898 | </fill> |
| 1899 | |
| 1900 | <text style="text_m_fail"> |
| 1901 | <condition var1="tw_fileexists" var2="1"/> |
| 1902 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1903 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1904 | </text> |
| 1905 | |
| 1906 | <button style="main_button_half_width_low"> |
| 1907 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1908 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1909 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1910 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1911 | <action function="page">backup</action> |
| 1912 | </actions> |
| 1913 | </button> |
| 1914 | |
| 1915 | <button style="main_button_half_width_low"> |
| 1916 | <placement x="%date_button_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1917 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1918 | <action function="appenddatetobackupname"/> |
| 1919 | </button> |
| 1920 | |
| 1921 | <template name="keyboardtemplate"/> |
| 1922 | |
| 1923 | <action> |
| 1924 | <touch key="home"/> |
| 1925 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1926 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1927 | <action function="page">main</action> |
| 1928 | </actions> |
| 1929 | </action> |
| 1930 | |
| 1931 | <action> |
| 1932 | <touch key="back"/> |
| 1933 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1934 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1935 | <action function="page">backup</action> |
| 1936 | </actions> |
| 1937 | </action> |
| 1938 | </page> |
| 1939 | |
| 1940 | <page name="backupencryption"> |
| 1941 | <template name="page"/> |
| 1942 | |
| 1943 | <text style="text_l"> |
| 1944 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1945 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1946 | </text> |
| 1947 | |
| 1948 | <text style="text_m"> |
| 1949 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1950 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1951 | </text> |
| 1952 | |
| 1953 | <text style="text_m_accent"> |
| 1954 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1955 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1956 | </text> |
| 1957 | |
| 1958 | <input> |
| 1959 | <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/> |
| 1960 | <text>%tw_backup_encrypt_display%</text> |
| 1961 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 1962 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 1963 | <action function="page">backupencryption2</action> |
| 1964 | </input> |
| 1965 | |
| 1966 | <fill color="%accent_color%"> |
| 1967 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1968 | </fill> |
| 1969 | |
| 1970 | <fill color="%text_fail_color%"> |
| 1971 | <condition var1="tw_password_not_match" var2="1"/> |
| 1972 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1973 | </fill> |
| 1974 | |
| 1975 | <text style="text_m_fail"> |
| 1976 | <condition var1="tw_password_not_match" var2="1"/> |
| 1977 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1978 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1979 | </text> |
| 1980 | |
| 1981 | <button style="main_button_half_width_low"> |
| 1982 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1983 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1984 | <actions> |
| 1985 | <action function="set">tw_encrypt_backup=0</action> |
| 1986 | <action function="set">tw_backup_password=</action> |
| 1987 | <action function="set">tw_backup_password2=</action> |
| 1988 | <action function="set">tw_backup_encrypt_display=</action> |
| 1989 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1990 | <action function="page">backup</action> |
| 1991 | </actions> |
| 1992 | </button> |
| 1993 | |
| 1994 | <template name="keyboardtemplate"/> |
| 1995 | |
| 1996 | <action> |
| 1997 | <touch key="home"/> |
| 1998 | <action function="page">main</action> |
| 1999 | </action> |
| 2000 | |
| 2001 | <action> |
| 2002 | <touch key="back"/> |
| 2003 | <action function="page">backup</action> |
| 2004 | </action> |
| 2005 | </page> |
| 2006 | |
| 2007 | <page name="backupencryption2"> |
| 2008 | <template name="page"/> |
| 2009 | |
| 2010 | <text style="text_l"> |
| 2011 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2012 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2013 | </text> |
| 2014 | |
| 2015 | <text style="text_m"> |
| 2016 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2017 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2018 | </text> |
| 2019 | |
| 2020 | <text style="text_m_accent"> |
| 2021 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2022 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2023 | </text> |
| 2024 | |
| 2025 | <input> |
| 2026 | <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/> |
| 2027 | <text>%tw_backup_encrypt_display2%</text> |
| 2028 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2029 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2030 | <action function="page">checkbackuppassword</action> |
| 2031 | </input> |
| 2032 | |
| 2033 | <fill color="%accent_color%"> |
| 2034 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2035 | </fill> |
| 2036 | |
| 2037 | <text style="text_m"> |
| 2038 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2039 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2040 | </text> |
| 2041 | |
| 2042 | <button style="main_button_half_width_low"> |
| 2043 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2044 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2045 | <actions> |
| 2046 | <action function="set">tw_encrypt_backup=0</action> |
| 2047 | <action function="set">tw_backup_password=</action> |
| 2048 | <action function="set">tw_backup_password2=</action> |
| 2049 | <action function="set">tw_backup_encrypt_display=</action> |
| 2050 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2051 | <action function="page">backup</action> |
| 2052 | </actions> |
| 2053 | </button> |
| 2054 | |
| 2055 | <template name="keyboardtemplate"/> |
| 2056 | |
| 2057 | <action> |
| 2058 | <touch key="home"/> |
| 2059 | <action function="page">main</action> |
| 2060 | </action> |
| 2061 | |
| 2062 | <action> |
| 2063 | <touch key="back"/> |
| 2064 | <action function="page">backup</action> |
| 2065 | </action> |
| 2066 | </page> |
| 2067 | |
| 2068 | <page name="checkbackuppassword"> |
| 2069 | <action> |
| 2070 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2071 | <actions> |
| 2072 | <action function="set">tw_encrypt_backup=1</action> |
| 2073 | <action function="page">backup</action> |
| 2074 | </actions> |
| 2075 | </action> |
| 2076 | |
| 2077 | <action> |
| 2078 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2079 | <actions> |
| 2080 | <action function="set">tw_encrypt_backup=0</action> |
| 2081 | <action function="set">tw_password_not_match=1</action> |
| 2082 | <action function="set">tw_backup_password=</action> |
| 2083 | <action function="set">tw_backup_password2=</action> |
| 2084 | <action function="set">tw_backup_encrypt_display=</action> |
| 2085 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2086 | <action function="page">backupencryption</action> |
| 2087 | </actions> |
| 2088 | </action> |
| 2089 | </page> |
| 2090 | |
| 2091 | <page name="backup_run"> |
| 2092 | <template name="page"/> |
| 2093 | |
| 2094 | <text style="text_l"> |
| 2095 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2096 | <text>%tw_operation%</text> |
| 2097 | </text> |
| 2098 | |
| 2099 | <text style="text_m"> |
| 2100 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2101 | <text>%tw_partition% Partition</text> |
| 2102 | </text> |
| 2103 | |
| 2104 | <template name="console"/> |
| 2105 | |
| 2106 | <template name="progress_bar"/> |
| 2107 | |
| 2108 | <text style="text_m_accent"> |
| 2109 | <placement x="%progress_text_x%" y="%progress_text_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2110 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2111 | </text> |
| 2112 | |
| 2113 | <text style="text_m"> |
| 2114 | <placement x="%progress_text_x%" y="%row17_y%"/> |
| 2115 | <text>%tw_file_progress%</text> |
| 2116 | </text> |
| 2117 | |
| 2118 | <text style="text_m"> |
| 2119 | <placement x="%progress_text_x%" y="%row18_y%"/> |
| 2120 | <text>%tw_size_progress%</text> |
| 2121 | </text> |
| 2122 | |
| 2123 | <button style="main_button_half_width"> |
| 2124 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2125 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2126 | <action function="cancelbackup"/> |
| 2127 | </button> |
| 2128 | |
| 2129 | <action> |
| 2130 | <action function="nandroid">backup</action> |
| 2131 | </action> |
| 2132 | |
| 2133 | <action> |
| 2134 | <condition var1="tw_operation_state" var2="1"/> |
| 2135 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2136 | <actions> |
| 2137 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2138 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2139 | <action function="set">tw_show_reboot=1</action> |
| 2140 | <action function="page">action_complete</action> |
| 2141 | </actions> |
| 2142 | </action> |
| 2143 | |
| 2144 | <action> |
| 2145 | <condition var1="tw_operation_state" var2="1"/> |
| 2146 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2147 | <actions> |
| 2148 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2149 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2150 | <action function="set">tw_show_reboot=1</action> |
| 2151 | <action function="page">action_complete</action> |
| 2152 | </actions> |
| 2153 | </action> |
| 2154 | </page> |
| 2155 | |
| 2156 | <page name="restore"> |
| 2157 | <template name="page"/> |
| 2158 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2159 | <action> |
| 2160 | <conditions> |
| 2161 | <condition var1="tw_is_fbe" var2="1"/> |
| 2162 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2163 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2164 | </conditions> |
| 2165 | <actions> |
| 2166 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2167 | <action function="page">multiuser_warning</action> |
| 2168 | </actions> |
| 2169 | </action> |
| 2170 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2171 | <text style="text_l"> |
| 2172 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2173 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2174 | </text> |
| 2175 | |
| 2176 | <text style="text_m"> |
| 2177 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2178 | <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2179 | </text> |
| 2180 | |
| 2181 | <template name="sort_options"/> |
| 2182 | |
| 2183 | <fileselector> |
| 2184 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2185 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2186 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2187 | <path name="tw_backups_folder"/> |
| 2188 | <data name="tw_restore" default=""/> |
| 2189 | <selection name="tw_restore_name"/> |
| 2190 | </fileselector> |
| 2191 | |
| 2192 | <button style="main_button_half_width_low"> |
| 2193 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2194 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2195 | <actions> |
| 2196 | <action function="set">tw_back=restore</action> |
| 2197 | <action function="overlay">select_storage</action> |
| 2198 | </actions> |
| 2199 | </button> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2200 | <action> |
| 2201 | <condition var1="tw_crypto_pwtype" op="!=" var2="0"/> |
| 2202 | <actions> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 2203 | <action function="page">restore_keymaster</action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2204 | </actions> |
| 2205 | </action> |
| 2206 | |
| 2207 | <action> |
| 2208 | <condition var1="tw_restore" op="modified"/> |
| 2209 | <actions> |
| 2210 | <action function="readBackup"/> |
| 2211 | <action function="page">restore_read</action> |
| 2212 | </actions> |
| 2213 | </action> |
| 2214 | |
| 2215 | <action> |
| 2216 | <touch key="home"/> |
| 2217 | <action function="page">main</action> |
| 2218 | </action> |
| 2219 | |
| 2220 | <action> |
| 2221 | <touch key="back"/> |
| 2222 | <action function="page">main</action> |
| 2223 | </action> |
| 2224 | </page> |
| 2225 | |
| 2226 | |
| 2227 | <page name="restore_force"> |
| 2228 | <template name="page"/> |
| 2229 | |
| 2230 | <action> |
| 2231 | <conditions> |
| 2232 | <condition var1="tw_is_fbe" var2="1"/> |
| 2233 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2234 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2235 | </conditions> |
| 2236 | <actions> |
sekaiacg | 750c6aa | 2021-12-06 12:27:46 +0800 | [diff] [blame] | 2237 | <action function="set">tw_multiuser_warning_destination=restore_force</action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2238 | <action function="page">multiuser_warning</action> |
| 2239 | </actions> |
| 2240 | </action> |
| 2241 | |
| 2242 | <text style="text_l"> |
| 2243 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2244 | <text>{@restore_hdr=Restore}</text> |
| 2245 | </text> |
| 2246 | |
| 2247 | <text style="text_m"> |
| 2248 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2249 | <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 2250 | </text> |
| 2251 | |
| 2252 | <template name="sort_options"/> |
| 2253 | |
| 2254 | <fileselector> |
| 2255 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/> |
| 2256 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
| 2257 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
| 2258 | <path name="tw_backups_folder"/> |
| 2259 | <data name="tw_restore" default=""/> |
| 2260 | <selection name="tw_restore_name"/> |
| 2261 | </fileselector> |
| 2262 | |
| 2263 | <button style="main_button_half_width_low"> |
| 2264 | <placement x="%col_button_right%" y="%row16a_y%"/> |
| 2265 | <text>{@select_storage_btn=Select Storage}</text> |
| 2266 | <actions> |
| 2267 | <action function="set">tw_back=restore</action> |
| 2268 | <action function="overlay">select_storage</action> |
| 2269 | </actions> |
| 2270 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2271 | |
| 2272 | <action> |
| 2273 | <condition var1="tw_restore" op="modified"/> |
| 2274 | <actions> |
| 2275 | <action function="readBackup"/> |
| 2276 | <action function="page">restore_read</action> |
| 2277 | </actions> |
| 2278 | </action> |
| 2279 | |
| 2280 | <action> |
| 2281 | <touch key="home"/> |
| 2282 | <action function="page">main</action> |
| 2283 | </action> |
| 2284 | |
| 2285 | <action> |
| 2286 | <touch key="back"/> |
| 2287 | <action function="page">main</action> |
| 2288 | </action> |
| 2289 | </page> |
| 2290 | |
| 2291 | <page name="restore_read"> |
| 2292 | <action> |
| 2293 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2294 | <actions> |
| 2295 | <action function="set">tw_password_fail=0</action> |
| 2296 | <action function="page">restore_decrypt</action> |
| 2297 | </actions> |
| 2298 | </action> |
| 2299 | |
| 2300 | <action> |
| 2301 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2302 | <actions> |
| 2303 | <action function="page">restore_select</action> |
| 2304 | </actions> |
| 2305 | </action> |
| 2306 | </page> |
| 2307 | |
| 2308 | <page name="restore_decrypt"> |
| 2309 | <template name="page"/> |
| 2310 | |
| 2311 | <text style="text_l"> |
| 2312 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2313 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2314 | </text> |
| 2315 | |
| 2316 | <text style="text_m"> |
| 2317 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2318 | <text>{@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2319 | </text> |
| 2320 | |
| 2321 | <text style="text_m_accent"> |
| 2322 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2323 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2324 | </text> |
| 2325 | |
| 2326 | <input> |
| 2327 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 2328 | <text>%tw_restore_display%</text> |
| 2329 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2330 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2331 | <action function="page">try_restore_decrypt</action> |
| 2332 | </input> |
| 2333 | |
| 2334 | <fill color="%accent_color%"> |
| 2335 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2336 | </fill> |
| 2337 | |
| 2338 | <fill color="%text_fail_color%"> |
| 2339 | <condition var1="tw_password_fail" var2="1"/> |
| 2340 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2341 | </fill> |
| 2342 | |
| 2343 | <text style="text_m_fail"> |
| 2344 | <condition var1="tw_password_fail" var2="1"/> |
| 2345 | <placement x="%col1_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2346 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2347 | </text> |
| 2348 | |
| 2349 | <button style="main_button_half_width_low"> |
| 2350 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2351 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2352 | <actions> |
| 2353 | <action function="set">tw_page_done=1</action> |
| 2354 | <action function="page">restore</action> |
| 2355 | </actions> |
| 2356 | </button> |
| 2357 | |
| 2358 | <button style="main_button_half_width_low"> |
| 2359 | <placement x="%col_button_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2360 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2361 | <actions> |
| 2362 | <action function="set">tw_back=restore</action> |
| 2363 | <action function="set">tw_action=cmd</action> |
| 2364 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2365 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2366 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2367 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2368 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2369 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2370 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2371 | <action function="page">confirm_action</action> |
| 2372 | </actions> |
| 2373 | </button> |
| 2374 | |
| 2375 | <template name="keyboardtemplate"/> |
| 2376 | |
| 2377 | <action> |
| 2378 | <touch key="home"/> |
| 2379 | <action function="page">main</action> |
| 2380 | </action> |
| 2381 | |
| 2382 | <action> |
| 2383 | <touch key="back"/> |
| 2384 | <action function="page">restore</action> |
| 2385 | </action> |
| 2386 | </page> |
| 2387 | |
| 2388 | <page name="try_restore_decrypt"> |
| 2389 | <template name="page"/> |
| 2390 | |
| 2391 | <text style="text_l"> |
| 2392 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2393 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2394 | </text> |
| 2395 | |
| 2396 | <text style="text_m"> |
| 2397 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2398 | <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2399 | </text> |
| 2400 | |
| 2401 | <template name="console"/> |
| 2402 | |
| 2403 | <template name="progress_bar"/> |
| 2404 | |
| 2405 | <action> |
| 2406 | <action function="decrypt_backup"/> |
| 2407 | </action> |
| 2408 | |
| 2409 | <action> |
| 2410 | <conditions> |
| 2411 | <condition var1="tw_operation_state" var2="1"/> |
| 2412 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2413 | </conditions> |
| 2414 | <actions> |
| 2415 | <action function="set">tw_password_fail=1</action> |
| 2416 | <action function="page">restore_decrypt</action> |
| 2417 | </actions> |
| 2418 | </action> |
| 2419 | |
| 2420 | <action> |
| 2421 | <conditions> |
| 2422 | <condition var1="tw_operation_state" var2="1"/> |
| 2423 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2424 | </conditions> |
| 2425 | <actions> |
| 2426 | <action function="set">tw_page_done=1</action> |
| 2427 | <action function="page">restore_select</action> |
| 2428 | </actions> |
| 2429 | </action> |
| 2430 | </page> |
| 2431 | |
| 2432 | <page name="restore_select"> |
| 2433 | <template name="page"/> |
| 2434 | |
| 2435 | <text style="text_l"> |
| 2436 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2437 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2438 | </text> |
| 2439 | |
| 2440 | <text style="text_m"> |
| 2441 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2442 | <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2443 | </text> |
| 2444 | |
| 2445 | <text style="text_m_accent"> |
| 2446 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2447 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2448 | </text> |
| 2449 | |
| 2450 | <text style="text_m"> |
| 2451 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 2452 | <text>%tw_restore_name%</text> |
| 2453 | </text> |
| 2454 | |
| 2455 | <fill color="%fileselector_linecolor%"> |
| 2456 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/> |
| 2457 | </fill> |
| 2458 | |
| 2459 | <button> |
| 2460 | <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/> |
| 2461 | <fill color="%transparent%"/> |
| 2462 | <actions> |
| 2463 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2464 | <action function="set">tw_fileexists=0</action> |
| 2465 | <action function="page">renamebackup</action> |
| 2466 | </actions> |
| 2467 | </button> |
| 2468 | |
| 2469 | <partitionlist> |
| 2470 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2471 | <text>{@restore_sel_part=Select Partitions to Restore:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2472 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2473 | <listtype name="restore"/> |
| 2474 | </partitionlist> |
| 2475 | |
| 2476 | <text style="text_m_accent"> |
| 2477 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2478 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2479 | </text> |
| 2480 | |
| 2481 | <checkbox> |
| 2482 | <placement x="%col1_x_right%" y="%row6_y%"/> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2483 | <condition var1="tw_enable_adb_backup" op="=" var2="0"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2484 | <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text> |
| 2485 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2486 | </checkbox> |
| 2487 | |
| 2488 | <button style="main_button_half_width"> |
| 2489 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2490 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2491 | <actions> |
| 2492 | <action function="set">tw_back=restore</action> |
| 2493 | <action function="set">tw_action=cmd</action> |
| 2494 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2495 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2496 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2497 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2498 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2499 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2500 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2501 | <action function="page">confirm_action</action> |
| 2502 | </actions> |
| 2503 | </button> |
| 2504 | |
| 2505 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2506 | <text>{@swipe_restore=Swipe to Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2507 | <action function="page">restore_run</action> |
| 2508 | </slider> |
| 2509 | |
| 2510 | <action> |
| 2511 | <touch key="home"/> |
| 2512 | <action function="page">main</action> |
| 2513 | </action> |
| 2514 | |
| 2515 | <action> |
| 2516 | <touch key="back"/> |
| 2517 | <action function="page">restore</action> |
| 2518 | </action> |
| 2519 | </page> |
| 2520 | |
| 2521 | <page name="renamebackup"> |
| 2522 | <template name="page"/> |
| 2523 | |
| 2524 | <text style="text_l"> |
| 2525 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2526 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2527 | </text> |
| 2528 | |
| 2529 | <text style="text_m"> |
| 2530 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2531 | <text>{@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2532 | </text> |
| 2533 | |
| 2534 | <text style="text_m_accent"> |
| 2535 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2536 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2537 | </text> |
| 2538 | |
| 2539 | <input> |
| 2540 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 2541 | <text>%tw_backup_rename%</text> |
| 2542 | <data name="tw_backup_rename"/> |
| 2543 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2544 | <actions> |
| 2545 | <action function="set">tw_back=restore</action> |
| 2546 | <action function="set">tw_action=cmd</action> |
| 2547 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2548 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2549 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2550 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2551 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2552 | <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2553 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2554 | <action function="set">tw_existpage=renamebackup</action> |
| 2555 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2556 | <action function="page">filecheck</action> |
| 2557 | </actions> |
| 2558 | </input> |
| 2559 | |
| 2560 | <fill color="%accent_color%"> |
| 2561 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2562 | </fill> |
| 2563 | |
| 2564 | <fill color="%text_fail_color%"> |
| 2565 | <condition var1="tw_fileexists" var2="1"/> |
| 2566 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2567 | </fill> |
| 2568 | |
| 2569 | <text style="text_m_fail"> |
| 2570 | <condition var1="tw_fileexists" var2="1"/> |
| 2571 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2572 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2573 | </text> |
| 2574 | |
| 2575 | <button style="main_button_half_width_low"> |
| 2576 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2577 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2578 | <action function="page">restore_select</action> |
| 2579 | </button> |
| 2580 | |
| 2581 | <template name="keyboardtemplate"/> |
| 2582 | |
| 2583 | <action> |
| 2584 | <touch key="home"/> |
| 2585 | <action function="page">main</action> |
| 2586 | </action> |
| 2587 | |
| 2588 | <action> |
| 2589 | <touch key="back"/> |
| 2590 | <action function="page">restore_select</action> |
| 2591 | </action> |
| 2592 | </page> |
| 2593 | |
| 2594 | <page name="restore_run"> |
| 2595 | <template name="page"/> |
| 2596 | |
| 2597 | <text style="text_l"> |
| 2598 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2599 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2600 | </text> |
| 2601 | |
| 2602 | <text style="text_m"> |
| 2603 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2604 | <text>%tw_operation% %tw_partition%</text> |
| 2605 | </text> |
| 2606 | |
| 2607 | <template name="console"/> |
| 2608 | |
| 2609 | <template name="progress_bar"/> |
| 2610 | |
| 2611 | <text style="text_m_accent"> |
| 2612 | <placement x="%progress_text_x%" y="%progress_text_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2613 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2614 | </text> |
| 2615 | |
| 2616 | <text style="text_m"> |
| 2617 | <placement x="%progress_text_x%" y="%row18_y%"/> |
| 2618 | <text>%tw_size_progress%</text> |
| 2619 | </text> |
| 2620 | |
| 2621 | <action> |
| 2622 | <condition var1="tw_operation_state" var2="1"/> |
| 2623 | <actions> |
| 2624 | <action function="set">tw_back=restore_select</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2625 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2626 | <action function="set">tw_show_reboot=1</action> |
| 2627 | <action function="page">action_complete</action> |
| 2628 | </actions> |
| 2629 | </action> |
| 2630 | |
| 2631 | <action> |
| 2632 | <action function="nandroid">restore</action> |
| 2633 | </action> |
| 2634 | </page> |
| 2635 | |
| 2636 | <page name="mount"> |
| 2637 | <template name="page"/> |
| 2638 | |
| 2639 | <text style="text_l"> |
| 2640 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2641 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2642 | </text> |
| 2643 | |
| 2644 | <text style="text_m"> |
| 2645 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2646 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2647 | </text> |
| 2648 | |
| 2649 | <partitionlist> |
| 2650 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2651 | <text>{@mount_sel_part=Select Partitions to Mount:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2652 | <listtype name="mount"/> |
| 2653 | </partitionlist> |
| 2654 | |
| 2655 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2656 | <conditions> |
bigbiff | b640d97 | 2021-10-12 19:08:10 -0400 | [diff] [blame] | 2657 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2658 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2659 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2660 | <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2661 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2662 | <image resource="checkbox_false"/> |
| 2663 | <action function="mountsystemtoggle">1</action> |
| 2664 | </button> |
| 2665 | |
| 2666 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2667 | <conditions> |
| 2668 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2669 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2670 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2671 | <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2672 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2673 | <image resource="checkbox_true"/> |
| 2674 | <actions> |
| 2675 | <action function="set">tw_lifetime_writes=2</action> |
| 2676 | <action function="page">system_readonly_check</action> |
| 2677 | </actions> |
| 2678 | </button> |
| 2679 | |
| 2680 | <button style="main_button_half_width"> |
| 2681 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 2682 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2683 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2684 | <action function="page">usb_mount</action> |
| 2685 | </button> |
| 2686 | |
| 2687 | <button style="main_button_half_width"> |
| 2688 | <conditions> |
| 2689 | <condition var1="tw_is_encrypted" var2="1"/> |
| 2690 | <condition var1="tw_is_decrypted" var2="0"/> |
| 2691 | </conditions> |
| 2692 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2693 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2694 | <action function="set">tw_crypto_user_id=0</action> |
| 2695 | <action function="set">tw_crypto_password=</action> |
| 2696 | <action function="set">tw_password_fail=0</action> |
| 2697 | <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2698 | <action function="page">decrypt</action> |
| 2699 | </button> |
| 2700 | |
| 2701 | <button style="main_button_half_width"> |
| 2702 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2703 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2704 | <actions> |
| 2705 | <action function="set">tw_back=mount</action> |
| 2706 | <action function="overlay">select_storage</action> |
| 2707 | </actions> |
| 2708 | </button> |
| 2709 | |
| 2710 | <button style="main_button_half_width"> |
| 2711 | <conditions> |
| 2712 | <condition var1="tw_has_mtp" var2="1"/> |
| 2713 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2714 | </conditions> |
| 2715 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2716 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2717 | <action function="startmtp"/> |
| 2718 | </button> |
| 2719 | |
| 2720 | <button style="main_button_half_width"> |
| 2721 | <conditions> |
| 2722 | <condition var1="tw_has_mtp" var2="1"/> |
| 2723 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2724 | </conditions> |
| 2725 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2726 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2727 | <action function="stopmtp"/> |
| 2728 | </button> |
| 2729 | |
| 2730 | <action> |
| 2731 | <touch key="home"/> |
| 2732 | <action function="page">main</action> |
| 2733 | </action> |
| 2734 | |
| 2735 | <action> |
| 2736 | <touch key="back"/> |
| 2737 | <action function="page">main</action> |
| 2738 | </action> |
| 2739 | </page> |
| 2740 | |
| 2741 | <page name="usb_mount"> |
| 2742 | <template name="page"/> |
| 2743 | |
| 2744 | <text style="text_l"> |
| 2745 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2746 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2747 | </text> |
| 2748 | |
| 2749 | <text style="text_m"> |
| 2750 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2751 | <text>{@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2752 | </text> |
| 2753 | |
| 2754 | <text style="text_m_accent"> |
| 2755 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2756 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2757 | </text> |
| 2758 | |
| 2759 | <text style="text_m"> |
| 2760 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2761 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2762 | </text> |
| 2763 | |
| 2764 | <text style="text_m"> |
| 2765 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2766 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2767 | </text> |
| 2768 | |
| 2769 | <button style="main_button_half_width"> |
| 2770 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2771 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2772 | <action function="page">usb_umount</action> |
| 2773 | </button> |
| 2774 | |
| 2775 | <action> |
| 2776 | <action function="mount">usb</action> |
| 2777 | <action function="set">tw_busy=1</action> |
| 2778 | </action> |
| 2779 | </page> |
| 2780 | |
| 2781 | <page name="usb_umount"> |
| 2782 | <action> |
| 2783 | <action function="unmount">usb</action> |
| 2784 | </action> |
| 2785 | |
| 2786 | <action> |
| 2787 | <action function="page">mount</action> |
| 2788 | <action function="set">tw_busy=0</action> |
| 2789 | </action> |
| 2790 | </page> |
| 2791 | |
| 2792 | <page name="system_readonly_check"> |
| 2793 | <action> |
| 2794 | <action function="checkpartitionlifetimewrites">/system</action> |
| 2795 | </action> |
| 2796 | |
| 2797 | <action> |
| 2798 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 2799 | <actions> |
| 2800 | <action function="mountsystemtoggle">0</action> |
| 2801 | <action function="page">mount</action> |
| 2802 | </actions> |
| 2803 | </action> |
| 2804 | |
| 2805 | <action> |
| 2806 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 2807 | <actions> |
| 2808 | <action function="set">tw_back=mount</action> |
| 2809 | <action function="page">system_readonly</action> |
| 2810 | </actions> |
| 2811 | </action> |
| 2812 | </page> |
| 2813 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2814 | <page name="fastbootreboot"> |
| 2815 | <template name="page"/> |
| 2816 | |
| 2817 | <text style="text_l"> |
| 2818 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2819 | <text>{@reboot_hdr=Reboot}</text> |
| 2820 | </text> |
| 2821 | |
| 2822 | <listbox style="advanced_listbox"> |
Captain Throwback | 6321bc3 | 2020-12-25 22:46:59 -0500 | [diff] [blame] | 2823 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2824 | |
| 2825 | <listitem name="{@rb_system_btn=System}"> |
| 2826 | <condition var1="tw_reboot_system" var2="1"/> |
| 2827 | <actions> |
| 2828 | <action function="set">tw_back=fastbootreboot</action> |
| 2829 | <action function="set">tw_action=reboot</action> |
| 2830 | <action function="set">tw_action_param=system</action> |
| 2831 | <action function="set">tw_reboot_param=system</action> |
| 2832 | <action function="set">tw_has_action2=0</action> |
| 2833 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2834 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2835 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2836 | <action function="page">confirm_action</action> |
| 2837 | </actions> |
| 2838 | </listitem> |
| 2839 | |
| 2840 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2841 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2842 | <actions> |
| 2843 | <action function="set">tw_back=fastbootreboot</action> |
| 2844 | <action function="set">tw_action=reboot</action> |
| 2845 | <action function="set">tw_action_param=poweroff</action> |
| 2846 | <action function="set">tw_reboot_param=poweroff</action> |
| 2847 | <action function="set">tw_has_action2=0</action> |
| 2848 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2849 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2850 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 2851 | <action function="page">confirm_action</action> |
| 2852 | </actions> |
| 2853 | </listitem> |
| 2854 | |
| 2855 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 2856 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2857 | <actions> |
| 2858 | <action function="set">tw_back=fastbootreboot</action> |
| 2859 | <action function="set">tw_action=reboot</action> |
| 2860 | <action function="set">tw_action_param=recovery</action> |
| 2861 | <action function="set">tw_reboot_param=recovery</action> |
| 2862 | <action function="set">tw_has_action2=0</action> |
| 2863 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2864 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2865 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2866 | <action function="page">confirm_action</action> |
| 2867 | </actions> |
| 2868 | </listitem> |
| 2869 | |
| 2870 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 2871 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2872 | <actions> |
| 2873 | <action function="set">tw_back=fastbootreboot</action> |
| 2874 | <action function="set">tw_action=reboot</action> |
| 2875 | <action function="set">tw_action_param=bootloader</action> |
| 2876 | <action function="set">tw_reboot_param=bootloader</action> |
| 2877 | <action function="set">tw_has_action2=0</action> |
| 2878 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2879 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2880 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2881 | <action function="page">confirm_action</action> |
| 2882 | </actions> |
| 2883 | </listitem> |
| 2884 | |
| 2885 | <listitem name="{@rb_download_btn=Download}"> |
| 2886 | <condition var1="tw_download_mode" var2="1"/> |
| 2887 | <actions> |
| 2888 | <action function="set">tw_back=fastbootreboot</action> |
| 2889 | <action function="set">tw_action=reboot</action> |
| 2890 | <action function="set">tw_action_param=download</action> |
| 2891 | <action function="set">tw_reboot_param=download</action> |
| 2892 | <action function="set">tw_has_action2=0</action> |
| 2893 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2894 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2895 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2896 | <action function="page">confirm_action</action> |
| 2897 | </actions> |
| 2898 | </listitem> |
| 2899 | |
| 2900 | <listitem name="{@fastboot_button=Fastboot}"> |
| 2901 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 2902 | <actions> |
| 2903 | <action function="set">tw_back=fastbootreboot</action> |
| 2904 | <action function="set">tw_action=reboot</action> |
| 2905 | <action function="set">tw_action_param=fastboot</action> |
| 2906 | <action function="set">tw_reboot_param=fastboot</action> |
| 2907 | <action function="set">tw_has_action2=0</action> |
| 2908 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2909 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2910 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2911 | <action function="page">confirm_action</action> |
| 2912 | </actions> |
| 2913 | </listitem> |
| 2914 | |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 2915 | <listitem name="{@rb_edl_btn=EDL}"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2916 | <condition var1="tw_edl_mode" var2="1"/> |
| 2917 | <actions> |
| 2918 | <action function="set">tw_back=fastbootreboot</action> |
| 2919 | <action function="set">tw_action=reboot</action> |
| 2920 | <action function="set">tw_action_param=edl</action> |
| 2921 | <action function="set">tw_reboot_param=edl</action> |
| 2922 | <action function="set">tw_has_action2=0</action> |
| 2923 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2924 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2925 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2926 | <action function="page">confirm_action</action> |
| 2927 | </actions> |
| 2928 | </listitem> |
| 2929 | </listbox> |
| 2930 | <action> |
| 2931 | <touch key="home"/> |
| 2932 | <action function="page">fastboot</action> |
| 2933 | </action> |
| 2934 | |
| 2935 | <action> |
| 2936 | <touch key="back"/> |
| 2937 | <action function="page">fastboot</action> |
| 2938 | </action> |
| 2939 | </page> |
| 2940 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2941 | <page name="reboot"> |
| 2942 | <template name="page"/> |
| 2943 | |
| 2944 | <text style="text_l"> |
| 2945 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2946 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2947 | </text> |
| 2948 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2949 | <listbox style="advanced_listbox"> |
Captain Throwback | 6321bc3 | 2020-12-25 22:46:59 -0500 | [diff] [blame] | 2950 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2951 | |
| 2952 | <listitem name="{@rb_system_btn=System}"> |
| 2953 | <condition var1="tw_reboot_system" var2="1"/> |
| 2954 | <actions> |
| 2955 | <action function="set">tw_back=reboot</action> |
| 2956 | <action function="page">reboot_system_routine</action> |
| 2957 | </actions> |
| 2958 | </listitem> |
| 2959 | |
| 2960 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2961 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2962 | <actions> |
| 2963 | <action function="set">tw_back=reboot</action> |
| 2964 | <action function="set">tw_action=reboot</action> |
| 2965 | <action function="set">tw_action_param=poweroff</action> |
| 2966 | <action function="set">tw_reboot_param=poweroff</action> |
| 2967 | <action function="set">tw_has_action2=0</action> |
| 2968 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2969 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 2970 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2971 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2972 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 2973 | <action function="page">rebootcheck</action> |
| 2974 | </actions> |
| 2975 | </listitem> |
| 2976 | |
| 2977 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 2978 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2979 | <actions> |
| 2980 | <action function="set">tw_back=reboot</action> |
| 2981 | <action function="set">tw_action=reboot</action> |
| 2982 | <action function="set">tw_action_param=recovery</action> |
| 2983 | <action function="set">tw_reboot_param=recovery</action> |
| 2984 | <action function="set">tw_has_action2=0</action> |
| 2985 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2986 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2987 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2988 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2989 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2990 | <action function="page">rebootcheck</action> |
| 2991 | </actions> |
| 2992 | </listitem> |
| 2993 | |
| 2994 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 2995 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2996 | <actions> |
| 2997 | <action function="set">tw_back=reboot</action> |
| 2998 | <action function="set">tw_action=reboot</action> |
| 2999 | <action function="set">tw_action_param=bootloader</action> |
| 3000 | <action function="set">tw_reboot_param=bootloader</action> |
| 3001 | <action function="set">tw_has_action2=0</action> |
| 3002 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3003 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3004 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3005 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3006 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3007 | <action function="page">rebootcheck</action> |
| 3008 | </actions> |
| 3009 | </listitem> |
| 3010 | |
| 3011 | <listitem name="{@rb_download_btn=Download}"> |
| 3012 | <condition var1="tw_download_mode" var2="1"/> |
| 3013 | <actions> |
| 3014 | <action function="set">tw_back=reboot</action> |
| 3015 | <action function="set">tw_action=reboot</action> |
| 3016 | <action function="set">tw_action_param=download</action> |
| 3017 | <action function="set">tw_reboot_param=download</action> |
| 3018 | <action function="set">tw_has_action2=0</action> |
| 3019 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3020 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3021 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3022 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3023 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3024 | <action function="page">rebootcheck</action> |
| 3025 | </actions> |
| 3026 | </listitem> |
| 3027 | |
| 3028 | |
| 3029 | <listitem name="{@fastboot_button=Fastboot}"> |
| 3030 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 3031 | <actions> |
| 3032 | <action function="set">tw_back=reboot</action> |
| 3033 | <action function="set">tw_action=reboot</action> |
| 3034 | <action function="set">tw_action_param=fastboot</action> |
| 3035 | <action function="set">tw_reboot_param=fastboot</action> |
| 3036 | <action function="set">tw_has_action2=0</action> |
| 3037 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3038 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3039 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3040 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3041 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3042 | <action function="page">rebootcheck</action> |
| 3043 | </actions> |
| 3044 | </listitem> |
| 3045 | |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 3046 | <listitem name="{@rb_edl_btn=EDL}"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3047 | <condition var1="tw_edl_mode" var2="1"/> |
| 3048 | <actions> |
| 3049 | <action function="set">tw_back=reboot</action> |
| 3050 | <action function="set">tw_action=reboot</action> |
| 3051 | <action function="set">tw_action_param=edl</action> |
| 3052 | <action function="set">tw_reboot_param=edl</action> |
| 3053 | <action function="set">tw_has_action2=0</action> |
| 3054 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3055 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3056 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3057 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3058 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3059 | <action function="page">rebootcheck</action> |
| 3060 | </actions> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3061 | </listitem> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3062 | </listbox> |
| 3063 | |
| 3064 | <text style="text_m"> |
| 3065 | <condition var1="tw_has_boot_slots" var2="1"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3066 | <placement x="%col1_x_header%" y="%row14_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3067 | <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text> |
| 3068 | </text> |
| 3069 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3070 | <button style="main_button"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3071 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3072 | <placement x="%indent%" y="%row16_y%"/> |
| 3073 | <text>{@boot_slot_a=Slot A}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3074 | <actions> |
| 3075 | <action function="set">tw_back=reboot</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3076 | <action function="set">tw_action=setbootslot</action> |
| 3077 | <action function="set">tw_action_param=A</action> |
| 3078 | <action function="set">tw_has_action2=0</action> |
| 3079 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 3080 | <action function="set">tw_action_text2=</action> |
| 3081 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3082 | <action function="page">action_page</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3083 | </actions> |
| 3084 | </button> |
| 3085 | |
| 3086 | <button style="main_button"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3087 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3088 | <placement x="%center_x%" y="%row16_y%"/> |
| 3089 | <text>{@boot_slot_b=Slot B}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3090 | <actions> |
| 3091 | <action function="set">tw_back=reboot</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3092 | <action function="set">tw_action=setbootslot</action> |
| 3093 | <action function="set">tw_action_param=B</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3094 | <action function="set">tw_has_action2=0</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3095 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 3096 | <action function="set">tw_action_text2=</action> |
| 3097 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3098 | <action function="page">action_page</action> |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3099 | </actions> |
| 3100 | </button> |
| 3101 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3102 | <action> |
| 3103 | <touch key="home"/> |
| 3104 | <action function="page">main</action> |
| 3105 | </action> |
| 3106 | |
| 3107 | <action> |
| 3108 | <touch key="back"/> |
| 3109 | <action function="page">main</action> |
| 3110 | </action> |
| 3111 | </page> |
| 3112 | |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3113 | <page name="installapp"> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3114 | <template name="page"/> |
| 3115 | |
| 3116 | <text style="text_l"> |
| 3117 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3118 | <text>%tw_appinstall_title%</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3119 | </text> |
| 3120 | |
| 3121 | <text style="text_m"> |
| 3122 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3123 | <text>{@reboot_install_app_hdr=Install TWRP App}</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3124 | </text> |
| 3125 | |
| 3126 | <text style="text_m_accent"> |
| 3127 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3128 | <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text> |
| 3129 | </text> |
| 3130 | |
| 3131 | <text style="text_m_accent"> |
| 3132 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 3133 | <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text> |
| 3134 | </text> |
| 3135 | |
| 3136 | <checkbox> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3137 | <condition var1="tw_mount_system_ro" var2="0"/> |
| 3138 | <placement x="%indent%" y="%row7_y%"/> |
| 3139 | <text>{@reboot_install_app_system=Install as a System App}</text> |
| 3140 | <data variable="tw_app_install_system"/> |
| 3141 | </checkbox> |
| 3142 | |
| 3143 | <button style="main_button_half_width"> |
| 3144 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | fa67cbf | 2018-07-20 12:22:33 -0500 | [diff] [blame] | 3145 | <text>{@install_cancel=Do not Install}</text> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3146 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3147 | </button> |
| 3148 | |
| 3149 | <slider> |
| 3150 | <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text> |
| 3151 | <actions> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3152 | <action function="set">tw_action=installapp</action> |
| 3153 | <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action> |
| 3154 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3155 | <action function="set">tw_complete_text1={@successful=Successful}</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3156 | <action function="page">action_page</action> |
| 3157 | </actions> |
| 3158 | </slider> |
| 3159 | |
| 3160 | <action> |
| 3161 | <touch key="home"/> |
| 3162 | <actions> |
| 3163 | <action function="set">tw_app_install_status=0</action> |
| 3164 | <action function="page">main</action> |
| 3165 | </actions> |
| 3166 | </action> |
| 3167 | |
| 3168 | <action> |
| 3169 | <touch key="back"/> |
| 3170 | <actions> |
| 3171 | <action function="set">tw_app_install_status=0</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3172 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3173 | </actions> |
| 3174 | </action> |
| 3175 | </page> |
| 3176 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3177 | <page name="system_readonly"> |
| 3178 | <template name="page"/> |
| 3179 | |
| 3180 | <text style="text_l"> |
| 3181 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3182 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3183 | </text> |
| 3184 | |
| 3185 | <text style="text_m_accent"> |
| 3186 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3187 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3188 | </text> |
| 3189 | |
| 3190 | <text style="text_m"> |
| 3191 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3192 | <text>{@sys_rol1=TWRP can leave your system partition unmodified to make it easier for you to take official updates.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3193 | </text> |
| 3194 | |
| 3195 | <text style="text_m"> |
| 3196 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3197 | <text>{@sys_rol2=TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3198 | </text> |
| 3199 | |
| 3200 | <text style="text_m_fail"> |
| 3201 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3202 | <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3203 | </text> |
| 3204 | |
| 3205 | <checkbox> |
| 3206 | <condition var1="tw_is_encrypted" var2="0"/> |
| 3207 | <placement x="%col1_x_left%" y="%row14_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3208 | <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3209 | <data variable="tw_never_show_system_ro_page"/> |
| 3210 | </checkbox> |
| 3211 | |
| 3212 | <button style="main_button_half_width"> |
| 3213 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3214 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3215 | <actions> |
| 3216 | <action function="mountsystemtoggle">1</action> |
| 3217 | <action function="set">tw_page_done=1</action> |
| 3218 | <action function="page">%tw_back%</action> |
| 3219 | </actions> |
| 3220 | </button> |
| 3221 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3222 | <button style="main_button_half_width"> |
| 3223 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
| 3224 | <text>{@sel_lang_btn=Select Language}</text> |
| 3225 | <action function="overlay">select_language</action> |
| 3226 | </button> |
| 3227 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3228 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3229 | <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3230 | <actions> |
| 3231 | <action function="mountsystemtoggle">0</action> |
| 3232 | <action function="set">tw_page_done=1</action> |
| 3233 | <action function="page">%tw_back%</action> |
| 3234 | </actions> |
| 3235 | </slider> |
| 3236 | </page> |
| 3237 | |
| 3238 | <page name="settings"> |
| 3239 | <template name="page"/> |
| 3240 | |
| 3241 | <text style="text_l"> |
| 3242 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3243 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3244 | </text> |
| 3245 | |
| 3246 | <text style="text_m"> |
| 3247 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3248 | <text>{@settings_gen_hdr=General Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3249 | </text> |
| 3250 | |
| 3251 | <template name="tabs_settings"/> |
| 3252 | |
| 3253 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3254 | <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3255 | </fill> |
| 3256 | |
| 3257 | <listbox style="scrolllist"> |
| 3258 | <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/> |
| 3259 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3260 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3261 | <data variable="tw_signed_zip_verify"/> |
| 3262 | </listitem> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 3263 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 3264 | <data variable="tw_install_reboot"/> |
| 3265 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3266 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3267 | <data variable="tw_rm_rf"/> |
| 3268 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 3269 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
| 3270 | <data variable="tw_disable_free_space"/> |
| 3271 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3272 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 3273 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3274 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3275 | <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}"> |
| 3276 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3277 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 3278 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 3279 | <data variable="tw_skip_digest_check_zip"/> |
| 3280 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3281 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3282 | <data variable="tw_military_time"/> |
| 3283 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3284 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3285 | <data variable="tw_simulate_actions"/> |
| 3286 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3287 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3288 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3289 | <data variable="tw_simulate_fail"/> |
| 3290 | </listitem> |
bigbiff bigbiff | 1c01fab | 2017-08-07 18:41:14 -0400 | [diff] [blame] | 3291 | <listitem name="{@sha2_chk=Use SHA2 for hashing}"> |
| 3292 | <condition var1="tw_no_sha2" var2="0"/> |
| 3293 | <data variable="tw_use_sha2"/> |
| 3294 | </listitem> |
Chaosmaster | ff4f958 | 2020-01-26 15:38:11 +0100 | [diff] [blame] | 3295 | <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}"> |
| 3296 | <data variable="tw_unmount_system"/> |
| 3297 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3298 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 3299 | <conditions> |
| 3300 | <condition var1="tw_has_boot_slots" var2="1"/> |
Captain Throwback | 1f5d4ca | 2023-01-11 13:46:30 -0500 | [diff] [blame] | 3301 | <condition var1="tw_no_flash_current_twrp" var2="0"/> |
Darth9 | 8af7fe2 | 2024-01-18 20:00:44 +0000 | [diff] [blame^] | 3302 | <condition var1="tw_is_vendor_boot_header_v3" var2="0"/> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3303 | </conditions> |
| 3304 | <data variable="tw_auto_reflashtwrp"/> |
| 3305 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3306 | </listbox> |
| 3307 | |
| 3308 | <checkbox> |
| 3309 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3310 | <text>{@rev_navbar_chk=Reversed navbar layout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3311 | <data variable="tw_samsung_navbar"/> |
| 3312 | </checkbox> |
| 3313 | |
| 3314 | <button style="radiobutton"> |
| 3315 | <condition var1="tw_navbar_button_position" op="!=" var2="0"/> |
| 3316 | <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3317 | <text>{@ctr_navbar_rdo=Center navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3318 | <image resource="radio_false"/> |
| 3319 | <action function="set">tw_navbar_button_position=0</action> |
| 3320 | </button> |
| 3321 | |
| 3322 | <button style="radiobutton"> |
| 3323 | <condition var1="tw_navbar_button_position" var2="0"/> |
| 3324 | <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3325 | <text>{@ctr_navbar_rdo=Center navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3326 | <image resource="radio_true"/> |
| 3327 | <action function="set">tw_navbar_button_position=0</action> |
| 3328 | </button> |
| 3329 | |
| 3330 | <button style="radiobutton"> |
| 3331 | <condition var1="tw_navbar_button_position" op="!=" var2="1"/> |
| 3332 | <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3333 | <text>{@lft_navbar_rdo=Left align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3334 | <image resource="radio_false"/> |
| 3335 | <action function="set">tw_navbar_button_position=1</action> |
| 3336 | </button> |
| 3337 | |
| 3338 | <button style="radiobutton"> |
| 3339 | <condition var1="tw_navbar_button_position" var2="1"/> |
| 3340 | <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3341 | <text>{@lft_navbar_rdo=Left align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3342 | <image resource="radio_true"/> |
| 3343 | <action function="set">tw_navbar_button_position=1</action> |
| 3344 | </button> |
| 3345 | |
| 3346 | <button style="radiobutton"> |
| 3347 | <condition var1="tw_navbar_button_position" op="!=" var2="2"/> |
| 3348 | <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3349 | <text>{@rht_navbar_rdo=Right align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3350 | <image resource="radio_false"/> |
| 3351 | <action function="set">tw_navbar_button_position=2</action> |
| 3352 | </button> |
| 3353 | |
| 3354 | <button style="radiobutton"> |
| 3355 | <condition var1="tw_navbar_button_position" var2="2"/> |
| 3356 | <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3357 | <text>{@rht_navbar_rdo=Right align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3358 | <image resource="radio_true"/> |
| 3359 | <action function="set">tw_navbar_button_position=2</action> |
| 3360 | </button> |
| 3361 | |
| 3362 | <button style="main_button_half_width"> |
| 3363 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3364 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3365 | <action function="restoredefaultsettings"/> |
| 3366 | </button> |
| 3367 | |
| 3368 | <action> |
| 3369 | <touch key="home"/> |
| 3370 | <action function="page">main</action> |
| 3371 | </action> |
| 3372 | |
| 3373 | <action> |
| 3374 | <touch key="back"/> |
| 3375 | <action function="page">main</action> |
| 3376 | </action> |
| 3377 | </page> |
| 3378 | |
| 3379 | <page name="settings_timezone"> |
| 3380 | <template name="page"/> |
| 3381 | |
| 3382 | <text style="text_l"> |
| 3383 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3384 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3385 | </text> |
| 3386 | |
| 3387 | <text style="text_m"> |
| 3388 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3389 | <text>{@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3390 | </text> |
| 3391 | |
| 3392 | <template name="tabs_settings"/> |
| 3393 | |
| 3394 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3395 | <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3396 | </fill> |
| 3397 | |
| 3398 | <listbox> |
| 3399 | <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3400 | <text>{@sel_tz_list=Select Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3401 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3402 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3403 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3404 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3405 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3406 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3407 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3408 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3409 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3410 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3411 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3412 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3413 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3414 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3415 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3416 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3417 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3418 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3419 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3420 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3421 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3422 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3423 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3424 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3425 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3426 | </listbox> |
| 3427 | |
| 3428 | <text style="text_m_accent"> |
| 3429 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3430 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3431 | </text> |
| 3432 | |
| 3433 | <button style="button_quarter_width"> |
| 3434 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3435 | <text>{@tz_offset_none=None}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3436 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3437 | </button> |
| 3438 | |
| 3439 | <button style="button_quarter_width"> |
| 3440 | <placement x="%btn4_col2_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3441 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3442 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3443 | </button> |
| 3444 | |
| 3445 | <button style="button_quarter_width"> |
| 3446 | <placement x="%btn4_col3_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3447 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3448 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3449 | </button> |
| 3450 | |
| 3451 | <button style="button_quarter_width"> |
| 3452 | <placement x="%btn4_col4_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3453 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3454 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3455 | </button> |
| 3456 | |
| 3457 | <checkbox> |
| 3458 | <placement x="%col1_x_right%" y="%row7_y%"/> |
| 3459 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3460 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3461 | <data variable="tw_time_zone_guidst"/> |
| 3462 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3463 | </checkbox> |
| 3464 | |
| 3465 | <text color="%text_color%"> |
| 3466 | <font resource="font_m"/> |
| 3467 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3468 | <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3469 | </text> |
| 3470 | |
| 3471 | <button> |
| 3472 | <highlight color="%highlight_color%"/> |
| 3473 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 3474 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3475 | <text>{@set_tz_btn=Set Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3476 | <image resource="main_button_half_width"/> |
| 3477 | <action function="setguitimezone"/> |
| 3478 | </button> |
| 3479 | |
| 3480 | <action> |
| 3481 | <touch key="home"/> |
| 3482 | <action function="page">main</action> |
| 3483 | </action> |
| 3484 | |
| 3485 | <action> |
| 3486 | <touch key="back"/> |
| 3487 | <action function="page">main</action> |
| 3488 | </action> |
| 3489 | </page> |
| 3490 | |
| 3491 | <page name="settings_screen"> |
| 3492 | <template name="page"/> |
| 3493 | |
| 3494 | <text style="text_l"> |
| 3495 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3496 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3497 | </text> |
| 3498 | |
| 3499 | <text style="text_m"> |
| 3500 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3501 | <text>{@settings_screen_hdr=Screen Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3502 | </text> |
| 3503 | |
| 3504 | <template name="tabs_settings"/> |
| 3505 | |
| 3506 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3507 | <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3508 | </fill> |
| 3509 | |
| 3510 | <button> |
| 3511 | <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/> |
| 3512 | <font resource="font_m" color="%text_color%"/> |
| 3513 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3514 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3515 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3516 | <image resource="checkbox_false"/> |
| 3517 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3518 | </button> |
| 3519 | |
| 3520 | <button> |
| 3521 | <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/> |
| 3522 | <font resource="font_m" color="%text_color%"/> |
| 3523 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3524 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3525 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3526 | <image resource="checkbox_true"/> |
| 3527 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3528 | </button> |
| 3529 | |
| 3530 | <slidervalue> |
| 3531 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3532 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3533 | <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3534 | <text>{@screen_to_slider=Screen timeout in seconds:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3535 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3536 | </slidervalue> |
| 3537 | |
| 3538 | <slidervalue> |
| 3539 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3540 | <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3541 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3542 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3543 | <actions> |
| 3544 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3545 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3546 | <action function="compute">tw_brightness/100</action> |
| 3547 | <action function="setbrightness">%tw_brightness%</action> |
| 3548 | </actions> |
| 3549 | </slidervalue> |
| 3550 | |
| 3551 | <action> |
| 3552 | <touch key="home"/> |
| 3553 | <action function="page">main</action> |
| 3554 | </action> |
| 3555 | |
| 3556 | <action> |
| 3557 | <touch key="back"/> |
| 3558 | <action function="page">main</action> |
| 3559 | </action> |
| 3560 | </page> |
| 3561 | |
| 3562 | <page name="settings_vibration"> |
| 3563 | <template name="page"/> |
| 3564 | |
| 3565 | <text style="text_l"> |
| 3566 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3567 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3568 | </text> |
| 3569 | |
| 3570 | <text style="text_m"> |
| 3571 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3572 | <text>{@vibration_hdr=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3573 | </text> |
| 3574 | |
| 3575 | <template name="tabs_settings"/> |
| 3576 | |
| 3577 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3578 | <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3579 | </fill> |
| 3580 | |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3581 | <text style="text_m"> |
| 3582 | <condition var1="tw_disable_haptics" var2="1"/> |
| 3583 | <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> |
| 3584 | <text>{@vibration_disabled=Vibration Disabled for Device}</text> |
| 3585 | </text> |
| 3586 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3587 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3588 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3589 | <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3590 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3591 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3592 | </slidervalue> |
| 3593 | |
| 3594 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3595 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3596 | <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3597 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3598 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3599 | </slidervalue> |
| 3600 | |
| 3601 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3602 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3603 | <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3604 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3605 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3606 | </slidervalue> |
| 3607 | |
| 3608 | <action> |
| 3609 | <touch key="home"/> |
| 3610 | <action function="page">main</action> |
| 3611 | </action> |
| 3612 | |
| 3613 | <action> |
| 3614 | <touch key="back"/> |
| 3615 | <action function="page">main</action> |
| 3616 | </action> |
| 3617 | </page> |
| 3618 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3619 | <page name="settings_language"> |
| 3620 | <template name="page"/> |
| 3621 | |
| 3622 | <text style="text_l"> |
| 3623 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3624 | <text>{@settings_hdr=Settings}</text> |
| 3625 | </text> |
| 3626 | |
| 3627 | <text style="text_m"> |
| 3628 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3629 | <text>{@language_hdr=Language - %tw_language_display%}</text> |
| 3630 | </text> |
| 3631 | |
| 3632 | <template name="tabs_settings"/> |
| 3633 | |
| 3634 | <fill color="%text_color%"> |
| 3635 | <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
| 3636 | </fill> |
| 3637 | |
| 3638 | <listbox> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3639 | <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3640 | <text>{@select_language=Select Language:}</text> |
| 3641 | <icon selected="radio_true" unselected="radio_false" /> |
| 3642 | <data name="tw_language" /> |
| 3643 | </listbox> |
| 3644 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3645 | <button> |
| 3646 | <highlight color="%highlight_color%"/> |
| 3647 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 3648 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3649 | <text>{@set_language_btn=Set Language}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3650 | <image resource="main_button_half_width"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3651 | <action function="setlanguage"></action> |
| 3652 | </button> |
| 3653 | |
| 3654 | <action> |
| 3655 | <touch key="home" /> |
| 3656 | <action function="page">main</action> |
| 3657 | </action> |
| 3658 | |
| 3659 | <action> |
| 3660 | <touch key="back" /> |
| 3661 | <action function="page">settings</action> |
| 3662 | </action> |
| 3663 | </page> |
| 3664 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3665 | <page name="copylog"> |
| 3666 | <template name="page"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3667 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3668 | <text style="text_l"> |
| 3669 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3670 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3671 | </text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3672 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3673 | <checkbox> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3674 | <condition var1="tw_logcat_exists" var2="1"/> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3675 | <placement x="%indent%" y="%row4_y%"/> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3676 | <text>{@include_logcat=Include Logcat}</text> |
| 3677 | <data variable="tw_include_logcat" value="1"/> |
| 3678 | </checkbox> |
| 3679 | |
| 3680 | <checkbox> |
| 3681 | <placement x="%indent%" y="%row6_y%"/> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3682 | <text>{@include_kernel_log=Include Kernel Log}</text> |
| 3683 | <data variable="tw_include_kernel_log" value="1"/> |
| 3684 | </checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3685 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3686 | <slider> |
| 3687 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3688 | <actions> |
| 3689 | <action function="set">tw_back=advanced</action> |
| 3690 | <action function="set">tw_action=copylog</action> |
| 3691 | <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action> |
| 3692 | <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action> |
| 3693 | <action function="page">action_page</action> |
| 3694 | </actions> |
| 3695 | </slider> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3696 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3697 | <action> |
| 3698 | <touch key="home"/> |
| 3699 | <action function="page">main</action> |
| 3700 | </action> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3701 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3702 | <action> |
| 3703 | <touch key="back"/> |
| 3704 | <actions> |
| 3705 | <action function="page">advanced</action> |
| 3706 | </actions> |
| 3707 | </action> |
| 3708 | </page> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3709 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3710 | <page name="advanced"> |
| 3711 | <template name="page"/> |
| 3712 | |
| 3713 | <text style="text_l"> |
| 3714 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3715 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3716 | </text> |
| 3717 | |
| 3718 | <button style="main_button"> |
| 3719 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3720 | <text>{@copy_log_btn=Copy Log}</text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3721 | <action function="page">copylog</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3722 | </button> |
| 3723 | |
| 3724 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3725 | <placement x="%col1_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3726 | <text>{@file_manager_btn=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3727 | <action function="page">filemanagerlist</action> |
| 3728 | </button> |
| 3729 | |
| 3730 | <button style="main_button"> |
| 3731 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3732 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3733 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3734 | </button> |
| 3735 | |
| 3736 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3737 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3738 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3739 | <action function="page">sideload</action> |
| 3740 | </button> |
| 3741 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3742 | <listbox style="advanced_listbox"> |
| 3743 | <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 3744 | <listitem name="{@change_twrp_folder_btn=Change TWRP folder}"> |
nebrassy | a9e4c46 | 2021-12-20 20:09:40 +0100 | [diff] [blame] | 3745 | <condition var1="tw_is_decrypted" var2="1"/> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 3746 | <action function="page">changeTwrpFolder</action> |
| 3747 | </listitem> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 3748 | <listitem name="{@decrypt_users=Decrypt Users}"> |
| 3749 | <conditions> |
| 3750 | <condition var1="tw_is_fbe" var2="1"/> |
| 3751 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 3752 | </conditions> |
| 3753 | <actions> |
| 3754 | <action function="set">tw_crypto_user_id=</action> |
| 3755 | <action function="page">decrypt_users</action> |
| 3756 | </actions> |
| 3757 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3758 | <listitem name="{@reload_theme_btn=Reload Theme}"> |
| 3759 | <action function="reload"/> |
| 3760 | </listitem> |
| 3761 | <listitem name="{@part_sd_btn=Partition SD Card}"> |
| 3762 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3763 | <actions> |
| 3764 | <action function="set">partitionlisterror=0</action> |
| 3765 | <action function="page">partsdcardsel</action> |
| 3766 | </actions> |
| 3767 | </listitem> |
| 3768 | <listitem name="{@fix_context_btn=Fix Contexts}"> |
| 3769 | <condition var1="tw_has_data_media" var2="1"/> |
| 3770 | <action function="page">fixcontexts</action> |
| 3771 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3772 | <listitem name="{@inject_twrp_btn=Inject TWRP}"> |
| 3773 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3774 | <actions> |
| 3775 | <action function="set">tw_back=advanced</action> |
| 3776 | <action function="set">tw_action=reinjecttwrp</action> |
| 3777 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3778 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3779 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3780 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3781 | <action function="page">confirm_action</action> |
| 3782 | </actions> |
| 3783 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3784 | <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}"> |
| 3785 | <conditions> |
| 3786 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3787 | <condition var1="tw_has_repack_tools" var2="1"/> |
Darth9 | 8af7fe2 | 2024-01-18 20:00:44 +0000 | [diff] [blame^] | 3788 | <condition var1="tw_include_install_recovery_ramdisk" var2="1"/> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3789 | </conditions> |
| 3790 | <actions> |
| 3791 | <action function="set">tw_repack_kernel=0</action> |
| 3792 | <action function="page">repackselect</action> |
| 3793 | </actions> |
| 3794 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3795 | <listitem name="{@reflash_twrp=Flash Current TWRP}"> |
| 3796 | <conditions> |
| 3797 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3798 | <condition var1="tw_has_repack_tools" var2="1"/> |
Captain Throwback | 1f5d4ca | 2023-01-11 13:46:30 -0500 | [diff] [blame] | 3799 | <condition var1="tw_no_flash_current_twrp" var2="0"/> |
Darth9 | 8af7fe2 | 2024-01-18 20:00:44 +0000 | [diff] [blame^] | 3800 | <condition var1="tw_is_vendor_boot_header_v3" var2="0"/> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3801 | </conditions> |
| 3802 | <actions> |
| 3803 | <action function="set">tw_repack_kernel=0</action> |
| 3804 | <action function="set">tw_back=advanced</action> |
| 3805 | <action function="set">tw_action=reflashtwrp</action> |
| 3806 | <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action> |
| 3807 | <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action> |
| 3808 | <action function="set">tw_complete_text1={@reflash_twrp_complete=Done flashing TWRP}</action> |
| 3809 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3810 | <action function="page">confirm_action</action> |
| 3811 | </actions> |
| 3812 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3813 | <listitem name="{@install_kernel=Install Kernel}"> |
| 3814 | <conditions> |
| 3815 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3816 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3817 | </conditions> |
| 3818 | <actions> |
| 3819 | <action function="set">tw_repack_kernel=1</action> |
| 3820 | <action function="page">repackselect</action> |
| 3821 | </actions> |
| 3822 | </listitem> |
| 3823 | <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}"> |
| 3824 | <conditions> |
| 3825 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3826 | <condition var1="tw_has_repack_tools" var2="1"/> |
Captain Throwback | bc2cfa3 | 2021-09-16 10:04:26 -0400 | [diff] [blame] | 3827 | <condition var1="tw_uses_initramfs" var2="1"/> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3828 | </conditions> |
| 3829 | <actions> |
| 3830 | <action function="set">tw_back=advanced</action> |
| 3831 | <action function="set">tw_action=fixabrecoverybootloop</action> |
| 3832 | <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action> |
| 3833 | <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action> |
| 3834 | <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action> |
| 3835 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3836 | <action function="page">confirm_action</action> |
| 3837 | </actions> |
| 3838 | </listitem> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3839 | <listitem name="{@reboot_install_app_hdr=Install TWRP App}"> |
| 3840 | <condition var1="tw_app_install_status" var2="1"/> |
| 3841 | <actions> |
| 3842 | <action function="set">tw_back=advanced</action> |
| 3843 | <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action> |
| 3844 | <action function="page">installapp</action> |
| 3845 | </actions> |
| 3846 | </listitem> |
Ethan Yonker | 76bbd3a | 2019-05-10 10:50:04 -0500 | [diff] [blame] | 3847 | <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}"> |
| 3848 | <condition var1="tw_app_installed_in_system" var2="1"/> |
| 3849 | <actions> |
| 3850 | <action function="set">tw_back=advanced</action> |
| 3851 | <action function="set">tw_action=uninstalltwrpsystemapp</action> |
| 3852 | <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action> |
| 3853 | <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action> |
| 3854 | <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action> |
| 3855 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3856 | <action function="page">confirm_action</action> |
| 3857 | </actions> |
| 3858 | </listitem> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 3859 | <listitem name="{@unmap_super_devices=Unmap Super Devices}"> |
me-cafebabe | 2136fc5 | 2022-07-20 06:42:18 +0800 | [diff] [blame] | 3860 | <condition var1="tw_is_super" op="=" var2="1"/> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 3861 | <actions> |
| 3862 | <action function="set">tw_back=advanced</action> |
| 3863 | <action function="set">tw_action=unmapsuperdevices</action> |
| 3864 | <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action> |
| 3865 | <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action> |
| 3866 | <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action> |
| 3867 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3868 | <action function="page">confirm_action</action> |
| 3869 | </actions> |
| 3870 | </listitem> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 3871 | <listitem name="{@merges_snapshots=Merge Snapshots}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 3872 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 3873 | <actions> |
| 3874 | <action function="set">tw_back=advanced</action> |
| 3875 | <action function="set">tw_action=mergesnapshots</action> |
| 3876 | <action function="set">tw_text1={@merge_snapshots_confirm=Merge Snapshots?}</action> |
| 3877 | <action function="set">tw_action_text1={@merging_snapshots=Merging Snapshots...}</action> |
| 3878 | <action function="set">tw_complete_text1={@merging_snapshots_complete=Merged Snapshots}</action> |
| 3879 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3880 | <action function="page">confirm_action</action> |
| 3881 | </actions> |
| 3882 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3883 | </listbox> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3884 | |
| 3885 | <action> |
| 3886 | <touch key="home"/> |
| 3887 | <action function="page">main</action> |
| 3888 | </action> |
| 3889 | |
| 3890 | <action> |
| 3891 | <touch key="back"/> |
| 3892 | <action function="page">main</action> |
| 3893 | </action> |
| 3894 | </page> |
| 3895 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3896 | <page name="partsdcardsel"> |
| 3897 | <template name="page"/> |
| 3898 | |
| 3899 | <text style="text_l"> |
| 3900 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3901 | <text>{@advanced_hdr=Advanced}</text> |
| 3902 | </text> |
| 3903 | |
| 3904 | <text style="text_m"> |
| 3905 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3906 | <text>{@part_sd_hdr=Partition SD Card}</text> |
| 3907 | </text> |
| 3908 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 3909 | <partitionlist> |
| 3910 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3911 | <text>{@sel_storage_list=Select Storage}</text> |
| 3912 | <data name="tw_storage_path"/> |
| 3913 | <listtype name="storage"/> |
| 3914 | </partitionlist> |
| 3915 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 3916 | <text style="text_m_fail"> |
| 3917 | <condition var1="partitionlisterror" var2="1"/> |
| 3918 | <placement x="%center_x%" y="%row14_y%" placement="5"/> |
| 3919 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 3920 | </text> |
| 3921 | |
| 3922 | <button style="main_button_half_width"> |
| 3923 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3924 | <text>{@ok_btn=OK}</text> |
| 3925 | <actions> |
| 3926 | <action function="getpartitiondetails">tw_storage_path</action> |
| 3927 | <action function="page">partsdcardcheck</action> |
| 3928 | </actions> |
| 3929 | </button> |
| 3930 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3931 | <action> |
| 3932 | <touch key="home"/> |
| 3933 | <action function="page">main</action> |
| 3934 | </action> |
| 3935 | |
| 3936 | <action> |
| 3937 | <touch key="back"/> |
| 3938 | <action function="page">advanced</action> |
| 3939 | </action> |
| 3940 | </page> |
| 3941 | |
| 3942 | <page name="partsdcardcheck"> |
| 3943 | <action> |
| 3944 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 3945 | <actions> |
| 3946 | <action function="set">partitionlisterror=0</action> |
| 3947 | <action function="page">partsdcard</action> |
| 3948 | </actions> |
| 3949 | </action> |
| 3950 | |
| 3951 | <action> |
| 3952 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 3953 | <actions> |
| 3954 | <action function="set">partitionlisterror=1</action> |
| 3955 | <action function="page">partsdcardsel</action> |
| 3956 | </actions> |
| 3957 | </action> |
| 3958 | </page> |
| 3959 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3960 | <page name="partsdcard"> |
| 3961 | <template name="page"/> |
| 3962 | |
| 3963 | <text style="text_l"> |
| 3964 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3965 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3966 | </text> |
| 3967 | |
| 3968 | <text style="text_m"> |
| 3969 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3970 | <text>{@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3971 | </text> |
| 3972 | |
| 3973 | <text style="text_m_fail"> |
| 3974 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3975 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3976 | </text> |
| 3977 | |
| 3978 | <text style="text_m_fail"> |
| 3979 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3980 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3981 | </text> |
| 3982 | |
| 3983 | <text style="text_m_accent"> |
| 3984 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3985 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3986 | </text> |
| 3987 | |
| 3988 | <text style="text_m"> |
| 3989 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 3990 | <text>%tw_sdext_size%</text> |
| 3991 | </text> |
| 3992 | |
| 3993 | <button style="button_quarter_width"> |
| 3994 | <placement x="%btn4_col3_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3995 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3996 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3997 | </button> |
| 3998 | |
| 3999 | <button style="button_quarter_width"> |
| 4000 | <placement x="%btn4_col2_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4001 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4002 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4003 | </button> |
| 4004 | |
| 4005 | <text style="text_m_accent"> |
| 4006 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4007 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4008 | </text> |
| 4009 | |
| 4010 | <text style="text_m"> |
| 4011 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
| 4012 | <text>%tw_swap_size%</text> |
| 4013 | </text> |
| 4014 | |
| 4015 | <button style="button_quarter_width"> |
| 4016 | <placement x="%btn4_col3_x_left%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4017 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4018 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4019 | </button> |
| 4020 | |
| 4021 | <button style="button_quarter_width"> |
| 4022 | <placement x="%btn4_col2_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4023 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4024 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4025 | </button> |
| 4026 | |
| 4027 | <text style="text_m_accent"> |
| 4028 | <placement x="%center_x%" y="%row13_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4029 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4030 | </text> |
| 4031 | |
| 4032 | <text style="text_m"> |
| 4033 | <placement x="%center_x%" y="%row14_y%" placement="5"/> |
| 4034 | <text>%tw_sdpart_file_system%</text> |
| 4035 | </text> |
| 4036 | |
| 4037 | <button style="button_quarter_width"> |
| 4038 | <placement x="%btn4_col3_x_left%" y="%row13_y%"/> |
| 4039 | <text>EXT3</text> |
| 4040 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4041 | </button> |
| 4042 | |
| 4043 | <button style="button_quarter_width"> |
| 4044 | <placement x="%btn4_col2_x_right%" y="%row13_y%"/> |
| 4045 | <text>EXT4</text> |
| 4046 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4047 | </button> |
| 4048 | |
| 4049 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4050 | <text>{@swipe_part_sd=Swipe to Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4051 | <action function="page">partsdcardaction</action> |
| 4052 | <actions> |
| 4053 | <action function="set">tw_back=partsdcard</action> |
| 4054 | <action function="set">tw_action=partitionsd</action> |
| 4055 | <action function="set">tw_has_action2=1</action> |
| 4056 | <action function="set">tw_action2=set</action> |
| 4057 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4058 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4059 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4060 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4061 | <action function="page">action_page</action> |
| 4062 | </actions> |
| 4063 | </slider> |
| 4064 | |
| 4065 | <action> |
| 4066 | <touch key="home"/> |
| 4067 | <action function="page">main</action> |
| 4068 | </action> |
| 4069 | |
| 4070 | <action> |
| 4071 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4072 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4073 | </action> |
| 4074 | </page> |
| 4075 | |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4076 | <page name="repackselect"> |
| 4077 | <template name="page"/> |
| 4078 | |
| 4079 | <text style="text_l"> |
| 4080 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4081 | <text>{@repack_image_hdr=Select Image}</text> |
| 4082 | </text> |
| 4083 | |
| 4084 | <text style="text_m"> |
| 4085 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4086 | <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 4087 | </text> |
| 4088 | |
| 4089 | <template name="sort_options"/> |
| 4090 | |
| 4091 | <fileselector> |
| 4092 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4093 | <text>%tw_zip_location%</text> |
| 4094 | <filter extn=".img" folders="1" files="1"/> |
| 4095 | <path name="tw_zip_location" default="/sdcard"/> |
| 4096 | <data name="tw_filename"/> |
| 4097 | <selection name="tw_file"/> |
| 4098 | </fileselector> |
| 4099 | |
| 4100 | <button style="main_button_half_width_low"> |
| 4101 | <placement x="%col_button_right%" y="%row16a_y%"/> |
| 4102 | <text>{@select_storage_btn=Select Storage}</text> |
| 4103 | <actions> |
| 4104 | <action function="set">tw_back=install</action> |
| 4105 | <action function="overlay">select_storage</action> |
| 4106 | </actions> |
| 4107 | </button> |
| 4108 | |
| 4109 | <action> |
| 4110 | <conditions> |
| 4111 | <condition var1="tw_filename" op="modified"/> |
| 4112 | </conditions> |
| 4113 | <action function="page">repackconfirm</action> |
| 4114 | </action> |
| 4115 | |
| 4116 | <action> |
| 4117 | <touch key="back"/> |
| 4118 | <action function="page">advanced</action> |
| 4119 | </action> |
| 4120 | |
| 4121 | <action> |
| 4122 | <touch key="home"/> |
| 4123 | <action function="page">main</action> |
| 4124 | </action> |
| 4125 | </page> |
| 4126 | |
| 4127 | <page name="repackconfirm"> |
| 4128 | <template name="page"/> |
| 4129 | |
| 4130 | <text style="text_l"> |
| 4131 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4132 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4133 | <text>{@repack_kernel_confirm_hdr=Install Kernel}</text> |
| 4134 | </text> |
| 4135 | |
| 4136 | <text style="text_l"> |
| 4137 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4138 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4139 | <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text> |
| 4140 | </text> |
| 4141 | |
| 4142 | <text style="text_m"> |
| 4143 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4144 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4145 | <text>{@repack_kernel_confirm=Install Kernel?}</text> |
| 4146 | </text> |
| 4147 | |
| 4148 | <text style="text_m"> |
| 4149 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4150 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4151 | <text>{@repack_ramdisk_confirm=Install Recovery?}</text> |
| 4152 | </text> |
| 4153 | |
| 4154 | <text style="text_m_accent"> |
| 4155 | <placement x="%indent%" y="%row2_y%"/> |
| 4156 | <text>{@folder=Folder:}</text> |
| 4157 | </text> |
| 4158 | |
| 4159 | <text style="text_m"> |
| 4160 | <placement x="%indent%" y="%row3_y%"/> |
| 4161 | <text>%tw_zip_location%</text> |
| 4162 | </text> |
| 4163 | |
| 4164 | <text style="text_m_accent"> |
| 4165 | <placement x="%indent%" y="%row4_y%"/> |
| 4166 | <text>{@file=File:}</text> |
| 4167 | </text> |
| 4168 | |
| 4169 | <text style="text_m"> |
| 4170 | <placement x="%indent%" y="%row5_y%"/> |
| 4171 | <text>%tw_file%</text> |
| 4172 | </text> |
| 4173 | |
| 4174 | <checkbox> |
| 4175 | <placement x="%indent%" y="%row7_y%"/> |
| 4176 | <text>{@repack_backup_first=Back up existing image first}</text> |
| 4177 | <data variable="tw_repack_backup_first"/> |
| 4178 | </checkbox> |
| 4179 | |
| 4180 | <button style="main_button_half_width"> |
| 4181 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 4182 | <text>{@install_cancel=Do not Install}</text> |
| 4183 | <action function="page">repackselect</action> |
| 4184 | </button> |
| 4185 | |
| 4186 | <slider style="slider_centered"> |
| 4187 | <text>{@swipe_to_install=Swipe to Install}</text> |
| 4188 | <actions> |
| 4189 | <action function="set">tw_back=advanced</action> |
| 4190 | <action function="set">tw_action=repackimage</action> |
| 4191 | <action function="set">tw_action_param=/boot</action> |
| 4192 | <action function="set">tw_action_text1={@installing=Installing...}</action> |
| 4193 | <action function="set">tw_action_text2=</action> |
| 4194 | <action function="set">tw_complete_text1={@install_complete=Install Complete}</action> |
| 4195 | <action function="page">action_page</action> |
| 4196 | </actions> |
| 4197 | </slider> |
| 4198 | |
| 4199 | <action> |
| 4200 | <touch key="back"/> |
| 4201 | <action function="page">repackselect</action> |
| 4202 | </action> |
| 4203 | |
| 4204 | <action> |
| 4205 | <touch key="home"/> |
| 4206 | <action function="page">main</action> |
| 4207 | </action> |
| 4208 | </page> |
| 4209 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4210 | <page name="lock"> |
| 4211 | <background color="%semi_transparent%"/> |
| 4212 | |
| 4213 | <image> |
| 4214 | <image resource="unlock_icon"/> |
| 4215 | <placement x="%center_x%" y="%row8_y%" placement="4"/> |
| 4216 | </image> |
| 4217 | |
| 4218 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4219 | <text>{@swipe_to_unlock=Swipe to Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4220 | <action function="overlay"/> |
| 4221 | </slider> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 4222 | |
| 4223 | <action> |
| 4224 | <touch key="power"/> |
| 4225 | <action function="togglebacklight"/> |
| 4226 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4227 | </page> |
| 4228 | |
| 4229 | <page name="filemanagerlist"> |
| 4230 | <template name="page"/> |
| 4231 | |
| 4232 | <text style="text_l"> |
| 4233 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4234 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4235 | </text> |
| 4236 | |
| 4237 | <text style="text_m"> |
| 4238 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4239 | <text>{@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4240 | </text> |
| 4241 | |
| 4242 | <template name="sort_options"/> |
| 4243 | |
| 4244 | <fileselector> |
| 4245 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4246 | <text>%tw_file_location1%</text> |
| 4247 | <filter folders="1" files="1"/> |
| 4248 | <path name="tw_file_location1" default="/"/> |
| 4249 | <data name="tw_filename1"/> |
| 4250 | <selection name="tw_selection1"/> |
| 4251 | </fileselector> |
| 4252 | |
| 4253 | <button style="main_button_half_width_low"> |
| 4254 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4255 | <text>{@fm_sel_curr_folder=Select Current Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4256 | <actions> |
| 4257 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4258 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4259 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4260 | <action function="page">filemanageroptions</action> |
| 4261 | </actions> |
| 4262 | </button> |
| 4263 | |
| 4264 | <action> |
| 4265 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4266 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4267 | <action function="set">tw_fm_isfolder=0</action> |
| 4268 | </actions> |
| 4269 | </action> |
| 4270 | |
| 4271 | <action> |
| 4272 | <touch key="home"/> |
| 4273 | <action function="page">main</action> |
| 4274 | </action> |
| 4275 | |
| 4276 | <action> |
| 4277 | <touch key="back"/> |
| 4278 | <action function="page">advanced</action> |
| 4279 | </action> |
| 4280 | |
| 4281 | <action> |
| 4282 | <condition var1="tw_filename1" op="modified"/> |
| 4283 | <action function="page">filemanageroptions</action> |
| 4284 | </action> |
| 4285 | </page> |
| 4286 | |
| 4287 | <page name="filemanageroptions"> |
| 4288 | <template name="page"/> |
| 4289 | |
| 4290 | <text style="text_l"> |
| 4291 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4292 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4293 | </text> |
| 4294 | |
| 4295 | <text style="text_m"> |
| 4296 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4297 | <text>{@fm_choose_act=Choose Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4298 | </text> |
| 4299 | |
| 4300 | <text style="text_m_accent"> |
| 4301 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4302 | <text>{@fm_selected=%tw_fm_type% selected:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4303 | </text> |
| 4304 | |
| 4305 | <text style="text_m"> |
| 4306 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 4307 | <text>%tw_filename1%</text> |
| 4308 | </text> |
| 4309 | |
| 4310 | <button style="main_button_half_width"> |
| 4311 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4312 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4313 | <text>{@fm_copy_file_btn=Copy File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4314 | <actions> |
| 4315 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4316 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4317 | <action function="page">choosedestinationfolder</action> |
| 4318 | </actions> |
| 4319 | </button> |
| 4320 | |
| 4321 | <button style="main_button_half_width"> |
| 4322 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4323 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4324 | <text>{@fm_copy_folder_btn=Copy Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4325 | <actions> |
| 4326 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4327 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4328 | <action function="page">choosedestinationfolder</action> |
| 4329 | </actions> |
| 4330 | </button> |
| 4331 | |
| 4332 | <button style="main_button_half_width"> |
Captain Throwback | 16dd81b | 2021-02-12 19:32:36 -0500 | [diff] [blame] | 4333 | edi <conditions> |
| 4334 | <condition var1="tw_include_nano" var2="1"/> |
| 4335 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4336 | </conditions> |
| 4337 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 4338 | <text>{@fm_edit_file=Edit File}</text> |
| 4339 | <actions> |
| 4340 | <action function="editfile">nano "%tw_filename1%"</action> |
| 4341 | <action function="page">terminalcommand</action> |
| 4342 | </actions> |
| 4343 | </button> |
| 4344 | |
| 4345 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4346 | <placement x="%col2_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4347 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4348 | <actions> |
| 4349 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4350 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4351 | <action function="page">choosedestinationfolder</action> |
| 4352 | </actions> |
| 4353 | </button> |
| 4354 | |
| 4355 | <button style="main_button_half_width"> |
| 4356 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4357 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4358 | <actions> |
| 4359 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4360 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4361 | <action function="set">tw_fm_text2=</action> |
| 4362 | <action function="set">tw_fm_text3=</action> |
| 4363 | <action function="set">tw_include_text3=0</action> |
| 4364 | <action function="set">tw_back=filemanageroptions</action> |
| 4365 | <action function="page">filemanagerconfirm</action> |
| 4366 | </actions> |
| 4367 | </button> |
| 4368 | |
| 4369 | <button style="main_button_half_width"> |
| 4370 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4371 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4372 | <actions> |
| 4373 | <action function="set">tw_filemanager_rename=0000</action> |
| 4374 | <action function="set">tw_fm_text2=</action> |
| 4375 | <action function="set">tw_fm_text3=</action> |
| 4376 | <action function="set">tw_include_text3=0</action> |
| 4377 | <action function="set">tw_back=filemanageroptions</action> |
| 4378 | <action function="page">filemanagerchmod</action> |
| 4379 | </actions> |
| 4380 | </button> |
| 4381 | |
| 4382 | <button style="main_button_half_width"> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 4383 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4384 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 4385 | <text>{@fm_open_terminal_btn=Open Terminal Here}</text> |
| 4386 | <action function="changeterminal">%tw_filename1%</action> |
| 4387 | </button> |
| 4388 | |
| 4389 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4390 | <placement x="%col2_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4391 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4392 | <actions> |
| 4393 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4394 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4395 | <action function="set">tw_fm_text2=</action> |
| 4396 | <action function="set">tw_fm_text3=</action> |
| 4397 | <action function="set">tw_include_text3=0</action> |
| 4398 | <action function="set">tw_back=filemanageroptions</action> |
| 4399 | <action function="page">filemanagerconfirm</action> |
| 4400 | </actions> |
| 4401 | </button> |
| 4402 | |
| 4403 | <button style="main_button_half_width"> |
| 4404 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4405 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4406 | <text>{@fm_rename_file_btn=Rename File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4407 | <actions> |
| 4408 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4409 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4410 | <action function="set">tw_filemanager_command=mv</action> |
| 4411 | <action function="page">filemanagerrenamefile</action> |
| 4412 | </actions> |
| 4413 | </button> |
| 4414 | |
| 4415 | <button style="main_button_half_width"> |
| 4416 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4417 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4418 | <text>{@fm_rename_folder_btn=Rename Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4419 | <actions> |
| 4420 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4421 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4422 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 4423 | <action function="page">filemanagerrenamefolder</action> |
| 4424 | </actions> |
| 4425 | </button> |
| 4426 | |
| 4427 | <action> |
| 4428 | <touch key="home"/> |
| 4429 | <action function="page">main</action> |
| 4430 | </action> |
| 4431 | |
| 4432 | <action> |
| 4433 | <touch key="back"/> |
| 4434 | <action function="page">filemanagerlist</action> |
| 4435 | </action> |
| 4436 | </page> |
| 4437 | |
| 4438 | <page name="choosedestinationfolder"> |
| 4439 | <template name="page"/> |
| 4440 | |
| 4441 | <text style="text_l"> |
| 4442 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4443 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4444 | </text> |
| 4445 | |
| 4446 | <text style="text_m"> |
| 4447 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4448 | <text>{@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4449 | </text> |
| 4450 | |
| 4451 | <template name="sort_options"/> |
| 4452 | |
| 4453 | <fileselector> |
| 4454 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4455 | <text>%tw_file_location2%</text> |
| 4456 | <filter folders="1" files="0"/> |
| 4457 | <path name="tw_file_location2" default="/"/> |
| 4458 | <data name="tw_filename2"/> |
| 4459 | <selection name="tw_selection2"/> |
| 4460 | </fileselector> |
| 4461 | |
| 4462 | <button style="main_button_half_width_low"> |
| 4463 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4464 | <text>{@fm_sel_curr_folder=Select Current Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4465 | <actions> |
| 4466 | <action function="set">tw_fm_text2=to</action> |
| 4467 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 4468 | <action function="set">tw_include_text3=1</action> |
| 4469 | <action function="set">tw_back=filemanageroptions</action> |
| 4470 | <action function="page">filemanagerconfirm</action> |
| 4471 | </actions> |
| 4472 | </button> |
| 4473 | |
| 4474 | <action> |
| 4475 | <touch key="home"/> |
| 4476 | <action function="page">main</action> |
| 4477 | </action> |
| 4478 | |
| 4479 | <action> |
| 4480 | <touch key="back"/> |
| 4481 | <action function="page">filemanageroptions</action> |
| 4482 | </action> |
| 4483 | </page> |
| 4484 | |
| 4485 | <page name="filemanagerrenamefile"> |
| 4486 | <template name="page"/> |
| 4487 | |
| 4488 | <text style="text_l"> |
| 4489 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4490 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4491 | </text> |
| 4492 | |
| 4493 | <text style="text_m"> |
| 4494 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4495 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4496 | </text> |
| 4497 | |
| 4498 | <text style="text_m_accent"> |
| 4499 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4500 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4501 | </text> |
| 4502 | |
| 4503 | <input> |
| 4504 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4505 | <text>%tw_filemanager_rename%</text> |
| 4506 | <data name="tw_filemanager_rename"/> |
| 4507 | <restrict minlen="1" maxlen="128"/> |
| 4508 | <actions> |
| 4509 | <action function="set">tw_fm_text2=to</action> |
| 4510 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 4511 | <action function="set">tw_include_text3=1</action> |
| 4512 | <action function="set">tw_back=filemanageroptions</action> |
| 4513 | <action function="page">filemanagerconfirm</action> |
| 4514 | </actions> |
| 4515 | </input> |
| 4516 | |
| 4517 | <fill color="%accent_color%"> |
| 4518 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4519 | </fill> |
| 4520 | |
| 4521 | <button style="main_button_half_width_low"> |
| 4522 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4523 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4524 | <action function="page">filemanageroptions</action> |
| 4525 | </button> |
| 4526 | |
| 4527 | <template name="keyboardtemplate"/> |
| 4528 | |
| 4529 | <action> |
| 4530 | <touch key="home"/> |
| 4531 | <action function="page">main</action> |
| 4532 | </action> |
| 4533 | |
| 4534 | <action> |
| 4535 | <touch key="back"/> |
| 4536 | <action function="page">filemanageroptions</action> |
| 4537 | </action> |
| 4538 | </page> |
| 4539 | |
| 4540 | <page name="filemanagerrenamefolder"> |
| 4541 | <template name="page"/> |
| 4542 | |
| 4543 | <text style="text_l"> |
| 4544 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4545 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4546 | </text> |
| 4547 | |
| 4548 | <text style="text_m"> |
| 4549 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4550 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4551 | </text> |
| 4552 | |
| 4553 | <text style="text_m_accent"> |
| 4554 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4555 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4556 | </text> |
| 4557 | |
| 4558 | <input> |
| 4559 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4560 | <text>%tw_filemanager_rename%</text> |
| 4561 | <data name="tw_filemanager_rename"/> |
| 4562 | <restrict minlen="1" maxlen="128"/> |
| 4563 | <actions> |
| 4564 | <action function="set">tw_fm_text2=to</action> |
| 4565 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 4566 | <action function="set">tw_include_text3=1</action> |
| 4567 | <action function="set">tw_back=filemanageroptions</action> |
| 4568 | <action function="page">filemanagerconfirm</action> |
| 4569 | </actions> |
| 4570 | </input> |
| 4571 | |
| 4572 | <fill color="%accent_color%"> |
| 4573 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4574 | </fill> |
| 4575 | |
| 4576 | <button style="main_button_half_width_low"> |
| 4577 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4578 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4579 | <action function="page">filemanageroptions</action> |
| 4580 | </button> |
| 4581 | |
| 4582 | <template name="keyboardtemplate"/> |
| 4583 | |
| 4584 | <action> |
| 4585 | <touch key="home"/> |
| 4586 | <action function="page">main</action> |
| 4587 | </action> |
| 4588 | |
| 4589 | <action> |
| 4590 | <touch key="back"/> |
| 4591 | <action function="page">filemanageroptions</action> |
| 4592 | </action> |
| 4593 | </page> |
| 4594 | |
| 4595 | <page name="filemanagerchmod"> |
| 4596 | <template name="page"/> |
| 4597 | |
| 4598 | <text style="text_l"> |
| 4599 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4600 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4601 | </text> |
| 4602 | |
| 4603 | <text style="text_m"> |
| 4604 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4605 | <text>{@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4606 | </text> |
| 4607 | |
| 4608 | <text style="text_m_accent"> |
| 4609 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4610 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4611 | </text> |
| 4612 | |
| 4613 | <input> |
| 4614 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4615 | <text>%tw_filemanager_rename%</text> |
| 4616 | <data name="tw_filemanager_rename"/> |
| 4617 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 4618 | <actions> |
| 4619 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 4620 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 4621 | <action function="set">tw_back=filemanageroptions</action> |
| 4622 | <action function="page">filemanagerconfirm</action> |
| 4623 | </actions> |
| 4624 | </input> |
| 4625 | |
| 4626 | <fill color="%accent_color%"> |
| 4627 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4628 | </fill> |
| 4629 | |
| 4630 | <button style="main_button_half_width_low"> |
| 4631 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4632 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4633 | <action function="page">filemanageroptions</action> |
| 4634 | </button> |
| 4635 | |
| 4636 | <template name="keyboardtemplate"/> |
| 4637 | |
| 4638 | <action> |
| 4639 | <touch key="home"/> |
| 4640 | <action function="page">main</action> |
| 4641 | </action> |
| 4642 | |
| 4643 | <action> |
| 4644 | <touch key="back"/> |
| 4645 | <action function="page">filemanageroptions</action> |
| 4646 | </action> |
| 4647 | </page> |
| 4648 | |
| 4649 | <page name="filemanagerconfirm"> |
| 4650 | <template name="page"/> |
| 4651 | |
| 4652 | <text style="text_l"> |
| 4653 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4654 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4655 | </text> |
| 4656 | |
| 4657 | <text style="text_m"> |
| 4658 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4659 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4660 | </text> |
| 4661 | |
| 4662 | <text style="text_m_accent"> |
| 4663 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4664 | <text>%tw_fm_text1%</text> |
| 4665 | </text> |
| 4666 | |
| 4667 | <text style="text_m"> |
| 4668 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4669 | <text>%tw_filename1%</text> |
| 4670 | </text> |
| 4671 | |
| 4672 | <text style="text_m_accent"> |
| 4673 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4674 | <text>%tw_fm_text2%</text> |
| 4675 | </text> |
| 4676 | |
| 4677 | <text style="text_m"> |
| 4678 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 4679 | <text>%tw_fm_text3%</text> |
| 4680 | </text> |
| 4681 | |
| 4682 | <text style="text_m"> |
| 4683 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4684 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4685 | </text> |
| 4686 | |
| 4687 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4688 | <text>{@swipe_to_confirm=Swipe to Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4689 | <action function="page">filemanageraction</action> |
| 4690 | </slider> |
| 4691 | |
| 4692 | <action> |
| 4693 | <touch key="back"/> |
| 4694 | <action function="page">%tw_back%</action> |
| 4695 | </action> |
| 4696 | |
| 4697 | <action> |
| 4698 | <touch key="home"/> |
| 4699 | <action function="page">main</action> |
| 4700 | </action> |
| 4701 | </page> |
| 4702 | |
| 4703 | <page name="filemanageraction"> |
| 4704 | <template name="page"/> |
| 4705 | |
| 4706 | <text style="text_l"> |
| 4707 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4708 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4709 | </text> |
| 4710 | |
| 4711 | <text style="text_m"> |
| 4712 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4713 | <text>%tw_fm_text1%</text> |
| 4714 | </text> |
| 4715 | |
| 4716 | <template name="console"/> |
| 4717 | |
| 4718 | <template name="progress_bar"/> |
| 4719 | |
| 4720 | <action> |
| 4721 | <conditions> |
| 4722 | <condition var1="tw_operation_state" var2="1"/> |
| 4723 | <condition var1="tw_operation_status" var2="0"/> |
| 4724 | </conditions> |
| 4725 | <actions> |
| 4726 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4727 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4728 | <action function="page">action_complete</action> |
| 4729 | </actions> |
| 4730 | </action> |
| 4731 | |
| 4732 | <action> |
| 4733 | <conditions> |
| 4734 | <condition var1="tw_operation_state" var2="1"/> |
| 4735 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4736 | </conditions> |
| 4737 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4738 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4739 | <action function="page">action_complete</action> |
| 4740 | </actions> |
| 4741 | </action> |
| 4742 | |
| 4743 | <action> |
| 4744 | <condition var1="tw_include_text3" var2="0"/> |
| 4745 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 4746 | </action> |
| 4747 | |
| 4748 | <action> |
| 4749 | <condition var1="tw_include_text3" var2="1"/> |
| 4750 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 4751 | </action> |
| 4752 | </page> |
| 4753 | |
| 4754 | <page name="decrypt"> |
| 4755 | <template name="page"/> |
| 4756 | |
| 4757 | <action> |
| 4758 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 4759 | <action function="page">decrypt_pattern</action> |
| 4760 | </action> |
| 4761 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 4762 | <action> |
| 4763 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 4764 | <action function="page">decrypt_pin</action> |
| 4765 | </action> |
| 4766 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4767 | <text style="text_l"> |
| 4768 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4769 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4770 | </text> |
| 4771 | |
| 4772 | <text style="text_m"> |
| 4773 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4774 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4775 | </text> |
| 4776 | |
| 4777 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4778 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4779 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4780 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4781 | </text> |
| 4782 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4783 | <text style="text_m_accent"> |
| 4784 | <condition var1="tw_is_fbe" var2="1"/> |
| 4785 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4786 | <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text> |
| 4787 | </text> |
| 4788 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4789 | <input> |
| 4790 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4791 | <text>%tw_crypto_display%</text> |
| 4792 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4793 | <restrict minlen="1" maxlen="254"/> |
| 4794 | <action function="page">trydecrypt</action> |
| 4795 | </input> |
| 4796 | |
| 4797 | <fill color="%accent_color%"> |
| 4798 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4799 | </fill> |
| 4800 | |
| 4801 | <fill color="%text_fail_color%"> |
| 4802 | <condition var1="tw_password_fail" var2="1"/> |
| 4803 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4804 | </fill> |
| 4805 | |
| 4806 | <text style="text_m_fail"> |
| 4807 | <condition var1="tw_password_fail" var2="1"/> |
| 4808 | <placement x="%col1_x_left%" y="%row5_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4809 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4810 | </text> |
| 4811 | |
| 4812 | <button style="main_button_half_width_low"> |
| 4813 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4814 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 4815 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4816 | </button> |
| 4817 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4818 | <button style="main_button_half_width_low"> |
| 4819 | <placement x="%indent_right%" y="%row6_y%" placement="1"/> |
| 4820 | <text>{@sel_lang_btn=Select Language}</text> |
| 4821 | <action function="overlay">select_language</action> |
| 4822 | </button> |
| 4823 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4824 | <template name="keyboardtemplate"/> |
| 4825 | </page> |
| 4826 | |
| 4827 | <page name="decrypt_pattern"> |
| 4828 | <template name="page"/> |
| 4829 | |
| 4830 | <text style="text_l"> |
| 4831 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4832 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4833 | </text> |
| 4834 | |
| 4835 | <text style="text_m"> |
| 4836 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4837 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4838 | </text> |
| 4839 | |
| 4840 | <text style="text_m_accent"> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4841 | <placement x="%col2_x_left%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4842 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4843 | </text> |
| 4844 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4845 | <text style="text_m_fail"> |
| 4846 | <condition var1="tw_password_fail" var2="1"/> |
| 4847 | <placement x="%col2_x_left%" y="%row3_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4848 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4849 | </text> |
| 4850 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4851 | <patternpassword> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4852 | <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4853 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 4854 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 4855 | <data name="tw_crypto_password"/> |
| 4856 | <action function="page">trydecrypt</action> |
| 4857 | </patternpassword> |
| 4858 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4859 | <button style="main_button_half_width_low"> |
| 4860 | <placement x="%col_button_right%" y="%row1a_y%"/> |
| 4861 | <text>3x3</text> |
| 4862 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4863 | </button> |
| 4864 | |
| 4865 | <button style="main_button_half_width_low"> |
| 4866 | <placement x="%col_button_right%" y="%row4a_y%"/> |
| 4867 | <text>4x4</text> |
| 4868 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4869 | </button> |
| 4870 | |
| 4871 | <button style="main_button_half_width_low"> |
| 4872 | <placement x="%col_button_right%" y="%row7a_y%"/> |
| 4873 | <text>5x5</text> |
| 4874 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4875 | </button> |
| 4876 | |
| 4877 | <button style="main_button_half_width_low"> |
| 4878 | <placement x="%col_button_right%" y="%row10a_y%"/> |
| 4879 | <text>6x6</text> |
| 4880 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4881 | </button> |
| 4882 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4883 | <button style="main_button_half_width"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4884 | <placement x="%col1_x_right%" y="%row15a_y%"/> |
| 4885 | <text>{@sel_lang_btn=Select Language}</text> |
| 4886 | <action function="overlay">select_language</action> |
| 4887 | </button> |
| 4888 | |
| 4889 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4890 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4891 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 4892 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4893 | </button> |
| 4894 | </page> |
| 4895 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 4896 | <page name="decrypt_pin"> |
| 4897 | <template name="page"/> |
| 4898 | |
| 4899 | <text style="text_l"> |
| 4900 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4901 | <text>{@mount_hdr=Mount}</text> |
| 4902 | </text> |
| 4903 | |
| 4904 | <text style="text_m"> |
| 4905 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4906 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
| 4907 | </text> |
| 4908 | |
| 4909 | <text style="text_m_accent"> |
| 4910 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
| 4911 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4912 | <text>{@decrypt_data_enter_pass=Enter PIN:}</text> |
| 4913 | </text> |
| 4914 | |
| 4915 | <text style="text_m_accent"> |
| 4916 | <condition var1="tw_is_fbe" var2="1"/> |
| 4917 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4918 | <text>{@decrypt_data_enter_pass_fbe=Enter PIN for User [%tw_crypto_user_id%]}</text> |
| 4919 | </text> |
| 4920 | |
| 4921 | <input> |
| 4922 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4923 | <text>%tw_crypto_display%</text> |
| 4924 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4925 | <restrict minlen="1" maxlen="254"/> |
| 4926 | <action function="page">trydecrypt</action> |
| 4927 | </input> |
| 4928 | |
| 4929 | <fill color="%accent_color%"> |
| 4930 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4931 | </fill> |
| 4932 | |
| 4933 | <fill color="%text_fail_color%"> |
| 4934 | <condition var1="tw_password_fail" var2="1"/> |
| 4935 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4936 | </fill> |
| 4937 | |
| 4938 | <text style="text_m_fail"> |
| 4939 | <condition var1="tw_password_fail" var2="1"/> |
| 4940 | <placement x="%col1_x_left%" y="%row5_y%"/> |
| 4941 | <text>{@decrypt_data_failed=PIN failed, please try again!}</text> |
| 4942 | </text> |
| 4943 | |
| 4944 | <button style="main_button_half_width_low"> |
| 4945 | <placement x="%indent%" y="%row6_y%"/> |
| 4946 | <text>{@cancel_btn=Cancel}</text> |
| 4947 | <action function="page">canceldecrypt</action> |
| 4948 | </button> |
| 4949 | |
| 4950 | <button style="main_button_half_width_low"> |
| 4951 | <placement x="%indent_right%" y="%row6_y%" placement="1"/> |
| 4952 | <text>{@sel_lang_btn=Select Language}</text> |
| 4953 | <action function="overlay">select_language</action> |
| 4954 | </button> |
| 4955 | |
| 4956 | <template name="keyboardnum"/> |
| 4957 | </page> |
| 4958 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4959 | <page name="trydecrypt"> |
| 4960 | <template name="page"/> |
| 4961 | |
| 4962 | <text style="text_l"> |
| 4963 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4964 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4965 | </text> |
| 4966 | |
| 4967 | <text style="text_m"> |
| 4968 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4969 | <text>{@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4970 | </text> |
| 4971 | |
| 4972 | <template name="console"/> |
| 4973 | |
| 4974 | <template name="progress_bar"/> |
| 4975 | |
| 4976 | <action> |
| 4977 | <action function="decrypt"/> |
| 4978 | </action> |
| 4979 | |
| 4980 | <action> |
| 4981 | <conditions> |
| 4982 | <condition var1="tw_operation_state" var2="1"/> |
| 4983 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4984 | </conditions> |
| 4985 | <actions> |
| 4986 | <action function="set">tw_password_fail=1</action> |
| 4987 | <action function="page">decrypt</action> |
| 4988 | </actions> |
| 4989 | </action> |
| 4990 | |
| 4991 | <action> |
| 4992 | <conditions> |
| 4993 | <condition var1="tw_operation_state" var2="1"/> |
| 4994 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 4995 | </conditions> |
| 4996 | <actions> |
| 4997 | <action function="set">tw_page_done=1</action> |
| 4998 | <action function="page">main</action> |
| 4999 | </actions> |
| 5000 | </action> |
| 5001 | </page> |
| 5002 | |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5003 | <page name="canceldecrypt"> |
| 5004 | <template name="page"/> |
| 5005 | |
| 5006 | <text style="text_l"> |
| 5007 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5008 | <text>{@cancel_btn=Cancel}</text> |
| 5009 | </text> |
| 5010 | |
| 5011 | <text style="text_m"> |
| 5012 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 5013 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
| 5014 | </text> |
| 5015 | |
| 5016 | <template name="console"/> |
| 5017 | |
| 5018 | <template name="progress_bar"/> |
| 5019 | |
| 5020 | <action> |
| 5021 | <action function="refreshsizes"/> |
| 5022 | </action> |
| 5023 | |
| 5024 | <action> |
| 5025 | <conditions> |
| 5026 | <condition var1="tw_operation_state" var2="1"/> |
| 5027 | </conditions> |
| 5028 | <actions> |
| 5029 | <action function="set">tw_page_done=1</action> |
| 5030 | <action function="page">main</action> |
| 5031 | </actions> |
| 5032 | </action> |
| 5033 | </page> |
| 5034 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5035 | <page name="terminalcommand"> |
| 5036 | <template name="page"/> |
| 5037 | |
| 5038 | <fill color="%background_color%"> |
| 5039 | <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/> |
| 5040 | </fill> |
| 5041 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5042 | <terminal> |
| 5043 | <condition var1="tw_hide_kb" var2="0"/> |
| 5044 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/> |
| 5045 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5046 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5047 | <terminal> |
| 5048 | <condition var1="tw_hide_kb" var2="1"/> |
| 5049 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/> |
| 5050 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5051 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5052 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5053 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5054 | <object type="fill" color="#000000"> |
| 5055 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 5056 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5057 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5058 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5059 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5060 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5061 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5062 | <image resource="back" /> |
| 5063 | <condition var1="tw_busy" var2="0" /> |
| 5064 | <actions> |
| 5065 | <action function="set">tw_hide_kb=0</action> |
| 5066 | <action function="page">advanced</action> |
| 5067 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5068 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5069 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5070 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5071 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5072 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5073 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5074 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5075 | <image resource="kb_hide" /> |
| 5076 | <condition var1="tw_busy" var2="0" /> |
| 5077 | <actions> |
| 5078 | <action function="set">tw_hide_kb=1</action> |
| 5079 | <action function="page">terminalcommand</action> |
| 5080 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5081 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5082 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5083 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5084 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5085 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5086 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5087 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5088 | <image resource="kb_show" /> |
| 5089 | <condition var1="tw_busy" var2="0" /> |
| 5090 | <actions> |
| 5091 | <action function="set">tw_hide_kb=0</action> |
| 5092 | <action function="page">terminalcommand</action> |
| 5093 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5094 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5095 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5096 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5097 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5098 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5099 | <image resource="home" /> |
| 5100 | <condition var1="tw_busy" var2="0" /> |
| 5101 | <actions> |
| 5102 | <action function="set">tw_hide_kb=0</action> |
| 5103 | <action function="key">home</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5104 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5105 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5106 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5107 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5108 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5109 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5110 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5111 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5112 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5113 | <image resource="kb_hide" /> |
| 5114 | <condition var1="tw_busy" var2="0" /> |
| 5115 | <actions> |
| 5116 | <action function="set">tw_hide_kb=1</action> |
| 5117 | <action function="page">terminalcommand</action> |
| 5118 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5119 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5120 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5121 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5122 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5123 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5124 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5125 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5126 | <image resource="kb_show" /> |
| 5127 | <condition var1="tw_busy" var2="0" /> |
| 5128 | <actions> |
| 5129 | <action function="set">tw_hide_kb=0</action> |
| 5130 | <action function="page">terminalcommand</action> |
| 5131 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5132 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5133 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5134 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5135 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5136 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5137 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5138 | <image resource="back" /> |
| 5139 | <condition var1="tw_busy" var2="0" /> |
| 5140 | <actions> |
| 5141 | <action function="set">tw_hide_kb=0</action> |
| 5142 | <action function="page">advanced</action> |
| 5143 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5144 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5145 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5146 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5147 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5148 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5149 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5150 | <image resource="back" /> |
| 5151 | <condition var1="tw_busy" var2="0" /> |
| 5152 | <actions> |
| 5153 | <action function="set">tw_hide_kb=0</action> |
| 5154 | <action function="page">advanced</action> |
| 5155 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5156 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5157 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5158 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5159 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5160 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5161 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5162 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5163 | <image resource="kb_hide" /> |
| 5164 | <condition var1="tw_busy" var2="0" /> |
| 5165 | <actions> |
| 5166 | <action function="set">tw_hide_kb=1</action> |
| 5167 | <action function="page">terminalcommand</action> |
| 5168 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5169 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5170 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5171 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5172 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5173 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5174 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5175 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5176 | <image resource="kb_show" /> |
| 5177 | <condition var1="tw_busy" var2="0" /> |
| 5178 | <actions> |
| 5179 | <action function="set">tw_hide_kb=0</action> |
| 5180 | <action function="page">terminalcommand</action> |
| 5181 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5182 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5183 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5184 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5185 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5186 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5187 | <image resource="home" /> |
| 5188 | <condition var1="tw_busy" var2="0" /> |
| 5189 | <actions> |
| 5190 | <action function="set">tw_hide_kb=0</action> |
| 5191 | <action function="key">home</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5192 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5193 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5194 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5195 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5196 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5197 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5198 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5199 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5200 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5201 | <image resource="kb_hide" /> |
| 5202 | <condition var1="tw_busy" var2="0" /> |
| 5203 | <actions> |
| 5204 | <action function="set">tw_hide_kb=1</action> |
| 5205 | <action function="page">terminalcommand</action> |
| 5206 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5207 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5208 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5209 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5210 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5211 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5212 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5213 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5214 | <image resource="kb_show" /> |
| 5215 | <condition var1="tw_busy" var2="0" /> |
| 5216 | <actions> |
| 5217 | <action function="set">tw_hide_kb=0</action> |
| 5218 | <action function="page">terminalcommand</action> |
| 5219 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5220 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5221 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5222 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5223 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5224 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5225 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5226 | <image resource="back" /> |
| 5227 | <condition var1="tw_busy" var2="0" /> |
| 5228 | <actions> |
| 5229 | <action function="set">tw_hide_kb=0</action> |
| 5230 | <action function="page">advanced</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5231 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5232 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5233 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5234 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5235 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5236 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5237 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5238 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5239 | <image resource="back" /> |
| 5240 | <condition var1="tw_busy" var2="0" /> |
| 5241 | <actions> |
| 5242 | <action function="set">tw_hide_kb=0</action> |
| 5243 | <action function="page">advanced</action> |
| 5244 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5245 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5246 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5247 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5248 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5249 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5250 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5251 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5252 | <image resource="kb_hide" /> |
| 5253 | <condition var1="tw_busy" var2="0" /> |
| 5254 | <actions> |
| 5255 | <action function="set">tw_hide_kb=1</action> |
| 5256 | <action function="page">terminalcommand</action> |
| 5257 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5258 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5259 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5260 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5261 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5262 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5263 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5264 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5265 | <image resource="kb_show" /> |
| 5266 | <condition var1="tw_busy" var2="0" /> |
| 5267 | <actions> |
| 5268 | <action function="set">tw_hide_kb=0</action> |
| 5269 | <action function="page">terminalcommand</action> |
| 5270 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5271 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5272 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5273 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5274 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5275 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5276 | <image resource="home" /> |
| 5277 | <condition var1="tw_busy" var2="0" /> |
| 5278 | <actions> |
| 5279 | <action function="set">tw_hide_kb=0</action> |
| 5280 | <action function="key">home</action> |
| 5281 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5282 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5283 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5284 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5285 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5286 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5287 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5288 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5289 | <image resource="kb_hide" /> |
| 5290 | <condition var1="tw_busy" var2="0" /> |
| 5291 | <actions> |
| 5292 | <action function="set">tw_hide_kb=1</action> |
| 5293 | <action function="page">terminalcommand</action> |
| 5294 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5295 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5296 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5297 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5298 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5299 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5300 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5301 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5302 | <image resource="kb_show" /> |
| 5303 | <condition var1="tw_busy" var2="0" /> |
| 5304 | <actions> |
| 5305 | <action function="set">tw_hide_kb=0</action> |
| 5306 | <action function="page">terminalcommand</action> |
| 5307 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5308 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5309 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5310 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5311 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5312 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5313 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5314 | <image resource="back" /> |
| 5315 | <condition var1="tw_busy" var2="0" /> |
| 5316 | <actions> |
| 5317 | <action function="set">tw_hide_kb=0</action> |
| 5318 | <action function="page">advanced</action> |
| 5319 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5320 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5321 | |
| 5322 | <action> |
| 5323 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5324 | <actions> |
| 5325 | <action function="page">main</action> |
| 5326 | <action function="set">tw_hide_kb=0</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5327 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5328 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5329 | </action> |
| 5330 | |
| 5331 | <action> |
| 5332 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5333 | <actions> |
| 5334 | <action function="page">advanced</action> |
| 5335 | <action function="set">tw_hide_kb=0</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5336 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5337 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5338 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5339 | |
| 5340 | <object type="action"> |
| 5341 | <touch key="power+voldown" /> |
| 5342 | <action function="screenshot" /> |
| 5343 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5344 | </page> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5345 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5346 | <page name="fastboot"> |
| 5347 | <template name="page"/> |
| 5348 | |
| 5349 | <text style="text_l"> |
| 5350 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5351 | <text>{@fastboot_button=Fastboot}</text> |
| 5352 | </text> |
| 5353 | |
| 5354 | <template name="console"/> |
| 5355 | |
| 5356 | <template name="progress_bar"/> |
| 5357 | |
| 5358 | <button style="main_button_half_width"> |
| 5359 | <condition var1="tw_enable_fastboot" op="=" var2="1" /> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5360 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5361 | <text>{@enable_adb=Enable ADB}</text> |
| 5362 | <actions> |
| 5363 | <action function="enableadb"/> |
| 5364 | <action function="set">tw_enable_adb=1</action> |
| 5365 | <action function="set">tw_enable_fastboot=0</action> |
| 5366 | </actions> |
| 5367 | </button> |
| 5368 | |
| 5369 | <button style="main_button_half_width"> |
| 5370 | <condition var1="tw_enable_adb" op="=" var2="1" /> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5371 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5372 | <text>{@enable_fastboot=Enable Fastboot}</text> |
| 5373 | <actions> |
| 5374 | <action function="enablefastboot"/> |
| 5375 | <action function="set">tw_enable_fastboot=1</action> |
| 5376 | <action function="set">tw_enable_adb=0</action> |
| 5377 | </actions> |
| 5378 | </button> |
| 5379 | |
| 5380 | <button style="main_button_half_width"> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5381 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5382 | <text>{@reboot_btn=Reboot}</text> |
| 5383 | <action function="page">fastbootreboot</action> |
| 5384 | </button> |
| 5385 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5386 | |
| 5387 | <page name="sideload"> |
| 5388 | <template name="page"/> |
| 5389 | |
| 5390 | <text style="text_l"> |
| 5391 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5392 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5393 | </text> |
| 5394 | |
| 5395 | <text style="text_m"> |
| 5396 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5397 | <text>{@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5398 | </text> |
| 5399 | |
| 5400 | <checkbox> |
| 5401 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5402 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5403 | <data variable="tw_wipe_dalvik"/> |
| 5404 | </checkbox> |
| 5405 | |
| 5406 | <checkbox> |
| 5407 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5408 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5409 | <data variable="tw_wipe_cache"/> |
| 5410 | </checkbox> |
| 5411 | |
| 5412 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5413 | <text>{@swipe_to_sideload=Swipe to Start Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5414 | <actions> |
| 5415 | <action function="set">tw_back=advanced</action> |
| 5416 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5417 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5418 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5419 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5420 | <action function="set">tw_has_cancel=1</action> |
| 5421 | <action function="set">tw_show_reboot=1</action> |
| 5422 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5423 | <action function="page">action_page</action> |
| 5424 | </actions> |
| 5425 | </slider> |
| 5426 | |
| 5427 | <action> |
| 5428 | <touch key="home"/> |
| 5429 | <action function="page">main</action> |
| 5430 | </action> |
| 5431 | |
| 5432 | <action> |
| 5433 | <touch key="back"/> |
| 5434 | <action function="page">advanced</action> |
| 5435 | </action> |
| 5436 | </page> |
| 5437 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5438 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5439 | <template name="page"/> |
| 5440 | |
| 5441 | <text style="text_l"> |
| 5442 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5443 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5444 | </text> |
| 5445 | |
| 5446 | <text style="text_m"> |
| 5447 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5448 | <text>{@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5449 | </text> |
| 5450 | |
| 5451 | <text style="text_m_accent"> |
| 5452 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5453 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5454 | </text> |
| 5455 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5456 | <text style="text_m_fail"> |
| 5457 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5458 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5459 | </text> |
| 5460 | |
| 5461 | <text style="text_m_fail"> |
| 5462 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5463 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5464 | </text> |
| 5465 | |
| 5466 | <slider style="slider_centered"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5467 | <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5468 | <actions> |
| 5469 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5470 | <action function="set">tw_action=fixcontexts</action> |
| 5471 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5472 | <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5473 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5474 | <action function="set">tw_show_reboot=1</action> |
| 5475 | <action function="page">action_page</action> |
| 5476 | </actions> |
| 5477 | </slider> |
| 5478 | |
| 5479 | <action> |
| 5480 | <touch key="home"/> |
| 5481 | <action function="page">main</action> |
| 5482 | </action> |
| 5483 | |
| 5484 | <action> |
| 5485 | <touch key="back"/> |
| 5486 | <action function="page">advanced</action> |
| 5487 | </action> |
| 5488 | </page> |
| 5489 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5490 | <page name="slideout"> |
| 5491 | <fill color="%background_color%"> |
| 5492 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5493 | </fill> |
| 5494 | |
| 5495 | <console> |
| 5496 | <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/> |
| 5497 | </console> |
| 5498 | |
| 5499 | <button> |
| 5500 | <fill color="%transparent%"/> |
| 5501 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5502 | <action function="overlay"/> |
| 5503 | </button> |
| 5504 | |
| 5505 | <action> |
Matt Mower | 0c347d5 | 2016-01-21 23:14:39 -0600 | [diff] [blame] | 5506 | <touch key="power"/> |
| 5507 | <action function="togglebacklight"/> |
| 5508 | </action> |
| 5509 | |
| 5510 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5511 | <touch key="power+voldown"/> |
| 5512 | <action function="screenshot"/> |
| 5513 | </action> |
| 5514 | </page> |
| 5515 | |
| 5516 | <page name="select_storage"> |
| 5517 | <fill color="%semi_transparent%"> |
| 5518 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5519 | </fill> |
| 5520 | |
| 5521 | <fill color="%background_color%"> |
| 5522 | <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/> |
| 5523 | </fill> |
| 5524 | |
| 5525 | <partitionlist style="partitionlist_storage"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5526 | <text>{@sel_storage_list=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5527 | <data name="tw_storage_path"/> |
| 5528 | <listtype name="storage"/> |
| 5529 | </partitionlist> |
| 5530 | |
| 5531 | <button style="button_third_width"> |
| 5532 | <placement x="%dialog_button_x%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5533 | <text>{@ok_btn=OK}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5534 | <actions> |
| 5535 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5536 | <action function="overlay"/> |
| 5537 | <action function="page">clear_vars</action> |
| 5538 | </actions> |
| 5539 | </button> |
| 5540 | |
| 5541 | <fill color="#000000"> |
| 5542 | <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/> |
| 5543 | </fill> |
| 5544 | |
| 5545 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5546 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5547 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5548 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5549 | <image resource="back" /> |
| 5550 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5551 | <actions> |
| 5552 | <action function="overlay"/> |
| 5553 | <action function="key">%tw_back%</action> |
| 5554 | </actions> |
| 5555 | </button> |
| 5556 | |
| 5557 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5558 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5559 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5560 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5561 | <image resource="console" /> |
| 5562 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5563 | <action function="overlay">slideout</action> |
| 5564 | </button> |
| 5565 | |
| 5566 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5567 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5568 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5569 | <image resource="home" /> |
| 5570 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5571 | <actions> |
| 5572 | <action function="overlay"/> |
| 5573 | <action function="key">home</action> |
| 5574 | </actions> |
| 5575 | </button> |
| 5576 | |
| 5577 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5578 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5579 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5580 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5581 | <image resource="console" /> |
| 5582 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5583 | <action function="overlay">slideout</action> |
| 5584 | </button> |
| 5585 | |
| 5586 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5587 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5588 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5589 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5590 | <image resource="back" /> |
| 5591 | <condition var1="tw_busy" var2="0" /> |
| 5592 | <actions> |
| 5593 | <action function="overlay"/> |
| 5594 | <action function="key">%tw_back%</action> |
| 5595 | </actions> |
| 5596 | </button> |
| 5597 | |
| 5598 | <button> |
| 5599 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5600 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5601 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5602 | <image resource="back" /> |
| 5603 | <condition var1="tw_busy" var2="0" /> |
| 5604 | <actions> |
| 5605 | <action function="overlay"/> |
| 5606 | <action function="key">%tw_back%</action> |
| 5607 | </actions> |
| 5608 | </button> |
| 5609 | |
| 5610 | <button> |
| 5611 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5612 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5613 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5614 | <image resource="console" /> |
| 5615 | <condition var1="tw_busy" var2="0" /> |
| 5616 | <action function="overlay">slideout</action> |
| 5617 | </button> |
| 5618 | |
| 5619 | <button> |
| 5620 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5621 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5622 | <image resource="home" /> |
| 5623 | <condition var1="tw_busy" var2="0" /> |
| 5624 | <actions> |
| 5625 | <action function="overlay"/> |
| 5626 | <action function="key">home</action> |
| 5627 | </actions> |
| 5628 | </button> |
| 5629 | |
| 5630 | <button> |
| 5631 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5632 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5633 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5634 | <image resource="console" /> |
| 5635 | <condition var1="tw_busy" var2="0" /> |
| 5636 | <action function="overlay">slideout</action> |
| 5637 | </button> |
| 5638 | |
| 5639 | <button> |
| 5640 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5641 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5642 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5643 | <image resource="back" /> |
| 5644 | <condition var1="tw_busy" var2="0" /> |
| 5645 | <actions> |
| 5646 | <action function="overlay"/> |
| 5647 | <action function="key">%tw_back%</action> |
| 5648 | </actions> |
| 5649 | </button> |
| 5650 | |
| 5651 | <button> |
| 5652 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5653 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5654 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5655 | <image resource="back" /> |
| 5656 | <condition var1="tw_busy" var2="0" /> |
| 5657 | <actions> |
| 5658 | <action function="overlay"/> |
| 5659 | <action function="key">%tw_back%</action> |
| 5660 | </actions> |
| 5661 | </button> |
| 5662 | |
| 5663 | <button> |
| 5664 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5665 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5666 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5667 | <image resource="console" /> |
| 5668 | <condition var1="tw_busy" var2="0" /> |
| 5669 | <action function="overlay">slideout</action> |
| 5670 | </button> |
| 5671 | |
| 5672 | <button> |
| 5673 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5674 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5675 | <image resource="home" /> |
| 5676 | <condition var1="tw_busy" var2="0" /> |
| 5677 | <actions> |
| 5678 | <action function="overlay"/> |
| 5679 | <action function="key">home</action> |
| 5680 | </actions> |
| 5681 | </button> |
| 5682 | |
| 5683 | <button> |
| 5684 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5685 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5686 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5687 | <image resource="console" /> |
| 5688 | <condition var1="tw_busy" var2="0" /> |
| 5689 | <action function="overlay">slideout</action> |
| 5690 | </button> |
| 5691 | |
| 5692 | <button> |
| 5693 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5694 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5695 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5696 | <image resource="back" /> |
| 5697 | <condition var1="tw_busy" var2="0" /> |
| 5698 | <actions> |
| 5699 | <action function="overlay"/> |
| 5700 | <action function="key">%tw_back%</action> |
| 5701 | </actions> |
| 5702 | </button> |
| 5703 | |
| 5704 | <action> |
| 5705 | <touch key="power+voldown"/> |
| 5706 | <action function="screenshot"/> |
| 5707 | </action> |
| 5708 | </page> |
| 5709 | |
| 5710 | <page name="select_language"> |
| 5711 | <fill color="%semi_transparent%"> |
| 5712 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5713 | </fill> |
| 5714 | |
| 5715 | <fill color="%background_color%"> |
| 5716 | <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/> |
| 5717 | </fill> |
| 5718 | |
| 5719 | <listbox> |
| 5720 | <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/> |
| 5721 | <text>{@select_language=Select Language:}</text> |
| 5722 | <icon selected="radio_true" unselected="radio_false" /> |
| 5723 | <data name="tw_language" /> |
| 5724 | </listbox> |
| 5725 | |
| 5726 | <button style="button_third_width"> |
| 5727 | <placement x="%dialog_button_x%" y="%row13_y%"/> |
| 5728 | <text>{@ok_btn=OK}</text> |
| 5729 | <actions> |
| 5730 | <action function="overlay"/> |
| 5731 | <action function="setlanguage"></action> |
| 5732 | </actions> |
| 5733 | </button> |
| 5734 | |
| 5735 | <fill color="#000000"> |
| 5736 | <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/> |
| 5737 | </fill> |
| 5738 | |
| 5739 | <button> |
| 5740 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5741 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5742 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5743 | <image resource="back" /> |
| 5744 | <condition var1="tw_busy" var2="0" /> |
| 5745 | <actions> |
| 5746 | <action function="overlay"/> |
| 5747 | <action function="key">%tw_back%</action> |
| 5748 | </actions> |
| 5749 | </button> |
| 5750 | |
| 5751 | <button> |
| 5752 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5753 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5754 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5755 | <image resource="console" /> |
| 5756 | <condition var1="tw_busy" var2="0" /> |
| 5757 | <action function="overlay">slideout</action> |
| 5758 | </button> |
| 5759 | |
| 5760 | <button> |
| 5761 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5762 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5763 | <image resource="home" /> |
| 5764 | <condition var1="tw_busy" var2="0" /> |
| 5765 | <actions> |
| 5766 | <action function="overlay"/> |
| 5767 | <action function="key">home</action> |
| 5768 | </actions> |
| 5769 | </button> |
| 5770 | |
| 5771 | <button> |
| 5772 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5773 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5774 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5775 | <image resource="console" /> |
| 5776 | <condition var1="tw_busy" var2="0" /> |
| 5777 | <action function="overlay">slideout</action> |
| 5778 | </button> |
| 5779 | |
| 5780 | <button> |
| 5781 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5782 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5783 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5784 | <image resource="back" /> |
| 5785 | <condition var1="tw_busy" var2="0" /> |
| 5786 | <actions> |
| 5787 | <action function="overlay"/> |
| 5788 | <action function="key">%tw_back%</action> |
| 5789 | </actions> |
| 5790 | </button> |
| 5791 | |
| 5792 | <button> |
| 5793 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5794 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5795 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5796 | <image resource="back" /> |
| 5797 | <condition var1="tw_busy" var2="0" /> |
| 5798 | <actions> |
| 5799 | <action function="overlay"/> |
| 5800 | <action function="key">%tw_back%</action> |
| 5801 | </actions> |
| 5802 | </button> |
| 5803 | |
| 5804 | <button> |
| 5805 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5806 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5807 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5808 | <image resource="console" /> |
| 5809 | <condition var1="tw_busy" var2="0" /> |
| 5810 | <action function="overlay">slideout</action> |
| 5811 | </button> |
| 5812 | |
| 5813 | <button> |
| 5814 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5815 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5816 | <image resource="home" /> |
| 5817 | <condition var1="tw_busy" var2="0" /> |
| 5818 | <actions> |
| 5819 | <action function="overlay"/> |
| 5820 | <action function="key">home</action> |
| 5821 | </actions> |
| 5822 | </button> |
| 5823 | |
| 5824 | <button> |
| 5825 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5826 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5827 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5828 | <image resource="console" /> |
| 5829 | <condition var1="tw_busy" var2="0" /> |
| 5830 | <action function="overlay">slideout</action> |
| 5831 | </button> |
| 5832 | |
| 5833 | <button> |
| 5834 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5835 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5836 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5837 | <image resource="back" /> |
| 5838 | <condition var1="tw_busy" var2="0" /> |
| 5839 | <actions> |
| 5840 | <action function="overlay"/> |
| 5841 | <action function="key">%tw_back%</action> |
| 5842 | </actions> |
| 5843 | </button> |
| 5844 | |
| 5845 | <button> |
| 5846 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5847 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5848 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5849 | <image resource="back" /> |
| 5850 | <condition var1="tw_busy" var2="0" /> |
| 5851 | <actions> |
| 5852 | <action function="overlay"/> |
| 5853 | <action function="key">%tw_back%</action> |
| 5854 | </actions> |
| 5855 | </button> |
| 5856 | |
| 5857 | <button> |
| 5858 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5859 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5860 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5861 | <image resource="console" /> |
| 5862 | <condition var1="tw_busy" var2="0" /> |
| 5863 | <action function="overlay">slideout</action> |
| 5864 | </button> |
| 5865 | |
| 5866 | <button> |
| 5867 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5868 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5869 | <image resource="home" /> |
| 5870 | <condition var1="tw_busy" var2="0" /> |
| 5871 | <actions> |
| 5872 | <action function="overlay"/> |
| 5873 | <action function="key">home</action> |
| 5874 | </actions> |
| 5875 | </button> |
| 5876 | |
| 5877 | <button> |
| 5878 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5879 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5880 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5881 | <image resource="console" /> |
| 5882 | <condition var1="tw_busy" var2="0" /> |
| 5883 | <action function="overlay">slideout</action> |
| 5884 | </button> |
| 5885 | |
| 5886 | <button> |
| 5887 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5888 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5889 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5890 | <image resource="back" /> |
| 5891 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5892 | <actions> |
| 5893 | <action function="overlay"/> |
| 5894 | <action function="key">%tw_back%</action> |
| 5895 | </actions> |
| 5896 | </button> |
| 5897 | |
| 5898 | <action> |
| 5899 | <touch key="power+voldown"/> |
| 5900 | <action function="screenshot"/> |
| 5901 | </action> |
| 5902 | </page> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5903 | |
| 5904 | <page name="decrypt_users"> |
| 5905 | <template name="page"/> |
| 5906 | |
| 5907 | <text style="text_l"> |
| 5908 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5909 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5910 | </text> |
| 5911 | |
| 5912 | <text style="text_m_accent"> |
| 5913 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5914 | <text>{@decrypt_users_selection=Select a user ID to decrypt}</text> |
| 5915 | </text> |
| 5916 | |
| 5917 | <listbox> |
| 5918 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/> |
| 5919 | <text>{@select_user=Select User}</text> |
| 5920 | <icon selected="radio_true" unselected="radio_false" /> |
| 5921 | <data name="tw_crypto_user_id" /> |
| 5922 | </listbox> |
| 5923 | |
| 5924 | <button style="main_button_half_width"> |
| 5925 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 5926 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5927 | <action function="set">tw_crypto_password=</action> |
| 5928 | <action function="set">tw_password_fail=0</action> |
| 5929 | <action function="page">decrypt</action> |
| 5930 | </button> |
| 5931 | |
| 5932 | <action> |
| 5933 | <touch key="home"/> |
| 5934 | <action function="page">main</action> |
| 5935 | </action> |
| 5936 | |
| 5937 | <action> |
| 5938 | <touch key="back"/> |
| 5939 | <action function="page">advanced</action> |
| 5940 | </action> |
| 5941 | </page> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 5942 | |
| 5943 | <page name="changeTwrpFolder"> |
| 5944 | <template name="page"/> |
| 5945 | |
| 5946 | <text style="text_l"> |
| 5947 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5948 | <text>{@advanced_hdr=Advanced}</text> |
| 5949 | </text> |
| 5950 | |
| 5951 | <text style="text_m"> |
| 5952 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 5953 | <text>{@change_twrp_folder_btn=Change TWRP folder}</text> |
| 5954 | </text> |
| 5955 | |
| 5956 | <text style="text_m_accent"> |
| 5957 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 5958 | <text>{@name=Name:}</text> |
| 5959 | </text> |
| 5960 | |
| 5961 | <input> |
| 5962 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 5963 | <text>%tw_custom_folder%</text> |
| 5964 | <data name="tw_custom_folder"/> |
| 5965 | <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/> |
| 5966 | <actions> |
| 5967 | <action function="set">tw_back=changeTwrpFolder</action> |
| 5968 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 5969 | <action function="set">tw_action_param=%tw_custom_folder%</action> |
| 5970 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 5971 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 5972 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 5973 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action> |
| 5974 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 5975 | <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action> |
| 5976 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 5977 | <action function="set">tw_notexistpage=confirm_action</action> |
| 5978 | <action function="page">filecheck</action> |
| 5979 | </actions> |
| 5980 | </input> |
| 5981 | |
| 5982 | <fill color="%accent_color%"> |
| 5983 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5984 | </fill> |
| 5985 | |
| 5986 | <fill color="%text_fail_color%"> |
| 5987 | <condition var1="tw_fileexists" var2="1"/> |
| 5988 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5989 | </fill> |
| 5990 | |
| 5991 | <text style="text_m_fail"> |
| 5992 | <condition var1="tw_fileexists" var2="1"/> |
| 5993 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 5994 | <text>{@tw_folder_exists=A folder with that name already exists!}</text> |
| 5995 | </text> |
| 5996 | |
| 5997 | <button style="main_button_half_width_low"> |
| 5998 | <placement x="%indent%" y="%row5_y%"/> |
| 5999 | <text>{@cancel_btn=Cancel}</text> |
| 6000 | <action function="page">advanced</action> |
| 6001 | </button> |
| 6002 | |
| 6003 | <button style="main_button_half_width_low"> |
| 6004 | <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/> |
| 6005 | <placement x="%date_button_x%" y="%row5_y%"/> |
| 6006 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
| 6007 | <actions> |
| 6008 | <action function="set">tw_back=changeTwrpFolder</action> |
| 6009 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 6010 | <action function="set">tw_action_param=TWRP</action> |
| 6011 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 6012 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 6013 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 6014 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action> |
| 6015 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 6016 | <action function="set">tw_filecheck=/sdcard/TWRP</action> |
| 6017 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 6018 | <action function="set">tw_notexistpage=confirm_action</action> |
| 6019 | <action function="page">filecheck</action> |
| 6020 | </actions> |
| 6021 | </button> |
| 6022 | |
| 6023 | <template name="keyboardtemplate"/> |
| 6024 | |
| 6025 | <action> |
| 6026 | <touch key="home"/> |
| 6027 | <actions> |
| 6028 | <action function="page">main</action> |
| 6029 | </actions> |
| 6030 | </action> |
| 6031 | |
| 6032 | <action> |
| 6033 | <touch key="back"/> |
| 6034 | <actions> |
| 6035 | <action function="page">advanced</action> |
| 6036 | </actions> |
| 6037 | </action> |
| 6038 | </page> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6039 | |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6040 | <page name="restore_keymaster"> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6041 | <template name="page"/> |
| 6042 | |
| 6043 | <text style="text_m_accent"> |
| 6044 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6045 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6046 | <text>{@restore_with_pin_password1=PIN/Password is enabled}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6047 | </text> |
| 6048 | |
| 6049 | <text style="text_m_accent"> |
| 6050 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6051 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6052 | <text>{@restore_with_pin_password2=PIN/Password should be disabled before restore}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6053 | </text> |
| 6054 | <text style="text_l"> |
| 6055 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6056 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6057 | <text>{@restore_pin_password=Restore While PIN/Password Enabled?}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6058 | </text> |
| 6059 | |
| 6060 | <text style="text_m_accent"> |
| 6061 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6062 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 6063 | <text>{@restore_with_pattern1=Pattern is enabled}</text> |
| 6064 | </text> |
| 6065 | |
| 6066 | <text style="text_m_accent"> |
| 6067 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6068 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 6069 | <text>{@restore_with_pattern2=Pattern should be disabled before restore}</text> |
| 6070 | </text> |
| 6071 | |
| 6072 | <text style="text_l"> |
| 6073 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6074 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6075 | <text>{@restore_pattern=Restore While Pattern Enabled?}</text> |
| 6076 | </text> |
| 6077 | |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6078 | <text style="text_m_accent"> |
| 6079 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6080 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 6081 | <text>{@restore_with_pin1=PIN is enabled}</text> |
| 6082 | </text> |
| 6083 | |
| 6084 | <text style="text_m_accent"> |
| 6085 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6086 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 6087 | <text>{@restore_with_pin2=PIN should be disabled before restore}</text> |
| 6088 | </text> |
| 6089 | <text style="text_l"> |
| 6090 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6091 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6092 | <text>{@restore_pin=Restore While PIN Enabled?}</text> |
| 6093 | </text> |
| 6094 | |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6095 | <slider> |
| 6096 | <text>{@continue_restore_encrypted=Continue Restore?}</text> |
| 6097 | <actions> |
| 6098 | <action function="page">restore_force</action> |
| 6099 | </actions> |
| 6100 | </slider> |
| 6101 | |
| 6102 | <action> |
| 6103 | <touch key="home"/> |
| 6104 | <action function="page">main</action> |
| 6105 | </action> |
| 6106 | |
| 6107 | <action> |
| 6108 | <touch key="back"/> |
| 6109 | <actions> |
| 6110 | <action function="page">main</action> |
| 6111 | </actions> |
| 6112 | </action> |
| 6113 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 6114 | </pages> |
| 6115 | </recovery> |