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 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 178 | <style name="slider"> |
| 179 | <placement x="%col2_x_right%" y="%row17a_y%"/> |
| 180 | <font resource="font_m" color="%text_color%"/> |
| 181 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 182 | </style> |
| 183 | |
| 184 | <style name="slider_centered"> |
| 185 | <placement x="%center_x%" y="%row17a_y%"/> |
| 186 | <font resource="font_m" color="%text_color%"/> |
| 187 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 188 | </style> |
| 189 | |
| 190 | <style name="slidervalue"> |
| 191 | <resource handle="handle"/> |
| 192 | <font resource="font_m" color="%text_color%"/> |
| 193 | <colors line="%fileselector_linecolor%"/> |
| 194 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 195 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 196 | |
| 197 | <style name="patternpassword"> |
| 198 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 199 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 200 | </styles> |
| 201 | |
| 202 | <pages> |
| 203 | <page name="main"> |
| 204 | <action> |
| 205 | <actions> |
| 206 | <action function="set">tw_clear_destination=main2</action> |
| 207 | <action function="page">clear_vars</action> |
| 208 | </actions> |
| 209 | </action> |
| 210 | </page> |
| 211 | |
| 212 | <page name="main2"> |
| 213 | <template name="page"/> |
| 214 | |
| 215 | <text style="text_l"> |
| 216 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 217 | <text>{@twrp_header=Team Win Recovery Project}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 218 | </text> |
| 219 | |
| 220 | <text style="text_m"> |
| 221 | <condition var1="tw_no_cpu_temp" var2="0"/> |
| 222 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 223 | <text>%tw_version%</text> |
| 224 | </text> |
| 225 | |
| 226 | <button style="main_button"> |
| 227 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 228 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 229 | <actions> |
| 230 | <action function="queueclear"/> |
| 231 | <action function="set">tw_selectimage=0</action> |
| 232 | <action function="page">install</action> |
| 233 | </actions> |
| 234 | </button> |
| 235 | |
| 236 | <button style="main_button"> |
| 237 | <placement x="%center_x%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 238 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 239 | <action function="page">wipe</action> |
| 240 | </button> |
| 241 | |
| 242 | <button style="main_button"> |
| 243 | <placement x="%col1_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 244 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 245 | <action function="page">backup</action> |
| 246 | </button> |
| 247 | |
| 248 | <button style="main_button"> |
| 249 | <placement x="%center_x%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 250 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 251 | <action function="page">restore</action> |
| 252 | </button> |
| 253 | |
| 254 | <button style="main_button"> |
| 255 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 256 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 257 | <action function="page">mount</action> |
| 258 | </button> |
| 259 | |
| 260 | <button style="main_button"> |
| 261 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 262 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 263 | <action function="page">settings</action> |
| 264 | </button> |
| 265 | |
| 266 | <button style="main_button"> |
| 267 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 268 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 269 | <action function="page">advanced</action> |
| 270 | </button> |
| 271 | |
| 272 | <button style="main_button"> |
| 273 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 274 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 275 | <action function="page">reboot</action> |
| 276 | </button> |
| 277 | </page> |
| 278 | |
| 279 | <page name="install"> |
| 280 | <template name="page"/> |
| 281 | |
| 282 | <text style="text_l"> |
| 283 | <condition var1="tw_selectimage" var2="0"/> |
| 284 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 285 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 286 | </text> |
| 287 | |
| 288 | <text style="text_l"> |
| 289 | <condition var1="tw_selectimage" var2="1"/> |
| 290 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 291 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 292 | </text> |
| 293 | |
| 294 | <text style="text_m"> |
| 295 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 296 | <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] | 297 | </text> |
| 298 | |
| 299 | <template name="sort_options"/> |
| 300 | |
| 301 | <fileselector> |
| 302 | <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] | 303 | <text>{@file_selector_folders_hdr=Folders}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 304 | <filter folders="1" files="0"/> |
| 305 | <path name="tw_zip_location" default="/sdcard"/> |
| 306 | <data name="select"/> |
| 307 | </fileselector> |
| 308 | |
| 309 | <fileselector> |
| 310 | <condition var1="tw_selectimage" var2="0"/> |
| 311 | <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/> |
| 312 | <text>%tw_zip_location%</text> |
mauronofrio | 6d3bf89 | 2019-10-26 19:47:55 +0200 | [diff] [blame] | 313 | <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 314 | <path name="tw_zip_location" default="/sdcard"/> |
| 315 | <data name="tw_filename"/> |
| 316 | <selection name="tw_file"/> |
| 317 | </fileselector> |
| 318 | |
| 319 | <fileselector> |
| 320 | <condition var1="tw_selectimage" var2="1"/> |
| 321 | <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/> |
| 322 | <text>%tw_zip_location%</text> |
| 323 | <filter extn=".img" folders="0" files="1"/> |
| 324 | <path name="tw_zip_location" default="/sdcard"/> |
| 325 | <data name="tw_filename"/> |
| 326 | <selection name="tw_file"/> |
| 327 | </fileselector> |
| 328 | |
| 329 | <button style="main_button_half_width_low"> |
| 330 | <condition var1="tw_selectimage" var2="0"/> |
| 331 | <placement x="%col_button_right%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 332 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 333 | <actions> |
| 334 | <action function="set">tw_selectimage=1</action> |
| 335 | <action function="page">install</action> |
| 336 | </actions> |
| 337 | </button> |
| 338 | |
| 339 | <button style="main_button_half_width_low"> |
| 340 | <condition var1="tw_selectimage" var2="1"/> |
| 341 | <placement x="%col_button_right%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 342 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 343 | <actions> |
| 344 | <action function="set">tw_selectimage=0</action> |
| 345 | <action function="page">install</action> |
| 346 | </actions> |
| 347 | </button> |
| 348 | |
| 349 | <button style="main_button_half_width_low"> |
| 350 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 351 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 352 | <actions> |
| 353 | <action function="set">tw_back=install</action> |
| 354 | <action function="overlay">select_storage</action> |
| 355 | </actions> |
| 356 | </button> |
| 357 | |
| 358 | <action> |
| 359 | <conditions> |
| 360 | <condition var1="tw_selectimage" var2="0"/> |
| 361 | <condition var1="tw_filename" op="modified"/> |
| 362 | </conditions> |
| 363 | <actions> |
| 364 | <action function="queuezip"/> |
| 365 | <action function="page">flash_confirm</action> |
| 366 | </actions> |
| 367 | </action> |
| 368 | |
| 369 | <action> |
| 370 | <conditions> |
| 371 | <condition var1="tw_selectimage" var2="1"/> |
| 372 | <condition var1="tw_filename" op="modified"/> |
| 373 | </conditions> |
| 374 | <action function="page">flashimage_confirm</action> |
| 375 | </action> |
| 376 | |
| 377 | <action> |
| 378 | <touch key="back"/> |
| 379 | <action function="page">main</action> |
| 380 | </action> |
| 381 | |
| 382 | <action> |
| 383 | <touch key="home"/> |
| 384 | <action function="page">main</action> |
| 385 | </action> |
| 386 | </page> |
| 387 | |
| 388 | <page name="flash_confirm"> |
| 389 | <template name="page"/> |
| 390 | |
| 391 | <text style="text_l"> |
| 392 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 393 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 394 | </text> |
| 395 | |
| 396 | <text style="text_m"> |
| 397 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 398 | <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] | 399 | </text> |
| 400 | |
| 401 | <text style="text_m_accent"> |
| 402 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 403 | <text>{@zip_warn1=This operation may install incompatible}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 404 | </text> |
| 405 | |
| 406 | <text style="text_m_accent"> |
| 407 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 408 | <text>{@zip_warn2=software and render your device unusable.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 409 | </text> |
| 410 | |
| 411 | <text style="text_m"> |
| 412 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 413 | <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 414 | </text> |
| 415 | |
| 416 | <text style="text_m_accent"> |
| 417 | <placement x="%col1_x_left%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 418 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 419 | </text> |
| 420 | |
| 421 | <text style="text_m"> |
| 422 | <placement x="%col1_x_left%" y="%row9_y%"/> |
| 423 | <text>%tw_zip_location%</text> |
| 424 | </text> |
| 425 | |
| 426 | <text style="text_m_accent"> |
| 427 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 428 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 429 | </text> |
| 430 | |
| 431 | <text style="text_m"> |
| 432 | <placement x="%col1_x_left%" y="%row12_y%"/> |
| 433 | <text>%tw_file%</text> |
| 434 | </text> |
| 435 | |
| 436 | <text style="text_m_accent"> |
| 437 | <placement x="%col1_x_right%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 438 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 439 | </text> |
| 440 | |
| 441 | <checkbox> |
| 442 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 443 | <text>{@zip_sig_chk=Zip signature verification}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 444 | <data variable="tw_signed_zip_verify"/> |
| 445 | </checkbox> |
| 446 | |
| 447 | <checkbox> |
| 448 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 449 | <placement x="%col1_x_right%" y="%row10a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 450 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 451 | <data variable="tw_inject_after_zip"/> |
| 452 | </checkbox> |
| 453 | |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 454 | <checkbox> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 455 | <placement x="%col1_x_right%" y="%row12_y%"/> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 456 | <text>{@install_reboot_chk=Reboot after installation is complete}</text> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 457 | <data variable="tw_install_reboot"/> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 458 | </checkbox> |
| 459 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 460 | <button style="main_button_half_width"> |
| 461 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 462 | <text>{@zip_add_btn=Add more Zips}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 463 | <action function="page">install</action> |
| 464 | </button> |
| 465 | |
| 466 | <button style="main_button_half_width"> |
| 467 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 468 | <text>{@zip_clear_btn=Clear Zip Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 469 | <actions> |
| 470 | <action function="queueclear"/> |
| 471 | <action function="page">install</action> |
| 472 | </actions> |
| 473 | </button> |
| 474 | |
| 475 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 476 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 477 | <action function="flash">flash_zip</action> |
| 478 | </slider> |
| 479 | |
| 480 | <action> |
| 481 | <touch key="back"/> |
| 482 | <actions> |
| 483 | <action function="cancelzip"/> |
| 484 | <action function="page">install</action> |
| 485 | </actions> |
| 486 | </action> |
| 487 | |
| 488 | <action> |
| 489 | <touch key="home"/> |
| 490 | <action function="page">main</action> |
| 491 | </action> |
| 492 | </page> |
| 493 | |
| 494 | <page name="flash_zip"> |
| 495 | <template name="page"/> |
| 496 | |
| 497 | <text style="text_l"> |
| 498 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 499 | <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] | 500 | </text> |
| 501 | |
| 502 | <text style="text_m"> |
| 503 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 504 | <text>%tw_file%</text> |
| 505 | </text> |
| 506 | |
| 507 | <template name="console"/> |
| 508 | |
| 509 | <template name="progress_bar"/> |
| 510 | |
| 511 | <action> |
| 512 | <condition var1="tw_operation_state" var2="1"/> |
| 513 | <action function="page">flash_done</action> |
| 514 | </action> |
| 515 | </page> |
| 516 | |
| 517 | <page name="flash_done"> |
| 518 | <template name="page"/> |
| 519 | |
| 520 | <text style="text_l"> |
| 521 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 522 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 523 | </text> |
| 524 | |
| 525 | <text style="text_m_fail"> |
| 526 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 527 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 528 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 529 | </text> |
| 530 | |
| 531 | <text style="text_m"> |
| 532 | <condition var1="tw_operation_status" var2="0"/> |
| 533 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 534 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 535 | </text> |
| 536 | |
| 537 | <template name="console"/> |
| 538 | |
| 539 | <button style="main_button_half_width"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 540 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 541 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 542 | <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 543 | <actions> |
| 544 | <action function="set">tw_back=flash_done</action> |
| 545 | <action function="set">tw_action=wipe</action> |
| 546 | <action function="set">tw_action_param=/cache</action> |
| 547 | <action function="set">tw_has_action2=1</action> |
| 548 | <action function="set">tw_action2=wipe</action> |
| 549 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 550 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 551 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 552 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
| 553 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 554 | <action function="page">confirm_action</action> |
| 555 | </actions> |
| 556 | </button> |
| 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="1"/> |
| 560 | <placement x="%indent%" y="%row21a_y%"/> |
| 561 | <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> |
| 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=dalvik</action> |
| 566 | <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> |
| 567 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> |
| 568 | <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> |
| 569 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
| 570 | <action function="page">confirm_action</action> |
| 571 | </actions> |
| 572 | </button> |
| 573 | |
| 574 | <button style="main_button_half_width"> |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 575 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 576 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 577 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 578 | <actions> |
| 579 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 580 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 581 | </actions> |
| 582 | </button> |
| 583 | |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 584 | <button style="main_button_half_width"> |
| 585 | <condition var1="tw_ab_device" var2="1"/> |
| 586 | <placement x="%center_x%" y="%row15a_y%"/> |
| 587 | <text>{@reboot_btn=Reboot}</text> |
| 588 | <actions> |
| 589 | <action function="set">tw_back=main2</action> |
| 590 | <action function="page">reboot</action> |
| 591 | </actions> |
| 592 | </button> |
| 593 | |
| 594 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 595 | <action> |
| 596 | <touch key="back"/> |
| 597 | <actions> |
| 598 | <action function="set">tw_clear_destination=install</action> |
| 599 | <action function="page">clear_vars</action> |
| 600 | </actions> |
| 601 | </action> |
| 602 | |
| 603 | <action> |
| 604 | <touch key="home"/> |
| 605 | <actions> |
| 606 | <action function="set">tw_clear_destination=main2</action> |
| 607 | <action function="page">clear_vars</action> |
| 608 | </actions> |
| 609 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 610 | |
| 611 | <action> |
| 612 | <conditions> |
| 613 | <condition var1="tw_install_reboot" var2="1"/> |
| 614 | <condition var1="tw_operation_status" var2="0"/> |
| 615 | <condition var1="tw_reboot_system" var2="1"/> |
| 616 | </conditions> |
| 617 | <actions> |
| 618 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 619 | <action function="page">flash_sleep_and_reboot</action> |
| 620 | </actions> |
| 621 | </action> |
| 622 | </page> |
| 623 | |
| 624 | <page name="flash_sleep_and_reboot"> |
| 625 | <template name="page"/> |
| 626 | |
| 627 | <text style="text_l"> |
| 628 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 629 | <text>{@install_zip_hdr=Install Zip}</text> |
| 630 | </text> |
| 631 | |
| 632 | <text style="text_m"> |
| 633 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 634 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 635 | </text> |
| 636 | |
| 637 | <template name="console"/> |
| 638 | |
| 639 | <template name="progress_bar"/> |
| 640 | |
| 641 | <button style="main_button_half_width"> |
| 642 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 643 | <placement x="%center_x%" y="%row15a_y%"/> |
| 644 | <text>{@cancel_btn=Cancel}</text> |
| 645 | <actions> |
| 646 | <action function="set">tw_install_reboot=0</action> |
| 647 | <action function="page">flash_done</action> |
| 648 | </actions> |
| 649 | </button> |
| 650 | |
| 651 | <action> |
| 652 | <conditions> |
| 653 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 654 | <condition var1="tw_install_reboot" var2="1"/> |
| 655 | </conditions> |
| 656 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 657 | </action> |
| 658 | |
| 659 | <action> |
| 660 | <conditions> |
| 661 | <condition var1="tw_sleep" var2="0"/> |
| 662 | <condition var1="tw_install_reboot" var2="1"/> |
| 663 | </conditions> |
| 664 | <actions> |
| 665 | <action function="sleep">50000</action> |
| 666 | <action function="set">tw_back=main2</action> |
| 667 | <action function="page">reboot_system_routine</action> |
| 668 | </actions> |
| 669 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 670 | </page> |
| 671 | |
| 672 | <page name="flashimage_confirm"> |
| 673 | <template name="page"/> |
| 674 | |
| 675 | <text style="text_l"> |
| 676 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 677 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 678 | </text> |
| 679 | |
| 680 | <text style="text_m"> |
| 681 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 682 | <text>{@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 683 | </text> |
| 684 | |
| 685 | <text style="text_m_accent"> |
| 686 | <placement x="%col1_x_left%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 687 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 688 | </text> |
| 689 | |
| 690 | <text style="text_m"> |
| 691 | <placement x="%col1_x_left%" y="%row9_y%"/> |
| 692 | <text>%tw_zip_location%</text> |
| 693 | </text> |
| 694 | |
| 695 | <text style="text_m_accent"> |
| 696 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 697 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 698 | </text> |
| 699 | |
| 700 | <text style="text_m"> |
| 701 | <placement x="%col1_x_left%" y="%row12_y%"/> |
| 702 | <text>%tw_file%</text> |
| 703 | </text> |
| 704 | |
| 705 | <partitionlist> |
| 706 | <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/> |
| 707 | <icon selected="radio_true" unselected="radio_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 708 | <text>{@flash_image_select=Select Partition to Flash Image:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 709 | <data name="tw_flash_partition"/> |
| 710 | <listtype name="flashimg"/> |
| 711 | </partitionlist> |
| 712 | |
| 713 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 714 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 715 | <actions> |
| 716 | <action function="set">tw_back=flashimage_confirm</action> |
| 717 | <action function="set">tw_action=flashimage</action> |
| 718 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 719 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 720 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 721 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 722 | <action function="page">action_page</action> |
| 723 | </actions> |
| 724 | <action function="flashimage"/> |
| 725 | </slider> |
| 726 | |
| 727 | <action> |
| 728 | <touch key="back"/> |
| 729 | <actions> |
| 730 | <action function="set">tw_clear_destination=install</action> |
| 731 | <action function="page">clear_vars</action> |
| 732 | </actions> |
| 733 | </action> |
| 734 | |
| 735 | <action> |
| 736 | <touch key="home"/> |
| 737 | <actions> |
| 738 | <action function="set">tw_clear_destination=main2</action> |
| 739 | <action function="page">clear_vars</action> |
| 740 | </actions> |
| 741 | </action> |
| 742 | </page> |
| 743 | |
| 744 | <page name="clear_vars"> |
| 745 | <action> |
| 746 | <action function="set">tw_operation_state=0</action> |
| 747 | <action function="set">tw_text1=</action> |
| 748 | <action function="set">tw_text2=</action> |
| 749 | <action function="set">tw_text3=</action> |
| 750 | <action function="set">tw_text4=</action> |
| 751 | <action function="set">tw_action_text1=</action> |
| 752 | <action function="set">tw_action_text2=</action> |
| 753 | <action function="set">tw_action_param=</action> |
| 754 | <action function="set">tw_has_action2=0</action> |
| 755 | <action function="set">tw_action2=</action> |
| 756 | <action function="set">tw_action2_param=</action> |
| 757 | <action function="set">tw_has_cancel=0</action> |
| 758 | <action function="set">tw_cancel_action=</action> |
| 759 | <action function="set">tw_cancel_param=</action> |
| 760 | <action function="set">tw_show_exclamation=0</action> |
| 761 | <action function="set">tw_show_reboot=0</action> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 762 | <action function="set">tw_crypto_user_id=</action> |
| 763 | <action function="set">tw_multiuser_warning_accepted=</action> |
| 764 | <action function="set">tw_multiuser_warning_destination=</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 765 | <action function="page">%tw_clear_destination%</action> |
| 766 | </action> |
| 767 | </page> |
| 768 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 769 | <page name="reboot_system_routine"> |
| 770 | <action> |
| 771 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 772 | <action function="set">tw_action_param=system</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 773 | <action function="set">tw_has_action2=0</action> |
| 774 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 775 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 776 | <action function="set">tw_text3=</action> |
| 777 | <action function="set">tw_text4=</action> |
| 778 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 779 | <action function="set">tw_action_text2=</action> |
| 780 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 781 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 782 | <action function="page">rebootcheck</action> |
| 783 | </action> |
| 784 | </page> |
| 785 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 786 | <page name="confirm_action"> |
| 787 | <template name="page"/> |
| 788 | |
| 789 | <text style="text_l"> |
| 790 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 791 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 792 | </text> |
| 793 | |
| 794 | <text style="text_m"> |
| 795 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 796 | <text/> |
| 797 | </text> |
| 798 | |
| 799 | <text style="text_m_accent"> |
| 800 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 801 | <text>%tw_text1%</text> |
| 802 | </text> |
| 803 | |
| 804 | <text style="text_m_accent"> |
| 805 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 806 | <text>%tw_text2%</text> |
| 807 | </text> |
| 808 | |
| 809 | <text style="text_m"> |
| 810 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 811 | <text>%tw_text3%</text> |
| 812 | </text> |
| 813 | |
| 814 | <text style="text_m"> |
| 815 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 816 | <text>%tw_text4%</text> |
| 817 | </text> |
| 818 | |
| 819 | <text style="text_m"> |
| 820 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 821 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 822 | </text> |
| 823 | |
| 824 | <slider style="slider_centered"> |
| 825 | <text>%tw_slider_text%</text> |
| 826 | <action function="page">action_page</action> |
| 827 | </slider> |
| 828 | |
| 829 | <action> |
| 830 | <touch key="back"/> |
| 831 | <actions> |
| 832 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 833 | <action function="page">clear_vars</action> |
| 834 | </actions> |
| 835 | </action> |
| 836 | |
| 837 | <action> |
| 838 | <touch key="home"/> |
| 839 | <action function="page">main</action> |
| 840 | </action> |
| 841 | </page> |
| 842 | |
| 843 | <page name="action_page"> |
| 844 | <template name="page"/> |
| 845 | |
| 846 | <text style="text_l"> |
| 847 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 848 | <text>%tw_action_text1%</text> |
| 849 | </text> |
| 850 | |
| 851 | <text style="text_m"> |
| 852 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 853 | <text>%tw_action_text2%</text> |
| 854 | </text> |
| 855 | |
| 856 | <template name="console"/> |
| 857 | |
| 858 | <template name="progress_bar"/> |
| 859 | |
| 860 | <button style="main_button_half_width"> |
| 861 | <condition var1="tw_has_cancel" var2="1"/> |
| 862 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 863 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 864 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 865 | </button> |
| 866 | |
| 867 | <action> |
| 868 | <condition var1="tw_operation_state" var2="1"/> |
| 869 | <actions> |
| 870 | <action function="page">action_complete</action> |
| 871 | </actions> |
| 872 | </action> |
| 873 | |
| 874 | <action> |
| 875 | <condition var1="tw_has_action2" var2="0"/> |
| 876 | <actions> |
| 877 | <action function="%tw_action%">%tw_action_param%</action> |
| 878 | </actions> |
| 879 | </action> |
| 880 | |
| 881 | <action> |
| 882 | <condition var1="tw_has_action2" var2="1"/> |
| 883 | <actions> |
| 884 | <action function="%tw_action%">%tw_action_param%</action> |
| 885 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 886 | </actions> |
| 887 | </action> |
| 888 | </page> |
| 889 | |
| 890 | <page name="singleaction_page"> |
| 891 | <template name="page"/> |
| 892 | |
| 893 | <text style="text_l"> |
| 894 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 895 | <text>%tw_action_text1%</text> |
| 896 | </text> |
| 897 | |
| 898 | <text style="text_m"> |
| 899 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 900 | <text>%tw_action_text2%</text> |
| 901 | </text> |
| 902 | |
| 903 | <template name="console"/> |
| 904 | |
| 905 | <template name="progress_bar"/> |
| 906 | |
| 907 | <action> |
| 908 | <condition var1="tw_operation_state" var2="1"/> |
| 909 | <actions> |
| 910 | <action function="set">tw_page_done=1</action> |
| 911 | </actions> |
| 912 | </action> |
| 913 | |
| 914 | <action> |
| 915 | <condition var1="tw_has_action2" var2="0"/> |
| 916 | <actions> |
| 917 | <action function="%tw_action%">%tw_action_param%</action> |
| 918 | </actions> |
| 919 | </action> |
| 920 | |
| 921 | <action> |
| 922 | <condition var1="tw_has_action2" var2="1"/> |
| 923 | <actions> |
| 924 | <action function="%tw_action%">%tw_action_param%</action> |
| 925 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 926 | </actions> |
| 927 | </action> |
| 928 | </page> |
| 929 | |
| 930 | <page name="action_complete"> |
| 931 | <template name="page"/> |
| 932 | |
| 933 | <text style="text_l"> |
| 934 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 935 | <text>%tw_complete_text1%</text> |
| 936 | </text> |
| 937 | |
| 938 | <text style="text_m_fail"> |
| 939 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 940 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 941 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 942 | </text> |
| 943 | |
| 944 | <text style="text_m"> |
| 945 | <condition var1="tw_operation_status" var2="0"/> |
| 946 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 947 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 948 | </text> |
| 949 | |
| 950 | <template name="console"/> |
| 951 | |
| 952 | <button style="main_button_half_width"> |
| 953 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 954 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 955 | <actions> |
| 956 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 957 | <action function="page">clear_vars</action> |
| 958 | </actions> |
| 959 | </button> |
| 960 | |
| 961 | <button style="main_button_half_width"> |
| 962 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 963 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 964 | <actions> |
| 965 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 966 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 967 | </actions> |
| 968 | </button> |
| 969 | |
| 970 | <action> |
| 971 | <touch key="home"/> |
| 972 | <actions> |
| 973 | <action function="set">tw_clear_destination=main2</action> |
| 974 | <action function="page">clear_vars</action> |
| 975 | </actions> |
| 976 | </action> |
| 977 | |
| 978 | <action> |
| 979 | <touch key="back"/> |
| 980 | <actions> |
| 981 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 982 | <action function="page">clear_vars</action> |
| 983 | </actions> |
| 984 | </action> |
| 985 | </page> |
| 986 | |
| 987 | <page name="filecheck"> |
| 988 | <action> |
| 989 | <action function="fileexists">%tw_filecheck%</action> |
| 990 | </action> |
| 991 | |
| 992 | <action> |
| 993 | <conditions> |
| 994 | <condition var1="tw_operation_state" var2="1"/> |
| 995 | <condition var1="tw_operation_status" var2="0"/> |
| 996 | </conditions> |
| 997 | <actions> |
| 998 | <action function="set">tw_fileexists=1</action> |
| 999 | <action function="page">%tw_existpage%</action> |
| 1000 | </actions> |
| 1001 | </action> |
| 1002 | |
| 1003 | <action> |
| 1004 | <conditions> |
| 1005 | <condition var1="tw_operation_state" var2="1"/> |
| 1006 | <condition var1="tw_operation_status" var2="1"/> |
| 1007 | </conditions> |
| 1008 | <actions> |
| 1009 | <action function="set">tw_fileexists=0</action> |
| 1010 | <action function="page">%tw_notexistpage%</action> |
| 1011 | </actions> |
| 1012 | </action> |
| 1013 | </page> |
| 1014 | |
| 1015 | <page name="rebootcheck"> |
| 1016 | <action> |
| 1017 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 1018 | <action function="reboot">%tw_reboot_param%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1019 | </action> |
| 1020 | |
| 1021 | <action> |
| 1022 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1023 | <action function="page">confirm_action</action> |
| 1024 | </action> |
| 1025 | </page> |
| 1026 | |
| 1027 | <page name="wipe"> |
| 1028 | <template name="page"/> |
| 1029 | |
| 1030 | <text style="text_l"> |
| 1031 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1032 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1033 | </text> |
| 1034 | |
| 1035 | <text style="text_m"> |
| 1036 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1037 | <text>{@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1038 | </text> |
| 1039 | |
| 1040 | <text style="text_m_accent"> |
| 1041 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1042 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1043 | </text> |
| 1044 | |
| 1045 | <text style="text_m_accent"> |
bigbiff | adc599e | 2020-05-28 19:36:30 +0000 | [diff] [blame] | 1046 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1047 | <text>{@factory_reset5=(not including users/lockscreen)}</text> |
| 1048 | </text> |
| 1049 | |
| 1050 | <text style="text_m_accent"> |
| 1051 | <condition var1="tw_has_data_media" var2="1"/> |
| 1052 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1053 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1054 | </text> |
| 1055 | |
| 1056 | <text style="text_m_accent"> |
| 1057 | <conditions> |
| 1058 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1059 | <condition var1="fileexists" var2="/and-sec"/> |
| 1060 | </conditions> |
| 1061 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1062 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1063 | </text> |
| 1064 | |
| 1065 | <text style="text_m_accent"> |
| 1066 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1067 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1068 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1069 | </text> |
| 1070 | |
| 1071 | <text style="text_m"> |
| 1072 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1073 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1074 | </text> |
| 1075 | |
| 1076 | <text style="text_m"> |
| 1077 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1078 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1079 | </text> |
| 1080 | |
| 1081 | <text style="text_m"> |
| 1082 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1083 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1084 | </text> |
| 1085 | |
| 1086 | <button style="main_button_half_width"> |
| 1087 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1088 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1089 | <actions> |
| 1090 | <action function="set">partitionlisterror=0</action> |
| 1091 | <action function="page">advancedwipe</action> |
| 1092 | </actions> |
| 1093 | </button> |
| 1094 | |
| 1095 | <button style="main_button_half_width"> |
| 1096 | <condition var1="tw_has_data_media" var2="1"/> |
| 1097 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1098 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1099 | <action function="page">formatdata</action> |
| 1100 | </button> |
| 1101 | |
| 1102 | <button style="main_button_half_width"> |
| 1103 | <conditions> |
| 1104 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1105 | <condition var1="tw_has_data_media" var2="0"/> |
| 1106 | </conditions> |
| 1107 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1108 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1109 | <actions> |
| 1110 | <action function="set">tw_back=wipe</action> |
| 1111 | <action function="set">tw_action=wipe</action> |
| 1112 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1113 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1114 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1115 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1116 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1117 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1118 | <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] | 1119 | <action function="page">confirm_action</action> |
| 1120 | </actions> |
| 1121 | </button> |
| 1122 | |
| 1123 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1124 | <text>{@swipe_factory_reset=Swipe to Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1125 | <actions> |
| 1126 | <action function="set">tw_back=wipe</action> |
| 1127 | <action function="set">tw_action=wipe</action> |
| 1128 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1129 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1130 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1131 | <action function="page">action_page</action> |
| 1132 | </actions> |
| 1133 | </slider> |
| 1134 | |
| 1135 | <action> |
| 1136 | <touch key="back"/> |
| 1137 | <action function="page">main</action> |
| 1138 | </action> |
| 1139 | |
| 1140 | <action> |
| 1141 | <touch key="home"/> |
| 1142 | <action function="page">main</action> |
| 1143 | </action> |
| 1144 | </page> |
| 1145 | |
| 1146 | <page name="advancedwipe"> |
| 1147 | <template name="page"/> |
| 1148 | |
| 1149 | <action> |
| 1150 | <action function="set">tw_wipe_list=</action> |
| 1151 | </action> |
| 1152 | |
| 1153 | <text style="text_l"> |
| 1154 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1155 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1156 | </text> |
| 1157 | |
| 1158 | <text style="text_m"> |
| 1159 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1160 | <text>{@advanced_wipe_hdr=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1161 | </text> |
| 1162 | |
| 1163 | <partitionlist> |
| 1164 | <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] | 1165 | <text>{@sel_part_wipe=Select Partitions to Wipe:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1166 | <data name="tw_wipe_list"/> |
| 1167 | <listtype name="wipe"/> |
| 1168 | </partitionlist> |
| 1169 | |
| 1170 | <text style="text_m_fail"> |
| 1171 | <condition var1="partitionlisterror" var2="1"/> |
| 1172 | <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1173 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1174 | </text> |
| 1175 | |
| 1176 | <button style="main_button_m"> |
| 1177 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1178 | <text>{@repair_change_btn=Repair or Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1179 | <actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1180 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1181 | <action function="page">checkpartitionlist</action> |
| 1182 | </actions> |
| 1183 | </button> |
| 1184 | |
| 1185 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1186 | <text>{@swipe_wipe=Swipe to Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1187 | <actions> |
| 1188 | <action function="set">tw_back=advancedwipe</action> |
| 1189 | <action function="set">tw_action=wipe</action> |
| 1190 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1191 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1192 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1193 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1194 | <action function="page">action_page</action> |
| 1195 | </actions> |
| 1196 | </slider> |
| 1197 | |
| 1198 | <action> |
| 1199 | <touch key="home"/> |
| 1200 | <action function="page">main</action> |
| 1201 | </action> |
| 1202 | |
| 1203 | <action> |
| 1204 | <touch key="back"/> |
| 1205 | <action function="page">wipe</action> |
| 1206 | </action> |
| 1207 | </page> |
| 1208 | |
| 1209 | <page name="formatdata"> |
| 1210 | <template name="page"/> |
| 1211 | |
| 1212 | <text style="text_l"> |
| 1213 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1214 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1215 | </text> |
| 1216 | |
| 1217 | <text style="text_m"> |
| 1218 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1219 | <text>{@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1220 | </text> |
| 1221 | |
| 1222 | <text style="text_m_fail"> |
| 1223 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1224 | <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] | 1225 | </text> |
| 1226 | |
| 1227 | <text style="text_m_fail"> |
| 1228 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1229 | <text>{@format_data_lcp2=removes encryption on internal storage.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1230 | </text> |
| 1231 | |
Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 1232 | <text style="text_m_fail"> |
| 1233 | <condition var1="tw_has_adopted_storage" var2="1"/> |
| 1234 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 1235 | <text>{@format_data_adopted=Including Adopted Storage}</text> |
| 1236 | </text> |
| 1237 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1238 | <text style="text_m"> |
| 1239 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1240 | <text>{@format_data_undo=This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1241 | </text> |
| 1242 | |
| 1243 | <text style="text_m"> |
| 1244 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1245 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1246 | </text> |
| 1247 | |
| 1248 | <input> |
| 1249 | <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/> |
| 1250 | <text>%tw_confirm_formatdata%</text> |
| 1251 | <data name="tw_confirm_formatdata"/> |
| 1252 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1253 | <action function="page">formatdata_confirm</action> |
| 1254 | </input> |
| 1255 | |
| 1256 | <fill color="%accent_color%"> |
| 1257 | <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/> |
| 1258 | </fill> |
| 1259 | |
| 1260 | <template name="keyboardtemplate"/> |
| 1261 | |
| 1262 | <action> |
| 1263 | <touch key="home"/> |
| 1264 | <action function="page">main</action> |
| 1265 | </action> |
| 1266 | |
| 1267 | <action> |
| 1268 | <touch key="back"/> |
| 1269 | <action function="page">wipe</action> |
| 1270 | </action> |
| 1271 | </page> |
| 1272 | |
| 1273 | <page name="formatdata_confirm"> |
| 1274 | <action> |
| 1275 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1276 | <actions> |
| 1277 | <action function="set">tw_back=formatdata</action> |
| 1278 | <action function="set">tw_action=wipe</action> |
| 1279 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1280 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1281 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1282 | <action function="page">action_page</action> |
| 1283 | </actions> |
| 1284 | </action> |
| 1285 | |
| 1286 | <action> |
| 1287 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1288 | <action function="page">formatdata</action> |
| 1289 | </action> |
| 1290 | </page> |
| 1291 | |
| 1292 | <page name="checkpartitionlist"> |
| 1293 | <action> |
| 1294 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1295 | <actions> |
| 1296 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1297 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1298 | <action function="page">partitionoptions</action> |
| 1299 | </actions> |
| 1300 | </action> |
| 1301 | |
| 1302 | <action> |
| 1303 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1304 | <actions> |
| 1305 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1306 | <action function="page">advancedwipe</action> |
| 1307 | </actions> |
| 1308 | </action> |
| 1309 | </page> |
| 1310 | |
| 1311 | <page name="partitionoptions"> |
| 1312 | <template name="page"/> |
| 1313 | |
| 1314 | <text style="text_l"> |
| 1315 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1316 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1317 | </text> |
| 1318 | |
| 1319 | <text style="text_m"> |
| 1320 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1321 | <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1322 | </text> |
| 1323 | |
| 1324 | <text style="text_m_accent"> |
| 1325 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1326 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1327 | </text> |
| 1328 | |
| 1329 | <text style="text_m_accent"> |
| 1330 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1331 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1332 | </text> |
| 1333 | |
| 1334 | <text style="text_m"> |
| 1335 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1336 | <placement x="%col2_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1337 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1338 | </text> |
| 1339 | |
| 1340 | <text style="text_m"> |
| 1341 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1342 | <placement x="%col2_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1343 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1344 | </text> |
| 1345 | |
| 1346 | <text style="text_m"> |
| 1347 | <condition var1="tw_partition_removable" var2="1"/> |
| 1348 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1349 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1350 | </text> |
| 1351 | |
| 1352 | <text style="text_m"> |
| 1353 | <condition var1="tw_partition_removable" var2="0"/> |
| 1354 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1355 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1356 | </text> |
| 1357 | |
| 1358 | <text style="text_m"> |
| 1359 | <placement x="%col2_x_left%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1360 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1361 | </text> |
| 1362 | |
| 1363 | <text style="text_m"> |
| 1364 | <placement x="%col1_x_right%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1365 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1366 | </text> |
| 1367 | |
| 1368 | <text style="text_m"> |
| 1369 | <placement x="%col2_x_left%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1370 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1371 | </text> |
| 1372 | |
| 1373 | <text style="text_m"> |
| 1374 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1375 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1376 | </text> |
| 1377 | |
| 1378 | <button style="main_button_half_width"> |
| 1379 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1380 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1381 | <text>{@resize_btn=Resize File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1382 | <actions> |
| 1383 | <action function="set">tw_back=partitionoptions</action> |
| 1384 | <action function="set">tw_action=resize</action> |
| 1385 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1386 | <action function="set">tw_has_action2=1</action> |
| 1387 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1388 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1389 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1390 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1391 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1392 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1393 | <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1394 | <action function="page">confirm_action</action> |
| 1395 | </actions> |
| 1396 | </button> |
| 1397 | |
| 1398 | <button style="main_button_half_width"> |
| 1399 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1400 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1401 | <text>{@repair_btn=Repair File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1402 | <actions> |
| 1403 | <action function="set">tw_back=partitionoptions</action> |
| 1404 | <action function="set">tw_action=repair</action> |
| 1405 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1406 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1407 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1408 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1409 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1410 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1411 | <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1412 | <action function="page">confirm_action</action> |
| 1413 | </actions> |
| 1414 | </button> |
| 1415 | |
| 1416 | <button style="main_button_half_width"> |
| 1417 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1418 | <text>{@change_fs_btn=Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1419 | <action function="page">selectfilesystem</action> |
| 1420 | </button> |
| 1421 | |
| 1422 | <action> |
| 1423 | <touch key="home"/> |
| 1424 | <action function="page">main</action> |
| 1425 | </action> |
| 1426 | |
| 1427 | <action> |
| 1428 | <touch key="back"/> |
| 1429 | <action function="page">advancedwipe</action> |
| 1430 | </action> |
| 1431 | </page> |
| 1432 | |
| 1433 | <page name="refreshfilesystem"> |
| 1434 | <action> |
| 1435 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1436 | <actions> |
| 1437 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1438 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1439 | <action function="page">selectfilesystem</action> |
| 1440 | </actions> |
| 1441 | </action> |
| 1442 | |
| 1443 | <action> |
| 1444 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1445 | <actions> |
| 1446 | <action function="set">partitionlisterror=1</action> |
| 1447 | <action function="set">tw_wipe_list=</action> |
| 1448 | <action function="page">advancedwipe</action> |
| 1449 | </actions> |
| 1450 | </action> |
| 1451 | </page> |
| 1452 | |
| 1453 | <page name="selectfilesystem"> |
| 1454 | <template name="page"/> |
| 1455 | |
| 1456 | <text style="text_l"> |
| 1457 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1458 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1459 | </text> |
| 1460 | |
| 1461 | <text style="text_m"> |
| 1462 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1463 | <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1464 | </text> |
| 1465 | |
| 1466 | <text style="text_m_accent"> |
| 1467 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1468 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1469 | </text> |
| 1470 | |
| 1471 | <text style="text_m_accent"> |
| 1472 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1473 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1474 | </text> |
| 1475 | |
| 1476 | <text style="text_m_fail"> |
| 1477 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1478 | <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1479 | </text> |
| 1480 | |
| 1481 | <text style="text_m_fail"> |
| 1482 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1483 | <text>{@change_fs_warn2=file systems. Proceed with caution!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1484 | </text> |
| 1485 | |
| 1486 | <button style="main_button_half_width"> |
| 1487 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1488 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1489 | <text>EXT2</text> |
| 1490 | <actions> |
| 1491 | <action function="set">tw_back=refreshfilesystem</action> |
| 1492 | <action function="set">tw_action=changefilesystem</action> |
| 1493 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1494 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1495 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1496 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1497 | <action function="set">tw_text2=EXT2</action> |
| 1498 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1499 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1500 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1501 | <action function="page">confirm_action</action> |
| 1502 | </actions> |
| 1503 | </button> |
| 1504 | |
| 1505 | <button style="main_button_half_width"> |
| 1506 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1507 | <placement x="%col2_x_left%" y="%row11_y%"/> |
| 1508 | <text>EXT3</text> |
| 1509 | <actions> |
| 1510 | <action function="set">tw_back=refreshfilesystem</action> |
| 1511 | <action function="set">tw_action=changefilesystem</action> |
| 1512 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1513 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1514 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1515 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1516 | <action function="set">tw_text2=EXT3</action> |
| 1517 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1518 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1519 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1520 | <action function="page">confirm_action</action> |
| 1521 | </actions> |
| 1522 | </button> |
| 1523 | |
| 1524 | <button style="main_button_half_width"> |
| 1525 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1526 | <placement x="%center_x%" y="%row11_y%"/> |
| 1527 | <text>EXT4</text> |
| 1528 | <actions> |
| 1529 | <action function="set">tw_back=refreshfilesystem</action> |
| 1530 | <action function="set">tw_action=changefilesystem</action> |
| 1531 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1532 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1533 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1534 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1535 | <action function="set">tw_text2=EXT4</action> |
| 1536 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1537 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1538 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1539 | <action function="page">confirm_action</action> |
| 1540 | </actions> |
| 1541 | </button> |
| 1542 | |
| 1543 | <button style="main_button_half_width"> |
| 1544 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1545 | <placement x="%col2_x_right%" y="%row11_y%"/> |
| 1546 | <text>FAT</text> |
| 1547 | <actions> |
| 1548 | <action function="set">tw_back=refreshfilesystem</action> |
| 1549 | <action function="set">tw_action=changefilesystem</action> |
| 1550 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1551 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1552 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1553 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1554 | <action function="set">tw_text2=FAT</action> |
| 1555 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1556 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1557 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1558 | <action function="page">confirm_action</action> |
| 1559 | </actions> |
| 1560 | </button> |
| 1561 | |
| 1562 | <button style="main_button_half_width"> |
| 1563 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1564 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
| 1565 | <text>exFAT</text> |
| 1566 | <actions> |
| 1567 | <action function="set">tw_back=refreshfilesystem</action> |
| 1568 | <action function="set">tw_action=changefilesystem</action> |
| 1569 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1570 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1571 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1572 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1573 | <action function="set">tw_text2=exFAT</action> |
| 1574 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1575 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1576 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1577 | <action function="page">confirm_action</action> |
| 1578 | </actions> |
| 1579 | </button> |
| 1580 | |
| 1581 | <button style="main_button_half_width"> |
| 1582 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1583 | <placement x="%center_x%" y="%row15a_y%"/> |
| 1584 | <text>F2FS</text> |
| 1585 | <actions> |
| 1586 | <action function="set">tw_back=refreshfilesystem</action> |
| 1587 | <action function="set">tw_action=changefilesystem</action> |
| 1588 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1589 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1590 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1591 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1592 | <action function="set">tw_text2=F2FS</action> |
| 1593 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1594 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1595 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1596 | <action function="page">confirm_action</action> |
| 1597 | </actions> |
| 1598 | </button> |
| 1599 | |
| 1600 | <action> |
| 1601 | <touch key="home"/> |
| 1602 | <action function="page">main</action> |
| 1603 | </action> |
| 1604 | |
| 1605 | <action> |
| 1606 | <touch key="back"/> |
| 1607 | <action function="page">partitionoptions</action> |
| 1608 | </action> |
| 1609 | </page> |
| 1610 | |
| 1611 | <page name="backup"> |
| 1612 | <template name="page"/> |
| 1613 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1614 | <action> |
| 1615 | <conditions> |
| 1616 | <condition var1="tw_is_fbe" var2="1"/> |
| 1617 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 1618 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 1619 | </conditions> |
| 1620 | <actions> |
| 1621 | <action function="set">tw_multiuser_warning_destination=backup</action> |
| 1622 | <action function="page">multiuser_warning</action> |
| 1623 | </actions> |
| 1624 | </action> |
| 1625 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1626 | <text style="text_l"> |
| 1627 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1628 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1629 | </text> |
| 1630 | |
| 1631 | <text style="text_m"> |
| 1632 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1633 | <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] | 1634 | </text> |
| 1635 | |
| 1636 | <text style="text_m_accent"> |
| 1637 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1638 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1639 | </text> |
| 1640 | |
| 1641 | <text style="text_m"> |
| 1642 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 1643 | <text>%tw_backup_name%</text> |
| 1644 | </text> |
| 1645 | |
| 1646 | <fill color="%fileselector_linecolor%"> |
| 1647 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1648 | </fill> |
| 1649 | |
| 1650 | <button> |
| 1651 | <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/> |
| 1652 | <fill color="%transparent%"/> |
| 1653 | <actions> |
| 1654 | <action function="set">tw_fileexists=0</action> |
| 1655 | <action function="page">backupname1</action> |
| 1656 | </actions> |
| 1657 | </button> |
| 1658 | |
| 1659 | <partitionlist> |
| 1660 | <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] | 1661 | <text>{@sel_part_backup=Select Partitions to Backup:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1662 | <data name="tw_backup_list"/> |
| 1663 | <listtype name="backup"/> |
| 1664 | </partitionlist> |
| 1665 | |
| 1666 | <text style="text_m_accent"> |
| 1667 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1668 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1669 | </text> |
| 1670 | |
| 1671 | <text style="text_m"> |
| 1672 | <conditions> |
| 1673 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1674 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1675 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1676 | </conditions> |
| 1677 | <placement x="%col1_x_right%" y="%row3_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1678 | <text>{@enc_disabled=disabled - set a password to enable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1679 | </text> |
| 1680 | |
| 1681 | <text style="text_m"> |
| 1682 | <conditions> |
| 1683 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1684 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1685 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1686 | </conditions> |
| 1687 | <placement x="%col1_x_right%" y="%row3_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1688 | <text>{@enc_enabled=enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1689 | </text> |
| 1690 | |
| 1691 | <fill color="%fileselector_linecolor%"> |
| 1692 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1693 | </fill> |
| 1694 | |
| 1695 | <button> |
| 1696 | <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/> |
| 1697 | <fill color="%transparent%"/> |
| 1698 | <actions> |
| 1699 | <action function="set">tw_password_not_match=0</action> |
| 1700 | <action function="page">backupencryption</action> |
| 1701 | </actions> |
| 1702 | </button> |
| 1703 | |
| 1704 | <text style="text_m_accent"> |
| 1705 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1706 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1707 | </text> |
| 1708 | |
| 1709 | <checkbox> |
| 1710 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1711 | <text>{@enable_backup_comp_chk=Enable compression}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1712 | <data variable="tw_use_compression"/> |
| 1713 | </checkbox> |
| 1714 | |
| 1715 | <checkbox> |
| 1716 | <placement x="%col1_x_right%" y="%row7a_y%"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 1717 | <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text> |
| 1718 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1719 | </checkbox> |
| 1720 | |
| 1721 | <checkbox> |
| 1722 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 1723 | <text>{@disable_backup_space_chk=Disable free space check before backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1724 | <data variable="tw_disable_free_space"/> |
| 1725 | </checkbox> |
| 1726 | |
| 1727 | <button style="main_button_half_width"> |
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 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1730 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1731 | <actions> |
| 1732 | <action function="set">tw_back=backup</action> |
| 1733 | <action function="overlay">select_storage</action> |
| 1734 | </actions> |
| 1735 | </button> |
| 1736 | |
| 1737 | <button style="main_button_half_width"> |
| 1738 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1739 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1740 | <actions> |
| 1741 | <action function="refreshsizes"/> |
| 1742 | <action function="page">backup</action> |
| 1743 | </actions> |
| 1744 | </button> |
| 1745 | |
| 1746 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1747 | <text>{@swipe_backup=Swipe to Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1748 | <action function="page">backup_run</action> |
| 1749 | </slider> |
| 1750 | |
| 1751 | <action> |
| 1752 | <touch key="home"/> |
| 1753 | <action function="page">main</action> |
| 1754 | </action> |
| 1755 | |
| 1756 | <action> |
| 1757 | <touch key="back"/> |
| 1758 | <action function="page">main</action> |
| 1759 | </action> |
| 1760 | </page> |
| 1761 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1762 | <page name="multiuser_warning"> |
| 1763 | <template name="page"/> |
| 1764 | |
| 1765 | <text style="text_l"> |
| 1766 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 1767 | <text>{@multiuser_warning_hdr=Multiuser Warning}</text> |
| 1768 | </text> |
| 1769 | |
| 1770 | <text style="text_m_fail"> |
| 1771 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
| 1772 | <text>{@multiuser_warning1=Not all users decrypted!}</text> |
| 1773 | </text> |
| 1774 | |
| 1775 | <text style="text_m_fail"> |
| 1776 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
| 1777 | <text>{@multiuser_warning2=Backup/restore operations may fail!}</text> |
| 1778 | </text> |
| 1779 | |
| 1780 | <button style="main_button_m"> |
| 1781 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 1782 | <text>{@decrypt_users=Decrypt Users}</text> |
| 1783 | <action function="page">decrypt_users</action> |
| 1784 | </button> |
| 1785 | |
| 1786 | <slider> |
| 1787 | <text>{@multiuser_warning_accept=Continue Anyway}</text> |
| 1788 | <actions> |
| 1789 | <action function="set">tw_multiuser_warning_accepted=1</action> |
| 1790 | <action function="page">%tw_multiuser_warning_destination%</action> |
| 1791 | </actions> |
| 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 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1805 | <page name="backupname1"> |
| 1806 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1807 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1808 | <action function="generatebackupname"/> |
| 1809 | </action> |
| 1810 | |
| 1811 | <action> |
| 1812 | <action function="page">backupname2</action> |
| 1813 | </action> |
| 1814 | </page> |
| 1815 | |
| 1816 | <page name="backupname2"> |
| 1817 | <template name="page"/> |
| 1818 | |
| 1819 | <text style="text_l"> |
| 1820 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1821 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1822 | </text> |
| 1823 | |
| 1824 | <text style="text_m"> |
| 1825 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1826 | <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] | 1827 | </text> |
| 1828 | |
| 1829 | <text style="text_m_accent"> |
| 1830 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1831 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1832 | </text> |
| 1833 | |
| 1834 | <input> |
| 1835 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 1836 | <text>%tw_backup_name%</text> |
| 1837 | <data name="tw_backup_name"/> |
| 1838 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 1839 | <actions> |
| 1840 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1841 | <action function="set">tw_existpage=backupname2</action> |
| 1842 | <action function="set">tw_notexistpage=backup</action> |
| 1843 | <action function="page">filecheck</action> |
| 1844 | </actions> |
| 1845 | </input> |
| 1846 | |
| 1847 | <fill color="%accent_color%"> |
| 1848 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1849 | </fill> |
| 1850 | |
| 1851 | <fill color="%text_fail_color%"> |
| 1852 | <condition var1="tw_fileexists" var2="1"/> |
| 1853 | <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1854 | </fill> |
| 1855 | |
| 1856 | <text style="text_m_fail"> |
| 1857 | <condition var1="tw_fileexists" var2="1"/> |
| 1858 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1859 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1860 | </text> |
| 1861 | |
| 1862 | <button style="main_button_half_width_low"> |
| 1863 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1864 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1865 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1866 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1867 | <action function="page">backup</action> |
| 1868 | </actions> |
| 1869 | </button> |
| 1870 | |
| 1871 | <button style="main_button_half_width_low"> |
| 1872 | <placement x="%date_button_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1873 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1874 | <action function="appenddatetobackupname"/> |
| 1875 | </button> |
| 1876 | |
| 1877 | <template name="keyboardtemplate"/> |
| 1878 | |
| 1879 | <action> |
| 1880 | <touch key="home"/> |
| 1881 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1882 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1883 | <action function="page">main</action> |
| 1884 | </actions> |
| 1885 | </action> |
| 1886 | |
| 1887 | <action> |
| 1888 | <touch key="back"/> |
| 1889 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1890 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1891 | <action function="page">backup</action> |
| 1892 | </actions> |
| 1893 | </action> |
| 1894 | </page> |
| 1895 | |
| 1896 | <page name="backupencryption"> |
| 1897 | <template name="page"/> |
| 1898 | |
| 1899 | <text style="text_l"> |
| 1900 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1901 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1902 | </text> |
| 1903 | |
| 1904 | <text style="text_m"> |
| 1905 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1906 | <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] | 1907 | </text> |
| 1908 | |
| 1909 | <text style="text_m_accent"> |
| 1910 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1911 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1912 | </text> |
| 1913 | |
| 1914 | <input> |
| 1915 | <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/> |
| 1916 | <text>%tw_backup_encrypt_display%</text> |
| 1917 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 1918 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 1919 | <action function="page">backupencryption2</action> |
| 1920 | </input> |
| 1921 | |
| 1922 | <fill color="%accent_color%"> |
| 1923 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1924 | </fill> |
| 1925 | |
| 1926 | <fill color="%text_fail_color%"> |
| 1927 | <condition var1="tw_password_not_match" var2="1"/> |
| 1928 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/> |
| 1929 | </fill> |
| 1930 | |
| 1931 | <text style="text_m_fail"> |
| 1932 | <condition var1="tw_password_not_match" var2="1"/> |
| 1933 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1934 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1935 | </text> |
| 1936 | |
| 1937 | <button style="main_button_half_width_low"> |
| 1938 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1939 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1940 | <actions> |
| 1941 | <action function="set">tw_encrypt_backup=0</action> |
| 1942 | <action function="set">tw_backup_password=</action> |
| 1943 | <action function="set">tw_backup_password2=</action> |
| 1944 | <action function="set">tw_backup_encrypt_display=</action> |
| 1945 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1946 | <action function="page">backup</action> |
| 1947 | </actions> |
| 1948 | </button> |
| 1949 | |
| 1950 | <template name="keyboardtemplate"/> |
| 1951 | |
| 1952 | <action> |
| 1953 | <touch key="home"/> |
| 1954 | <action function="page">main</action> |
| 1955 | </action> |
| 1956 | |
| 1957 | <action> |
| 1958 | <touch key="back"/> |
| 1959 | <action function="page">backup</action> |
| 1960 | </action> |
| 1961 | </page> |
| 1962 | |
| 1963 | <page name="backupencryption2"> |
| 1964 | <template name="page"/> |
| 1965 | |
| 1966 | <text style="text_l"> |
| 1967 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1968 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1969 | </text> |
| 1970 | |
| 1971 | <text style="text_m"> |
| 1972 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1973 | <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] | 1974 | </text> |
| 1975 | |
| 1976 | <text style="text_m_accent"> |
| 1977 | <placement x="%col1_x_right%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1978 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1979 | </text> |
| 1980 | |
| 1981 | <input> |
| 1982 | <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/> |
| 1983 | <text>%tw_backup_encrypt_display2%</text> |
| 1984 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 1985 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 1986 | <action function="page">checkbackuppassword</action> |
| 1987 | </input> |
| 1988 | |
| 1989 | <fill color="%accent_color%"> |
| 1990 | <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 1991 | </fill> |
| 1992 | |
| 1993 | <text style="text_m"> |
| 1994 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1995 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1996 | </text> |
| 1997 | |
| 1998 | <button style="main_button_half_width_low"> |
| 1999 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2000 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2001 | <actions> |
| 2002 | <action function="set">tw_encrypt_backup=0</action> |
| 2003 | <action function="set">tw_backup_password=</action> |
| 2004 | <action function="set">tw_backup_password2=</action> |
| 2005 | <action function="set">tw_backup_encrypt_display=</action> |
| 2006 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2007 | <action function="page">backup</action> |
| 2008 | </actions> |
| 2009 | </button> |
| 2010 | |
| 2011 | <template name="keyboardtemplate"/> |
| 2012 | |
| 2013 | <action> |
| 2014 | <touch key="home"/> |
| 2015 | <action function="page">main</action> |
| 2016 | </action> |
| 2017 | |
| 2018 | <action> |
| 2019 | <touch key="back"/> |
| 2020 | <action function="page">backup</action> |
| 2021 | </action> |
| 2022 | </page> |
| 2023 | |
| 2024 | <page name="checkbackuppassword"> |
| 2025 | <action> |
| 2026 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2027 | <actions> |
| 2028 | <action function="set">tw_encrypt_backup=1</action> |
| 2029 | <action function="page">backup</action> |
| 2030 | </actions> |
| 2031 | </action> |
| 2032 | |
| 2033 | <action> |
| 2034 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2035 | <actions> |
| 2036 | <action function="set">tw_encrypt_backup=0</action> |
| 2037 | <action function="set">tw_password_not_match=1</action> |
| 2038 | <action function="set">tw_backup_password=</action> |
| 2039 | <action function="set">tw_backup_password2=</action> |
| 2040 | <action function="set">tw_backup_encrypt_display=</action> |
| 2041 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2042 | <action function="page">backupencryption</action> |
| 2043 | </actions> |
| 2044 | </action> |
| 2045 | </page> |
| 2046 | |
| 2047 | <page name="backup_run"> |
| 2048 | <template name="page"/> |
| 2049 | |
| 2050 | <text style="text_l"> |
| 2051 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2052 | <text>%tw_operation%</text> |
| 2053 | </text> |
| 2054 | |
| 2055 | <text style="text_m"> |
| 2056 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2057 | <text>%tw_partition% Partition</text> |
| 2058 | </text> |
| 2059 | |
| 2060 | <template name="console"/> |
| 2061 | |
| 2062 | <template name="progress_bar"/> |
| 2063 | |
| 2064 | <text style="text_m_accent"> |
| 2065 | <placement x="%progress_text_x%" y="%progress_text_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2066 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2067 | </text> |
| 2068 | |
| 2069 | <text style="text_m"> |
| 2070 | <placement x="%progress_text_x%" y="%row17_y%"/> |
| 2071 | <text>%tw_file_progress%</text> |
| 2072 | </text> |
| 2073 | |
| 2074 | <text style="text_m"> |
| 2075 | <placement x="%progress_text_x%" y="%row18_y%"/> |
| 2076 | <text>%tw_size_progress%</text> |
| 2077 | </text> |
| 2078 | |
| 2079 | <button style="main_button_half_width"> |
| 2080 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2081 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2082 | <action function="cancelbackup"/> |
| 2083 | </button> |
| 2084 | |
| 2085 | <action> |
| 2086 | <action function="nandroid">backup</action> |
| 2087 | </action> |
| 2088 | |
| 2089 | <action> |
| 2090 | <condition var1="tw_operation_state" var2="1"/> |
| 2091 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2092 | <actions> |
| 2093 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2094 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2095 | <action function="set">tw_show_reboot=1</action> |
| 2096 | <action function="page">action_complete</action> |
| 2097 | </actions> |
| 2098 | </action> |
| 2099 | |
| 2100 | <action> |
| 2101 | <condition var1="tw_operation_state" var2="1"/> |
| 2102 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2103 | <actions> |
| 2104 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2105 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2106 | <action function="set">tw_show_reboot=1</action> |
| 2107 | <action function="page">action_complete</action> |
| 2108 | </actions> |
| 2109 | </action> |
| 2110 | </page> |
| 2111 | |
| 2112 | <page name="restore"> |
| 2113 | <template name="page"/> |
| 2114 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2115 | <action> |
| 2116 | <conditions> |
| 2117 | <condition var1="tw_is_fbe" var2="1"/> |
| 2118 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2119 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2120 | </conditions> |
| 2121 | <actions> |
| 2122 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2123 | <action function="page">multiuser_warning</action> |
| 2124 | </actions> |
| 2125 | </action> |
| 2126 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2127 | <text style="text_l"> |
| 2128 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2129 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2130 | </text> |
| 2131 | |
| 2132 | <text style="text_m"> |
| 2133 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2134 | <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] | 2135 | </text> |
| 2136 | |
| 2137 | <template name="sort_options"/> |
| 2138 | |
| 2139 | <fileselector> |
| 2140 | <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] | 2141 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2142 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2143 | <path name="tw_backups_folder"/> |
| 2144 | <data name="tw_restore" default=""/> |
| 2145 | <selection name="tw_restore_name"/> |
| 2146 | </fileselector> |
| 2147 | |
| 2148 | <button style="main_button_half_width_low"> |
| 2149 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2150 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2151 | <actions> |
| 2152 | <action function="set">tw_back=restore</action> |
| 2153 | <action function="overlay">select_storage</action> |
| 2154 | </actions> |
| 2155 | </button> |
| 2156 | |
| 2157 | <action> |
| 2158 | <condition var1="tw_restore" op="modified"/> |
| 2159 | <actions> |
| 2160 | <action function="readBackup"/> |
| 2161 | <action function="page">restore_read</action> |
| 2162 | </actions> |
| 2163 | </action> |
| 2164 | |
| 2165 | <action> |
| 2166 | <touch key="home"/> |
| 2167 | <action function="page">main</action> |
| 2168 | </action> |
| 2169 | |
| 2170 | <action> |
| 2171 | <touch key="back"/> |
| 2172 | <action function="page">main</action> |
| 2173 | </action> |
| 2174 | </page> |
| 2175 | |
| 2176 | <page name="restore_read"> |
| 2177 | <action> |
| 2178 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2179 | <actions> |
| 2180 | <action function="set">tw_password_fail=0</action> |
| 2181 | <action function="page">restore_decrypt</action> |
| 2182 | </actions> |
| 2183 | </action> |
| 2184 | |
| 2185 | <action> |
| 2186 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2187 | <actions> |
| 2188 | <action function="page">restore_select</action> |
| 2189 | </actions> |
| 2190 | </action> |
| 2191 | </page> |
| 2192 | |
| 2193 | <page name="restore_decrypt"> |
| 2194 | <template name="page"/> |
| 2195 | |
| 2196 | <text style="text_l"> |
| 2197 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2198 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2199 | </text> |
| 2200 | |
| 2201 | <text style="text_m"> |
| 2202 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2203 | <text>{@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2204 | </text> |
| 2205 | |
| 2206 | <text style="text_m_accent"> |
| 2207 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2208 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2209 | </text> |
| 2210 | |
| 2211 | <input> |
| 2212 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 2213 | <text>%tw_restore_display%</text> |
| 2214 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2215 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2216 | <action function="page">try_restore_decrypt</action> |
| 2217 | </input> |
| 2218 | |
| 2219 | <fill color="%accent_color%"> |
| 2220 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2221 | </fill> |
| 2222 | |
| 2223 | <fill color="%text_fail_color%"> |
| 2224 | <condition var1="tw_password_fail" var2="1"/> |
| 2225 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2226 | </fill> |
| 2227 | |
| 2228 | <text style="text_m_fail"> |
| 2229 | <condition var1="tw_password_fail" var2="1"/> |
| 2230 | <placement x="%col1_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2231 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2232 | </text> |
| 2233 | |
| 2234 | <button style="main_button_half_width_low"> |
| 2235 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2236 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2237 | <actions> |
| 2238 | <action function="set">tw_page_done=1</action> |
| 2239 | <action function="page">restore</action> |
| 2240 | </actions> |
| 2241 | </button> |
| 2242 | |
| 2243 | <button style="main_button_half_width_low"> |
| 2244 | <placement x="%col_button_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2245 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2246 | <actions> |
| 2247 | <action function="set">tw_back=restore</action> |
| 2248 | <action function="set">tw_action=cmd</action> |
| 2249 | <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] | 2250 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2251 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2252 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2253 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2254 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2255 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2256 | <action function="page">confirm_action</action> |
| 2257 | </actions> |
| 2258 | </button> |
| 2259 | |
| 2260 | <template name="keyboardtemplate"/> |
| 2261 | |
| 2262 | <action> |
| 2263 | <touch key="home"/> |
| 2264 | <action function="page">main</action> |
| 2265 | </action> |
| 2266 | |
| 2267 | <action> |
| 2268 | <touch key="back"/> |
| 2269 | <action function="page">restore</action> |
| 2270 | </action> |
| 2271 | </page> |
| 2272 | |
| 2273 | <page name="try_restore_decrypt"> |
| 2274 | <template name="page"/> |
| 2275 | |
| 2276 | <text style="text_l"> |
| 2277 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2278 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2279 | </text> |
| 2280 | |
| 2281 | <text style="text_m"> |
| 2282 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2283 | <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2284 | </text> |
| 2285 | |
| 2286 | <template name="console"/> |
| 2287 | |
| 2288 | <template name="progress_bar"/> |
| 2289 | |
| 2290 | <action> |
| 2291 | <action function="decrypt_backup"/> |
| 2292 | </action> |
| 2293 | |
| 2294 | <action> |
| 2295 | <conditions> |
| 2296 | <condition var1="tw_operation_state" var2="1"/> |
| 2297 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2298 | </conditions> |
| 2299 | <actions> |
| 2300 | <action function="set">tw_password_fail=1</action> |
| 2301 | <action function="page">restore_decrypt</action> |
| 2302 | </actions> |
| 2303 | </action> |
| 2304 | |
| 2305 | <action> |
| 2306 | <conditions> |
| 2307 | <condition var1="tw_operation_state" var2="1"/> |
| 2308 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2309 | </conditions> |
| 2310 | <actions> |
| 2311 | <action function="set">tw_page_done=1</action> |
| 2312 | <action function="page">restore_select</action> |
| 2313 | </actions> |
| 2314 | </action> |
| 2315 | </page> |
| 2316 | |
| 2317 | <page name="restore_select"> |
| 2318 | <template name="page"/> |
| 2319 | |
| 2320 | <text style="text_l"> |
| 2321 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2322 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2323 | </text> |
| 2324 | |
| 2325 | <text style="text_m"> |
| 2326 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2327 | <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2328 | </text> |
| 2329 | |
| 2330 | <text style="text_m_accent"> |
| 2331 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2332 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2333 | </text> |
| 2334 | |
| 2335 | <text style="text_m"> |
| 2336 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 2337 | <text>%tw_restore_name%</text> |
| 2338 | </text> |
| 2339 | |
| 2340 | <fill color="%fileselector_linecolor%"> |
| 2341 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/> |
| 2342 | </fill> |
| 2343 | |
| 2344 | <button> |
| 2345 | <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/> |
| 2346 | <fill color="%transparent%"/> |
| 2347 | <actions> |
| 2348 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2349 | <action function="set">tw_fileexists=0</action> |
| 2350 | <action function="page">renamebackup</action> |
| 2351 | </actions> |
| 2352 | </button> |
| 2353 | |
| 2354 | <partitionlist> |
| 2355 | <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] | 2356 | <text>{@restore_sel_part=Select Partitions to Restore:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2357 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2358 | <listtype name="restore"/> |
| 2359 | </partitionlist> |
| 2360 | |
| 2361 | <text style="text_m_accent"> |
| 2362 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2363 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2364 | </text> |
| 2365 | |
| 2366 | <checkbox> |
| 2367 | <placement x="%col1_x_right%" y="%row6_y%"/> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2368 | <condition var1="tw_enable_adb_backup" op="=" var2="0"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2369 | <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text> |
| 2370 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2371 | </checkbox> |
| 2372 | |
| 2373 | <button style="main_button_half_width"> |
| 2374 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2375 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2376 | <actions> |
| 2377 | <action function="set">tw_back=restore</action> |
| 2378 | <action function="set">tw_action=cmd</action> |
| 2379 | <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] | 2380 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2381 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2382 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2383 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2384 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2385 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2386 | <action function="page">confirm_action</action> |
| 2387 | </actions> |
| 2388 | </button> |
| 2389 | |
| 2390 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2391 | <text>{@swipe_restore=Swipe to Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2392 | <action function="page">restore_run</action> |
| 2393 | </slider> |
| 2394 | |
| 2395 | <action> |
| 2396 | <touch key="home"/> |
| 2397 | <action function="page">main</action> |
| 2398 | </action> |
| 2399 | |
| 2400 | <action> |
| 2401 | <touch key="back"/> |
| 2402 | <action function="page">restore</action> |
| 2403 | </action> |
| 2404 | </page> |
| 2405 | |
| 2406 | <page name="renamebackup"> |
| 2407 | <template name="page"/> |
| 2408 | |
| 2409 | <text style="text_l"> |
| 2410 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2411 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2412 | </text> |
| 2413 | |
| 2414 | <text style="text_m"> |
| 2415 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2416 | <text>{@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2417 | </text> |
| 2418 | |
| 2419 | <text style="text_m_accent"> |
| 2420 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2421 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2422 | </text> |
| 2423 | |
| 2424 | <input> |
| 2425 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 2426 | <text>%tw_backup_rename%</text> |
| 2427 | <data name="tw_backup_rename"/> |
| 2428 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2429 | <actions> |
| 2430 | <action function="set">tw_back=restore</action> |
| 2431 | <action function="set">tw_action=cmd</action> |
| 2432 | <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] | 2433 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2434 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2435 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2436 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2437 | <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2438 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2439 | <action function="set">tw_existpage=renamebackup</action> |
| 2440 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2441 | <action function="page">filecheck</action> |
| 2442 | </actions> |
| 2443 | </input> |
| 2444 | |
| 2445 | <fill color="%accent_color%"> |
| 2446 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2447 | </fill> |
| 2448 | |
| 2449 | <fill color="%text_fail_color%"> |
| 2450 | <condition var1="tw_fileexists" var2="1"/> |
| 2451 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2452 | </fill> |
| 2453 | |
| 2454 | <text style="text_m_fail"> |
| 2455 | <condition var1="tw_fileexists" var2="1"/> |
| 2456 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2457 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2458 | </text> |
| 2459 | |
| 2460 | <button style="main_button_half_width_low"> |
| 2461 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2462 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2463 | <action function="page">restore_select</action> |
| 2464 | </button> |
| 2465 | |
| 2466 | <template name="keyboardtemplate"/> |
| 2467 | |
| 2468 | <action> |
| 2469 | <touch key="home"/> |
| 2470 | <action function="page">main</action> |
| 2471 | </action> |
| 2472 | |
| 2473 | <action> |
| 2474 | <touch key="back"/> |
| 2475 | <action function="page">restore_select</action> |
| 2476 | </action> |
| 2477 | </page> |
| 2478 | |
| 2479 | <page name="restore_run"> |
| 2480 | <template name="page"/> |
| 2481 | |
| 2482 | <text style="text_l"> |
| 2483 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2484 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2485 | </text> |
| 2486 | |
| 2487 | <text style="text_m"> |
| 2488 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2489 | <text>%tw_operation% %tw_partition%</text> |
| 2490 | </text> |
| 2491 | |
| 2492 | <template name="console"/> |
| 2493 | |
| 2494 | <template name="progress_bar"/> |
| 2495 | |
| 2496 | <text style="text_m_accent"> |
| 2497 | <placement x="%progress_text_x%" y="%progress_text_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2498 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2499 | </text> |
| 2500 | |
| 2501 | <text style="text_m"> |
| 2502 | <placement x="%progress_text_x%" y="%row18_y%"/> |
| 2503 | <text>%tw_size_progress%</text> |
| 2504 | </text> |
| 2505 | |
| 2506 | <action> |
| 2507 | <condition var1="tw_operation_state" var2="1"/> |
| 2508 | <actions> |
| 2509 | <action function="set">tw_back=restore_select</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2510 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2511 | <action function="set">tw_show_reboot=1</action> |
| 2512 | <action function="page">action_complete</action> |
| 2513 | </actions> |
| 2514 | </action> |
| 2515 | |
| 2516 | <action> |
| 2517 | <action function="nandroid">restore</action> |
| 2518 | </action> |
| 2519 | </page> |
| 2520 | |
| 2521 | <page name="mount"> |
| 2522 | <template name="page"/> |
| 2523 | |
| 2524 | <text style="text_l"> |
| 2525 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2526 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2527 | </text> |
| 2528 | |
| 2529 | <text style="text_m"> |
| 2530 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2531 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2532 | </text> |
| 2533 | |
| 2534 | <partitionlist> |
| 2535 | <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] | 2536 | <text>{@mount_sel_part=Select Partitions to Mount:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2537 | <listtype name="mount"/> |
| 2538 | </partitionlist> |
| 2539 | |
| 2540 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2541 | <conditions> |
| 2542 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2543 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2544 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2545 | <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2546 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2547 | <image resource="checkbox_false"/> |
| 2548 | <action function="mountsystemtoggle">1</action> |
| 2549 | </button> |
| 2550 | |
| 2551 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2552 | <conditions> |
| 2553 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2554 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2555 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2556 | <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2557 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2558 | <image resource="checkbox_true"/> |
| 2559 | <actions> |
| 2560 | <action function="set">tw_lifetime_writes=2</action> |
| 2561 | <action function="page">system_readonly_check</action> |
| 2562 | </actions> |
| 2563 | </button> |
| 2564 | |
| 2565 | <button style="main_button_half_width"> |
| 2566 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 2567 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2568 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2569 | <action function="page">usb_mount</action> |
| 2570 | </button> |
| 2571 | |
| 2572 | <button style="main_button_half_width"> |
| 2573 | <conditions> |
| 2574 | <condition var1="tw_is_encrypted" var2="1"/> |
| 2575 | <condition var1="tw_is_decrypted" var2="0"/> |
| 2576 | </conditions> |
| 2577 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2578 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2579 | <action function="set">tw_crypto_user_id=0</action> |
| 2580 | <action function="set">tw_crypto_password=</action> |
| 2581 | <action function="set">tw_password_fail=0</action> |
| 2582 | <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2583 | <action function="page">decrypt</action> |
| 2584 | </button> |
| 2585 | |
| 2586 | <button style="main_button_half_width"> |
| 2587 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2588 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2589 | <actions> |
| 2590 | <action function="set">tw_back=mount</action> |
| 2591 | <action function="overlay">select_storage</action> |
| 2592 | </actions> |
| 2593 | </button> |
| 2594 | |
| 2595 | <button style="main_button_half_width"> |
| 2596 | <conditions> |
| 2597 | <condition var1="tw_has_mtp" var2="1"/> |
| 2598 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2599 | </conditions> |
| 2600 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2601 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2602 | <action function="startmtp"/> |
| 2603 | </button> |
| 2604 | |
| 2605 | <button style="main_button_half_width"> |
| 2606 | <conditions> |
| 2607 | <condition var1="tw_has_mtp" var2="1"/> |
| 2608 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2609 | </conditions> |
| 2610 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2611 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2612 | <action function="stopmtp"/> |
| 2613 | </button> |
| 2614 | |
| 2615 | <action> |
| 2616 | <touch key="home"/> |
| 2617 | <action function="page">main</action> |
| 2618 | </action> |
| 2619 | |
| 2620 | <action> |
| 2621 | <touch key="back"/> |
| 2622 | <action function="page">main</action> |
| 2623 | </action> |
| 2624 | </page> |
| 2625 | |
| 2626 | <page name="usb_mount"> |
| 2627 | <template name="page"/> |
| 2628 | |
| 2629 | <text style="text_l"> |
| 2630 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2631 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2632 | </text> |
| 2633 | |
| 2634 | <text style="text_m"> |
| 2635 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2636 | <text>{@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2637 | </text> |
| 2638 | |
| 2639 | <text style="text_m_accent"> |
| 2640 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2641 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2642 | </text> |
| 2643 | |
| 2644 | <text style="text_m"> |
| 2645 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2646 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2647 | </text> |
| 2648 | |
| 2649 | <text style="text_m"> |
| 2650 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2651 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2652 | </text> |
| 2653 | |
| 2654 | <button style="main_button_half_width"> |
| 2655 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2656 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2657 | <action function="page">usb_umount</action> |
| 2658 | </button> |
| 2659 | |
| 2660 | <action> |
| 2661 | <action function="mount">usb</action> |
| 2662 | <action function="set">tw_busy=1</action> |
| 2663 | </action> |
| 2664 | </page> |
| 2665 | |
| 2666 | <page name="usb_umount"> |
| 2667 | <action> |
| 2668 | <action function="unmount">usb</action> |
| 2669 | </action> |
| 2670 | |
| 2671 | <action> |
| 2672 | <action function="page">mount</action> |
| 2673 | <action function="set">tw_busy=0</action> |
| 2674 | </action> |
| 2675 | </page> |
| 2676 | |
| 2677 | <page name="system_readonly_check"> |
| 2678 | <action> |
| 2679 | <action function="checkpartitionlifetimewrites">/system</action> |
| 2680 | </action> |
| 2681 | |
| 2682 | <action> |
| 2683 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 2684 | <actions> |
| 2685 | <action function="mountsystemtoggle">0</action> |
| 2686 | <action function="page">mount</action> |
| 2687 | </actions> |
| 2688 | </action> |
| 2689 | |
| 2690 | <action> |
| 2691 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 2692 | <actions> |
| 2693 | <action function="set">tw_back=mount</action> |
| 2694 | <action function="page">system_readonly</action> |
| 2695 | </actions> |
| 2696 | </action> |
| 2697 | </page> |
| 2698 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2699 | <page name="fastbootreboot"> |
| 2700 | <template name="page"/> |
| 2701 | |
| 2702 | <text style="text_l"> |
| 2703 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2704 | <text>{@reboot_hdr=Reboot}</text> |
| 2705 | </text> |
| 2706 | |
| 2707 | <listbox style="advanced_listbox"> |
Captain Throwback | bd7085d | 2020-12-25 22:46:59 -0500 | [diff] [blame] | 2708 | <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] | 2709 | |
| 2710 | <listitem name="{@rb_system_btn=System}"> |
| 2711 | <condition var1="tw_reboot_system" var2="1"/> |
| 2712 | <actions> |
| 2713 | <action function="set">tw_back=fastbootreboot</action> |
| 2714 | <action function="set">tw_action=reboot</action> |
| 2715 | <action function="set">tw_action_param=system</action> |
| 2716 | <action function="set">tw_reboot_param=system</action> |
| 2717 | <action function="set">tw_has_action2=0</action> |
| 2718 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2719 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2720 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2721 | <action function="page">confirm_action</action> |
| 2722 | </actions> |
| 2723 | </listitem> |
| 2724 | |
| 2725 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2726 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2727 | <actions> |
| 2728 | <action function="set">tw_back=fastbootreboot</action> |
| 2729 | <action function="set">tw_action=reboot</action> |
| 2730 | <action function="set">tw_action_param=poweroff</action> |
| 2731 | <action function="set">tw_reboot_param=poweroff</action> |
| 2732 | <action function="set">tw_has_action2=0</action> |
| 2733 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2734 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2735 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 2736 | <action function="page">confirm_action</action> |
| 2737 | </actions> |
| 2738 | </listitem> |
| 2739 | |
| 2740 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 2741 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2742 | <actions> |
| 2743 | <action function="set">tw_back=fastbootreboot</action> |
| 2744 | <action function="set">tw_action=reboot</action> |
| 2745 | <action function="set">tw_action_param=recovery</action> |
| 2746 | <action function="set">tw_reboot_param=recovery</action> |
| 2747 | <action function="set">tw_has_action2=0</action> |
| 2748 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2749 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2750 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2751 | <action function="page">confirm_action</action> |
| 2752 | </actions> |
| 2753 | </listitem> |
| 2754 | |
| 2755 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 2756 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2757 | <actions> |
| 2758 | <action function="set">tw_back=fastbootreboot</action> |
| 2759 | <action function="set">tw_action=reboot</action> |
| 2760 | <action function="set">tw_action_param=bootloader</action> |
| 2761 | <action function="set">tw_reboot_param=bootloader</action> |
| 2762 | <action function="set">tw_has_action2=0</action> |
| 2763 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2764 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2765 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2766 | <action function="page">confirm_action</action> |
| 2767 | </actions> |
| 2768 | </listitem> |
| 2769 | |
| 2770 | <listitem name="{@rb_download_btn=Download}"> |
| 2771 | <condition var1="tw_download_mode" var2="1"/> |
| 2772 | <actions> |
| 2773 | <action function="set">tw_back=fastbootreboot</action> |
| 2774 | <action function="set">tw_action=reboot</action> |
| 2775 | <action function="set">tw_action_param=download</action> |
| 2776 | <action function="set">tw_reboot_param=download</action> |
| 2777 | <action function="set">tw_has_action2=0</action> |
| 2778 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2779 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2780 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2781 | <action function="page">confirm_action</action> |
| 2782 | </actions> |
| 2783 | </listitem> |
| 2784 | |
| 2785 | <listitem name="{@fastboot_button=Fastboot}"> |
| 2786 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 2787 | <actions> |
| 2788 | <action function="set">tw_back=fastbootreboot</action> |
| 2789 | <action function="set">tw_action=reboot</action> |
| 2790 | <action function="set">tw_action_param=fastboot</action> |
| 2791 | <action function="set">tw_reboot_param=fastboot</action> |
| 2792 | <action function="set">tw_has_action2=0</action> |
| 2793 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2794 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2795 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2796 | <action function="page">confirm_action</action> |
| 2797 | </actions> |
| 2798 | </listitem> |
| 2799 | |
| 2800 | <listitem name="{@rb_edl_btn=Edl}"> |
| 2801 | <condition var1="tw_edl_mode" var2="1"/> |
| 2802 | <actions> |
| 2803 | <action function="set">tw_back=fastbootreboot</action> |
| 2804 | <action function="set">tw_action=reboot</action> |
| 2805 | <action function="set">tw_action_param=edl</action> |
| 2806 | <action function="set">tw_reboot_param=edl</action> |
| 2807 | <action function="set">tw_has_action2=0</action> |
| 2808 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2809 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2810 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2811 | <action function="page">confirm_action</action> |
| 2812 | </actions> |
| 2813 | </listitem> |
| 2814 | </listbox> |
| 2815 | <action> |
| 2816 | <touch key="home"/> |
| 2817 | <action function="page">fastboot</action> |
| 2818 | </action> |
| 2819 | |
| 2820 | <action> |
| 2821 | <touch key="back"/> |
| 2822 | <action function="page">fastboot</action> |
| 2823 | </action> |
| 2824 | </page> |
| 2825 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2826 | <page name="reboot"> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 2827 | <action> |
| 2828 | <action function="checkforapp"></action> |
| 2829 | <action function="page">reboot2</action> |
| 2830 | </action> |
| 2831 | </page> |
| 2832 | |
| 2833 | <page name="reboot2"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2834 | <template name="page"/> |
| 2835 | |
| 2836 | <text style="text_l"> |
| 2837 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2838 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2839 | </text> |
| 2840 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2841 | <listbox style="advanced_listbox"> |
Captain Throwback | bd7085d | 2020-12-25 22:46:59 -0500 | [diff] [blame] | 2842 | <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] | 2843 | |
| 2844 | <listitem name="{@rb_system_btn=System}"> |
| 2845 | <condition var1="tw_reboot_system" var2="1"/> |
| 2846 | <actions> |
| 2847 | <action function="set">tw_back=reboot</action> |
| 2848 | <action function="page">reboot_system_routine</action> |
| 2849 | </actions> |
| 2850 | </listitem> |
| 2851 | |
| 2852 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2853 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2854 | <actions> |
| 2855 | <action function="set">tw_back=reboot</action> |
| 2856 | <action function="set">tw_action=reboot</action> |
| 2857 | <action function="set">tw_action_param=poweroff</action> |
| 2858 | <action function="set">tw_reboot_param=poweroff</action> |
| 2859 | <action function="set">tw_has_action2=0</action> |
| 2860 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2861 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 2862 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2863 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2864 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 2865 | <action function="page">rebootcheck</action> |
| 2866 | </actions> |
| 2867 | </listitem> |
| 2868 | |
| 2869 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 2870 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2871 | <actions> |
| 2872 | <action function="set">tw_back=reboot</action> |
| 2873 | <action function="set">tw_action=reboot</action> |
| 2874 | <action function="set">tw_action_param=recovery</action> |
| 2875 | <action function="set">tw_reboot_param=recovery</action> |
| 2876 | <action function="set">tw_has_action2=0</action> |
| 2877 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2878 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2879 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2880 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2881 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2882 | <action function="page">rebootcheck</action> |
| 2883 | </actions> |
| 2884 | </listitem> |
| 2885 | |
| 2886 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 2887 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2888 | <actions> |
| 2889 | <action function="set">tw_back=reboot</action> |
| 2890 | <action function="set">tw_action=reboot</action> |
| 2891 | <action function="set">tw_action_param=bootloader</action> |
| 2892 | <action function="set">tw_reboot_param=bootloader</action> |
| 2893 | <action function="set">tw_has_action2=0</action> |
| 2894 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2895 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2896 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2897 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2898 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2899 | <action function="page">rebootcheck</action> |
| 2900 | </actions> |
| 2901 | </listitem> |
| 2902 | |
| 2903 | <listitem name="{@rb_download_btn=Download}"> |
| 2904 | <condition var1="tw_download_mode" var2="1"/> |
| 2905 | <actions> |
| 2906 | <action function="set">tw_back=reboot</action> |
| 2907 | <action function="set">tw_action=reboot</action> |
| 2908 | <action function="set">tw_action_param=download</action> |
| 2909 | <action function="set">tw_reboot_param=download</action> |
| 2910 | <action function="set">tw_has_action2=0</action> |
| 2911 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2912 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2913 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2914 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2915 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2916 | <action function="page">rebootcheck</action> |
| 2917 | </actions> |
| 2918 | </listitem> |
| 2919 | |
| 2920 | |
| 2921 | <listitem name="{@fastboot_button=Fastboot}"> |
| 2922 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 2923 | <actions> |
| 2924 | <action function="set">tw_back=reboot</action> |
| 2925 | <action function="set">tw_action=reboot</action> |
| 2926 | <action function="set">tw_action_param=fastboot</action> |
| 2927 | <action function="set">tw_reboot_param=fastboot</action> |
| 2928 | <action function="set">tw_has_action2=0</action> |
| 2929 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2930 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2931 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2932 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2933 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2934 | <action function="page">rebootcheck</action> |
| 2935 | </actions> |
| 2936 | </listitem> |
| 2937 | |
| 2938 | <listitem name="{@rb_edl_btn=Edl}"> |
| 2939 | <condition var1="tw_edl_mode" var2="1"/> |
| 2940 | <actions> |
| 2941 | <action function="set">tw_back=reboot</action> |
| 2942 | <action function="set">tw_action=reboot</action> |
| 2943 | <action function="set">tw_action_param=edl</action> |
| 2944 | <action function="set">tw_reboot_param=edl</action> |
| 2945 | <action function="set">tw_has_action2=0</action> |
| 2946 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2947 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2948 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2949 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2950 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2951 | <action function="page">rebootcheck</action> |
| 2952 | </actions> |
| 2953 | </button> |
| 2954 | </listbox> |
| 2955 | |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 2956 | <button style="main_button"> |
| 2957 | <condition var1="tw_app_install_status" var2="1"/> |
| 2958 | <placement x="%center_x%" y="%row12_y%"/> |
| 2959 | <text>{@reboot_install_app_hdr=Install TWRP App}</text> |
| 2960 | <actions> |
| 2961 | <action function="set">tw_back=reboot</action> |
| 2962 | <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action> |
| 2963 | <action function="page">installapp</action> |
| 2964 | </actions> |
| 2965 | </button> |
| 2966 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2967 | <text style="text_m"> |
| 2968 | <condition var1="tw_has_boot_slots" var2="1"/> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 2969 | <placement x="%col1_x_header%" y="%row14_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2970 | <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text> |
| 2971 | </text> |
| 2972 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2973 | <button style="main_button"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2974 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 2975 | <placement x="%indent%" y="%row16_y%"/> |
| 2976 | <text>{@boot_slot_a=Slot A}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2977 | <actions> |
| 2978 | <action function="set">tw_back=reboot</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2979 | <action function="set">tw_action=setbootslot</action> |
| 2980 | <action function="set">tw_action_param=A</action> |
| 2981 | <action function="set">tw_has_action2=0</action> |
| 2982 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 2983 | <action function="set">tw_action_text2=</action> |
| 2984 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 2985 | <action function="page">action_page</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2986 | </actions> |
| 2987 | </button> |
| 2988 | |
| 2989 | <button style="main_button"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2990 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 2991 | <placement x="%center_x%" y="%row16_y%"/> |
| 2992 | <text>{@boot_slot_b=Slot B}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2993 | <actions> |
| 2994 | <action function="set">tw_back=reboot</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2995 | <action function="set">tw_action=setbootslot</action> |
| 2996 | <action function="set">tw_action_param=B</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2997 | <action function="set">tw_has_action2=0</action> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2998 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 2999 | <action function="set">tw_action_text2=</action> |
| 3000 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3001 | <action function="page">action_page</action> |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3002 | </actions> |
| 3003 | </button> |
| 3004 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3005 | <action> |
| 3006 | <touch key="home"/> |
| 3007 | <action function="page">main</action> |
| 3008 | </action> |
| 3009 | |
| 3010 | <action> |
| 3011 | <touch key="back"/> |
| 3012 | <action function="page">main</action> |
| 3013 | </action> |
| 3014 | </page> |
| 3015 | |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3016 | <page name="installapp"> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3017 | <template name="page"/> |
| 3018 | |
| 3019 | <text style="text_l"> |
| 3020 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3021 | <text>%tw_appinstall_title%</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3022 | </text> |
| 3023 | |
| 3024 | <text style="text_m"> |
| 3025 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3026 | <text>{@reboot_install_app_hdr=Install TWRP App}</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3027 | </text> |
| 3028 | |
| 3029 | <text style="text_m_accent"> |
| 3030 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3031 | <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text> |
| 3032 | </text> |
| 3033 | |
| 3034 | <text style="text_m_accent"> |
| 3035 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 3036 | <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text> |
| 3037 | </text> |
| 3038 | |
| 3039 | <checkbox> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3040 | <condition var1="tw_mount_system_ro" var2="0"/> |
| 3041 | <placement x="%indent%" y="%row7_y%"/> |
| 3042 | <text>{@reboot_install_app_system=Install as a System App}</text> |
| 3043 | <data variable="tw_app_install_system"/> |
| 3044 | </checkbox> |
| 3045 | |
| 3046 | <button style="main_button_half_width"> |
| 3047 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | fa67cbf | 2018-07-20 12:22:33 -0500 | [diff] [blame] | 3048 | <text>{@install_cancel=Do not Install}</text> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3049 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3050 | </button> |
| 3051 | |
| 3052 | <slider> |
| 3053 | <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text> |
| 3054 | <actions> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3055 | <action function="set">tw_action=installapp</action> |
| 3056 | <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action> |
| 3057 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3058 | <action function="set">tw_complete_text1={@successful=Successful}</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3059 | <action function="page">action_page</action> |
| 3060 | </actions> |
| 3061 | </slider> |
| 3062 | |
| 3063 | <action> |
| 3064 | <touch key="home"/> |
| 3065 | <actions> |
| 3066 | <action function="set">tw_app_install_status=0</action> |
| 3067 | <action function="page">main</action> |
| 3068 | </actions> |
| 3069 | </action> |
| 3070 | |
| 3071 | <action> |
| 3072 | <touch key="back"/> |
| 3073 | <actions> |
| 3074 | <action function="set">tw_app_install_status=0</action> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3075 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3076 | </actions> |
| 3077 | </action> |
| 3078 | </page> |
| 3079 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3080 | <page name="system_readonly"> |
| 3081 | <template name="page"/> |
| 3082 | |
| 3083 | <text style="text_l"> |
| 3084 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3085 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3086 | </text> |
| 3087 | |
| 3088 | <text style="text_m_accent"> |
| 3089 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3090 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3091 | </text> |
| 3092 | |
| 3093 | <text style="text_m"> |
| 3094 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3095 | <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] | 3096 | </text> |
| 3097 | |
| 3098 | <text style="text_m"> |
| 3099 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3100 | <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] | 3101 | </text> |
| 3102 | |
| 3103 | <text style="text_m_fail"> |
| 3104 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3105 | <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] | 3106 | </text> |
| 3107 | |
| 3108 | <checkbox> |
| 3109 | <condition var1="tw_is_encrypted" var2="0"/> |
| 3110 | <placement x="%col1_x_left%" y="%row14_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3111 | <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] | 3112 | <data variable="tw_never_show_system_ro_page"/> |
| 3113 | </checkbox> |
| 3114 | |
| 3115 | <button style="main_button_half_width"> |
| 3116 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3117 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3118 | <actions> |
| 3119 | <action function="mountsystemtoggle">1</action> |
| 3120 | <action function="set">tw_page_done=1</action> |
| 3121 | <action function="page">%tw_back%</action> |
| 3122 | </actions> |
| 3123 | </button> |
| 3124 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3125 | <button style="main_button_half_width"> |
| 3126 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
| 3127 | <text>{@sel_lang_btn=Select Language}</text> |
| 3128 | <action function="overlay">select_language</action> |
| 3129 | </button> |
| 3130 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3131 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3132 | <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3133 | <actions> |
| 3134 | <action function="mountsystemtoggle">0</action> |
| 3135 | <action function="set">tw_page_done=1</action> |
| 3136 | <action function="page">%tw_back%</action> |
| 3137 | </actions> |
| 3138 | </slider> |
| 3139 | </page> |
| 3140 | |
| 3141 | <page name="settings"> |
| 3142 | <template name="page"/> |
| 3143 | |
| 3144 | <text style="text_l"> |
| 3145 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3146 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3147 | </text> |
| 3148 | |
| 3149 | <text style="text_m"> |
| 3150 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3151 | <text>{@settings_gen_hdr=General Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3152 | </text> |
| 3153 | |
| 3154 | <template name="tabs_settings"/> |
| 3155 | |
| 3156 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3157 | <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] | 3158 | </fill> |
| 3159 | |
| 3160 | <listbox style="scrolllist"> |
| 3161 | <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/> |
| 3162 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3163 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3164 | <data variable="tw_signed_zip_verify"/> |
| 3165 | </listitem> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 3166 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 3167 | <data variable="tw_install_reboot"/> |
| 3168 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3169 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3170 | <data variable="tw_rm_rf"/> |
| 3171 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 3172 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
| 3173 | <data variable="tw_disable_free_space"/> |
| 3174 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3175 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 3176 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3177 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3178 | <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}"> |
| 3179 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3180 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3181 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3182 | <data variable="tw_military_time"/> |
| 3183 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3184 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3185 | <data variable="tw_simulate_actions"/> |
| 3186 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3187 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3188 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3189 | <data variable="tw_simulate_fail"/> |
| 3190 | </listitem> |
bigbiff bigbiff | 1c01fab | 2017-08-07 18:41:14 -0400 | [diff] [blame] | 3191 | <listitem name="{@sha2_chk=Use SHA2 for hashing}"> |
| 3192 | <condition var1="tw_no_sha2" var2="0"/> |
| 3193 | <data variable="tw_use_sha2"/> |
| 3194 | </listitem> |
Chaosmaster | ff4f958 | 2020-01-26 15:38:11 +0100 | [diff] [blame] | 3195 | <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}"> |
| 3196 | <data variable="tw_unmount_system"/> |
| 3197 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3198 | </listbox> |
| 3199 | |
| 3200 | <checkbox> |
| 3201 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3202 | <text>{@rev_navbar_chk=Reversed navbar layout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3203 | <data variable="tw_samsung_navbar"/> |
| 3204 | </checkbox> |
| 3205 | |
| 3206 | <button style="radiobutton"> |
| 3207 | <condition var1="tw_navbar_button_position" op="!=" var2="0"/> |
| 3208 | <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3209 | <text>{@ctr_navbar_rdo=Center navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3210 | <image resource="radio_false"/> |
| 3211 | <action function="set">tw_navbar_button_position=0</action> |
| 3212 | </button> |
| 3213 | |
| 3214 | <button style="radiobutton"> |
| 3215 | <condition var1="tw_navbar_button_position" var2="0"/> |
| 3216 | <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3217 | <text>{@ctr_navbar_rdo=Center navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3218 | <image resource="radio_true"/> |
| 3219 | <action function="set">tw_navbar_button_position=0</action> |
| 3220 | </button> |
| 3221 | |
| 3222 | <button style="radiobutton"> |
| 3223 | <condition var1="tw_navbar_button_position" op="!=" var2="1"/> |
| 3224 | <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3225 | <text>{@lft_navbar_rdo=Left align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3226 | <image resource="radio_false"/> |
| 3227 | <action function="set">tw_navbar_button_position=1</action> |
| 3228 | </button> |
| 3229 | |
| 3230 | <button style="radiobutton"> |
| 3231 | <condition var1="tw_navbar_button_position" var2="1"/> |
| 3232 | <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3233 | <text>{@lft_navbar_rdo=Left align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3234 | <image resource="radio_true"/> |
| 3235 | <action function="set">tw_navbar_button_position=1</action> |
| 3236 | </button> |
| 3237 | |
| 3238 | <button style="radiobutton"> |
| 3239 | <condition var1="tw_navbar_button_position" op="!=" var2="2"/> |
| 3240 | <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3241 | <text>{@rht_navbar_rdo=Right align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3242 | <image resource="radio_false"/> |
| 3243 | <action function="set">tw_navbar_button_position=2</action> |
| 3244 | </button> |
| 3245 | |
| 3246 | <button style="radiobutton"> |
| 3247 | <condition var1="tw_navbar_button_position" var2="2"/> |
| 3248 | <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3249 | <text>{@rht_navbar_rdo=Right align navbar buttons}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3250 | <image resource="radio_true"/> |
| 3251 | <action function="set">tw_navbar_button_position=2</action> |
| 3252 | </button> |
| 3253 | |
| 3254 | <button style="main_button_half_width"> |
| 3255 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3256 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3257 | <action function="restoredefaultsettings"/> |
| 3258 | </button> |
| 3259 | |
| 3260 | <action> |
| 3261 | <touch key="home"/> |
| 3262 | <action function="page">main</action> |
| 3263 | </action> |
| 3264 | |
| 3265 | <action> |
| 3266 | <touch key="back"/> |
| 3267 | <action function="page">main</action> |
| 3268 | </action> |
| 3269 | </page> |
| 3270 | |
| 3271 | <page name="settings_timezone"> |
| 3272 | <template name="page"/> |
| 3273 | |
| 3274 | <text style="text_l"> |
| 3275 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3276 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3277 | </text> |
| 3278 | |
| 3279 | <text style="text_m"> |
| 3280 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3281 | <text>{@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3282 | </text> |
| 3283 | |
| 3284 | <template name="tabs_settings"/> |
| 3285 | |
| 3286 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3287 | <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] | 3288 | </fill> |
| 3289 | |
| 3290 | <listbox> |
| 3291 | <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] | 3292 | <text>{@sel_tz_list=Select Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3293 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3294 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3295 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3296 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3297 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3298 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3299 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3300 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3301 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3302 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3303 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3304 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3305 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3306 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3307 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3308 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3309 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3310 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3311 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3312 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3313 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3314 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3315 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3316 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3317 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3318 | </listbox> |
| 3319 | |
| 3320 | <text style="text_m_accent"> |
| 3321 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3322 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3323 | </text> |
| 3324 | |
| 3325 | <button style="button_quarter_width"> |
| 3326 | <placement x="%col1_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3327 | <text>{@tz_offset_none=None}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3328 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3329 | </button> |
| 3330 | |
| 3331 | <button style="button_quarter_width"> |
| 3332 | <placement x="%btn4_col2_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3333 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3334 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3335 | </button> |
| 3336 | |
| 3337 | <button style="button_quarter_width"> |
| 3338 | <placement x="%btn4_col3_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3339 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3340 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3341 | </button> |
| 3342 | |
| 3343 | <button style="button_quarter_width"> |
| 3344 | <placement x="%btn4_col4_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3345 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3346 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3347 | </button> |
| 3348 | |
| 3349 | <checkbox> |
| 3350 | <placement x="%col1_x_right%" y="%row7_y%"/> |
| 3351 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3352 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3353 | <data variable="tw_time_zone_guidst"/> |
| 3354 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3355 | </checkbox> |
| 3356 | |
| 3357 | <text color="%text_color%"> |
| 3358 | <font resource="font_m"/> |
| 3359 | <placement x="%col1_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3360 | <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3361 | </text> |
| 3362 | |
| 3363 | <button> |
| 3364 | <highlight color="%highlight_color%"/> |
| 3365 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 3366 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3367 | <text>{@set_tz_btn=Set Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3368 | <image resource="main_button_half_width"/> |
| 3369 | <action function="setguitimezone"/> |
| 3370 | </button> |
| 3371 | |
| 3372 | <action> |
| 3373 | <touch key="home"/> |
| 3374 | <action function="page">main</action> |
| 3375 | </action> |
| 3376 | |
| 3377 | <action> |
| 3378 | <touch key="back"/> |
| 3379 | <action function="page">main</action> |
| 3380 | </action> |
| 3381 | </page> |
| 3382 | |
| 3383 | <page name="settings_screen"> |
| 3384 | <template name="page"/> |
| 3385 | |
| 3386 | <text style="text_l"> |
| 3387 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3388 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3389 | </text> |
| 3390 | |
| 3391 | <text style="text_m"> |
| 3392 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3393 | <text>{@settings_screen_hdr=Screen Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3394 | </text> |
| 3395 | |
| 3396 | <template name="tabs_settings"/> |
| 3397 | |
| 3398 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3399 | <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] | 3400 | </fill> |
| 3401 | |
| 3402 | <button> |
| 3403 | <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/> |
| 3404 | <font resource="font_m" color="%text_color%"/> |
| 3405 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3406 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3407 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3408 | <image resource="checkbox_false"/> |
| 3409 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3410 | </button> |
| 3411 | |
| 3412 | <button> |
| 3413 | <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/> |
| 3414 | <font resource="font_m" color="%text_color%"/> |
| 3415 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3416 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3417 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3418 | <image resource="checkbox_true"/> |
| 3419 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3420 | </button> |
| 3421 | |
| 3422 | <slidervalue> |
| 3423 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3424 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3425 | <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3426 | <text>{@screen_to_slider=Screen timeout in seconds:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3427 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3428 | </slidervalue> |
| 3429 | |
| 3430 | <slidervalue> |
| 3431 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3432 | <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3433 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3434 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3435 | <actions> |
| 3436 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3437 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3438 | <action function="compute">tw_brightness/100</action> |
| 3439 | <action function="setbrightness">%tw_brightness%</action> |
| 3440 | </actions> |
| 3441 | </slidervalue> |
| 3442 | |
| 3443 | <action> |
| 3444 | <touch key="home"/> |
| 3445 | <action function="page">main</action> |
| 3446 | </action> |
| 3447 | |
| 3448 | <action> |
| 3449 | <touch key="back"/> |
| 3450 | <action function="page">main</action> |
| 3451 | </action> |
| 3452 | </page> |
| 3453 | |
| 3454 | <page name="settings_vibration"> |
| 3455 | <template name="page"/> |
| 3456 | |
| 3457 | <text style="text_l"> |
| 3458 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3459 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3460 | </text> |
| 3461 | |
| 3462 | <text style="text_m"> |
| 3463 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3464 | <text>{@vibration_hdr=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3465 | </text> |
| 3466 | |
| 3467 | <template name="tabs_settings"/> |
| 3468 | |
| 3469 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3470 | <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] | 3471 | </fill> |
| 3472 | |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3473 | <text style="text_m"> |
| 3474 | <condition var1="tw_disable_haptics" var2="1"/> |
| 3475 | <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> |
| 3476 | <text>{@vibration_disabled=Vibration Disabled for Device}</text> |
| 3477 | </text> |
| 3478 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3479 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3480 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3481 | <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3482 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3483 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3484 | </slidervalue> |
| 3485 | |
| 3486 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3487 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3488 | <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3489 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3490 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3491 | </slidervalue> |
| 3492 | |
| 3493 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3494 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3495 | <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3496 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3497 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3498 | </slidervalue> |
| 3499 | |
| 3500 | <action> |
| 3501 | <touch key="home"/> |
| 3502 | <action function="page">main</action> |
| 3503 | </action> |
| 3504 | |
| 3505 | <action> |
| 3506 | <touch key="back"/> |
| 3507 | <action function="page">main</action> |
| 3508 | </action> |
| 3509 | </page> |
| 3510 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3511 | <page name="settings_language"> |
| 3512 | <template name="page"/> |
| 3513 | |
| 3514 | <text style="text_l"> |
| 3515 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3516 | <text>{@settings_hdr=Settings}</text> |
| 3517 | </text> |
| 3518 | |
| 3519 | <text style="text_m"> |
| 3520 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3521 | <text>{@language_hdr=Language - %tw_language_display%}</text> |
| 3522 | </text> |
| 3523 | |
| 3524 | <template name="tabs_settings"/> |
| 3525 | |
| 3526 | <fill color="%text_color%"> |
| 3527 | <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
| 3528 | </fill> |
| 3529 | |
| 3530 | <listbox> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3531 | <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] | 3532 | <text>{@select_language=Select Language:}</text> |
| 3533 | <icon selected="radio_true" unselected="radio_false" /> |
| 3534 | <data name="tw_language" /> |
| 3535 | </listbox> |
| 3536 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3537 | <button> |
| 3538 | <highlight color="%highlight_color%"/> |
| 3539 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 3540 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3541 | <text>{@set_language_btn=Set Language}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3542 | <image resource="main_button_half_width"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3543 | <action function="setlanguage"></action> |
| 3544 | </button> |
| 3545 | |
| 3546 | <action> |
| 3547 | <touch key="home" /> |
| 3548 | <action function="page">main</action> |
| 3549 | </action> |
| 3550 | |
| 3551 | <action> |
| 3552 | <touch key="back" /> |
| 3553 | <action function="page">settings</action> |
| 3554 | </action> |
| 3555 | </page> |
| 3556 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3557 | <page name="copylog"> |
| 3558 | <template name="page"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3559 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3560 | <text style="text_l"> |
| 3561 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3562 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3563 | </text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3564 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3565 | <checkbox> |
| 3566 | <placement x="%indent%" y="%row4_y%"/> |
| 3567 | <text>{@include_kernel_log=Include Kernel Log}</text> |
| 3568 | <data variable="tw_include_kernel_log" value="1"/> |
| 3569 | </checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3570 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3571 | <slider> |
| 3572 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3573 | <actions> |
| 3574 | <action function="set">tw_back=advanced</action> |
| 3575 | <action function="set">tw_action=copylog</action> |
| 3576 | <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action> |
| 3577 | <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action> |
| 3578 | <action function="page">action_page</action> |
| 3579 | </actions> |
| 3580 | </slider> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3581 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3582 | <action> |
| 3583 | <touch key="home"/> |
| 3584 | <action function="page">main</action> |
| 3585 | </action> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3586 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3587 | <action> |
| 3588 | <touch key="back"/> |
| 3589 | <actions> |
| 3590 | <action function="page">advanced</action> |
| 3591 | </actions> |
| 3592 | </action> |
| 3593 | </page> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3594 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3595 | <page name="advanced"> |
| 3596 | <template name="page"/> |
| 3597 | |
| 3598 | <text style="text_l"> |
| 3599 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3600 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3601 | </text> |
| 3602 | |
| 3603 | <button style="main_button"> |
| 3604 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3605 | <text>{@copy_log_btn=Copy Log}</text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3606 | <action function="page">copylog</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3607 | </button> |
| 3608 | |
| 3609 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3610 | <placement x="%col1_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3611 | <text>{@file_manager_btn=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3612 | <action function="page">filemanagerlist</action> |
| 3613 | </button> |
| 3614 | |
| 3615 | <button style="main_button"> |
| 3616 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3617 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3618 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3619 | </button> |
| 3620 | |
| 3621 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3622 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3623 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3624 | <action function="page">sideload</action> |
| 3625 | </button> |
| 3626 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3627 | <listbox style="advanced_listbox"> |
| 3628 | <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 3629 | <listitem name="{@decrypt_users=Decrypt Users}"> |
| 3630 | <conditions> |
| 3631 | <condition var1="tw_is_fbe" var2="1"/> |
| 3632 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 3633 | </conditions> |
| 3634 | <actions> |
| 3635 | <action function="set">tw_crypto_user_id=</action> |
| 3636 | <action function="page">decrypt_users</action> |
| 3637 | </actions> |
| 3638 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3639 | <listitem name="{@reload_theme_btn=Reload Theme}"> |
| 3640 | <action function="reload"/> |
| 3641 | </listitem> |
| 3642 | <listitem name="{@part_sd_btn=Partition SD Card}"> |
| 3643 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3644 | <actions> |
| 3645 | <action function="set">partitionlisterror=0</action> |
| 3646 | <action function="page">partsdcardsel</action> |
| 3647 | </actions> |
| 3648 | </listitem> |
| 3649 | <listitem name="{@fix_context_btn=Fix Contexts}"> |
| 3650 | <condition var1="tw_has_data_media" var2="1"/> |
| 3651 | <action function="page">fixcontexts</action> |
| 3652 | </listitem> |
| 3653 | <listitem name="{@dumlock_btn=HTC Dumlock}"> |
| 3654 | <condition var1="tw_show_dumlock" var2="1"/> |
| 3655 | <action function="page">htcdumlock</action> |
| 3656 | </listitem> |
| 3657 | <listitem name="{@inject_twrp_btn=Inject TWRP}"> |
| 3658 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3659 | <actions> |
| 3660 | <action function="set">tw_back=advanced</action> |
| 3661 | <action function="set">tw_action=reinjecttwrp</action> |
| 3662 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3663 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3664 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3665 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3666 | <action function="page">confirm_action</action> |
| 3667 | </actions> |
| 3668 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3669 | <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}"> |
| 3670 | <conditions> |
| 3671 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3672 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3673 | </conditions> |
| 3674 | <actions> |
| 3675 | <action function="set">tw_repack_kernel=0</action> |
| 3676 | <action function="page">repackselect</action> |
| 3677 | </actions> |
| 3678 | </listitem> |
| 3679 | <listitem name="{@install_kernel=Install Kernel}"> |
| 3680 | <conditions> |
| 3681 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3682 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3683 | </conditions> |
| 3684 | <actions> |
| 3685 | <action function="set">tw_repack_kernel=1</action> |
| 3686 | <action function="page">repackselect</action> |
| 3687 | </actions> |
| 3688 | </listitem> |
| 3689 | <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}"> |
| 3690 | <conditions> |
| 3691 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3692 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3693 | </conditions> |
| 3694 | <actions> |
| 3695 | <action function="set">tw_back=advanced</action> |
| 3696 | <action function="set">tw_action=fixabrecoverybootloop</action> |
| 3697 | <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action> |
| 3698 | <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action> |
| 3699 | <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action> |
| 3700 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3701 | <action function="page">confirm_action</action> |
| 3702 | </actions> |
| 3703 | </listitem> |
Ethan Yonker | 70e0a39 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3704 | <listitem name="{@reboot_install_app_hdr=Install TWRP App}"> |
| 3705 | <condition var1="tw_app_install_status" var2="1"/> |
| 3706 | <actions> |
| 3707 | <action function="set">tw_back=advanced</action> |
| 3708 | <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action> |
| 3709 | <action function="page">installapp</action> |
| 3710 | </actions> |
| 3711 | </listitem> |
Ethan Yonker | 76bbd3a | 2019-05-10 10:50:04 -0500 | [diff] [blame] | 3712 | <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}"> |
| 3713 | <condition var1="tw_app_installed_in_system" var2="1"/> |
| 3714 | <actions> |
| 3715 | <action function="set">tw_back=advanced</action> |
| 3716 | <action function="set">tw_action=uninstalltwrpsystemapp</action> |
| 3717 | <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action> |
| 3718 | <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action> |
| 3719 | <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action> |
| 3720 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3721 | <action function="page">confirm_action</action> |
| 3722 | </actions> |
| 3723 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3724 | </listbox> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3725 | |
| 3726 | <action> |
| 3727 | <touch key="home"/> |
| 3728 | <action function="page">main</action> |
| 3729 | </action> |
| 3730 | |
| 3731 | <action> |
| 3732 | <touch key="back"/> |
| 3733 | <action function="page">main</action> |
| 3734 | </action> |
| 3735 | </page> |
| 3736 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3737 | <page name="partsdcardsel"> |
| 3738 | <template name="page"/> |
| 3739 | |
| 3740 | <text style="text_l"> |
| 3741 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3742 | <text>{@advanced_hdr=Advanced}</text> |
| 3743 | </text> |
| 3744 | |
| 3745 | <text style="text_m"> |
| 3746 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3747 | <text>{@part_sd_hdr=Partition SD Card}</text> |
| 3748 | </text> |
| 3749 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 3750 | <partitionlist> |
| 3751 | <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] | 3752 | <text>{@sel_storage_list=Select Storage}</text> |
| 3753 | <data name="tw_storage_path"/> |
| 3754 | <listtype name="storage"/> |
| 3755 | </partitionlist> |
| 3756 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 3757 | <text style="text_m_fail"> |
| 3758 | <condition var1="partitionlisterror" var2="1"/> |
| 3759 | <placement x="%center_x%" y="%row14_y%" placement="5"/> |
| 3760 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 3761 | </text> |
| 3762 | |
| 3763 | <button style="main_button_half_width"> |
| 3764 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3765 | <text>{@ok_btn=OK}</text> |
| 3766 | <actions> |
| 3767 | <action function="getpartitiondetails">tw_storage_path</action> |
| 3768 | <action function="page">partsdcardcheck</action> |
| 3769 | </actions> |
| 3770 | </button> |
| 3771 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3772 | <action> |
| 3773 | <touch key="home"/> |
| 3774 | <action function="page">main</action> |
| 3775 | </action> |
| 3776 | |
| 3777 | <action> |
| 3778 | <touch key="back"/> |
| 3779 | <action function="page">advanced</action> |
| 3780 | </action> |
| 3781 | </page> |
| 3782 | |
| 3783 | <page name="partsdcardcheck"> |
| 3784 | <action> |
| 3785 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 3786 | <actions> |
| 3787 | <action function="set">partitionlisterror=0</action> |
| 3788 | <action function="page">partsdcard</action> |
| 3789 | </actions> |
| 3790 | </action> |
| 3791 | |
| 3792 | <action> |
| 3793 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 3794 | <actions> |
| 3795 | <action function="set">partitionlisterror=1</action> |
| 3796 | <action function="page">partsdcardsel</action> |
| 3797 | </actions> |
| 3798 | </action> |
| 3799 | </page> |
| 3800 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3801 | <page name="partsdcard"> |
| 3802 | <template name="page"/> |
| 3803 | |
| 3804 | <text style="text_l"> |
| 3805 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3806 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3807 | </text> |
| 3808 | |
| 3809 | <text style="text_m"> |
| 3810 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3811 | <text>{@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3812 | </text> |
| 3813 | |
| 3814 | <text style="text_m_fail"> |
| 3815 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3816 | <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] | 3817 | </text> |
| 3818 | |
| 3819 | <text style="text_m_fail"> |
| 3820 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3821 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3822 | </text> |
| 3823 | |
| 3824 | <text style="text_m_accent"> |
| 3825 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3826 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3827 | </text> |
| 3828 | |
| 3829 | <text style="text_m"> |
| 3830 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 3831 | <text>%tw_sdext_size%</text> |
| 3832 | </text> |
| 3833 | |
| 3834 | <button style="button_quarter_width"> |
| 3835 | <placement x="%btn4_col3_x_left%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3836 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3837 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3838 | </button> |
| 3839 | |
| 3840 | <button style="button_quarter_width"> |
| 3841 | <placement x="%btn4_col2_x_right%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3842 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3843 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3844 | </button> |
| 3845 | |
| 3846 | <text style="text_m_accent"> |
| 3847 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3848 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3849 | </text> |
| 3850 | |
| 3851 | <text style="text_m"> |
| 3852 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
| 3853 | <text>%tw_swap_size%</text> |
| 3854 | </text> |
| 3855 | |
| 3856 | <button style="button_quarter_width"> |
| 3857 | <placement x="%btn4_col3_x_left%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3858 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3859 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3860 | </button> |
| 3861 | |
| 3862 | <button style="button_quarter_width"> |
| 3863 | <placement x="%btn4_col2_x_right%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3864 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3865 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3866 | </button> |
| 3867 | |
| 3868 | <text style="text_m_accent"> |
| 3869 | <placement x="%center_x%" y="%row13_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3870 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3871 | </text> |
| 3872 | |
| 3873 | <text style="text_m"> |
| 3874 | <placement x="%center_x%" y="%row14_y%" placement="5"/> |
| 3875 | <text>%tw_sdpart_file_system%</text> |
| 3876 | </text> |
| 3877 | |
| 3878 | <button style="button_quarter_width"> |
| 3879 | <placement x="%btn4_col3_x_left%" y="%row13_y%"/> |
| 3880 | <text>EXT3</text> |
| 3881 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 3882 | </button> |
| 3883 | |
| 3884 | <button style="button_quarter_width"> |
| 3885 | <placement x="%btn4_col2_x_right%" y="%row13_y%"/> |
| 3886 | <text>EXT4</text> |
| 3887 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 3888 | </button> |
| 3889 | |
| 3890 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3891 | <text>{@swipe_part_sd=Swipe to Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3892 | <action function="page">partsdcardaction</action> |
| 3893 | <actions> |
| 3894 | <action function="set">tw_back=partsdcard</action> |
| 3895 | <action function="set">tw_action=partitionsd</action> |
| 3896 | <action function="set">tw_has_action2=1</action> |
| 3897 | <action function="set">tw_action2=set</action> |
| 3898 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3899 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 3900 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 3901 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3902 | <action function="page">action_page</action> |
| 3903 | </actions> |
| 3904 | </slider> |
| 3905 | |
| 3906 | <action> |
| 3907 | <touch key="home"/> |
| 3908 | <action function="page">main</action> |
| 3909 | </action> |
| 3910 | |
| 3911 | <action> |
| 3912 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3913 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3914 | </action> |
| 3915 | </page> |
| 3916 | |
| 3917 | <page name="htcdumlock"> |
| 3918 | <template name="page"/> |
| 3919 | |
| 3920 | <text style="text_l"> |
| 3921 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3922 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3923 | </text> |
| 3924 | |
| 3925 | <text style="text_m"> |
| 3926 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3927 | <text>{@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3928 | </text> |
| 3929 | |
| 3930 | <button style="main_button_m"> |
| 3931 | <placement x="%col2_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3932 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3933 | <actions> |
| 3934 | <action function="set">tw_back=htcdumlock</action> |
| 3935 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3936 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 3937 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 3938 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 3939 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3940 | <action function="page">confirm_action</action> |
| 3941 | </actions> |
| 3942 | </button> |
| 3943 | |
| 3944 | <button style="main_button_m"> |
| 3945 | <placement x="%col2_x_left%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3946 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3947 | <actions> |
| 3948 | <action function="set">tw_back=htcdumlock</action> |
| 3949 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3950 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 3951 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 3952 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 3953 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3954 | <action function="page">confirm_action</action> |
| 3955 | </actions> |
| 3956 | </button> |
| 3957 | |
| 3958 | <button style="main_button_m"> |
| 3959 | <placement x="%col2_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3960 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3961 | <actions> |
| 3962 | <action function="set">tw_back=htcdumlock</action> |
| 3963 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3964 | <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action> |
| 3965 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 3966 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 3967 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3968 | <action function="page">confirm_action</action> |
| 3969 | </actions> |
| 3970 | </button> |
| 3971 | |
| 3972 | <action> |
| 3973 | <touch key="home"/> |
| 3974 | <action function="page">main</action> |
| 3975 | </action> |
| 3976 | |
| 3977 | <action> |
| 3978 | <touch key="back"/> |
| 3979 | <action function="page">advanced</action> |
| 3980 | </action> |
| 3981 | </page> |
| 3982 | |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3983 | <page name="repackselect"> |
| 3984 | <template name="page"/> |
| 3985 | |
| 3986 | <text style="text_l"> |
| 3987 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3988 | <text>{@repack_image_hdr=Select Image}</text> |
| 3989 | </text> |
| 3990 | |
| 3991 | <text style="text_m"> |
| 3992 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3993 | <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 3994 | </text> |
| 3995 | |
| 3996 | <template name="sort_options"/> |
| 3997 | |
| 3998 | <fileselector> |
| 3999 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4000 | <text>%tw_zip_location%</text> |
| 4001 | <filter extn=".img" folders="1" files="1"/> |
| 4002 | <path name="tw_zip_location" default="/sdcard"/> |
| 4003 | <data name="tw_filename"/> |
| 4004 | <selection name="tw_file"/> |
| 4005 | </fileselector> |
| 4006 | |
| 4007 | <button style="main_button_half_width_low"> |
| 4008 | <placement x="%col_button_right%" y="%row16a_y%"/> |
| 4009 | <text>{@select_storage_btn=Select Storage}</text> |
| 4010 | <actions> |
| 4011 | <action function="set">tw_back=install</action> |
| 4012 | <action function="overlay">select_storage</action> |
| 4013 | </actions> |
| 4014 | </button> |
| 4015 | |
| 4016 | <action> |
| 4017 | <conditions> |
| 4018 | <condition var1="tw_filename" op="modified"/> |
| 4019 | </conditions> |
| 4020 | <action function="page">repackconfirm</action> |
| 4021 | </action> |
| 4022 | |
| 4023 | <action> |
| 4024 | <touch key="back"/> |
| 4025 | <action function="page">advanced</action> |
| 4026 | </action> |
| 4027 | |
| 4028 | <action> |
| 4029 | <touch key="home"/> |
| 4030 | <action function="page">main</action> |
| 4031 | </action> |
| 4032 | </page> |
| 4033 | |
| 4034 | <page name="repackconfirm"> |
| 4035 | <template name="page"/> |
| 4036 | |
| 4037 | <text style="text_l"> |
| 4038 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4039 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4040 | <text>{@repack_kernel_confirm_hdr=Install Kernel}</text> |
| 4041 | </text> |
| 4042 | |
| 4043 | <text style="text_l"> |
| 4044 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4045 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4046 | <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text> |
| 4047 | </text> |
| 4048 | |
| 4049 | <text style="text_m"> |
| 4050 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4051 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4052 | <text>{@repack_kernel_confirm=Install Kernel?}</text> |
| 4053 | </text> |
| 4054 | |
| 4055 | <text style="text_m"> |
| 4056 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4057 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4058 | <text>{@repack_ramdisk_confirm=Install Recovery?}</text> |
| 4059 | </text> |
| 4060 | |
| 4061 | <text style="text_m_accent"> |
| 4062 | <placement x="%indent%" y="%row2_y%"/> |
| 4063 | <text>{@folder=Folder:}</text> |
| 4064 | </text> |
| 4065 | |
| 4066 | <text style="text_m"> |
| 4067 | <placement x="%indent%" y="%row3_y%"/> |
| 4068 | <text>%tw_zip_location%</text> |
| 4069 | </text> |
| 4070 | |
| 4071 | <text style="text_m_accent"> |
| 4072 | <placement x="%indent%" y="%row4_y%"/> |
| 4073 | <text>{@file=File:}</text> |
| 4074 | </text> |
| 4075 | |
| 4076 | <text style="text_m"> |
| 4077 | <placement x="%indent%" y="%row5_y%"/> |
| 4078 | <text>%tw_file%</text> |
| 4079 | </text> |
| 4080 | |
| 4081 | <checkbox> |
| 4082 | <placement x="%indent%" y="%row7_y%"/> |
| 4083 | <text>{@repack_backup_first=Back up existing image first}</text> |
| 4084 | <data variable="tw_repack_backup_first"/> |
| 4085 | </checkbox> |
| 4086 | |
| 4087 | <button style="main_button_half_width"> |
| 4088 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
| 4089 | <text>{@install_cancel=Do not Install}</text> |
| 4090 | <action function="page">repackselect</action> |
| 4091 | </button> |
| 4092 | |
| 4093 | <slider style="slider_centered"> |
| 4094 | <text>{@swipe_to_install=Swipe to Install}</text> |
| 4095 | <actions> |
| 4096 | <action function="set">tw_back=advanced</action> |
| 4097 | <action function="set">tw_action=repackimage</action> |
| 4098 | <action function="set">tw_action_param=/boot</action> |
| 4099 | <action function="set">tw_action_text1={@installing=Installing...}</action> |
| 4100 | <action function="set">tw_action_text2=</action> |
| 4101 | <action function="set">tw_complete_text1={@install_complete=Install Complete}</action> |
| 4102 | <action function="page">action_page</action> |
| 4103 | </actions> |
| 4104 | </slider> |
| 4105 | |
| 4106 | <action> |
| 4107 | <touch key="back"/> |
| 4108 | <action function="page">repackselect</action> |
| 4109 | </action> |
| 4110 | |
| 4111 | <action> |
| 4112 | <touch key="home"/> |
| 4113 | <action function="page">main</action> |
| 4114 | </action> |
| 4115 | </page> |
| 4116 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4117 | <page name="lock"> |
| 4118 | <background color="%semi_transparent%"/> |
| 4119 | |
| 4120 | <image> |
| 4121 | <image resource="unlock_icon"/> |
| 4122 | <placement x="%center_x%" y="%row8_y%" placement="4"/> |
| 4123 | </image> |
| 4124 | |
| 4125 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4126 | <text>{@swipe_to_unlock=Swipe to Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4127 | <action function="overlay"/> |
| 4128 | </slider> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 4129 | |
| 4130 | <action> |
| 4131 | <touch key="power"/> |
| 4132 | <action function="togglebacklight"/> |
| 4133 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4134 | </page> |
| 4135 | |
| 4136 | <page name="filemanagerlist"> |
| 4137 | <template name="page"/> |
| 4138 | |
| 4139 | <text style="text_l"> |
| 4140 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4141 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4142 | </text> |
| 4143 | |
| 4144 | <text style="text_m"> |
| 4145 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4146 | <text>{@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4147 | </text> |
| 4148 | |
| 4149 | <template name="sort_options"/> |
| 4150 | |
| 4151 | <fileselector> |
| 4152 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4153 | <text>%tw_file_location1%</text> |
| 4154 | <filter folders="1" files="1"/> |
| 4155 | <path name="tw_file_location1" default="/"/> |
| 4156 | <data name="tw_filename1"/> |
| 4157 | <selection name="tw_selection1"/> |
| 4158 | </fileselector> |
| 4159 | |
| 4160 | <button style="main_button_half_width_low"> |
| 4161 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4162 | <text>{@fm_sel_curr_folder=Select Current Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4163 | <actions> |
| 4164 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4165 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4166 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4167 | <action function="page">filemanageroptions</action> |
| 4168 | </actions> |
| 4169 | </button> |
| 4170 | |
| 4171 | <action> |
| 4172 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4173 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4174 | <action function="set">tw_fm_isfolder=0</action> |
| 4175 | </actions> |
| 4176 | </action> |
| 4177 | |
| 4178 | <action> |
| 4179 | <touch key="home"/> |
| 4180 | <action function="page">main</action> |
| 4181 | </action> |
| 4182 | |
| 4183 | <action> |
| 4184 | <touch key="back"/> |
| 4185 | <action function="page">advanced</action> |
| 4186 | </action> |
| 4187 | |
| 4188 | <action> |
| 4189 | <condition var1="tw_filename1" op="modified"/> |
| 4190 | <action function="page">filemanageroptions</action> |
| 4191 | </action> |
| 4192 | </page> |
| 4193 | |
| 4194 | <page name="filemanageroptions"> |
| 4195 | <template name="page"/> |
| 4196 | |
| 4197 | <text style="text_l"> |
| 4198 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4199 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4200 | </text> |
| 4201 | |
| 4202 | <text style="text_m"> |
| 4203 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4204 | <text>{@fm_choose_act=Choose Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4205 | </text> |
| 4206 | |
| 4207 | <text style="text_m_accent"> |
| 4208 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4209 | <text>{@fm_selected=%tw_fm_type% selected:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4210 | </text> |
| 4211 | |
| 4212 | <text style="text_m"> |
| 4213 | <placement x="%col1_x_left%" y="%row3_y%"/> |
| 4214 | <text>%tw_filename1%</text> |
| 4215 | </text> |
| 4216 | |
| 4217 | <button style="main_button_half_width"> |
| 4218 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4219 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4220 | <text>{@fm_copy_file_btn=Copy File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4221 | <actions> |
| 4222 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4223 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4224 | <action function="page">choosedestinationfolder</action> |
| 4225 | </actions> |
| 4226 | </button> |
| 4227 | |
| 4228 | <button style="main_button_half_width"> |
| 4229 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4230 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4231 | <text>{@fm_copy_folder_btn=Copy Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4232 | <actions> |
| 4233 | <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] | 4234 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4235 | <action function="page">choosedestinationfolder</action> |
| 4236 | </actions> |
| 4237 | </button> |
| 4238 | |
| 4239 | <button style="main_button_half_width"> |
| 4240 | <placement x="%col2_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4241 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4242 | <actions> |
| 4243 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4244 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4245 | <action function="page">choosedestinationfolder</action> |
| 4246 | </actions> |
| 4247 | </button> |
| 4248 | |
| 4249 | <button style="main_button_half_width"> |
| 4250 | <placement x="%col2_x_left%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4251 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4252 | <actions> |
| 4253 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4254 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4255 | <action function="set">tw_fm_text2=</action> |
| 4256 | <action function="set">tw_fm_text3=</action> |
| 4257 | <action function="set">tw_include_text3=0</action> |
| 4258 | <action function="set">tw_back=filemanageroptions</action> |
| 4259 | <action function="page">filemanagerconfirm</action> |
| 4260 | </actions> |
| 4261 | </button> |
| 4262 | |
| 4263 | <button style="main_button_half_width"> |
| 4264 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4265 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4266 | <actions> |
| 4267 | <action function="set">tw_filemanager_rename=0000</action> |
| 4268 | <action function="set">tw_fm_text2=</action> |
| 4269 | <action function="set">tw_fm_text3=</action> |
| 4270 | <action function="set">tw_include_text3=0</action> |
| 4271 | <action function="set">tw_back=filemanageroptions</action> |
| 4272 | <action function="page">filemanagerchmod</action> |
| 4273 | </actions> |
| 4274 | </button> |
| 4275 | |
| 4276 | <button style="main_button_half_width"> |
| 4277 | <placement x="%col2_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4278 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4279 | <actions> |
| 4280 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4281 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4282 | <action function="set">tw_fm_text2=</action> |
| 4283 | <action function="set">tw_fm_text3=</action> |
| 4284 | <action function="set">tw_include_text3=0</action> |
| 4285 | <action function="set">tw_back=filemanageroptions</action> |
| 4286 | <action function="page">filemanagerconfirm</action> |
| 4287 | </actions> |
| 4288 | </button> |
| 4289 | |
| 4290 | <button style="main_button_half_width"> |
| 4291 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4292 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4293 | <text>{@fm_rename_file_btn=Rename File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4294 | <actions> |
| 4295 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4296 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4297 | <action function="set">tw_filemanager_command=mv</action> |
| 4298 | <action function="page">filemanagerrenamefile</action> |
| 4299 | </actions> |
| 4300 | </button> |
| 4301 | |
| 4302 | <button style="main_button_half_width"> |
| 4303 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4304 | <placement x="%center_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4305 | <text>{@fm_rename_folder_btn=Rename Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4306 | <actions> |
| 4307 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4308 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4309 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 4310 | <action function="page">filemanagerrenamefolder</action> |
| 4311 | </actions> |
| 4312 | </button> |
| 4313 | |
| 4314 | <action> |
| 4315 | <touch key="home"/> |
| 4316 | <action function="page">main</action> |
| 4317 | </action> |
| 4318 | |
| 4319 | <action> |
| 4320 | <touch key="back"/> |
| 4321 | <action function="page">filemanagerlist</action> |
| 4322 | </action> |
| 4323 | </page> |
| 4324 | |
| 4325 | <page name="choosedestinationfolder"> |
| 4326 | <template name="page"/> |
| 4327 | |
| 4328 | <text style="text_l"> |
| 4329 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4330 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4331 | </text> |
| 4332 | |
| 4333 | <text style="text_m"> |
| 4334 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4335 | <text>{@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4336 | </text> |
| 4337 | |
| 4338 | <template name="sort_options"/> |
| 4339 | |
| 4340 | <fileselector> |
| 4341 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/> |
| 4342 | <text>%tw_file_location2%</text> |
| 4343 | <filter folders="1" files="0"/> |
| 4344 | <path name="tw_file_location2" default="/"/> |
| 4345 | <data name="tw_filename2"/> |
| 4346 | <selection name="tw_selection2"/> |
| 4347 | </fileselector> |
| 4348 | |
| 4349 | <button style="main_button_half_width_low"> |
| 4350 | <placement x="%col_button_right%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4351 | <text>{@fm_sel_curr_folder=Select Current Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4352 | <actions> |
| 4353 | <action function="set">tw_fm_text2=to</action> |
| 4354 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 4355 | <action function="set">tw_include_text3=1</action> |
| 4356 | <action function="set">tw_back=filemanageroptions</action> |
| 4357 | <action function="page">filemanagerconfirm</action> |
| 4358 | </actions> |
| 4359 | </button> |
| 4360 | |
| 4361 | <action> |
| 4362 | <touch key="home"/> |
| 4363 | <action function="page">main</action> |
| 4364 | </action> |
| 4365 | |
| 4366 | <action> |
| 4367 | <touch key="back"/> |
| 4368 | <action function="page">filemanageroptions</action> |
| 4369 | </action> |
| 4370 | </page> |
| 4371 | |
| 4372 | <page name="filemanagerrenamefile"> |
| 4373 | <template name="page"/> |
| 4374 | |
| 4375 | <text style="text_l"> |
| 4376 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4377 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4378 | </text> |
| 4379 | |
| 4380 | <text style="text_m"> |
| 4381 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4382 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4383 | </text> |
| 4384 | |
| 4385 | <text style="text_m_accent"> |
| 4386 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4387 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4388 | </text> |
| 4389 | |
| 4390 | <input> |
| 4391 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4392 | <text>%tw_filemanager_rename%</text> |
| 4393 | <data name="tw_filemanager_rename"/> |
| 4394 | <restrict minlen="1" maxlen="128"/> |
| 4395 | <actions> |
| 4396 | <action function="set">tw_fm_text2=to</action> |
| 4397 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 4398 | <action function="set">tw_include_text3=1</action> |
| 4399 | <action function="set">tw_back=filemanageroptions</action> |
| 4400 | <action function="page">filemanagerconfirm</action> |
| 4401 | </actions> |
| 4402 | </input> |
| 4403 | |
| 4404 | <fill color="%accent_color%"> |
| 4405 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4406 | </fill> |
| 4407 | |
| 4408 | <button style="main_button_half_width_low"> |
| 4409 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4410 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4411 | <action function="page">filemanageroptions</action> |
| 4412 | </button> |
| 4413 | |
| 4414 | <template name="keyboardtemplate"/> |
| 4415 | |
| 4416 | <action> |
| 4417 | <touch key="home"/> |
| 4418 | <action function="page">main</action> |
| 4419 | </action> |
| 4420 | |
| 4421 | <action> |
| 4422 | <touch key="back"/> |
| 4423 | <action function="page">filemanageroptions</action> |
| 4424 | </action> |
| 4425 | </page> |
| 4426 | |
| 4427 | <page name="filemanagerrenamefolder"> |
| 4428 | <template name="page"/> |
| 4429 | |
| 4430 | <text style="text_l"> |
| 4431 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4432 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4433 | </text> |
| 4434 | |
| 4435 | <text style="text_m"> |
| 4436 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4437 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4438 | </text> |
| 4439 | |
| 4440 | <text style="text_m_accent"> |
| 4441 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4442 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4443 | </text> |
| 4444 | |
| 4445 | <input> |
| 4446 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4447 | <text>%tw_filemanager_rename%</text> |
| 4448 | <data name="tw_filemanager_rename"/> |
| 4449 | <restrict minlen="1" maxlen="128"/> |
| 4450 | <actions> |
| 4451 | <action function="set">tw_fm_text2=to</action> |
| 4452 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 4453 | <action function="set">tw_include_text3=1</action> |
| 4454 | <action function="set">tw_back=filemanageroptions</action> |
| 4455 | <action function="page">filemanagerconfirm</action> |
| 4456 | </actions> |
| 4457 | </input> |
| 4458 | |
| 4459 | <fill color="%accent_color%"> |
| 4460 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4461 | </fill> |
| 4462 | |
| 4463 | <button style="main_button_half_width_low"> |
| 4464 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4465 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4466 | <action function="page">filemanageroptions</action> |
| 4467 | </button> |
| 4468 | |
| 4469 | <template name="keyboardtemplate"/> |
| 4470 | |
| 4471 | <action> |
| 4472 | <touch key="home"/> |
| 4473 | <action function="page">main</action> |
| 4474 | </action> |
| 4475 | |
| 4476 | <action> |
| 4477 | <touch key="back"/> |
| 4478 | <action function="page">filemanageroptions</action> |
| 4479 | </action> |
| 4480 | </page> |
| 4481 | |
| 4482 | <page name="filemanagerchmod"> |
| 4483 | <template name="page"/> |
| 4484 | |
| 4485 | <text style="text_l"> |
| 4486 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4487 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4488 | </text> |
| 4489 | |
| 4490 | <text style="text_m"> |
| 4491 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4492 | <text>{@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4493 | </text> |
| 4494 | |
| 4495 | <text style="text_m_accent"> |
| 4496 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4497 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4498 | </text> |
| 4499 | |
| 4500 | <input> |
| 4501 | <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4502 | <text>%tw_filemanager_rename%</text> |
| 4503 | <data name="tw_filemanager_rename"/> |
| 4504 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 4505 | <actions> |
| 4506 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 4507 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 4508 | <action function="set">tw_back=filemanageroptions</action> |
| 4509 | <action function="page">filemanagerconfirm</action> |
| 4510 | </actions> |
| 4511 | </input> |
| 4512 | |
| 4513 | <fill color="%accent_color%"> |
| 4514 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4515 | </fill> |
| 4516 | |
| 4517 | <button style="main_button_half_width_low"> |
| 4518 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4519 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4520 | <action function="page">filemanageroptions</action> |
| 4521 | </button> |
| 4522 | |
| 4523 | <template name="keyboardtemplate"/> |
| 4524 | |
| 4525 | <action> |
| 4526 | <touch key="home"/> |
| 4527 | <action function="page">main</action> |
| 4528 | </action> |
| 4529 | |
| 4530 | <action> |
| 4531 | <touch key="back"/> |
| 4532 | <action function="page">filemanageroptions</action> |
| 4533 | </action> |
| 4534 | </page> |
| 4535 | |
| 4536 | <page name="filemanagerconfirm"> |
| 4537 | <template name="page"/> |
| 4538 | |
| 4539 | <text style="text_l"> |
| 4540 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4541 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4542 | </text> |
| 4543 | |
| 4544 | <text style="text_m"> |
| 4545 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4546 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4547 | </text> |
| 4548 | |
| 4549 | <text style="text_m_accent"> |
| 4550 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4551 | <text>%tw_fm_text1%</text> |
| 4552 | </text> |
| 4553 | |
| 4554 | <text style="text_m"> |
| 4555 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4556 | <text>%tw_filename1%</text> |
| 4557 | </text> |
| 4558 | |
| 4559 | <text style="text_m_accent"> |
| 4560 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4561 | <text>%tw_fm_text2%</text> |
| 4562 | </text> |
| 4563 | |
| 4564 | <text style="text_m"> |
| 4565 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 4566 | <text>%tw_fm_text3%</text> |
| 4567 | </text> |
| 4568 | |
| 4569 | <text style="text_m"> |
| 4570 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4571 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4572 | </text> |
| 4573 | |
| 4574 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4575 | <text>{@swipe_to_confirm=Swipe to Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4576 | <action function="page">filemanageraction</action> |
| 4577 | </slider> |
| 4578 | |
| 4579 | <action> |
| 4580 | <touch key="back"/> |
| 4581 | <action function="page">%tw_back%</action> |
| 4582 | </action> |
| 4583 | |
| 4584 | <action> |
| 4585 | <touch key="home"/> |
| 4586 | <action function="page">main</action> |
| 4587 | </action> |
| 4588 | </page> |
| 4589 | |
| 4590 | <page name="filemanageraction"> |
| 4591 | <template name="page"/> |
| 4592 | |
| 4593 | <text style="text_l"> |
| 4594 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4595 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4596 | </text> |
| 4597 | |
| 4598 | <text style="text_m"> |
| 4599 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4600 | <text>%tw_fm_text1%</text> |
| 4601 | </text> |
| 4602 | |
| 4603 | <template name="console"/> |
| 4604 | |
| 4605 | <template name="progress_bar"/> |
| 4606 | |
| 4607 | <action> |
| 4608 | <conditions> |
| 4609 | <condition var1="tw_operation_state" var2="1"/> |
| 4610 | <condition var1="tw_operation_status" var2="0"/> |
| 4611 | </conditions> |
| 4612 | <actions> |
| 4613 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4614 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4615 | <action function="page">action_complete</action> |
| 4616 | </actions> |
| 4617 | </action> |
| 4618 | |
| 4619 | <action> |
| 4620 | <conditions> |
| 4621 | <condition var1="tw_operation_state" var2="1"/> |
| 4622 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4623 | </conditions> |
| 4624 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4625 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4626 | <action function="page">action_complete</action> |
| 4627 | </actions> |
| 4628 | </action> |
| 4629 | |
| 4630 | <action> |
| 4631 | <condition var1="tw_include_text3" var2="0"/> |
| 4632 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 4633 | </action> |
| 4634 | |
| 4635 | <action> |
| 4636 | <condition var1="tw_include_text3" var2="1"/> |
| 4637 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 4638 | </action> |
| 4639 | </page> |
| 4640 | |
| 4641 | <page name="decrypt"> |
| 4642 | <template name="page"/> |
| 4643 | |
| 4644 | <action> |
| 4645 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 4646 | <action function="page">decrypt_pattern</action> |
| 4647 | </action> |
| 4648 | |
| 4649 | <text style="text_l"> |
| 4650 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4651 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4652 | </text> |
| 4653 | |
| 4654 | <text style="text_m"> |
| 4655 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4656 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4657 | </text> |
| 4658 | |
| 4659 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4660 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4661 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4662 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4663 | </text> |
| 4664 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4665 | <text style="text_m_accent"> |
| 4666 | <condition var1="tw_is_fbe" var2="1"/> |
| 4667 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4668 | <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text> |
| 4669 | </text> |
| 4670 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4671 | <input> |
| 4672 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4673 | <text>%tw_crypto_display%</text> |
| 4674 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4675 | <restrict minlen="1" maxlen="254"/> |
| 4676 | <action function="page">trydecrypt</action> |
| 4677 | </input> |
| 4678 | |
| 4679 | <fill color="%accent_color%"> |
| 4680 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4681 | </fill> |
| 4682 | |
| 4683 | <fill color="%text_fail_color%"> |
| 4684 | <condition var1="tw_password_fail" var2="1"/> |
| 4685 | <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4686 | </fill> |
| 4687 | |
| 4688 | <text style="text_m_fail"> |
| 4689 | <condition var1="tw_password_fail" var2="1"/> |
| 4690 | <placement x="%col1_x_left%" y="%row5_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4691 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4692 | </text> |
| 4693 | |
| 4694 | <button style="main_button_half_width_low"> |
| 4695 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4696 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4697 | <actions> |
| 4698 | <action function="set">tw_page_done=1</action> |
| 4699 | <action function="page">main</action> |
| 4700 | </actions> |
| 4701 | </button> |
| 4702 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4703 | <button style="main_button_half_width_low"> |
| 4704 | <placement x="%indent_right%" y="%row6_y%" placement="1"/> |
| 4705 | <text>{@sel_lang_btn=Select Language}</text> |
| 4706 | <action function="overlay">select_language</action> |
| 4707 | </button> |
| 4708 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4709 | <template name="keyboardtemplate"/> |
| 4710 | </page> |
| 4711 | |
| 4712 | <page name="decrypt_pattern"> |
| 4713 | <template name="page"/> |
| 4714 | |
| 4715 | <text style="text_l"> |
| 4716 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4717 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4718 | </text> |
| 4719 | |
| 4720 | <text style="text_m"> |
| 4721 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4722 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4723 | </text> |
| 4724 | |
| 4725 | <text style="text_m_accent"> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4726 | <placement x="%col2_x_left%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4727 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4728 | </text> |
| 4729 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4730 | <text style="text_m_fail"> |
| 4731 | <condition var1="tw_password_fail" var2="1"/> |
| 4732 | <placement x="%col2_x_left%" y="%row3_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4733 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4734 | </text> |
| 4735 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4736 | <patternpassword> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4737 | <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4738 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 4739 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 4740 | <data name="tw_crypto_password"/> |
| 4741 | <action function="page">trydecrypt</action> |
| 4742 | </patternpassword> |
| 4743 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4744 | <button style="main_button_half_width_low"> |
| 4745 | <placement x="%col_button_right%" y="%row1a_y%"/> |
| 4746 | <text>3x3</text> |
| 4747 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4748 | </button> |
| 4749 | |
| 4750 | <button style="main_button_half_width_low"> |
| 4751 | <placement x="%col_button_right%" y="%row4a_y%"/> |
| 4752 | <text>4x4</text> |
| 4753 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4754 | </button> |
| 4755 | |
| 4756 | <button style="main_button_half_width_low"> |
| 4757 | <placement x="%col_button_right%" y="%row7a_y%"/> |
| 4758 | <text>5x5</text> |
| 4759 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4760 | </button> |
| 4761 | |
| 4762 | <button style="main_button_half_width_low"> |
| 4763 | <placement x="%col_button_right%" y="%row10a_y%"/> |
| 4764 | <text>6x6</text> |
| 4765 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4766 | </button> |
| 4767 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4768 | <button style="main_button_half_width"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4769 | <placement x="%col1_x_right%" y="%row15a_y%"/> |
| 4770 | <text>{@sel_lang_btn=Select Language}</text> |
| 4771 | <action function="overlay">select_language</action> |
| 4772 | </button> |
| 4773 | |
| 4774 | <button style="main_button_half_width"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4775 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4776 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4777 | <actions> |
| 4778 | <action function="set">tw_page_done=1</action> |
| 4779 | <action function="page">main</action> |
| 4780 | </actions> |
| 4781 | </button> |
| 4782 | </page> |
| 4783 | |
| 4784 | <page name="trydecrypt"> |
| 4785 | <template name="page"/> |
| 4786 | |
| 4787 | <text style="text_l"> |
| 4788 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4789 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4790 | </text> |
| 4791 | |
| 4792 | <text style="text_m"> |
| 4793 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4794 | <text>{@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4795 | </text> |
| 4796 | |
| 4797 | <template name="console"/> |
| 4798 | |
| 4799 | <template name="progress_bar"/> |
| 4800 | |
| 4801 | <action> |
| 4802 | <action function="decrypt"/> |
| 4803 | </action> |
| 4804 | |
| 4805 | <action> |
| 4806 | <conditions> |
| 4807 | <condition var1="tw_operation_state" var2="1"/> |
| 4808 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4809 | </conditions> |
| 4810 | <actions> |
| 4811 | <action function="set">tw_password_fail=1</action> |
| 4812 | <action function="page">decrypt</action> |
| 4813 | </actions> |
| 4814 | </action> |
| 4815 | |
| 4816 | <action> |
| 4817 | <conditions> |
| 4818 | <condition var1="tw_operation_state" var2="1"/> |
| 4819 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 4820 | </conditions> |
| 4821 | <actions> |
| 4822 | <action function="set">tw_page_done=1</action> |
| 4823 | <action function="page">main</action> |
| 4824 | </actions> |
| 4825 | </action> |
| 4826 | </page> |
| 4827 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4828 | <page name="terminalcommand"> |
| 4829 | <template name="page"/> |
| 4830 | |
| 4831 | <fill color="%background_color%"> |
| 4832 | <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/> |
| 4833 | </fill> |
| 4834 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4835 | <terminal> |
| 4836 | <condition var1="tw_hide_kb" var2="0"/> |
| 4837 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/> |
| 4838 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4839 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4840 | <terminal> |
| 4841 | <condition var1="tw_hide_kb" var2="1"/> |
| 4842 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/> |
| 4843 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4844 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4845 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4846 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4847 | <object type="fill" color="#000000"> |
| 4848 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 4849 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4850 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4851 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4852 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4853 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4854 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4855 | <image resource="back" /> |
| 4856 | <condition var1="tw_busy" var2="0" /> |
| 4857 | <actions> |
| 4858 | <action function="set">tw_hide_kb=0</action> |
| 4859 | <action function="page">advanced</action> |
| 4860 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4861 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4862 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4863 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4864 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4865 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4866 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 4867 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4868 | <image resource="kb_hide" /> |
| 4869 | <condition var1="tw_busy" var2="0" /> |
| 4870 | <actions> |
| 4871 | <action function="set">tw_hide_kb=1</action> |
| 4872 | <action function="page">terminalcommand</action> |
| 4873 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4874 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4875 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4876 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4877 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4878 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4879 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 4880 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4881 | <image resource="kb_show" /> |
| 4882 | <condition var1="tw_busy" var2="0" /> |
| 4883 | <actions> |
| 4884 | <action function="set">tw_hide_kb=0</action> |
| 4885 | <action function="page">terminalcommand</action> |
| 4886 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4887 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4888 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4889 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4890 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4891 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 4892 | <image resource="home" /> |
| 4893 | <condition var1="tw_busy" var2="0" /> |
| 4894 | <actions> |
| 4895 | <action function="set">tw_hide_kb=0</action> |
| 4896 | <action function="key">home</action> |
| 4897 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4898 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4899 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4900 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4901 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4902 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4903 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 4904 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4905 | <image resource="kb_hide" /> |
| 4906 | <condition var1="tw_busy" var2="0" /> |
| 4907 | <actions> |
| 4908 | <action function="set">tw_hide_kb=1</action> |
| 4909 | <action function="page">terminalcommand</action> |
| 4910 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4911 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4912 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4913 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4914 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4915 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4916 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 4917 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4918 | <image resource="kb_show" /> |
| 4919 | <condition var1="tw_busy" var2="0" /> |
| 4920 | <actions> |
| 4921 | <action function="set">tw_hide_kb=0</action> |
| 4922 | <action function="page">terminalcommand</action> |
| 4923 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4924 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4925 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4926 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4927 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 4928 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4929 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4930 | <image resource="back" /> |
| 4931 | <condition var1="tw_busy" var2="0" /> |
| 4932 | <actions> |
| 4933 | <action function="set">tw_hide_kb=0</action> |
| 4934 | <action function="page">advanced</action> |
| 4935 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4936 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4937 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4938 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4939 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 4940 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4941 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 4942 | <image resource="back" /> |
| 4943 | <condition var1="tw_busy" var2="0" /> |
| 4944 | <actions> |
| 4945 | <action function="set">tw_hide_kb=0</action> |
| 4946 | <action function="page">advanced</action> |
| 4947 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4948 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4949 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4950 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4951 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 4952 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4953 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 4954 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 4955 | <image resource="kb_hide" /> |
| 4956 | <condition var1="tw_busy" var2="0" /> |
| 4957 | <actions> |
| 4958 | <action function="set">tw_hide_kb=1</action> |
| 4959 | <action function="page">terminalcommand</action> |
| 4960 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4961 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4962 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4963 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4964 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 4965 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4966 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 4967 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 4968 | <image resource="kb_show" /> |
| 4969 | <condition var1="tw_busy" var2="0" /> |
| 4970 | <actions> |
| 4971 | <action function="set">tw_hide_kb=0</action> |
| 4972 | <action function="page">terminalcommand</action> |
| 4973 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4974 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4975 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4976 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4977 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 4978 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 4979 | <image resource="home" /> |
| 4980 | <condition var1="tw_busy" var2="0" /> |
| 4981 | <actions> |
| 4982 | <action function="set">tw_hide_kb=0</action> |
| 4983 | <action function="key">home</action> |
| 4984 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4985 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4986 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4987 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4988 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 4989 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4990 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 4991 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 4992 | <image resource="kb_hide" /> |
| 4993 | <condition var1="tw_busy" var2="0" /> |
| 4994 | <actions> |
| 4995 | <action function="set">tw_hide_kb=1</action> |
| 4996 | <action function="page">terminalcommand</action> |
| 4997 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4998 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4999 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5000 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5001 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5002 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5003 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5004 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5005 | <image resource="kb_show" /> |
| 5006 | <condition var1="tw_busy" var2="0" /> |
| 5007 | <actions> |
| 5008 | <action function="set">tw_hide_kb=0</action> |
| 5009 | <action function="page">terminalcommand</action> |
| 5010 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5011 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5012 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5013 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5014 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5015 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5016 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5017 | <image resource="back" /> |
| 5018 | <condition var1="tw_busy" var2="0" /> |
| 5019 | <actions> |
| 5020 | <action function="set">tw_hide_kb=0</action> |
| 5021 | <action function="page">advanced</action> |
| 5022 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5023 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5024 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5025 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5026 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5027 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5028 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5029 | <image resource="back" /> |
| 5030 | <condition var1="tw_busy" var2="0" /> |
| 5031 | <actions> |
| 5032 | <action function="set">tw_hide_kb=0</action> |
| 5033 | <action function="page">advanced</action> |
| 5034 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5035 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5036 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5037 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5038 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5039 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5040 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5041 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5042 | <image resource="kb_hide" /> |
| 5043 | <condition var1="tw_busy" var2="0" /> |
| 5044 | <actions> |
| 5045 | <action function="set">tw_hide_kb=1</action> |
| 5046 | <action function="page">terminalcommand</action> |
| 5047 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5048 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5049 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5050 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5051 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5052 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5053 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5054 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5055 | <image resource="kb_show" /> |
| 5056 | <condition var1="tw_busy" var2="0" /> |
| 5057 | <actions> |
| 5058 | <action function="set">tw_hide_kb=0</action> |
| 5059 | <action function="page">terminalcommand</action> |
| 5060 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5061 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5062 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5063 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5064 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5065 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5066 | <image resource="home" /> |
| 5067 | <condition var1="tw_busy" var2="0" /> |
| 5068 | <actions> |
| 5069 | <action function="set">tw_hide_kb=0</action> |
| 5070 | <action function="key">home</action> |
| 5071 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5072 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5073 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5074 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5075 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5076 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5077 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5078 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5079 | <image resource="kb_hide" /> |
| 5080 | <condition var1="tw_busy" var2="0" /> |
| 5081 | <actions> |
| 5082 | <action function="set">tw_hide_kb=1</action> |
| 5083 | <action function="page">terminalcommand</action> |
| 5084 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5085 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5086 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5087 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5088 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5089 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5090 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5091 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5092 | <image resource="kb_show" /> |
| 5093 | <condition var1="tw_busy" var2="0" /> |
| 5094 | <actions> |
| 5095 | <action function="set">tw_hide_kb=0</action> |
| 5096 | <action function="page">terminalcommand</action> |
| 5097 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5098 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5099 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5100 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5101 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5102 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5103 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5104 | <image resource="back" /> |
| 5105 | <condition var1="tw_busy" var2="0" /> |
| 5106 | <actions> |
| 5107 | <action function="set">tw_hide_kb=0</action> |
| 5108 | <action function="page">advanced</action> |
| 5109 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5110 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5111 | |
| 5112 | <action> |
| 5113 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5114 | <actions> |
| 5115 | <action function="page">main</action> |
| 5116 | <action function="set">tw_hide_kb=0</action> |
| 5117 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5118 | </action> |
| 5119 | |
| 5120 | <action> |
| 5121 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5122 | <actions> |
| 5123 | <action function="page">advanced</action> |
| 5124 | <action function="set">tw_hide_kb=0</action> |
| 5125 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5126 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5127 | |
| 5128 | <object type="action"> |
| 5129 | <touch key="power+voldown" /> |
| 5130 | <action function="screenshot" /> |
| 5131 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5132 | </page> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5133 | |
| 5134 | <page name="fastboot"> |
| 5135 | <template name="page"/> |
| 5136 | |
| 5137 | <text style="text_l"> |
| 5138 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5139 | <text>{@fastboot_button=Fastboot}</text> |
| 5140 | </text> |
| 5141 | |
| 5142 | <template name="console"/> |
| 5143 | |
| 5144 | <template name="progress_bar"/> |
| 5145 | |
| 5146 | <button style="main_button_half_width"> |
| 5147 | <condition var1="tw_enable_fastboot" op="=" var2="1" /> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5148 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5149 | <text>{@enable_adb=Enable ADB}</text> |
| 5150 | <actions> |
| 5151 | <action function="enableadb"/> |
| 5152 | <action function="set">tw_enable_adb=1</action> |
| 5153 | <action function="set">tw_enable_fastboot=0</action> |
| 5154 | </actions> |
| 5155 | </button> |
| 5156 | |
| 5157 | <button style="main_button_half_width"> |
| 5158 | <condition var1="tw_enable_adb" op="=" var2="1" /> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5159 | <placement x="%col1_x_left%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5160 | <text>{@enable_fastboot=Enable Fastboot}</text> |
| 5161 | <actions> |
| 5162 | <action function="enablefastboot"/> |
| 5163 | <action function="set">tw_enable_fastboot=1</action> |
| 5164 | <action function="set">tw_enable_adb=0</action> |
| 5165 | </actions> |
| 5166 | </button> |
| 5167 | |
| 5168 | <button style="main_button_half_width"> |
bigbiff | 7138a0f | 2020-10-24 19:52:25 -0400 | [diff] [blame] | 5169 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5170 | <text>{@reboot_btn=Reboot}</text> |
| 5171 | <action function="page">fastbootreboot</action> |
| 5172 | </button> |
| 5173 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5174 | |
| 5175 | <page name="sideload"> |
| 5176 | <template name="page"/> |
| 5177 | |
| 5178 | <text style="text_l"> |
| 5179 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5180 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5181 | </text> |
| 5182 | |
| 5183 | <text style="text_m"> |
| 5184 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5185 | <text>{@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5186 | </text> |
| 5187 | |
| 5188 | <checkbox> |
| 5189 | <placement x="%col1_x_left%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5190 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5191 | <data variable="tw_wipe_dalvik"/> |
| 5192 | </checkbox> |
| 5193 | |
| 5194 | <checkbox> |
| 5195 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5196 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5197 | <data variable="tw_wipe_cache"/> |
| 5198 | </checkbox> |
| 5199 | |
| 5200 | <slider style="slider_centered"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5201 | <text>{@swipe_to_sideload=Swipe to Start Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5202 | <actions> |
| 5203 | <action function="set">tw_back=advanced</action> |
| 5204 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5205 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5206 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5207 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5208 | <action function="set">tw_has_cancel=1</action> |
| 5209 | <action function="set">tw_show_reboot=1</action> |
| 5210 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5211 | <action function="page">action_page</action> |
| 5212 | </actions> |
| 5213 | </slider> |
| 5214 | |
| 5215 | <action> |
| 5216 | <touch key="home"/> |
| 5217 | <action function="page">main</action> |
| 5218 | </action> |
| 5219 | |
| 5220 | <action> |
| 5221 | <touch key="back"/> |
| 5222 | <action function="page">advanced</action> |
| 5223 | </action> |
| 5224 | </page> |
| 5225 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5226 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5227 | <template name="page"/> |
| 5228 | |
| 5229 | <text style="text_l"> |
| 5230 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5231 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5232 | </text> |
| 5233 | |
| 5234 | <text style="text_m"> |
| 5235 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5236 | <text>{@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5237 | </text> |
| 5238 | |
| 5239 | <text style="text_m_accent"> |
| 5240 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5241 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5242 | </text> |
| 5243 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5244 | <text style="text_m_fail"> |
| 5245 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5246 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5247 | </text> |
| 5248 | |
| 5249 | <text style="text_m_fail"> |
| 5250 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5251 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5252 | </text> |
| 5253 | |
| 5254 | <slider style="slider_centered"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5255 | <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5256 | <actions> |
| 5257 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5258 | <action function="set">tw_action=fixcontexts</action> |
| 5259 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5260 | <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] | 5261 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5262 | <action function="set">tw_show_reboot=1</action> |
| 5263 | <action function="page">action_page</action> |
| 5264 | </actions> |
| 5265 | </slider> |
| 5266 | |
| 5267 | <action> |
| 5268 | <touch key="home"/> |
| 5269 | <action function="page">main</action> |
| 5270 | </action> |
| 5271 | |
| 5272 | <action> |
| 5273 | <touch key="back"/> |
| 5274 | <action function="page">advanced</action> |
| 5275 | </action> |
| 5276 | </page> |
| 5277 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5278 | <page name="slideout"> |
| 5279 | <fill color="%background_color%"> |
| 5280 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5281 | </fill> |
| 5282 | |
| 5283 | <console> |
| 5284 | <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/> |
| 5285 | </console> |
| 5286 | |
| 5287 | <button> |
| 5288 | <fill color="%transparent%"/> |
| 5289 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5290 | <action function="overlay"/> |
| 5291 | </button> |
| 5292 | |
| 5293 | <action> |
Matt Mower | 0c347d5 | 2016-01-21 23:14:39 -0600 | [diff] [blame] | 5294 | <touch key="power"/> |
| 5295 | <action function="togglebacklight"/> |
| 5296 | </action> |
| 5297 | |
| 5298 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5299 | <touch key="power+voldown"/> |
| 5300 | <action function="screenshot"/> |
| 5301 | </action> |
| 5302 | </page> |
| 5303 | |
| 5304 | <page name="select_storage"> |
| 5305 | <fill color="%semi_transparent%"> |
| 5306 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5307 | </fill> |
| 5308 | |
| 5309 | <fill color="%background_color%"> |
| 5310 | <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/> |
| 5311 | </fill> |
| 5312 | |
| 5313 | <partitionlist style="partitionlist_storage"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5314 | <text>{@sel_storage_list=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5315 | <data name="tw_storage_path"/> |
| 5316 | <listtype name="storage"/> |
| 5317 | </partitionlist> |
| 5318 | |
| 5319 | <button style="button_third_width"> |
| 5320 | <placement x="%dialog_button_x%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5321 | <text>{@ok_btn=OK}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5322 | <actions> |
| 5323 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5324 | <action function="overlay"/> |
| 5325 | <action function="page">clear_vars</action> |
| 5326 | </actions> |
| 5327 | </button> |
| 5328 | |
| 5329 | <fill color="#000000"> |
| 5330 | <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/> |
| 5331 | </fill> |
| 5332 | |
| 5333 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5334 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5335 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5336 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5337 | <image resource="back" /> |
| 5338 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5339 | <actions> |
| 5340 | <action function="overlay"/> |
| 5341 | <action function="key">%tw_back%</action> |
| 5342 | </actions> |
| 5343 | </button> |
| 5344 | |
| 5345 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5346 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5347 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5348 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5349 | <image resource="console" /> |
| 5350 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5351 | <action function="overlay">slideout</action> |
| 5352 | </button> |
| 5353 | |
| 5354 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5355 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5356 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5357 | <image resource="home" /> |
| 5358 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5359 | <actions> |
| 5360 | <action function="overlay"/> |
| 5361 | <action function="key">home</action> |
| 5362 | </actions> |
| 5363 | </button> |
| 5364 | |
| 5365 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5366 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5367 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5368 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5369 | <image resource="console" /> |
| 5370 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5371 | <action function="overlay">slideout</action> |
| 5372 | </button> |
| 5373 | |
| 5374 | <button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5375 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5376 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5377 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5378 | <image resource="back" /> |
| 5379 | <condition var1="tw_busy" var2="0" /> |
| 5380 | <actions> |
| 5381 | <action function="overlay"/> |
| 5382 | <action function="key">%tw_back%</action> |
| 5383 | </actions> |
| 5384 | </button> |
| 5385 | |
| 5386 | <button> |
| 5387 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5388 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5389 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5390 | <image resource="back" /> |
| 5391 | <condition var1="tw_busy" var2="0" /> |
| 5392 | <actions> |
| 5393 | <action function="overlay"/> |
| 5394 | <action function="key">%tw_back%</action> |
| 5395 | </actions> |
| 5396 | </button> |
| 5397 | |
| 5398 | <button> |
| 5399 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5400 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5401 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5402 | <image resource="console" /> |
| 5403 | <condition var1="tw_busy" var2="0" /> |
| 5404 | <action function="overlay">slideout</action> |
| 5405 | </button> |
| 5406 | |
| 5407 | <button> |
| 5408 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5409 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5410 | <image resource="home" /> |
| 5411 | <condition var1="tw_busy" var2="0" /> |
| 5412 | <actions> |
| 5413 | <action function="overlay"/> |
| 5414 | <action function="key">home</action> |
| 5415 | </actions> |
| 5416 | </button> |
| 5417 | |
| 5418 | <button> |
| 5419 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5420 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5421 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5422 | <image resource="console" /> |
| 5423 | <condition var1="tw_busy" var2="0" /> |
| 5424 | <action function="overlay">slideout</action> |
| 5425 | </button> |
| 5426 | |
| 5427 | <button> |
| 5428 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5429 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5430 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5431 | <image resource="back" /> |
| 5432 | <condition var1="tw_busy" var2="0" /> |
| 5433 | <actions> |
| 5434 | <action function="overlay"/> |
| 5435 | <action function="key">%tw_back%</action> |
| 5436 | </actions> |
| 5437 | </button> |
| 5438 | |
| 5439 | <button> |
| 5440 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5441 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5442 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5443 | <image resource="back" /> |
| 5444 | <condition var1="tw_busy" var2="0" /> |
| 5445 | <actions> |
| 5446 | <action function="overlay"/> |
| 5447 | <action function="key">%tw_back%</action> |
| 5448 | </actions> |
| 5449 | </button> |
| 5450 | |
| 5451 | <button> |
| 5452 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5453 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5454 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5455 | <image resource="console" /> |
| 5456 | <condition var1="tw_busy" var2="0" /> |
| 5457 | <action function="overlay">slideout</action> |
| 5458 | </button> |
| 5459 | |
| 5460 | <button> |
| 5461 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5462 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5463 | <image resource="home" /> |
| 5464 | <condition var1="tw_busy" var2="0" /> |
| 5465 | <actions> |
| 5466 | <action function="overlay"/> |
| 5467 | <action function="key">home</action> |
| 5468 | </actions> |
| 5469 | </button> |
| 5470 | |
| 5471 | <button> |
| 5472 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5473 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5474 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5475 | <image resource="console" /> |
| 5476 | <condition var1="tw_busy" var2="0" /> |
| 5477 | <action function="overlay">slideout</action> |
| 5478 | </button> |
| 5479 | |
| 5480 | <button> |
| 5481 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5482 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5483 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5484 | <image resource="back" /> |
| 5485 | <condition var1="tw_busy" var2="0" /> |
| 5486 | <actions> |
| 5487 | <action function="overlay"/> |
| 5488 | <action function="key">%tw_back%</action> |
| 5489 | </actions> |
| 5490 | </button> |
| 5491 | |
| 5492 | <action> |
| 5493 | <touch key="power+voldown"/> |
| 5494 | <action function="screenshot"/> |
| 5495 | </action> |
| 5496 | </page> |
| 5497 | |
| 5498 | <page name="select_language"> |
| 5499 | <fill color="%semi_transparent%"> |
| 5500 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5501 | </fill> |
| 5502 | |
| 5503 | <fill color="%background_color%"> |
| 5504 | <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/> |
| 5505 | </fill> |
| 5506 | |
| 5507 | <listbox> |
| 5508 | <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/> |
| 5509 | <text>{@select_language=Select Language:}</text> |
| 5510 | <icon selected="radio_true" unselected="radio_false" /> |
| 5511 | <data name="tw_language" /> |
| 5512 | </listbox> |
| 5513 | |
| 5514 | <button style="button_third_width"> |
| 5515 | <placement x="%dialog_button_x%" y="%row13_y%"/> |
| 5516 | <text>{@ok_btn=OK}</text> |
| 5517 | <actions> |
| 5518 | <action function="overlay"/> |
| 5519 | <action function="setlanguage"></action> |
| 5520 | </actions> |
| 5521 | </button> |
| 5522 | |
| 5523 | <fill color="#000000"> |
| 5524 | <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/> |
| 5525 | </fill> |
| 5526 | |
| 5527 | <button> |
| 5528 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5529 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5530 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5531 | <image resource="back" /> |
| 5532 | <condition var1="tw_busy" var2="0" /> |
| 5533 | <actions> |
| 5534 | <action function="overlay"/> |
| 5535 | <action function="key">%tw_back%</action> |
| 5536 | </actions> |
| 5537 | </button> |
| 5538 | |
| 5539 | <button> |
| 5540 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5541 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5542 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5543 | <image resource="console" /> |
| 5544 | <condition var1="tw_busy" var2="0" /> |
| 5545 | <action function="overlay">slideout</action> |
| 5546 | </button> |
| 5547 | |
| 5548 | <button> |
| 5549 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5550 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5551 | <image resource="home" /> |
| 5552 | <condition var1="tw_busy" var2="0" /> |
| 5553 | <actions> |
| 5554 | <action function="overlay"/> |
| 5555 | <action function="key">home</action> |
| 5556 | </actions> |
| 5557 | </button> |
| 5558 | |
| 5559 | <button> |
| 5560 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5561 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5562 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5563 | <image resource="console" /> |
| 5564 | <condition var1="tw_busy" var2="0" /> |
| 5565 | <action function="overlay">slideout</action> |
| 5566 | </button> |
| 5567 | |
| 5568 | <button> |
| 5569 | <condition var1="tw_navbar_button_position" op="=" var2="0" /> |
| 5570 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5571 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5572 | <image resource="back" /> |
| 5573 | <condition var1="tw_busy" var2="0" /> |
| 5574 | <actions> |
| 5575 | <action function="overlay"/> |
| 5576 | <action function="key">%tw_back%</action> |
| 5577 | </actions> |
| 5578 | </button> |
| 5579 | |
| 5580 | <button> |
| 5581 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5582 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5583 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5584 | <image resource="back" /> |
| 5585 | <condition var1="tw_busy" var2="0" /> |
| 5586 | <actions> |
| 5587 | <action function="overlay"/> |
| 5588 | <action function="key">%tw_back%</action> |
| 5589 | </actions> |
| 5590 | </button> |
| 5591 | |
| 5592 | <button> |
| 5593 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5594 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5595 | <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5596 | <image resource="console" /> |
| 5597 | <condition var1="tw_busy" var2="0" /> |
| 5598 | <action function="overlay">slideout</action> |
| 5599 | </button> |
| 5600 | |
| 5601 | <button> |
| 5602 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5603 | <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5604 | <image resource="home" /> |
| 5605 | <condition var1="tw_busy" var2="0" /> |
| 5606 | <actions> |
| 5607 | <action function="overlay"/> |
| 5608 | <action function="key">home</action> |
| 5609 | </actions> |
| 5610 | </button> |
| 5611 | |
| 5612 | <button> |
| 5613 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5614 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5615 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5616 | <image resource="console" /> |
| 5617 | <condition var1="tw_busy" var2="0" /> |
| 5618 | <action function="overlay">slideout</action> |
| 5619 | </button> |
| 5620 | |
| 5621 | <button> |
| 5622 | <condition var1="tw_navbar_button_position" op="=" var2="1" /> |
| 5623 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5624 | <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" /> |
| 5625 | <image resource="back" /> |
| 5626 | <condition var1="tw_busy" var2="0" /> |
| 5627 | <actions> |
| 5628 | <action function="overlay"/> |
| 5629 | <action function="key">%tw_back%</action> |
| 5630 | </actions> |
| 5631 | </button> |
| 5632 | |
| 5633 | <button> |
| 5634 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5635 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5636 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5637 | <image resource="back" /> |
| 5638 | <condition var1="tw_busy" var2="0" /> |
| 5639 | <actions> |
| 5640 | <action function="overlay"/> |
| 5641 | <action function="key">%tw_back%</action> |
| 5642 | </actions> |
| 5643 | </button> |
| 5644 | |
| 5645 | <button> |
| 5646 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5647 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5648 | <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5649 | <image resource="console" /> |
| 5650 | <condition var1="tw_busy" var2="0" /> |
| 5651 | <action function="overlay">slideout</action> |
| 5652 | </button> |
| 5653 | |
| 5654 | <button> |
| 5655 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5656 | <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5657 | <image resource="home" /> |
| 5658 | <condition var1="tw_busy" var2="0" /> |
| 5659 | <actions> |
| 5660 | <action function="overlay"/> |
| 5661 | <action function="key">home</action> |
| 5662 | </actions> |
| 5663 | </button> |
| 5664 | |
| 5665 | <button> |
| 5666 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5667 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5668 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5669 | <image resource="console" /> |
| 5670 | <condition var1="tw_busy" var2="0" /> |
| 5671 | <action function="overlay">slideout</action> |
| 5672 | </button> |
| 5673 | |
| 5674 | <button> |
| 5675 | <condition var1="tw_navbar_button_position" op="=" var2="2" /> |
| 5676 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5677 | <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" /> |
| 5678 | <image resource="back" /> |
| 5679 | <condition var1="tw_busy" var2="0" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5680 | <actions> |
| 5681 | <action function="overlay"/> |
| 5682 | <action function="key">%tw_back%</action> |
| 5683 | </actions> |
| 5684 | </button> |
| 5685 | |
| 5686 | <action> |
| 5687 | <touch key="power+voldown"/> |
| 5688 | <action function="screenshot"/> |
| 5689 | </action> |
| 5690 | </page> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5691 | |
| 5692 | <page name="decrypt_users"> |
| 5693 | <template name="page"/> |
| 5694 | |
| 5695 | <text style="text_l"> |
| 5696 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5697 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5698 | </text> |
| 5699 | |
| 5700 | <text style="text_m_accent"> |
| 5701 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5702 | <text>{@decrypt_users_selection=Select a user ID to decrypt}</text> |
| 5703 | </text> |
| 5704 | |
| 5705 | <listbox> |
| 5706 | <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/> |
| 5707 | <text>{@select_user=Select User}</text> |
| 5708 | <icon selected="radio_true" unselected="radio_false" /> |
| 5709 | <data name="tw_crypto_user_id" /> |
| 5710 | </listbox> |
| 5711 | |
| 5712 | <button style="main_button_half_width"> |
| 5713 | <placement x="%col2_x_right%" y="%row15a_y%"/> |
| 5714 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5715 | <action function="set">tw_crypto_password=</action> |
| 5716 | <action function="set">tw_password_fail=0</action> |
| 5717 | <action function="page">decrypt</action> |
| 5718 | </button> |
| 5719 | |
| 5720 | <action> |
| 5721 | <touch key="home"/> |
| 5722 | <action function="page">main</action> |
| 5723 | </action> |
| 5724 | |
| 5725 | <action> |
| 5726 | <touch key="back"/> |
| 5727 | <action function="page">advanced</action> |
| 5728 | </action> |
| 5729 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5730 | </pages> |
| 5731 | </recovery> |