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