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> |
| 216 | <action function="page">backup_selectstorage</action> |
| 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> |
| 529 | <placement x="%indent%" y="%row4_y%" /> |
| 530 | <text>{@install_reboot_chk=Reboot after installation is complete}</text> |
| 531 | <data variable="tw_install_reboot" /> |
| 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> |
| 707 | <action function="set">tw_action=reboot</action> |
| 708 | <action function="set">tw_action_param=system</action> |
| 709 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 710 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 711 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 712 | <action function="set">tw_text3=</action> |
| 713 | <action function="set">tw_text4=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 714 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 715 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 716 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 717 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 718 | <action function="page">rebootcheck</action> |
| 719 | </actions> |
| 720 | </button> |
| 721 | |
| 722 | <action> |
| 723 | <touch key="back"/> |
| 724 | <actions> |
| 725 | <action function="set">tw_clear_destination=install_type</action> |
| 726 | <action function="page">clear_vars</action> |
| 727 | </actions> |
| 728 | </action> |
| 729 | |
| 730 | <action> |
| 731 | <touch key="home"/> |
| 732 | <actions> |
| 733 | <action function="set">tw_clear_destination=main2</action> |
| 734 | <action function="page">clear_vars</action> |
| 735 | </actions> |
| 736 | </action> |
| 737 | </page> |
| 738 | |
| 739 | <page name="flashimage_type"> |
| 740 | <template name="page"/> |
| 741 | |
| 742 | <template name="statusbar"/> |
| 743 | |
| 744 | <text style="text_m"> |
| 745 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 746 | <text>{@install_image_hdr=Install Image} > {@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 747 | </text> |
| 748 | |
| 749 | <partitionlist style="partitionlist_headerless_rb"> |
| 750 | <data name="tw_flash_partition"/> |
| 751 | <listtype name="flashimg"/> |
| 752 | </partitionlist> |
| 753 | |
| 754 | <button> |
| 755 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 756 | <highlight color="%highlight_color%"/> |
| 757 | <image resource="q_btn_arrow_left"/> |
| 758 | <action function="page">install</action> |
| 759 | </button> |
| 760 | |
| 761 | <button> |
| 762 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 763 | <highlight color="%highlight_color%"/> |
| 764 | <image resource="q_btn_accept_transp"/> |
| 765 | <action function="page">flashimage_confirm</action> |
| 766 | </button> |
| 767 | |
| 768 | <action> |
| 769 | <touch key="back"/> |
| 770 | <action function="page">install</action> |
| 771 | </action> |
| 772 | |
| 773 | <action> |
| 774 | <touch key="home"/> |
| 775 | <action function="page">main</action> |
| 776 | </action> |
| 777 | </page> |
| 778 | |
| 779 | <page name="flashimage_confirm"> |
| 780 | <template name="page"/> |
| 781 | |
| 782 | <template name="statusbar"/> |
| 783 | |
| 784 | <text style="text_m"> |
| 785 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 786 | <text>{@install_image_hdr=Install Image} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 787 | </text> |
| 788 | |
| 789 | <text style="text_m_accent"> |
| 790 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 791 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 792 | </text> |
| 793 | |
| 794 | <text style="text_m"> |
| 795 | <placement x="%indent%" y="%row2_y%"/> |
| 796 | <text>%tw_file%</text> |
| 797 | </text> |
| 798 | |
| 799 | <button> |
| 800 | <fill color="%transparent%"/> |
| 801 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 802 | <action function="page">install</action> |
| 803 | </button> |
| 804 | |
| 805 | <text style="text_m_accent"> |
| 806 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 807 | <text>{@target_partition=Target Partition:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 808 | </text> |
| 809 | |
| 810 | <text style="text_m"> |
| 811 | <placement x="%indent%" y="%row5_y%"/> |
| 812 | <text>%tw_flash_partition%</text> |
| 813 | </text> |
| 814 | |
| 815 | <button> |
| 816 | <fill color="%transparent%"/> |
| 817 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 818 | <action function="page">flashimage_type</action> |
| 819 | </button> |
| 820 | |
| 821 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 822 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 823 | <actions> |
| 824 | <action function="set">tw_back=flashimage_confirm</action> |
| 825 | <action function="set">tw_action=flashimage</action> |
| 826 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 827 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 828 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 829 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 830 | <action function="page">action_page</action> |
| 831 | </actions> |
| 832 | <action function="flashimage"/> |
| 833 | </slider> |
| 834 | |
| 835 | <action> |
| 836 | <touch key="back"/> |
| 837 | <actions> |
| 838 | <action function="set">tw_clear_destination=install</action> |
| 839 | <action function="page">clear_vars</action> |
| 840 | </actions> |
| 841 | </action> |
| 842 | |
| 843 | <action> |
| 844 | <touch key="home"/> |
| 845 | <actions> |
| 846 | <action function="set">tw_clear_destination=main2</action> |
| 847 | <action function="page">clear_vars</action> |
| 848 | </actions> |
| 849 | </action> |
| 850 | </page> |
| 851 | |
| 852 | <page name="clear_vars"> |
| 853 | <action> |
| 854 | <action function="set">tw_operation_state=0</action> |
| 855 | <action function="set">tw_text1=</action> |
| 856 | <action function="set">tw_text2=</action> |
| 857 | <action function="set">tw_text3=</action> |
| 858 | <action function="set">tw_text4=</action> |
| 859 | <action function="set">tw_action_text1=</action> |
| 860 | <action function="set">tw_action_text2=</action> |
| 861 | <action function="set">tw_action_param=</action> |
| 862 | <action function="set">tw_has_action2=0</action> |
| 863 | <action function="set">tw_action2=</action> |
| 864 | <action function="set">tw_action2_param=</action> |
| 865 | <action function="set">tw_has_cancel=0</action> |
| 866 | <action function="set">tw_cancel_action=</action> |
| 867 | <action function="set">tw_cancel_param=</action> |
| 868 | <action function="set">tw_show_exclamation=0</action> |
| 869 | <action function="set">tw_show_reboot=0</action> |
| 870 | <action function="page">%tw_clear_destination%</action> |
| 871 | </action> |
| 872 | </page> |
| 873 | |
| 874 | <page name="confirm_action"> |
| 875 | <template name="page"/> |
| 876 | |
| 877 | <template name="statusbar"/> |
| 878 | |
| 879 | <text style="text_m"> |
| 880 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 881 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 882 | </text> |
| 883 | |
| 884 | <text style="text_m_accent"> |
| 885 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 886 | <text>%tw_text1%</text> |
| 887 | </text> |
| 888 | |
| 889 | <text style="text_m_accent"> |
| 890 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 891 | <text>%tw_text2%</text> |
| 892 | </text> |
| 893 | |
| 894 | <text style="text_m"> |
| 895 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 896 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 897 | <text>%tw_text3%</text> |
| 898 | </text> |
| 899 | |
| 900 | <text style="text_m"> |
| 901 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 902 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 903 | <text>%tw_text4%</text> |
| 904 | </text> |
| 905 | |
| 906 | <text style="text_m_fail"> |
| 907 | <condition var1="tw_action" var2="changefilesystem"/> |
| 908 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 909 | <text>%tw_text3%</text> |
| 910 | </text> |
| 911 | |
| 912 | <text style="text_m_fail"> |
| 913 | <condition var1="tw_action" var2="changefilesystem"/> |
| 914 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 915 | <text>%tw_text4%</text> |
| 916 | </text> |
| 917 | |
| 918 | <text style="text_m"> |
| 919 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 920 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 921 | </text> |
| 922 | |
| 923 | <slider> |
| 924 | <text>%tw_slider_text%</text> |
| 925 | <action function="page">action_page</action> |
| 926 | </slider> |
| 927 | |
| 928 | <action> |
| 929 | <touch key="back"/> |
| 930 | <actions> |
| 931 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 932 | <action function="page">clear_vars</action> |
| 933 | </actions> |
| 934 | </action> |
| 935 | |
| 936 | <action> |
| 937 | <touch key="home"/> |
| 938 | <action function="page">main</action> |
| 939 | </action> |
| 940 | </page> |
| 941 | |
| 942 | <page name="action_page"> |
| 943 | <template name="page"/> |
| 944 | |
| 945 | <template name="statusbar"/> |
| 946 | |
| 947 | <text style="text_m"> |
| 948 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 949 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 950 | </text> |
| 951 | |
| 952 | <template name="console"/> |
| 953 | |
| 954 | <template name="progress_bar"/> |
| 955 | |
| 956 | <button style="main_button_half_height"> |
| 957 | <condition var1="tw_has_cancel" var2="1"/> |
| 958 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 959 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 960 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 961 | </button> |
| 962 | |
| 963 | <action> |
| 964 | <condition var1="tw_operation_state" var2="1"/> |
| 965 | <actions> |
| 966 | <action function="page">action_complete</action> |
| 967 | </actions> |
| 968 | </action> |
| 969 | |
| 970 | <action> |
| 971 | <condition var1="tw_has_action2" var2="0"/> |
| 972 | <actions> |
| 973 | <action function="%tw_action%">%tw_action_param%</action> |
| 974 | </actions> |
| 975 | </action> |
| 976 | |
| 977 | <action> |
| 978 | <condition var1="tw_has_action2" var2="1"/> |
| 979 | <actions> |
| 980 | <action function="%tw_action%">%tw_action_param%</action> |
| 981 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 982 | </actions> |
| 983 | </action> |
| 984 | </page> |
| 985 | |
| 986 | <page name="singleaction_page"> |
| 987 | <template name="page"/> |
| 988 | |
| 989 | <template name="statusbar"/> |
| 990 | |
| 991 | <text style="text_m"> |
| 992 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 993 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 994 | </text> |
| 995 | |
| 996 | <template name="console"/> |
| 997 | |
| 998 | <template name="progress_bar"/> |
| 999 | |
| 1000 | <action> |
| 1001 | <condition var1="tw_operation_state" var2="1"/> |
| 1002 | <actions> |
| 1003 | <action function="set">tw_page_done=1</action> |
| 1004 | </actions> |
| 1005 | </action> |
| 1006 | |
| 1007 | <action> |
| 1008 | <condition var1="tw_has_action2" var2="0"/> |
| 1009 | <actions> |
| 1010 | <action function="%tw_action%">%tw_action_param%</action> |
| 1011 | </actions> |
| 1012 | </action> |
| 1013 | |
| 1014 | <action> |
| 1015 | <condition var1="tw_has_action2" var2="1"/> |
| 1016 | <actions> |
| 1017 | <action function="%tw_action%">%tw_action_param%</action> |
| 1018 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1019 | </actions> |
| 1020 | </action> |
| 1021 | </page> |
| 1022 | |
| 1023 | <page name="action_complete"> |
| 1024 | <template name="page"/> |
| 1025 | |
| 1026 | <template name="statusbar"/> |
| 1027 | |
| 1028 | <text style="text_m_fail"> |
| 1029 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 1030 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1031 | <text>%tw_complete_text1% {@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1032 | </text> |
| 1033 | |
| 1034 | <text style="text_m"> |
| 1035 | <condition var1="tw_operation_status" var2="0"/> |
| 1036 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1037 | <text>%tw_complete_text1% {@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1038 | </text> |
| 1039 | |
| 1040 | <template name="console"/> |
| 1041 | |
| 1042 | <button style="main_button_half_height"> |
| 1043 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1044 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1045 | <actions> |
| 1046 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1047 | <action function="page">clear_vars</action> |
| 1048 | </actions> |
| 1049 | </button> |
| 1050 | |
| 1051 | <button style="main_button_half_height"> |
| 1052 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1053 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1054 | <actions> |
| 1055 | <action function="set">tw_back=main2</action> |
| 1056 | <action function="set">tw_action=reboot</action> |
| 1057 | <action function="set">tw_action_param=system</action> |
| 1058 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1059 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 1060 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1061 | <action function="set">tw_text3=</action> |
| 1062 | <action function="set">tw_text4=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1063 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1064 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1065 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 1066 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1067 | <action function="page">rebootcheck</action> |
| 1068 | </actions> |
| 1069 | </button> |
| 1070 | |
| 1071 | <action> |
| 1072 | <touch key="home"/> |
| 1073 | <actions> |
| 1074 | <action function="set">tw_clear_destination=main2</action> |
| 1075 | <action function="page">clear_vars</action> |
| 1076 | </actions> |
| 1077 | </action> |
| 1078 | |
| 1079 | <action> |
| 1080 | <touch key="back"/> |
| 1081 | <actions> |
| 1082 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1083 | <action function="page">clear_vars</action> |
| 1084 | </actions> |
| 1085 | </action> |
| 1086 | </page> |
| 1087 | |
| 1088 | <page name="filecheck"> |
| 1089 | <action> |
| 1090 | <action function="fileexists">%tw_filecheck%</action> |
| 1091 | </action> |
| 1092 | |
| 1093 | <action> |
| 1094 | <conditions> |
| 1095 | <condition var1="tw_operation_state" var2="1"/> |
| 1096 | <condition var1="tw_operation_status" var2="0"/> |
| 1097 | </conditions> |
| 1098 | <actions> |
| 1099 | <action function="set">tw_fileexists=1</action> |
| 1100 | <action function="page">%tw_existpage%</action> |
| 1101 | </actions> |
| 1102 | </action> |
| 1103 | |
| 1104 | <action> |
| 1105 | <conditions> |
| 1106 | <condition var1="tw_operation_state" var2="1"/> |
| 1107 | <condition var1="tw_operation_status" var2="1"/> |
| 1108 | </conditions> |
| 1109 | <actions> |
| 1110 | <action function="set">tw_fileexists=0</action> |
| 1111 | <action function="page">%tw_notexistpage%</action> |
| 1112 | </actions> |
| 1113 | </action> |
| 1114 | </page> |
| 1115 | |
| 1116 | <page name="rebootcheck"> |
| 1117 | <action> |
| 1118 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
| 1119 | <action function="reboot">%tw_action_param%</action> |
| 1120 | </action> |
| 1121 | |
| 1122 | <action> |
| 1123 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1124 | <action function="page">confirm_action</action> |
| 1125 | </action> |
| 1126 | </page> |
| 1127 | |
| 1128 | <page name="wipe_type1"> |
| 1129 | <template name="page"/> |
| 1130 | |
| 1131 | <template name="statusbar"/> |
| 1132 | |
| 1133 | <text style="text_m"> |
| 1134 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1135 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1136 | </text> |
| 1137 | |
| 1138 | <button style="main_button_full_width"> |
| 1139 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1140 | <text>{@factory_reset_btn=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1141 | <action function="page">wipe</action> |
| 1142 | </button> |
| 1143 | |
| 1144 | <button style="main_button_full_width"> |
| 1145 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1146 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1147 | <actions> |
| 1148 | <action function="set">partitionlisterror=0</action> |
| 1149 | <action function="page">advancedwipe</action> |
| 1150 | </actions> |
| 1151 | </button> |
| 1152 | |
| 1153 | <button> |
| 1154 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1155 | <highlight color="%highlight_color%"/> |
| 1156 | <image resource="q_btn_arrow_right"/> |
| 1157 | <action function="page">wipe_type2</action> |
| 1158 | </button> |
| 1159 | |
| 1160 | <action> |
| 1161 | <touch key="home"/> |
| 1162 | <action function="page">main</action> |
| 1163 | </action> |
| 1164 | |
| 1165 | <action> |
| 1166 | <touch key="back"/> |
| 1167 | <action function="page">main</action> |
| 1168 | </action> |
| 1169 | </page> |
| 1170 | |
| 1171 | <page name="wipe_type2"> |
| 1172 | <template name="page"/> |
| 1173 | |
| 1174 | <template name="statusbar"/> |
| 1175 | |
| 1176 | <text style="text_m"> |
| 1177 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1178 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1179 | </text> |
| 1180 | |
| 1181 | <button style="main_button_full_width"> |
| 1182 | <condition var1="tw_has_data_media" var2="1"/> |
| 1183 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1184 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1185 | <action function="page">formatdata</action> |
| 1186 | </button> |
| 1187 | |
| 1188 | <button style="main_button_full_width"> |
| 1189 | <conditions> |
| 1190 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1191 | <condition var1="tw_has_data_media" var2="0"/> |
| 1192 | </conditions> |
| 1193 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1194 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1195 | <actions> |
| 1196 | <action function="set">tw_back=wipe</action> |
| 1197 | <action function="set">tw_action=wipe</action> |
| 1198 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1199 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1200 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1201 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1202 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1203 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1204 | <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1205 | <action function="page">confirm_action</action> |
| 1206 | </actions> |
| 1207 | </button> |
| 1208 | |
| 1209 | <button style="main_button_full_width"> |
| 1210 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1211 | <text>{@file_sys_opt=File System Options}</text><actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1212 | <action function="set">partitionlisterror=0</action> |
| 1213 | <action function="page">partitionoptions_select</action> |
| 1214 | </actions> |
| 1215 | </button> |
| 1216 | |
| 1217 | <button> |
| 1218 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1219 | <highlight color="%highlight_color%"/> |
| 1220 | <image resource="q_btn_arrow_left"/> |
| 1221 | <action function="page">wipe_type1</action> |
| 1222 | </button> |
| 1223 | |
| 1224 | <action> |
| 1225 | <touch key="home"/> |
| 1226 | <action function="page">main</action> |
| 1227 | </action> |
| 1228 | |
| 1229 | <action> |
| 1230 | <touch key="back"/> |
| 1231 | <action function="page">main</action> |
| 1232 | </action> |
| 1233 | </page> |
| 1234 | |
| 1235 | <page name="wipe"> |
| 1236 | <template name="page"/> |
| 1237 | |
| 1238 | <template name="statusbar"/> |
| 1239 | |
| 1240 | <text style="text_m"> |
| 1241 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1242 | <text>{@wipe_hdr=Wipe} > {@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1243 | </text> |
| 1244 | |
| 1245 | <text style="text_m_accent"> |
| 1246 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1247 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1248 | </text> |
| 1249 | |
| 1250 | <text style="text_m_accent"> |
| 1251 | <condition var1="tw_has_data_media" var2="1"/> |
| 1252 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1253 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1254 | </text> |
| 1255 | |
| 1256 | <text style="text_m_accent"> |
| 1257 | <conditions> |
| 1258 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1259 | <condition var1="fileexists" var2="/and-sec"/> |
| 1260 | </conditions> |
| 1261 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1262 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1263 | </text> |
| 1264 | |
| 1265 | <text style="text_m_accent"> |
| 1266 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1267 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1268 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1269 | </text> |
| 1270 | |
| 1271 | <text style="text_m"> |
| 1272 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1273 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1274 | </text> |
| 1275 | |
| 1276 | <text style="text_m"> |
| 1277 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1278 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1279 | </text> |
| 1280 | |
| 1281 | <text style="text_m"> |
| 1282 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1283 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1284 | </text> |
| 1285 | |
| 1286 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1287 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1288 | <actions> |
| 1289 | <action function="set">tw_back=wipe</action> |
| 1290 | <action function="set">tw_action=wipe</action> |
| 1291 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1292 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1293 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1294 | <action function="page">action_page</action> |
| 1295 | </actions> |
| 1296 | </slider> |
| 1297 | |
| 1298 | <action> |
| 1299 | <touch key="back"/> |
| 1300 | <action function="page">wipe_type1</action> |
| 1301 | </action> |
| 1302 | |
| 1303 | <action> |
| 1304 | <touch key="home"/> |
| 1305 | <action function="page">main</action> |
| 1306 | </action> |
| 1307 | </page> |
| 1308 | |
| 1309 | <page name="advancedwipe"> |
| 1310 | <action> |
| 1311 | <action function="set">tw_wipe_list=</action> |
| 1312 | </action> |
| 1313 | |
| 1314 | <template name="page"/> |
| 1315 | |
| 1316 | <template name="statusbar"/> |
| 1317 | |
| 1318 | <text style="text_m"> |
| 1319 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1320 | <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] | 1321 | </text> |
| 1322 | |
| 1323 | <partitionlist style="partitionlist_headerless_cb"> |
| 1324 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1325 | <data name="tw_wipe_list"/> |
| 1326 | <listtype name="wipe"/> |
| 1327 | </partitionlist> |
| 1328 | |
| 1329 | <fill color="%accent_color%"> |
| 1330 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1331 | </fill> |
| 1332 | |
| 1333 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1334 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1335 | <actions> |
| 1336 | <action function="set">tw_back=advancedwipe</action> |
| 1337 | <action function="set">tw_action=wipe</action> |
| 1338 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1339 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1340 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1341 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1342 | <action function="page">action_page</action> |
| 1343 | </actions> |
| 1344 | </slider> |
| 1345 | |
| 1346 | <action> |
| 1347 | <touch key="home"/> |
| 1348 | <action function="page">main</action> |
| 1349 | </action> |
| 1350 | |
| 1351 | <action> |
| 1352 | <touch key="back"/> |
| 1353 | <action function="page">wipe_type1</action> |
| 1354 | </action> |
| 1355 | </page> |
| 1356 | |
| 1357 | <page name="formatdata"> |
| 1358 | <template name="page"/> |
| 1359 | |
| 1360 | <template name="statusbar"/> |
| 1361 | |
| 1362 | <text style="text_m"> |
| 1363 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1364 | <text>{@wipe_hdr=Wipe} > {@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1365 | </text> |
| 1366 | |
| 1367 | <text style="text_m_fail"> |
| 1368 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1369 | <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1370 | </text> |
| 1371 | |
| 1372 | <text style="text_m_fail"> |
| 1373 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1374 | <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1375 | </text> |
| 1376 | |
| 1377 | <text style="text_m"> |
| 1378 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1379 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1380 | </text> |
| 1381 | |
| 1382 | <input> |
| 1383 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/> |
| 1384 | <text>%tw_confirm_formatdata%</text> |
| 1385 | <data name="tw_confirm_formatdata"/> |
| 1386 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1387 | <action function="page">formatdata_confirm</action> |
| 1388 | </input> |
| 1389 | |
| 1390 | <fill color="%accent_color%"> |
| 1391 | <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/> |
| 1392 | </fill> |
| 1393 | |
| 1394 | <template name="keyboardtemplate"/> |
| 1395 | |
| 1396 | <action> |
| 1397 | <touch key="home"/> |
| 1398 | <action function="page">main</action> |
| 1399 | </action> |
| 1400 | |
| 1401 | <action> |
| 1402 | <touch key="back"/> |
| 1403 | <action function="page">wipe_type2</action> |
| 1404 | </action> |
| 1405 | </page> |
| 1406 | |
| 1407 | <page name="formatdata_confirm"> |
| 1408 | <action> |
| 1409 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1410 | <actions> |
| 1411 | <action function="set">tw_back=formatdata</action> |
| 1412 | <action function="set">tw_action=wipe</action> |
| 1413 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1414 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1415 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1416 | <action function="page">action_page</action> |
| 1417 | </actions> |
| 1418 | </action> |
| 1419 | |
| 1420 | <action> |
| 1421 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1422 | <action function="page">formatdata</action> |
| 1423 | </action> |
| 1424 | </page> |
| 1425 | |
| 1426 | <page name="checkpartitionlist"> |
| 1427 | <action> |
| 1428 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1429 | <actions> |
| 1430 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1431 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1432 | <action function="page">partitionoptions</action> |
| 1433 | </actions> |
| 1434 | </action> |
| 1435 | |
| 1436 | <action> |
| 1437 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1438 | <actions> |
| 1439 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1440 | <action function="page">partitionoptions_select</action> |
| 1441 | </actions> |
| 1442 | </action> |
| 1443 | </page> |
| 1444 | |
| 1445 | <page name="partitionoptions_select"> |
| 1446 | <action> |
| 1447 | <action function="set">tw_wipe_list=</action> |
| 1448 | </action> |
| 1449 | |
| 1450 | <template name="page"/> |
| 1451 | |
| 1452 | <template name="statusbar"/> |
| 1453 | |
| 1454 | <text style="text_m"> |
| 1455 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1456 | <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] | 1457 | </text> |
| 1458 | |
| 1459 | <partitionlist style="partitionlist_headerless_cb"> |
| 1460 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1461 | <data name="tw_wipe_list"/> |
| 1462 | <listtype name="wipe"/> |
| 1463 | </partitionlist> |
| 1464 | |
| 1465 | <fill color="%accent_color%"> |
| 1466 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1467 | </fill> |
| 1468 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1469 | <text style="text_m_fail"> |
| 1470 | <condition var1="partitionlisterror" var2="1"/> |
| 1471 | <placement x="%col1_x_left%" y="%row12_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1472 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1473 | </text> |
| 1474 | |
| 1475 | <button> |
| 1476 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1477 | <highlight color="%highlight_color%"/> |
| 1478 | <image resource="q_btn_arrow_right"/><actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1479 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1480 | <action function="page">checkpartitionlist</action> |
| 1481 | </actions> |
| 1482 | </button> |
| 1483 | |
| 1484 | <action> |
| 1485 | <touch key="home"/> |
| 1486 | <action function="page">main</action> |
| 1487 | </action> |
| 1488 | |
| 1489 | <action> |
| 1490 | <touch key="back"/> |
| 1491 | <action function="page">wipe_type2</action> |
| 1492 | </action> |
| 1493 | </page> |
| 1494 | |
| 1495 | <page name="partitionoptions"> |
| 1496 | |
| 1497 | <template name="page"/> |
| 1498 | |
| 1499 | <template name="statusbar"/> |
| 1500 | |
| 1501 | <text style="text_m"> |
| 1502 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1503 | <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] | 1504 | </text> |
| 1505 | |
| 1506 | <text style="text_m_accent"> |
| 1507 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1508 | <text>{@partition=Partition: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1509 | </text> |
| 1510 | |
| 1511 | <text style="text_m_accent"> |
| 1512 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1513 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1514 | </text> |
| 1515 | |
| 1516 | <text style="text_m"> |
| 1517 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1518 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1519 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1520 | </text> |
| 1521 | |
| 1522 | <text style="text_m"> |
| 1523 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1524 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1525 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1526 | </text> |
| 1527 | |
| 1528 | <text style="text_m"> |
| 1529 | <condition var1="tw_partition_removable" var2="1"/> |
| 1530 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1531 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1532 | </text> |
| 1533 | |
| 1534 | <text style="text_m"> |
| 1535 | <condition var1="tw_partition_removable" var2="0"/> |
| 1536 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1537 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1538 | </text> |
| 1539 | |
| 1540 | <text style="text_m"> |
| 1541 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1542 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1543 | </text> |
| 1544 | |
| 1545 | <text style="text_m"> |
| 1546 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1547 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1548 | </text> |
| 1549 | |
| 1550 | <text style="text_m"> |
| 1551 | <placement x="%col1_x_left%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1552 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1553 | </text> |
| 1554 | |
| 1555 | <text style="text_m"> |
| 1556 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1557 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1558 | </text> |
| 1559 | |
| 1560 | <button style="main_button"> |
| 1561 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1562 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1563 | <text>{@resize_btn_s=Resize}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1564 | <actions> |
| 1565 | <action function="set">tw_back=partitionoptions</action> |
| 1566 | <action function="set">tw_action=resize</action> |
| 1567 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1568 | <action function="set">tw_has_action2=1</action> |
| 1569 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1570 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1571 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1572 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1573 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1574 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1575 | <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1576 | <action function="page">confirm_action</action> |
| 1577 | </actions> |
| 1578 | </button> |
| 1579 | |
| 1580 | <button style="main_button"> |
| 1581 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1582 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1583 | <text>{@repair_btn_s=Repair}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1584 | <actions> |
| 1585 | <action function="set">tw_back=partitionoptions</action> |
| 1586 | <action function="set">tw_action=repair</action> |
| 1587 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1588 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1589 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1590 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1591 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1592 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1593 | <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1594 | <action function="page">confirm_action</action> |
| 1595 | </actions> |
| 1596 | </button> |
| 1597 | |
| 1598 | <button> |
| 1599 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1600 | <highlight color="%highlight_color%"/> |
| 1601 | <image resource="q_btn_arrow_left"/> |
| 1602 | <action function="page">partitionoptions_select</action> |
| 1603 | </button> |
| 1604 | |
| 1605 | <button style="main_button"> |
| 1606 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1607 | <text>{@change_fs_btn_s=Change}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1608 | <action function="page">selectfilesystem</action> |
| 1609 | </button> |
| 1610 | |
| 1611 | <action> |
| 1612 | <touch key="home"/> |
| 1613 | <action function="page">main</action> |
| 1614 | </action> |
| 1615 | |
| 1616 | <action> |
| 1617 | <touch key="back"/> |
| 1618 | <action function="page">partitionoptions_select</action> |
| 1619 | </action> |
| 1620 | </page> |
| 1621 | |
| 1622 | <page name="refreshfilesystem"> |
| 1623 | <action> |
| 1624 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1625 | <actions> |
| 1626 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1627 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1628 | <action function="page">selectfilesystem</action> |
| 1629 | </actions> |
| 1630 | </action> |
| 1631 | |
| 1632 | <action> |
| 1633 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1634 | <actions> |
| 1635 | <action function="set">partitionlisterror=1</action> |
| 1636 | <action function="set">tw_wipe_list=</action> |
| 1637 | <action function="page">advancedwipe</action> |
| 1638 | </actions> |
| 1639 | </action> |
| 1640 | </page> |
| 1641 | |
| 1642 | <page name="selectfilesystem"> |
| 1643 | <template name="page"/> |
| 1644 | |
| 1645 | <template name="statusbar"/> |
| 1646 | |
| 1647 | <text style="text_m"> |
| 1648 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1649 | <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] | 1650 | </text> |
| 1651 | |
| 1652 | <button style="main_button"> |
| 1653 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1654 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 1655 | <text>EXT2</text> |
| 1656 | <actions> |
| 1657 | <action function="set">tw_back=refreshfilesystem</action> |
| 1658 | <action function="set">tw_action=changefilesystem</action> |
| 1659 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1660 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1661 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1662 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1663 | <action function="set">tw_text2=EXT2</action> |
| 1664 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1665 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1666 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1667 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1668 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1669 | <action function="page">confirm_action</action> |
| 1670 | </actions> |
| 1671 | </button> |
| 1672 | |
| 1673 | <button style="main_button"> |
| 1674 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1675 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 1676 | <text>EXT3</text> |
| 1677 | <actions> |
| 1678 | <action function="set">tw_back=refreshfilesystem</action> |
| 1679 | <action function="set">tw_action=changefilesystem</action> |
| 1680 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1681 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1682 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1683 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1684 | <action function="set">tw_text2=EXT3</action> |
| 1685 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1686 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1687 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1688 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1689 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1690 | <action function="page">confirm_action</action> |
| 1691 | </actions> |
| 1692 | </button> |
| 1693 | |
| 1694 | <button style="main_button"> |
| 1695 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1696 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1697 | <text>EXT4</text> |
| 1698 | <actions> |
| 1699 | <action function="set">tw_back=refreshfilesystem</action> |
| 1700 | <action function="set">tw_action=changefilesystem</action> |
| 1701 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1702 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1703 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1704 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1705 | <action function="set">tw_text2=EXT4</action> |
| 1706 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1707 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1708 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1709 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1710 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1711 | <action function="page">confirm_action</action> |
| 1712 | </actions> |
| 1713 | </button> |
| 1714 | |
| 1715 | <button style="main_button"> |
| 1716 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1717 | <placement x="%col1_x_right%" y="%row1_y%"/> |
| 1718 | <text>FAT</text> |
| 1719 | <actions> |
| 1720 | <action function="set">tw_back=refreshfilesystem</action> |
| 1721 | <action function="set">tw_action=changefilesystem</action> |
| 1722 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1723 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1724 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1725 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1726 | <action function="set">tw_text2=FAT</action> |
| 1727 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1728 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1729 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1730 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1731 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1732 | <action function="page">confirm_action</action> |
| 1733 | </actions> |
| 1734 | </button> |
| 1735 | |
| 1736 | <button style="main_button"> |
| 1737 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1738 | <placement x="%col1_x_right%" y="%row6_y%"/> |
| 1739 | <text>exFAT</text> |
| 1740 | <actions> |
| 1741 | <action function="set">tw_back=refreshfilesystem</action> |
| 1742 | <action function="set">tw_action=changefilesystem</action> |
| 1743 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1744 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1745 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1746 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1747 | <action function="set">tw_text2=exFAT</action> |
| 1748 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1749 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1750 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1751 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1752 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1753 | <action function="page">confirm_action</action> |
| 1754 | </actions> |
| 1755 | </button> |
| 1756 | |
| 1757 | <button style="main_button"> |
| 1758 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1759 | <placement x="%col1_x_right%" y="%row11_y%"/> |
| 1760 | <text>F2FS</text> |
| 1761 | <actions> |
| 1762 | <action function="set">tw_back=refreshfilesystem</action> |
| 1763 | <action function="set">tw_action=changefilesystem</action> |
| 1764 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1765 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1766 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1767 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1768 | <action function="set">tw_text2=F2FS</action> |
| 1769 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1770 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1771 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1772 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1773 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1774 | <action function="page">confirm_action</action> |
| 1775 | </actions> |
| 1776 | </button> |
| 1777 | |
| 1778 | <action> |
| 1779 | <touch key="home"/> |
| 1780 | <action function="page">main</action> |
| 1781 | </action> |
| 1782 | |
| 1783 | <action> |
| 1784 | <touch key="back"/> |
| 1785 | <action function="page">partitionoptions</action> |
| 1786 | </action> |
| 1787 | </page> |
| 1788 | |
| 1789 | <page name="backup_selectstorage"> |
| 1790 | <template name="page"/> |
| 1791 | |
| 1792 | <template name="statusbar"/> |
| 1793 | |
| 1794 | <text style="text_m"> |
| 1795 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1796 | <text>{@backup_hdr=Backup} > {@select_storage_hdr=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1797 | </text> |
| 1798 | |
| 1799 | <partitionlist style="partitionlist_headerless_rb"> |
| 1800 | <data name="tw_storage_path"/> |
| 1801 | <listtype name="storage"/> |
| 1802 | </partitionlist> |
| 1803 | |
| 1804 | <button> |
| 1805 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1806 | <highlight color="%highlight_color%"/> |
| 1807 | <image resource="q_btn_refresh"/> |
| 1808 | <actions> |
| 1809 | <action function="refreshsizes"/> |
| 1810 | <action function="page">backup_selectstorage</action> |
| 1811 | </actions> |
| 1812 | </button> |
| 1813 | |
| 1814 | <button> |
| 1815 | <condition var1="tw_back" var2="backup_confirm"/> |
| 1816 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1817 | <highlight color="%highlight_color%"/> |
| 1818 | <image resource="q_btn_accept"/> |
| 1819 | <action function="page">backup_confirm</action> |
| 1820 | </button> |
| 1821 | |
| 1822 | <button> |
| 1823 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1824 | <highlight color="%highlight_color%"/> |
| 1825 | <image resource="q_btn_arrow_right"/> |
| 1826 | <actions> |
| 1827 | <action function="set">tw_back=backup_selectstorage</action> |
| 1828 | <action function="page">backup_selectpartitions</action> |
| 1829 | </actions> |
| 1830 | </button> |
| 1831 | |
| 1832 | <action> |
| 1833 | <touch key="home"/> |
| 1834 | <action function="page">main</action> |
| 1835 | </action> |
| 1836 | |
| 1837 | <action> |
| 1838 | <touch key="back"/> |
| 1839 | <action function="page">%tw_back%</action> |
| 1840 | </action> |
| 1841 | |
| 1842 | <action> |
| 1843 | <touch key="power+voldown"/> |
| 1844 | <action function="screenshot"/> |
| 1845 | </action> |
| 1846 | </page> |
| 1847 | |
| 1848 | <page name="backup_selectpartitions"> |
| 1849 | <template name="page"/> |
| 1850 | |
| 1851 | <template name="statusbar"/> |
| 1852 | |
| 1853 | <text style="text_m"> |
| 1854 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1855 | <text>{@backup_hdr=Backup} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1856 | </text> |
| 1857 | |
| 1858 | <partitionlist style="partitionlist_headerless_cb"> |
| 1859 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1860 | <data name="tw_backup_list"/> |
| 1861 | <listtype name="backup"/> |
| 1862 | </partitionlist> |
| 1863 | |
| 1864 | <fill color="%accent_color%"> |
| 1865 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1866 | </fill> |
| 1867 | |
| 1868 | <button> |
| 1869 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1870 | <highlight color="%highlight_color%"/> |
| 1871 | <image resource="q_btn_arrow_left"/> |
| 1872 | <action function="page">backup_selectstorage</action> |
| 1873 | </button> |
| 1874 | |
| 1875 | <button> |
| 1876 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1877 | <highlight color="%highlight_color%"/> |
| 1878 | <image resource="q_btn_refresh"/> |
| 1879 | <action function="page">backup_selectpartitions</action> |
| 1880 | </button> |
| 1881 | |
| 1882 | <button> |
| 1883 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1884 | <highlight color="%highlight_color%"/> |
| 1885 | <image resource="q_btn_accept"/> |
| 1886 | <action function="page">backup_confirm</action> |
| 1887 | </button> |
| 1888 | |
| 1889 | <button> |
| 1890 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1891 | <highlight color="%highlight_color%"/> |
| 1892 | <image resource="q_btn_arrow_right"/> |
| 1893 | <actions> |
| 1894 | <action function="set">tw_back=backup_selectpartitions</action> |
| 1895 | <action function="page">backup_options</action> |
| 1896 | </actions> |
| 1897 | </button> |
| 1898 | |
| 1899 | <action> |
| 1900 | <touch key="home"/> |
| 1901 | <action function="page">main</action> |
| 1902 | </action> |
| 1903 | |
| 1904 | <action> |
| 1905 | <touch key="back"/> |
| 1906 | <action function="page">%tw_back%</action> |
| 1907 | </action> |
| 1908 | |
| 1909 | <action> |
| 1910 | <touch key="power+voldown"/> |
| 1911 | <action function="screenshot"/> |
| 1912 | </action> |
| 1913 | </page> |
| 1914 | |
| 1915 | <page name="backup_options"> |
| 1916 | <template name="page"/> |
| 1917 | |
| 1918 | <template name="statusbar"/> |
| 1919 | |
| 1920 | <text style="text_m"> |
| 1921 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1922 | <text>{@backup_hdr=Backup} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1923 | </text> |
| 1924 | |
| 1925 | <listbox style="scrolllist"> |
| 1926 | <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] | 1927 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1928 | <data variable="tw_use_compression"/> |
| 1929 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1930 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1931 | <data variable="tw_skip_md5_generate"/> |
| 1932 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1933 | <listitem name="{@disable_backup_space_chk=Disable Free Space Check}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1934 | <data variable="tw_disable_free_space"/> |
| 1935 | </listitem> |
| 1936 | </listbox> |
| 1937 | |
| 1938 | <button> |
| 1939 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1940 | <highlight color="%highlight_color%"/> |
| 1941 | <image resource="q_btn_arrow_left"/> |
| 1942 | <action function="page">backup_selectpartitions</action> |
| 1943 | </button> |
| 1944 | |
| 1945 | <button> |
| 1946 | <conditions> |
| 1947 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1948 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1949 | </conditions> |
| 1950 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1951 | <highlight color="%highlight_color%"/> |
| 1952 | <image resource="q_btn_encryption_dis"/> |
| 1953 | <actions> |
| 1954 | <action function="set">tw_password_not_match=0</action> |
| 1955 | <action function="set">tw_back=backup_options</action> |
| 1956 | <action function="page">backupencryption</action> |
| 1957 | </actions> |
| 1958 | </button> |
| 1959 | |
| 1960 | <button> |
| 1961 | <conditions> |
| 1962 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1963 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1964 | </conditions> |
| 1965 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1966 | <highlight color="%highlight_color%"/> |
| 1967 | <image resource="q_btn_encryption_en"/> |
| 1968 | <actions> |
| 1969 | <action function="set">tw_password_not_match=0</action> |
| 1970 | <action function="set">tw_back=backup_options</action> |
| 1971 | <action function="page">backupencryption</action> |
| 1972 | </actions> |
| 1973 | </button> |
| 1974 | |
| 1975 | <button> |
| 1976 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1977 | <highlight color="%highlight_color%"/> |
| 1978 | <image resource="q_btn_accept_transp"/> |
| 1979 | <actions> |
| 1980 | <action function="set">tw_back=backup_options</action> |
| 1981 | <action function="page">backup_confirm</action> |
| 1982 | </actions> |
| 1983 | </button> |
| 1984 | |
| 1985 | <action> |
| 1986 | <touch key="home"/> |
| 1987 | <action function="page">main</action> |
| 1988 | </action> |
| 1989 | |
| 1990 | <action> |
| 1991 | <touch key="back"/> |
| 1992 | <action function="page">%tw_back%</action> |
| 1993 | </action> |
| 1994 | |
| 1995 | <action> |
| 1996 | <touch key="power+voldown"/> |
| 1997 | <action function="screenshot"/> |
| 1998 | </action> |
| 1999 | </page> |
| 2000 | |
| 2001 | <page name="backup_confirm"> |
| 2002 | <template name="page"/> |
| 2003 | |
| 2004 | <template name="statusbar"/> |
| 2005 | |
| 2006 | <text style="text_m"> |
| 2007 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 090751a | 2016-01-23 16:31:41 -0600 | [diff] [blame] | 2008 | <text>{@backup_hdr=Backup} > {@backup_confirm_hdr=Confirm Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2009 | </text> |
| 2010 | |
| 2011 | <text style="text_m_accent"> |
| 2012 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2013 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2014 | </text> |
| 2015 | |
| 2016 | <text style="text_m"> |
| 2017 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 2018 | <text>%tw_backup_name%</text> |
| 2019 | </text> |
| 2020 | |
| 2021 | <fill color="%accent_color%"> |
| 2022 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2023 | </fill> |
| 2024 | |
| 2025 | <button> |
| 2026 | <fill color="%transparent%"/> |
| 2027 | <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2028 | <actions> |
| 2029 | <action function="set">tw_back=backup_confirm</action> |
| 2030 | <action function="set">tw_fileexists=0</action> |
| 2031 | <action function="page">backup_name1</action> |
| 2032 | </actions> |
| 2033 | </button> |
| 2034 | |
| 2035 | <fill color="%background_color%"> |
| 2036 | <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2037 | </fill> |
| 2038 | |
| 2039 | <text style="text_m_accent"> |
| 2040 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2041 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2042 | </text> |
| 2043 | |
| 2044 | <partitionlist style="partitionlist_summary"> |
| 2045 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2046 | <data name="tw_backup_list"/> |
| 2047 | <listtype name="backup"/> |
| 2048 | </partitionlist> |
| 2049 | |
| 2050 | <button> |
| 2051 | <fill color="%transparent%"/> |
| 2052 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2053 | <actions> |
| 2054 | <action function="set">tw_back=backup_confirm</action> |
| 2055 | <action function="page">backup_selectpartitions</action> |
| 2056 | </actions> |
| 2057 | </button> |
| 2058 | |
| 2059 | <text style="text_m_accent"> |
| 2060 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2061 | <text>{@storage=Storage:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2062 | </text> |
| 2063 | |
| 2064 | <text style="text_m"> |
| 2065 | <placement x="%col1_x_right%" y="%row2_y%"/> |
| 2066 | <text>%tw_storage_display_name%</text> |
| 2067 | </text> |
| 2068 | |
| 2069 | <button> |
| 2070 | <fill color="%transparent%"/> |
| 2071 | <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2072 | <actions> |
| 2073 | <action function="set">tw_back=backup_confirm</action> |
| 2074 | <action function="page">backup_selectstorage</action> |
| 2075 | </actions> |
| 2076 | </button> |
| 2077 | |
| 2078 | <text style="text_m_accent"> |
| 2079 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2080 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2081 | </text> |
| 2082 | |
| 2083 | <text style="text_m"> |
| 2084 | <conditions> |
| 2085 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2086 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 2087 | </conditions> |
| 2088 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2089 | <text>{@disabled=Disabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2090 | </text> |
| 2091 | |
| 2092 | <text style="text_m"> |
| 2093 | <conditions> |
| 2094 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2095 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 2096 | </conditions> |
| 2097 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2098 | <text>{@enabled=Enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2099 | </text> |
| 2100 | |
| 2101 | <button> |
| 2102 | <fill color="%transparent%"/> |
| 2103 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/> |
| 2104 | <actions> |
| 2105 | <action function="set">tw_back=backup_confirm</action> |
| 2106 | <action function="page">backupencryption</action> |
| 2107 | </actions> |
| 2108 | </button> |
| 2109 | |
| 2110 | <listbox style="listbox_options"> |
| 2111 | <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] | 2112 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2113 | <data variable="tw_use_compression"/> |
| 2114 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2115 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2116 | <data variable="tw_skip_md5_generate"/> |
| 2117 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2118 | <listitem name="{@disable_backup_space_chk=Disable Free Space Check}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2119 | <data variable="tw_disable_free_space"/> |
| 2120 | </listitem> |
| 2121 | </listbox> |
| 2122 | |
| 2123 | <text style="text_m_accent"> |
| 2124 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2125 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2126 | </text> |
| 2127 | |
| 2128 | <button> |
| 2129 | <fill color="%transparent%"/> |
| 2130 | <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/> |
| 2131 | <actions> |
| 2132 | <action function="set">tw_back=backup_confirm</action> |
| 2133 | <action function="page">backup_options</action> |
| 2134 | </actions> |
| 2135 | </button> |
| 2136 | |
| 2137 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2138 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2139 | <action function="page">backup_run</action> |
| 2140 | </slider> |
| 2141 | |
| 2142 | <action> |
| 2143 | <touch key="home"/> |
| 2144 | <action function="page">main</action> |
| 2145 | </action> |
| 2146 | |
| 2147 | <action> |
| 2148 | <touch key="back"/> |
| 2149 | <action function="page">backup_selectstorage</action> |
| 2150 | </action> |
| 2151 | </page> |
| 2152 | |
| 2153 | <page name="backup_name1"> |
| 2154 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2155 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2156 | <action function="generatebackupname"/> |
| 2157 | </action> |
| 2158 | |
| 2159 | <action> |
| 2160 | <action function="page">backup_name2</action> |
| 2161 | </action> |
| 2162 | </page> |
| 2163 | |
| 2164 | <page name="backup_name2"> |
| 2165 | <template name="page"/> |
| 2166 | |
| 2167 | <template name="statusbar"/> |
| 2168 | |
| 2169 | <text style="text_m"> |
| 2170 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2171 | <text>{@backup_hdr=Backup} > {@backup_name_hdr=Set Backup Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2172 | </text> |
| 2173 | |
| 2174 | <text style="text_m_accent"> |
| 2175 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2176 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2177 | </text> |
| 2178 | |
| 2179 | <input> |
| 2180 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2181 | <text>%tw_backup_name%</text> |
| 2182 | <data name="tw_backup_name"/> |
| 2183 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2184 | <actions> |
| 2185 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 2186 | <action function="set">tw_existpage=backup_name2</action> |
| 2187 | <action function="set">tw_notexistpage=backup_confirm</action> |
| 2188 | <action function="page">filecheck</action> |
| 2189 | </actions> |
| 2190 | </input> |
| 2191 | |
| 2192 | <fill color="%accent_color%"> |
| 2193 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2194 | </fill> |
| 2195 | |
| 2196 | <fill color="%text_fail_color%"> |
| 2197 | <condition var1="tw_fileexists" var2="1"/> |
| 2198 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2199 | </fill> |
| 2200 | |
| 2201 | <text style="text_m_fail"> |
| 2202 | <condition var1="tw_fileexists" var2="1"/> |
| 2203 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2204 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2205 | </text> |
| 2206 | |
| 2207 | <button style="main_button_half_height"> |
| 2208 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2209 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2210 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2211 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2212 | <action function="page">backup_confirm</action> |
| 2213 | </actions> |
| 2214 | </button> |
| 2215 | |
| 2216 | <button style="main_button_half_height"> |
| 2217 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2218 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2219 | <action function="appenddatetobackupname"/> |
| 2220 | </button> |
| 2221 | |
| 2222 | <template name="keyboardtemplate"/> |
| 2223 | |
| 2224 | <action> |
| 2225 | <touch key="home"/> |
| 2226 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2227 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2228 | <action function="page">main</action> |
| 2229 | </actions> |
| 2230 | </action> |
| 2231 | |
| 2232 | <action> |
| 2233 | <touch key="back"/> |
| 2234 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2235 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2236 | <action function="page">backup_confirm</action> |
| 2237 | </actions> |
| 2238 | </action> |
| 2239 | </page> |
| 2240 | |
| 2241 | <page name="backupencryption"> |
| 2242 | <template name="page"/> |
| 2243 | |
| 2244 | <template name="statusbar"/> |
| 2245 | |
| 2246 | <text style="text_m"> |
| 2247 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2248 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2249 | </text> |
| 2250 | |
| 2251 | <text style="text_m_accent"> |
| 2252 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2253 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2254 | </text> |
| 2255 | |
| 2256 | <input> |
| 2257 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2258 | <text>%tw_backup_encrypt_display%</text> |
| 2259 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 2260 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2261 | <action function="page">backupencryption2</action> |
| 2262 | </input> |
| 2263 | |
| 2264 | <fill color="%accent_color%"> |
| 2265 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2266 | </fill> |
| 2267 | |
| 2268 | <fill color="%text_fail_color%"> |
| 2269 | <condition var1="tw_password_not_match" var2="1"/> |
| 2270 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2271 | </fill> |
| 2272 | |
| 2273 | <text style="text_m_fail"> |
| 2274 | <condition var1="tw_password_not_match" var2="1"/> |
| 2275 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2276 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2277 | </text> |
| 2278 | |
| 2279 | <button style="main_button_half_height"> |
| 2280 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2281 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2282 | <actions> |
| 2283 | <action function="set">tw_encrypt_backup=0</action> |
| 2284 | <action function="set">tw_backup_password=</action> |
| 2285 | <action function="set">tw_backup_password2=</action> |
| 2286 | <action function="set">tw_backup_encrypt_display=</action> |
| 2287 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2288 | <action function="page">%tw_back%</action> |
| 2289 | </actions> |
| 2290 | </button> |
| 2291 | |
| 2292 | <template name="keyboardtemplate"/> |
| 2293 | |
| 2294 | <action> |
| 2295 | <touch key="home"/> |
| 2296 | <action function="page">main</action> |
| 2297 | </action> |
| 2298 | |
| 2299 | <action> |
| 2300 | <touch key="back"/> |
| 2301 | <action function="page">%tw_back%</action> |
| 2302 | </action> |
| 2303 | </page> |
| 2304 | |
| 2305 | <page name="backupencryption2"> |
| 2306 | <template name="page"/> |
| 2307 | |
| 2308 | <template name="statusbar"/> |
| 2309 | |
| 2310 | <text style="text_m"> |
| 2311 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2312 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2313 | </text> |
| 2314 | |
| 2315 | <text style="text_m_accent"> |
| 2316 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2317 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2318 | </text> |
| 2319 | |
| 2320 | <input> |
| 2321 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2322 | <text>%tw_backup_encrypt_display2%</text> |
| 2323 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2324 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2325 | <action function="page">checkbackuppassword</action> |
| 2326 | </input> |
| 2327 | |
| 2328 | <fill color="%accent_color%"> |
| 2329 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2330 | </fill> |
| 2331 | |
| 2332 | <button style="main_button_half_height"> |
| 2333 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2334 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2335 | <actions> |
| 2336 | <action function="set">tw_encrypt_backup=0</action> |
| 2337 | <action function="set">tw_backup_password=</action> |
| 2338 | <action function="set">tw_backup_password2=</action> |
| 2339 | <action function="set">tw_backup_encrypt_display=</action> |
| 2340 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2341 | <action function="page">%tw_back%</action> |
| 2342 | </actions> |
| 2343 | </button> |
| 2344 | |
| 2345 | <template name="keyboardtemplate"/> |
| 2346 | |
| 2347 | <action> |
| 2348 | <touch key="home"/> |
| 2349 | <action function="page">main</action> |
| 2350 | </action> |
| 2351 | |
| 2352 | <action> |
| 2353 | <touch key="back"/> |
| 2354 | <action function="page">%tw_back%</action> |
| 2355 | </action> |
| 2356 | </page> |
| 2357 | |
| 2358 | <page name="checkbackuppassword"> |
| 2359 | <action> |
| 2360 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2361 | <actions> |
| 2362 | <action function="set">tw_encrypt_backup=1</action> |
| 2363 | <action function="page">%tw_back%</action> |
| 2364 | </actions> |
| 2365 | </action> |
| 2366 | |
| 2367 | <action> |
| 2368 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2369 | <actions> |
| 2370 | <action function="set">tw_encrypt_backup=0</action> |
| 2371 | <action function="set">tw_password_not_match=1</action> |
| 2372 | <action function="set">tw_backup_password=</action> |
| 2373 | <action function="set">tw_backup_password2=</action> |
| 2374 | <action function="set">tw_backup_encrypt_display=</action> |
| 2375 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2376 | <action function="page">backupencryption</action> |
| 2377 | </actions> |
| 2378 | </action> |
| 2379 | </page> |
| 2380 | |
| 2381 | <page name="backup_run"> |
| 2382 | <template name="page"/> |
| 2383 | |
| 2384 | <template name="statusbar"/> |
| 2385 | |
| 2386 | <text style="text_m"> |
| 2387 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2388 | <text>%tw_operation% %tw_partition%</text> |
| 2389 | </text> |
| 2390 | |
| 2391 | <template name="console"/> |
| 2392 | |
| 2393 | <template name="progress_bar"/> |
| 2394 | |
| 2395 | <text style="text_m"> |
| 2396 | <placement x="%indent%" y="%row13a_y%"/> |
| 2397 | <text>%tw_file_progress%</text> |
| 2398 | </text> |
| 2399 | |
| 2400 | <text style="text_m"> |
| 2401 | <placement x="%indent%" y="%row14a_y%"/> |
| 2402 | <text>%tw_size_progress%</text> |
| 2403 | </text> |
| 2404 | |
| 2405 | <button style="main_button_half_height"> |
| 2406 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2407 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2408 | <action function="cancelbackup"/> |
| 2409 | </button> |
| 2410 | |
| 2411 | <action> |
| 2412 | <action function="nandroid">backup</action> |
| 2413 | </action> |
| 2414 | |
| 2415 | <action> |
| 2416 | <condition var1="tw_operation_state" var2="1"/> |
| 2417 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2418 | <actions> |
| 2419 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2420 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2421 | <action function="set">tw_show_reboot=1</action> |
| 2422 | <action function="page">action_complete</action> |
| 2423 | </actions> |
| 2424 | </action> |
| 2425 | |
| 2426 | <action> |
| 2427 | <condition var1="tw_operation_state" var2="1"/> |
| 2428 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2429 | <actions> |
| 2430 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2431 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2432 | <action function="set">tw_show_reboot=1</action> |
| 2433 | <action function="page">action_complete</action> |
| 2434 | </actions> |
| 2435 | </action> |
| 2436 | </page> |
| 2437 | |
| 2438 | <page name="restore"> |
| 2439 | <template name="page"/> |
| 2440 | |
| 2441 | <template name="statusbar"/> |
| 2442 | |
| 2443 | <text style="text_m"> |
| 2444 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2445 | <text>{@restore_hdr=Restore} > {@sel_backup_hdr=Select Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2446 | </text> |
| 2447 | |
| 2448 | <fileselector> |
| 2449 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 2450 | <text>%tw_storage_display_name%</text> |
| 2451 | <filter folders="1" files="0" nav="0"/> |
| 2452 | <path name="tw_backups_folder"/> |
| 2453 | <data name="tw_restore" default=""/> |
| 2454 | <selection name="tw_restore_name"/> |
| 2455 | </fileselector> |
| 2456 | |
| 2457 | <button> |
| 2458 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2459 | <highlight color="%highlight_color%"/> |
| 2460 | <image resource="q_btn_storage"/> |
| 2461 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2462 | <action function="set">tw_storagetext={@restore_btn=Restore} > {@select_storage_btn=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2463 | <action function="set">tw_back=restore</action> |
| 2464 | <action function="page">select_storage</action> |
| 2465 | </actions> |
| 2466 | </button> |
| 2467 | |
| 2468 | <action> |
| 2469 | <condition var1="tw_restore" op="modified"/> |
| 2470 | <actions> |
| 2471 | <action function="readBackup"/> |
| 2472 | <action function="set">tw_back=restore</action> |
| 2473 | <action function="page">restore_read</action> |
| 2474 | </actions> |
| 2475 | </action> |
| 2476 | |
| 2477 | <action> |
| 2478 | <touch key="home"/> |
| 2479 | <action function="page">main</action> |
| 2480 | </action> |
| 2481 | |
| 2482 | <action> |
| 2483 | <touch key="back"/> |
| 2484 | <action function="page">main</action> |
| 2485 | </action> |
| 2486 | </page> |
| 2487 | |
| 2488 | <page name="restore_read"> |
| 2489 | <action> |
| 2490 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2491 | <actions> |
| 2492 | <action function="set">tw_password_fail=0</action> |
| 2493 | <action function="page">restore_decrypt</action> |
| 2494 | </actions> |
| 2495 | </action> |
| 2496 | |
| 2497 | <action> |
| 2498 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2499 | <actions> |
| 2500 | <action function="page">restore_select</action> |
| 2501 | </actions> |
| 2502 | </action> |
| 2503 | </page> |
| 2504 | |
| 2505 | <page name="restore_decrypt"> |
| 2506 | <template name="page"/> |
| 2507 | |
| 2508 | <template name="statusbar"/> |
| 2509 | |
| 2510 | <text style="text_m"> |
| 2511 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2512 | <text>{@restore_hdr=Restore} > {@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2513 | </text> |
| 2514 | |
| 2515 | <text style="text_m_accent"> |
| 2516 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2517 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2518 | </text> |
| 2519 | |
| 2520 | <input> |
| 2521 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2522 | <text>%tw_restore_display%</text> |
| 2523 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2524 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2525 | <action function="page">try_restore_decrypt</action> |
| 2526 | </input> |
| 2527 | |
| 2528 | <fill color="%accent_color%"> |
| 2529 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2530 | </fill> |
| 2531 | |
| 2532 | <fill color="%text_fail_color%"> |
| 2533 | <condition var1="tw_password_fail" var2="1"/> |
| 2534 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2535 | </fill> |
| 2536 | |
| 2537 | <text style="text_m_fail"> |
| 2538 | <condition var1="tw_password_fail" var2="1"/> |
| 2539 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2540 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2541 | </text> |
| 2542 | |
| 2543 | <button style="main_button_half_height"> |
| 2544 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2545 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2546 | <actions> |
| 2547 | <action function="set">tw_page_done=1</action> |
| 2548 | <action function="page">restore</action> |
| 2549 | </actions> |
| 2550 | </button> |
| 2551 | |
| 2552 | <button style="main_button_half_height"> |
| 2553 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2554 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2555 | <actions> |
| 2556 | <action function="set">tw_back=restore</action> |
| 2557 | <action function="set">tw_action=cmd</action> |
| 2558 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2559 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2560 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2561 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2562 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2563 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2564 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2565 | <action function="page">confirm_action</action> |
| 2566 | </actions> |
| 2567 | </button> |
| 2568 | |
| 2569 | <template name="keyboardtemplate"/> |
| 2570 | |
| 2571 | <action> |
| 2572 | <touch key="home"/> |
| 2573 | <action function="page">main</action> |
| 2574 | </action> |
| 2575 | |
| 2576 | <action> |
| 2577 | <touch key="back"/> |
| 2578 | <action function="page">restore</action> |
| 2579 | </action> |
| 2580 | </page> |
| 2581 | |
| 2582 | <page name="try_restore_decrypt"> |
| 2583 | <template name="page"/> |
| 2584 | |
| 2585 | <template name="statusbar"/> |
| 2586 | |
| 2587 | <text style="text_m"> |
| 2588 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2589 | <text>{@restore_hdr=Restore} > {@restore_try_decrypt_s=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2590 | </text> |
| 2591 | |
| 2592 | <template name="console"/> |
| 2593 | |
| 2594 | <template name="progress_bar"/> |
| 2595 | |
| 2596 | <action> |
| 2597 | <action function="decrypt_backup"/> |
| 2598 | </action> |
| 2599 | |
| 2600 | <action> |
| 2601 | <conditions> |
| 2602 | <condition var1="tw_operation_state" var2="1"/> |
| 2603 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2604 | </conditions> |
| 2605 | <actions> |
| 2606 | <action function="set">tw_password_fail=1</action> |
| 2607 | <action function="page">restore_decrypt</action> |
| 2608 | </actions> |
| 2609 | </action> |
| 2610 | |
| 2611 | <action> |
| 2612 | <conditions> |
| 2613 | <condition var1="tw_operation_state" var2="1"/> |
| 2614 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2615 | </conditions> |
| 2616 | <actions> |
| 2617 | <action function="set">tw_page_done=1</action> |
| 2618 | <action function="page">restore_select</action> |
| 2619 | </actions> |
| 2620 | </action> |
| 2621 | </page> |
| 2622 | |
| 2623 | <page name="restore_select"> |
| 2624 | <template name="page"/> |
| 2625 | |
| 2626 | <template name="statusbar"/> |
| 2627 | |
| 2628 | <text style="text_m"> |
| 2629 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2630 | <text>{@restore_hdr=Restore} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2631 | </text> |
| 2632 | |
| 2633 | <partitionlist style="partitionlist_headerless_cb"> |
| 2634 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2635 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2636 | <listtype name="restore"/> |
| 2637 | </partitionlist> |
| 2638 | |
| 2639 | <fill color="%accent_color%"> |
| 2640 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2641 | </fill> |
| 2642 | |
| 2643 | <button> |
| 2644 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2645 | <highlight color="%highlight_color%"/> |
| 2646 | <image resource="q_btn_arrow_left"/> |
| 2647 | <action function="page">restore</action> |
| 2648 | </button> |
| 2649 | |
| 2650 | <button> |
| 2651 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2652 | <highlight color="%highlight_color%"/> |
| 2653 | <image resource="q_btn_delete"/> |
| 2654 | <actions> |
| 2655 | <action function="set">tw_back=restore</action> |
| 2656 | <action function="set">tw_action=cmd</action> |
| 2657 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2658 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2659 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2660 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2661 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2662 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2663 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2664 | <action function="page">confirm_action</action> |
| 2665 | </actions> |
| 2666 | </button> |
| 2667 | |
| 2668 | <button> |
| 2669 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2670 | <highlight color="%highlight_color%"/> |
| 2671 | <image resource="q_btn_accept"/> |
| 2672 | <action function="page">restore_confirm</action> |
| 2673 | </button> |
| 2674 | |
| 2675 | <button> |
| 2676 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2677 | <highlight color="%highlight_color%"/> |
| 2678 | <image resource="q_btn_arrow_right"/> |
| 2679 | <actions> |
| 2680 | <action function="set">tw_back=restore_select</action> |
| 2681 | <action function="page">restore_options</action> |
| 2682 | </actions> |
| 2683 | </button> |
| 2684 | |
| 2685 | <action> |
| 2686 | <touch key="home"/> |
| 2687 | <action function="page">main</action> |
| 2688 | </action> |
| 2689 | |
| 2690 | <action> |
| 2691 | <touch key="back"/> |
| 2692 | <action function="page">%tw_back%</action> |
| 2693 | </action> |
| 2694 | </page> |
| 2695 | |
| 2696 | <page name="restore_options"> |
| 2697 | <template name="page"/> |
| 2698 | |
| 2699 | <template name="statusbar"/> |
| 2700 | |
| 2701 | <text style="text_m"> |
| 2702 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2703 | <text>{@restore_hdr=Restore} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2704 | </text> |
| 2705 | |
| 2706 | <listbox style="scrolllist"> |
| 2707 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2708 | <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2709 | <data variable="tw_skip_md5_check"/> |
| 2710 | </listitem> |
| 2711 | </listbox> |
| 2712 | |
| 2713 | <button> |
| 2714 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2715 | <highlight color="%highlight_color%"/> |
| 2716 | <image resource="q_btn_arrow_left"/> |
| 2717 | <action function="page">restore_select</action> |
| 2718 | </button> |
| 2719 | |
| 2720 | <button> |
| 2721 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2722 | <highlight color="%highlight_color%"/> |
| 2723 | <image resource="q_btn_accept_transp"/> |
| 2724 | <actions> |
| 2725 | <action function="set">tw_back=restore_options</action> |
| 2726 | <action function="page">restore_confirm</action> |
| 2727 | </actions> |
| 2728 | </button> |
| 2729 | |
| 2730 | <action> |
| 2731 | <touch key="home"/> |
| 2732 | <action function="page">main</action> |
| 2733 | </action> |
| 2734 | |
| 2735 | <action> |
| 2736 | <touch key="back"/> |
| 2737 | <action function="page">%tw_back%</action> |
| 2738 | </action> |
| 2739 | |
| 2740 | <action> |
| 2741 | <touch key="power+voldown"/> |
| 2742 | <action function="screenshot"/> |
| 2743 | </action> |
| 2744 | </page> |
| 2745 | |
| 2746 | <page name="renamebackup"> |
| 2747 | <template name="page"/> |
| 2748 | |
| 2749 | <template name="statusbar"/> |
| 2750 | |
| 2751 | <text style="text_m"> |
| 2752 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2753 | <text>{@restore_hdr=Restore} > {@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2754 | </text> |
| 2755 | |
| 2756 | <text style="text_m_accent"> |
| 2757 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2758 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2759 | </text> |
| 2760 | |
| 2761 | <input> |
| 2762 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2763 | <text>%tw_backup_rename%</text> |
| 2764 | <data name="tw_backup_rename"/> |
| 2765 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2766 | <actions> |
| 2767 | <action function="set">tw_back=restore</action> |
| 2768 | <action function="set">tw_action=cmd</action> |
| 2769 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2770 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2771 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2772 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2773 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2774 | <action function="set">tw_slider_text={@swipe_rename= Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2775 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2776 | <action function="set">tw_existpage=renamebackup</action> |
| 2777 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2778 | <action function="page">filecheck</action> |
| 2779 | </actions> |
| 2780 | </input> |
| 2781 | |
| 2782 | <fill color="%accent_color%"> |
| 2783 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2784 | </fill> |
| 2785 | |
| 2786 | <fill color="%text_fail_color%"> |
| 2787 | <condition var1="tw_fileexists" var2="1"/> |
| 2788 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2789 | </fill> |
| 2790 | |
| 2791 | <text style="text_m_fail"> |
| 2792 | <condition var1="tw_fileexists" var2="1"/> |
| 2793 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2794 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2795 | </text> |
| 2796 | |
| 2797 | <button style="main_button_half_height"> |
| 2798 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2799 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2800 | <action function="page">restore_confirm</action> |
| 2801 | </button> |
| 2802 | |
| 2803 | <template name="keyboardtemplate"/> |
| 2804 | |
| 2805 | <action> |
| 2806 | <touch key="home"/> |
| 2807 | <action function="page">main</action> |
| 2808 | </action> |
| 2809 | |
| 2810 | <action> |
| 2811 | <touch key="back"/> |
| 2812 | <action function="page">restore_confirm</action> |
| 2813 | </action> |
| 2814 | </page> |
| 2815 | |
| 2816 | <page name="restore_confirm"> |
| 2817 | <template name="page"/> |
| 2818 | |
| 2819 | <template name="statusbar"/> |
| 2820 | |
| 2821 | <text style="text_m"> |
| 2822 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2823 | <text>{@restore_hdr=Restore} > {@confirm_hdr=Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2824 | </text> |
| 2825 | |
| 2826 | <text style="text_m_accent"> |
| 2827 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2828 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2829 | </text> |
| 2830 | |
| 2831 | <text style="text_m"> |
| 2832 | <placement x="%indent%" y="%row2_y%"/> |
| 2833 | <text>%tw_restore_name%</text> |
| 2834 | </text> |
| 2835 | |
| 2836 | <fill color="%accent_color%"> |
| 2837 | <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/> |
| 2838 | </fill> |
| 2839 | |
| 2840 | <button> |
| 2841 | <fill color="%transparent%"/> |
| 2842 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 2843 | <actions> |
| 2844 | <action function="set">tw_back=restore_confirm</action> |
| 2845 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2846 | <action function="set">tw_fileexists=0</action> |
| 2847 | <action function="page">renamebackup</action> |
| 2848 | </actions> |
| 2849 | </button> |
| 2850 | |
| 2851 | <text style="text_m_accent"> |
| 2852 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2853 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2854 | </text> |
| 2855 | |
| 2856 | <partitionlist style="partitionlist_summary"> |
| 2857 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2858 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2859 | <listtype name="restore"/> |
| 2860 | </partitionlist> |
| 2861 | |
| 2862 | <button> |
| 2863 | <fill color="%transparent%"/> |
| 2864 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2865 | <actions> |
| 2866 | <action function="set">tw_back=restore_confirm</action> |
| 2867 | <action function="page">restore_select</action> |
| 2868 | </actions> |
| 2869 | </button> |
| 2870 | |
| 2871 | <listbox style="listbox_options"> |
| 2872 | <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2873 | <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2874 | <data variable="tw_skip_md5_check"/> |
| 2875 | </listitem> |
| 2876 | </listbox> |
| 2877 | |
| 2878 | <text style="text_m_accent"> |
| 2879 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2880 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2881 | </text> |
| 2882 | |
| 2883 | <button> |
| 2884 | <fill color="%transparent%"/> |
| 2885 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/> |
| 2886 | <actions> |
| 2887 | <action function="set">tw_back=restore_confirm</action> |
| 2888 | <action function="page">restore_options</action> |
| 2889 | </actions> |
| 2890 | </button> |
| 2891 | |
| 2892 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2893 | <text>{@swipe_restore_s= Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2894 | <action function="page">restore_run</action> |
| 2895 | </slider> |
| 2896 | |
| 2897 | <action> |
| 2898 | <touch key="home"/> |
| 2899 | <action function="page">main</action> |
| 2900 | </action> |
| 2901 | |
| 2902 | <action> |
| 2903 | <touch key="back"/> |
| 2904 | <action function="page">restore_options</action> |
| 2905 | </action> |
| 2906 | </page> |
| 2907 | |
| 2908 | <page name="restore_run"> |
| 2909 | <template name="page"/> |
| 2910 | |
| 2911 | <template name="statusbar"/> |
| 2912 | |
| 2913 | <text style="text_m"> |
| 2914 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2915 | <text>%tw_operation% %tw_partition%</text> |
| 2916 | </text> |
| 2917 | |
| 2918 | <template name="console"/> |
| 2919 | |
| 2920 | <template name="progress_bar"/> |
| 2921 | |
| 2922 | <text style="text_m"> |
| 2923 | <placement x="%indent%" y="%row14a_y%"/> |
| 2924 | <text>%tw_size_progress%</text> |
| 2925 | </text> |
| 2926 | |
| 2927 | <action> |
| 2928 | <condition var1="tw_operation_state" var2="1"/> |
| 2929 | <actions> |
| 2930 | <action function="set">tw_back=restore</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2931 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2932 | <action function="set">tw_show_reboot=1</action> |
| 2933 | <action function="page">action_complete</action> |
| 2934 | </actions> |
| 2935 | </action> |
| 2936 | |
| 2937 | <action> |
| 2938 | <action function="nandroid">restore</action> |
| 2939 | </action> |
| 2940 | </page> |
| 2941 | |
| 2942 | <page name="mount"> |
| 2943 | <template name="page"/> |
| 2944 | |
| 2945 | <template name="statusbar"/> |
| 2946 | |
| 2947 | <text style="text_m"> |
| 2948 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2949 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2950 | </text> |
| 2951 | |
| 2952 | <partitionlist style="partitionlist_headerless_cb"> |
| 2953 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2954 | <listtype name="mount"/> |
| 2955 | </partitionlist> |
| 2956 | |
| 2957 | <fill color="%accent_color%"> |
| 2958 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2959 | </fill> |
| 2960 | |
| 2961 | <button style="checkbox"> |
| 2962 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
| 2963 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2964 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2965 | <image resource="checkbox_false"/> |
| 2966 | <action function="mountsystemtoggle">1</action> |
| 2967 | </button> |
| 2968 | |
| 2969 | <button style="checkbox"> |
| 2970 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2971 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2972 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2973 | <image resource="checkbox_true"/> |
| 2974 | <actions> |
| 2975 | <action function="set">tw_lifetime_writes=2</action> |
| 2976 | <action function="page">system_readonly_check</action> |
| 2977 | </actions> |
| 2978 | </button> |
| 2979 | |
| 2980 | <button style="checkbox"> |
| 2981 | <conditions> |
| 2982 | <condition var1="tw_has_mtp" var2="1"/> |
| 2983 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2984 | </conditions> |
| 2985 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 2986 | <image resource="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2987 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2988 | <action function="startmtp"/> |
| 2989 | </button> |
| 2990 | |
| 2991 | <button style="checkbox"> |
| 2992 | <conditions> |
| 2993 | <condition var1="tw_has_mtp" var2="1"/> |
| 2994 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2995 | </conditions> |
| 2996 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 2997 | <image resource="checkbox_true"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2998 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2999 | <action function="stopmtp"/> |
| 3000 | </button> |
| 3001 | |
| 3002 | <button> |
| 3003 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 3004 | <highlight color="%highlight_color%"/> |
| 3005 | <image resource="q_btn_storage"/> |
| 3006 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3007 | <action function="set">tw_storagetext={@mount_hdr=Mount} > {@select_storage_hdr=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3008 | <action function="set">tw_back=mount</action> |
| 3009 | <action function="page">select_storage</action> |
| 3010 | </actions> |
| 3011 | </button> |
| 3012 | |
| 3013 | <button> |
| 3014 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3015 | <highlight color="%highlight_color%"/> |
| 3016 | <image resource="q_btn_arrow_right"/> |
| 3017 | <action function="page">mount_options</action> |
| 3018 | </button> |
| 3019 | |
| 3020 | <action> |
| 3021 | <touch key="home"/> |
| 3022 | <action function="page">main</action> |
| 3023 | </action> |
| 3024 | |
| 3025 | <action> |
| 3026 | <touch key="back"/> |
| 3027 | <action function="page">main</action> |
| 3028 | </action> |
| 3029 | </page> |
| 3030 | |
| 3031 | <page name="mount_options"> |
| 3032 | <template name="page"/> |
| 3033 | |
| 3034 | <template name="statusbar"/> |
| 3035 | |
| 3036 | <text style="text_m"> |
| 3037 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3038 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3039 | </text> |
| 3040 | |
| 3041 | <button style="main_button_full_width"> |
| 3042 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 3043 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3044 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3045 | <action function="page">usb_mount</action> |
| 3046 | </button> |
| 3047 | |
| 3048 | <button style="main_button_full_width"> |
| 3049 | <conditions> |
| 3050 | <condition var1="tw_is_encrypted" var2="1"/> |
| 3051 | <condition var1="tw_is_decrypted" var2="0"/> |
| 3052 | </conditions> |
| 3053 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3054 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3055 | <action function="page">decrypt</action> |
| 3056 | </button> |
| 3057 | |
| 3058 | <button> |
| 3059 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3060 | <highlight color="%highlight_color%"/> |
| 3061 | <image resource="q_btn_arrow_left"/> |
| 3062 | <action function="page">mount</action> |
| 3063 | </button> |
| 3064 | |
| 3065 | <action> |
| 3066 | <touch key="home"/> |
| 3067 | <action function="page">main</action> |
| 3068 | </action> |
| 3069 | |
| 3070 | <action> |
| 3071 | <touch key="back"/> |
| 3072 | <action function="page">mount</action> |
| 3073 | </action> |
| 3074 | </page> |
| 3075 | |
| 3076 | <page name="usb_mount"> |
| 3077 | <template name="page"/> |
| 3078 | |
| 3079 | <template name="statusbar"/> |
| 3080 | |
| 3081 | <text style="text_m"> |
| 3082 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3083 | <text>{@mount_hdr=Mount} > {@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3084 | </text> |
| 3085 | |
| 3086 | <text style="text_m_accent"> |
| 3087 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3088 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3089 | </text> |
| 3090 | |
| 3091 | <text style="text_m_fail"> |
| 3092 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3093 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3094 | </text> |
| 3095 | |
| 3096 | <text style="text_m_fail"> |
| 3097 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3098 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3099 | </text> |
| 3100 | |
| 3101 | <button style="main_button"> |
| 3102 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3103 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3104 | <action function="page">usb_umount</action> |
| 3105 | </button> |
| 3106 | |
| 3107 | <action> |
| 3108 | <action function="mount">usb</action> |
| 3109 | <action function="set">tw_busy=1</action> |
| 3110 | </action> |
| 3111 | </page> |
| 3112 | |
| 3113 | <page name="usb_umount"> |
| 3114 | <action> |
| 3115 | <action function="unmount">usb</action> |
| 3116 | </action> |
| 3117 | |
| 3118 | <action> |
| 3119 | <action function="page">mount_options</action> |
| 3120 | <action function="set">tw_busy=0</action> |
| 3121 | </action> |
| 3122 | </page> |
| 3123 | |
| 3124 | <page name="system_readonly_check"> |
| 3125 | <action> |
| 3126 | <action function="checkpartitionlifetimewrites">/system</action> |
| 3127 | </action> |
| 3128 | |
| 3129 | <action> |
| 3130 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 3131 | <actions> |
| 3132 | <action function="mountsystemtoggle">0</action> |
| 3133 | <action function="page">mount</action> |
| 3134 | </actions> |
| 3135 | </action> |
| 3136 | |
| 3137 | <action> |
| 3138 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 3139 | <actions> |
| 3140 | <action function="set">tw_back=mount</action> |
| 3141 | <action function="page">system_readonly</action> |
| 3142 | </actions> |
| 3143 | </action> |
| 3144 | </page> |
| 3145 | |
| 3146 | <page name="reboot"> |
| 3147 | <template name="page"/> |
| 3148 | |
| 3149 | <template name="statusbar"/> |
| 3150 | |
| 3151 | <text style="text_m"> |
| 3152 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3153 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3154 | </text> |
| 3155 | |
| 3156 | <button style="main_button"> |
| 3157 | <condition var1="tw_reboot_system" var2="1"/> |
| 3158 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3159 | <text>{@rb_system_btn=System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3160 | <actions> |
| 3161 | <action function="set">tw_back=reboot</action> |
| 3162 | <action function="set">tw_action=reboot</action> |
| 3163 | <action function="set">tw_action_param=system</action> |
| 3164 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3165 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3166 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3167 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3168 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3169 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3170 | <action function="page">rebootcheck</action> |
| 3171 | </actions> |
| 3172 | </button> |
| 3173 | |
| 3174 | <button style="main_button"> |
| 3175 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 3176 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3177 | <text>{@rb_poweroff_btn=Power Off}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3178 | <actions> |
| 3179 | <action function="set">tw_back=reboot</action> |
| 3180 | <action function="set">tw_action=reboot</action> |
| 3181 | <action function="set">tw_action_param=poweroff</action> |
| 3182 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3183 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3184 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 3185 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 3186 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 3187 | <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3188 | <action function="page">rebootcheck</action> |
| 3189 | </actions> |
| 3190 | </button> |
| 3191 | |
| 3192 | <button style="main_button"> |
| 3193 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 3194 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3195 | <text>{@rb_recovery_btn=Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3196 | <actions> |
| 3197 | <action function="set">tw_back=reboot</action> |
| 3198 | <action function="set">tw_action=reboot</action> |
| 3199 | <action function="set">tw_action_param=recovery</action> |
| 3200 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3201 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3202 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3203 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3204 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3205 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3206 | <action function="page">rebootcheck</action> |
| 3207 | </actions> |
| 3208 | </button> |
| 3209 | |
| 3210 | <button style="main_button"> |
| 3211 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 3212 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3213 | <text>{@rb_bootloader_btn=Bootloader}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3214 | <actions> |
| 3215 | <action function="set">tw_back=reboot</action> |
| 3216 | <action function="set">tw_action=reboot</action> |
| 3217 | <action function="set">tw_action_param=bootloader</action> |
| 3218 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3219 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3220 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3221 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3222 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3223 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3224 | <action function="page">rebootcheck</action> |
| 3225 | </actions> |
| 3226 | </button> |
| 3227 | |
| 3228 | <button style="main_button"> |
| 3229 | <condition var1="tw_download_mode" var2="1"/> |
| 3230 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3231 | <text>{@rb_download_btn=Download}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3232 | <actions> |
| 3233 | <action function="set">tw_back=reboot</action> |
| 3234 | <action function="set">tw_action=reboot</action> |
| 3235 | <action function="set">tw_action_param=download</action> |
| 3236 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3237 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3238 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3239 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3240 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3241 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3242 | <action function="page">rebootcheck</action> |
| 3243 | </actions> |
| 3244 | </button> |
| 3245 | |
| 3246 | <action> |
| 3247 | <touch key="home"/> |
| 3248 | <action function="page">main</action> |
| 3249 | </action> |
| 3250 | |
| 3251 | <action> |
| 3252 | <touch key="back"/> |
| 3253 | <action function="page">main</action> |
| 3254 | </action> |
| 3255 | </page> |
| 3256 | |
| 3257 | <page name="system_readonly"> |
| 3258 | <template name="page"/> |
| 3259 | |
| 3260 | <template name="statusbar"/> |
| 3261 | |
| 3262 | <text style="text_m"> |
| 3263 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3264 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3265 | </text> |
| 3266 | |
| 3267 | <text style="text_m_accent"> |
| 3268 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3269 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3270 | </text> |
| 3271 | |
| 3272 | <text style="text_m"> |
| 3273 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3274 | <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3275 | </text> |
| 3276 | |
| 3277 | <text style="text_m"> |
| 3278 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3279 | <text>{@sys_rop2=to make it easier for you to take official updates.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3280 | </text> |
| 3281 | |
| 3282 | <text style="text_m"> |
| 3283 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3284 | <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3285 | </text> |
| 3286 | |
| 3287 | <text style="text_m"> |
| 3288 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3289 | <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3290 | </text> |
| 3291 | |
| 3292 | <text style="text_m_fail"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3293 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3294 | <text>{@sys_rop5=Installing zips or performing adb operations may still}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3295 | </text> |
| 3296 | |
| 3297 | <text style="text_m_fail"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3298 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3299 | <text>{@sys_rop6=modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3300 | </text> |
| 3301 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3302 | <button style="main_button_half_height"> |
| 3303 | <placement x="%col1_x_right%" y="%row8a_y%"/> |
| 3304 | <text>{@sel_lang_btn=Select Language}</text> |
| 3305 | <action function="page">settings_language</action> |
| 3306 | </button> |
| 3307 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3308 | <checkbox> |
| 3309 | <condition var1="tw_is_encrypted" var2="0"/> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3310 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3311 | <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3312 | <data variable="tw_never_show_system_ro_page"/> |
| 3313 | </checkbox> |
| 3314 | |
| 3315 | <button style="main_button_half_height"> |
| 3316 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3317 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3318 | <actions> |
| 3319 | <action function="mountsystemtoggle">1</action> |
| 3320 | <action function="set">tw_page_done=1</action> |
| 3321 | <action function="page">%tw_back%</action> |
| 3322 | </actions> |
| 3323 | </button> |
| 3324 | |
| 3325 | <button style="main_button_half_height"> |
| 3326 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3327 | <text>{@swipe_allow_mod_s=Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3328 | <actions> |
| 3329 | <action function="mountsystemtoggle">0</action> |
| 3330 | <action function="set">tw_page_done=1</action> |
| 3331 | <action function="page">%tw_back%</action> |
| 3332 | </actions> |
| 3333 | </button> |
| 3334 | </page> |
| 3335 | |
| 3336 | <page name="settings"> |
| 3337 | <template name="page"/> |
| 3338 | |
| 3339 | <template name="statusbar"/> |
| 3340 | |
| 3341 | <text style="text_m"> |
| 3342 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3343 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3344 | </text> |
| 3345 | |
| 3346 | <button style="main_button"> |
| 3347 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3348 | <text>{@settings_gen_btn=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3349 | <action function="page">settings_general</action> |
| 3350 | </button> |
| 3351 | |
| 3352 | <button style="main_button"> |
| 3353 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3354 | <text>{@settings_tz_btn=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3355 | <action function="page">settings_timezone</action> |
| 3356 | </button> |
| 3357 | |
| 3358 | <button style="main_button"> |
| 3359 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3360 | <text>{@settings_screen_btn=Screen}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3361 | <action function="page">settings_screen</action> |
| 3362 | </button> |
| 3363 | |
| 3364 | <button style="main_button"> |
| 3365 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3366 | <text>{@settings_vibration_btn=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3367 | <action function="page">settings_vibration</action> |
| 3368 | </button> |
| 3369 | |
| 3370 | <button style="main_button"> |
| 3371 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3372 | <text>{@settings_language_btn=Language}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3373 | <action function="page">settings_language</action> |
| 3374 | </button> |
| 3375 | |
| 3376 | <button> |
| 3377 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3378 | <highlight color="%highlight_color%"/> |
| 3379 | <image resource="q_btn_reset"/> |
| 3380 | <action function="restoredefaultsettings"/> |
| 3381 | </button> |
| 3382 | |
| 3383 | <action> |
| 3384 | <touch key="home"/> |
| 3385 | <action function="page">main</action> |
| 3386 | </action> |
| 3387 | |
| 3388 | <action> |
| 3389 | <touch key="back"/> |
| 3390 | <action function="page">main3</action> |
| 3391 | </action> |
| 3392 | </page> |
| 3393 | |
| 3394 | <page name="settings_general"> |
| 3395 | <template name="page"/> |
| 3396 | |
| 3397 | <template name="statusbar"/> |
| 3398 | |
| 3399 | <text style="text_m"> |
| 3400 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3401 | <text>{@settings_hdr=Settings} > {@settings_gen_s_hdr=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3402 | </text> |
| 3403 | |
| 3404 | <listbox style="scrolllist"> |
| 3405 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3406 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3407 | <data variable="tw_signed_zip_verify"/> |
| 3408 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3409 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3410 | <data variable="tw_rm_rf"/> |
| 3411 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3412 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3413 | <data variable="tw_skip_md5_generate"/> |
| 3414 | </listitem> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 3415 | <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3416 | <data variable="tw_skip_md5_check"/> |
| 3417 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3418 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3419 | <data variable="tw_military_time"/> |
| 3420 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3421 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3422 | <data variable="tw_simulate_actions"/> |
| 3423 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3424 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3425 | <data variable="tw_simulate_fail"/> |
| 3426 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3427 | </listitem> |
| 3428 | </listbox> |
| 3429 | |
| 3430 | <action> |
| 3431 | <touch key="home"/> |
| 3432 | <action function="page">main</action> |
| 3433 | </action> |
| 3434 | |
| 3435 | <action> |
| 3436 | <touch key="back"/> |
| 3437 | <action function="page">settings</action> |
| 3438 | </action> |
| 3439 | </page> |
| 3440 | |
| 3441 | <page name="settings_timezone"> |
| 3442 | <template name="page"/> |
| 3443 | |
| 3444 | <template name="statusbar"/> |
| 3445 | |
| 3446 | <text style="text_m"> |
| 3447 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3448 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3449 | </text> |
| 3450 | |
| 3451 | <text color="%text_color%"> |
| 3452 | <font resource="font_m"/> |
| 3453 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3454 | <text>%tw_time%</text> |
| 3455 | </text> |
| 3456 | |
| 3457 | <listbox style="listbox_headerless"> |
| 3458 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/> |
| 3459 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3460 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3461 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3462 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3463 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3464 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3465 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3466 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3467 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3468 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3469 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3470 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3471 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3472 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3473 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3474 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3475 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3476 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3477 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3478 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3479 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3480 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3481 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3482 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3483 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3484 | </listbox> |
| 3485 | |
| 3486 | <button> |
| 3487 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3488 | <highlight color="%highlight_color%"/> |
| 3489 | <image resource="q_btn_arrow_right"/> |
| 3490 | <actions> |
| 3491 | <action function="setguitimezone"/> |
| 3492 | <action function="page">settings_timezone2</action> |
| 3493 | </actions> |
| 3494 | </button> |
| 3495 | |
| 3496 | <action> |
| 3497 | <condition var1="tw_time_zone_guisel" op="modified"/> |
| 3498 | <action function="setguitimezone"/> |
| 3499 | </action> |
| 3500 | |
| 3501 | <action> |
| 3502 | <touch key="home"/> |
| 3503 | <actions> |
| 3504 | <action function="page">main</action> |
| 3505 | <action function="setguitimezone"/> |
| 3506 | </actions> |
| 3507 | </action> |
| 3508 | |
| 3509 | <action> |
| 3510 | <touch key="back"/> |
| 3511 | <actions> |
| 3512 | <action function="page">settings</action> |
| 3513 | <action function="setguitimezone"/> |
| 3514 | </actions> |
| 3515 | </action> |
| 3516 | |
| 3517 | <action> |
| 3518 | <touch key="power+voldown"/> |
| 3519 | <action function="screenshot"/> |
| 3520 | </action> |
| 3521 | </page> |
| 3522 | |
| 3523 | <page name="settings_timezone2"> |
| 3524 | <template name="page"/> |
| 3525 | |
| 3526 | <template name="statusbar"/> |
| 3527 | |
| 3528 | <text style="text_m"> |
| 3529 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3530 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3531 | </text> |
| 3532 | |
| 3533 | <text color="%text_color%"> |
| 3534 | <font resource="font_m"/> |
| 3535 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3536 | <text>%tw_time%</text> |
| 3537 | </text> |
| 3538 | |
| 3539 | <checkbox> |
| 3540 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 3541 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3542 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3543 | <data variable="tw_time_zone_guidst"/> |
| 3544 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3545 | </checkbox> |
| 3546 | |
| 3547 | <text style="text_m_accent"> |
| 3548 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3549 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3550 | </text> |
| 3551 | |
| 3552 | <button style="main_button_quarter_width"> |
| 3553 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3554 | <text>{@tz_offset_0=0}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3555 | <actions> |
| 3556 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3557 | <action function="setguitimezone"/> |
| 3558 | </actions> |
| 3559 | </button> |
| 3560 | |
| 3561 | <button style="main_button_quarter_width"> |
| 3562 | <placement x="%btn4_col2_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3563 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3564 | <actions> |
| 3565 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3566 | <action function="setguitimezone"/> |
| 3567 | </actions> |
| 3568 | </button> |
| 3569 | |
| 3570 | <button style="main_button_quarter_width"> |
| 3571 | <placement x="%btn4_col3_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3572 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3573 | <actions> |
| 3574 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3575 | <action function="setguitimezone"/> |
| 3576 | </actions> |
| 3577 | </button> |
| 3578 | |
| 3579 | <button style="main_button_quarter_width"> |
| 3580 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3581 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3582 | <actions> |
| 3583 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3584 | <action function="setguitimezone"/> |
| 3585 | </actions> |
| 3586 | </button> |
| 3587 | |
| 3588 | <button> |
| 3589 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3590 | <highlight color="%highlight_color%"/> |
| 3591 | <image resource="q_btn_arrow_left"/> |
| 3592 | <actions> |
| 3593 | <action function="setguitimezone"/> |
| 3594 | <action function="page">settings_timezone</action> |
| 3595 | </actions> |
| 3596 | </button> |
| 3597 | |
| 3598 | <text style="text_m_accent"> |
| 3599 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3600 | <text>{@curr_tz_s=Current Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3601 | </text> |
| 3602 | |
| 3603 | <text style="text_m"> |
| 3604 | <placement x="%btn4_col2_x%" y="%row12a_y%"/> |
| 3605 | <text>%tw_time_zone%</text> |
| 3606 | </text> |
| 3607 | |
| 3608 | <action> |
| 3609 | <condition var1="tw_time_zone_guidst" op="modified"/> |
| 3610 | <action function="setguitimezone"/> |
| 3611 | </action> |
| 3612 | |
| 3613 | <action> |
| 3614 | <touch key="home"/> |
| 3615 | <actions> |
| 3616 | <action function="setguitimezone"/> |
| 3617 | <action function="page">main</action> |
| 3618 | </actions> |
| 3619 | </action> |
| 3620 | |
| 3621 | <action> |
| 3622 | <touch key="back"/> |
| 3623 | <actions> |
| 3624 | <action function="setguitimezone"/> |
| 3625 | <action function="page">settings_timezone</action> |
| 3626 | </actions> |
| 3627 | </action> |
| 3628 | </page> |
| 3629 | |
| 3630 | <page name="settings_screen"> |
| 3631 | <template name="page"/> |
| 3632 | |
| 3633 | <template name="statusbar"/> |
| 3634 | |
| 3635 | <text style="text_m"> |
| 3636 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3637 | <text>{@settings_hdr=Settings} > {@settings_screen_timeout_hdr=Screen Timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3638 | </text> |
| 3639 | |
| 3640 | <button style="checkbox"> |
| 3641 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3642 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3643 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3644 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3645 | <image resource="checkbox_false"/> |
| 3646 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3647 | </button> |
| 3648 | |
| 3649 | <button style="checkbox"> |
| 3650 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3651 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3652 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3653 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3654 | <image resource="checkbox_true"/> |
| 3655 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3656 | </button> |
| 3657 | |
| 3658 | <slidervalue> |
| 3659 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3660 | <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3661 | <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3662 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3663 | </slidervalue> |
| 3664 | |
| 3665 | <text style="text_m_fail"> |
| 3666 | <condition var1="tw_no_screen_timeout" op="=" var2="1"/> |
| 3667 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3668 | <text>{@screen_to_na=Screen timeout setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3669 | </text> |
| 3670 | |
| 3671 | <button> |
| 3672 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3673 | <highlight color="%highlight_color%"/> |
| 3674 | <image resource="q_btn_arrow_right"/> |
| 3675 | <action function="page">settings_screen2</action> |
| 3676 | </button> |
| 3677 | |
| 3678 | <action> |
| 3679 | <touch key="home"/> |
| 3680 | <action function="page">main</action> |
| 3681 | </action> |
| 3682 | |
| 3683 | <action> |
| 3684 | <touch key="back"/> |
| 3685 | <action function="page">settings</action> |
| 3686 | </action> |
| 3687 | </page> |
| 3688 | |
| 3689 | <page name="settings_screen2"> |
| 3690 | <template name="page"/> |
| 3691 | |
| 3692 | <template name="statusbar"/> |
| 3693 | |
| 3694 | <text style="text_m"> |
| 3695 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3696 | <text>{@settings_hdr=Settings} > {@settings_screen_bright_btn=Screen Brightness}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3697 | </text> |
| 3698 | |
| 3699 | <slidervalue> |
| 3700 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3701 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3702 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3703 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3704 | <actions> |
| 3705 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3706 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3707 | <action function="compute">tw_brightness/100</action> |
| 3708 | <action function="setbrightness">%tw_brightness%</action> |
| 3709 | </actions> |
| 3710 | </slidervalue> |
| 3711 | |
| 3712 | <text style="text_m_fail"> |
| 3713 | <condition var1="tw_has_brightnesss_file" var2="0"/> |
| 3714 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3715 | <text>{@screen_bright_na=Brightness setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3716 | </text> |
| 3717 | |
| 3718 | <button> |
| 3719 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3720 | <highlight color="%highlight_color%"/> |
| 3721 | <image resource="q_btn_arrow_left"/> |
| 3722 | <action function="page">settings_screen</action> |
| 3723 | </button> |
| 3724 | |
| 3725 | <action> |
| 3726 | <touch key="home"/> |
| 3727 | <action function="page">main</action> |
| 3728 | </action> |
| 3729 | |
| 3730 | <action> |
| 3731 | <touch key="back"/> |
| 3732 | <action function="page">settings</action> |
| 3733 | </action> |
| 3734 | </page> |
| 3735 | |
| 3736 | <page name="settings_vibration"> |
| 3737 | <template name="page"/> |
| 3738 | |
| 3739 | <template name="statusbar"/> |
| 3740 | |
| 3741 | <text style="text_m"> |
| 3742 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3743 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3744 | </text> |
| 3745 | |
| 3746 | <slidervalue> |
| 3747 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3748 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3749 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3750 | </slidervalue> |
| 3751 | |
| 3752 | <button> |
| 3753 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3754 | <highlight color="%highlight_color%"/> |
| 3755 | <image resource="q_btn_arrow_right"/> |
| 3756 | <action function="page">settings_vibration2</action> |
| 3757 | </button> |
| 3758 | |
| 3759 | <action> |
| 3760 | <touch key="home"/> |
| 3761 | <action function="page">main</action> |
| 3762 | </action> |
| 3763 | |
| 3764 | <action> |
| 3765 | <touch key="back"/> |
| 3766 | <action function="page">settings</action> |
| 3767 | </action> |
| 3768 | </page> |
| 3769 | |
| 3770 | <page name="settings_vibration2"> |
| 3771 | <template name="page"/> |
| 3772 | |
| 3773 | <template name="statusbar"/> |
| 3774 | |
| 3775 | <text style="text_m"> |
| 3776 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3777 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3778 | </text> |
| 3779 | |
| 3780 | <slidervalue> |
| 3781 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3782 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3783 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3784 | </slidervalue> |
| 3785 | |
| 3786 | <button> |
| 3787 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3788 | <highlight color="%highlight_color%"/> |
| 3789 | <image resource="q_btn_arrow_left"/> |
| 3790 | <action function="page">settings_vibration</action> |
| 3791 | </button> |
| 3792 | |
| 3793 | <button> |
| 3794 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3795 | <highlight color="%highlight_color%"/> |
| 3796 | <image resource="q_btn_arrow_right"/> |
| 3797 | <action function="page">settings_vibration3</action> |
| 3798 | </button> |
| 3799 | |
| 3800 | <action> |
| 3801 | <touch key="home"/> |
| 3802 | <action function="page">main</action> |
| 3803 | </action> |
| 3804 | |
| 3805 | <action> |
| 3806 | <touch key="back"/> |
| 3807 | <action function="page">settings</action> |
| 3808 | </action> |
| 3809 | </page> |
| 3810 | |
| 3811 | <page name="settings_vibration3"> |
| 3812 | <template name="page"/> |
| 3813 | |
| 3814 | <template name="statusbar"/> |
| 3815 | |
| 3816 | <text style="text_m"> |
| 3817 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3818 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3819 | </text> |
| 3820 | |
| 3821 | <slidervalue> |
| 3822 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3823 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3824 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3825 | </slidervalue> |
| 3826 | |
| 3827 | <button> |
| 3828 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3829 | <highlight color="%highlight_color%"/> |
| 3830 | <image resource="q_btn_arrow_left"/> |
| 3831 | <action function="page">settings_vibration2</action> |
| 3832 | </button> |
| 3833 | |
| 3834 | <action> |
| 3835 | <touch key="home"/> |
| 3836 | <action function="page">main</action> |
| 3837 | </action> |
| 3838 | |
| 3839 | <action> |
| 3840 | <touch key="back"/> |
| 3841 | <action function="page">settings</action> |
| 3842 | </action> |
| 3843 | </page> |
| 3844 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3845 | <page name="settings_language"> |
| 3846 | <template name="page"/> |
| 3847 | |
| 3848 | <template name="statusbar"/> |
| 3849 | |
| 3850 | <text style="text_m"> |
| 3851 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 3852 | <text>{@settings_hdr=Settings} > {@language_hdr=Language} - %tw_language_display%</text> |
| 3853 | </text> |
| 3854 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3855 | <listbox style="scrolllist"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3856 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 3857 | <icon selected="radio_true" unselected="radio_false" /> |
| 3858 | <data name="tw_language" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3859 | </listbox> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3860 | |
| 3861 | <button> |
| 3862 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3863 | <highlight color="%highlight_color%"/> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3864 | <image resource="q_btn_accept_transp"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3865 | <action function="setlanguage"></action> |
| 3866 | </button> |
| 3867 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3868 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3869 | <touch key="home" /> |
| 3870 | <action function="page">main</action> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3871 | </action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3872 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3873 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3874 | <touch key="back" /> |
| 3875 | <action function="page">settings</action> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3876 | </action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3877 | </page> |
| 3878 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3879 | <page name="advanced"> |
| 3880 | <template name="page"/> |
| 3881 | |
| 3882 | <template name="statusbar"/> |
| 3883 | |
| 3884 | <text style="text_m"> |
| 3885 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3886 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3887 | </text> |
| 3888 | |
| 3889 | <button style="main_button"> |
| 3890 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3891 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3892 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3893 | </button> |
| 3894 | |
| 3895 | <button style="main_button"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 3896 | <condition var1="tw_has_data_media" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3897 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 3898 | <text>{@fix_context_btn=Fix Contexts}</text> |
| 3899 | <action function="page">fixcontexts</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3900 | </button> |
| 3901 | |
| 3902 | <button style="main_button"> |
| 3903 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3904 | <text>{@reload_theme_btn=Reload Theme}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3905 | <action function="reload"/> |
| 3906 | </button> |
| 3907 | |
| 3908 | <button style="main_button"> |
| 3909 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3910 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3911 | <text>{@part_sd_s_btn=SD Card}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3912 | <actions> |
| 3913 | <action function="set">partitionlisterror=0</action> |
| 3914 | <action function="page">partsdcardsel</action> |
| 3915 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3916 | </button> |
| 3917 | |
| 3918 | <button style="main_button"> |
| 3919 | <condition var1="tw_show_dumlock" var2="1"/> |
| 3920 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3921 | <text>{@dumlock_btn=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3922 | <action function="page">htcdumlock</action> |
| 3923 | </button> |
| 3924 | |
| 3925 | <button style="main_button"> |
| 3926 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3927 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3928 | <text>{@inject_twrp_btn=Inject TWRP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3929 | <actions> |
| 3930 | <action function="set">tw_back=advanced</action> |
| 3931 | <action function="set">tw_action=reinjecttwrp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3932 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3933 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3934 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3935 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3936 | <action function="page">confirm_action</action> |
| 3937 | </actions> |
| 3938 | </button> |
| 3939 | |
| 3940 | <action> |
| 3941 | <touch key="home"/> |
| 3942 | <action function="page">main</action> |
| 3943 | </action> |
| 3944 | |
| 3945 | <action> |
| 3946 | <touch key="back"/> |
| 3947 | <action function="page">main3</action> |
| 3948 | </action> |
| 3949 | </page> |
| 3950 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3951 | <page name="partsdcardsel"> |
| 3952 | <template name="page"/> |
| 3953 | |
| 3954 | <template name="statusbar"/> |
| 3955 | |
| 3956 | <text style="text_m"> |
| 3957 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 3958 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
| 3959 | </text> |
| 3960 | |
| 3961 | <partitionlist style="partitionlist_headerless_rb"> |
| 3962 | <data name="tw_storage_path"/> |
| 3963 | <listtype name="storage"/> |
| 3964 | </partitionlist> |
| 3965 | |
| 3966 | <text style="text_m_fail"> |
| 3967 | <condition var1="partitionlisterror" var2="1"/> |
| 3968 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
| 3969 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 3970 | </text> |
| 3971 | |
| 3972 | <button> |
| 3973 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 3974 | <highlight color="%highlight_color%"/> |
| 3975 | <image resource="q_btn_refresh"/> |
| 3976 | <action function="refreshsizes"/> |
| 3977 | </button> |
| 3978 | |
| 3979 | <button> |
| 3980 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 3981 | <highlight color="%highlight_color%"/> |
| 3982 | <image resource="q_btn_accept"/> |
| 3983 | <actions> |
| 3984 | <action function="getpartitiondetails">tw_storage_path</action> |
| 3985 | <action function="page">partsdcardcheck</action> |
| 3986 | </actions> |
| 3987 | </button> |
| 3988 | |
| 3989 | <action> |
| 3990 | <touch key="home"/> |
| 3991 | <action function="page">main</action> |
| 3992 | </action> |
| 3993 | |
| 3994 | <action> |
| 3995 | <touch key="back"/> |
| 3996 | <action function="page">advanced</action> |
| 3997 | </action> |
| 3998 | </page> |
| 3999 | |
| 4000 | <page name="partsdcardcheck"> |
| 4001 | <action> |
| 4002 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 4003 | <actions> |
| 4004 | <action function="set">partitionlisterror=0</action> |
| 4005 | <action function="page">partsdcard</action> |
| 4006 | </actions> |
| 4007 | </action> |
| 4008 | |
| 4009 | <action> |
| 4010 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 4011 | <actions> |
| 4012 | <action function="set">partitionlisterror=1</action> |
| 4013 | <action function="page">partsdcardsel</action> |
| 4014 | </actions> |
| 4015 | </action> |
| 4016 | </page> |
| 4017 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4018 | <page name="partsdcard"> |
| 4019 | <template name="page"/> |
| 4020 | |
| 4021 | <template name="statusbar"/> |
| 4022 | |
| 4023 | <text style="text_m"> |
| 4024 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4025 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4026 | </text> |
| 4027 | |
| 4028 | <text style="text_m_fail"> |
| 4029 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4030 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4031 | </text> |
| 4032 | |
| 4033 | <text style="text_m_fail"> |
| 4034 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4035 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4036 | </text> |
| 4037 | |
| 4038 | <text style="text_m_accent"> |
| 4039 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4040 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4041 | </text> |
| 4042 | |
| 4043 | <text style="text_m"> |
| 4044 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4045 | <text>%tw_sdext_size%</text> |
| 4046 | </text> |
| 4047 | |
| 4048 | <button style="main_button_quarter_width"> |
| 4049 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4050 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4051 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4052 | </button> |
| 4053 | |
| 4054 | <button style="main_button_quarter_width"> |
| 4055 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4056 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4057 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4058 | </button> |
| 4059 | |
| 4060 | <button> |
| 4061 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4062 | <highlight color="%highlight_color%"/> |
| 4063 | <image resource="q_btn_arrow_right"/> |
| 4064 | <action function="page">partsdcard2</action> |
| 4065 | </button> |
| 4066 | |
| 4067 | <action> |
| 4068 | <touch key="home"/> |
| 4069 | <action function="page">main</action> |
| 4070 | </action> |
| 4071 | |
| 4072 | <action> |
| 4073 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4074 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4075 | </action> |
| 4076 | </page> |
| 4077 | |
| 4078 | <page name="partsdcard2"> |
| 4079 | <template name="page"/> |
| 4080 | |
| 4081 | <template name="statusbar"/> |
| 4082 | |
| 4083 | <text style="text_m"> |
| 4084 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4085 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4086 | </text> |
| 4087 | |
| 4088 | <text style="text_m_fail"> |
| 4089 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4090 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4091 | </text> |
| 4092 | |
| 4093 | <text style="text_m_fail"> |
| 4094 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4095 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4096 | </text> |
| 4097 | |
| 4098 | <text style="text_m_accent"> |
| 4099 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4100 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4101 | </text> |
| 4102 | |
| 4103 | <text style="text_m"> |
| 4104 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4105 | <text>%tw_swap_size%</text> |
| 4106 | </text> |
| 4107 | |
| 4108 | <button style="main_button_quarter_width"> |
| 4109 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4110 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4111 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4112 | </button> |
| 4113 | |
| 4114 | <button style="main_button_quarter_width"> |
| 4115 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4116 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4117 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4118 | </button> |
| 4119 | |
| 4120 | <button> |
| 4121 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4122 | <highlight color="%highlight_color%"/> |
| 4123 | <image resource="q_btn_arrow_left"/> |
| 4124 | <action function="page">partsdcard</action> |
| 4125 | </button> |
| 4126 | |
| 4127 | <button> |
| 4128 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4129 | <highlight color="%highlight_color%"/> |
| 4130 | <image resource="q_btn_arrow_right"/> |
| 4131 | <action function="page">partsdcard3</action> |
| 4132 | </button> |
| 4133 | |
| 4134 | <action> |
| 4135 | <touch key="home"/> |
| 4136 | <action function="page">main</action> |
| 4137 | </action> |
| 4138 | |
| 4139 | <action> |
| 4140 | <touch key="back"/> |
| 4141 | <action function="page">advanced</action> |
| 4142 | </action> |
| 4143 | </page> |
| 4144 | |
| 4145 | <page name="partsdcard3"> |
| 4146 | <template name="page"/> |
| 4147 | |
| 4148 | <template name="statusbar"/> |
| 4149 | |
| 4150 | <text style="text_m"> |
| 4151 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4152 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4153 | </text> |
| 4154 | |
| 4155 | <text style="text_m_fail"> |
| 4156 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4157 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4158 | </text> |
| 4159 | |
| 4160 | <text style="text_m_fail"> |
| 4161 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4162 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4163 | </text> |
| 4164 | |
| 4165 | <text style="text_m_accent"> |
| 4166 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4167 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4168 | </text> |
| 4169 | |
| 4170 | <text style="text_m"> |
| 4171 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4172 | <text>%tw_sdpart_file_system%</text> |
| 4173 | </text> |
| 4174 | |
| 4175 | <button style="main_button_quarter_width"> |
| 4176 | <placement x="%indent%" y="%row6_y%"/> |
| 4177 | <text>EXT3</text> |
| 4178 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4179 | </button> |
| 4180 | |
| 4181 | <button style="main_button_quarter_width"> |
| 4182 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
| 4183 | <text>EXT4</text> |
| 4184 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4185 | </button> |
| 4186 | |
| 4187 | <button> |
| 4188 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4189 | <highlight color="%highlight_color%"/> |
| 4190 | <image resource="q_btn_arrow_left"/> |
| 4191 | <action function="page">partsdcard2</action> |
| 4192 | </button> |
| 4193 | |
| 4194 | <button> |
| 4195 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4196 | <highlight color="%highlight_color%"/> |
| 4197 | <image resource="q_btn_arrow_right"/> |
| 4198 | <action function="page">partsdcard_confirm</action> |
| 4199 | </button> |
| 4200 | |
| 4201 | <action> |
| 4202 | <touch key="home"/> |
| 4203 | <action function="page">main</action> |
| 4204 | </action> |
| 4205 | |
| 4206 | <action> |
| 4207 | <touch key="back"/> |
| 4208 | <action function="page">advanced</action> |
| 4209 | </action> |
| 4210 | </page> |
| 4211 | |
| 4212 | <page name="partsdcard_confirm"> |
| 4213 | <template name="page"/> |
| 4214 | |
| 4215 | <template name="statusbar"/> |
| 4216 | |
| 4217 | <text style="text_m"> |
| 4218 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4219 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4220 | </text> |
| 4221 | |
| 4222 | <text style="text_m_fail"> |
| 4223 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4224 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4225 | </text> |
| 4226 | |
| 4227 | <text style="text_m_fail"> |
| 4228 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4229 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4230 | </text> |
| 4231 | |
| 4232 | <text style="text_m_accent"> |
| 4233 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4234 | <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4235 | </text> |
| 4236 | |
| 4237 | <text style="text_m_accent"> |
| 4238 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4239 | <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4240 | </text> |
| 4241 | |
| 4242 | <text style="text_m_accent"> |
| 4243 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4244 | <text>{@file_system=File System:} %tw_sdpart_file_system%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4245 | </text> |
| 4246 | |
| 4247 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4248 | <text>{@swipe_part_sd_s=Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4249 | <action function="page">partsdcardaction</action> |
| 4250 | <actions> |
| 4251 | <action function="set">tw_back=partsdcard</action> |
| 4252 | <action function="set">tw_action=partitionsd</action> |
| 4253 | <action function="set">tw_has_action2=1</action> |
| 4254 | <action function="set">tw_action2=set</action> |
| 4255 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4256 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4257 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4258 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4259 | <action function="page">action_page</action> |
| 4260 | </actions> |
| 4261 | </slider> |
| 4262 | |
| 4263 | <action> |
| 4264 | <touch key="home"/> |
| 4265 | <action function="page">main</action> |
| 4266 | </action> |
| 4267 | |
| 4268 | <action> |
| 4269 | <touch key="back"/> |
| 4270 | <action function="page">advanced</action> |
| 4271 | </action> |
| 4272 | </page> |
| 4273 | |
| 4274 | <page name="htcdumlock"> |
| 4275 | <template name="page"/> |
| 4276 | |
| 4277 | <template name="statusbar"/> |
| 4278 | |
| 4279 | <text style="text_m"> |
| 4280 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4281 | <text>{@advanced_hdr=Advanced} > {@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4282 | </text> |
| 4283 | |
| 4284 | <button style="main_button_full_width"> |
| 4285 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4286 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4287 | <actions> |
| 4288 | <action function="set">tw_back=htcdumlock</action> |
| 4289 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4290 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 4291 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 4292 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 4293 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4294 | <action function="page">confirm_action</action> |
| 4295 | </actions> |
| 4296 | </button> |
| 4297 | |
| 4298 | <button style="main_button_full_width"> |
| 4299 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4300 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4301 | <actions> |
| 4302 | <action function="set">tw_back=htcdumlock</action> |
| 4303 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4304 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 4305 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 4306 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 4307 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4308 | <action function="page">confirm_action</action> |
| 4309 | </actions> |
| 4310 | </button> |
| 4311 | |
| 4312 | <button style="main_button_full_width"> |
| 4313 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4314 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4315 | <actions> |
| 4316 | <action function="set">tw_back=htcdumlock</action> |
| 4317 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4318 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 4319 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 4320 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4321 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4322 | <action function="page">confirm_action</action> |
| 4323 | </actions> |
| 4324 | </button> |
| 4325 | |
| 4326 | <action> |
| 4327 | <touch key="home"/> |
| 4328 | <action function="page">main</action> |
| 4329 | </action> |
| 4330 | |
| 4331 | <action> |
| 4332 | <touch key="back"/> |
| 4333 | <action function="page">advanced</action> |
| 4334 | </action> |
| 4335 | </page> |
| 4336 | |
| 4337 | <page name="lock"> |
| 4338 | <background color="%semi_transparent%"/> |
| 4339 | |
| 4340 | <image> |
| 4341 | <image resource="unlock_icon"/> |
| 4342 | <placement x="%center_x%" y="%row6_y%" placement="4"/> |
| 4343 | </image> |
| 4344 | |
| 4345 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4346 | <text>{@swipe_unlock= Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4347 | <action function="overlay"/> |
| 4348 | </slider> |
| 4349 | </page> |
| 4350 | |
| 4351 | <page name="filemanagerlist"> |
| 4352 | <template name="page"/> |
| 4353 | |
| 4354 | <template name="statusbar"/> |
| 4355 | |
| 4356 | <text style="text_m"> |
| 4357 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4358 | <text>{@fm_hdr=File Manager} > {@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4359 | </text> |
| 4360 | |
| 4361 | <fileselector> |
| 4362 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4363 | <text>%tw_file_location1%</text> |
| 4364 | <filter folders="1" files="1"/> |
| 4365 | <path name="tw_file_location1" default="/"/> |
| 4366 | <data name="tw_filename1"/> |
| 4367 | <selection name="tw_selection1"/> |
| 4368 | </fileselector> |
| 4369 | |
| 4370 | <button> |
| 4371 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4372 | <highlight color="%highlight_color%"/> |
| 4373 | <image resource="q_btn_folder"/> |
| 4374 | <actions> |
| 4375 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4376 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4377 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4378 | <action function="page">filemanageroptions</action> |
| 4379 | </actions> |
| 4380 | </button> |
| 4381 | |
| 4382 | <action> |
| 4383 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4384 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4385 | <action function="set">tw_fm_isfolder=0</action> |
| 4386 | </actions> |
| 4387 | </action> |
| 4388 | |
| 4389 | <action> |
| 4390 | <touch key="home"/> |
| 4391 | <action function="page">main</action> |
| 4392 | </action> |
| 4393 | |
| 4394 | <action> |
| 4395 | <touch key="back"/> |
| 4396 | <action function="page">main3</action> |
| 4397 | </action> |
| 4398 | |
| 4399 | <action> |
| 4400 | <condition var1="tw_filename1" op="modified"/> |
| 4401 | <action function="page">filemanageroptions</action> |
| 4402 | </action> |
| 4403 | </page> |
| 4404 | |
| 4405 | <page name="filemanageroptions"> |
| 4406 | <template name="page"/> |
| 4407 | |
| 4408 | <template name="statusbar"/> |
| 4409 | |
| 4410 | <text style="text_m"> |
| 4411 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4412 | <text>%tw_fm_type% > %tw_filename1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4413 | </text> |
| 4414 | |
| 4415 | <button style="main_button"> |
| 4416 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4417 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4418 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4419 | <actions> |
| 4420 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4421 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4422 | <action function="page">choosedestinationfolder</action> |
| 4423 | </actions> |
| 4424 | </button> |
| 4425 | |
| 4426 | <button style="main_button"> |
| 4427 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4428 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4429 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4430 | <actions> |
| 4431 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4432 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4433 | <action function="page">choosedestinationfolder</action> |
| 4434 | </actions> |
| 4435 | </button> |
| 4436 | |
| 4437 | <button style="main_button"> |
| 4438 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4439 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4440 | <actions> |
| 4441 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4442 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4443 | <action function="page">choosedestinationfolder</action> |
| 4444 | </actions> |
| 4445 | </button> |
| 4446 | |
| 4447 | <button style="main_button"> |
| 4448 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4449 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4450 | <actions> |
| 4451 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4452 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4453 | <action function="set">tw_fm_text2=</action> |
| 4454 | <action function="set">tw_fm_text3=</action> |
| 4455 | <action function="set">tw_include_text3=0</action> |
| 4456 | <action function="set">tw_back=filemanageroptions</action> |
| 4457 | <action function="page">filemanagerconfirm</action> |
| 4458 | </actions> |
| 4459 | </button> |
| 4460 | |
| 4461 | <button style="main_button"> |
| 4462 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4463 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4464 | <actions> |
| 4465 | <action function="set">tw_filemanager_rename=0000</action> |
| 4466 | <action function="set">tw_fm_text2=</action> |
| 4467 | <action function="set">tw_fm_text3=</action> |
| 4468 | <action function="set">tw_include_text3=0</action> |
| 4469 | <action function="set">tw_back=filemanageroptions</action> |
| 4470 | <action function="page">filemanagerchmod</action> |
| 4471 | </actions> |
| 4472 | </button> |
| 4473 | |
| 4474 | <button style="main_button"> |
| 4475 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4476 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4477 | <actions> |
| 4478 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4479 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4480 | <action function="set">tw_fm_text2=</action> |
| 4481 | <action function="set">tw_fm_text3=</action> |
| 4482 | <action function="set">tw_include_text3=0</action> |
| 4483 | <action function="set">tw_back=filemanageroptions</action> |
| 4484 | <action function="page">filemanagerconfirm</action> |
| 4485 | </actions> |
| 4486 | </button> |
| 4487 | |
| 4488 | <button style="main_button"> |
| 4489 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4490 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4491 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4492 | <actions> |
| 4493 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4494 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4495 | <action function="set">tw_filemanager_command=mv</action> |
| 4496 | <action function="page">filemanagerrenamefile</action> |
| 4497 | </actions> |
| 4498 | </button> |
| 4499 | |
| 4500 | <button style="main_button"> |
| 4501 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4502 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4503 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4504 | <actions> |
| 4505 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4506 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4507 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 4508 | <action function="page">filemanagerrenamefolder</action> |
| 4509 | </actions> |
| 4510 | </button> |
| 4511 | |
| 4512 | <action> |
| 4513 | <touch key="home"/> |
| 4514 | <action function="page">main</action> |
| 4515 | </action> |
| 4516 | |
| 4517 | <action> |
| 4518 | <touch key="back"/> |
| 4519 | <action function="page">filemanagerlist</action> |
| 4520 | </action> |
| 4521 | </page> |
| 4522 | |
| 4523 | <page name="choosedestinationfolder"> |
| 4524 | <template name="page"/> |
| 4525 | |
| 4526 | <template name="statusbar"/> |
| 4527 | |
| 4528 | <text style="text_m"> |
| 4529 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4530 | <text>{@fm_hdr=File Manager} > {@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4531 | </text> |
| 4532 | |
| 4533 | <fileselector> |
| 4534 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4535 | <text>%tw_file_location2%</text> |
| 4536 | <filter folders="1" files="0"/> |
| 4537 | <path name="tw_file_location2" default="/"/> |
| 4538 | <data name="tw_filename2"/> |
| 4539 | <selection name="tw_selection2"/> |
| 4540 | </fileselector> |
| 4541 | |
| 4542 | <button> |
| 4543 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4544 | <highlight color="%highlight_color%"/> |
| 4545 | <image resource="q_btn_folder"/> |
| 4546 | <actions> |
| 4547 | <action function="set">tw_fm_text2=to</action> |
| 4548 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 4549 | <action function="set">tw_include_text3=1</action> |
| 4550 | <action function="set">tw_back=filemanageroptions</action> |
| 4551 | <action function="page">filemanagerconfirm</action> |
| 4552 | </actions> |
| 4553 | </button> |
| 4554 | |
| 4555 | <action> |
| 4556 | <touch key="home"/> |
| 4557 | <action function="page">main</action> |
| 4558 | </action> |
| 4559 | |
| 4560 | <action> |
| 4561 | <touch key="back"/> |
| 4562 | <action function="page">filemanageroptions</action> |
| 4563 | </action> |
| 4564 | </page> |
| 4565 | |
| 4566 | <page name="filemanagerrenamefile"> |
| 4567 | <template name="page"/> |
| 4568 | |
| 4569 | <template name="statusbar"/> |
| 4570 | |
| 4571 | <text style="text_m"> |
| 4572 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4573 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4574 | </text> |
| 4575 | |
| 4576 | <text style="text_m_accent"> |
| 4577 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4578 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4579 | </text> |
| 4580 | |
| 4581 | <input> |
| 4582 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4583 | <text>%tw_filemanager_rename%</text> |
| 4584 | <data name="tw_filemanager_rename"/> |
| 4585 | <restrict minlen="1" maxlen="128"/> |
| 4586 | <actions> |
| 4587 | <action function="set">tw_fm_text2=to</action> |
| 4588 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 4589 | <action function="set">tw_include_text3=1</action> |
| 4590 | <action function="set">tw_back=filemanageroptions</action> |
| 4591 | <action function="page">filemanagerconfirm</action> |
| 4592 | </actions> |
| 4593 | </input> |
| 4594 | |
| 4595 | <fill color="%accent_color%"> |
| 4596 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 4597 | </fill> |
| 4598 | |
| 4599 | <button style="main_button_half_height"> |
| 4600 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4601 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4602 | <action function="page">filemanageroptions</action> |
| 4603 | </button> |
| 4604 | |
| 4605 | <template name="keyboardtemplate"/> |
| 4606 | |
| 4607 | <action> |
| 4608 | <touch key="home"/> |
| 4609 | <action function="page">main</action> |
| 4610 | </action> |
| 4611 | |
| 4612 | <action> |
| 4613 | <touch key="back"/> |
| 4614 | <action function="page">filemanageroptions</action> |
| 4615 | </action> |
| 4616 | </page> |
| 4617 | |
| 4618 | <page name="filemanagerrenamefolder"> |
| 4619 | <template name="page"/> |
| 4620 | |
| 4621 | <template name="statusbar"/> |
| 4622 | |
| 4623 | <text style="text_m"> |
| 4624 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4625 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4626 | </text> |
| 4627 | |
| 4628 | <text style="text_m_accent"> |
| 4629 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4630 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4631 | </text> |
| 4632 | |
| 4633 | <input> |
| 4634 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4635 | <text>%tw_filemanager_rename%</text> |
| 4636 | <data name="tw_filemanager_rename"/> |
| 4637 | <restrict minlen="1" maxlen="128"/> |
| 4638 | <actions> |
| 4639 | <action function="set">tw_fm_text2=to</action> |
| 4640 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 4641 | <action function="set">tw_include_text3=1</action> |
| 4642 | <action function="set">tw_back=filemanageroptions</action> |
| 4643 | <action function="page">filemanagerconfirm</action> |
| 4644 | </actions> |
| 4645 | </input> |
| 4646 | |
| 4647 | <fill color="%accent_color%"> |
| 4648 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4649 | </fill> |
| 4650 | |
| 4651 | <button style="main_button_half_height"> |
| 4652 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4653 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4654 | <action function="page">filemanageroptions</action> |
| 4655 | </button> |
| 4656 | |
| 4657 | <template name="keyboardtemplate"/> |
| 4658 | |
| 4659 | <action> |
| 4660 | <touch key="home"/> |
| 4661 | <action function="page">main</action> |
| 4662 | </action> |
| 4663 | |
| 4664 | <action> |
| 4665 | <touch key="back"/> |
| 4666 | <action function="page">filemanageroptions</action> |
| 4667 | </action> |
| 4668 | </page> |
| 4669 | |
| 4670 | <page name="filemanagerchmod"> |
| 4671 | <template name="page"/> |
| 4672 | |
| 4673 | <template name="statusbar"/> |
| 4674 | |
| 4675 | <text style="text_m"> |
| 4676 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4677 | <text>{@fm_hdr=File Manager} > {@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4678 | </text> |
| 4679 | |
| 4680 | <text style="text_m_accent"> |
| 4681 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4682 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4683 | </text> |
| 4684 | |
| 4685 | <input> |
| 4686 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4687 | <text>%tw_filemanager_rename%</text> |
| 4688 | <data name="tw_filemanager_rename"/> |
| 4689 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 4690 | <actions> |
| 4691 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 4692 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 4693 | <action function="set">tw_back=filemanageroptions</action> |
| 4694 | <action function="page">filemanagerconfirm</action> |
| 4695 | </actions> |
| 4696 | </input> |
| 4697 | |
| 4698 | <fill color="%accent_color%"> |
| 4699 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4700 | </fill> |
| 4701 | |
| 4702 | <button style="main_button_half_height"> |
| 4703 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4704 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4705 | <action function="page">filemanageroptions</action> |
| 4706 | </button> |
| 4707 | |
| 4708 | <template name="keyboardtemplate"/> |
| 4709 | |
| 4710 | <action> |
| 4711 | <touch key="home"/> |
| 4712 | <action function="page">main</action> |
| 4713 | </action> |
| 4714 | |
| 4715 | <action> |
| 4716 | <touch key="back"/> |
| 4717 | <action function="page">filemanageroptions</action> |
| 4718 | </action> |
| 4719 | </page> |
| 4720 | |
| 4721 | <page name="filemanagerconfirm"> |
| 4722 | <template name="page"/> |
| 4723 | |
| 4724 | <template name="statusbar"/> |
| 4725 | |
| 4726 | <text style="text_m"> |
| 4727 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4728 | <text>{@fm_hdr=File Manager} > {@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4729 | </text> |
| 4730 | |
| 4731 | <text style="text_m_accent"> |
| 4732 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4733 | <text>%tw_fm_text1%</text> |
| 4734 | </text> |
| 4735 | |
| 4736 | <text style="text_m"> |
| 4737 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4738 | <text>%tw_filename1%</text> |
| 4739 | </text> |
| 4740 | |
| 4741 | <text style="text_m_accent"> |
| 4742 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4743 | <text>%tw_fm_text2%</text> |
| 4744 | </text> |
| 4745 | |
| 4746 | <text style="text_m"> |
| 4747 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 4748 | <text>%tw_fm_text3%</text> |
| 4749 | </text> |
| 4750 | |
| 4751 | <text style="text_m"> |
| 4752 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4753 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4754 | </text> |
| 4755 | |
| 4756 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4757 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4758 | <action function="page">filemanageraction</action> |
| 4759 | </slider> |
| 4760 | |
| 4761 | <action> |
| 4762 | <touch key="back"/> |
| 4763 | <action function="page">%tw_back%</action> |
| 4764 | </action> |
| 4765 | |
| 4766 | <action> |
| 4767 | <touch key="home"/> |
| 4768 | <action function="page">main</action> |
| 4769 | </action> |
| 4770 | </page> |
| 4771 | |
| 4772 | <page name="filemanageraction"> |
| 4773 | <template name="page"/> |
| 4774 | |
| 4775 | <template name="statusbar"/> |
| 4776 | |
| 4777 | <text style="text_m"> |
| 4778 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4779 | <text>{@fm_hdr=File Manager} > %tw_fm_text1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4780 | </text> |
| 4781 | |
| 4782 | <template name="console"/> |
| 4783 | |
| 4784 | <template name="progress_bar"/> |
| 4785 | |
| 4786 | <action> |
| 4787 | <conditions> |
| 4788 | <condition var1="tw_operation_state" var2="1"/> |
| 4789 | <condition var1="tw_operation_status" var2="0"/> |
| 4790 | </conditions> |
| 4791 | <actions> |
| 4792 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4793 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4794 | <action function="page">action_complete</action> |
| 4795 | </actions> |
| 4796 | </action> |
| 4797 | |
| 4798 | <action> |
| 4799 | <conditions> |
| 4800 | <condition var1="tw_operation_state" var2="1"/> |
| 4801 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4802 | </conditions> |
| 4803 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4804 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4805 | <action function="page">action_complete</action> |
| 4806 | </actions> |
| 4807 | </action> |
| 4808 | |
| 4809 | <action> |
| 4810 | <condition var1="tw_include_text3" var2="0"/> |
| 4811 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 4812 | </action> |
| 4813 | |
| 4814 | <action> |
| 4815 | <condition var1="tw_include_text3" var2="1"/> |
| 4816 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 4817 | </action> |
| 4818 | </page> |
| 4819 | |
| 4820 | <page name="decrypt"> |
| 4821 | <template name="page"/> |
| 4822 | |
| 4823 | <template name="statusbar"/> |
| 4824 | |
| 4825 | <action> |
| 4826 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 4827 | <action function="page">decrypt_pattern</action> |
| 4828 | </action> |
| 4829 | |
| 4830 | <text style="text_m"> |
| 4831 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4832 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4833 | </text> |
| 4834 | |
| 4835 | <text style="text_m_accent"> |
| 4836 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4837 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4838 | </text> |
| 4839 | |
| 4840 | <input> |
| 4841 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4842 | <text>%tw_crypto_display%</text> |
| 4843 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4844 | <restrict minlen="1" maxlen="254"/> |
| 4845 | <action function="page">trydecrypt</action> |
| 4846 | </input> |
| 4847 | |
| 4848 | <fill color="%accent_color%"> |
| 4849 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4850 | </fill> |
| 4851 | |
| 4852 | <fill color="%text_fail_color%"> |
| 4853 | <condition var1="tw_password_fail" var2="1"/> |
| 4854 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4855 | </fill> |
| 4856 | |
| 4857 | <text style="text_m_fail"> |
| 4858 | <condition var1="tw_password_fail" var2="1"/> |
| 4859 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4860 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4861 | </text> |
| 4862 | |
| 4863 | <button style="main_button_half_height"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4864 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 4865 | <text>{@sel_lang_btn=Select Language}</text> |
| 4866 | <action function="page">settings_language</action> |
| 4867 | </button> |
| 4868 | |
| 4869 | <button style="main_button_half_height"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4870 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4871 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4872 | <actions> |
| 4873 | <action function="set">tw_page_done=1</action> |
| 4874 | <action function="page">main</action> |
| 4875 | </actions> |
| 4876 | </button> |
| 4877 | |
| 4878 | <template name="keyboardtemplate"/> |
| 4879 | </page> |
| 4880 | |
| 4881 | <page name="decrypt_pattern"> |
| 4882 | <template name="page"/> |
| 4883 | |
| 4884 | <template name="statusbar"/> |
| 4885 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4886 | <action> |
| 4887 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4888 | </action> |
| 4889 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4890 | <text style="text_m"> |
| 4891 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4892 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4893 | </text> |
| 4894 | |
| 4895 | <text style="text_m_accent"> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4896 | <condition var1="tw_password_fail" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4897 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4898 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4899 | </text> |
| 4900 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4901 | <text style="text_m_fail"> |
| 4902 | <condition var1="tw_password_fail" var2="1"/> |
| 4903 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4904 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4905 | </text> |
| 4906 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4907 | <text style="text_m"> |
| 4908 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4909 | <text>{@back_cancel=Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4910 | </text> |
| 4911 | |
| 4912 | <patternpassword> |
| 4913 | <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4914 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 4915 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 4916 | <data name="tw_crypto_password"/> |
| 4917 | <action function="page">trydecrypt</action> |
| 4918 | </patternpassword> |
| 4919 | |
| 4920 | <fill color="#000000"> |
| 4921 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 4922 | </fill> |
| 4923 | |
| 4924 | <button> |
| 4925 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4926 | <image resource="back"/> |
| 4927 | <condition var1="tw_busy" var2="0"/> |
| 4928 | <actions> |
| 4929 | <action function="set">tw_page_done=1</action> |
| 4930 | <action function="page">main</action> |
| 4931 | </actions> |
| 4932 | </button> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4933 | |
| 4934 | <button> |
| 4935 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 4936 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4937 | <image resource="grid_less"/> |
| 4938 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4939 | </button> |
| 4940 | |
| 4941 | <button> |
| 4942 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 4943 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4944 | <image resource="grid_less"/> |
| 4945 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4946 | </button> |
| 4947 | |
| 4948 | <button> |
| 4949 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 4950 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4951 | <image resource="grid_less"/> |
| 4952 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4953 | </button> |
| 4954 | |
| 4955 | <button> |
| 4956 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 4957 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4958 | <image resource="grid_less"/> |
| 4959 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4960 | </button> |
| 4961 | |
| 4962 | <button> |
| 4963 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 4964 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4965 | <image resource="grid_more"/> |
| 4966 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4967 | </button> |
| 4968 | |
| 4969 | <button> |
| 4970 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 4971 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4972 | <image resource="grid_more"/> |
| 4973 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4974 | </button> |
| 4975 | |
| 4976 | <button> |
| 4977 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 4978 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4979 | <image resource="grid_more"/> |
| 4980 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4981 | </button> |
| 4982 | |
| 4983 | <button> |
| 4984 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 4985 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4986 | <image resource="grid_more"/> |
| 4987 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4988 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4989 | </page> |
| 4990 | |
| 4991 | <page name="trydecrypt"> |
| 4992 | <template name="page"/> |
| 4993 | |
| 4994 | <template name="statusbar"/> |
| 4995 | |
| 4996 | <text style="text_m"> |
| 4997 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4998 | <text>{@mount_hdr=Mount} > {@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4999 | </text> |
| 5000 | |
| 5001 | <template name="console"/> |
| 5002 | |
| 5003 | <template name="progress_bar"/> |
| 5004 | |
| 5005 | <action> |
| 5006 | <action function="decrypt"/> |
| 5007 | </action> |
| 5008 | |
| 5009 | <action> |
| 5010 | <conditions> |
| 5011 | <condition var1="tw_operation_state" var2="1"/> |
| 5012 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5013 | </conditions> |
| 5014 | <actions> |
| 5015 | <action function="set">tw_password_fail=1</action> |
| 5016 | <action function="page">decrypt</action> |
| 5017 | </actions> |
| 5018 | </action> |
| 5019 | |
| 5020 | <action> |
| 5021 | <conditions> |
| 5022 | <condition var1="tw_operation_state" var2="1"/> |
| 5023 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 5024 | </conditions> |
| 5025 | <actions> |
| 5026 | <action function="set">tw_page_done=1</action> |
| 5027 | <action function="page">main</action> |
| 5028 | </actions> |
| 5029 | </action> |
| 5030 | </page> |
| 5031 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5032 | <page name="terminalcommand"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5033 | <terminal> |
| 5034 | <condition var1="tw_hide_kb" var2="0"/> |
| 5035 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/> |
| 5036 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5037 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5038 | <terminal> |
| 5039 | <condition var1="tw_hide_kb" var2="1"/> |
| 5040 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/> |
| 5041 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5042 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5043 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5044 | |
| 5045 | <template name="keyboardtemplate"/> |
| 5046 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5047 | <fill color="#000000"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5048 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5049 | </fill> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5050 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5051 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5052 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5053 | <image resource="back" /> |
| 5054 | <condition var1="tw_busy" var2="0" /> |
| 5055 | <actions> |
| 5056 | <action function="set">tw_hide_kb=0</action> |
| 5057 | <action function="key">back</action> |
| 5058 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5059 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5060 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5061 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5062 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5063 | <image resource="home" /> |
| 5064 | <condition var1="tw_busy" var2="0" /> |
| 5065 | <actions> |
| 5066 | <action function="set">tw_hide_kb=0</action> |
| 5067 | <action function="key">home</action> |
| 5068 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5069 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5070 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5071 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5072 | <condition var1="tw_hide_kb" var2="0"/> |
| 5073 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5074 | <image resource="kb_hide" /> |
| 5075 | <condition var1="tw_busy" var2="0" /> |
| 5076 | <actions> |
| 5077 | <action function="set">tw_hide_kb=1</action> |
| 5078 | <action function="page">terminalcommand</action> |
| 5079 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5080 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5081 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5082 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5083 | <condition var1="tw_hide_kb" var2="1"/> |
| 5084 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5085 | <image resource="kb_show" /> |
| 5086 | <condition var1="tw_busy" var2="0" /> |
| 5087 | <actions> |
| 5088 | <action function="set">tw_hide_kb=0</action> |
| 5089 | <action function="page">terminalcommand</action> |
| 5090 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5091 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5092 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5093 | <action> |
| 5094 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5095 | <actions> |
| 5096 | <action function="set">tw_hide_kb=0</action> |
| 5097 | <action function="page">main</action> |
| 5098 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5099 | </action> |
| 5100 | |
| 5101 | <action> |
| 5102 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5103 | <actions> |
| 5104 | <action function="set">tw_hide_kb=0</action> |
| 5105 | <action function="page">advanced</action> |
| 5106 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5107 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5108 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5109 | <action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5110 | <touch key="power+voldown" /> |
| 5111 | <action function="screenshot" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5112 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5113 | </page> |
| 5114 | |
| 5115 | <page name="sideload"> |
| 5116 | <template name="page"/> |
| 5117 | |
| 5118 | <template name="statusbar"/> |
| 5119 | |
| 5120 | <text style="text_m"> |
| 5121 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5122 | <text>{@install_hdr=Install} > {@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5123 | </text> |
| 5124 | |
| 5125 | <text style="text_m_accent"> |
| 5126 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5127 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5128 | </text> |
| 5129 | |
| 5130 | <checkbox> |
| 5131 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5132 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5133 | <data variable="tw_wipe_dalvik"/> |
| 5134 | </checkbox> |
| 5135 | |
| 5136 | <checkbox> |
| 5137 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5138 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5139 | <data variable="tw_wipe_cache"/> |
| 5140 | </checkbox> |
| 5141 | |
| 5142 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5143 | <text>{@swipe_sideload= Start}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5144 | <actions> |
| 5145 | <action function="set">tw_back=install_type</action> |
| 5146 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5147 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5148 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5149 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5150 | <action function="set">tw_has_cancel=1</action> |
| 5151 | <action function="set">tw_show_reboot=1</action> |
| 5152 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5153 | <action function="page">action_page</action> |
| 5154 | </actions> |
| 5155 | </slider> |
| 5156 | |
| 5157 | <action> |
| 5158 | <touch key="home"/> |
| 5159 | <action function="page">main</action> |
| 5160 | </action> |
| 5161 | |
| 5162 | <action> |
| 5163 | <touch key="back"/> |
| 5164 | <action function="page">install_type</action> |
| 5165 | </action> |
| 5166 | </page> |
| 5167 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5168 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5169 | <template name="page"/> |
| 5170 | |
| 5171 | <template name="statusbar"/> |
| 5172 | |
| 5173 | <text style="text_m"> |
| 5174 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5175 | <text>{@advanced_hdr=Advanced} > {@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5176 | </text> |
| 5177 | |
| 5178 | <text style="text_m_accent"> |
| 5179 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5180 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5181 | </text> |
| 5182 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5183 | <text style="text_m_fail"> |
| 5184 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5185 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5186 | </text> |
| 5187 | |
| 5188 | <text style="text_m_fail"> |
| 5189 | <placement x="%center_x%" y="%row7a_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5190 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5191 | </text> |
| 5192 | |
| 5193 | <slider> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5194 | <text>{@swipe_fix_contexts= Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5195 | <actions> |
| 5196 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5197 | <action function="set">tw_action=fixcontexts</action> |
| 5198 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5199 | <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5200 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5201 | <action function="set">tw_show_reboot=1</action> |
| 5202 | <action function="page">action_page</action> |
| 5203 | </actions> |
| 5204 | </slider> |
| 5205 | |
| 5206 | <action> |
| 5207 | <touch key="home"/> |
| 5208 | <action function="page">main</action> |
| 5209 | </action> |
| 5210 | |
| 5211 | <action> |
| 5212 | <touch key="back"/> |
| 5213 | <action function="page">advanced</action> |
| 5214 | </action> |
| 5215 | </page> |
| 5216 | |
| 5217 | <page name="installsu"> |
| 5218 | <template name="page"/> |
| 5219 | |
| 5220 | <template name="statusbar"/> |
| 5221 | |
| 5222 | <text style="text_m"> |
| 5223 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5224 | <text>{@reboot_hdr=Reboot} > {@su_hdr=SuperSU Check}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5225 | </text> |
| 5226 | |
| 5227 | <text style="text_m_accent"> |
| 5228 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5229 | <text>{@su_note1=Your device does not appear to be rooted.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5230 | </text> |
| 5231 | |
| 5232 | <text style="text_m"> |
| 5233 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5234 | <text>{@su_note2=Install SuperSU now?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5235 | </text> |
| 5236 | |
| 5237 | <text style="text_m"> |
| 5238 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5239 | <text>{@su_note3=This will root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5240 | </text> |
| 5241 | |
| 5242 | <button style="main_button_full_width"> |
| 5243 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5244 | <text>{@su_cancel=Do not Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5245 | <action function="set">tw_page_done=1</action> |
| 5246 | </button> |
| 5247 | |
| 5248 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5249 | <text>{@swipe_su_install= Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5250 | <actions> |
| 5251 | <action function="set">tw_action=installsu</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5252 | <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5253 | <action function="set">tw_action_text2=</action> |
| 5254 | <action function="page">singleaction_page</action> |
| 5255 | </actions> |
| 5256 | </slider> |
| 5257 | </page> |
| 5258 | |
| 5259 | <page name="slideout"> |
| 5260 | <fill color="%background_color%"> |
| 5261 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5262 | </fill> |
| 5263 | |
| 5264 | <console> |
| 5265 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/> |
| 5266 | </console> |
| 5267 | |
| 5268 | <fill color="%fileselector_linecolor%"> |
| 5269 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5270 | </fill> |
| 5271 | |
| 5272 | <fill color="%fileselector_linecolor%"> |
| 5273 | <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/> |
| 5274 | </fill> |
| 5275 | |
| 5276 | <button> |
| 5277 | <fill color="%transparent%"/> |
| 5278 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5279 | <action function="overlay"/> |
| 5280 | </button> |
| 5281 | |
| 5282 | <action> |
| 5283 | <touch key="power+voldown"/> |
| 5284 | <action function="screenshot"/> |
| 5285 | </action> |
| 5286 | </page> |
| 5287 | |
| 5288 | <page name="select_storage"> |
| 5289 | <template name="page"/> |
| 5290 | |
| 5291 | <template name="statusbar"/> |
| 5292 | |
| 5293 | <text style="text_m"> |
| 5294 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 5295 | <text>%tw_storagetext%</text> |
| 5296 | </text> |
| 5297 | |
| 5298 | <partitionlist style="partitionlist_headerless_rb"> |
| 5299 | <data name="tw_storage_path"/> |
| 5300 | <listtype name="storage"/> |
| 5301 | </partitionlist> |
| 5302 | |
| 5303 | <button> |
| 5304 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 5305 | <highlight color="%highlight_color%"/> |
| 5306 | <image resource="q_btn_refresh"/> |
| 5307 | <actions> |
| 5308 | <action function="refreshsizes"/> |
| 5309 | <action function="page">select_storage</action> |
| 5310 | </actions> |
| 5311 | </button> |
| 5312 | |
| 5313 | <button> |
| 5314 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 5315 | <highlight color="%highlight_color%"/> |
| 5316 | <image resource="q_btn_accept"/> |
| 5317 | <actions> |
| 5318 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5319 | <action function="page">clear_vars</action> |
| 5320 | </actions> |
| 5321 | </button> |
| 5322 | |
| 5323 | <action> |
| 5324 | <touch key="power+voldown"/> |
| 5325 | <action function="screenshot"/> |
| 5326 | </action> |
| 5327 | </page> |
| 5328 | </pages> |
| 5329 | </recovery> |