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"/> |
| 466 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 467 | </conditions> |
| 468 | <data variable="tw_auto_reflashtwrp"/> |
| 469 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 470 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 471 | <data variable="tw_install_reboot"/> |
| 472 | </listitem> |
| 473 | <listitem name="{@inject_twrp_chk=Inject TWRP after install}"> |
| 474 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 475 | <data variable="tw_inject_after_zip"/> |
| 476 | </listitem> |
| 477 | </listbox> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 478 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 479 | <button style="main_button_half_width"> |
| 480 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 481 | <text>{@zip_add_btn=Add more Zips}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 482 | <action function="page">install</action> |
| 483 | </button> |
| 484 | |
| 485 | <button style="main_button_half_width"> |
| 486 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 487 | <text>{@zip_clear_btn=Clear Zip Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 488 | <actions> |
| 489 | <action function="queueclear"/> |
| 490 | <action function="page">install</action> |
| 491 | </actions> |
| 492 | </button> |
| 493 | |
| 494 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 495 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 496 | <action function="flash">flash_zip</action> |
| 497 | </slider> |
| 498 | |
| 499 | <action> |
| 500 | <touch key="back"/> |
| 501 | <actions> |
| 502 | <action function="cancelzip"/> |
| 503 | <action function="page">install</action> |
| 504 | </actions> |
| 505 | </action> |
| 506 | |
| 507 | <action> |
| 508 | <touch key="home"/> |
| 509 | <action function="page">main</action> |
| 510 | </action> |
| 511 | </page> |
| 512 | |
| 513 | <page name="flash_zip"> |
| 514 | <template name="page"/> |
| 515 | |
| 516 | <text style="text_l"> |
| 517 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 518 | <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] | 519 | </text> |
| 520 | |
| 521 | <text style="text_m"> |
| 522 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 523 | <text>%tw_file%</text> |
| 524 | </text> |
| 525 | |
| 526 | <template name="console"/> |
| 527 | |
| 528 | <template name="progress_bar"/> |
| 529 | |
| 530 | <action> |
| 531 | <condition var1="tw_operation_state" var2="1"/> |
| 532 | <action function="page">flash_done</action> |
| 533 | </action> |
| 534 | </page> |
| 535 | |
| 536 | <page name="flash_done"> |
| 537 | <template name="page"/> |
| 538 | |
| 539 | <text style="text_l"> |
| 540 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 541 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 542 | </text> |
| 543 | |
| 544 | <text style="text_m_fail"> |
| 545 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 546 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 547 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 548 | </text> |
| 549 | |
| 550 | <text style="text_m"> |
| 551 | <condition var1="tw_operation_status" var2="0"/> |
| 552 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 553 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 554 | </text> |
| 555 | |
| 556 | <template name="console"/> |
| 557 | |
| 558 | <button style="main_button_half_width"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 559 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 560 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 561 | <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 562 | <actions> |
| 563 | <action function="set">tw_back=flash_done</action> |
| 564 | <action function="set">tw_action=wipe</action> |
| 565 | <action function="set">tw_action_param=/cache</action> |
| 566 | <action function="set">tw_has_action2=1</action> |
| 567 | <action function="set">tw_action2=wipe</action> |
| 568 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 569 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 570 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 571 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
| 572 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 573 | <action function="page">confirm_action</action> |
| 574 | </actions> |
| 575 | </button> |
| 576 | |
| 577 | <button style="main_button_half_width"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 578 | <condition var1="tw_ab_device" var2="1"/> |
| 579 | <placement x="%indent%" y="%row21a_y%"/> |
| 580 | <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> |
| 581 | <actions> |
| 582 | <action function="set">tw_back=flash_done</action> |
| 583 | <action function="set">tw_action=wipe</action> |
| 584 | <action function="set">tw_action_param=dalvik</action> |
| 585 | <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> |
| 586 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> |
| 587 | <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> |
| 588 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
| 589 | <action function="page">confirm_action</action> |
| 590 | </actions> |
| 591 | </button> |
| 592 | |
| 593 | <button style="main_button_half_width"> |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 594 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 595 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 596 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 597 | <actions> |
| 598 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 599 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 600 | </actions> |
| 601 | </button> |
| 602 | |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 603 | <button style="main_button_half_width"> |
| 604 | <condition var1="tw_ab_device" var2="1"/> |
| 605 | <placement x="%center_x%" y="%row15a_y%"/> |
| 606 | <text>{@reboot_btn=Reboot}</text> |
| 607 | <actions> |
| 608 | <action function="set">tw_back=main2</action> |
| 609 | <action function="page">reboot</action> |
| 610 | </actions> |
| 611 | </button> |
| 612 | |
| 613 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 614 | <action> |
| 615 | <touch key="back"/> |
| 616 | <actions> |
| 617 | <action function="set">tw_clear_destination=install</action> |
| 618 | <action function="page">clear_vars</action> |
| 619 | </actions> |
| 620 | </action> |
| 621 | |
| 622 | <action> |
| 623 | <touch key="home"/> |
| 624 | <actions> |
| 625 | <action function="set">tw_clear_destination=main2</action> |
| 626 | <action function="page">clear_vars</action> |
| 627 | </actions> |
| 628 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 629 | |
| 630 | <action> |
| 631 | <conditions> |
| 632 | <condition var1="tw_install_reboot" var2="1"/> |
| 633 | <condition var1="tw_operation_status" var2="0"/> |
| 634 | <condition var1="tw_reboot_system" var2="1"/> |
| 635 | </conditions> |
| 636 | <actions> |
| 637 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 638 | <action function="page">flash_sleep_and_reboot</action> |
| 639 | </actions> |
| 640 | </action> |
| 641 | </page> |
| 642 | |
| 643 | <page name="flash_sleep_and_reboot"> |
| 644 | <template name="page"/> |
| 645 | |
| 646 | <text style="text_l"> |
| 647 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 648 | <text>{@install_zip_hdr=Install Zip}</text> |
| 649 | </text> |
| 650 | |
| 651 | <text style="text_m"> |
| 652 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 653 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 654 | </text> |
| 655 | |
| 656 | <template name="console"/> |
| 657 | |
| 658 | <template name="progress_bar"/> |
| 659 | |
| 660 | <button style="main_button_half_width"> |
| 661 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 662 | <placement x="%center_x%" y="%row15a_y%"/> |
| 663 | <text>{@cancel_btn=Cancel}</text> |
| 664 | <actions> |
| 665 | <action function="set">tw_install_reboot=0</action> |
| 666 | <action function="page">flash_done</action> |
| 667 | </actions> |
| 668 | </button> |
| 669 | |
| 670 | <action> |
| 671 | <conditions> |
| 672 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 673 | <condition var1="tw_install_reboot" var2="1"/> |
| 674 | </conditions> |
| 675 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 676 | </action> |
| 677 | |
| 678 | <action> |
| 679 | <conditions> |
| 680 | <condition var1="tw_sleep" var2="0"/> |
| 681 | <condition var1="tw_install_reboot" var2="1"/> |
| 682 | </conditions> |
| 683 | <actions> |
| 684 | <action function="sleep">50000</action> |
| 685 | <action function="set">tw_back=main2</action> |
| 686 | <action function="page">reboot_system_routine</action> |
| 687 | </actions> |
| 688 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 689 | </page> |
| 690 | |
| 691 | <page name="flashimage_confirm"> |
| 692 | <template name="page"/> |
| 693 | |
| 694 | <text style="text_l"> |
| 695 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 696 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 697 | </text> |
| 698 | |
| 699 | <text style="text_m"> |
| 700 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 701 | <text>{@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 702 | </text> |
| 703 | |
| 704 | <text style="text_m_accent"> |
| 705 | <placement x="%col1_x_left%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 706 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 707 | </text> |
| 708 | |
| 709 | <text style="text_m"> |
| 710 | <placement x="%col1_x_left%" y="%row9_y%"/> |
| 711 | <text>%tw_zip_location%</text> |
| 712 | </text> |
| 713 | |
| 714 | <text style="text_m_accent"> |
| 715 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 716 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 717 | </text> |
| 718 | |
| 719 | <text style="text_m"> |
| 720 | <placement x="%col1_x_left%" y="%row12_y%"/> |
| 721 | <text>%tw_file%</text> |
| 722 | </text> |
| 723 | |
| 724 | <partitionlist> |
| 725 | <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/> |
| 726 | <icon selected="radio_true" unselected="radio_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 727 | <text>{@flash_image_select=Select Partition to Flash Image:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 728 | <data name="tw_flash_partition"/> |
| 729 | <listtype name="flashimg"/> |
| 730 | </partitionlist> |
| 731 | |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 732 | <button style="checkbox"> |
| 733 | <conditions> |
| 734 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 735 | <condition var1="tw_flash_both_slots" op="=" var2="0"/> |
| 736 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 737 | </conditions> |
| 738 | <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/> |
| 739 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 740 | <image resource="checkbox_false"/> |
| 741 | <action function="set">tw_flash_both_slots=1</action> |
| 742 | </button> |
| 743 | |
| 744 | <button style="checkbox"> |
| 745 | <conditions> |
| 746 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 747 | <condition var1="tw_flash_both_slots" op="=" var2="1"/> |
| 748 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 749 | </conditions> |
| 750 | <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/> |
| 751 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 752 | <image resource="checkbox_true"/> |
| 753 | <action function="set">tw_flash_both_slots=0</action> |
| 754 | </button> |
| 755 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 756 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 757 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 758 | <actions> |
| 759 | <action function="set">tw_back=flashimage_confirm</action> |
| 760 | <action function="set">tw_action=flashimage</action> |
| 761 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 762 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 763 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 764 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 765 | <action function="page">action_page</action> |
| 766 | </actions> |
| 767 | <action function="flashimage"/> |
| 768 | </slider> |
| 769 | |
| 770 | <action> |
| 771 | <touch key="back"/> |
| 772 | <actions> |
| 773 | <action function="set">tw_clear_destination=install</action> |
| 774 | <action function="page">clear_vars</action> |
| 775 | </actions> |
| 776 | </action> |
| 777 | |
| 778 | <action> |
| 779 | <touch key="home"/> |
| 780 | <actions> |
| 781 | <action function="set">tw_clear_destination=main2</action> |
| 782 | <action function="page">clear_vars</action> |
| 783 | </actions> |
| 784 | </action> |
| 785 | </page> |
| 786 | |
| 787 | <page name="clear_vars"> |
| 788 | <action> |
| 789 | <action function="set">tw_operation_state=0</action> |
| 790 | <action function="set">tw_text1=</action> |
| 791 | <action function="set">tw_text2=</action> |
| 792 | <action function="set">tw_text3=</action> |
| 793 | <action function="set">tw_text4=</action> |
| 794 | <action function="set">tw_action_text1=</action> |
| 795 | <action function="set">tw_action_text2=</action> |
| 796 | <action function="set">tw_action_param=</action> |
| 797 | <action function="set">tw_has_action2=0</action> |
| 798 | <action function="set">tw_action2=</action> |
| 799 | <action function="set">tw_action2_param=</action> |
| 800 | <action function="set">tw_has_cancel=0</action> |
| 801 | <action function="set">tw_cancel_action=</action> |
| 802 | <action function="set">tw_cancel_param=</action> |
| 803 | <action function="set">tw_show_exclamation=0</action> |
| 804 | <action function="set">tw_show_reboot=0</action> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 805 | <action function="set">tw_crypto_user_id=</action> |
| 806 | <action function="set">tw_multiuser_warning_accepted=</action> |
| 807 | <action function="set">tw_multiuser_warning_destination=</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 808 | <action function="page">%tw_clear_destination%</action> |
| 809 | </action> |
| 810 | </page> |
| 811 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 812 | <page name="reboot_system_routine"> |
| 813 | <action> |
| 814 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 815 | <action function="set">tw_action_param=system</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 816 | <action function="set">tw_has_action2=0</action> |
| 817 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 818 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 819 | <action function="set">tw_text3=</action> |
| 820 | <action function="set">tw_text4=</action> |
| 821 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 822 | <action function="set">tw_action_text2=</action> |
| 823 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 824 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 825 | <action function="page">rebootcheck</action> |
| 826 | </action> |
| 827 | </page> |
| 828 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 829 | <page name="confirm_action"> |
| 830 | <template name="page"/> |
| 831 | |
| 832 | <text style="text_l"> |
| 833 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 834 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 835 | </text> |
| 836 | |
| 837 | <text style="text_m"> |
| 838 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 839 | <text/> |
| 840 | </text> |
| 841 | |
| 842 | <text style="text_m_accent"> |
| 843 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 844 | <text>%tw_text1%</text> |
| 845 | </text> |
| 846 | |
| 847 | <text style="text_m_accent"> |
| 848 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 849 | <text>%tw_text2%</text> |
| 850 | </text> |
| 851 | |
| 852 | <text style="text_m"> |
| 853 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 854 | <text>%tw_text3%</text> |
| 855 | </text> |
| 856 | |
| 857 | <text style="text_m"> |
| 858 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 859 | <text>%tw_text4%</text> |
| 860 | </text> |
| 861 | |
| 862 | <text style="text_m"> |
| 863 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 864 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 865 | </text> |
| 866 | |
| 867 | <slider style="slider_centered"> |
| 868 | <text>%tw_slider_text%</text> |
| 869 | <action function="page">action_page</action> |
| 870 | </slider> |
| 871 | |
| 872 | <action> |
| 873 | <touch key="back"/> |
| 874 | <actions> |
| 875 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 876 | <action function="page">clear_vars</action> |
| 877 | </actions> |
| 878 | </action> |
| 879 | |
| 880 | <action> |
| 881 | <touch key="home"/> |
| 882 | <action function="page">main</action> |
| 883 | </action> |
| 884 | </page> |
| 885 | |
| 886 | <page name="action_page"> |
| 887 | <template name="page"/> |
| 888 | |
| 889 | <text style="text_l"> |
| 890 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 891 | <text>%tw_action_text1%</text> |
| 892 | </text> |
| 893 | |
| 894 | <text style="text_m"> |
| 895 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 896 | <text>%tw_action_text2%</text> |
| 897 | </text> |
| 898 | |
| 899 | <template name="console"/> |
| 900 | |
| 901 | <template name="progress_bar"/> |
| 902 | |
| 903 | <button style="main_button_half_width"> |
| 904 | <condition var1="tw_has_cancel" var2="1"/> |
| 905 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 906 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 907 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 908 | </button> |
| 909 | |
| 910 | <action> |
| 911 | <condition var1="tw_operation_state" var2="1"/> |
| 912 | <actions> |
| 913 | <action function="page">action_complete</action> |
| 914 | </actions> |
| 915 | </action> |
| 916 | |
| 917 | <action> |
| 918 | <condition var1="tw_has_action2" var2="0"/> |
| 919 | <actions> |
| 920 | <action function="%tw_action%">%tw_action_param%</action> |
| 921 | </actions> |
| 922 | </action> |
| 923 | |
| 924 | <action> |
| 925 | <condition var1="tw_has_action2" var2="1"/> |
| 926 | <actions> |
| 927 | <action function="%tw_action%">%tw_action_param%</action> |
| 928 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 929 | </actions> |
| 930 | </action> |
| 931 | </page> |
| 932 | |
| 933 | <page name="singleaction_page"> |
| 934 | <template name="page"/> |
| 935 | |
| 936 | <text style="text_l"> |
| 937 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 938 | <text>%tw_action_text1%</text> |
| 939 | </text> |
| 940 | |
| 941 | <text style="text_m"> |
| 942 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 943 | <text>%tw_action_text2%</text> |
| 944 | </text> |
| 945 | |
| 946 | <template name="console"/> |
| 947 | |
| 948 | <template name="progress_bar"/> |
| 949 | |
| 950 | <action> |
| 951 | <condition var1="tw_operation_state" var2="1"/> |
| 952 | <actions> |
| 953 | <action function="set">tw_page_done=1</action> |
| 954 | </actions> |
| 955 | </action> |
| 956 | |
| 957 | <action> |
| 958 | <condition var1="tw_has_action2" var2="0"/> |
| 959 | <actions> |
| 960 | <action function="%tw_action%">%tw_action_param%</action> |
| 961 | </actions> |
| 962 | </action> |
| 963 | |
| 964 | <action> |
| 965 | <condition var1="tw_has_action2" var2="1"/> |
| 966 | <actions> |
| 967 | <action function="%tw_action%">%tw_action_param%</action> |
| 968 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 969 | </actions> |
| 970 | </action> |
| 971 | </page> |
| 972 | |
| 973 | <page name="action_complete"> |
| 974 | <template name="page"/> |
| 975 | |
| 976 | <text style="text_l"> |
| 977 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 978 | <text>%tw_complete_text1%</text> |
| 979 | </text> |
| 980 | |
| 981 | <text style="text_m_fail"> |
| 982 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 983 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 984 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 985 | </text> |
| 986 | |
| 987 | <text style="text_m"> |
| 988 | <condition var1="tw_operation_status" var2="0"/> |
| 989 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 990 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 991 | </text> |
| 992 | |
| 993 | <template name="console"/> |
| 994 | |
| 995 | <button style="main_button_half_width"> |
| 996 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 997 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 998 | <actions> |
| 999 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1000 | <action function="page">clear_vars</action> |
| 1001 | </actions> |
| 1002 | </button> |
| 1003 | |
| 1004 | <button style="main_button_half_width"> |
| 1005 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1006 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1007 | <actions> |
| 1008 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1009 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1010 | </actions> |
| 1011 | </button> |
| 1012 | |
| 1013 | <action> |
| 1014 | <touch key="home"/> |
| 1015 | <actions> |
| 1016 | <action function="set">tw_clear_destination=main2</action> |
| 1017 | <action function="page">clear_vars</action> |
| 1018 | </actions> |
| 1019 | </action> |
| 1020 | |
| 1021 | <action> |
| 1022 | <touch key="back"/> |
| 1023 | <actions> |
| 1024 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1025 | <action function="page">clear_vars</action> |
| 1026 | </actions> |
| 1027 | </action> |
| 1028 | </page> |
| 1029 | |
| 1030 | <page name="filecheck"> |
| 1031 | <action> |
| 1032 | <action function="fileexists">%tw_filecheck%</action> |
| 1033 | </action> |
| 1034 | |
| 1035 | <action> |
| 1036 | <conditions> |
| 1037 | <condition var1="tw_operation_state" var2="1"/> |
| 1038 | <condition var1="tw_operation_status" var2="0"/> |
| 1039 | </conditions> |
| 1040 | <actions> |
| 1041 | <action function="set">tw_fileexists=1</action> |
| 1042 | <action function="page">%tw_existpage%</action> |
| 1043 | </actions> |
| 1044 | </action> |
| 1045 | |
| 1046 | <action> |
| 1047 | <conditions> |
| 1048 | <condition var1="tw_operation_state" var2="1"/> |
| 1049 | <condition var1="tw_operation_status" var2="1"/> |
| 1050 | </conditions> |
| 1051 | <actions> |
| 1052 | <action function="set">tw_fileexists=0</action> |
| 1053 | <action function="page">%tw_notexistpage%</action> |
| 1054 | </actions> |
| 1055 | </action> |
| 1056 | </page> |
| 1057 | |
| 1058 | <page name="rebootcheck"> |
| 1059 | <action> |
| 1060 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 1061 | <action function="reboot">%tw_reboot_param%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1062 | </action> |
| 1063 | |
| 1064 | <action> |
| 1065 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1066 | <action function="page">confirm_action</action> |
| 1067 | </action> |
| 1068 | </page> |
| 1069 | |
| 1070 | <page name="wipe"> |
| 1071 | <template name="page"/> |
| 1072 | |
| 1073 | <text style="text_l"> |
| 1074 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1075 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1076 | </text> |
| 1077 | |
| 1078 | <text style="text_m"> |
| 1079 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1080 | <text>{@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1081 | </text> |
| 1082 | |
| 1083 | <text style="text_m_accent"> |
| 1084 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1085 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1086 | </text> |
| 1087 | |
| 1088 | <text style="text_m_accent"> |
bigbiff | adc599e | 2020-05-28 19:36:30 +0000 | [diff] [blame] | 1089 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1090 | <text>{@factory_reset5=(not including users/lockscreen)}</text> |
| 1091 | </text> |
| 1092 | |
| 1093 | <text style="text_m_accent"> |
| 1094 | <condition var1="tw_has_data_media" var2="1"/> |
| 1095 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1096 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1097 | </text> |
| 1098 | |
| 1099 | <text style="text_m_accent"> |
| 1100 | <conditions> |
| 1101 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1102 | <condition var1="fileexists" var2="/and-sec"/> |
| 1103 | </conditions> |
| 1104 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1105 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1106 | </text> |
| 1107 | |
| 1108 | <text style="text_m_accent"> |
| 1109 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1110 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1111 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1112 | </text> |
| 1113 | |
| 1114 | <text style="text_m"> |
| 1115 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1116 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1117 | </text> |
| 1118 | |
| 1119 | <text style="text_m"> |
| 1120 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1121 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1122 | </text> |
| 1123 | |
| 1124 | <text style="text_m"> |
| 1125 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1126 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1127 | </text> |
| 1128 | |
| 1129 | <button style="main_button_half_width"> |
| 1130 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1131 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1132 | <actions> |
| 1133 | <action function="set">partitionlisterror=0</action> |
| 1134 | <action function="page">advancedwipe</action> |
| 1135 | </actions> |
| 1136 | </button> |
| 1137 | |
| 1138 | <button style="main_button_half_width"> |
| 1139 | <condition var1="tw_has_data_media" var2="1"/> |
| 1140 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1141 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1142 | <action function="page">formatdata</action> |
| 1143 | </button> |
| 1144 | |
| 1145 | <button style="main_button_half_width"> |
| 1146 | <conditions> |
| 1147 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1148 | <condition var1="tw_has_data_media" var2="0"/> |
| 1149 | </conditions> |
| 1150 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1151 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1152 | <actions> |
| 1153 | <action function="set">tw_back=wipe</action> |
| 1154 | <action function="set">tw_action=wipe</action> |
| 1155 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1156 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1157 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1158 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1159 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1160 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1161 | <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] | 1162 | <action function="page">confirm_action</action> |
| 1163 | </actions> |
| 1164 | </button> |
| 1165 | |
| 1166 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1167 | <text>{@swipe_factory_reset=Swipe to Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1168 | <actions> |
| 1169 | <action function="set">tw_back=wipe</action> |
| 1170 | <action function="set">tw_action=wipe</action> |
| 1171 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1172 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1173 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1174 | <action function="page">action_page</action> |
| 1175 | </actions> |
| 1176 | </slider> |
| 1177 | |
| 1178 | <action> |
| 1179 | <touch key="back"/> |
| 1180 | <action function="page">main</action> |
| 1181 | </action> |
| 1182 | |
| 1183 | <action> |
| 1184 | <touch key="home"/> |
| 1185 | <action function="page">main</action> |
| 1186 | </action> |
| 1187 | </page> |
| 1188 | |
| 1189 | <page name="advancedwipe"> |
| 1190 | <template name="page"/> |
| 1191 | |
| 1192 | <action> |
| 1193 | <action function="set">tw_wipe_list=</action> |
| 1194 | </action> |
| 1195 | |
| 1196 | <text style="text_l"> |
| 1197 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1198 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1199 | </text> |
| 1200 | |
| 1201 | <text style="text_m"> |
| 1202 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1203 | <text>{@advanced_wipe_hdr=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1204 | </text> |
| 1205 | |
| 1206 | <partitionlist> |
| 1207 | <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] | 1208 | <text>{@sel_part_wipe=Select Partitions to Wipe:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1209 | <data name="tw_wipe_list"/> |
| 1210 | <listtype name="wipe"/> |
| 1211 | </partitionlist> |
| 1212 | |
| 1213 | <text style="text_m_fail"> |
| 1214 | <condition var1="partitionlisterror" var2="1"/> |
| 1215 | <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1216 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1217 | </text> |
| 1218 | |
| 1219 | <button style="main_button_m"> |
| 1220 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1221 | <text>{@repair_change_btn=Repair or Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1222 | <actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1223 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1224 | <action function="page">checkpartitionlist</action> |
| 1225 | </actions> |
| 1226 | </button> |
| 1227 | |
| 1228 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1229 | <text>{@swipe_wipe=Swipe to Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1230 | <actions> |
| 1231 | <action function="set">tw_back=advancedwipe</action> |
| 1232 | <action function="set">tw_action=wipe</action> |
| 1233 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1234 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1235 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1236 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1237 | <action function="page">action_page</action> |
| 1238 | </actions> |
| 1239 | </slider> |
| 1240 | |
| 1241 | <action> |
| 1242 | <touch key="home"/> |
| 1243 | <action function="page">main</action> |
| 1244 | </action> |
| 1245 | |
| 1246 | <action> |
| 1247 | <touch key="back"/> |
| 1248 | <action function="page">wipe</action> |
| 1249 | </action> |
| 1250 | </page> |
| 1251 | |
| 1252 | <page name="formatdata"> |
| 1253 | <template name="page"/> |
| 1254 | |
| 1255 | <text style="text_l"> |
| 1256 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1257 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1258 | </text> |
| 1259 | |
| 1260 | <text style="text_m"> |
| 1261 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1262 | <text>{@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1263 | </text> |
| 1264 | |
| 1265 | <text style="text_m_fail"> |
| 1266 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1267 | <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] | 1268 | </text> |
| 1269 | |
| 1270 | <text style="text_m_fail"> |
| 1271 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1272 | <text>{@format_data_lcp2=removes encryption on internal storage.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1273 | </text> |
| 1274 | |
Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 1275 | <text style="text_m_fail"> |
| 1276 | <condition var1="tw_has_adopted_storage" var2="1"/> |
| 1277 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 1278 | <text>{@format_data_adopted=Including Adopted Storage}</text> |
| 1279 | </text> |
| 1280 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1281 | <text style="text_m"> |
| 1282 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1283 | <text>{@format_data_undo=This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1284 | </text> |
| 1285 | |
| 1286 | <text style="text_m"> |
| 1287 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1288 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1289 | </text> |
| 1290 | |
| 1291 | <input> |
| 1292 | <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/> |
| 1293 | <text>%tw_confirm_formatdata%</text> |
| 1294 | <data name="tw_confirm_formatdata"/> |
| 1295 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1296 | <action function="page">formatdata_confirm</action> |
| 1297 | </input> |
| 1298 | |
| 1299 | <fill color="%accent_color%"> |
| 1300 | <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/> |
| 1301 | </fill> |
| 1302 | |
| 1303 | <template name="keyboardtemplate"/> |
| 1304 | |
| 1305 | <action> |
| 1306 | <touch key="home"/> |
| 1307 | <action function="page">main</action> |
| 1308 | </action> |
| 1309 | |
| 1310 | <action> |
| 1311 | <touch key="back"/> |
| 1312 | <action function="page">wipe</action> |
| 1313 | </action> |
| 1314 | </page> |
| 1315 | |
| 1316 | <page name="formatdata_confirm"> |
| 1317 | <action> |
| 1318 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1319 | <actions> |
| 1320 | <action function="set">tw_back=formatdata</action> |
| 1321 | <action function="set">tw_action=wipe</action> |
| 1322 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1323 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1324 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1325 | <action function="page">action_page</action> |
| 1326 | </actions> |
| 1327 | </action> |
| 1328 | |
| 1329 | <action> |
| 1330 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1331 | <action function="page">formatdata</action> |
| 1332 | </action> |
| 1333 | </page> |
| 1334 | |
| 1335 | <page name="checkpartitionlist"> |
| 1336 | <action> |
| 1337 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1338 | <actions> |
| 1339 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1340 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1341 | <action function="page">partitionoptions</action> |
| 1342 | </actions> |
| 1343 | </action> |
| 1344 | |
| 1345 | <action> |
| 1346 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1347 | <actions> |
| 1348 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1349 | <action function="page">advancedwipe</action> |
| 1350 | </actions> |
| 1351 | </action> |
| 1352 | </page> |
| 1353 | |
| 1354 | <page name="partitionoptions"> |
| 1355 | <template name="page"/> |
| 1356 | |
| 1357 | <text style="text_l"> |
| 1358 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1359 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1360 | </text> |
| 1361 | |
| 1362 | <text style="text_m"> |
| 1363 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1364 | <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1365 | </text> |
| 1366 | |
| 1367 | <text style="text_m_accent"> |
| 1368 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1369 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1370 | </text> |
| 1371 | |
| 1372 | <text style="text_m_accent"> |
| 1373 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1374 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1375 | </text> |
| 1376 | |
| 1377 | <text style="text_m"> |
| 1378 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1379 | <placement x="%col2_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1380 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1381 | </text> |
| 1382 | |
| 1383 | <text style="text_m"> |
| 1384 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1385 | <placement x="%col2_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1386 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1387 | </text> |
| 1388 | |
| 1389 | <text style="text_m"> |
| 1390 | <condition var1="tw_partition_removable" var2="1"/> |
| 1391 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1392 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1393 | </text> |
| 1394 | |
| 1395 | <text style="text_m"> |
| 1396 | <condition var1="tw_partition_removable" var2="0"/> |
| 1397 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1398 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1399 | </text> |
| 1400 | |
| 1401 | <text style="text_m"> |
| 1402 | <placement x="%col2_x_left%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1403 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1404 | </text> |
| 1405 | |
| 1406 | <text style="text_m"> |
| 1407 | <placement x="%col1_x_right%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1408 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1409 | </text> |
| 1410 | |
| 1411 | <text style="text_m"> |
| 1412 | <placement x="%col2_x_left%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1413 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1414 | </text> |
| 1415 | |
| 1416 | <text style="text_m"> |
| 1417 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1418 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1419 | </text> |
| 1420 | |
| 1421 | <button style="main_button_half_width"> |
| 1422 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1423 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1424 | <text>{@resize_btn=Resize File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1425 | <actions> |
| 1426 | <action function="set">tw_back=partitionoptions</action> |
| 1427 | <action function="set">tw_action=resize</action> |
| 1428 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1429 | <action function="set">tw_has_action2=1</action> |
| 1430 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1431 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1432 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1433 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1434 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1435 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1436 | <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1437 | <action function="page">confirm_action</action> |
| 1438 | </actions> |
| 1439 | </button> |
| 1440 | |
| 1441 | <button style="main_button_half_width"> |
| 1442 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1443 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1444 | <text>{@repair_btn=Repair File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1445 | <actions> |
| 1446 | <action function="set">tw_back=partitionoptions</action> |
| 1447 | <action function="set">tw_action=repair</action> |
| 1448 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1449 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1450 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1451 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1452 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1453 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1454 | <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1455 | <action function="page">confirm_action</action> |
| 1456 | </actions> |
| 1457 | </button> |
| 1458 | |
| 1459 | <button style="main_button_half_width"> |
| 1460 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1461 | <text>{@change_fs_btn=Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1462 | <action function="page">selectfilesystem</action> |
| 1463 | </button> |
| 1464 | |
| 1465 | <action> |
| 1466 | <touch key="home"/> |
| 1467 | <action function="page">main</action> |
| 1468 | </action> |
| 1469 | |
| 1470 | <action> |
| 1471 | <touch key="back"/> |
| 1472 | <action function="page">advancedwipe</action> |
| 1473 | </action> |
| 1474 | </page> |
| 1475 | |
| 1476 | <page name="refreshfilesystem"> |
| 1477 | <action> |
| 1478 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1479 | <actions> |
| 1480 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1481 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1482 | <action function="page">selectfilesystem</action> |
| 1483 | </actions> |
| 1484 | </action> |
| 1485 | |
| 1486 | <action> |
| 1487 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1488 | <actions> |
| 1489 | <action function="set">partitionlisterror=1</action> |
| 1490 | <action function="set">tw_wipe_list=</action> |
| 1491 | <action function="page">advancedwipe</action> |
| 1492 | </actions> |
| 1493 | </action> |
| 1494 | </page> |
| 1495 | |
| 1496 | <page name="selectfilesystem"> |
| 1497 | <template name="page"/> |
| 1498 | |
| 1499 | <text style="text_l"> |
| 1500 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1501 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1502 | </text> |
| 1503 | |
| 1504 | <text style="text_m"> |
| 1505 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1506 | <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1507 | </text> |
| 1508 | |
| 1509 | <text style="text_m_accent"> |
| 1510 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1511 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1512 | </text> |
| 1513 | |
| 1514 | <text style="text_m_accent"> |
| 1515 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1516 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1517 | </text> |
| 1518 | |
| 1519 | <text style="text_m_fail"> |
| 1520 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1521 | <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1522 | </text> |
| 1523 | |
| 1524 | <text style="text_m_fail"> |
| 1525 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1526 | <text>{@change_fs_warn2=file systems. Proceed with caution!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1527 | </text> |
| 1528 | |
| 1529 | <button style="main_button_half_width"> |
| 1530 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1531 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1532 | <text>EXT2</text> |
| 1533 | <actions> |
| 1534 | <action function="set">tw_back=refreshfilesystem</action> |
| 1535 | <action function="set">tw_action=changefilesystem</action> |
| 1536 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1537 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1538 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1539 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1540 | <action function="set">tw_text2=EXT2</action> |
| 1541 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1542 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1543 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1544 | <action function="page">confirm_action</action> |
| 1545 | </actions> |
| 1546 | </button> |
| 1547 | |
| 1548 | <button style="main_button_half_width"> |
| 1549 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1550 | <placement x="%col2_x_left%" y="%row11_y%"/> |
| 1551 | <text>EXT3</text> |
| 1552 | <actions> |
| 1553 | <action function="set">tw_back=refreshfilesystem</action> |
| 1554 | <action function="set">tw_action=changefilesystem</action> |
| 1555 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1556 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1557 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1558 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1559 | <action function="set">tw_text2=EXT3</action> |
| 1560 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1561 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1562 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1563 | <action function="page">confirm_action</action> |
| 1564 | </actions> |
| 1565 | </button> |
| 1566 | |
| 1567 | <button style="main_button_half_width"> |
| 1568 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1569 | <placement x="%center_x%" y="%row11_y%"/> |
| 1570 | <text>EXT4</text> |
| 1571 | <actions> |
| 1572 | <action function="set">tw_back=refreshfilesystem</action> |
| 1573 | <action function="set">tw_action=changefilesystem</action> |
| 1574 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1575 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1576 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1577 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1578 | <action function="set">tw_text2=EXT4</action> |
| 1579 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1580 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1581 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1582 | <action function="page">confirm_action</action> |
| 1583 | </actions> |
| 1584 | </button> |
| 1585 | |
| 1586 | <button style="main_button_half_width"> |
| 1587 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1588 | <placement x="%col2_x_right%" y="%row11_y%"/> |
| 1589 | <text>FAT</text> |
| 1590 | <actions> |
| 1591 | <action function="set">tw_back=refreshfilesystem</action> |
| 1592 | <action function="set">tw_action=changefilesystem</action> |
| 1593 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1594 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1595 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1596 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1597 | <action function="set">tw_text2=FAT</action> |
| 1598 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1599 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1600 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1601 | <action function="page">confirm_action</action> |
| 1602 | </actions> |
| 1603 | </button> |
| 1604 | |
| 1605 | <button style="main_button_half_width"> |
| 1606 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1607 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
| 1608 | <text>exFAT</text> |
| 1609 | <actions> |
| 1610 | <action function="set">tw_back=refreshfilesystem</action> |
| 1611 | <action function="set">tw_action=changefilesystem</action> |
| 1612 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1613 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1614 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1615 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1616 | <action function="set">tw_text2=exFAT</action> |
| 1617 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1618 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1619 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1620 | <action function="page">confirm_action</action> |
| 1621 | </actions> |
| 1622 | </button> |
| 1623 | |
| 1624 | <button style="main_button_half_width"> |
| 1625 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1626 | <placement x="%center_x%" y="%row15a_y%"/> |
| 1627 | <text>F2FS</text> |
| 1628 | <actions> |
| 1629 | <action function="set">tw_back=refreshfilesystem</action> |
| 1630 | <action function="set">tw_action=changefilesystem</action> |
| 1631 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1632 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1633 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1634 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1635 | <action function="set">tw_text2=F2FS</action> |
| 1636 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1637 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1638 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1639 | <action function="page">confirm_action</action> |
| 1640 | </actions> |
| 1641 | </button> |
| 1642 | |
| 1643 | <action> |
| 1644 | <touch key="home"/> |
| 1645 | <action function="page">main</action> |
| 1646 | </action> |
| 1647 | |
| 1648 | <action> |
| 1649 | <touch key="back"/> |
| 1650 | <action function="page">partitionoptions</action> |
| 1651 | </action> |
| 1652 | </page> |
| 1653 | |
| 1654 | <page name="backup"> |
| 1655 | <template name="page"/> |
| 1656 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1657 | <action> |
| 1658 | <conditions> |
| 1659 | <condition var1="tw_is_fbe" var2="1"/> |
| 1660 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 1661 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 1662 | </conditions> |
| 1663 | <actions> |
| 1664 | <action function="set">tw_multiuser_warning_destination=backup</action> |
| 1665 | <action function="page">multiuser_warning</action> |
| 1666 | </actions> |
| 1667 | </action> |
| 1668 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1669 | <text style="text_l"> |
| 1670 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1671 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1672 | </text> |
| 1673 | |
| 1674 | <text style="text_m"> |
| 1675 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1676 | <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] | 1677 | </text> |
| 1678 | |
| 1679 | <text style="text_m_accent"> |
| 1680 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1681 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1682 | </text> |
| 1683 | |
| 1684 | <text style="text_m"> |
| 1685 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 1686 | <text>%tw_backup_name%</text> |
| 1687 | </text> |
| 1688 | |
| 1689 | <fill color="%fileselector_linecolor%"> |
| 1690 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1691 | </fill> |
| 1692 | |
| 1693 | <button> |
| 1694 | <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/> |
| 1695 | <fill color="%transparent%"/> |
| 1696 | <actions> |
| 1697 | <action function="set">tw_fileexists=0</action> |
| 1698 | <action function="page">backupname1</action> |
| 1699 | </actions> |
| 1700 | </button> |
| 1701 | |
| 1702 | <partitionlist> |
| 1703 | <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] | 1704 | <text>{@sel_part_backup=Select Partitions to Backup:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1705 | <data name="tw_backup_list"/> |
| 1706 | <listtype name="backup"/> |
| 1707 | </partitionlist> |
| 1708 | |
| 1709 | <text style="text_m_accent"> |
| 1710 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1711 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1712 | </text> |
| 1713 | |
| 1714 | <text style="text_m"> |
| 1715 | <conditions> |
| 1716 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1717 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1718 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1719 | </conditions> |
| 1720 | <placement x="%col1_x_right%" y="%row3_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1721 | <text>{@enc_disabled=disabled - set a password to enable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1722 | </text> |
| 1723 | |
| 1724 | <text style="text_m"> |
| 1725 | <conditions> |
| 1726 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1727 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1728 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1729 | </conditions> |
| 1730 | <placement x="%col1_x_right%" y="%row3_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1731 | <text>{@enc_enabled=enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1732 | </text> |
| 1733 | |
| 1734 | <fill color="%fileselector_linecolor%"> |
| 1735 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1736 | </fill> |
| 1737 | |
| 1738 | <button> |
| 1739 | <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/> |
| 1740 | <fill color="%transparent%"/> |
| 1741 | <actions> |
| 1742 | <action function="set">tw_password_not_match=0</action> |
| 1743 | <action function="page">backupencryption</action> |
| 1744 | </actions> |
| 1745 | </button> |
| 1746 | |
| 1747 | <text style="text_m_accent"> |
| 1748 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1749 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1750 | </text> |
| 1751 | |
| 1752 | <checkbox> |
| 1753 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1754 | <text>{@enable_backup_comp_chk=Enable compression}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1755 | <data variable="tw_use_compression"/> |
| 1756 | </checkbox> |
| 1757 | |
| 1758 | <checkbox> |
| 1759 | <placement x="%col1_x_right%" y="%row7a_y%"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 1760 | <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text> |
| 1761 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1762 | </checkbox> |
| 1763 | |
| 1764 | <checkbox> |
| 1765 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 1766 | <text>{@disable_backup_space_chk=Disable free space check before backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1767 | <data variable="tw_disable_free_space"/> |
| 1768 | </checkbox> |
| 1769 | |
| 1770 | <button style="main_button_half_width"> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1771 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1772 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1773 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1774 | <actions> |
| 1775 | <action function="set">tw_back=backup</action> |
| 1776 | <action function="overlay">select_storage</action> |
| 1777 | </actions> |
| 1778 | </button> |
| 1779 | |
| 1780 | <button style="main_button_half_width"> |
| 1781 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1782 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1783 | <actions> |
| 1784 | <action function="refreshsizes"/> |
| 1785 | <action function="page">backup</action> |
| 1786 | </actions> |
| 1787 | </button> |
| 1788 | |
| 1789 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1790 | <text>{@swipe_backup=Swipe to Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1791 | <action function="page">backup_run</action> |
| 1792 | </slider> |
| 1793 | |
| 1794 | <action> |
| 1795 | <touch key="home"/> |
| 1796 | <action function="page">main</action> |
| 1797 | </action> |
| 1798 | |
| 1799 | <action> |
| 1800 | <touch key="back"/> |
| 1801 | <action function="page">main</action> |
| 1802 | </action> |
| 1803 | </page> |
| 1804 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1805 | <page name="multiuser_warning"> |
| 1806 | <template name="page"/> |
| 1807 | |
| 1808 | <text style="text_l"> |
| 1809 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 1810 | <text>{@multiuser_warning_hdr=Multiuser Warning}</text> |
| 1811 | </text> |
| 1812 | |
| 1813 | <text style="text_m_fail"> |
| 1814 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
| 1815 | <text>{@multiuser_warning1=Not all users decrypted!}</text> |
| 1816 | </text> |
| 1817 | |
| 1818 | <text style="text_m_fail"> |
| 1819 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
| 1820 | <text>{@multiuser_warning2=Backup/restore operations may fail!}</text> |
| 1821 | </text> |
| 1822 | |
| 1823 | <button style="main_button_m"> |
| 1824 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 1825 | <text>{@decrypt_users=Decrypt Users}</text> |
| 1826 | <action function="page">decrypt_users</action> |
| 1827 | </button> |
| 1828 | |
| 1829 | <slider> |
| 1830 | <text>{@multiuser_warning_accept=Continue Anyway}</text> |
| 1831 | <actions> |
| 1832 | <action function="set">tw_multiuser_warning_accepted=1</action> |
| 1833 | <action function="page">%tw_multiuser_warning_destination%</action> |
| 1834 | </actions> |
| 1835 | </slider> |
| 1836 | |
| 1837 | <action> |
| 1838 | <touch key="home"/> |
| 1839 | <action function="page">main</action> |
| 1840 | </action> |
| 1841 | |
| 1842 | <action> |
| 1843 | <touch key="back"/> |
| 1844 | <action function="page">main</action> |
| 1845 | </action> |
| 1846 | </page> |
| 1847 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1848 | <page name="backupname1"> |
| 1849 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1850 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1851 | <action function="generatebackupname"/> |
| 1852 | </action> |
| 1853 | |
| 1854 | <action> |
| 1855 | <action function="page">backupname2</action> |
| 1856 | </action> |
| 1857 | </page> |
| 1858 | |
| 1859 | <page name="backupname2"> |
| 1860 | <template name="page"/> |
| 1861 | |
| 1862 | <text style="text_l"> |
| 1863 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1864 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1865 | </text> |
| 1866 | |
| 1867 | <text style="text_m"> |
| 1868 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1869 | <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] | 1870 | </text> |
| 1871 | |
| 1872 | <text style="text_m_accent"> |
| 1873 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1874 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1875 | </text> |
| 1876 | |
| 1877 | <input> |
| 1878 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 1879 | <text>%tw_backup_name%</text> |
| 1880 | <data name="tw_backup_name"/> |
| 1881 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 1882 | <actions> |
| 1883 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1884 | <action function="set">tw_existpage=backupname2</action> |
| 1885 | <action function="set">tw_notexistpage=backup</action> |
| 1886 | <action function="page">filecheck</action> |
| 1887 | </actions> |
| 1888 | </input> |
| 1889 | |
| 1890 | <fill color="%accent_color%"> |
| 1891 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1892 | </fill> |
| 1893 | |
| 1894 | <fill color="%text_fail_color%"> |
| 1895 | <condition var1="tw_fileexists" var2="1"/> |
| 1896 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1897 | </fill> |
| 1898 | |
| 1899 | <text style="text_m_fail"> |
| 1900 | <condition var1="tw_fileexists" var2="1"/> |
| 1901 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1902 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1903 | </text> |
| 1904 | |
| 1905 | <button style="main_button_half_width_low"> |
| 1906 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1907 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1908 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1909 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1910 | <action function="page">backup</action> |
| 1911 | </actions> |
| 1912 | </button> |
| 1913 | |
| 1914 | <button style="main_button_half_width_low"> |
| 1915 | <placement x="%date_button_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1916 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1917 | <action function="appenddatetobackupname"/> |
| 1918 | </button> |
| 1919 | |
| 1920 | <template name="keyboardtemplate"/> |
| 1921 | |
| 1922 | <action> |
| 1923 | <touch key="home"/> |
| 1924 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1925 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1926 | <action function="page">main</action> |
| 1927 | </actions> |
| 1928 | </action> |
| 1929 | |
| 1930 | <action> |
| 1931 | <touch key="back"/> |
| 1932 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1933 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1934 | <action function="page">backup</action> |
| 1935 | </actions> |
| 1936 | </action> |
| 1937 | </page> |
| 1938 | |
| 1939 | <page name="backupencryption"> |
| 1940 | <template name="page"/> |
| 1941 | |
| 1942 | <text style="text_l"> |
| 1943 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1944 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1945 | </text> |
| 1946 | |
| 1947 | <text style="text_m"> |
| 1948 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1949 | <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] | 1950 | </text> |
| 1951 | |
| 1952 | <text style="text_m_accent"> |
| 1953 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1954 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1955 | </text> |
| 1956 | |
| 1957 | <input> |
| 1958 | <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/> |
| 1959 | <text>%tw_backup_encrypt_display%</text> |
| 1960 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 1961 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 1962 | <action function="page">backupencryption2</action> |
| 1963 | </input> |
| 1964 | |
| 1965 | <fill color="%accent_color%"> |
| 1966 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1967 | </fill> |
| 1968 | |
| 1969 | <fill color="%text_fail_color%"> |
| 1970 | <condition var1="tw_password_not_match" var2="1"/> |
| 1971 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1972 | </fill> |
| 1973 | |
| 1974 | <text style="text_m_fail"> |
| 1975 | <condition var1="tw_password_not_match" var2="1"/> |
| 1976 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1977 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1978 | </text> |
| 1979 | |
| 1980 | <button style="main_button_half_width_low"> |
| 1981 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1982 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1983 | <actions> |
| 1984 | <action function="set">tw_encrypt_backup=0</action> |
| 1985 | <action function="set">tw_backup_password=</action> |
| 1986 | <action function="set">tw_backup_password2=</action> |
| 1987 | <action function="set">tw_backup_encrypt_display=</action> |
| 1988 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1989 | <action function="page">backup</action> |
| 1990 | </actions> |
| 1991 | </button> |
| 1992 | |
| 1993 | <template name="keyboardtemplate"/> |
| 1994 | |
| 1995 | <action> |
| 1996 | <touch key="home"/> |
| 1997 | <action function="page">main</action> |
| 1998 | </action> |
| 1999 | |
| 2000 | <action> |
| 2001 | <touch key="back"/> |
| 2002 | <action function="page">backup</action> |
| 2003 | </action> |
| 2004 | </page> |
| 2005 | |
| 2006 | <page name="backupencryption2"> |
| 2007 | <template name="page"/> |
| 2008 | |
| 2009 | <text style="text_l"> |
| 2010 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2011 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2012 | </text> |
| 2013 | |
| 2014 | <text style="text_m"> |
| 2015 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2016 | <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] | 2017 | </text> |
| 2018 | |
| 2019 | <text style="text_m_accent"> |
| 2020 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2021 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2022 | </text> |
| 2023 | |
| 2024 | <input> |
| 2025 | <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/> |
| 2026 | <text>%tw_backup_encrypt_display2%</text> |
| 2027 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2028 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2029 | <action function="page">checkbackuppassword</action> |
| 2030 | </input> |
| 2031 | |
| 2032 | <fill color="%accent_color%"> |
| 2033 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2034 | </fill> |
| 2035 | |
| 2036 | <text style="text_m"> |
| 2037 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2038 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2039 | </text> |
| 2040 | |
| 2041 | <button style="main_button_half_width_low"> |
| 2042 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2043 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2044 | <actions> |
| 2045 | <action function="set">tw_encrypt_backup=0</action> |
| 2046 | <action function="set">tw_backup_password=</action> |
| 2047 | <action function="set">tw_backup_password2=</action> |
| 2048 | <action function="set">tw_backup_encrypt_display=</action> |
| 2049 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2050 | <action function="page">backup</action> |
| 2051 | </actions> |
| 2052 | </button> |
| 2053 | |
| 2054 | <template name="keyboardtemplate"/> |
| 2055 | |
| 2056 | <action> |
| 2057 | <touch key="home"/> |
| 2058 | <action function="page">main</action> |
| 2059 | </action> |
| 2060 | |
| 2061 | <action> |
| 2062 | <touch key="back"/> |
| 2063 | <action function="page">backup</action> |
| 2064 | </action> |
| 2065 | </page> |
| 2066 | |
| 2067 | <page name="checkbackuppassword"> |
| 2068 | <action> |
| 2069 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2070 | <actions> |
| 2071 | <action function="set">tw_encrypt_backup=1</action> |
| 2072 | <action function="page">backup</action> |
| 2073 | </actions> |
| 2074 | </action> |
| 2075 | |
| 2076 | <action> |
| 2077 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2078 | <actions> |
| 2079 | <action function="set">tw_encrypt_backup=0</action> |
| 2080 | <action function="set">tw_password_not_match=1</action> |
| 2081 | <action function="set">tw_backup_password=</action> |
| 2082 | <action function="set">tw_backup_password2=</action> |
| 2083 | <action function="set">tw_backup_encrypt_display=</action> |
| 2084 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2085 | <action function="page">backupencryption</action> |
| 2086 | </actions> |
| 2087 | </action> |
| 2088 | </page> |
| 2089 | |
| 2090 | <page name="backup_run"> |
| 2091 | <template name="page"/> |
| 2092 | |
| 2093 | <text style="text_l"> |
| 2094 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2095 | <text>%tw_operation%</text> |
| 2096 | </text> |
| 2097 | |
| 2098 | <text style="text_m"> |
| 2099 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2100 | <text>%tw_partition% Partition</text> |
| 2101 | </text> |
| 2102 | |
| 2103 | <template name="console"/> |
| 2104 | |
| 2105 | <template name="progress_bar"/> |
| 2106 | |
| 2107 | <text style="text_m_accent"> |
| 2108 | <placement x="%progress_text_x%" y="%progress_text_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2109 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2110 | </text> |
| 2111 | |
| 2112 | <text style="text_m"> |
| 2113 | <placement x="%progress_text_x%" y="%row17_y%"/> |
| 2114 | <text>%tw_file_progress%</text> |
| 2115 | </text> |
| 2116 | |
| 2117 | <text style="text_m"> |
| 2118 | <placement x="%progress_text_x%" y="%row18_y%"/> |
| 2119 | <text>%tw_size_progress%</text> |
| 2120 | </text> |
| 2121 | |
| 2122 | <button style="main_button_half_width"> |
| 2123 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2124 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2125 | <action function="cancelbackup"/> |
| 2126 | </button> |
| 2127 | |
| 2128 | <action> |
| 2129 | <action function="nandroid">backup</action> |
| 2130 | </action> |
| 2131 | |
| 2132 | <action> |
| 2133 | <condition var1="tw_operation_state" var2="1"/> |
| 2134 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2135 | <actions> |
| 2136 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2137 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2138 | <action function="set">tw_show_reboot=1</action> |
| 2139 | <action function="page">action_complete</action> |
| 2140 | </actions> |
| 2141 | </action> |
| 2142 | |
| 2143 | <action> |
| 2144 | <condition var1="tw_operation_state" var2="1"/> |
| 2145 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2146 | <actions> |
| 2147 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2148 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2149 | <action function="set">tw_show_reboot=1</action> |
| 2150 | <action function="page">action_complete</action> |
| 2151 | </actions> |
| 2152 | </action> |
| 2153 | </page> |
| 2154 | |
| 2155 | <page name="restore"> |
| 2156 | <template name="page"/> |
| 2157 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2158 | <action> |
| 2159 | <conditions> |
| 2160 | <condition var1="tw_is_fbe" var2="1"/> |
| 2161 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2162 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2163 | </conditions> |
| 2164 | <actions> |
| 2165 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2166 | <action function="page">multiuser_warning</action> |
| 2167 | </actions> |
| 2168 | </action> |
| 2169 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2170 | <text style="text_l"> |
| 2171 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2172 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2173 | </text> |
| 2174 | |
| 2175 | <text style="text_m"> |
| 2176 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2177 | <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] | 2178 | </text> |
| 2179 | |
| 2180 | <template name="sort_options"/> |
| 2181 | |
| 2182 | <fileselector> |
| 2183 | <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] | 2184 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2185 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2186 | <path name="tw_backups_folder"/> |
| 2187 | <data name="tw_restore" default=""/> |
| 2188 | <selection name="tw_restore_name"/> |
| 2189 | </fileselector> |
| 2190 | |
| 2191 | <button style="main_button_half_width_low"> |
| 2192 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2193 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2194 | <actions> |
| 2195 | <action function="set">tw_back=restore</action> |
| 2196 | <action function="overlay">select_storage</action> |
| 2197 | </actions> |
| 2198 | </button> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2199 | <action> |
| 2200 | <condition var1="tw_crypto_pwtype" op="!=" var2="0"/> |
| 2201 | <actions> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame^] | 2202 | <action function="page">restore_keymaster</action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2203 | </actions> |
| 2204 | </action> |
| 2205 | |
| 2206 | <action> |
| 2207 | <condition var1="tw_restore" op="modified"/> |
| 2208 | <actions> |
| 2209 | <action function="readBackup"/> |
| 2210 | <action function="page">restore_read</action> |
| 2211 | </actions> |
| 2212 | </action> |
| 2213 | |
| 2214 | <action> |
| 2215 | <touch key="home"/> |
| 2216 | <action function="page">main</action> |
| 2217 | </action> |
| 2218 | |
| 2219 | <action> |
| 2220 | <touch key="back"/> |
| 2221 | <action function="page">main</action> |
| 2222 | </action> |
| 2223 | </page> |
| 2224 | |
| 2225 | |
| 2226 | <page name="restore_force"> |
| 2227 | <template name="page"/> |
| 2228 | |
| 2229 | <action> |
| 2230 | <conditions> |
| 2231 | <condition var1="tw_is_fbe" var2="1"/> |
| 2232 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2233 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2234 | </conditions> |
| 2235 | <actions> |
sekaiacg | 750c6aa | 2021-12-06 12:27:46 +0800 | [diff] [blame] | 2236 | <action function="set">tw_multiuser_warning_destination=restore_force</action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2237 | <action function="page">multiuser_warning</action> |
| 2238 | </actions> |
| 2239 | </action> |
| 2240 | |
| 2241 | <text style="text_l"> |
| 2242 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2243 | <text>{@restore_hdr=Restore}</text> |
| 2244 | </text> |
| 2245 | |
| 2246 | <text style="text_m"> |
| 2247 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2248 | <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 2249 | </text> |
| 2250 | |
| 2251 | <template name="sort_options"/> |
| 2252 | |
| 2253 | <fileselector> |
| 2254 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/> |
| 2255 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
| 2256 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
| 2257 | <path name="tw_backups_folder"/> |
| 2258 | <data name="tw_restore" default=""/> |
| 2259 | <selection name="tw_restore_name"/> |
| 2260 | </fileselector> |
| 2261 | |
| 2262 | <button style="main_button_half_width_low"> |
| 2263 | <placement x="%col_button_right%" y="%row16a_y%"/> |
| 2264 | <text>{@select_storage_btn=Select Storage}</text> |
| 2265 | <actions> |
| 2266 | <action function="set">tw_back=restore</action> |
| 2267 | <action function="overlay">select_storage</action> |
| 2268 | </actions> |
| 2269 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2270 | |
| 2271 | <action> |
| 2272 | <condition var1="tw_restore" op="modified"/> |
| 2273 | <actions> |
| 2274 | <action function="readBackup"/> |
| 2275 | <action function="page">restore_read</action> |
| 2276 | </actions> |
| 2277 | </action> |
| 2278 | |
| 2279 | <action> |
| 2280 | <touch key="home"/> |
| 2281 | <action function="page">main</action> |
| 2282 | </action> |
| 2283 | |
| 2284 | <action> |
| 2285 | <touch key="back"/> |
| 2286 | <action function="page">main</action> |
| 2287 | </action> |
| 2288 | </page> |
| 2289 | |
| 2290 | <page name="restore_read"> |
| 2291 | <action> |
| 2292 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2293 | <actions> |
| 2294 | <action function="set">tw_password_fail=0</action> |
| 2295 | <action function="page">restore_decrypt</action> |
| 2296 | </actions> |
| 2297 | </action> |
| 2298 | |
| 2299 | <action> |
| 2300 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2301 | <actions> |
| 2302 | <action function="page">restore_select</action> |
| 2303 | </actions> |
| 2304 | </action> |
| 2305 | </page> |
| 2306 | |
| 2307 | <page name="restore_decrypt"> |
| 2308 | <template name="page"/> |
| 2309 | |
| 2310 | <text style="text_l"> |
| 2311 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2312 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2313 | </text> |
| 2314 | |
| 2315 | <text style="text_m"> |
| 2316 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2317 | <text>{@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2318 | </text> |
| 2319 | |
| 2320 | <text style="text_m_accent"> |
| 2321 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2322 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2323 | </text> |
| 2324 | |
| 2325 | <input> |
| 2326 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 2327 | <text>%tw_restore_display%</text> |
| 2328 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2329 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2330 | <action function="page">try_restore_decrypt</action> |
| 2331 | </input> |
| 2332 | |
| 2333 | <fill color="%accent_color%"> |
| 2334 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2335 | </fill> |
| 2336 | |
| 2337 | <fill color="%text_fail_color%"> |
| 2338 | <condition var1="tw_password_fail" var2="1"/> |
| 2339 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2340 | </fill> |
| 2341 | |
| 2342 | <text style="text_m_fail"> |
| 2343 | <condition var1="tw_password_fail" var2="1"/> |
| 2344 | <placement x="%col1_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2345 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2346 | </text> |
| 2347 | |
| 2348 | <button style="main_button_half_width_low"> |
| 2349 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2350 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2351 | <actions> |
| 2352 | <action function="set">tw_page_done=1</action> |
| 2353 | <action function="page">restore</action> |
| 2354 | </actions> |
| 2355 | </button> |
| 2356 | |
| 2357 | <button style="main_button_half_width_low"> |
| 2358 | <placement x="%col_button_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2359 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2360 | <actions> |
| 2361 | <action function="set">tw_back=restore</action> |
| 2362 | <action function="set">tw_action=cmd</action> |
| 2363 | <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] | 2364 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2365 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2366 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2367 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2368 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2369 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2370 | <action function="page">confirm_action</action> |
| 2371 | </actions> |
| 2372 | </button> |
| 2373 | |
| 2374 | <template name="keyboardtemplate"/> |
| 2375 | |
| 2376 | <action> |
| 2377 | <touch key="home"/> |
| 2378 | <action function="page">main</action> |
| 2379 | </action> |
| 2380 | |
| 2381 | <action> |
| 2382 | <touch key="back"/> |
| 2383 | <action function="page">restore</action> |
| 2384 | </action> |
| 2385 | </page> |
| 2386 | |
| 2387 | <page name="try_restore_decrypt"> |
| 2388 | <template name="page"/> |
| 2389 | |
| 2390 | <text style="text_l"> |
| 2391 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2392 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2393 | </text> |
| 2394 | |
| 2395 | <text style="text_m"> |
| 2396 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2397 | <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2398 | </text> |
| 2399 | |
| 2400 | <template name="console"/> |
| 2401 | |
| 2402 | <template name="progress_bar"/> |
| 2403 | |
| 2404 | <action> |
| 2405 | <action function="decrypt_backup"/> |
| 2406 | </action> |
| 2407 | |
| 2408 | <action> |
| 2409 | <conditions> |
| 2410 | <condition var1="tw_operation_state" var2="1"/> |
| 2411 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2412 | </conditions> |
| 2413 | <actions> |
| 2414 | <action function="set">tw_password_fail=1</action> |
| 2415 | <action function="page">restore_decrypt</action> |
| 2416 | </actions> |
| 2417 | </action> |
| 2418 | |
| 2419 | <action> |
| 2420 | <conditions> |
| 2421 | <condition var1="tw_operation_state" var2="1"/> |
| 2422 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2423 | </conditions> |
| 2424 | <actions> |
| 2425 | <action function="set">tw_page_done=1</action> |
| 2426 | <action function="page">restore_select</action> |
| 2427 | </actions> |
| 2428 | </action> |
| 2429 | </page> |
| 2430 | |
| 2431 | <page name="restore_select"> |
| 2432 | <template name="page"/> |
| 2433 | |
| 2434 | <text style="text_l"> |
| 2435 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2436 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2437 | </text> |
| 2438 | |
| 2439 | <text style="text_m"> |
| 2440 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2441 | <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2442 | </text> |
| 2443 | |
| 2444 | <text style="text_m_accent"> |
| 2445 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2446 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2447 | </text> |
| 2448 | |
| 2449 | <text style="text_m"> |
| 2450 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 2451 | <text>%tw_restore_name%</text> |
| 2452 | </text> |
| 2453 | |
| 2454 | <fill color="%fileselector_linecolor%"> |
| 2455 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/> |
| 2456 | </fill> |
| 2457 | |
| 2458 | <button> |
| 2459 | <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/> |
| 2460 | <fill color="%transparent%"/> |
| 2461 | <actions> |
| 2462 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2463 | <action function="set">tw_fileexists=0</action> |
| 2464 | <action function="page">renamebackup</action> |
| 2465 | </actions> |
| 2466 | </button> |
| 2467 | |
| 2468 | <partitionlist> |
| 2469 | <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] | 2470 | <text>{@restore_sel_part=Select Partitions to Restore:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2471 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2472 | <listtype name="restore"/> |
| 2473 | </partitionlist> |
| 2474 | |
| 2475 | <text style="text_m_accent"> |
| 2476 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2477 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2478 | </text> |
| 2479 | |
| 2480 | <checkbox> |
| 2481 | <placement x="%col1_x_right%" y="%row6_y%"/> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2482 | <condition var1="tw_enable_adb_backup" op="=" var2="0"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2483 | <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text> |
| 2484 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2485 | </checkbox> |
| 2486 | |
| 2487 | <button style="main_button_half_width"> |
| 2488 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2489 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2490 | <actions> |
| 2491 | <action function="set">tw_back=restore</action> |
| 2492 | <action function="set">tw_action=cmd</action> |
| 2493 | <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] | 2494 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2495 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2496 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2497 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2498 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2499 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2500 | <action function="page">confirm_action</action> |
| 2501 | </actions> |
| 2502 | </button> |
| 2503 | |
| 2504 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2505 | <text>{@swipe_restore=Swipe to Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2506 | <action function="page">restore_run</action> |
| 2507 | </slider> |
| 2508 | |
| 2509 | <action> |
| 2510 | <touch key="home"/> |
| 2511 | <action function="page">main</action> |
| 2512 | </action> |
| 2513 | |
| 2514 | <action> |
| 2515 | <touch key="back"/> |
| 2516 | <action function="page">restore</action> |
| 2517 | </action> |
| 2518 | </page> |
| 2519 | |
| 2520 | <page name="renamebackup"> |
| 2521 | <template name="page"/> |
| 2522 | |
| 2523 | <text style="text_l"> |
| 2524 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2525 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2526 | </text> |
| 2527 | |
| 2528 | <text style="text_m"> |
| 2529 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2530 | <text>{@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2531 | </text> |
| 2532 | |
| 2533 | <text style="text_m_accent"> |
| 2534 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2535 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2536 | </text> |
| 2537 | |
| 2538 | <input> |
| 2539 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 2540 | <text>%tw_backup_rename%</text> |
| 2541 | <data name="tw_backup_rename"/> |
| 2542 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2543 | <actions> |
| 2544 | <action function="set">tw_back=restore</action> |
| 2545 | <action function="set">tw_action=cmd</action> |
| 2546 | <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] | 2547 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2548 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2549 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2550 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2551 | <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2552 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2553 | <action function="set">tw_existpage=renamebackup</action> |
| 2554 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2555 | <action function="page">filecheck</action> |
| 2556 | </actions> |
| 2557 | </input> |
| 2558 | |
| 2559 | <fill color="%accent_color%"> |
| 2560 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2561 | </fill> |
| 2562 | |
| 2563 | <fill color="%text_fail_color%"> |
| 2564 | <condition var1="tw_fileexists" var2="1"/> |
| 2565 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2566 | </fill> |
| 2567 | |
| 2568 | <text style="text_m_fail"> |
| 2569 | <condition var1="tw_fileexists" var2="1"/> |
| 2570 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2571 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2572 | </text> |
| 2573 | |
| 2574 | <button style="main_button_half_width_low"> |
| 2575 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2576 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2577 | <action function="page">restore_select</action> |
| 2578 | </button> |
| 2579 | |
| 2580 | <template name="keyboardtemplate"/> |
| 2581 | |
| 2582 | <action> |
| 2583 | <touch key="home"/> |
| 2584 | <action function="page">main</action> |
| 2585 | </action> |
| 2586 | |
| 2587 | <action> |
| 2588 | <touch key="back"/> |
| 2589 | <action function="page">restore_select</action> |
| 2590 | </action> |
| 2591 | </page> |
| 2592 | |
| 2593 | <page name="restore_run"> |
| 2594 | <template name="page"/> |
| 2595 | |
| 2596 | <text style="text_l"> |
| 2597 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2598 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2599 | </text> |
| 2600 | |
| 2601 | <text style="text_m"> |
| 2602 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2603 | <text>%tw_operation% %tw_partition%</text> |
| 2604 | </text> |
| 2605 | |
| 2606 | <template name="console"/> |
| 2607 | |
| 2608 | <template name="progress_bar"/> |
| 2609 | |
| 2610 | <text style="text_m_accent"> |
| 2611 | <placement x="%progress_text_x%" y="%progress_text_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2612 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2613 | </text> |
| 2614 | |
| 2615 | <text style="text_m"> |
| 2616 | <placement x="%progress_text_x%" y="%row18_y%"/> |
| 2617 | <text>%tw_size_progress%</text> |
| 2618 | </text> |
| 2619 | |
| 2620 | <action> |
| 2621 | <condition var1="tw_operation_state" var2="1"/> |
| 2622 | <actions> |
| 2623 | <action function="set">tw_back=restore_select</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2624 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2625 | <action function="set">tw_show_reboot=1</action> |
| 2626 | <action function="page">action_complete</action> |
| 2627 | </actions> |
| 2628 | </action> |
| 2629 | |
| 2630 | <action> |
| 2631 | <action function="nandroid">restore</action> |
| 2632 | </action> |
| 2633 | </page> |
| 2634 | |
| 2635 | <page name="mount"> |
| 2636 | <template name="page"/> |
| 2637 | |
| 2638 | <text style="text_l"> |
| 2639 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2640 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2641 | </text> |
| 2642 | |
| 2643 | <text style="text_m"> |
| 2644 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2645 | <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] | 2646 | </text> |
| 2647 | |
| 2648 | <partitionlist> |
| 2649 | <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] | 2650 | <text>{@mount_sel_part=Select Partitions to Mount:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2651 | <listtype name="mount"/> |
| 2652 | </partitionlist> |
| 2653 | |
| 2654 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2655 | <conditions> |
bigbiff | b640d97 | 2021-10-12 19:08:10 -0400 | [diff] [blame] | 2656 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2657 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2658 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2659 | <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2660 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2661 | <image resource="checkbox_false"/> |
| 2662 | <action function="mountsystemtoggle">1</action> |
| 2663 | </button> |
| 2664 | |
| 2665 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2666 | <conditions> |
| 2667 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2668 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2669 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2670 | <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2671 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2672 | <image resource="checkbox_true"/> |
| 2673 | <actions> |
| 2674 | <action function="set">tw_lifetime_writes=2</action> |
| 2675 | <action function="page">system_readonly_check</action> |
| 2676 | </actions> |
| 2677 | </button> |
| 2678 | |
| 2679 | <button style="main_button_half_width"> |
| 2680 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 2681 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2682 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2683 | <action function="page">usb_mount</action> |
| 2684 | </button> |
| 2685 | |
| 2686 | <button style="main_button_half_width"> |
| 2687 | <conditions> |
| 2688 | <condition var1="tw_is_encrypted" var2="1"/> |
| 2689 | <condition var1="tw_is_decrypted" var2="0"/> |
| 2690 | </conditions> |
| 2691 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2692 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2693 | <action function="set">tw_crypto_user_id=0</action> |
| 2694 | <action function="set">tw_crypto_password=</action> |
| 2695 | <action function="set">tw_password_fail=0</action> |
| 2696 | <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2697 | <action function="page">decrypt</action> |
| 2698 | </button> |
| 2699 | |
| 2700 | <button style="main_button_half_width"> |
| 2701 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2702 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2703 | <actions> |
| 2704 | <action function="set">tw_back=mount</action> |
| 2705 | <action function="overlay">select_storage</action> |
| 2706 | </actions> |
| 2707 | </button> |
| 2708 | |
| 2709 | <button style="main_button_half_width"> |
| 2710 | <conditions> |
| 2711 | <condition var1="tw_has_mtp" var2="1"/> |
| 2712 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2713 | </conditions> |
| 2714 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2715 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2716 | <action function="startmtp"/> |
| 2717 | </button> |
| 2718 | |
| 2719 | <button style="main_button_half_width"> |
| 2720 | <conditions> |
| 2721 | <condition var1="tw_has_mtp" var2="1"/> |
| 2722 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2723 | </conditions> |
| 2724 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2725 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2726 | <action function="stopmtp"/> |
| 2727 | </button> |
| 2728 | |
| 2729 | <action> |
| 2730 | <touch key="home"/> |
| 2731 | <action function="page">main</action> |
| 2732 | </action> |
| 2733 | |
| 2734 | <action> |
| 2735 | <touch key="back"/> |
| 2736 | <action function="page">main</action> |
| 2737 | </action> |
| 2738 | </page> |
| 2739 | |
| 2740 | <page name="usb_mount"> |
| 2741 | <template name="page"/> |
| 2742 | |
| 2743 | <text style="text_l"> |
| 2744 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2745 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2746 | </text> |
| 2747 | |
| 2748 | <text style="text_m"> |
| 2749 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2750 | <text>{@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2751 | </text> |
| 2752 | |
| 2753 | <text style="text_m_accent"> |
| 2754 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2755 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2756 | </text> |
| 2757 | |
| 2758 | <text style="text_m"> |
| 2759 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2760 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2761 | </text> |
| 2762 | |
| 2763 | <text style="text_m"> |
| 2764 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2765 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2766 | </text> |
| 2767 | |
| 2768 | <button style="main_button_half_width"> |
| 2769 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2770 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2771 | <action function="page">usb_umount</action> |
| 2772 | </button> |
| 2773 | |
| 2774 | <action> |
| 2775 | <action function="mount">usb</action> |
| 2776 | <action function="set">tw_busy=1</action> |
| 2777 | </action> |
| 2778 | </page> |
| 2779 | |
| 2780 | <page name="usb_umount"> |
| 2781 | <action> |
| 2782 | <action function="unmount">usb</action> |
| 2783 | </action> |
| 2784 | |
| 2785 | <action> |
| 2786 | <action function="page">mount</action> |
| 2787 | <action function="set">tw_busy=0</action> |
| 2788 | </action> |
| 2789 | </page> |
| 2790 | |
| 2791 | <page name="system_readonly_check"> |
| 2792 | <action> |
| 2793 | <action function="checkpartitionlifetimewrites">/system</action> |
| 2794 | </action> |
| 2795 | |
| 2796 | <action> |
| 2797 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 2798 | <actions> |
| 2799 | <action function="mountsystemtoggle">0</action> |
| 2800 | <action function="page">mount</action> |
| 2801 | </actions> |
| 2802 | </action> |
| 2803 | |
| 2804 | <action> |
| 2805 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 2806 | <actions> |
| 2807 | <action function="set">tw_back=mount</action> |
| 2808 | <action function="page">system_readonly</action> |
| 2809 | </actions> |
| 2810 | </action> |
| 2811 | </page> |
| 2812 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2813 | <page name="fastbootreboot"> |
| 2814 | <template name="page"/> |
| 2815 | |
| 2816 | <text style="text_l"> |
| 2817 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2818 | <text>{@reboot_hdr=Reboot}</text> |
| 2819 | </text> |
| 2820 | |
| 2821 | <listbox style="advanced_listbox"> |
Captain Throwback | 6321bc3 | 2020-12-25 22:46:59 -0500 | [diff] [blame] | 2822 | <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] | 2823 | |
| 2824 | <listitem name="{@rb_system_btn=System}"> |
| 2825 | <condition var1="tw_reboot_system" var2="1"/> |
| 2826 | <actions> |
| 2827 | <action function="set">tw_back=fastbootreboot</action> |
| 2828 | <action function="set">tw_action=reboot</action> |
| 2829 | <action function="set">tw_action_param=system</action> |
| 2830 | <action function="set">tw_reboot_param=system</action> |
| 2831 | <action function="set">tw_has_action2=0</action> |
| 2832 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2833 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2834 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2835 | <action function="page">confirm_action</action> |
| 2836 | </actions> |
| 2837 | </listitem> |
| 2838 | |
| 2839 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2840 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2841 | <actions> |
| 2842 | <action function="set">tw_back=fastbootreboot</action> |
| 2843 | <action function="set">tw_action=reboot</action> |
| 2844 | <action function="set">tw_action_param=poweroff</action> |
| 2845 | <action function="set">tw_reboot_param=poweroff</action> |
| 2846 | <action function="set">tw_has_action2=0</action> |
| 2847 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2848 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2849 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 2850 | <action function="page">confirm_action</action> |
| 2851 | </actions> |
| 2852 | </listitem> |
| 2853 | |
| 2854 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 2855 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2856 | <actions> |
| 2857 | <action function="set">tw_back=fastbootreboot</action> |
| 2858 | <action function="set">tw_action=reboot</action> |
| 2859 | <action function="set">tw_action_param=recovery</action> |
| 2860 | <action function="set">tw_reboot_param=recovery</action> |
| 2861 | <action function="set">tw_has_action2=0</action> |
| 2862 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2863 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2864 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2865 | <action function="page">confirm_action</action> |
| 2866 | </actions> |
| 2867 | </listitem> |
| 2868 | |
| 2869 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 2870 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2871 | <actions> |
| 2872 | <action function="set">tw_back=fastbootreboot</action> |
| 2873 | <action function="set">tw_action=reboot</action> |
| 2874 | <action function="set">tw_action_param=bootloader</action> |
| 2875 | <action function="set">tw_reboot_param=bootloader</action> |
| 2876 | <action function="set">tw_has_action2=0</action> |
| 2877 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2878 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2879 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2880 | <action function="page">confirm_action</action> |
| 2881 | </actions> |
| 2882 | </listitem> |
| 2883 | |
| 2884 | <listitem name="{@rb_download_btn=Download}"> |
| 2885 | <condition var1="tw_download_mode" var2="1"/> |
| 2886 | <actions> |
| 2887 | <action function="set">tw_back=fastbootreboot</action> |
| 2888 | <action function="set">tw_action=reboot</action> |
| 2889 | <action function="set">tw_action_param=download</action> |
| 2890 | <action function="set">tw_reboot_param=download</action> |
| 2891 | <action function="set">tw_has_action2=0</action> |
| 2892 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2893 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2894 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2895 | <action function="page">confirm_action</action> |
| 2896 | </actions> |
| 2897 | </listitem> |
| 2898 | |
| 2899 | <listitem name="{@fastboot_button=Fastboot}"> |
| 2900 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 2901 | <actions> |
| 2902 | <action function="set">tw_back=fastbootreboot</action> |
| 2903 | <action function="set">tw_action=reboot</action> |
| 2904 | <action function="set">tw_action_param=fastboot</action> |
| 2905 | <action function="set">tw_reboot_param=fastboot</action> |
| 2906 | <action function="set">tw_has_action2=0</action> |
| 2907 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2908 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2909 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2910 | <action function="page">confirm_action</action> |
| 2911 | </actions> |
| 2912 | </listitem> |
| 2913 | |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 2914 | <listitem name="{@rb_edl_btn=EDL}"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2915 | <condition var1="tw_edl_mode" var2="1"/> |
| 2916 | <actions> |
| 2917 | <action function="set">tw_back=fastbootreboot</action> |
| 2918 | <action function="set">tw_action=reboot</action> |
| 2919 | <action function="set">tw_action_param=edl</action> |
| 2920 | <action function="set">tw_reboot_param=edl</action> |
| 2921 | <action function="set">tw_has_action2=0</action> |
| 2922 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2923 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2924 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2925 | <action function="page">confirm_action</action> |
| 2926 | </actions> |
| 2927 | </listitem> |
| 2928 | </listbox> |
| 2929 | <action> |
| 2930 | <touch key="home"/> |
| 2931 | <action function="page">fastboot</action> |
| 2932 | </action> |
| 2933 | |
| 2934 | <action> |
| 2935 | <touch key="back"/> |
| 2936 | <action function="page">fastboot</action> |
| 2937 | </action> |
| 2938 | </page> |
| 2939 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2940 | <page name="reboot"> |
| 2941 | <template name="page"/> |
| 2942 | |
| 2943 | <text style="text_l"> |
| 2944 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2945 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2946 | </text> |
| 2947 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2948 | <listbox style="advanced_listbox"> |
Captain Throwback | 6321bc3 | 2020-12-25 22:46:59 -0500 | [diff] [blame] | 2949 | <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] | 2950 | |
| 2951 | <listitem name="{@rb_system_btn=System}"> |
| 2952 | <condition var1="tw_reboot_system" var2="1"/> |
| 2953 | <actions> |
| 2954 | <action function="set">tw_back=reboot</action> |
| 2955 | <action function="page">reboot_system_routine</action> |
| 2956 | </actions> |
| 2957 | </listitem> |
| 2958 | |
| 2959 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2960 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2961 | <actions> |
| 2962 | <action function="set">tw_back=reboot</action> |
| 2963 | <action function="set">tw_action=reboot</action> |
| 2964 | <action function="set">tw_action_param=poweroff</action> |
| 2965 | <action function="set">tw_reboot_param=poweroff</action> |
| 2966 | <action function="set">tw_has_action2=0</action> |
| 2967 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2968 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 2969 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2970 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2971 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 2972 | <action function="page">rebootcheck</action> |
| 2973 | </actions> |
| 2974 | </listitem> |
| 2975 | |
| 2976 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 2977 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2978 | <actions> |
| 2979 | <action function="set">tw_back=reboot</action> |
| 2980 | <action function="set">tw_action=reboot</action> |
| 2981 | <action function="set">tw_action_param=recovery</action> |
| 2982 | <action function="set">tw_reboot_param=recovery</action> |
| 2983 | <action function="set">tw_has_action2=0</action> |
| 2984 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2985 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2986 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2987 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2988 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2989 | <action function="page">rebootcheck</action> |
| 2990 | </actions> |
| 2991 | </listitem> |
| 2992 | |
| 2993 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 2994 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2995 | <actions> |
| 2996 | <action function="set">tw_back=reboot</action> |
| 2997 | <action function="set">tw_action=reboot</action> |
| 2998 | <action function="set">tw_action_param=bootloader</action> |
| 2999 | <action function="set">tw_reboot_param=bootloader</action> |
| 3000 | <action function="set">tw_has_action2=0</action> |
| 3001 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3002 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3003 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3004 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3005 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3006 | <action function="page">rebootcheck</action> |
| 3007 | </actions> |
| 3008 | </listitem> |
| 3009 | |
| 3010 | <listitem name="{@rb_download_btn=Download}"> |
| 3011 | <condition var1="tw_download_mode" var2="1"/> |
| 3012 | <actions> |
| 3013 | <action function="set">tw_back=reboot</action> |
| 3014 | <action function="set">tw_action=reboot</action> |
| 3015 | <action function="set">tw_action_param=download</action> |
| 3016 | <action function="set">tw_reboot_param=download</action> |
| 3017 | <action function="set">tw_has_action2=0</action> |
| 3018 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3019 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3020 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3021 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3022 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3023 | <action function="page">rebootcheck</action> |
| 3024 | </actions> |
| 3025 | </listitem> |
| 3026 | |
| 3027 | |
| 3028 | <listitem name="{@fastboot_button=Fastboot}"> |
| 3029 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 3030 | <actions> |
| 3031 | <action function="set">tw_back=reboot</action> |
| 3032 | <action function="set">tw_action=reboot</action> |
| 3033 | <action function="set">tw_action_param=fastboot</action> |
| 3034 | <action function="set">tw_reboot_param=fastboot</action> |
| 3035 | <action function="set">tw_has_action2=0</action> |
| 3036 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3037 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3038 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3039 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3040 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3041 | <action function="page">rebootcheck</action> |
| 3042 | </actions> |
| 3043 | </listitem> |
| 3044 | |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 3045 | <listitem name="{@rb_edl_btn=EDL}"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3046 | <condition var1="tw_edl_mode" var2="1"/> |
| 3047 | <actions> |
| 3048 | <action function="set">tw_back=reboot</action> |
| 3049 | <action function="set">tw_action=reboot</action> |
| 3050 | <action function="set">tw_action_param=edl</action> |
| 3051 | <action function="set">tw_reboot_param=edl</action> |
| 3052 | <action function="set">tw_has_action2=0</action> |
| 3053 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3054 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3055 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3056 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3057 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3058 | <action function="page">rebootcheck</action> |
| 3059 | </actions> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3060 | </listitem> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3061 | </listbox> |
| 3062 | |
| 3063 | <text style="text_m"> |
| 3064 | <condition var1="tw_has_boot_slots" var2="1"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3065 | <placement x="%col1_x_header%" y="%row14_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3066 | <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text> |
| 3067 | </text> |
| 3068 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3069 | <button style="main_button"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3070 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3071 | <placement x="%indent%" y="%row16_y%"/> |
| 3072 | <text>{@boot_slot_a=Slot A}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3073 | <actions> |
| 3074 | <action function="set">tw_back=reboot</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3075 | <action function="set">tw_action=setbootslot</action> |
| 3076 | <action function="set">tw_action_param=A</action> |
| 3077 | <action function="set">tw_has_action2=0</action> |
| 3078 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 3079 | <action function="set">tw_action_text2=</action> |
| 3080 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3081 | <action function="page">action_page</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3082 | </actions> |
| 3083 | </button> |
| 3084 | |
| 3085 | <button style="main_button"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3086 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3087 | <placement x="%center_x%" y="%row16_y%"/> |
| 3088 | <text>{@boot_slot_b=Slot B}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3089 | <actions> |
| 3090 | <action function="set">tw_back=reboot</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3091 | <action function="set">tw_action=setbootslot</action> |
| 3092 | <action function="set">tw_action_param=B</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3093 | <action function="set">tw_has_action2=0</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3094 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 3095 | <action function="set">tw_action_text2=</action> |
| 3096 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3097 | <action function="page">action_page</action> |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3098 | </actions> |
| 3099 | </button> |
| 3100 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3101 | <action> |
| 3102 | <touch key="home"/> |
| 3103 | <action function="page">main</action> |
| 3104 | </action> |
| 3105 | |
| 3106 | <action> |
| 3107 | <touch key="back"/> |
| 3108 | <action function="page">main</action> |
| 3109 | </action> |
| 3110 | </page> |
| 3111 | |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3112 | <page name="installapp"> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3113 | <template name="page"/> |
| 3114 | |
| 3115 | <text style="text_l"> |
| 3116 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3117 | <text>%tw_appinstall_title%</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3118 | </text> |
| 3119 | |
| 3120 | <text style="text_m"> |
| 3121 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3122 | <text>{@reboot_install_app_hdr=Install TWRP App}</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3123 | </text> |
| 3124 | |
| 3125 | <text style="text_m_accent"> |
| 3126 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3127 | <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text> |
| 3128 | </text> |
| 3129 | |
| 3130 | <text style="text_m_accent"> |
| 3131 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 3132 | <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text> |
| 3133 | </text> |
| 3134 | |
| 3135 | <checkbox> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3136 | <condition var1="tw_mount_system_ro" var2="0"/> |
| 3137 | <placement x="%indent%" y="%row7_y%"/> |
| 3138 | <text>{@reboot_install_app_system=Install as a System App}</text> |
| 3139 | <data variable="tw_app_install_system"/> |
| 3140 | </checkbox> |
| 3141 | |
| 3142 | <button style="main_button_half_width"> |
| 3143 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | fa67cbf | 2018-07-20 12:22:33 -0500 | [diff] [blame] | 3144 | <text>{@install_cancel=Do not Install}</text> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3145 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3146 | </button> |
| 3147 | |
| 3148 | <slider> |
| 3149 | <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text> |
| 3150 | <actions> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3151 | <action function="set">tw_action=installapp</action> |
| 3152 | <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action> |
| 3153 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3154 | <action function="set">tw_complete_text1={@successful=Successful}</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3155 | <action function="page">action_page</action> |
| 3156 | </actions> |
| 3157 | </slider> |
| 3158 | |
| 3159 | <action> |
| 3160 | <touch key="home"/> |
| 3161 | <actions> |
| 3162 | <action function="set">tw_app_install_status=0</action> |
| 3163 | <action function="page">main</action> |
| 3164 | </actions> |
| 3165 | </action> |
| 3166 | |
| 3167 | <action> |
| 3168 | <touch key="back"/> |
| 3169 | <actions> |
| 3170 | <action function="set">tw_app_install_status=0</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3171 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3172 | </actions> |
| 3173 | </action> |
| 3174 | </page> |
| 3175 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3176 | <page name="system_readonly"> |
| 3177 | <template name="page"/> |
| 3178 | |
| 3179 | <text style="text_l"> |
| 3180 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3181 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3182 | </text> |
| 3183 | |
| 3184 | <text style="text_m_accent"> |
| 3185 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3186 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3187 | </text> |
| 3188 | |
| 3189 | <text style="text_m"> |
| 3190 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3191 | <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] | 3192 | </text> |
| 3193 | |
| 3194 | <text style="text_m"> |
| 3195 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3196 | <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] | 3197 | </text> |
| 3198 | |
| 3199 | <text style="text_m_fail"> |
| 3200 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3201 | <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] | 3202 | </text> |
| 3203 | |
| 3204 | <checkbox> |
| 3205 | <condition var1="tw_is_encrypted" var2="0"/> |
| 3206 | <placement x="%col1_x_left%" y="%row14_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3207 | <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] | 3208 | <data variable="tw_never_show_system_ro_page"/> |
| 3209 | </checkbox> |
| 3210 | |
| 3211 | <button style="main_button_half_width"> |
| 3212 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3213 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3214 | <actions> |
| 3215 | <action function="mountsystemtoggle">1</action> |
| 3216 | <action function="set">tw_page_done=1</action> |
| 3217 | <action function="page">%tw_back%</action> |
| 3218 | </actions> |
| 3219 | </button> |
| 3220 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3221 | <button style="main_button_half_width"> |
| 3222 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
| 3223 | <text>{@sel_lang_btn=Select Language}</text> |
| 3224 | <action function="overlay">select_language</action> |
| 3225 | </button> |
| 3226 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3227 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3228 | <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3229 | <actions> |
| 3230 | <action function="mountsystemtoggle">0</action> |
| 3231 | <action function="set">tw_page_done=1</action> |
| 3232 | <action function="page">%tw_back%</action> |
| 3233 | </actions> |
| 3234 | </slider> |
| 3235 | </page> |
| 3236 | |
| 3237 | <page name="settings"> |
| 3238 | <template name="page"/> |
| 3239 | |
| 3240 | <text style="text_l"> |
| 3241 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3242 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3243 | </text> |
| 3244 | |
| 3245 | <text style="text_m"> |
| 3246 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3247 | <text>{@settings_gen_hdr=General Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3248 | </text> |
| 3249 | |
| 3250 | <template name="tabs_settings"/> |
| 3251 | |
| 3252 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3253 | <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] | 3254 | </fill> |
| 3255 | |
| 3256 | <listbox style="scrolllist"> |
| 3257 | <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/> |
| 3258 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3259 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3260 | <data variable="tw_signed_zip_verify"/> |
| 3261 | </listitem> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 3262 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 3263 | <data variable="tw_install_reboot"/> |
| 3264 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3265 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3266 | <data variable="tw_rm_rf"/> |
| 3267 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 3268 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
| 3269 | <data variable="tw_disable_free_space"/> |
| 3270 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3271 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 3272 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3273 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3274 | <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}"> |
| 3275 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3276 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 3277 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 3278 | <data variable="tw_skip_digest_check_zip"/> |
| 3279 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3280 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3281 | <data variable="tw_military_time"/> |
| 3282 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3283 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3284 | <data variable="tw_simulate_actions"/> |
| 3285 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3286 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3287 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3288 | <data variable="tw_simulate_fail"/> |
| 3289 | </listitem> |
bigbiff bigbiff | 1c01fab | 2017-08-07 18:41:14 -0400 | [diff] [blame] | 3290 | <listitem name="{@sha2_chk=Use SHA2 for hashing}"> |
| 3291 | <condition var1="tw_no_sha2" var2="0"/> |
| 3292 | <data variable="tw_use_sha2"/> |
| 3293 | </listitem> |
Chaosmaster | ff4f958 | 2020-01-26 15:38:11 +0100 | [diff] [blame] | 3294 | <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}"> |
| 3295 | <data variable="tw_unmount_system"/> |
| 3296 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3297 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 3298 | <conditions> |
| 3299 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3300 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3301 | </conditions> |
| 3302 | <data variable="tw_auto_reflashtwrp"/> |
| 3303 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3304 | </listbox> |
| 3305 | |
| 3306 | <checkbox> |
| 3307 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3308 | <text>{@rev_navbar_chk=Reversed navbar layout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3309 | <data variable="tw_samsung_navbar"/> |
| 3310 | </checkbox> |
| 3311 | |
| 3312 | <button style="radiobutton"> |
| 3313 | <condition var1="tw_navbar_button_position" op="!=" var2="0"/> |
| 3314 | <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3315 | <text>{@ctr_navbar_rdo=Center navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3316 | <image resource="radio_false"/> |
| 3317 | <action function="set">tw_navbar_button_position=0</action> |
| 3318 | </button> |
| 3319 | |
| 3320 | <button style="radiobutton"> |
| 3321 | <condition var1="tw_navbar_button_position" var2="0"/> |
| 3322 | <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3323 | <text>{@ctr_navbar_rdo=Center navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3324 | <image resource="radio_true"/> |
| 3325 | <action function="set">tw_navbar_button_position=0</action> |
| 3326 | </button> |
| 3327 | |
| 3328 | <button style="radiobutton"> |
| 3329 | <condition var1="tw_navbar_button_position" op="!=" var2="1"/> |
| 3330 | <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3331 | <text>{@lft_navbar_rdo=Left align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3332 | <image resource="radio_false"/> |
| 3333 | <action function="set">tw_navbar_button_position=1</action> |
| 3334 | </button> |
| 3335 | |
| 3336 | <button style="radiobutton"> |
| 3337 | <condition var1="tw_navbar_button_position" var2="1"/> |
| 3338 | <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3339 | <text>{@lft_navbar_rdo=Left align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3340 | <image resource="radio_true"/> |
| 3341 | <action function="set">tw_navbar_button_position=1</action> |
| 3342 | </button> |
| 3343 | |
| 3344 | <button style="radiobutton"> |
| 3345 | <condition var1="tw_navbar_button_position" op="!=" var2="2"/> |
| 3346 | <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3347 | <text>{@rht_navbar_rdo=Right align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3348 | <image resource="radio_false"/> |
| 3349 | <action function="set">tw_navbar_button_position=2</action> |
| 3350 | </button> |
| 3351 | |
| 3352 | <button style="radiobutton"> |
| 3353 | <condition var1="tw_navbar_button_position" var2="2"/> |
| 3354 | <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3355 | <text>{@rht_navbar_rdo=Right align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3356 | <image resource="radio_true"/> |
| 3357 | <action function="set">tw_navbar_button_position=2</action> |
| 3358 | </button> |
| 3359 | |
| 3360 | <button style="main_button_half_width"> |
| 3361 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3362 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3363 | <action function="restoredefaultsettings"/> |
| 3364 | </button> |
| 3365 | |
| 3366 | <action> |
| 3367 | <touch key="home"/> |
| 3368 | <action function="page">main</action> |
| 3369 | </action> |
| 3370 | |
| 3371 | <action> |
| 3372 | <touch key="back"/> |
| 3373 | <action function="page">main</action> |
| 3374 | </action> |
| 3375 | </page> |
| 3376 | |
| 3377 | <page name="settings_timezone"> |
| 3378 | <template name="page"/> |
| 3379 | |
| 3380 | <text style="text_l"> |
| 3381 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3382 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3383 | </text> |
| 3384 | |
| 3385 | <text style="text_m"> |
| 3386 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3387 | <text>{@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3388 | </text> |
| 3389 | |
| 3390 | <template name="tabs_settings"/> |
| 3391 | |
| 3392 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3393 | <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] | 3394 | </fill> |
| 3395 | |
| 3396 | <listbox> |
| 3397 | <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] | 3398 | <text>{@sel_tz_list=Select Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3399 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3400 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3401 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3402 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3403 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3404 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3405 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3406 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3407 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3408 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3409 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3410 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3411 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3412 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3413 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3414 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3415 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3416 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3417 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3418 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3419 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3420 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3421 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3422 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3423 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3424 | </listbox> |
| 3425 | |
| 3426 | <text style="text_m_accent"> |
| 3427 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3428 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3429 | </text> |
| 3430 | |
| 3431 | <button style="button_quarter_width"> |
| 3432 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3433 | <text>{@tz_offset_none=None}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3434 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3435 | </button> |
| 3436 | |
| 3437 | <button style="button_quarter_width"> |
| 3438 | <placement x="%btn4_col2_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3439 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3440 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3441 | </button> |
| 3442 | |
| 3443 | <button style="button_quarter_width"> |
| 3444 | <placement x="%btn4_col3_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3445 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3446 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3447 | </button> |
| 3448 | |
| 3449 | <button style="button_quarter_width"> |
| 3450 | <placement x="%btn4_col4_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3451 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3452 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3453 | </button> |
| 3454 | |
| 3455 | <checkbox> |
| 3456 | <placement x="%col1_x_right%" y="%row7_y%"/> |
| 3457 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3458 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3459 | <data variable="tw_time_zone_guidst"/> |
| 3460 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3461 | </checkbox> |
| 3462 | |
| 3463 | <text color="%text_color%"> |
| 3464 | <font resource="font_m"/> |
| 3465 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3466 | <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3467 | </text> |
| 3468 | |
| 3469 | <button> |
| 3470 | <highlight color="%highlight_color%"/> |
| 3471 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 3472 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3473 | <text>{@set_tz_btn=Set Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3474 | <image resource="main_button_half_width"/> |
| 3475 | <action function="setguitimezone"/> |
| 3476 | </button> |
| 3477 | |
| 3478 | <action> |
| 3479 | <touch key="home"/> |
| 3480 | <action function="page">main</action> |
| 3481 | </action> |
| 3482 | |
| 3483 | <action> |
| 3484 | <touch key="back"/> |
| 3485 | <action function="page">main</action> |
| 3486 | </action> |
| 3487 | </page> |
| 3488 | |
| 3489 | <page name="settings_screen"> |
| 3490 | <template name="page"/> |
| 3491 | |
| 3492 | <text style="text_l"> |
| 3493 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3494 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3495 | </text> |
| 3496 | |
| 3497 | <text style="text_m"> |
| 3498 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3499 | <text>{@settings_screen_hdr=Screen Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3500 | </text> |
| 3501 | |
| 3502 | <template name="tabs_settings"/> |
| 3503 | |
| 3504 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3505 | <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] | 3506 | </fill> |
| 3507 | |
| 3508 | <button> |
| 3509 | <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/> |
| 3510 | <font resource="font_m" color="%text_color%"/> |
| 3511 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3512 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3513 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3514 | <image resource="checkbox_false"/> |
| 3515 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3516 | </button> |
| 3517 | |
| 3518 | <button> |
| 3519 | <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/> |
| 3520 | <font resource="font_m" color="%text_color%"/> |
| 3521 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3522 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3523 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3524 | <image resource="checkbox_true"/> |
| 3525 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3526 | </button> |
| 3527 | |
| 3528 | <slidervalue> |
| 3529 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3530 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3531 | <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3532 | <text>{@screen_to_slider=Screen timeout in seconds:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3533 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3534 | </slidervalue> |
| 3535 | |
| 3536 | <slidervalue> |
| 3537 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3538 | <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3539 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3540 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3541 | <actions> |
| 3542 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3543 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3544 | <action function="compute">tw_brightness/100</action> |
| 3545 | <action function="setbrightness">%tw_brightness%</action> |
| 3546 | </actions> |
| 3547 | </slidervalue> |
| 3548 | |
| 3549 | <action> |
| 3550 | <touch key="home"/> |
| 3551 | <action function="page">main</action> |
| 3552 | </action> |
| 3553 | |
| 3554 | <action> |
| 3555 | <touch key="back"/> |
| 3556 | <action function="page">main</action> |
| 3557 | </action> |
| 3558 | </page> |
| 3559 | |
| 3560 | <page name="settings_vibration"> |
| 3561 | <template name="page"/> |
| 3562 | |
| 3563 | <text style="text_l"> |
| 3564 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3565 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3566 | </text> |
| 3567 | |
| 3568 | <text style="text_m"> |
| 3569 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3570 | <text>{@vibration_hdr=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3571 | </text> |
| 3572 | |
| 3573 | <template name="tabs_settings"/> |
| 3574 | |
| 3575 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3576 | <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] | 3577 | </fill> |
| 3578 | |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3579 | <text style="text_m"> |
| 3580 | <condition var1="tw_disable_haptics" var2="1"/> |
| 3581 | <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> |
| 3582 | <text>{@vibration_disabled=Vibration Disabled for Device}</text> |
| 3583 | </text> |
| 3584 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3585 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3586 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3587 | <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3588 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3589 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3590 | </slidervalue> |
| 3591 | |
| 3592 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3593 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3594 | <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3595 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3596 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3597 | </slidervalue> |
| 3598 | |
| 3599 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3600 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3601 | <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3602 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3603 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3604 | </slidervalue> |
| 3605 | |
| 3606 | <action> |
| 3607 | <touch key="home"/> |
| 3608 | <action function="page">main</action> |
| 3609 | </action> |
| 3610 | |
| 3611 | <action> |
| 3612 | <touch key="back"/> |
| 3613 | <action function="page">main</action> |
| 3614 | </action> |
| 3615 | </page> |
| 3616 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3617 | <page name="settings_language"> |
| 3618 | <template name="page"/> |
| 3619 | |
| 3620 | <text style="text_l"> |
| 3621 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3622 | <text>{@settings_hdr=Settings}</text> |
| 3623 | </text> |
| 3624 | |
| 3625 | <text style="text_m"> |
| 3626 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3627 | <text>{@language_hdr=Language - %tw_language_display%}</text> |
| 3628 | </text> |
| 3629 | |
| 3630 | <template name="tabs_settings"/> |
| 3631 | |
| 3632 | <fill color="%text_color%"> |
| 3633 | <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
| 3634 | </fill> |
| 3635 | |
| 3636 | <listbox> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3637 | <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] | 3638 | <text>{@select_language=Select Language:}</text> |
| 3639 | <icon selected="radio_true" unselected="radio_false" /> |
| 3640 | <data name="tw_language" /> |
| 3641 | </listbox> |
| 3642 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3643 | <button> |
| 3644 | <highlight color="%highlight_color%"/> |
| 3645 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 3646 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3647 | <text>{@set_language_btn=Set Language}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3648 | <image resource="main_button_half_width"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3649 | <action function="setlanguage"></action> |
| 3650 | </button> |
| 3651 | |
| 3652 | <action> |
| 3653 | <touch key="home" /> |
| 3654 | <action function="page">main</action> |
| 3655 | </action> |
| 3656 | |
| 3657 | <action> |
| 3658 | <touch key="back" /> |
| 3659 | <action function="page">settings</action> |
| 3660 | </action> |
| 3661 | </page> |
| 3662 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3663 | <page name="copylog"> |
| 3664 | <template name="page"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3665 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3666 | <text style="text_l"> |
| 3667 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3668 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3669 | </text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3670 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3671 | <checkbox> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3672 | <condition var1="tw_logcat_exists" var2="1"/> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3673 | <placement x="%indent%" y="%row4_y%"/> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3674 | <text>{@include_logcat=Include Logcat}</text> |
| 3675 | <data variable="tw_include_logcat" value="1"/> |
| 3676 | </checkbox> |
| 3677 | |
| 3678 | <checkbox> |
| 3679 | <placement x="%indent%" y="%row6_y%"/> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3680 | <text>{@include_kernel_log=Include Kernel Log}</text> |
| 3681 | <data variable="tw_include_kernel_log" value="1"/> |
| 3682 | </checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3683 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3684 | <slider> |
| 3685 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3686 | <actions> |
| 3687 | <action function="set">tw_back=advanced</action> |
| 3688 | <action function="set">tw_action=copylog</action> |
| 3689 | <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action> |
| 3690 | <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action> |
| 3691 | <action function="page">action_page</action> |
| 3692 | </actions> |
| 3693 | </slider> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3694 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3695 | <action> |
| 3696 | <touch key="home"/> |
| 3697 | <action function="page">main</action> |
| 3698 | </action> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3699 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3700 | <action> |
| 3701 | <touch key="back"/> |
| 3702 | <actions> |
| 3703 | <action function="page">advanced</action> |
| 3704 | </actions> |
| 3705 | </action> |
| 3706 | </page> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3707 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3708 | <page name="advanced"> |
| 3709 | <template name="page"/> |
| 3710 | |
| 3711 | <text style="text_l"> |
| 3712 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3713 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3714 | </text> |
| 3715 | |
| 3716 | <button style="main_button"> |
| 3717 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3718 | <text>{@copy_log_btn=Copy Log}</text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3719 | <action function="page">copylog</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3720 | </button> |
| 3721 | |
| 3722 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3723 | <placement x="%col1_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3724 | <text>{@file_manager_btn=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3725 | <action function="page">filemanagerlist</action> |
| 3726 | </button> |
| 3727 | |
| 3728 | <button style="main_button"> |
| 3729 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3730 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3731 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3732 | </button> |
| 3733 | |
| 3734 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3735 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3736 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3737 | <action function="page">sideload</action> |
| 3738 | </button> |
| 3739 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3740 | <listbox style="advanced_listbox"> |
| 3741 | <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] | 3742 | <listitem name="{@change_twrp_folder_btn=Change TWRP folder}"> |
nebrassy | a9e4c46 | 2021-12-20 20:09:40 +0100 | [diff] [blame] | 3743 | <condition var1="tw_is_decrypted" var2="1"/> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 3744 | <action function="page">changeTwrpFolder</action> |
| 3745 | </listitem> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 3746 | <listitem name="{@decrypt_users=Decrypt Users}"> |
| 3747 | <conditions> |
| 3748 | <condition var1="tw_is_fbe" var2="1"/> |
| 3749 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 3750 | </conditions> |
| 3751 | <actions> |
| 3752 | <action function="set">tw_crypto_user_id=</action> |
| 3753 | <action function="page">decrypt_users</action> |
| 3754 | </actions> |
| 3755 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3756 | <listitem name="{@reload_theme_btn=Reload Theme}"> |
| 3757 | <action function="reload"/> |
| 3758 | </listitem> |
| 3759 | <listitem name="{@part_sd_btn=Partition SD Card}"> |
| 3760 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3761 | <actions> |
| 3762 | <action function="set">partitionlisterror=0</action> |
| 3763 | <action function="page">partsdcardsel</action> |
| 3764 | </actions> |
| 3765 | </listitem> |
| 3766 | <listitem name="{@fix_context_btn=Fix Contexts}"> |
| 3767 | <condition var1="tw_has_data_media" var2="1"/> |
| 3768 | <action function="page">fixcontexts</action> |
| 3769 | </listitem> |
| 3770 | <listitem name="{@dumlock_btn=HTC Dumlock}"> |
| 3771 | <condition var1="tw_show_dumlock" var2="1"/> |
| 3772 | <action function="page">htcdumlock</action> |
| 3773 | </listitem> |
| 3774 | <listitem name="{@inject_twrp_btn=Inject TWRP}"> |
| 3775 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3776 | <actions> |
| 3777 | <action function="set">tw_back=advanced</action> |
| 3778 | <action function="set">tw_action=reinjecttwrp</action> |
| 3779 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3780 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3781 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3782 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3783 | <action function="page">confirm_action</action> |
| 3784 | </actions> |
| 3785 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3786 | <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}"> |
| 3787 | <conditions> |
| 3788 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3789 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3790 | </conditions> |
| 3791 | <actions> |
| 3792 | <action function="set">tw_repack_kernel=0</action> |
| 3793 | <action function="page">repackselect</action> |
| 3794 | </actions> |
| 3795 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3796 | <listitem name="{@reflash_twrp=Flash Current TWRP}"> |
| 3797 | <conditions> |
| 3798 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3799 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3800 | </conditions> |
| 3801 | <actions> |
| 3802 | <action function="set">tw_repack_kernel=0</action> |
| 3803 | <action function="set">tw_back=advanced</action> |
| 3804 | <action function="set">tw_action=reflashtwrp</action> |
| 3805 | <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action> |
| 3806 | <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action> |
| 3807 | <action function="set">tw_complete_text1={@reflash_twrp_complete=Done flashing TWRP}</action> |
| 3808 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3809 | <action function="page">confirm_action</action> |
| 3810 | </actions> |
| 3811 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3812 | <listitem name="{@install_kernel=Install Kernel}"> |
| 3813 | <conditions> |
| 3814 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3815 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3816 | </conditions> |
| 3817 | <actions> |
| 3818 | <action function="set">tw_repack_kernel=1</action> |
| 3819 | <action function="page">repackselect</action> |
| 3820 | </actions> |
| 3821 | </listitem> |
| 3822 | <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}"> |
| 3823 | <conditions> |
| 3824 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3825 | <condition var1="tw_has_repack_tools" var2="1"/> |
Captain Throwback | bc2cfa3 | 2021-09-16 10:04:26 -0400 | [diff] [blame] | 3826 | <condition var1="tw_uses_initramfs" var2="1"/> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3827 | </conditions> |
| 3828 | <actions> |
| 3829 | <action function="set">tw_back=advanced</action> |
| 3830 | <action function="set">tw_action=fixabrecoverybootloop</action> |
| 3831 | <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action> |
| 3832 | <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action> |
| 3833 | <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action> |
| 3834 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3835 | <action function="page">confirm_action</action> |
| 3836 | </actions> |
| 3837 | </listitem> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3838 | <listitem name="{@reboot_install_app_hdr=Install TWRP App}"> |
| 3839 | <condition var1="tw_app_install_status" var2="1"/> |
| 3840 | <actions> |
| 3841 | <action function="set">tw_back=advanced</action> |
| 3842 | <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action> |
| 3843 | <action function="page">installapp</action> |
| 3844 | </actions> |
| 3845 | </listitem> |
Ethan Yonker | 76bbd3a | 2019-05-10 10:50:04 -0500 | [diff] [blame] | 3846 | <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}"> |
| 3847 | <condition var1="tw_app_installed_in_system" var2="1"/> |
| 3848 | <actions> |
| 3849 | <action function="set">tw_back=advanced</action> |
| 3850 | <action function="set">tw_action=uninstalltwrpsystemapp</action> |
| 3851 | <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action> |
| 3852 | <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action> |
| 3853 | <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action> |
| 3854 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3855 | <action function="page">confirm_action</action> |
| 3856 | </actions> |
| 3857 | </listitem> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 3858 | <listitem name="{@unmap_super_devices=Unmap Super Devices}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 3859 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 3860 | <actions> |
| 3861 | <action function="set">tw_back=advanced</action> |
| 3862 | <action function="set">tw_action=unmapsuperdevices</action> |
| 3863 | <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action> |
| 3864 | <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action> |
| 3865 | <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action> |
| 3866 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3867 | <action function="page">confirm_action</action> |
| 3868 | </actions> |
| 3869 | </listitem> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 3870 | <listitem name="{@merges_snapshots=Merge Snapshots}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 3871 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 3872 | <actions> |
| 3873 | <action function="set">tw_back=advanced</action> |
| 3874 | <action function="set">tw_action=mergesnapshots</action> |
| 3875 | <action function="set">tw_text1={@merge_snapshots_confirm=Merge Snapshots?}</action> |
| 3876 | <action function="set">tw_action_text1={@merging_snapshots=Merging Snapshots...}</action> |
| 3877 | <action function="set">tw_complete_text1={@merging_snapshots_complete=Merged Snapshots}</action> |
| 3878 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3879 | <action function="page">confirm_action</action> |
| 3880 | </actions> |
| 3881 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3882 | </listbox> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3883 | |
| 3884 | <action> |
| 3885 | <touch key="home"/> |
| 3886 | <action function="page">main</action> |
| 3887 | </action> |
| 3888 | |
| 3889 | <action> |
| 3890 | <touch key="back"/> |
| 3891 | <action function="page">main</action> |
| 3892 | </action> |
| 3893 | </page> |
| 3894 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3895 | <page name="partsdcardsel"> |
| 3896 | <template name="page"/> |
| 3897 | |
| 3898 | <text style="text_l"> |
| 3899 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3900 | <text>{@advanced_hdr=Advanced}</text> |
| 3901 | </text> |
| 3902 | |
| 3903 | <text style="text_m"> |
| 3904 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3905 | <text>{@part_sd_hdr=Partition SD Card}</text> |
| 3906 | </text> |
| 3907 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 3908 | <partitionlist> |
| 3909 | <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] | 3910 | <text>{@sel_storage_list=Select Storage}</text> |
| 3911 | <data name="tw_storage_path"/> |
| 3912 | <listtype name="storage"/> |
| 3913 | </partitionlist> |
| 3914 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 3915 | <text style="text_m_fail"> |
| 3916 | <condition var1="partitionlisterror" var2="1"/> |
| 3917 | <placement x="%center_x%" y="%row14_y%" placement="5"/> |
| 3918 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 3919 | </text> |
| 3920 | |
| 3921 | <button style="main_button_half_width"> |
| 3922 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3923 | <text>{@ok_btn=OK}</text> |
| 3924 | <actions> |
| 3925 | <action function="getpartitiondetails">tw_storage_path</action> |
| 3926 | <action function="page">partsdcardcheck</action> |
| 3927 | </actions> |
| 3928 | </button> |
| 3929 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3930 | <action> |
| 3931 | <touch key="home"/> |
| 3932 | <action function="page">main</action> |
| 3933 | </action> |
| 3934 | |
| 3935 | <action> |
| 3936 | <touch key="back"/> |
| 3937 | <action function="page">advanced</action> |
| 3938 | </action> |
| 3939 | </page> |
| 3940 | |
| 3941 | <page name="partsdcardcheck"> |
| 3942 | <action> |
| 3943 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 3944 | <actions> |
| 3945 | <action function="set">partitionlisterror=0</action> |
| 3946 | <action function="page">partsdcard</action> |
| 3947 | </actions> |
| 3948 | </action> |
| 3949 | |
| 3950 | <action> |
| 3951 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 3952 | <actions> |
| 3953 | <action function="set">partitionlisterror=1</action> |
| 3954 | <action function="page">partsdcardsel</action> |
| 3955 | </actions> |
| 3956 | </action> |
| 3957 | </page> |
| 3958 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3959 | <page name="partsdcard"> |
| 3960 | <template name="page"/> |
| 3961 | |
| 3962 | <text style="text_l"> |
| 3963 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3964 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3965 | </text> |
| 3966 | |
| 3967 | <text style="text_m"> |
| 3968 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3969 | <text>{@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3970 | </text> |
| 3971 | |
| 3972 | <text style="text_m_fail"> |
| 3973 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3974 | <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] | 3975 | </text> |
| 3976 | |
| 3977 | <text style="text_m_fail"> |
| 3978 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3979 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3980 | </text> |
| 3981 | |
| 3982 | <text style="text_m_accent"> |
| 3983 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3984 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3985 | </text> |
| 3986 | |
| 3987 | <text style="text_m"> |
| 3988 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 3989 | <text>%tw_sdext_size%</text> |
| 3990 | </text> |
| 3991 | |
| 3992 | <button style="button_quarter_width"> |
| 3993 | <placement x="%btn4_col3_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3994 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3995 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3996 | </button> |
| 3997 | |
| 3998 | <button style="button_quarter_width"> |
| 3999 | <placement x="%btn4_col2_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4000 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4001 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4002 | </button> |
| 4003 | |
| 4004 | <text style="text_m_accent"> |
| 4005 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4006 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4007 | </text> |
| 4008 | |
| 4009 | <text style="text_m"> |
| 4010 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
| 4011 | <text>%tw_swap_size%</text> |
| 4012 | </text> |
| 4013 | |
| 4014 | <button style="button_quarter_width"> |
| 4015 | <placement x="%btn4_col3_x_left%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4016 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4017 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4018 | </button> |
| 4019 | |
| 4020 | <button style="button_quarter_width"> |
| 4021 | <placement x="%btn4_col2_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4022 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4023 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4024 | </button> |
| 4025 | |
| 4026 | <text style="text_m_accent"> |
| 4027 | <placement x="%center_x%" y="%row13_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4028 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4029 | </text> |
| 4030 | |
| 4031 | <text style="text_m"> |
| 4032 | <placement x="%center_x%" y="%row14_y%" placement="5"/> |
| 4033 | <text>%tw_sdpart_file_system%</text> |
| 4034 | </text> |
| 4035 | |
| 4036 | <button style="button_quarter_width"> |
| 4037 | <placement x="%btn4_col3_x_left%" y="%row13_y%"/> |
| 4038 | <text>EXT3</text> |
| 4039 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4040 | </button> |
| 4041 | |
| 4042 | <button style="button_quarter_width"> |
| 4043 | <placement x="%btn4_col2_x_right%" y="%row13_y%"/> |
| 4044 | <text>EXT4</text> |
| 4045 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4046 | </button> |
| 4047 | |
| 4048 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4049 | <text>{@swipe_part_sd=Swipe to Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4050 | <action function="page">partsdcardaction</action> |
| 4051 | <actions> |
| 4052 | <action function="set">tw_back=partsdcard</action> |
| 4053 | <action function="set">tw_action=partitionsd</action> |
| 4054 | <action function="set">tw_has_action2=1</action> |
| 4055 | <action function="set">tw_action2=set</action> |
| 4056 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4057 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4058 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4059 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4060 | <action function="page">action_page</action> |
| 4061 | </actions> |
| 4062 | </slider> |
| 4063 | |
| 4064 | <action> |
| 4065 | <touch key="home"/> |
| 4066 | <action function="page">main</action> |
| 4067 | </action> |
| 4068 | |
| 4069 | <action> |
| 4070 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4071 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4072 | </action> |
| 4073 | </page> |
| 4074 | |
| 4075 | <page name="htcdumlock"> |
| 4076 | <template name="page"/> |
| 4077 | |
| 4078 | <text style="text_l"> |
| 4079 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4080 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4081 | </text> |
| 4082 | |
| 4083 | <text style="text_m"> |
| 4084 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4085 | <text>{@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4086 | </text> |
| 4087 | |
| 4088 | <button style="main_button_m"> |
| 4089 | <placement x="%col2_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4090 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4091 | <actions> |
| 4092 | <action function="set">tw_back=htcdumlock</action> |
| 4093 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4094 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 4095 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 4096 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 4097 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4098 | <action function="page">confirm_action</action> |
| 4099 | </actions> |
| 4100 | </button> |
| 4101 | |
| 4102 | <button style="main_button_m"> |
| 4103 | <placement x="%col2_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4104 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4105 | <actions> |
| 4106 | <action function="set">tw_back=htcdumlock</action> |
| 4107 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4108 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 4109 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 4110 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 4111 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4112 | <action function="page">confirm_action</action> |
| 4113 | </actions> |
| 4114 | </button> |
| 4115 | |
| 4116 | <button style="main_button_m"> |
| 4117 | <placement x="%col2_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4118 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4119 | <actions> |
| 4120 | <action function="set">tw_back=htcdumlock</action> |
| 4121 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4122 | <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action> |
| 4123 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 4124 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 4125 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4126 | <action function="page">confirm_action</action> |
| 4127 | </actions> |
| 4128 | </button> |
| 4129 | |
| 4130 | <action> |
| 4131 | <touch key="home"/> |
| 4132 | <action function="page">main</action> |
| 4133 | </action> |
| 4134 | |
| 4135 | <action> |
| 4136 | <touch key="back"/> |
| 4137 | <action function="page">advanced</action> |
| 4138 | </action> |
| 4139 | </page> |
| 4140 | |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4141 | <page name="repackselect"> |
| 4142 | <template name="page"/> |
| 4143 | |
| 4144 | <text style="text_l"> |
| 4145 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4146 | <text>{@repack_image_hdr=Select Image}</text> |
| 4147 | </text> |
| 4148 | |
| 4149 | <text style="text_m"> |
| 4150 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4151 | <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 4152 | </text> |
| 4153 | |
| 4154 | <template name="sort_options"/> |
| 4155 | |
| 4156 | <fileselector> |
| 4157 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4158 | <text>%tw_zip_location%</text> |
| 4159 | <filter extn=".img" folders="1" files="1"/> |
| 4160 | <path name="tw_zip_location" default="/sdcard"/> |
| 4161 | <data name="tw_filename"/> |
| 4162 | <selection name="tw_file"/> |
| 4163 | </fileselector> |
| 4164 | |
| 4165 | <button style="main_button_half_width_low"> |
| 4166 | <placement x="%col_button_right%" y="%row16a_y%"/> |
| 4167 | <text>{@select_storage_btn=Select Storage}</text> |
| 4168 | <actions> |
| 4169 | <action function="set">tw_back=install</action> |
| 4170 | <action function="overlay">select_storage</action> |
| 4171 | </actions> |
| 4172 | </button> |
| 4173 | |
| 4174 | <action> |
| 4175 | <conditions> |
| 4176 | <condition var1="tw_filename" op="modified"/> |
| 4177 | </conditions> |
| 4178 | <action function="page">repackconfirm</action> |
| 4179 | </action> |
| 4180 | |
| 4181 | <action> |
| 4182 | <touch key="back"/> |
| 4183 | <action function="page">advanced</action> |
| 4184 | </action> |
| 4185 | |
| 4186 | <action> |
| 4187 | <touch key="home"/> |
| 4188 | <action function="page">main</action> |
| 4189 | </action> |
| 4190 | </page> |
| 4191 | |
| 4192 | <page name="repackconfirm"> |
| 4193 | <template name="page"/> |
| 4194 | |
| 4195 | <text style="text_l"> |
| 4196 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4197 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4198 | <text>{@repack_kernel_confirm_hdr=Install Kernel}</text> |
| 4199 | </text> |
| 4200 | |
| 4201 | <text style="text_l"> |
| 4202 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4203 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4204 | <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text> |
| 4205 | </text> |
| 4206 | |
| 4207 | <text style="text_m"> |
| 4208 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4209 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4210 | <text>{@repack_kernel_confirm=Install Kernel?}</text> |
| 4211 | </text> |
| 4212 | |
| 4213 | <text style="text_m"> |
| 4214 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4215 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4216 | <text>{@repack_ramdisk_confirm=Install Recovery?}</text> |
| 4217 | </text> |
| 4218 | |
| 4219 | <text style="text_m_accent"> |
| 4220 | <placement x="%indent%" y="%row2_y%"/> |
| 4221 | <text>{@folder=Folder:}</text> |
| 4222 | </text> |
| 4223 | |
| 4224 | <text style="text_m"> |
| 4225 | <placement x="%indent%" y="%row3_y%"/> |
| 4226 | <text>%tw_zip_location%</text> |
| 4227 | </text> |
| 4228 | |
| 4229 | <text style="text_m_accent"> |
| 4230 | <placement x="%indent%" y="%row4_y%"/> |
| 4231 | <text>{@file=File:}</text> |
| 4232 | </text> |
| 4233 | |
| 4234 | <text style="text_m"> |
| 4235 | <placement x="%indent%" y="%row5_y%"/> |
| 4236 | <text>%tw_file%</text> |
| 4237 | </text> |
| 4238 | |
| 4239 | <checkbox> |
| 4240 | <placement x="%indent%" y="%row7_y%"/> |
| 4241 | <text>{@repack_backup_first=Back up existing image first}</text> |
| 4242 | <data variable="tw_repack_backup_first"/> |
| 4243 | </checkbox> |
| 4244 | |
| 4245 | <button style="main_button_half_width"> |
| 4246 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 4247 | <text>{@install_cancel=Do not Install}</text> |
| 4248 | <action function="page">repackselect</action> |
| 4249 | </button> |
| 4250 | |
| 4251 | <slider style="slider_centered"> |
| 4252 | <text>{@swipe_to_install=Swipe to Install}</text> |
| 4253 | <actions> |
| 4254 | <action function="set">tw_back=advanced</action> |
| 4255 | <action function="set">tw_action=repackimage</action> |
| 4256 | <action function="set">tw_action_param=/boot</action> |
| 4257 | <action function="set">tw_action_text1={@installing=Installing...}</action> |
| 4258 | <action function="set">tw_action_text2=</action> |
| 4259 | <action function="set">tw_complete_text1={@install_complete=Install Complete}</action> |
| 4260 | <action function="page">action_page</action> |
| 4261 | </actions> |
| 4262 | </slider> |
| 4263 | |
| 4264 | <action> |
| 4265 | <touch key="back"/> |
| 4266 | <action function="page">repackselect</action> |
| 4267 | </action> |
| 4268 | |
| 4269 | <action> |
| 4270 | <touch key="home"/> |
| 4271 | <action function="page">main</action> |
| 4272 | </action> |
| 4273 | </page> |
| 4274 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4275 | <page name="lock"> |
| 4276 | <background color="%semi_transparent%"/> |
| 4277 | |
| 4278 | <image> |
| 4279 | <image resource="unlock_icon"/> |
| 4280 | <placement x="%center_x%" y="%row8_y%" placement="4"/> |
| 4281 | </image> |
| 4282 | |
| 4283 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4284 | <text>{@swipe_to_unlock=Swipe to Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4285 | <action function="overlay"/> |
| 4286 | </slider> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 4287 | |
| 4288 | <action> |
| 4289 | <touch key="power"/> |
| 4290 | <action function="togglebacklight"/> |
| 4291 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4292 | </page> |
| 4293 | |
| 4294 | <page name="filemanagerlist"> |
| 4295 | <template name="page"/> |
| 4296 | |
| 4297 | <text style="text_l"> |
| 4298 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4299 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4300 | </text> |
| 4301 | |
| 4302 | <text style="text_m"> |
| 4303 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4304 | <text>{@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4305 | </text> |
| 4306 | |
| 4307 | <template name="sort_options"/> |
| 4308 | |
| 4309 | <fileselector> |
| 4310 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4311 | <text>%tw_file_location1%</text> |
| 4312 | <filter folders="1" files="1"/> |
| 4313 | <path name="tw_file_location1" default="/"/> |
| 4314 | <data name="tw_filename1"/> |
| 4315 | <selection name="tw_selection1"/> |
| 4316 | </fileselector> |
| 4317 | |
| 4318 | <button style="main_button_half_width_low"> |
| 4319 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4320 | <text>{@fm_sel_curr_folder=Select Current Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4321 | <actions> |
| 4322 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4323 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4324 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4325 | <action function="page">filemanageroptions</action> |
| 4326 | </actions> |
| 4327 | </button> |
| 4328 | |
| 4329 | <action> |
| 4330 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4331 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4332 | <action function="set">tw_fm_isfolder=0</action> |
| 4333 | </actions> |
| 4334 | </action> |
| 4335 | |
| 4336 | <action> |
| 4337 | <touch key="home"/> |
| 4338 | <action function="page">main</action> |
| 4339 | </action> |
| 4340 | |
| 4341 | <action> |
| 4342 | <touch key="back"/> |
| 4343 | <action function="page">advanced</action> |
| 4344 | </action> |
| 4345 | |
| 4346 | <action> |
| 4347 | <condition var1="tw_filename1" op="modified"/> |
| 4348 | <action function="page">filemanageroptions</action> |
| 4349 | </action> |
| 4350 | </page> |
| 4351 | |
| 4352 | <page name="filemanageroptions"> |
| 4353 | <template name="page"/> |
| 4354 | |
| 4355 | <text style="text_l"> |
| 4356 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4357 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4358 | </text> |
| 4359 | |
| 4360 | <text style="text_m"> |
| 4361 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4362 | <text>{@fm_choose_act=Choose Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4363 | </text> |
| 4364 | |
| 4365 | <text style="text_m_accent"> |
| 4366 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4367 | <text>{@fm_selected=%tw_fm_type% selected:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4368 | </text> |
| 4369 | |
| 4370 | <text style="text_m"> |
| 4371 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 4372 | <text>%tw_filename1%</text> |
| 4373 | </text> |
| 4374 | |
| 4375 | <button style="main_button_half_width"> |
| 4376 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4377 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4378 | <text>{@fm_copy_file_btn=Copy File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4379 | <actions> |
| 4380 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4381 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4382 | <action function="page">choosedestinationfolder</action> |
| 4383 | </actions> |
| 4384 | </button> |
| 4385 | |
| 4386 | <button style="main_button_half_width"> |
| 4387 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4388 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4389 | <text>{@fm_copy_folder_btn=Copy Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4390 | <actions> |
| 4391 | <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] | 4392 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4393 | <action function="page">choosedestinationfolder</action> |
| 4394 | </actions> |
| 4395 | </button> |
| 4396 | |
| 4397 | <button style="main_button_half_width"> |
Captain Throwback | 16dd81b | 2021-02-12 19:32:36 -0500 | [diff] [blame] | 4398 | edi <conditions> |
| 4399 | <condition var1="tw_include_nano" var2="1"/> |
| 4400 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4401 | </conditions> |
| 4402 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 4403 | <text>{@fm_edit_file=Edit File}</text> |
| 4404 | <actions> |
| 4405 | <action function="editfile">nano "%tw_filename1%"</action> |
| 4406 | <action function="page">terminalcommand</action> |
| 4407 | </actions> |
| 4408 | </button> |
| 4409 | |
| 4410 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4411 | <placement x="%col2_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4412 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4413 | <actions> |
| 4414 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4415 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4416 | <action function="page">choosedestinationfolder</action> |
| 4417 | </actions> |
| 4418 | </button> |
| 4419 | |
| 4420 | <button style="main_button_half_width"> |
| 4421 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4422 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4423 | <actions> |
| 4424 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4425 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4426 | <action function="set">tw_fm_text2=</action> |
| 4427 | <action function="set">tw_fm_text3=</action> |
| 4428 | <action function="set">tw_include_text3=0</action> |
| 4429 | <action function="set">tw_back=filemanageroptions</action> |
| 4430 | <action function="page">filemanagerconfirm</action> |
| 4431 | </actions> |
| 4432 | </button> |
| 4433 | |
| 4434 | <button style="main_button_half_width"> |
| 4435 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4436 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4437 | <actions> |
| 4438 | <action function="set">tw_filemanager_rename=0000</action> |
| 4439 | <action function="set">tw_fm_text2=</action> |
| 4440 | <action function="set">tw_fm_text3=</action> |
| 4441 | <action function="set">tw_include_text3=0</action> |
| 4442 | <action function="set">tw_back=filemanageroptions</action> |
| 4443 | <action function="page">filemanagerchmod</action> |
| 4444 | </actions> |
| 4445 | </button> |
| 4446 | |
| 4447 | <button style="main_button_half_width"> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 4448 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4449 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 4450 | <text>{@fm_open_terminal_btn=Open Terminal Here}</text> |
| 4451 | <action function="changeterminal">%tw_filename1%</action> |
| 4452 | </button> |
| 4453 | |
| 4454 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4455 | <placement x="%col2_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4456 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4457 | <actions> |
| 4458 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4459 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4460 | <action function="set">tw_fm_text2=</action> |
| 4461 | <action function="set">tw_fm_text3=</action> |
| 4462 | <action function="set">tw_include_text3=0</action> |
| 4463 | <action function="set">tw_back=filemanageroptions</action> |
| 4464 | <action function="page">filemanagerconfirm</action> |
| 4465 | </actions> |
| 4466 | </button> |
| 4467 | |
| 4468 | <button style="main_button_half_width"> |
| 4469 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4470 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4471 | <text>{@fm_rename_file_btn=Rename File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4472 | <actions> |
| 4473 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4474 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4475 | <action function="set">tw_filemanager_command=mv</action> |
| 4476 | <action function="page">filemanagerrenamefile</action> |
| 4477 | </actions> |
| 4478 | </button> |
| 4479 | |
| 4480 | <button style="main_button_half_width"> |
| 4481 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4482 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4483 | <text>{@fm_rename_folder_btn=Rename Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4484 | <actions> |
| 4485 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4486 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4487 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 4488 | <action function="page">filemanagerrenamefolder</action> |
| 4489 | </actions> |
| 4490 | </button> |
| 4491 | |
| 4492 | <action> |
| 4493 | <touch key="home"/> |
| 4494 | <action function="page">main</action> |
| 4495 | </action> |
| 4496 | |
| 4497 | <action> |
| 4498 | <touch key="back"/> |
| 4499 | <action function="page">filemanagerlist</action> |
| 4500 | </action> |
| 4501 | </page> |
| 4502 | |
| 4503 | <page name="choosedestinationfolder"> |
| 4504 | <template name="page"/> |
| 4505 | |
| 4506 | <text style="text_l"> |
| 4507 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4508 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4509 | </text> |
| 4510 | |
| 4511 | <text style="text_m"> |
| 4512 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4513 | <text>{@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4514 | </text> |
| 4515 | |
| 4516 | <template name="sort_options"/> |
| 4517 | |
| 4518 | <fileselector> |
| 4519 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4520 | <text>%tw_file_location2%</text> |
| 4521 | <filter folders="1" files="0"/> |
| 4522 | <path name="tw_file_location2" default="/"/> |
| 4523 | <data name="tw_filename2"/> |
| 4524 | <selection name="tw_selection2"/> |
| 4525 | </fileselector> |
| 4526 | |
| 4527 | <button style="main_button_half_width_low"> |
| 4528 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4529 | <text>{@fm_sel_curr_folder=Select Current Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4530 | <actions> |
| 4531 | <action function="set">tw_fm_text2=to</action> |
| 4532 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 4533 | <action function="set">tw_include_text3=1</action> |
| 4534 | <action function="set">tw_back=filemanageroptions</action> |
| 4535 | <action function="page">filemanagerconfirm</action> |
| 4536 | </actions> |
| 4537 | </button> |
| 4538 | |
| 4539 | <action> |
| 4540 | <touch key="home"/> |
| 4541 | <action function="page">main</action> |
| 4542 | </action> |
| 4543 | |
| 4544 | <action> |
| 4545 | <touch key="back"/> |
| 4546 | <action function="page">filemanageroptions</action> |
| 4547 | </action> |
| 4548 | </page> |
| 4549 | |
| 4550 | <page name="filemanagerrenamefile"> |
| 4551 | <template name="page"/> |
| 4552 | |
| 4553 | <text style="text_l"> |
| 4554 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4555 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4556 | </text> |
| 4557 | |
| 4558 | <text style="text_m"> |
| 4559 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4560 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4561 | </text> |
| 4562 | |
| 4563 | <text style="text_m_accent"> |
| 4564 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4565 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4566 | </text> |
| 4567 | |
| 4568 | <input> |
| 4569 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4570 | <text>%tw_filemanager_rename%</text> |
| 4571 | <data name="tw_filemanager_rename"/> |
| 4572 | <restrict minlen="1" maxlen="128"/> |
| 4573 | <actions> |
| 4574 | <action function="set">tw_fm_text2=to</action> |
| 4575 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 4576 | <action function="set">tw_include_text3=1</action> |
| 4577 | <action function="set">tw_back=filemanageroptions</action> |
| 4578 | <action function="page">filemanagerconfirm</action> |
| 4579 | </actions> |
| 4580 | </input> |
| 4581 | |
| 4582 | <fill color="%accent_color%"> |
| 4583 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4584 | </fill> |
| 4585 | |
| 4586 | <button style="main_button_half_width_low"> |
| 4587 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4588 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4589 | <action function="page">filemanageroptions</action> |
| 4590 | </button> |
| 4591 | |
| 4592 | <template name="keyboardtemplate"/> |
| 4593 | |
| 4594 | <action> |
| 4595 | <touch key="home"/> |
| 4596 | <action function="page">main</action> |
| 4597 | </action> |
| 4598 | |
| 4599 | <action> |
| 4600 | <touch key="back"/> |
| 4601 | <action function="page">filemanageroptions</action> |
| 4602 | </action> |
| 4603 | </page> |
| 4604 | |
| 4605 | <page name="filemanagerrenamefolder"> |
| 4606 | <template name="page"/> |
| 4607 | |
| 4608 | <text style="text_l"> |
| 4609 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4610 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4611 | </text> |
| 4612 | |
| 4613 | <text style="text_m"> |
| 4614 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4615 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4616 | </text> |
| 4617 | |
| 4618 | <text style="text_m_accent"> |
| 4619 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4620 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4621 | </text> |
| 4622 | |
| 4623 | <input> |
| 4624 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4625 | <text>%tw_filemanager_rename%</text> |
| 4626 | <data name="tw_filemanager_rename"/> |
| 4627 | <restrict minlen="1" maxlen="128"/> |
| 4628 | <actions> |
| 4629 | <action function="set">tw_fm_text2=to</action> |
| 4630 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 4631 | <action function="set">tw_include_text3=1</action> |
| 4632 | <action function="set">tw_back=filemanageroptions</action> |
| 4633 | <action function="page">filemanagerconfirm</action> |
| 4634 | </actions> |
| 4635 | </input> |
| 4636 | |
| 4637 | <fill color="%accent_color%"> |
| 4638 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4639 | </fill> |
| 4640 | |
| 4641 | <button style="main_button_half_width_low"> |
| 4642 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4643 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4644 | <action function="page">filemanageroptions</action> |
| 4645 | </button> |
| 4646 | |
| 4647 | <template name="keyboardtemplate"/> |
| 4648 | |
| 4649 | <action> |
| 4650 | <touch key="home"/> |
| 4651 | <action function="page">main</action> |
| 4652 | </action> |
| 4653 | |
| 4654 | <action> |
| 4655 | <touch key="back"/> |
| 4656 | <action function="page">filemanageroptions</action> |
| 4657 | </action> |
| 4658 | </page> |
| 4659 | |
| 4660 | <page name="filemanagerchmod"> |
| 4661 | <template name="page"/> |
| 4662 | |
| 4663 | <text style="text_l"> |
| 4664 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4665 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4666 | </text> |
| 4667 | |
| 4668 | <text style="text_m"> |
| 4669 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4670 | <text>{@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4671 | </text> |
| 4672 | |
| 4673 | <text style="text_m_accent"> |
| 4674 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4675 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4676 | </text> |
| 4677 | |
| 4678 | <input> |
| 4679 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4680 | <text>%tw_filemanager_rename%</text> |
| 4681 | <data name="tw_filemanager_rename"/> |
| 4682 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 4683 | <actions> |
| 4684 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 4685 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 4686 | <action function="set">tw_back=filemanageroptions</action> |
| 4687 | <action function="page">filemanagerconfirm</action> |
| 4688 | </actions> |
| 4689 | </input> |
| 4690 | |
| 4691 | <fill color="%accent_color%"> |
| 4692 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4693 | </fill> |
| 4694 | |
| 4695 | <button style="main_button_half_width_low"> |
| 4696 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4697 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4698 | <action function="page">filemanageroptions</action> |
| 4699 | </button> |
| 4700 | |
| 4701 | <template name="keyboardtemplate"/> |
| 4702 | |
| 4703 | <action> |
| 4704 | <touch key="home"/> |
| 4705 | <action function="page">main</action> |
| 4706 | </action> |
| 4707 | |
| 4708 | <action> |
| 4709 | <touch key="back"/> |
| 4710 | <action function="page">filemanageroptions</action> |
| 4711 | </action> |
| 4712 | </page> |
| 4713 | |
| 4714 | <page name="filemanagerconfirm"> |
| 4715 | <template name="page"/> |
| 4716 | |
| 4717 | <text style="text_l"> |
| 4718 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4719 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4720 | </text> |
| 4721 | |
| 4722 | <text style="text_m"> |
| 4723 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4724 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4725 | </text> |
| 4726 | |
| 4727 | <text style="text_m_accent"> |
| 4728 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4729 | <text>%tw_fm_text1%</text> |
| 4730 | </text> |
| 4731 | |
| 4732 | <text style="text_m"> |
| 4733 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4734 | <text>%tw_filename1%</text> |
| 4735 | </text> |
| 4736 | |
| 4737 | <text style="text_m_accent"> |
| 4738 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4739 | <text>%tw_fm_text2%</text> |
| 4740 | </text> |
| 4741 | |
| 4742 | <text style="text_m"> |
| 4743 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 4744 | <text>%tw_fm_text3%</text> |
| 4745 | </text> |
| 4746 | |
| 4747 | <text style="text_m"> |
| 4748 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4749 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4750 | </text> |
| 4751 | |
| 4752 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4753 | <text>{@swipe_to_confirm=Swipe to Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4754 | <action function="page">filemanageraction</action> |
| 4755 | </slider> |
| 4756 | |
| 4757 | <action> |
| 4758 | <touch key="back"/> |
| 4759 | <action function="page">%tw_back%</action> |
| 4760 | </action> |
| 4761 | |
| 4762 | <action> |
| 4763 | <touch key="home"/> |
| 4764 | <action function="page">main</action> |
| 4765 | </action> |
| 4766 | </page> |
| 4767 | |
| 4768 | <page name="filemanageraction"> |
| 4769 | <template name="page"/> |
| 4770 | |
| 4771 | <text style="text_l"> |
| 4772 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4773 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4774 | </text> |
| 4775 | |
| 4776 | <text style="text_m"> |
| 4777 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4778 | <text>%tw_fm_text1%</text> |
| 4779 | </text> |
| 4780 | |
| 4781 | <template name="console"/> |
| 4782 | |
| 4783 | <template name="progress_bar"/> |
| 4784 | |
| 4785 | <action> |
| 4786 | <conditions> |
| 4787 | <condition var1="tw_operation_state" var2="1"/> |
| 4788 | <condition var1="tw_operation_status" var2="0"/> |
| 4789 | </conditions> |
| 4790 | <actions> |
| 4791 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4792 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4793 | <action function="page">action_complete</action> |
| 4794 | </actions> |
| 4795 | </action> |
| 4796 | |
| 4797 | <action> |
| 4798 | <conditions> |
| 4799 | <condition var1="tw_operation_state" var2="1"/> |
| 4800 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4801 | </conditions> |
| 4802 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4803 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4804 | <action function="page">action_complete</action> |
| 4805 | </actions> |
| 4806 | </action> |
| 4807 | |
| 4808 | <action> |
| 4809 | <condition var1="tw_include_text3" var2="0"/> |
| 4810 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 4811 | </action> |
| 4812 | |
| 4813 | <action> |
| 4814 | <condition var1="tw_include_text3" var2="1"/> |
| 4815 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 4816 | </action> |
| 4817 | </page> |
| 4818 | |
| 4819 | <page name="decrypt"> |
| 4820 | <template name="page"/> |
| 4821 | |
| 4822 | <action> |
| 4823 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 4824 | <action function="page">decrypt_pattern</action> |
| 4825 | </action> |
| 4826 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 4827 | <action> |
| 4828 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 4829 | <action function="page">decrypt_pin</action> |
| 4830 | </action> |
| 4831 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4832 | <text style="text_l"> |
| 4833 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4834 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4835 | </text> |
| 4836 | |
| 4837 | <text style="text_m"> |
| 4838 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4839 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4840 | </text> |
| 4841 | |
| 4842 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4843 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4844 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4845 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4846 | </text> |
| 4847 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4848 | <text style="text_m_accent"> |
| 4849 | <condition var1="tw_is_fbe" var2="1"/> |
| 4850 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4851 | <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text> |
| 4852 | </text> |
| 4853 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4854 | <input> |
| 4855 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4856 | <text>%tw_crypto_display%</text> |
| 4857 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4858 | <restrict minlen="1" maxlen="254"/> |
| 4859 | <action function="page">trydecrypt</action> |
| 4860 | </input> |
| 4861 | |
| 4862 | <fill color="%accent_color%"> |
| 4863 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4864 | </fill> |
| 4865 | |
| 4866 | <fill color="%text_fail_color%"> |
| 4867 | <condition var1="tw_password_fail" var2="1"/> |
| 4868 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4869 | </fill> |
| 4870 | |
| 4871 | <text style="text_m_fail"> |
| 4872 | <condition var1="tw_password_fail" var2="1"/> |
| 4873 | <placement x="%col1_x_left%" y="%row5_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4874 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4875 | </text> |
| 4876 | |
| 4877 | <button style="main_button_half_width_low"> |
| 4878 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4879 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 4880 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4881 | </button> |
| 4882 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4883 | <button style="main_button_half_width_low"> |
| 4884 | <placement x="%indent_right%" y="%row6_y%" placement="1"/> |
| 4885 | <text>{@sel_lang_btn=Select Language}</text> |
| 4886 | <action function="overlay">select_language</action> |
| 4887 | </button> |
| 4888 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4889 | <template name="keyboardtemplate"/> |
| 4890 | </page> |
| 4891 | |
| 4892 | <page name="decrypt_pattern"> |
| 4893 | <template name="page"/> |
| 4894 | |
| 4895 | <text style="text_l"> |
| 4896 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4897 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4898 | </text> |
| 4899 | |
| 4900 | <text style="text_m"> |
| 4901 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4902 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4903 | </text> |
| 4904 | |
| 4905 | <text style="text_m_accent"> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4906 | <placement x="%col2_x_left%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4907 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4908 | </text> |
| 4909 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4910 | <text style="text_m_fail"> |
| 4911 | <condition var1="tw_password_fail" var2="1"/> |
| 4912 | <placement x="%col2_x_left%" y="%row3_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4913 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4914 | </text> |
| 4915 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4916 | <patternpassword> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4917 | <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4918 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 4919 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 4920 | <data name="tw_crypto_password"/> |
| 4921 | <action function="page">trydecrypt</action> |
| 4922 | </patternpassword> |
| 4923 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4924 | <button style="main_button_half_width_low"> |
| 4925 | <placement x="%col_button_right%" y="%row1a_y%"/> |
| 4926 | <text>3x3</text> |
| 4927 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4928 | </button> |
| 4929 | |
| 4930 | <button style="main_button_half_width_low"> |
| 4931 | <placement x="%col_button_right%" y="%row4a_y%"/> |
| 4932 | <text>4x4</text> |
| 4933 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4934 | </button> |
| 4935 | |
| 4936 | <button style="main_button_half_width_low"> |
| 4937 | <placement x="%col_button_right%" y="%row7a_y%"/> |
| 4938 | <text>5x5</text> |
| 4939 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4940 | </button> |
| 4941 | |
| 4942 | <button style="main_button_half_width_low"> |
| 4943 | <placement x="%col_button_right%" y="%row10a_y%"/> |
| 4944 | <text>6x6</text> |
| 4945 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4946 | </button> |
| 4947 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4948 | <button style="main_button_half_width"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4949 | <placement x="%col1_x_right%" y="%row15a_y%"/> |
| 4950 | <text>{@sel_lang_btn=Select Language}</text> |
| 4951 | <action function="overlay">select_language</action> |
| 4952 | </button> |
| 4953 | |
| 4954 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4955 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4956 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 4957 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4958 | </button> |
| 4959 | </page> |
| 4960 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 4961 | <page name="decrypt_pin"> |
| 4962 | <template name="page"/> |
| 4963 | |
| 4964 | <text style="text_l"> |
| 4965 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4966 | <text>{@mount_hdr=Mount}</text> |
| 4967 | </text> |
| 4968 | |
| 4969 | <text style="text_m"> |
| 4970 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4971 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
| 4972 | </text> |
| 4973 | |
| 4974 | <text style="text_m_accent"> |
| 4975 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
| 4976 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4977 | <text>{@decrypt_data_enter_pass=Enter PIN:}</text> |
| 4978 | </text> |
| 4979 | |
| 4980 | <text style="text_m_accent"> |
| 4981 | <condition var1="tw_is_fbe" var2="1"/> |
| 4982 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4983 | <text>{@decrypt_data_enter_pass_fbe=Enter PIN for User [%tw_crypto_user_id%]}</text> |
| 4984 | </text> |
| 4985 | |
| 4986 | <input> |
| 4987 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4988 | <text>%tw_crypto_display%</text> |
| 4989 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4990 | <restrict minlen="1" maxlen="254"/> |
| 4991 | <action function="page">trydecrypt</action> |
| 4992 | </input> |
| 4993 | |
| 4994 | <fill color="%accent_color%"> |
| 4995 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4996 | </fill> |
| 4997 | |
| 4998 | <fill color="%text_fail_color%"> |
| 4999 | <condition var1="tw_password_fail" var2="1"/> |
| 5000 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5001 | </fill> |
| 5002 | |
| 5003 | <text style="text_m_fail"> |
| 5004 | <condition var1="tw_password_fail" var2="1"/> |
| 5005 | <placement x="%col1_x_left%" y="%row5_y%"/> |
| 5006 | <text>{@decrypt_data_failed=PIN failed, please try again!}</text> |
| 5007 | </text> |
| 5008 | |
| 5009 | <button style="main_button_half_width_low"> |
| 5010 | <placement x="%indent%" y="%row6_y%"/> |
| 5011 | <text>{@cancel_btn=Cancel}</text> |
| 5012 | <action function="page">canceldecrypt</action> |
| 5013 | </button> |
| 5014 | |
| 5015 | <button style="main_button_half_width_low"> |
| 5016 | <placement x="%indent_right%" y="%row6_y%" placement="1"/> |
| 5017 | <text>{@sel_lang_btn=Select Language}</text> |
| 5018 | <action function="overlay">select_language</action> |
| 5019 | </button> |
| 5020 | |
| 5021 | <template name="keyboardnum"/> |
| 5022 | </page> |
| 5023 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5024 | <page name="trydecrypt"> |
| 5025 | <template name="page"/> |
| 5026 | |
| 5027 | <text style="text_l"> |
| 5028 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5029 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5030 | </text> |
| 5031 | |
| 5032 | <text style="text_m"> |
| 5033 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5034 | <text>{@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5035 | </text> |
| 5036 | |
| 5037 | <template name="console"/> |
| 5038 | |
| 5039 | <template name="progress_bar"/> |
| 5040 | |
| 5041 | <action> |
| 5042 | <action function="decrypt"/> |
| 5043 | </action> |
| 5044 | |
| 5045 | <action> |
| 5046 | <conditions> |
| 5047 | <condition var1="tw_operation_state" var2="1"/> |
| 5048 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5049 | </conditions> |
| 5050 | <actions> |
| 5051 | <action function="set">tw_password_fail=1</action> |
| 5052 | <action function="page">decrypt</action> |
| 5053 | </actions> |
| 5054 | </action> |
| 5055 | |
| 5056 | <action> |
| 5057 | <conditions> |
| 5058 | <condition var1="tw_operation_state" var2="1"/> |
| 5059 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 5060 | </conditions> |
| 5061 | <actions> |
| 5062 | <action function="set">tw_page_done=1</action> |
| 5063 | <action function="page">main</action> |
| 5064 | </actions> |
| 5065 | </action> |
| 5066 | </page> |
| 5067 | |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5068 | <page name="canceldecrypt"> |
| 5069 | <template name="page"/> |
| 5070 | |
| 5071 | <text style="text_l"> |
| 5072 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5073 | <text>{@cancel_btn=Cancel}</text> |
| 5074 | </text> |
| 5075 | |
| 5076 | <text style="text_m"> |
| 5077 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 5078 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
| 5079 | </text> |
| 5080 | |
| 5081 | <template name="console"/> |
| 5082 | |
| 5083 | <template name="progress_bar"/> |
| 5084 | |
| 5085 | <action> |
| 5086 | <action function="refreshsizes"/> |
| 5087 | </action> |
| 5088 | |
| 5089 | <action> |
| 5090 | <conditions> |
| 5091 | <condition var1="tw_operation_state" var2="1"/> |
| 5092 | </conditions> |
| 5093 | <actions> |
| 5094 | <action function="set">tw_page_done=1</action> |
| 5095 | <action function="page">main</action> |
| 5096 | </actions> |
| 5097 | </action> |
| 5098 | </page> |
| 5099 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5100 | <page name="terminalcommand"> |
| 5101 | <template name="page"/> |
| 5102 | |
| 5103 | <fill color="%background_color%"> |
| 5104 | <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/> |
| 5105 | </fill> |
| 5106 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5107 | <terminal> |
| 5108 | <condition var1="tw_hide_kb" var2="0"/> |
| 5109 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/> |
| 5110 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5111 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5112 | <terminal> |
| 5113 | <condition var1="tw_hide_kb" var2="1"/> |
| 5114 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/> |
| 5115 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5116 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5117 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5118 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5119 | <object type="fill" color="#000000"> |
| 5120 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 5121 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5122 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5123 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5124 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5125 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5126 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5127 | <image resource="back" /> |
| 5128 | <condition var1="tw_busy" var2="0" /> |
| 5129 | <actions> |
| 5130 | <action function="set">tw_hide_kb=0</action> |
| 5131 | <action function="page">advanced</action> |
| 5132 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5133 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5134 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5135 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5136 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5137 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5138 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5139 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5140 | <image resource="kb_hide" /> |
| 5141 | <condition var1="tw_busy" var2="0" /> |
| 5142 | <actions> |
| 5143 | <action function="set">tw_hide_kb=1</action> |
| 5144 | <action function="page">terminalcommand</action> |
| 5145 | </actions> |
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 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5148 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5149 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5150 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5151 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5152 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5153 | <image resource="kb_show" /> |
| 5154 | <condition var1="tw_busy" var2="0" /> |
| 5155 | <actions> |
| 5156 | <action function="set">tw_hide_kb=0</action> |
| 5157 | <action function="page">terminalcommand</action> |
| 5158 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5159 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5160 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5161 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5162 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5163 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5164 | <image resource="home" /> |
| 5165 | <condition var1="tw_busy" var2="0" /> |
| 5166 | <actions> |
| 5167 | <action function="set">tw_hide_kb=0</action> |
| 5168 | <action function="key">home</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5169 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5170 | </actions> |
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 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5173 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5174 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5175 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5176 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5177 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5178 | <image resource="kb_hide" /> |
| 5179 | <condition var1="tw_busy" var2="0" /> |
| 5180 | <actions> |
| 5181 | <action function="set">tw_hide_kb=1</action> |
| 5182 | <action function="page">terminalcommand</action> |
| 5183 | </actions> |
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 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5186 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5187 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5188 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5189 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5190 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5191 | <image resource="kb_show" /> |
| 5192 | <condition var1="tw_busy" var2="0" /> |
| 5193 | <actions> |
| 5194 | <action function="set">tw_hide_kb=0</action> |
| 5195 | <action function="page">terminalcommand</action> |
| 5196 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5197 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5198 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5199 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5200 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5201 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5202 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5203 | <image resource="back" /> |
| 5204 | <condition var1="tw_busy" var2="0" /> |
| 5205 | <actions> |
| 5206 | <action function="set">tw_hide_kb=0</action> |
| 5207 | <action function="page">advanced</action> |
| 5208 | </actions> |
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 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5211 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5212 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5213 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5214 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5215 | <image resource="back" /> |
| 5216 | <condition var1="tw_busy" var2="0" /> |
| 5217 | <actions> |
| 5218 | <action function="set">tw_hide_kb=0</action> |
| 5219 | <action function="page">advanced</action> |
| 5220 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5221 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5222 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5223 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5224 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5225 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5226 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5227 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5228 | <image resource="kb_hide" /> |
| 5229 | <condition var1="tw_busy" var2="0" /> |
| 5230 | <actions> |
| 5231 | <action function="set">tw_hide_kb=1</action> |
| 5232 | <action function="page">terminalcommand</action> |
| 5233 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5234 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5235 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5236 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5237 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5238 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5239 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5240 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5241 | <image resource="kb_show" /> |
| 5242 | <condition var1="tw_busy" var2="0" /> |
| 5243 | <actions> |
| 5244 | <action function="set">tw_hide_kb=0</action> |
| 5245 | <action function="page">terminalcommand</action> |
| 5246 | </actions> |
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 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5249 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5250 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5251 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5252 | <image resource="home" /> |
| 5253 | <condition var1="tw_busy" var2="0" /> |
| 5254 | <actions> |
| 5255 | <action function="set">tw_hide_kb=0</action> |
| 5256 | <action function="key">home</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5257 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5258 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5259 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5260 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5261 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5262 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5263 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5264 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5265 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5266 | <image resource="kb_hide" /> |
| 5267 | <condition var1="tw_busy" var2="0" /> |
| 5268 | <actions> |
| 5269 | <action function="set">tw_hide_kb=1</action> |
| 5270 | <action function="page">terminalcommand</action> |
| 5271 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5272 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5273 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5274 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5275 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5276 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5277 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5278 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5279 | <image resource="kb_show" /> |
| 5280 | <condition var1="tw_busy" var2="0" /> |
| 5281 | <actions> |
| 5282 | <action function="set">tw_hide_kb=0</action> |
| 5283 | <action function="page">terminalcommand</action> |
| 5284 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5285 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5286 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5287 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5288 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5289 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5290 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5291 | <image resource="back" /> |
| 5292 | <condition var1="tw_busy" var2="0" /> |
| 5293 | <actions> |
| 5294 | <action function="set">tw_hide_kb=0</action> |
| 5295 | <action function="page">advanced</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5296 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5297 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5298 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5299 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5300 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5301 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5302 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5303 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5304 | <image resource="back" /> |
| 5305 | <condition var1="tw_busy" var2="0" /> |
| 5306 | <actions> |
| 5307 | <action function="set">tw_hide_kb=0</action> |
| 5308 | <action function="page">advanced</action> |
| 5309 | </actions> |
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 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5312 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5313 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5314 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5315 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5316 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5317 | <image resource="kb_hide" /> |
| 5318 | <condition var1="tw_busy" var2="0" /> |
| 5319 | <actions> |
| 5320 | <action function="set">tw_hide_kb=1</action> |
| 5321 | <action function="page">terminalcommand</action> |
| 5322 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5323 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5324 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5325 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5326 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5327 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5328 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5329 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5330 | <image resource="kb_show" /> |
| 5331 | <condition var1="tw_busy" var2="0" /> |
| 5332 | <actions> |
| 5333 | <action function="set">tw_hide_kb=0</action> |
| 5334 | <action function="page">terminalcommand</action> |
| 5335 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5336 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5337 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5338 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5339 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5340 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5341 | <image resource="home" /> |
| 5342 | <condition var1="tw_busy" var2="0" /> |
| 5343 | <actions> |
| 5344 | <action function="set">tw_hide_kb=0</action> |
| 5345 | <action function="key">home</action> |
| 5346 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5347 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5348 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5349 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5350 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5351 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5352 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5353 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5354 | <image resource="kb_hide" /> |
| 5355 | <condition var1="tw_busy" var2="0" /> |
| 5356 | <actions> |
| 5357 | <action function="set">tw_hide_kb=1</action> |
| 5358 | <action function="page">terminalcommand</action> |
| 5359 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5360 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5361 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5362 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5363 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5364 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5365 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5366 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5367 | <image resource="kb_show" /> |
| 5368 | <condition var1="tw_busy" var2="0" /> |
| 5369 | <actions> |
| 5370 | <action function="set">tw_hide_kb=0</action> |
| 5371 | <action function="page">terminalcommand</action> |
| 5372 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5373 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5374 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5375 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5376 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5377 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5378 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5379 | <image resource="back" /> |
| 5380 | <condition var1="tw_busy" var2="0" /> |
| 5381 | <actions> |
| 5382 | <action function="set">tw_hide_kb=0</action> |
| 5383 | <action function="page">advanced</action> |
| 5384 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5385 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5386 | |
| 5387 | <action> |
| 5388 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5389 | <actions> |
| 5390 | <action function="page">main</action> |
| 5391 | <action function="set">tw_hide_kb=0</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5392 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5393 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5394 | </action> |
| 5395 | |
| 5396 | <action> |
| 5397 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5398 | <actions> |
| 5399 | <action function="page">advanced</action> |
| 5400 | <action function="set">tw_hide_kb=0</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5401 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5402 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5403 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5404 | |
| 5405 | <object type="action"> |
| 5406 | <touch key="power+voldown" /> |
| 5407 | <action function="screenshot" /> |
| 5408 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5409 | </page> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5410 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5411 | <page name="fastboot"> |
| 5412 | <template name="page"/> |
| 5413 | |
| 5414 | <text style="text_l"> |
| 5415 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5416 | <text>{@fastboot_button=Fastboot}</text> |
| 5417 | </text> |
| 5418 | |
| 5419 | <template name="console"/> |
| 5420 | |
| 5421 | <template name="progress_bar"/> |
| 5422 | |
| 5423 | <button style="main_button_half_width"> |
| 5424 | <condition var1="tw_enable_fastboot" op="=" var2="1" /> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5425 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5426 | <text>{@enable_adb=Enable ADB}</text> |
| 5427 | <actions> |
| 5428 | <action function="enableadb"/> |
| 5429 | <action function="set">tw_enable_adb=1</action> |
| 5430 | <action function="set">tw_enable_fastboot=0</action> |
| 5431 | </actions> |
| 5432 | </button> |
| 5433 | |
| 5434 | <button style="main_button_half_width"> |
| 5435 | <condition var1="tw_enable_adb" op="=" var2="1" /> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5436 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5437 | <text>{@enable_fastboot=Enable Fastboot}</text> |
| 5438 | <actions> |
| 5439 | <action function="enablefastboot"/> |
| 5440 | <action function="set">tw_enable_fastboot=1</action> |
| 5441 | <action function="set">tw_enable_adb=0</action> |
| 5442 | </actions> |
| 5443 | </button> |
| 5444 | |
| 5445 | <button style="main_button_half_width"> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5446 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5447 | <text>{@reboot_btn=Reboot}</text> |
| 5448 | <action function="page">fastbootreboot</action> |
| 5449 | </button> |
| 5450 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5451 | |
| 5452 | <page name="sideload"> |
| 5453 | <template name="page"/> |
| 5454 | |
| 5455 | <text style="text_l"> |
| 5456 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5457 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5458 | </text> |
| 5459 | |
| 5460 | <text style="text_m"> |
| 5461 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5462 | <text>{@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5463 | </text> |
| 5464 | |
| 5465 | <checkbox> |
| 5466 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5467 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5468 | <data variable="tw_wipe_dalvik"/> |
| 5469 | </checkbox> |
| 5470 | |
| 5471 | <checkbox> |
| 5472 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5473 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5474 | <data variable="tw_wipe_cache"/> |
| 5475 | </checkbox> |
| 5476 | |
| 5477 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5478 | <text>{@swipe_to_sideload=Swipe to Start Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5479 | <actions> |
| 5480 | <action function="set">tw_back=advanced</action> |
| 5481 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5482 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5483 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5484 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5485 | <action function="set">tw_has_cancel=1</action> |
| 5486 | <action function="set">tw_show_reboot=1</action> |
| 5487 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5488 | <action function="page">action_page</action> |
| 5489 | </actions> |
| 5490 | </slider> |
| 5491 | |
| 5492 | <action> |
| 5493 | <touch key="home"/> |
| 5494 | <action function="page">main</action> |
| 5495 | </action> |
| 5496 | |
| 5497 | <action> |
| 5498 | <touch key="back"/> |
| 5499 | <action function="page">advanced</action> |
| 5500 | </action> |
| 5501 | </page> |
| 5502 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5503 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5504 | <template name="page"/> |
| 5505 | |
| 5506 | <text style="text_l"> |
| 5507 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5508 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5509 | </text> |
| 5510 | |
| 5511 | <text style="text_m"> |
| 5512 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5513 | <text>{@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5514 | </text> |
| 5515 | |
| 5516 | <text style="text_m_accent"> |
| 5517 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5518 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5519 | </text> |
| 5520 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5521 | <text style="text_m_fail"> |
| 5522 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5523 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5524 | </text> |
| 5525 | |
| 5526 | <text style="text_m_fail"> |
| 5527 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5528 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5529 | </text> |
| 5530 | |
| 5531 | <slider style="slider_centered"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5532 | <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5533 | <actions> |
| 5534 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5535 | <action function="set">tw_action=fixcontexts</action> |
| 5536 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5537 | <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] | 5538 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5539 | <action function="set">tw_show_reboot=1</action> |
| 5540 | <action function="page">action_page</action> |
| 5541 | </actions> |
| 5542 | </slider> |
| 5543 | |
| 5544 | <action> |
| 5545 | <touch key="home"/> |
| 5546 | <action function="page">main</action> |
| 5547 | </action> |
| 5548 | |
| 5549 | <action> |
| 5550 | <touch key="back"/> |
| 5551 | <action function="page">advanced</action> |
| 5552 | </action> |
| 5553 | </page> |
| 5554 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5555 | <page name="slideout"> |
| 5556 | <fill color="%background_color%"> |
| 5557 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5558 | </fill> |
| 5559 | |
| 5560 | <console> |
| 5561 | <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/> |
| 5562 | </console> |
| 5563 | |
| 5564 | <button> |
| 5565 | <fill color="%transparent%"/> |
| 5566 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5567 | <action function="overlay"/> |
| 5568 | </button> |
| 5569 | |
| 5570 | <action> |
Matt Mower | 0c347d5 | 2016-01-21 23:14:39 -0600 | [diff] [blame] | 5571 | <touch key="power"/> |
| 5572 | <action function="togglebacklight"/> |
| 5573 | </action> |
| 5574 | |
| 5575 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5576 | <touch key="power+voldown"/> |
| 5577 | <action function="screenshot"/> |
| 5578 | </action> |
| 5579 | </page> |
| 5580 | |
| 5581 | <page name="select_storage"> |
| 5582 | <fill color="%semi_transparent%"> |
| 5583 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5584 | </fill> |
| 5585 | |
| 5586 | <fill color="%background_color%"> |
| 5587 | <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/> |
| 5588 | </fill> |
| 5589 | |
| 5590 | <partitionlist style="partitionlist_storage"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5591 | <text>{@sel_storage_list=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5592 | <data name="tw_storage_path"/> |
| 5593 | <listtype name="storage"/> |
| 5594 | </partitionlist> |
| 5595 | |
| 5596 | <button style="button_third_width"> |
| 5597 | <placement x="%dialog_button_x%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5598 | <text>{@ok_btn=OK}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5599 | <actions> |
| 5600 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5601 | <action function="overlay"/> |
| 5602 | <action function="page">clear_vars</action> |
| 5603 | </actions> |
| 5604 | </button> |
| 5605 | |
| 5606 | <fill color="#000000"> |
| 5607 | <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/> |
| 5608 | </fill> |
| 5609 | |
| 5610 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5611 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5612 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5613 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5614 | <image resource="back" /> |
| 5615 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5616 | <actions> |
| 5617 | <action function="overlay"/> |
| 5618 | <action function="key">%tw_back%</action> |
| 5619 | </actions> |
| 5620 | </button> |
| 5621 | |
| 5622 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5623 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5624 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5625 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5626 | <image resource="console" /> |
| 5627 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5628 | <action function="overlay">slideout</action> |
| 5629 | </button> |
| 5630 | |
| 5631 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5632 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5633 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5634 | <image resource="home" /> |
| 5635 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5636 | <actions> |
| 5637 | <action function="overlay"/> |
| 5638 | <action function="key">home</action> |
| 5639 | </actions> |
| 5640 | </button> |
| 5641 | |
| 5642 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5643 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5644 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5645 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5646 | <image resource="console" /> |
| 5647 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5648 | <action function="overlay">slideout</action> |
| 5649 | </button> |
| 5650 | |
| 5651 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5652 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5653 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5654 | <placement x="%console_button_x%" 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="1" /> |
| 5665 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5666 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5667 | <image resource="back" /> |
| 5668 | <condition var1="tw_busy" var2="0" /> |
| 5669 | <actions> |
| 5670 | <action function="overlay"/> |
| 5671 | <action function="key">%tw_back%</action> |
| 5672 | </actions> |
| 5673 | </button> |
| 5674 | |
| 5675 | <button> |
| 5676 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5677 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5678 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5679 | <image resource="console" /> |
| 5680 | <condition var1="tw_busy" var2="0" /> |
| 5681 | <action function="overlay">slideout</action> |
| 5682 | </button> |
| 5683 | |
| 5684 | <button> |
| 5685 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5686 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5687 | <image resource="home" /> |
| 5688 | <condition var1="tw_busy" var2="0" /> |
| 5689 | <actions> |
| 5690 | <action function="overlay"/> |
| 5691 | <action function="key">home</action> |
| 5692 | </actions> |
| 5693 | </button> |
| 5694 | |
| 5695 | <button> |
| 5696 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5697 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5698 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5699 | <image resource="console" /> |
| 5700 | <condition var1="tw_busy" var2="0" /> |
| 5701 | <action function="overlay">slideout</action> |
| 5702 | </button> |
| 5703 | |
| 5704 | <button> |
| 5705 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5706 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5707 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5708 | <image resource="back" /> |
| 5709 | <condition var1="tw_busy" var2="0" /> |
| 5710 | <actions> |
| 5711 | <action function="overlay"/> |
| 5712 | <action function="key">%tw_back%</action> |
| 5713 | </actions> |
| 5714 | </button> |
| 5715 | |
| 5716 | <button> |
| 5717 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5718 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5719 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5720 | <image resource="back" /> |
| 5721 | <condition var1="tw_busy" var2="0" /> |
| 5722 | <actions> |
| 5723 | <action function="overlay"/> |
| 5724 | <action function="key">%tw_back%</action> |
| 5725 | </actions> |
| 5726 | </button> |
| 5727 | |
| 5728 | <button> |
| 5729 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5730 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5731 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5732 | <image resource="console" /> |
| 5733 | <condition var1="tw_busy" var2="0" /> |
| 5734 | <action function="overlay">slideout</action> |
| 5735 | </button> |
| 5736 | |
| 5737 | <button> |
| 5738 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5739 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5740 | <image resource="home" /> |
| 5741 | <condition var1="tw_busy" var2="0" /> |
| 5742 | <actions> |
| 5743 | <action function="overlay"/> |
| 5744 | <action function="key">home</action> |
| 5745 | </actions> |
| 5746 | </button> |
| 5747 | |
| 5748 | <button> |
| 5749 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5750 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5751 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5752 | <image resource="console" /> |
| 5753 | <condition var1="tw_busy" var2="0" /> |
| 5754 | <action function="overlay">slideout</action> |
| 5755 | </button> |
| 5756 | |
| 5757 | <button> |
| 5758 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5759 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5760 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5761 | <image resource="back" /> |
| 5762 | <condition var1="tw_busy" var2="0" /> |
| 5763 | <actions> |
| 5764 | <action function="overlay"/> |
| 5765 | <action function="key">%tw_back%</action> |
| 5766 | </actions> |
| 5767 | </button> |
| 5768 | |
| 5769 | <action> |
| 5770 | <touch key="power+voldown"/> |
| 5771 | <action function="screenshot"/> |
| 5772 | </action> |
| 5773 | </page> |
| 5774 | |
| 5775 | <page name="select_language"> |
| 5776 | <fill color="%semi_transparent%"> |
| 5777 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5778 | </fill> |
| 5779 | |
| 5780 | <fill color="%background_color%"> |
| 5781 | <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/> |
| 5782 | </fill> |
| 5783 | |
| 5784 | <listbox> |
| 5785 | <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/> |
| 5786 | <text>{@select_language=Select Language:}</text> |
| 5787 | <icon selected="radio_true" unselected="radio_false" /> |
| 5788 | <data name="tw_language" /> |
| 5789 | </listbox> |
| 5790 | |
| 5791 | <button style="button_third_width"> |
| 5792 | <placement x="%dialog_button_x%" y="%row13_y%"/> |
| 5793 | <text>{@ok_btn=OK}</text> |
| 5794 | <actions> |
| 5795 | <action function="overlay"/> |
| 5796 | <action function="setlanguage"></action> |
| 5797 | </actions> |
| 5798 | </button> |
| 5799 | |
| 5800 | <fill color="#000000"> |
| 5801 | <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/> |
| 5802 | </fill> |
| 5803 | |
| 5804 | <button> |
| 5805 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5806 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5807 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5808 | <image resource="back" /> |
| 5809 | <condition var1="tw_busy" var2="0" /> |
| 5810 | <actions> |
| 5811 | <action function="overlay"/> |
| 5812 | <action function="key">%tw_back%</action> |
| 5813 | </actions> |
| 5814 | </button> |
| 5815 | |
| 5816 | <button> |
| 5817 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5818 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5819 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5820 | <image resource="console" /> |
| 5821 | <condition var1="tw_busy" var2="0" /> |
| 5822 | <action function="overlay">slideout</action> |
| 5823 | </button> |
| 5824 | |
| 5825 | <button> |
| 5826 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5827 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5828 | <image resource="home" /> |
| 5829 | <condition var1="tw_busy" var2="0" /> |
| 5830 | <actions> |
| 5831 | <action function="overlay"/> |
| 5832 | <action function="key">home</action> |
| 5833 | </actions> |
| 5834 | </button> |
| 5835 | |
| 5836 | <button> |
| 5837 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5838 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5839 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5840 | <image resource="console" /> |
| 5841 | <condition var1="tw_busy" var2="0" /> |
| 5842 | <action function="overlay">slideout</action> |
| 5843 | </button> |
| 5844 | |
| 5845 | <button> |
| 5846 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5847 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5848 | <placement x="%console_button_x%" 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="1" /> |
| 5859 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5860 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5861 | <image resource="back" /> |
| 5862 | <condition var1="tw_busy" var2="0" /> |
| 5863 | <actions> |
| 5864 | <action function="overlay"/> |
| 5865 | <action function="key">%tw_back%</action> |
| 5866 | </actions> |
| 5867 | </button> |
| 5868 | |
| 5869 | <button> |
| 5870 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5871 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5872 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5873 | <image resource="console" /> |
| 5874 | <condition var1="tw_busy" var2="0" /> |
| 5875 | <action function="overlay">slideout</action> |
| 5876 | </button> |
| 5877 | |
| 5878 | <button> |
| 5879 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5880 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5881 | <image resource="home" /> |
| 5882 | <condition var1="tw_busy" var2="0" /> |
| 5883 | <actions> |
| 5884 | <action function="overlay"/> |
| 5885 | <action function="key">home</action> |
| 5886 | </actions> |
| 5887 | </button> |
| 5888 | |
| 5889 | <button> |
| 5890 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5891 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5892 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5893 | <image resource="console" /> |
| 5894 | <condition var1="tw_busy" var2="0" /> |
| 5895 | <action function="overlay">slideout</action> |
| 5896 | </button> |
| 5897 | |
| 5898 | <button> |
| 5899 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5900 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5901 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5902 | <image resource="back" /> |
| 5903 | <condition var1="tw_busy" var2="0" /> |
| 5904 | <actions> |
| 5905 | <action function="overlay"/> |
| 5906 | <action function="key">%tw_back%</action> |
| 5907 | </actions> |
| 5908 | </button> |
| 5909 | |
| 5910 | <button> |
| 5911 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5912 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5913 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5914 | <image resource="back" /> |
| 5915 | <condition var1="tw_busy" var2="0" /> |
| 5916 | <actions> |
| 5917 | <action function="overlay"/> |
| 5918 | <action function="key">%tw_back%</action> |
| 5919 | </actions> |
| 5920 | </button> |
| 5921 | |
| 5922 | <button> |
| 5923 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5924 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5925 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5926 | <image resource="console" /> |
| 5927 | <condition var1="tw_busy" var2="0" /> |
| 5928 | <action function="overlay">slideout</action> |
| 5929 | </button> |
| 5930 | |
| 5931 | <button> |
| 5932 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5933 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5934 | <image resource="home" /> |
| 5935 | <condition var1="tw_busy" var2="0" /> |
| 5936 | <actions> |
| 5937 | <action function="overlay"/> |
| 5938 | <action function="key">home</action> |
| 5939 | </actions> |
| 5940 | </button> |
| 5941 | |
| 5942 | <button> |
| 5943 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5944 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5945 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5946 | <image resource="console" /> |
| 5947 | <condition var1="tw_busy" var2="0" /> |
| 5948 | <action function="overlay">slideout</action> |
| 5949 | </button> |
| 5950 | |
| 5951 | <button> |
| 5952 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5953 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5954 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5955 | <image resource="back" /> |
| 5956 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5957 | <actions> |
| 5958 | <action function="overlay"/> |
| 5959 | <action function="key">%tw_back%</action> |
| 5960 | </actions> |
| 5961 | </button> |
| 5962 | |
| 5963 | <action> |
| 5964 | <touch key="power+voldown"/> |
| 5965 | <action function="screenshot"/> |
| 5966 | </action> |
| 5967 | </page> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5968 | |
| 5969 | <page name="decrypt_users"> |
| 5970 | <template name="page"/> |
| 5971 | |
| 5972 | <text style="text_l"> |
| 5973 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5974 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5975 | </text> |
| 5976 | |
| 5977 | <text style="text_m_accent"> |
| 5978 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5979 | <text>{@decrypt_users_selection=Select a user ID to decrypt}</text> |
| 5980 | </text> |
| 5981 | |
| 5982 | <listbox> |
| 5983 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/> |
| 5984 | <text>{@select_user=Select User}</text> |
| 5985 | <icon selected="radio_true" unselected="radio_false" /> |
| 5986 | <data name="tw_crypto_user_id" /> |
| 5987 | </listbox> |
| 5988 | |
| 5989 | <button style="main_button_half_width"> |
| 5990 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 5991 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5992 | <action function="set">tw_crypto_password=</action> |
| 5993 | <action function="set">tw_password_fail=0</action> |
| 5994 | <action function="page">decrypt</action> |
| 5995 | </button> |
| 5996 | |
| 5997 | <action> |
| 5998 | <touch key="home"/> |
| 5999 | <action function="page">main</action> |
| 6000 | </action> |
| 6001 | |
| 6002 | <action> |
| 6003 | <touch key="back"/> |
| 6004 | <action function="page">advanced</action> |
| 6005 | </action> |
| 6006 | </page> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 6007 | |
| 6008 | <page name="changeTwrpFolder"> |
| 6009 | <template name="page"/> |
| 6010 | |
| 6011 | <text style="text_l"> |
| 6012 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 6013 | <text>{@advanced_hdr=Advanced}</text> |
| 6014 | </text> |
| 6015 | |
| 6016 | <text style="text_m"> |
| 6017 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 6018 | <text>{@change_twrp_folder_btn=Change TWRP folder}</text> |
| 6019 | </text> |
| 6020 | |
| 6021 | <text style="text_m_accent"> |
| 6022 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 6023 | <text>{@name=Name:}</text> |
| 6024 | </text> |
| 6025 | |
| 6026 | <input> |
| 6027 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 6028 | <text>%tw_custom_folder%</text> |
| 6029 | <data name="tw_custom_folder"/> |
| 6030 | <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/> |
| 6031 | <actions> |
| 6032 | <action function="set">tw_back=changeTwrpFolder</action> |
| 6033 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 6034 | <action function="set">tw_action_param=%tw_custom_folder%</action> |
| 6035 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 6036 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 6037 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 6038 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action> |
| 6039 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 6040 | <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action> |
| 6041 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 6042 | <action function="set">tw_notexistpage=confirm_action</action> |
| 6043 | <action function="page">filecheck</action> |
| 6044 | </actions> |
| 6045 | </input> |
| 6046 | |
| 6047 | <fill color="%accent_color%"> |
| 6048 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 6049 | </fill> |
| 6050 | |
| 6051 | <fill color="%text_fail_color%"> |
| 6052 | <condition var1="tw_fileexists" var2="1"/> |
| 6053 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 6054 | </fill> |
| 6055 | |
| 6056 | <text style="text_m_fail"> |
| 6057 | <condition var1="tw_fileexists" var2="1"/> |
| 6058 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 6059 | <text>{@tw_folder_exists=A folder with that name already exists!}</text> |
| 6060 | </text> |
| 6061 | |
| 6062 | <button style="main_button_half_width_low"> |
| 6063 | <placement x="%indent%" y="%row5_y%"/> |
| 6064 | <text>{@cancel_btn=Cancel}</text> |
| 6065 | <action function="page">advanced</action> |
| 6066 | </button> |
| 6067 | |
| 6068 | <button style="main_button_half_width_low"> |
| 6069 | <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/> |
| 6070 | <placement x="%date_button_x%" y="%row5_y%"/> |
| 6071 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
| 6072 | <actions> |
| 6073 | <action function="set">tw_back=changeTwrpFolder</action> |
| 6074 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 6075 | <action function="set">tw_action_param=TWRP</action> |
| 6076 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 6077 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 6078 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 6079 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action> |
| 6080 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 6081 | <action function="set">tw_filecheck=/sdcard/TWRP</action> |
| 6082 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 6083 | <action function="set">tw_notexistpage=confirm_action</action> |
| 6084 | <action function="page">filecheck</action> |
| 6085 | </actions> |
| 6086 | </button> |
| 6087 | |
| 6088 | <template name="keyboardtemplate"/> |
| 6089 | |
| 6090 | <action> |
| 6091 | <touch key="home"/> |
| 6092 | <actions> |
| 6093 | <action function="page">main</action> |
| 6094 | </actions> |
| 6095 | </action> |
| 6096 | |
| 6097 | <action> |
| 6098 | <touch key="back"/> |
| 6099 | <actions> |
| 6100 | <action function="page">advanced</action> |
| 6101 | </actions> |
| 6102 | </action> |
| 6103 | </page> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6104 | |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame^] | 6105 | <page name="restore_keymaster"> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6106 | <template name="page"/> |
| 6107 | |
| 6108 | <text style="text_m_accent"> |
| 6109 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6110 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame^] | 6111 | <text>{@restore_with_pin_password1=PIN/Password is enabled}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6112 | </text> |
| 6113 | |
| 6114 | <text style="text_m_accent"> |
| 6115 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6116 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame^] | 6117 | <text>{@restore_with_pin_password2=PIN/Password should be disabled before restore}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6118 | </text> |
| 6119 | <text style="text_l"> |
| 6120 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6121 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame^] | 6122 | <text>{@restore_pin_password=Restore While PIN/Password Enabled?}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6123 | </text> |
| 6124 | |
| 6125 | <text style="text_m_accent"> |
| 6126 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6127 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 6128 | <text>{@restore_with_pattern1=Pattern is enabled}</text> |
| 6129 | </text> |
| 6130 | |
| 6131 | <text style="text_m_accent"> |
| 6132 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6133 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 6134 | <text>{@restore_with_pattern2=Pattern should be disabled before restore}</text> |
| 6135 | </text> |
| 6136 | |
| 6137 | <text style="text_l"> |
| 6138 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6139 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6140 | <text>{@restore_pattern=Restore While Pattern Enabled?}</text> |
| 6141 | </text> |
| 6142 | |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame^] | 6143 | <text style="text_m_accent"> |
| 6144 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6145 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 6146 | <text>{@restore_with_pin1=PIN is enabled}</text> |
| 6147 | </text> |
| 6148 | |
| 6149 | <text style="text_m_accent"> |
| 6150 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6151 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 6152 | <text>{@restore_with_pin2=PIN should be disabled before restore}</text> |
| 6153 | </text> |
| 6154 | <text style="text_l"> |
| 6155 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6156 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6157 | <text>{@restore_pin=Restore While PIN Enabled?}</text> |
| 6158 | </text> |
| 6159 | |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6160 | <slider> |
| 6161 | <text>{@continue_restore_encrypted=Continue Restore?}</text> |
| 6162 | <actions> |
| 6163 | <action function="page">restore_force</action> |
| 6164 | </actions> |
| 6165 | </slider> |
| 6166 | |
| 6167 | <action> |
| 6168 | <touch key="home"/> |
| 6169 | <action function="page">main</action> |
| 6170 | </action> |
| 6171 | |
| 6172 | <action> |
| 6173 | <touch key="back"/> |
| 6174 | <actions> |
| 6175 | <action function="page">main</action> |
| 6176 | </actions> |
| 6177 | </action> |
| 6178 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 6179 | </pages> |
| 6180 | </recovery> |