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="main_button"> |
| 36 | <highlight color="%highlight_color%"/> |
| 37 | <font resource="font_l" color="%text_button_color%"/> |
| 38 | <image resource="main_button"/> |
| 39 | </style> |
| 40 | |
| 41 | <style name="main_button_full_width"> |
| 42 | <highlight color="%highlight_color%"/> |
| 43 | <font resource="font_l" color="%text_button_color%"/> |
| 44 | <image resource="main_button_full_width"/> |
| 45 | </style> |
| 46 | |
| 47 | <style name="main_button_quarter_width"> |
| 48 | <highlight color="%highlight_color%"/> |
| 49 | <font resource="font_l" color="%text_button_color%"/> |
| 50 | <image resource="main_button_quarter_width"/> |
| 51 | </style> |
| 52 | |
| 53 | <style name="main_button_half_height"> |
| 54 | <highlight color="%highlight_color%"/> |
| 55 | <font resource="font_m" color="%text_button_color%"/> |
| 56 | <image resource="main_button_half_height"/> |
| 57 | </style> |
| 58 | |
| 59 | <style name="main_button_half_height_full_width"> |
| 60 | <highlight color="%highlight_color%"/> |
| 61 | <font resource="font_m" color="%text_button_color%"/> |
| 62 | <image resource="main_button_half_height_full_width"/> |
| 63 | </style> |
| 64 | |
| 65 | <style name="button_third_width"> |
| 66 | <highlight color="%highlight_color%"/> |
| 67 | <font resource="font_m" color="%text_button_color%"/> |
| 68 | <image resource="tab_3"/> |
| 69 | </style> |
| 70 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 71 | <style name="button_navbar"> |
| 72 | <font resource="font_m" color="%text_button_color%"/> |
| 73 | </style> |
| 74 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 75 | <style name="console"> |
| 76 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 77 | <font resource="fixed"/> |
| 78 | </style> |
| 79 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 80 | <style name="terminal"> |
| 81 | <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 82 | <background color="%background_color%"/> |
| 83 | <font resource="fixed" spacing="2" color="%text_color%"/> |
| 84 | </style> |
| 85 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 86 | <style name="fileselector"> |
| 87 | <highlight color="%fileselector_highlight_color%"/> |
| 88 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 89 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 90 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 91 | <sort name="tw_gui_sort_order"/> |
| 92 | <icon folder="folder" file="file"/> |
| 93 | <background color="%background_color%"/> |
| 94 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 95 | </style> |
| 96 | |
| 97 | <style name="listbox"> |
| 98 | <highlight color="%fileselector_highlight_color%"/> |
| 99 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 100 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 101 | <icon selected="radio_true" unselected="radio_false"/> |
| 102 | <background color="%background_color%"/> |
| 103 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 104 | </style> |
| 105 | |
| 106 | <style name="listbox_headerless"> |
| 107 | <highlight color="%fileselector_highlight_color%"/> |
| 108 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 109 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 110 | <icon selected="radio_true" unselected="radio_false"/> |
| 111 | <background color="%background_color%"/> |
| 112 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 113 | </style> |
| 114 | |
| 115 | <style name="listbox_options"> |
| 116 | <background color="%background_color%"/> |
| 117 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 118 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 119 | </style> |
| 120 | |
| 121 | <style name="scrolllist"> |
| 122 | <highlight color="%fileselector_highlight_color%"/> |
| 123 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 124 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 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="partitionlist"> |
| 130 | <highlight color="%fileselector_highlight_color%"/> |
| 131 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 132 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 133 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 134 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 135 | <background color="%background_color%"/> |
| 136 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 137 | </style> |
| 138 | |
| 139 | <style name="partitionlist_summary"> |
| 140 | <highlight color="%fileselector_highlight_color%"/> |
| 141 | <background color="%background_color%"/> |
| 142 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 143 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 144 | </style> |
| 145 | |
| 146 | <style name="partitionlist_headerless_rb"> |
| 147 | <highlight color="%fileselector_highlight_color%"/> |
| 148 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 149 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 150 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 151 | <icon selected="radio_true" unselected="radio_false"/> |
| 152 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 153 | <background color="%background_color%"/> |
| 154 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 155 | </style> |
| 156 | |
| 157 | <style name="partitionlist_headerless_cb"> |
| 158 | <highlight color="%fileselector_highlight_color%"/> |
| 159 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 160 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" 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="checkbox_true" unselected="checkbox_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 | |
| 168 | <style name="slider"> |
| 169 | <placement x="%center_x%" y="%slider_y%"/> |
| 170 | <font resource="font_l" color="%text_color%"/> |
| 171 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 172 | </style> |
| 173 | |
| 174 | <style name="slidervalue"> |
| 175 | <resource handle="handle"/> |
| 176 | <font resource="font_m" color="%text_color%"/> |
| 177 | <colors line="%fileselector_linecolor%"/> |
| 178 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 179 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 180 | |
| 181 | <style name="patternpassword"> |
| 182 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 183 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 184 | </styles> |
| 185 | |
| 186 | <pages> |
| 187 | <page name="main"> |
| 188 | <action> |
| 189 | <actions> |
| 190 | <action function="set">tw_clear_destination=main2</action> |
| 191 | <action function="page">clear_vars</action> |
| 192 | </actions> |
| 193 | </action> |
| 194 | </page> |
| 195 | |
| 196 | <page name="main2"> |
| 197 | <template name="page"/> |
| 198 | |
| 199 | <button style="main_button"> |
| 200 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 201 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 202 | <action function="page">install_type</action> |
| 203 | </button> |
| 204 | |
| 205 | <button style="main_button"> |
| 206 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 207 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 208 | <action function="page">wipe_type1</action> |
| 209 | </button> |
| 210 | |
| 211 | <button style="main_button"> |
| 212 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 213 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 214 | <actions> |
| 215 | <action function="set">tw_back=main</action> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 216 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 217 | </actions> |
| 218 | </button> |
| 219 | |
| 220 | <button style="main_button"> |
| 221 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 222 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 223 | <action function="page">restore</action> |
| 224 | </button> |
| 225 | |
| 226 | <button style="main_button"> |
| 227 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 228 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 229 | <action function="page">reboot</action> |
| 230 | </button> |
| 231 | |
| 232 | <button> |
| 233 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 234 | <highlight color="%highlight_color%"/> |
| 235 | <image resource="q_btn_arrow_right"/> |
| 236 | <action function="page">main3</action> |
| 237 | </button> |
| 238 | </page> |
| 239 | |
| 240 | <page name="main3"> |
| 241 | <template name="page"/> |
| 242 | |
| 243 | <button style="main_button"> |
| 244 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 245 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 246 | <action function="page">mount</action> |
| 247 | </button> |
| 248 | |
| 249 | <button style="main_button"> |
| 250 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 251 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 252 | <action function="page">settings</action> |
| 253 | </button> |
| 254 | |
| 255 | <button style="main_button"> |
| 256 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 257 | <text>{@files_btn=Files}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 258 | <action function="page">filemanagerlist</action> |
| 259 | </button> |
| 260 | |
| 261 | <button style="main_button"> |
| 262 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 263 | <text>{@copy_log_btn=Copy Log}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 264 | <actions> |
| 265 | <action function="set">tw_back=main3</action> |
| 266 | <action function="set">tw_action=copylog</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 267 | <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action> |
| 268 | <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action> |
| 269 | <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action> |
| 270 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 271 | <action function="page">confirm_action</action> |
| 272 | </actions> |
| 273 | </button> |
| 274 | |
| 275 | <button style="main_button"> |
| 276 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 277 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 278 | <action function="page">advanced</action> |
| 279 | </button> |
| 280 | |
| 281 | <button> |
| 282 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 283 | <highlight color="%highlight_color%"/> |
| 284 | <image resource="q_btn_arrow_left"/> |
| 285 | <action function="page">main2</action> |
| 286 | </button> |
| 287 | |
| 288 | <action> |
| 289 | <touch key="back"/> |
| 290 | <action function="page">main2</action> |
| 291 | </action> |
| 292 | |
| 293 | <action> |
| 294 | <touch key="home"/> |
| 295 | <action function="page">main</action> |
| 296 | </action> |
| 297 | </page> |
| 298 | |
| 299 | <page name="install_type"> |
| 300 | <template name="page"/> |
| 301 | |
| 302 | <template name="statusbar"/> |
| 303 | |
| 304 | <text style="text_m"> |
| 305 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 306 | <text>{@install_hdr=Install} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 307 | </text> |
| 308 | |
| 309 | <button style="main_button_full_width"> |
| 310 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 311 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 312 | <actions> |
| 313 | <action function="queueclear"/> |
| 314 | <action function="set">tw_selectimage=0</action> |
| 315 | <action function="page">install</action> |
| 316 | </actions> |
| 317 | </button> |
| 318 | |
| 319 | <button style="main_button_full_width"> |
| 320 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 321 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 322 | <actions> |
| 323 | <action function="queueclear"/> |
| 324 | <action function="set">tw_selectimage=1</action> |
| 325 | <action function="page">install</action> |
| 326 | </actions> |
| 327 | </button> |
| 328 | |
| 329 | <button style="main_button_full_width"> |
| 330 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 331 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 332 | <action function="page">sideload</action> |
| 333 | </button> |
| 334 | |
| 335 | <action> |
| 336 | <touch key="home"/> |
| 337 | <action function="page">main</action> |
| 338 | </action> |
| 339 | |
| 340 | <action> |
| 341 | <touch key="back"/> |
| 342 | <action function="page">main</action> |
| 343 | </action> |
| 344 | </page> |
| 345 | |
| 346 | <page name="install"> |
| 347 | <template name="page"/> |
| 348 | |
| 349 | <template name="statusbar"/> |
| 350 | |
| 351 | <text style="text_m"> |
| 352 | <condition var1="tw_selectimage" var2="0"/> |
| 353 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 354 | <text>{@install_zip_hdr=Install Zip} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 355 | </text> |
| 356 | |
| 357 | <text style="text_m"> |
| 358 | <condition var1="tw_selectimage" var2="1"/> |
| 359 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 360 | <text>{@install_image_hdr=Install Image} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 361 | </text> |
| 362 | |
| 363 | <fileselector> |
| 364 | <condition var1="tw_selectimage" var2="0"/> |
| 365 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 366 | <text>%tw_zip_location%</text> |
| 367 | <filter extn=".zip" folders="1" files="1"/> |
| 368 | <path name="tw_zip_location" default="/sdcard"/> |
| 369 | <data name="tw_filename"/> |
| 370 | <selection name="tw_file"/> |
| 371 | </fileselector> |
| 372 | |
| 373 | <fileselector> |
| 374 | <condition var1="tw_selectimage" var2="1"/> |
| 375 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 376 | <text>%tw_zip_location%</text> |
| 377 | <filter extn=".img" folders="1" files="1"/> |
| 378 | <path name="tw_zip_location" default="/sdcard"/> |
| 379 | <data name="tw_filename"/> |
| 380 | <selection name="tw_file"/> |
| 381 | </fileselector> |
| 382 | |
| 383 | <button> |
| 384 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 385 | <highlight color="%highlight_color%"/> |
| 386 | <image resource="q_btn_storage"/> |
| 387 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 388 | <action function="set">tw_storagetext={@install_hdr=Install} > {@select_storage_hdr=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 389 | <action function="set">tw_back=install</action> |
| 390 | <action function="page">select_storage</action> |
| 391 | </actions> |
| 392 | </button> |
| 393 | |
| 394 | <action> |
| 395 | <conditions> |
| 396 | <condition var1="tw_selectimage" var2="0"/> |
| 397 | <condition var1="tw_filename" op="modified"/> |
| 398 | </conditions> |
| 399 | <actions> |
| 400 | <action function="queuezip"/> |
| 401 | <action function="page">flash_queue</action> |
| 402 | </actions> |
| 403 | </action> |
| 404 | |
| 405 | <action> |
| 406 | <conditions> |
| 407 | <condition var1="tw_selectimage" var2="1"/> |
| 408 | <condition var1="tw_filename" op="modified"/> |
| 409 | </conditions> |
| 410 | <action function="page">flashimage_type</action> |
| 411 | </action> |
| 412 | |
| 413 | <action> |
| 414 | <touch key="back"/> |
| 415 | <action function="page">install_type</action> |
| 416 | </action> |
| 417 | |
| 418 | <action> |
| 419 | <touch key="home"/> |
| 420 | <action function="page">main</action> |
| 421 | </action> |
| 422 | </page> |
| 423 | |
| 424 | <page name="flash_queue"> |
| 425 | <template name="page"/> |
| 426 | |
| 427 | <template name="statusbar"/> |
| 428 | |
| 429 | <text style="text_m"> |
| 430 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 431 | <text>{@install_zip_hdr=Install Zip} > {@queue_hdr=Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 432 | </text> |
| 433 | |
| 434 | <text style="text_m_accent"> |
| 435 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 436 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 437 | </text> |
| 438 | |
| 439 | <text style="text_m"> |
| 440 | <placement x="%indent%" y="%row2_y%"/> |
| 441 | <text>%tw_file%</text> |
| 442 | </text> |
| 443 | |
| 444 | <text style="text_m_accent"> |
| 445 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 446 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 447 | </text> |
| 448 | |
| 449 | <text style="text_m"> |
| 450 | <placement x="%indent%" y="%row5_y%"/> |
| 451 | <text>%tw_zip_location%</text> |
| 452 | </text> |
| 453 | |
| 454 | <text style="text_m"> |
| 455 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 456 | <text>{@zip_back_clear=Press back button to clear the queue.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 457 | </text> |
| 458 | |
| 459 | <button> |
| 460 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 461 | <highlight color="%highlight_color%"/> |
| 462 | <image resource="q_btn_arrow_left"/> |
| 463 | <actions> |
| 464 | <action function="queueclear"/> |
| 465 | <action function="page">install</action> |
| 466 | </actions> |
| 467 | </button> |
| 468 | |
| 469 | <button> |
| 470 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 471 | <highlight color="%highlight_color%"/> |
| 472 | <image resource="q_btn_addzip"/> |
| 473 | <action function="page">install</action> |
| 474 | </button> |
| 475 | |
| 476 | <button> |
| 477 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 478 | <highlight color="%highlight_color%"/> |
| 479 | <image resource="q_btn_accept"/> |
| 480 | <action function="page">flash_confirm</action> |
| 481 | </button> |
| 482 | |
| 483 | <button> |
| 484 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 485 | <highlight color="%highlight_color%"/> |
| 486 | <image resource="q_btn_arrow_right"/> |
| 487 | <action function="page">flash_options</action> |
| 488 | </button> |
| 489 | |
| 490 | <action> |
| 491 | <touch key="back"/> |
| 492 | <actions> |
| 493 | <action function="queueclear"/> |
| 494 | <action function="page">install</action> |
| 495 | </actions> |
| 496 | </action> |
| 497 | |
| 498 | <action> |
| 499 | <touch key="home"/> |
| 500 | <action function="page">main</action> |
| 501 | </action> |
| 502 | </page> |
| 503 | |
| 504 | <page name="flash_options"> |
| 505 | <template name="page"/> |
| 506 | |
| 507 | <template name="statusbar"/> |
| 508 | |
| 509 | <text style="text_m"> |
| 510 | <condition var1="tw_selectimage" var2="0"/> |
| 511 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 512 | <text>{@install_zip_hdr=Install Zip} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 513 | </text> |
| 514 | |
| 515 | <checkbox> |
| 516 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 517 | <text>{@zip_sig_chk=Zip file signature verification}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 518 | <data variable="tw_signed_zip_verify"/> |
| 519 | </checkbox> |
| 520 | |
| 521 | <checkbox> |
| 522 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 523 | <placement x="%indent%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 524 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 525 | <data variable="tw_inject_after_zip"/> |
| 526 | </checkbox> |
| 527 | |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 528 | <checkbox> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 529 | <placement x="%indent%" y="%row4_y%" /> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 530 | <text>{@install_reboot_chk=Reboot after installation is complete}</text> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 531 | <data variable="tw_install_reboot" /> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 532 | </checkbox> |
| 533 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 534 | <button> |
| 535 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 536 | <highlight color="%highlight_color%"/> |
| 537 | <image resource="q_btn_arrow_left"/> |
| 538 | <action function="page">flash_queue</action> |
| 539 | </button> |
| 540 | |
| 541 | <button> |
| 542 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 543 | <highlight color="%highlight_color%"/> |
| 544 | <image resource="q_btn_accept_transp"/> |
| 545 | <action function="page">flash_confirm</action> |
| 546 | </button> |
| 547 | |
| 548 | <action> |
| 549 | <touch key="back"/> |
| 550 | <action function="page">flash_queue</action> |
| 551 | </action> |
| 552 | |
| 553 | <action> |
| 554 | <touch key="home"/> |
| 555 | <action function="page">main</action> |
| 556 | </action> |
| 557 | </page> |
| 558 | |
| 559 | <page name="flash_confirm"> |
| 560 | <template name="page"/> |
| 561 | |
| 562 | <template name="statusbar"/> |
| 563 | |
| 564 | <text style="text_m"> |
| 565 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 566 | <text>{@install_zip_hdr=Install Zip} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 567 | </text> |
| 568 | |
| 569 | <text style="text_m_accent"> |
| 570 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 571 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 572 | </text> |
| 573 | |
| 574 | <text style="text_m"> |
| 575 | <placement x="%indent%" y="%row2_y%"/> |
| 576 | <text>%tw_file%</text> |
| 577 | </text> |
| 578 | |
| 579 | <button> |
| 580 | <fill color="%transparent%"/> |
| 581 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 582 | <action function="page">flash_queue</action> |
| 583 | </button> |
| 584 | |
| 585 | <text style="text_m_accent"> |
| 586 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 587 | <text>{@zip_queue=Queue:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 588 | </text> |
| 589 | |
| 590 | <text style="text_m"> |
| 591 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 592 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 593 | </text> |
| 594 | |
| 595 | <button> |
| 596 | <fill color="%transparent%"/> |
| 597 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 598 | <action function="page">flash_queue</action> |
| 599 | </button> |
| 600 | |
| 601 | <listbox style="listbox_options"> |
| 602 | <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 603 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 604 | <data variable="tw_signed_zip_verify"/> |
| 605 | </listitem> |
| 606 | </listbox> |
| 607 | |
| 608 | <text style="text_m_accent"> |
| 609 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 610 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 611 | </text> |
| 612 | |
| 613 | <text style="text_m"> |
| 614 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 615 | <condition var1="tw_inject_after_zip" var2="1"/> |
| 616 | <placement x="%indent%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 617 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 618 | </text> |
| 619 | |
| 620 | <button> |
| 621 | <fill color="%transparent%"/> |
| 622 | <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/> |
| 623 | <action function="page">flash_options</action> |
| 624 | </button> |
| 625 | |
| 626 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 627 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 628 | <action function="flash">flash_zip</action> |
| 629 | </slider> |
| 630 | |
| 631 | <action> |
| 632 | <touch key="back"/> |
| 633 | <actions> |
| 634 | <action function="cancelzip"/> |
| 635 | <action function="page">install</action> |
| 636 | </actions> |
| 637 | </action> |
| 638 | |
| 639 | <action> |
| 640 | <touch key="home"/> |
| 641 | <action function="page">main</action> |
| 642 | </action> |
| 643 | </page> |
| 644 | |
| 645 | <page name="flash_zip"> |
| 646 | <template name="page"/> |
| 647 | |
| 648 | <template name="statusbar"/> |
| 649 | |
| 650 | <text style="text_m"> |
| 651 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 652 | <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 653 | </text> |
| 654 | |
| 655 | <template name="console"/> |
| 656 | |
| 657 | <template name="progress_bar"/> |
| 658 | |
| 659 | <action> |
| 660 | <condition var1="tw_operation_state" var2="1"/> |
| 661 | <action function="page">flash_done</action> |
| 662 | </action> |
| 663 | </page> |
| 664 | |
| 665 | <page name="flash_done"> |
| 666 | <template name="page"/> |
| 667 | |
| 668 | <template name="statusbar"/> |
| 669 | |
| 670 | <text style="text_m_fail"> |
| 671 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 672 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 673 | <text>{@install_failed=Installation Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 674 | </text> |
| 675 | |
| 676 | <text style="text_m"> |
| 677 | <condition var1="tw_operation_status" var2="0"/> |
| 678 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 679 | <text>{@install_successful=Installation Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 680 | </text> |
| 681 | |
| 682 | <template name="console"/> |
| 683 | |
| 684 | <button style="main_button_half_height"> |
| 685 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 686 | <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 687 | <actions> |
| 688 | <action function="set">tw_back=flash_done</action> |
| 689 | <action function="set">tw_action=wipe</action> |
| 690 | <action function="set">tw_action_param=/cache</action> |
| 691 | <action function="set">tw_has_action2=1</action> |
| 692 | <action function="set">tw_action2=wipe</action> |
| 693 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 694 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 695 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 696 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
| 697 | <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 698 | <action function="page">confirm_action</action> |
| 699 | </actions> |
| 700 | </button> |
| 701 | |
| 702 | <button style="main_button_half_height"> |
| 703 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 704 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 705 | <actions> |
| 706 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 707 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 708 | </actions> |
| 709 | </button> |
| 710 | |
| 711 | <action> |
| 712 | <touch key="back"/> |
| 713 | <actions> |
| 714 | <action function="set">tw_clear_destination=install_type</action> |
| 715 | <action function="page">clear_vars</action> |
| 716 | </actions> |
| 717 | </action> |
| 718 | |
| 719 | <action> |
| 720 | <touch key="home"/> |
| 721 | <actions> |
| 722 | <action function="set">tw_clear_destination=main2</action> |
| 723 | <action function="page">clear_vars</action> |
| 724 | </actions> |
| 725 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 726 | |
| 727 | <action> |
| 728 | <conditions> |
| 729 | <condition var1="tw_install_reboot" var2="1"/> |
| 730 | <condition var1="tw_operation_status" var2="0"/> |
| 731 | <condition var1="tw_reboot_system" var2="1"/> |
| 732 | </conditions> |
| 733 | <actions> |
| 734 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 735 | <action function="page">flash_sleep_and_reboot</action> |
| 736 | </actions> |
| 737 | </action> |
| 738 | </page> |
| 739 | |
| 740 | <page name="flash_sleep_and_reboot"> |
| 741 | <template name="page"/> |
| 742 | |
| 743 | <template name="statusbar"/> |
| 744 | |
| 745 | <text style="text_m"> |
| 746 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 747 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 748 | </text> |
| 749 | |
| 750 | <template name="console"/> |
| 751 | |
| 752 | <template name="progress_bar"/> |
| 753 | |
| 754 | <button style="main_button_half_height"> |
| 755 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 756 | <placement x="%col1_x_right%" y="%row13_y%"/> |
| 757 | <text>{@cancel_btn=Cancel}</text> |
| 758 | <actions> |
| 759 | <action function="set">tw_install_reboot=0</action> |
| 760 | <action function="page">flash_done</action> |
| 761 | </actions> |
| 762 | </button> |
| 763 | |
| 764 | <action> |
| 765 | <conditions> |
| 766 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 767 | <condition var1="tw_install_reboot" var2="1"/> |
| 768 | </conditions> |
| 769 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 770 | </action> |
| 771 | |
| 772 | <action> |
| 773 | <conditions> |
| 774 | <condition var1="tw_sleep" var2="0"/> |
| 775 | <condition var1="tw_install_reboot" var2="1"/> |
| 776 | </conditions> |
| 777 | <actions> |
| 778 | <action function="sleep">50000</action> |
| 779 | <action function="set">tw_back=main2</action> |
| 780 | <action function="page">reboot_system_routine</action> |
| 781 | </actions> |
| 782 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 783 | </page> |
| 784 | |
| 785 | <page name="flashimage_type"> |
| 786 | <template name="page"/> |
| 787 | |
| 788 | <template name="statusbar"/> |
| 789 | |
| 790 | <text style="text_m"> |
| 791 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 792 | <text>{@install_image_hdr=Install Image} > {@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 793 | </text> |
| 794 | |
| 795 | <partitionlist style="partitionlist_headerless_rb"> |
| 796 | <data name="tw_flash_partition"/> |
| 797 | <listtype name="flashimg"/> |
| 798 | </partitionlist> |
| 799 | |
| 800 | <button> |
| 801 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 802 | <highlight color="%highlight_color%"/> |
| 803 | <image resource="q_btn_arrow_left"/> |
| 804 | <action function="page">install</action> |
| 805 | </button> |
| 806 | |
| 807 | <button> |
| 808 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 809 | <highlight color="%highlight_color%"/> |
| 810 | <image resource="q_btn_accept_transp"/> |
| 811 | <action function="page">flashimage_confirm</action> |
| 812 | </button> |
| 813 | |
| 814 | <action> |
| 815 | <touch key="back"/> |
| 816 | <action function="page">install</action> |
| 817 | </action> |
| 818 | |
| 819 | <action> |
| 820 | <touch key="home"/> |
| 821 | <action function="page">main</action> |
| 822 | </action> |
| 823 | </page> |
| 824 | |
| 825 | <page name="flashimage_confirm"> |
| 826 | <template name="page"/> |
| 827 | |
| 828 | <template name="statusbar"/> |
| 829 | |
| 830 | <text style="text_m"> |
| 831 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 832 | <text>{@install_image_hdr=Install Image} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 833 | </text> |
| 834 | |
| 835 | <text style="text_m_accent"> |
| 836 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 837 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 838 | </text> |
| 839 | |
| 840 | <text style="text_m"> |
| 841 | <placement x="%indent%" y="%row2_y%"/> |
| 842 | <text>%tw_file%</text> |
| 843 | </text> |
| 844 | |
| 845 | <button> |
| 846 | <fill color="%transparent%"/> |
| 847 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 848 | <action function="page">install</action> |
| 849 | </button> |
| 850 | |
| 851 | <text style="text_m_accent"> |
| 852 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 853 | <text>{@target_partition=Target Partition:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 854 | </text> |
| 855 | |
| 856 | <text style="text_m"> |
| 857 | <placement x="%indent%" y="%row5_y%"/> |
| 858 | <text>%tw_flash_partition%</text> |
| 859 | </text> |
| 860 | |
| 861 | <button> |
| 862 | <fill color="%transparent%"/> |
| 863 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 864 | <action function="page">flashimage_type</action> |
| 865 | </button> |
| 866 | |
| 867 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 868 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 869 | <actions> |
| 870 | <action function="set">tw_back=flashimage_confirm</action> |
| 871 | <action function="set">tw_action=flashimage</action> |
| 872 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 873 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 874 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 875 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 876 | <action function="page">action_page</action> |
| 877 | </actions> |
| 878 | <action function="flashimage"/> |
| 879 | </slider> |
| 880 | |
| 881 | <action> |
| 882 | <touch key="back"/> |
| 883 | <actions> |
| 884 | <action function="set">tw_clear_destination=install</action> |
| 885 | <action function="page">clear_vars</action> |
| 886 | </actions> |
| 887 | </action> |
| 888 | |
| 889 | <action> |
| 890 | <touch key="home"/> |
| 891 | <actions> |
| 892 | <action function="set">tw_clear_destination=main2</action> |
| 893 | <action function="page">clear_vars</action> |
| 894 | </actions> |
| 895 | </action> |
| 896 | </page> |
| 897 | |
| 898 | <page name="clear_vars"> |
| 899 | <action> |
| 900 | <action function="set">tw_operation_state=0</action> |
| 901 | <action function="set">tw_text1=</action> |
| 902 | <action function="set">tw_text2=</action> |
| 903 | <action function="set">tw_text3=</action> |
| 904 | <action function="set">tw_text4=</action> |
| 905 | <action function="set">tw_action_text1=</action> |
| 906 | <action function="set">tw_action_text2=</action> |
| 907 | <action function="set">tw_action_param=</action> |
| 908 | <action function="set">tw_has_action2=0</action> |
| 909 | <action function="set">tw_action2=</action> |
| 910 | <action function="set">tw_action2_param=</action> |
| 911 | <action function="set">tw_has_cancel=0</action> |
| 912 | <action function="set">tw_cancel_action=</action> |
| 913 | <action function="set">tw_cancel_param=</action> |
| 914 | <action function="set">tw_show_exclamation=0</action> |
| 915 | <action function="set">tw_show_reboot=0</action> |
| 916 | <action function="page">%tw_clear_destination%</action> |
| 917 | </action> |
| 918 | </page> |
| 919 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 920 | <page name="reboot_system_routine"> |
| 921 | <action> |
| 922 | <action function="set">tw_back=main2</action> |
| 923 | <action function="set">tw_action=reboot</action> |
| 924 | <action function="set">tw_action_param=system</action> |
| 925 | <action function="set">tw_has_action2=0</action> |
| 926 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 927 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 928 | <action function="set">tw_text3=</action> |
| 929 | <action function="set">tw_text4=</action> |
| 930 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 931 | <action function="set">tw_action_text2=</action> |
| 932 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 933 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
| 934 | <action function="page">rebootcheck</action> |
| 935 | </action> |
| 936 | </page> |
| 937 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 938 | <page name="confirm_action"> |
| 939 | <template name="page"/> |
| 940 | |
| 941 | <template name="statusbar"/> |
| 942 | |
| 943 | <text style="text_m"> |
| 944 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 945 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 946 | </text> |
| 947 | |
| 948 | <text style="text_m_accent"> |
| 949 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 950 | <text>%tw_text1%</text> |
| 951 | </text> |
| 952 | |
| 953 | <text style="text_m_accent"> |
| 954 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 955 | <text>%tw_text2%</text> |
| 956 | </text> |
| 957 | |
| 958 | <text style="text_m"> |
| 959 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 960 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 961 | <text>%tw_text3%</text> |
| 962 | </text> |
| 963 | |
| 964 | <text style="text_m"> |
| 965 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 966 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 967 | <text>%tw_text4%</text> |
| 968 | </text> |
| 969 | |
| 970 | <text style="text_m_fail"> |
| 971 | <condition var1="tw_action" var2="changefilesystem"/> |
| 972 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 973 | <text>%tw_text3%</text> |
| 974 | </text> |
| 975 | |
| 976 | <text style="text_m_fail"> |
| 977 | <condition var1="tw_action" var2="changefilesystem"/> |
| 978 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 979 | <text>%tw_text4%</text> |
| 980 | </text> |
| 981 | |
| 982 | <text style="text_m"> |
| 983 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 984 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 985 | </text> |
| 986 | |
| 987 | <slider> |
| 988 | <text>%tw_slider_text%</text> |
| 989 | <action function="page">action_page</action> |
| 990 | </slider> |
| 991 | |
| 992 | <action> |
| 993 | <touch key="back"/> |
| 994 | <actions> |
| 995 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 996 | <action function="page">clear_vars</action> |
| 997 | </actions> |
| 998 | </action> |
| 999 | |
| 1000 | <action> |
| 1001 | <touch key="home"/> |
| 1002 | <action function="page">main</action> |
| 1003 | </action> |
| 1004 | </page> |
| 1005 | |
| 1006 | <page name="action_page"> |
| 1007 | <template name="page"/> |
| 1008 | |
| 1009 | <template name="statusbar"/> |
| 1010 | |
| 1011 | <text style="text_m"> |
| 1012 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 1013 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 1014 | </text> |
| 1015 | |
| 1016 | <template name="console"/> |
| 1017 | |
| 1018 | <template name="progress_bar"/> |
| 1019 | |
| 1020 | <button style="main_button_half_height"> |
| 1021 | <condition var1="tw_has_cancel" var2="1"/> |
| 1022 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1023 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1024 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 1025 | </button> |
| 1026 | |
| 1027 | <action> |
| 1028 | <condition var1="tw_operation_state" var2="1"/> |
| 1029 | <actions> |
| 1030 | <action function="page">action_complete</action> |
| 1031 | </actions> |
| 1032 | </action> |
| 1033 | |
| 1034 | <action> |
| 1035 | <condition var1="tw_has_action2" var2="0"/> |
| 1036 | <actions> |
| 1037 | <action function="%tw_action%">%tw_action_param%</action> |
| 1038 | </actions> |
| 1039 | </action> |
| 1040 | |
| 1041 | <action> |
| 1042 | <condition var1="tw_has_action2" var2="1"/> |
| 1043 | <actions> |
| 1044 | <action function="%tw_action%">%tw_action_param%</action> |
| 1045 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1046 | </actions> |
| 1047 | </action> |
| 1048 | </page> |
| 1049 | |
| 1050 | <page name="singleaction_page"> |
| 1051 | <template name="page"/> |
| 1052 | |
| 1053 | <template name="statusbar"/> |
| 1054 | |
| 1055 | <text style="text_m"> |
| 1056 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 1057 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 1058 | </text> |
| 1059 | |
| 1060 | <template name="console"/> |
| 1061 | |
| 1062 | <template name="progress_bar"/> |
| 1063 | |
| 1064 | <action> |
| 1065 | <condition var1="tw_operation_state" var2="1"/> |
| 1066 | <actions> |
| 1067 | <action function="set">tw_page_done=1</action> |
| 1068 | </actions> |
| 1069 | </action> |
| 1070 | |
| 1071 | <action> |
| 1072 | <condition var1="tw_has_action2" var2="0"/> |
| 1073 | <actions> |
| 1074 | <action function="%tw_action%">%tw_action_param%</action> |
| 1075 | </actions> |
| 1076 | </action> |
| 1077 | |
| 1078 | <action> |
| 1079 | <condition var1="tw_has_action2" var2="1"/> |
| 1080 | <actions> |
| 1081 | <action function="%tw_action%">%tw_action_param%</action> |
| 1082 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1083 | </actions> |
| 1084 | </action> |
| 1085 | </page> |
| 1086 | |
| 1087 | <page name="action_complete"> |
| 1088 | <template name="page"/> |
| 1089 | |
| 1090 | <template name="statusbar"/> |
| 1091 | |
| 1092 | <text style="text_m_fail"> |
| 1093 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 1094 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1095 | <text>%tw_complete_text1% {@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1096 | </text> |
| 1097 | |
| 1098 | <text style="text_m"> |
| 1099 | <condition var1="tw_operation_status" var2="0"/> |
| 1100 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1101 | <text>%tw_complete_text1% {@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1102 | </text> |
| 1103 | |
| 1104 | <template name="console"/> |
| 1105 | |
| 1106 | <button style="main_button_half_height"> |
| 1107 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1108 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1109 | <actions> |
| 1110 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1111 | <action function="page">clear_vars</action> |
| 1112 | </actions> |
| 1113 | </button> |
| 1114 | |
| 1115 | <button style="main_button_half_height"> |
| 1116 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1117 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1118 | <actions> |
| 1119 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1120 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1121 | </actions> |
| 1122 | </button> |
| 1123 | |
| 1124 | <action> |
| 1125 | <touch key="home"/> |
| 1126 | <actions> |
| 1127 | <action function="set">tw_clear_destination=main2</action> |
| 1128 | <action function="page">clear_vars</action> |
| 1129 | </actions> |
| 1130 | </action> |
| 1131 | |
| 1132 | <action> |
| 1133 | <touch key="back"/> |
| 1134 | <actions> |
| 1135 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1136 | <action function="page">clear_vars</action> |
| 1137 | </actions> |
| 1138 | </action> |
| 1139 | </page> |
| 1140 | |
| 1141 | <page name="filecheck"> |
| 1142 | <action> |
| 1143 | <action function="fileexists">%tw_filecheck%</action> |
| 1144 | </action> |
| 1145 | |
| 1146 | <action> |
| 1147 | <conditions> |
| 1148 | <condition var1="tw_operation_state" var2="1"/> |
| 1149 | <condition var1="tw_operation_status" var2="0"/> |
| 1150 | </conditions> |
| 1151 | <actions> |
| 1152 | <action function="set">tw_fileexists=1</action> |
| 1153 | <action function="page">%tw_existpage%</action> |
| 1154 | </actions> |
| 1155 | </action> |
| 1156 | |
| 1157 | <action> |
| 1158 | <conditions> |
| 1159 | <condition var1="tw_operation_state" var2="1"/> |
| 1160 | <condition var1="tw_operation_status" var2="1"/> |
| 1161 | </conditions> |
| 1162 | <actions> |
| 1163 | <action function="set">tw_fileexists=0</action> |
| 1164 | <action function="page">%tw_notexistpage%</action> |
| 1165 | </actions> |
| 1166 | </action> |
| 1167 | </page> |
| 1168 | |
| 1169 | <page name="rebootcheck"> |
| 1170 | <action> |
| 1171 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
| 1172 | <action function="reboot">%tw_action_param%</action> |
| 1173 | </action> |
| 1174 | |
| 1175 | <action> |
| 1176 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1177 | <action function="page">confirm_action</action> |
| 1178 | </action> |
| 1179 | </page> |
| 1180 | |
| 1181 | <page name="wipe_type1"> |
| 1182 | <template name="page"/> |
| 1183 | |
| 1184 | <template name="statusbar"/> |
| 1185 | |
| 1186 | <text style="text_m"> |
| 1187 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1188 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1189 | </text> |
| 1190 | |
| 1191 | <button style="main_button_full_width"> |
| 1192 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1193 | <text>{@factory_reset_btn=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1194 | <action function="page">wipe</action> |
| 1195 | </button> |
| 1196 | |
| 1197 | <button style="main_button_full_width"> |
| 1198 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1199 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1200 | <actions> |
| 1201 | <action function="set">partitionlisterror=0</action> |
| 1202 | <action function="page">advancedwipe</action> |
| 1203 | </actions> |
| 1204 | </button> |
| 1205 | |
| 1206 | <button> |
| 1207 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1208 | <highlight color="%highlight_color%"/> |
| 1209 | <image resource="q_btn_arrow_right"/> |
| 1210 | <action function="page">wipe_type2</action> |
| 1211 | </button> |
| 1212 | |
| 1213 | <action> |
| 1214 | <touch key="home"/> |
| 1215 | <action function="page">main</action> |
| 1216 | </action> |
| 1217 | |
| 1218 | <action> |
| 1219 | <touch key="back"/> |
| 1220 | <action function="page">main</action> |
| 1221 | </action> |
| 1222 | </page> |
| 1223 | |
| 1224 | <page name="wipe_type2"> |
| 1225 | <template name="page"/> |
| 1226 | |
| 1227 | <template name="statusbar"/> |
| 1228 | |
| 1229 | <text style="text_m"> |
| 1230 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1231 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1232 | </text> |
| 1233 | |
| 1234 | <button style="main_button_full_width"> |
| 1235 | <condition var1="tw_has_data_media" var2="1"/> |
| 1236 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1237 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1238 | <action function="page">formatdata</action> |
| 1239 | </button> |
| 1240 | |
| 1241 | <button style="main_button_full_width"> |
| 1242 | <conditions> |
| 1243 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1244 | <condition var1="tw_has_data_media" var2="0"/> |
| 1245 | </conditions> |
| 1246 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1247 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1248 | <actions> |
| 1249 | <action function="set">tw_back=wipe</action> |
| 1250 | <action function="set">tw_action=wipe</action> |
| 1251 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1252 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1253 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1254 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1255 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1256 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1257 | <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1258 | <action function="page">confirm_action</action> |
| 1259 | </actions> |
| 1260 | </button> |
| 1261 | |
| 1262 | <button style="main_button_full_width"> |
| 1263 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1264 | <text>{@file_sys_opt=File System Options}</text><actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1265 | <action function="set">partitionlisterror=0</action> |
| 1266 | <action function="page">partitionoptions_select</action> |
| 1267 | </actions> |
| 1268 | </button> |
| 1269 | |
| 1270 | <button> |
| 1271 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1272 | <highlight color="%highlight_color%"/> |
| 1273 | <image resource="q_btn_arrow_left"/> |
| 1274 | <action function="page">wipe_type1</action> |
| 1275 | </button> |
| 1276 | |
| 1277 | <action> |
| 1278 | <touch key="home"/> |
| 1279 | <action function="page">main</action> |
| 1280 | </action> |
| 1281 | |
| 1282 | <action> |
| 1283 | <touch key="back"/> |
| 1284 | <action function="page">main</action> |
| 1285 | </action> |
| 1286 | </page> |
| 1287 | |
| 1288 | <page name="wipe"> |
| 1289 | <template name="page"/> |
| 1290 | |
| 1291 | <template name="statusbar"/> |
| 1292 | |
| 1293 | <text style="text_m"> |
| 1294 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1295 | <text>{@wipe_hdr=Wipe} > {@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1296 | </text> |
| 1297 | |
| 1298 | <text style="text_m_accent"> |
| 1299 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1300 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1301 | </text> |
| 1302 | |
| 1303 | <text style="text_m_accent"> |
| 1304 | <condition var1="tw_has_data_media" var2="1"/> |
| 1305 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1306 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1307 | </text> |
| 1308 | |
| 1309 | <text style="text_m_accent"> |
| 1310 | <conditions> |
| 1311 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1312 | <condition var1="fileexists" var2="/and-sec"/> |
| 1313 | </conditions> |
| 1314 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1315 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1316 | </text> |
| 1317 | |
| 1318 | <text style="text_m_accent"> |
| 1319 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1320 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1321 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1322 | </text> |
| 1323 | |
| 1324 | <text style="text_m"> |
| 1325 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1326 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1327 | </text> |
| 1328 | |
| 1329 | <text style="text_m"> |
| 1330 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1331 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1332 | </text> |
| 1333 | |
| 1334 | <text style="text_m"> |
| 1335 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1336 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1337 | </text> |
| 1338 | |
| 1339 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1340 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1341 | <actions> |
| 1342 | <action function="set">tw_back=wipe</action> |
| 1343 | <action function="set">tw_action=wipe</action> |
| 1344 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1345 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1346 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1347 | <action function="page">action_page</action> |
| 1348 | </actions> |
| 1349 | </slider> |
| 1350 | |
| 1351 | <action> |
| 1352 | <touch key="back"/> |
| 1353 | <action function="page">wipe_type1</action> |
| 1354 | </action> |
| 1355 | |
| 1356 | <action> |
| 1357 | <touch key="home"/> |
| 1358 | <action function="page">main</action> |
| 1359 | </action> |
| 1360 | </page> |
| 1361 | |
| 1362 | <page name="advancedwipe"> |
| 1363 | <action> |
| 1364 | <action function="set">tw_wipe_list=</action> |
| 1365 | </action> |
| 1366 | |
| 1367 | <template name="page"/> |
| 1368 | |
| 1369 | <template name="statusbar"/> |
| 1370 | |
| 1371 | <text style="text_m"> |
| 1372 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1373 | <text>{@wipe_hdr=Wipe} > {@advanced_wipe_hdr=Advanced Wipe} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1374 | </text> |
| 1375 | |
| 1376 | <partitionlist style="partitionlist_headerless_cb"> |
| 1377 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1378 | <data name="tw_wipe_list"/> |
| 1379 | <listtype name="wipe"/> |
| 1380 | </partitionlist> |
| 1381 | |
| 1382 | <fill color="%accent_color%"> |
| 1383 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1384 | </fill> |
| 1385 | |
| 1386 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1387 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1388 | <actions> |
| 1389 | <action function="set">tw_back=advancedwipe</action> |
| 1390 | <action function="set">tw_action=wipe</action> |
| 1391 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1392 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1393 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1394 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1395 | <action function="page">action_page</action> |
| 1396 | </actions> |
| 1397 | </slider> |
| 1398 | |
| 1399 | <action> |
| 1400 | <touch key="home"/> |
| 1401 | <action function="page">main</action> |
| 1402 | </action> |
| 1403 | |
| 1404 | <action> |
| 1405 | <touch key="back"/> |
| 1406 | <action function="page">wipe_type1</action> |
| 1407 | </action> |
| 1408 | </page> |
| 1409 | |
| 1410 | <page name="formatdata"> |
| 1411 | <template name="page"/> |
| 1412 | |
| 1413 | <template name="statusbar"/> |
| 1414 | |
| 1415 | <text style="text_m"> |
| 1416 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1417 | <text>{@wipe_hdr=Wipe} > {@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1418 | </text> |
| 1419 | |
| 1420 | <text style="text_m_fail"> |
| 1421 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1422 | <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1423 | </text> |
| 1424 | |
| 1425 | <text style="text_m_fail"> |
| 1426 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1427 | <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1428 | </text> |
| 1429 | |
| 1430 | <text style="text_m"> |
| 1431 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1432 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1433 | </text> |
| 1434 | |
| 1435 | <input> |
| 1436 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/> |
| 1437 | <text>%tw_confirm_formatdata%</text> |
| 1438 | <data name="tw_confirm_formatdata"/> |
| 1439 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1440 | <action function="page">formatdata_confirm</action> |
| 1441 | </input> |
| 1442 | |
| 1443 | <fill color="%accent_color%"> |
| 1444 | <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/> |
| 1445 | </fill> |
| 1446 | |
| 1447 | <template name="keyboardtemplate"/> |
| 1448 | |
| 1449 | <action> |
| 1450 | <touch key="home"/> |
| 1451 | <action function="page">main</action> |
| 1452 | </action> |
| 1453 | |
| 1454 | <action> |
| 1455 | <touch key="back"/> |
| 1456 | <action function="page">wipe_type2</action> |
| 1457 | </action> |
| 1458 | </page> |
| 1459 | |
| 1460 | <page name="formatdata_confirm"> |
| 1461 | <action> |
| 1462 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1463 | <actions> |
| 1464 | <action function="set">tw_back=formatdata</action> |
| 1465 | <action function="set">tw_action=wipe</action> |
| 1466 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1467 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1468 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1469 | <action function="page">action_page</action> |
| 1470 | </actions> |
| 1471 | </action> |
| 1472 | |
| 1473 | <action> |
| 1474 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1475 | <action function="page">formatdata</action> |
| 1476 | </action> |
| 1477 | </page> |
| 1478 | |
| 1479 | <page name="checkpartitionlist"> |
| 1480 | <action> |
| 1481 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1482 | <actions> |
| 1483 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1484 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1485 | <action function="page">partitionoptions</action> |
| 1486 | </actions> |
| 1487 | </action> |
| 1488 | |
| 1489 | <action> |
| 1490 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1491 | <actions> |
| 1492 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1493 | <action function="page">partitionoptions_select</action> |
| 1494 | </actions> |
| 1495 | </action> |
| 1496 | </page> |
| 1497 | |
| 1498 | <page name="partitionoptions_select"> |
| 1499 | <action> |
| 1500 | <action function="set">tw_wipe_list=</action> |
| 1501 | </action> |
| 1502 | |
| 1503 | <template name="page"/> |
| 1504 | |
| 1505 | <template name="statusbar"/> |
| 1506 | |
| 1507 | <text style="text_m"> |
| 1508 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1509 | <text>{@wipe_hdr=Wipe} > {@file_sys_opt=File System Options} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1510 | </text> |
| 1511 | |
| 1512 | <partitionlist style="partitionlist_headerless_cb"> |
| 1513 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1514 | <data name="tw_wipe_list"/> |
| 1515 | <listtype name="wipe"/> |
| 1516 | </partitionlist> |
| 1517 | |
| 1518 | <fill color="%accent_color%"> |
| 1519 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1520 | </fill> |
| 1521 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1522 | <text style="text_m_fail"> |
| 1523 | <condition var1="partitionlisterror" var2="1"/> |
| 1524 | <placement x="%col1_x_left%" y="%row12_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1525 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1526 | </text> |
| 1527 | |
| 1528 | <button> |
| 1529 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1530 | <highlight color="%highlight_color%"/> |
| 1531 | <image resource="q_btn_arrow_right"/><actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1532 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1533 | <action function="page">checkpartitionlist</action> |
| 1534 | </actions> |
| 1535 | </button> |
| 1536 | |
| 1537 | <action> |
| 1538 | <touch key="home"/> |
| 1539 | <action function="page">main</action> |
| 1540 | </action> |
| 1541 | |
| 1542 | <action> |
| 1543 | <touch key="back"/> |
| 1544 | <action function="page">wipe_type2</action> |
| 1545 | </action> |
| 1546 | </page> |
| 1547 | |
| 1548 | <page name="partitionoptions"> |
| 1549 | |
| 1550 | <template name="page"/> |
| 1551 | |
| 1552 | <template name="statusbar"/> |
| 1553 | |
| 1554 | <text style="text_m"> |
| 1555 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1556 | <text>{@wipe_hdr=Wipe} > {@file_sys_opt=File System Options} > {@sel_act_hdr=Select Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1557 | </text> |
| 1558 | |
| 1559 | <text style="text_m_accent"> |
| 1560 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1561 | <text>{@partition=Partition: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1562 | </text> |
| 1563 | |
| 1564 | <text style="text_m_accent"> |
| 1565 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1566 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1567 | </text> |
| 1568 | |
| 1569 | <text style="text_m"> |
| 1570 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1571 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1572 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1573 | </text> |
| 1574 | |
| 1575 | <text style="text_m"> |
| 1576 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1577 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1578 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1579 | </text> |
| 1580 | |
| 1581 | <text style="text_m"> |
| 1582 | <condition var1="tw_partition_removable" var2="1"/> |
| 1583 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1584 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1585 | </text> |
| 1586 | |
| 1587 | <text style="text_m"> |
| 1588 | <condition var1="tw_partition_removable" var2="0"/> |
| 1589 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1590 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1591 | </text> |
| 1592 | |
| 1593 | <text style="text_m"> |
| 1594 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1595 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1596 | </text> |
| 1597 | |
| 1598 | <text style="text_m"> |
| 1599 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1600 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1601 | </text> |
| 1602 | |
| 1603 | <text style="text_m"> |
| 1604 | <placement x="%col1_x_left%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1605 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1606 | </text> |
| 1607 | |
| 1608 | <text style="text_m"> |
| 1609 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1610 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1611 | </text> |
| 1612 | |
| 1613 | <button style="main_button"> |
| 1614 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1615 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1616 | <text>{@resize_btn_s=Resize}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1617 | <actions> |
| 1618 | <action function="set">tw_back=partitionoptions</action> |
| 1619 | <action function="set">tw_action=resize</action> |
| 1620 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1621 | <action function="set">tw_has_action2=1</action> |
| 1622 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1623 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1624 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1625 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1626 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1627 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1628 | <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1629 | <action function="page">confirm_action</action> |
| 1630 | </actions> |
| 1631 | </button> |
| 1632 | |
| 1633 | <button style="main_button"> |
| 1634 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1635 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1636 | <text>{@repair_btn_s=Repair}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1637 | <actions> |
| 1638 | <action function="set">tw_back=partitionoptions</action> |
| 1639 | <action function="set">tw_action=repair</action> |
| 1640 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1641 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1642 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1643 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1644 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1645 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1646 | <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1647 | <action function="page">confirm_action</action> |
| 1648 | </actions> |
| 1649 | </button> |
| 1650 | |
| 1651 | <button> |
| 1652 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1653 | <highlight color="%highlight_color%"/> |
| 1654 | <image resource="q_btn_arrow_left"/> |
| 1655 | <action function="page">partitionoptions_select</action> |
| 1656 | </button> |
| 1657 | |
| 1658 | <button style="main_button"> |
| 1659 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1660 | <text>{@change_fs_btn_s=Change}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1661 | <action function="page">selectfilesystem</action> |
| 1662 | </button> |
| 1663 | |
| 1664 | <action> |
| 1665 | <touch key="home"/> |
| 1666 | <action function="page">main</action> |
| 1667 | </action> |
| 1668 | |
| 1669 | <action> |
| 1670 | <touch key="back"/> |
| 1671 | <action function="page">partitionoptions_select</action> |
| 1672 | </action> |
| 1673 | </page> |
| 1674 | |
| 1675 | <page name="refreshfilesystem"> |
| 1676 | <action> |
| 1677 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1678 | <actions> |
| 1679 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1680 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1681 | <action function="page">selectfilesystem</action> |
| 1682 | </actions> |
| 1683 | </action> |
| 1684 | |
| 1685 | <action> |
| 1686 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1687 | <actions> |
| 1688 | <action function="set">partitionlisterror=1</action> |
| 1689 | <action function="set">tw_wipe_list=</action> |
| 1690 | <action function="page">advancedwipe</action> |
| 1691 | </actions> |
| 1692 | </action> |
| 1693 | </page> |
| 1694 | |
| 1695 | <page name="selectfilesystem"> |
| 1696 | <template name="page"/> |
| 1697 | |
| 1698 | <template name="statusbar"/> |
| 1699 | |
| 1700 | <text style="text_m"> |
| 1701 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1702 | <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% > Select File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1703 | </text> |
| 1704 | |
| 1705 | <button style="main_button"> |
| 1706 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1707 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 1708 | <text>EXT2</text> |
| 1709 | <actions> |
| 1710 | <action function="set">tw_back=refreshfilesystem</action> |
| 1711 | <action function="set">tw_action=changefilesystem</action> |
| 1712 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1713 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1714 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1715 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1716 | <action function="set">tw_text2=EXT2</action> |
| 1717 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1718 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1719 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1720 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1721 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1722 | <action function="page">confirm_action</action> |
| 1723 | </actions> |
| 1724 | </button> |
| 1725 | |
| 1726 | <button style="main_button"> |
| 1727 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1728 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 1729 | <text>EXT3</text> |
| 1730 | <actions> |
| 1731 | <action function="set">tw_back=refreshfilesystem</action> |
| 1732 | <action function="set">tw_action=changefilesystem</action> |
| 1733 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1734 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1735 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1736 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1737 | <action function="set">tw_text2=EXT3</action> |
| 1738 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1739 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1740 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1741 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1742 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1743 | <action function="page">confirm_action</action> |
| 1744 | </actions> |
| 1745 | </button> |
| 1746 | |
| 1747 | <button style="main_button"> |
| 1748 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1749 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1750 | <text>EXT4</text> |
| 1751 | <actions> |
| 1752 | <action function="set">tw_back=refreshfilesystem</action> |
| 1753 | <action function="set">tw_action=changefilesystem</action> |
| 1754 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1755 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1756 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1757 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1758 | <action function="set">tw_text2=EXT4</action> |
| 1759 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1760 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1761 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1762 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1763 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1764 | <action function="page">confirm_action</action> |
| 1765 | </actions> |
| 1766 | </button> |
| 1767 | |
| 1768 | <button style="main_button"> |
| 1769 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1770 | <placement x="%col1_x_right%" y="%row1_y%"/> |
| 1771 | <text>FAT</text> |
| 1772 | <actions> |
| 1773 | <action function="set">tw_back=refreshfilesystem</action> |
| 1774 | <action function="set">tw_action=changefilesystem</action> |
| 1775 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1776 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1777 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1778 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1779 | <action function="set">tw_text2=FAT</action> |
| 1780 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1781 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1782 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1783 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1784 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1785 | <action function="page">confirm_action</action> |
| 1786 | </actions> |
| 1787 | </button> |
| 1788 | |
| 1789 | <button style="main_button"> |
| 1790 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1791 | <placement x="%col1_x_right%" y="%row6_y%"/> |
| 1792 | <text>exFAT</text> |
| 1793 | <actions> |
| 1794 | <action function="set">tw_back=refreshfilesystem</action> |
| 1795 | <action function="set">tw_action=changefilesystem</action> |
| 1796 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1797 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1798 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1799 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1800 | <action function="set">tw_text2=exFAT</action> |
| 1801 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1802 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1803 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1804 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1805 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1806 | <action function="page">confirm_action</action> |
| 1807 | </actions> |
| 1808 | </button> |
| 1809 | |
| 1810 | <button style="main_button"> |
| 1811 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1812 | <placement x="%col1_x_right%" y="%row11_y%"/> |
| 1813 | <text>F2FS</text> |
| 1814 | <actions> |
| 1815 | <action function="set">tw_back=refreshfilesystem</action> |
| 1816 | <action function="set">tw_action=changefilesystem</action> |
| 1817 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1818 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1819 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1820 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1821 | <action function="set">tw_text2=F2FS</action> |
| 1822 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1823 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1824 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1825 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1826 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1827 | <action function="page">confirm_action</action> |
| 1828 | </actions> |
| 1829 | </button> |
| 1830 | |
| 1831 | <action> |
| 1832 | <touch key="home"/> |
| 1833 | <action function="page">main</action> |
| 1834 | </action> |
| 1835 | |
| 1836 | <action> |
| 1837 | <touch key="back"/> |
| 1838 | <action function="page">partitionoptions</action> |
| 1839 | </action> |
| 1840 | </page> |
| 1841 | |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1842 | <page name="backup"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1843 | <template name="page"/> |
| 1844 | |
| 1845 | <template name="statusbar"/> |
| 1846 | |
| 1847 | <text style="text_m"> |
| 1848 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1849 | <text>{@backup_hdr=Backup} > {@select_storage_hdr=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1850 | </text> |
| 1851 | |
| 1852 | <partitionlist style="partitionlist_headerless_rb"> |
| 1853 | <data name="tw_storage_path"/> |
| 1854 | <listtype name="storage"/> |
| 1855 | </partitionlist> |
| 1856 | |
| 1857 | <button> |
| 1858 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1859 | <highlight color="%highlight_color%"/> |
| 1860 | <image resource="q_btn_refresh"/> |
| 1861 | <actions> |
| 1862 | <action function="refreshsizes"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1863 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1864 | </actions> |
| 1865 | </button> |
| 1866 | |
| 1867 | <button> |
| 1868 | <condition var1="tw_back" var2="backup_confirm"/> |
| 1869 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1870 | <highlight color="%highlight_color%"/> |
| 1871 | <image resource="q_btn_accept"/> |
| 1872 | <action function="page">backup_confirm</action> |
| 1873 | </button> |
| 1874 | |
| 1875 | <button> |
| 1876 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1877 | <highlight color="%highlight_color%"/> |
| 1878 | <image resource="q_btn_arrow_right"/> |
| 1879 | <actions> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1880 | <action function="set">tw_back=backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1881 | <action function="page">backup_selectpartitions</action> |
| 1882 | </actions> |
| 1883 | </button> |
| 1884 | |
| 1885 | <action> |
| 1886 | <touch key="home"/> |
| 1887 | <action function="page">main</action> |
| 1888 | </action> |
| 1889 | |
| 1890 | <action> |
| 1891 | <touch key="back"/> |
| 1892 | <action function="page">%tw_back%</action> |
| 1893 | </action> |
| 1894 | |
| 1895 | <action> |
| 1896 | <touch key="power+voldown"/> |
| 1897 | <action function="screenshot"/> |
| 1898 | </action> |
| 1899 | </page> |
| 1900 | |
| 1901 | <page name="backup_selectpartitions"> |
| 1902 | <template name="page"/> |
| 1903 | |
| 1904 | <template name="statusbar"/> |
| 1905 | |
| 1906 | <text style="text_m"> |
| 1907 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1908 | <text>{@backup_hdr=Backup} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1909 | </text> |
| 1910 | |
| 1911 | <partitionlist style="partitionlist_headerless_cb"> |
| 1912 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1913 | <data name="tw_backup_list"/> |
| 1914 | <listtype name="backup"/> |
| 1915 | </partitionlist> |
| 1916 | |
| 1917 | <fill color="%accent_color%"> |
| 1918 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1919 | </fill> |
| 1920 | |
| 1921 | <button> |
| 1922 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1923 | <highlight color="%highlight_color%"/> |
| 1924 | <image resource="q_btn_arrow_left"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1925 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1926 | </button> |
| 1927 | |
| 1928 | <button> |
| 1929 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1930 | <highlight color="%highlight_color%"/> |
| 1931 | <image resource="q_btn_refresh"/> |
| 1932 | <action function="page">backup_selectpartitions</action> |
| 1933 | </button> |
| 1934 | |
| 1935 | <button> |
| 1936 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1937 | <highlight color="%highlight_color%"/> |
| 1938 | <image resource="q_btn_accept"/> |
| 1939 | <action function="page">backup_confirm</action> |
| 1940 | </button> |
| 1941 | |
| 1942 | <button> |
| 1943 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1944 | <highlight color="%highlight_color%"/> |
| 1945 | <image resource="q_btn_arrow_right"/> |
| 1946 | <actions> |
| 1947 | <action function="set">tw_back=backup_selectpartitions</action> |
| 1948 | <action function="page">backup_options</action> |
| 1949 | </actions> |
| 1950 | </button> |
| 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">%tw_back%</action> |
| 1960 | </action> |
| 1961 | |
| 1962 | <action> |
| 1963 | <touch key="power+voldown"/> |
| 1964 | <action function="screenshot"/> |
| 1965 | </action> |
| 1966 | </page> |
| 1967 | |
| 1968 | <page name="backup_options"> |
| 1969 | <template name="page"/> |
| 1970 | |
| 1971 | <template name="statusbar"/> |
| 1972 | |
| 1973 | <text style="text_m"> |
| 1974 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1975 | <text>{@backup_hdr=Backup} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1976 | </text> |
| 1977 | |
| 1978 | <listbox style="scrolllist"> |
| 1979 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1980 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1981 | <data variable="tw_use_compression"/> |
| 1982 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1983 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1984 | <data variable="tw_skip_md5_generate"/> |
| 1985 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 1986 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1987 | <data variable="tw_disable_free_space"/> |
| 1988 | </listitem> |
| 1989 | </listbox> |
| 1990 | |
| 1991 | <button> |
| 1992 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1993 | <highlight color="%highlight_color%"/> |
| 1994 | <image resource="q_btn_arrow_left"/> |
| 1995 | <action function="page">backup_selectpartitions</action> |
| 1996 | </button> |
| 1997 | |
| 1998 | <button> |
| 1999 | <conditions> |
| 2000 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2001 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2002 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2003 | </conditions> |
| 2004 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2005 | <highlight color="%highlight_color%"/> |
| 2006 | <image resource="q_btn_encryption_dis"/> |
| 2007 | <actions> |
| 2008 | <action function="set">tw_password_not_match=0</action> |
| 2009 | <action function="set">tw_back=backup_options</action> |
| 2010 | <action function="page">backupencryption</action> |
| 2011 | </actions> |
| 2012 | </button> |
| 2013 | |
| 2014 | <button> |
| 2015 | <conditions> |
| 2016 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2017 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2018 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2019 | </conditions> |
| 2020 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2021 | <highlight color="%highlight_color%"/> |
| 2022 | <image resource="q_btn_encryption_en"/> |
| 2023 | <actions> |
| 2024 | <action function="set">tw_password_not_match=0</action> |
| 2025 | <action function="set">tw_back=backup_options</action> |
| 2026 | <action function="page">backupencryption</action> |
| 2027 | </actions> |
| 2028 | </button> |
| 2029 | |
| 2030 | <button> |
| 2031 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2032 | <highlight color="%highlight_color%"/> |
| 2033 | <image resource="q_btn_accept_transp"/> |
| 2034 | <actions> |
| 2035 | <action function="set">tw_back=backup_options</action> |
| 2036 | <action function="page">backup_confirm</action> |
| 2037 | </actions> |
| 2038 | </button> |
| 2039 | |
| 2040 | <action> |
| 2041 | <touch key="home"/> |
| 2042 | <action function="page">main</action> |
| 2043 | </action> |
| 2044 | |
| 2045 | <action> |
| 2046 | <touch key="back"/> |
| 2047 | <action function="page">%tw_back%</action> |
| 2048 | </action> |
| 2049 | |
| 2050 | <action> |
| 2051 | <touch key="power+voldown"/> |
| 2052 | <action function="screenshot"/> |
| 2053 | </action> |
| 2054 | </page> |
| 2055 | |
| 2056 | <page name="backup_confirm"> |
| 2057 | <template name="page"/> |
| 2058 | |
| 2059 | <template name="statusbar"/> |
| 2060 | |
| 2061 | <text style="text_m"> |
| 2062 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 090751a | 2016-01-23 16:31:41 -0600 | [diff] [blame] | 2063 | <text>{@backup_hdr=Backup} > {@backup_confirm_hdr=Confirm Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2064 | </text> |
| 2065 | |
| 2066 | <text style="text_m_accent"> |
| 2067 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2068 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2069 | </text> |
| 2070 | |
| 2071 | <text style="text_m"> |
| 2072 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 2073 | <text>%tw_backup_name%</text> |
| 2074 | </text> |
| 2075 | |
| 2076 | <fill color="%accent_color%"> |
| 2077 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2078 | </fill> |
| 2079 | |
| 2080 | <button> |
| 2081 | <fill color="%transparent%"/> |
| 2082 | <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2083 | <actions> |
| 2084 | <action function="set">tw_back=backup_confirm</action> |
| 2085 | <action function="set">tw_fileexists=0</action> |
| 2086 | <action function="page">backup_name1</action> |
| 2087 | </actions> |
| 2088 | </button> |
| 2089 | |
| 2090 | <fill color="%background_color%"> |
| 2091 | <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2092 | </fill> |
| 2093 | |
| 2094 | <text style="text_m_accent"> |
| 2095 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2096 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2097 | </text> |
| 2098 | |
| 2099 | <partitionlist style="partitionlist_summary"> |
| 2100 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2101 | <data name="tw_backup_list"/> |
| 2102 | <listtype name="backup"/> |
| 2103 | </partitionlist> |
| 2104 | |
| 2105 | <button> |
| 2106 | <fill color="%transparent%"/> |
| 2107 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2108 | <actions> |
| 2109 | <action function="set">tw_back=backup_confirm</action> |
| 2110 | <action function="page">backup_selectpartitions</action> |
| 2111 | </actions> |
| 2112 | </button> |
| 2113 | |
| 2114 | <text style="text_m_accent"> |
| 2115 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2116 | <text>{@storage=Storage:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2117 | </text> |
| 2118 | |
| 2119 | <text style="text_m"> |
| 2120 | <placement x="%col1_x_right%" y="%row2_y%"/> |
| 2121 | <text>%tw_storage_display_name%</text> |
| 2122 | </text> |
| 2123 | |
| 2124 | <button> |
| 2125 | <fill color="%transparent%"/> |
| 2126 | <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2127 | <actions> |
| 2128 | <action function="set">tw_back=backup_confirm</action> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2129 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2130 | </actions> |
| 2131 | </button> |
| 2132 | |
| 2133 | <text style="text_m_accent"> |
| 2134 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2135 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2136 | </text> |
| 2137 | |
| 2138 | <text style="text_m"> |
| 2139 | <conditions> |
| 2140 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2141 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2142 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2143 | </conditions> |
| 2144 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2145 | <text>{@disabled=Disabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2146 | </text> |
| 2147 | |
| 2148 | <text style="text_m"> |
| 2149 | <conditions> |
| 2150 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2151 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2152 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2153 | </conditions> |
| 2154 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2155 | <text>{@enabled=Enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2156 | </text> |
| 2157 | |
| 2158 | <button> |
| 2159 | <fill color="%transparent%"/> |
| 2160 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/> |
| 2161 | <actions> |
| 2162 | <action function="set">tw_back=backup_confirm</action> |
| 2163 | <action function="page">backupencryption</action> |
| 2164 | </actions> |
| 2165 | </button> |
| 2166 | |
| 2167 | <listbox style="listbox_options"> |
| 2168 | <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2169 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2170 | <data variable="tw_use_compression"/> |
| 2171 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2172 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2173 | <data variable="tw_skip_md5_generate"/> |
| 2174 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 2175 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2176 | <data variable="tw_disable_free_space"/> |
| 2177 | </listitem> |
| 2178 | </listbox> |
| 2179 | |
| 2180 | <text style="text_m_accent"> |
| 2181 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2182 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2183 | </text> |
| 2184 | |
| 2185 | <button> |
| 2186 | <fill color="%transparent%"/> |
| 2187 | <placement x="%center_x%" y="%row6_y%" w= |