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