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