Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
| 5 | <resolution width="540" height="960" /> |
| 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
| 9 | <preview>preview.jpg</preview> |
| 10 | </details> |
| 11 | |
| 12 | <resources> |
| 13 | <resource name="font" type="font" filename="bluehighway-25" /> |
| 14 | <resource name="filelist" type="font" filename="bluehighway-40" /> |
| 15 | <resource name="android" type="image" filename="android" /> |
| 16 | <resource name="main_button" type="image" filename="qhd-menu-button" /> |
| 17 | <resource name="file_icon" type="image" filename="file" /> |
| 18 | <resource name="folder_icon" type="image" filename="folder" /> |
| 19 | <resource name="slideout" type="image" filename="slideout" /> |
| 20 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 21 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 22 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 23 | <resource name="checkbox_false" type="image" filename="checkbox_empty" /> |
| 24 | <resource name="checkbox_true" type="image" filename="checkbox_checked" /> |
| 25 | <resource name="small_button" type="image" filename="qhd-small-button" /> |
| 26 | <resource name="medium_button" type="image" filename="qhd-medium-button" /> |
| 27 | <resource name="sort_button" type="image" filename="qhd-sort-button" /> |
| 28 | <resource name="minus_button" type="image" filename="qhd-minus-button" /> |
| 29 | <resource name="plus_button" type="image" filename="qhd-plus-button" /> |
| 30 | </resources> |
| 31 | |
| 32 | <variables> |
| 33 | <variable name="col1_x" value="10" /> |
| 34 | <variable name="col2_x" value="277" /> |
| 35 | <variable name="col_center_x" value="143" /> |
| 36 | <variable name="row1_y" value="120" /> |
| 37 | <variable name="row2_y" value="312" /> |
| 38 | <variable name="row3_y" value="504" /> |
| 39 | <variable name="row4_y" value="696" /> |
| 40 | <variable name="col_progressbar_x" value="144" /> |
| 41 | <variable name="row_progressbar_y" value="920" /> |
| 42 | <variable name="col1_medium_x" value="10" /> |
| 43 | <variable name="col2_medium_x" value="150" /> |
| 44 | <variable name="col3_medium_x" value="290" /> |
| 45 | <variable name="col4_medium_x" value="430" /> |
| 46 | <variable name="row1_medium_y" value="130" /> |
| 47 | <variable name="row2_medium_y" value="230" /> |
| 48 | <variable name="row3_medium_y" value="330" /> |
| 49 | <variable name="row4_medium_y" value="430" /> |
| 50 | <variable name="row5_medium_y" value="530" /> |
| 51 | <variable name="row6_medium_y" value="630" /> |
| 52 | <variable name="row7_medium_y" value="730" /> |
| 53 | </variables> |
| 54 | |
| 55 | <templates> |
| 56 | <template name="header"> |
| 57 | <background color="black" /> |
| 58 | |
| 59 | <object type="button"> |
| 60 | <placement x="%col1_x%" y="10" /> |
| 61 | <font resource="font" color="black" /> |
| 62 | <text></text> |
| 63 | <image resource="android" /> |
| 64 | <condition var1="tw_busy" var2="0" /> |
| 65 | <action function="page">main</action> |
| 66 | </object> |
| 67 | |
| 68 | <object type="image"> |
| 69 | <image resource="android" /> |
| 70 | <placement x="%col1_x%" y="10" /> |
| 71 | </object> |
| 72 | |
| 73 | <object type="text" color="white"> |
| 74 | <font resource="font" /> |
| 75 | <placement x="100" y="10" /> |
| 76 | <text>Team Win Recovery Project v%tw_version%</text> |
| 77 | </object> |
| 78 | |
| 79 | <object type="text" color="white"> |
| 80 | <font resource="font" /> |
| 81 | <placement x="100" y="75" /> |
| 82 | <text>%tw_time%</text> |
| 83 | </object> |
| 84 | |
| 85 | <object type="text" color="white"> |
| 86 | <font resource="font" /> |
| 87 | <placement x="250" y="75" /> |
| 88 | <condition var1="tw_battery" op=">" var2="0" /> |
| 89 | <text>Battery: %tw_battery%</text> |
| 90 | </object> |
| 91 | </template> |
| 92 | |
| 93 | <template name="footer"> |
| 94 | <object type="console"> |
| 95 | <slideout resource="slideout" x="240" y="920" /> |
| 96 | <placement x="0" y="0" w="540" h="960" /> |
| 97 | <color foreground="#B0B0B0" background="black" scroll="#303030" /> |
| 98 | <font resource="fixed" /> |
| 99 | </object> |
| 100 | </template> |
| 101 | </templates> |
| 102 | |
| 103 | <pages> |
| 104 | <page name="main"> |
| 105 | <object type="template" name="header" /> |
| 106 | |
| 107 | <object type="button"> |
| 108 | <placement x="%col1_x%" y="%row1_y%" /> |
| 109 | <font resource="font" color="black" /> |
| 110 | <text>Install</text> |
| 111 | <image resource="main_button" /> |
| 112 | <action function="page">install</action> |
| 113 | </object> |
| 114 | |
| 115 | <object type="button"> |
| 116 | <placement x="%col2_x%" y="%row1_y%" /> |
| 117 | <font resource="font" color="black" /> |
| 118 | <text>Wipe</text> |
| 119 | <image resource="main_button" /> |
| 120 | <action function="page">wipe</action> |
| 121 | </object> |
| 122 | |
| 123 | <object type="button"> |
| 124 | <placement x="%col1_x%" y="%row2_y%" /> |
| 125 | <font resource="font" color="black" /> |
| 126 | <text>Backup</text> |
| 127 | <image resource="main_button" /> |
| 128 | <action function="page">backup</action> |
| 129 | </object> |
| 130 | |
| 131 | <object type="button"> |
| 132 | <placement x="%col2_x%" y="%row2_y%" /> |
| 133 | <font resource="font" color="black" /> |
| 134 | <text>Restore</text> |
| 135 | <image resource="main_button" /> |
| 136 | <action function="page">restore</action> |
| 137 | </object> |
| 138 | |
| 139 | <object type="button"> |
| 140 | <placement x="%col1_x%" y="%row3_y%" /> |
| 141 | <font resource="font" color="black" /> |
| 142 | <text>Mount</text> |
| 143 | <image resource="main_button" /> |
| 144 | <action function="page">mount</action> |
| 145 | </object> |
| 146 | |
| 147 | <object type="button"> |
| 148 | <placement x="%col2_x%" y="%row3_y%" /> |
| 149 | <font resource="font" color="black" /> |
| 150 | <text>Settings</text> |
| 151 | <image resource="main_button" /> |
| 152 | <action function="page">settings</action> |
| 153 | </object> |
| 154 | |
| 155 | <object type="button"> |
| 156 | <placement x="%col1_x%" y="%row4_y%" /> |
| 157 | <font resource="font" color="black" /> |
| 158 | <text>Advanced</text> |
| 159 | <image resource="main_button" /> |
| 160 | <action function="page">advanced</action> |
| 161 | </object> |
| 162 | |
| 163 | <object type="button"> |
| 164 | <placement x="%col2_x%" y="%row4_y%" /> |
| 165 | <font resource="font" color="black" /> |
| 166 | <text>Reboot</text> |
| 167 | <image resource="main_button" /> |
| 168 | <action function="page">reboot</action> |
| 169 | </object> |
| 170 | |
| 171 | <object type="template" name="footer" /> |
| 172 | </page> |
| 173 | |
| 174 | <page name="install"> |
| 175 | <object type="template" name="header" /> |
| 176 | |
| 177 | <object type="fileselector"> |
| 178 | <placement x="5" y="%row1_y%" w="530" h="660" /> |
| 179 | <icon folder="folder_icon" file="file_icon" /> |
| 180 | <background color="#454545" /> |
| 181 | <font resource="filelist" spacing="18" color="white" /> |
| 182 | <filter extn=".zip" folders="1" files="1" /> |
| 183 | <path name="tw_zip_location" default="/sdcard" /> |
| 184 | <data name="tw_filename" /> |
| 185 | </object> |
| 186 | |
| 187 | <object type="text" color="white"> |
| 188 | <font resource="font" /> |
| 189 | <placement x="%col1_x%" y="810" /> |
| 190 | <text>Sort Ascending:</text> |
| 191 | </object> |
| 192 | |
| 193 | <object type="button"> |
| 194 | <placement x="200" y="800" /> |
| 195 | <font resource="UItext" color="white" /> |
| 196 | <text>Name</text> |
| 197 | <image resource="sort_button" /> |
| 198 | <action function="set">tw_gui_sort_order=1</action> |
| 199 | </object> |
| 200 | |
| 201 | <object type="button"> |
| 202 | <placement x="280" y="800" /> |
| 203 | <font resource="UItext" color="white" /> |
| 204 | <text>Date</text> |
| 205 | <image resource="sort_button" /> |
| 206 | <action function="set">tw_gui_sort_order=2</action> |
| 207 | </object> |
| 208 | |
| 209 | <object type="button"> |
| 210 | <placement x="360" y="800" /> |
| 211 | <font resource="UItext" color="white" /> |
| 212 | <text>Size</text> |
| 213 | <image resource="sort_button" /> |
| 214 | <action function="set">tw_gui_sort_order=3</action> |
| 215 | </object> |
| 216 | |
| 217 | <object type="text" color="white"> |
| 218 | <font resource="font" /> |
| 219 | <placement x="%col1_x%" y="860" /> |
| 220 | <text>Sort Descending:</text> |
| 221 | </object> |
| 222 | |
| 223 | <object type="button"> |
| 224 | <placement x="200" y="850" /> |
| 225 | <font resource="UItext" color="white" /> |
| 226 | <text>Name</text> |
| 227 | <image resource="sort_button" /> |
| 228 | <action function="set">tw_gui_sort_order=-1</action> |
| 229 | </object> |
| 230 | |
| 231 | <object type="button"> |
| 232 | <placement x="280" y="850" /> |
| 233 | <font resource="UItext" color="white" /> |
| 234 | <text>Date</text> |
| 235 | <image resource="sort_button" /> |
| 236 | <action function="set">tw_gui_sort_order=-2</action> |
| 237 | </object> |
| 238 | |
| 239 | <object type="button"> |
| 240 | <placement x="360" y="850" /> |
| 241 | <font resource="UItext" color="white" /> |
| 242 | <text>Size</text> |
| 243 | <image resource="sort_button" /> |
| 244 | <action function="set">tw_gui_sort_order=-3</action> |
| 245 | </object> |
| 246 | |
| 247 | <object type="action"> |
| 248 | <condition var1="tw_filename" op="modified" /> |
| 249 | <action function="page">flash_confirm</action> |
| 250 | </object> |
| 251 | |
| 252 | <object type="action"> |
| 253 | <touch key="back" /> |
| 254 | <action function="page">main</action> |
| 255 | </object> |
| 256 | |
| 257 | <object type="action"> |
| 258 | <touch key="home" /> |
| 259 | <action function="page">main</action> |
| 260 | </object> |
| 261 | |
| 262 | <object type="template" name="footer" /> |
| 263 | </page> |
| 264 | |
| 265 | <page name="flash_confirm"> |
| 266 | <object type="template" name="header" /> |
| 267 | |
| 268 | <object type="text" color="white"> |
| 269 | <font resource="font" /> |
| 270 | <placement x="%col1_x%" y="%row1_y%" /> |
| 271 | <text>WARNING: This operation may install incompatible software</text> |
| 272 | </object> |
| 273 | |
| 274 | <object type="text" color="white"> |
| 275 | <font resource="font" /> |
| 276 | <placement x="%col1_x%" y="135" /> |
| 277 | <text>and render your device unusable.</text> |
| 278 | </object> |
| 279 | |
| 280 | <object type="text" color="white"> |
| 281 | <font resource="font" /> |
| 282 | <placement x="%col1_x%" y="250" /> |
| 283 | <text>File to flash: %tw_filename%</text> |
| 284 | </object> |
| 285 | |
| 286 | <object type="button"> |
| 287 | <placement x="%col_center_x%" y="550" /> |
| 288 | <font resource="font" color="black" /> |
| 289 | <text>Flash now</text> |
| 290 | <image resource="main_button" /> |
| 291 | <action function="flash">flash_zip</action> |
| 292 | </object> |
| 293 | |
| 294 | <object type="action"> |
| 295 | <touch key="back" /> |
| 296 | <action function="page">install</action> |
| 297 | </object> |
| 298 | |
| 299 | <object type="action"> |
| 300 | <touch key="home" /> |
| 301 | <action function="page">main</action> |
| 302 | </object> |
| 303 | |
| 304 | <object type="template" name="footer" /> |
| 305 | </page> |
| 306 | |
| 307 | <page name="flash_zip"> |
| 308 | <object type="template" name="header" /> |
| 309 | |
| 310 | <object type="console"> |
| 311 | <placement x="0" y="%row1_y%" w="540" h="620" /> |
| 312 | <color foreground="#B0B0B0" background="black" scroll="#303030" /> |
| 313 | <font resource="fixed" /> |
| 314 | </object> |
| 315 | |
| 316 | <object type="progressbar"> |
| 317 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 318 | <resource empty="progress_empty" full="progress_full" /> |
| 319 | <data name="ui_progress" /> |
| 320 | </object> |
| 321 | |
| 322 | <object type="animation"> |
| 323 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 324 | <resource name="progress" /> |
| 325 | <speed fps="15" render="2" /> |
| 326 | <loop frame="1" /> |
| 327 | </object> |
| 328 | |
| 329 | <object type="action"> |
| 330 | <condition var1="tw_operation_state" var2="1" /> |
| 331 | <action function="page">flash_done</action> |
| 332 | </object> |
| 333 | |
| 334 | <object type="template" name="footer" /> |
| 335 | </page> |
| 336 | |
| 337 | <page name="flash_done"> |
| 338 | <object type="template" name="header" /> |
| 339 | |
| 340 | <object type="console"> |
| 341 | <placement x="0" y="%row1_y%" w="540" h="390" /> |
| 342 | <color foreground="#B0B0B0" background="black" scroll="black" /> |
| 343 | <font resource="fixed" /> |
| 344 | </object> |
| 345 | |
| 346 | <object type="button"> |
| 347 | <placement x="%col_center_x%" y="560" /> |
| 348 | <font resource="font" color="white" /> |
| 349 | <text>Main Menu</text> |
| 350 | <image resource="main_button" /> |
| 351 | <action function="page">main</action> |
| 352 | </object> |
| 353 | |
| 354 | <object type="template" name="footer" /> |
| 355 | </page> |
| 356 | |
| 357 | <page name="wipe"> |
| 358 | <object type="template" name="header" /> |
| 359 | |
| 360 | <object type="button"> |
| 361 | <placement x="%col1_x%" y="%row1_y%" /> |
| 362 | <font resource="font" color="black" /> |
| 363 | <text>Cache</text> |
| 364 | <image resource="main_button" /> |
| 365 | <action function="page">wipe_cache</action> |
| 366 | </object> |
| 367 | |
| 368 | <object type="button"> |
| 369 | <placement x="%col2_x%" y="%row1_y%" /> |
| 370 | <font resource="font" color="black" /> |
| 371 | <text>Dalvik Cache</text> |
| 372 | <image resource="main_button" /> |
| 373 | <action function="page">wipe_dalvik</action> |
| 374 | </object> |
| 375 | |
| 376 | <object type="button"> |
| 377 | <placement x="%col1_x%" y="%row2_y%" /> |
| 378 | <font resource="font" color="black" /> |
| 379 | <text>Factory Reset</text> |
| 380 | <image resource="main_button" /> |
| 381 | <action function="page">wipe_data</action> |
| 382 | </object> |
| 383 | |
| 384 | <object type="button"> |
| 385 | <placement x="%col2_x%" y="%row2_y%" /> |
| 386 | <font resource="font" color="black" /> |
| 387 | <text>Battery Stats</text> |
| 388 | <image resource="main_button" /> |
| 389 | <action function="page">wipe_battery</action> |
| 390 | </object> |
| 391 | |
| 392 | <object type="button"> |
| 393 | <placement x="%col1_x%" y="%row3_y%" /> |
| 394 | <font resource="font" color="black" /> |
| 395 | <text>Rotation</text> |
| 396 | <image resource="main_button" /> |
| 397 | <action function="page">wipe_rotate</action> |
| 398 | </object> |
| 399 | |
| 400 | <object type="button"> |
| 401 | <placement x="%col2_x%" y="%row3_y%" /> |
| 402 | <font resource="font" color="black" /> |
| 403 | <text>System</text> |
| 404 | <image resource="main_button" /> |
| 405 | <action function="page">wipe_system</action> |
| 406 | </object> |
| 407 | |
| 408 | <object type="button"> |
| 409 | <placement x="%col1_x%" y="%row4_y%" /> |
| 410 | <font resource="font" color="black" /> |
| 411 | <text>SD Card</text> |
| 412 | <image resource="main_button" /> |
| 413 | <action function="page">wipe_sdcard</action> |
| 414 | </object> |
| 415 | |
| 416 | <object type="button"> |
| 417 | <placement x="%col2_x%" y="%row4_y%" /> |
| 418 | <font resource="font" color="black" /> |
| 419 | <text>SD Ext</text> |
| 420 | <image resource="main_button" /> |
| 421 | <action function="page">wipe_sdext</action> |
| 422 | </object> |
| 423 | |
| 424 | <object type="action"> |
| 425 | <touch key="home" /> |
| 426 | <action function="page">main</action> |
| 427 | </object> |
| 428 | |
| 429 | <object type="action"> |
| 430 | <touch key="back" /> |
| 431 | <action function="page">main</action> |
| 432 | </object> |
| 433 | |
| 434 | <object type="template" name="footer" /> |
| 435 | </page> |
| 436 | |
| 437 | <page name="wipe_cache"> |
| 438 | <object type="template" name="header" /> |
| 439 | |
| 440 | <object type="animation"> |
| 441 | <placement x="%col_progressbar_x%" y="470" /> |
| 442 | <resource name="progress" /> |
| 443 | <speed fps="15" render="2" /> |
| 444 | <loop frame="1" /> |
| 445 | </object> |
| 446 | |
| 447 | <object type="action"> |
| 448 | <condition var1="tw_operation_state" var2="1" /> |
| 449 | <action function="page">wipe_done</action> |
| 450 | </object> |
| 451 | |
| 452 | <object type="action"> |
| 453 | <action function="wipe">/cache</action> |
| 454 | </object> |
| 455 | |
| 456 | <object type="template" name="footer" /> |
| 457 | </page> |
| 458 | |
| 459 | <page name="wipe_dalvik"> |
| 460 | <object type="template" name="header" /> |
| 461 | |
| 462 | <object type="animation"> |
| 463 | <placement x="%col_progressbar_x%" y="470" /> |
| 464 | <resource name="progress" /> |
| 465 | <speed fps="15" render="2" /> |
| 466 | <loop frame="1" /> |
| 467 | </object> |
| 468 | |
| 469 | <object type="action"> |
| 470 | <condition var1="tw_operation_state" var2="1" /> |
| 471 | <action function="page">wipe_done</action> |
| 472 | </object> |
| 473 | |
| 474 | <object type="action"> |
| 475 | <action function="wipe">dalvik</action> |
| 476 | </object> |
| 477 | |
| 478 | <object type="template" name="footer" /> |
| 479 | </page> |
| 480 | |
| 481 | <page name="wipe_rotate"> |
| 482 | <object type="template" name="header" /> |
| 483 | |
| 484 | <object type="animation"> |
| 485 | <placement x="%col_progressbar_x%" y="470" /> |
| 486 | <resource name="progress" /> |
| 487 | <speed fps="15" render="2" /> |
| 488 | <loop frame="1" /> |
| 489 | </object> |
| 490 | |
| 491 | <object type="action"> |
| 492 | <condition var1="tw_operation_state" var2="1" /> |
| 493 | <action function="page">wipe_done</action> |
| 494 | </object> |
| 495 | |
| 496 | <object type="action"> |
| 497 | <action function="wipe">rotate</action> |
| 498 | </object> |
| 499 | |
| 500 | <object type="template" name="footer" /> |
| 501 | </page> |
| 502 | |
| 503 | <page name="wipe_data"> |
| 504 | <object type="template" name="header" /> |
| 505 | |
| 506 | <object type="animation"> |
| 507 | <placement x="%col_progressbar_x%" y="470" /> |
| 508 | <resource name="progress" /> |
| 509 | <speed fps="15" render="2" /> |
| 510 | <loop frame="1" /> |
| 511 | </object> |
| 512 | |
| 513 | <object type="action"> |
| 514 | <condition var1="tw_operation_state" var2="1" /> |
| 515 | <action function="page">wipe_done</action> |
| 516 | </object> |
| 517 | |
| 518 | <object type="action"> |
| 519 | <action function="wipe">data</action> |
| 520 | </object> |
| 521 | |
| 522 | <object type="template" name="footer" /> |
| 523 | </page> |
| 524 | |
| 525 | <page name="wipe_system"> |
| 526 | <object type="template" name="header" /> |
| 527 | |
| 528 | <object type="animation"> |
| 529 | <placement x="%col_progressbar_x%" y="470" /> |
| 530 | <resource name="progress" /> |
| 531 | <speed fps="15" render="2" /> |
| 532 | <loop frame="1" /> |
| 533 | </object> |
| 534 | |
| 535 | <object type="action"> |
| 536 | <condition var1="tw_operation_state" var2="1" /> |
| 537 | <action function="page">wipe_done</action> |
| 538 | </object> |
| 539 | |
| 540 | <object type="action"> |
| 541 | <action function="wipe">/system</action> |
| 542 | </object> |
| 543 | |
| 544 | <object type="template" name="footer" /> |
| 545 | </page> |
| 546 | |
| 547 | <page name="wipe_sdcard"> |
| 548 | <object type="template" name="header" /> |
| 549 | |
| 550 | <object type="animation"> |
| 551 | <placement x="%col_progressbar_x%" y="470" /> |
| 552 | <resource name="progress" /> |
| 553 | <speed fps="15" render="2" /> |
| 554 | <loop frame="1" /> |
| 555 | </object> |
| 556 | |
| 557 | <object type="action"> |
| 558 | <condition var1="tw_operation_state" var2="1" /> |
| 559 | <action function="page">wipe_done</action> |
| 560 | </object> |
| 561 | |
| 562 | <object type="action"> |
| 563 | <action function="wipe">/sdcard</action> |
| 564 | </object> |
| 565 | |
| 566 | <object type="template" name="footer" /> |
| 567 | </page> |
| 568 | |
| 569 | <page name="wipe_sdext"> |
| 570 | <object type="template" name="header" /> |
| 571 | |
| 572 | <object type="animation"> |
| 573 | <placement x="%col_progressbar_x%" y="470" /> |
| 574 | <resource name="progress" /> |
| 575 | <speed fps="15" render="2" /> |
| 576 | <loop frame="1" /> |
| 577 | </object> |
| 578 | |
| 579 | <object type="action"> |
| 580 | <condition var1="tw_operation_state" var2="1" /> |
| 581 | <action function="page">wipe_done</action> |
| 582 | </object> |
| 583 | |
| 584 | <object type="action"> |
| 585 | <action function="wipe">/sd-ext</action> |
| 586 | </object> |
| 587 | |
| 588 | <object type="template" name="footer" /> |
| 589 | </page> |
| 590 | |
| 591 | <page name="wipe_battery"> |
| 592 | <object type="template" name="header" /> |
| 593 | |
| 594 | <object type="animation"> |
| 595 | <placement x="%col_progressbar_x%" y="470" /> |
| 596 | <resource name="progress" /> |
| 597 | <speed fps="15" render="2" /> |
| 598 | <loop frame="1" /> |
| 599 | </object> |
| 600 | |
| 601 | <object type="action"> |
| 602 | <condition var1="tw_operation_state" var2="1" /> |
| 603 | <action function="page">wipe_done</action> |
| 604 | </object> |
| 605 | |
| 606 | <object type="action"> |
| 607 | <action function="wipe">battery</action> |
| 608 | </object> |
| 609 | |
| 610 | <object type="template" name="footer" /> |
| 611 | </page> |
| 612 | |
| 613 | <page name="wipe_done"> |
| 614 | <object type="template" name="header" /> |
| 615 | |
| 616 | <object type="text" color="white"> |
| 617 | <font resource="font" /> |
| 618 | <placement x="270" y="540" placement="4" /> |
| 619 | <text>Wipe complete</text> |
| 620 | </object> |
| 621 | |
| 622 | <object type="button"> |
| 623 | <placement x="%col_center_x%" y="550" /> |
| 624 | <font resource="font" color="white" /> |
| 625 | <text>Back</text> |
| 626 | <image resource="main_button" /> |
| 627 | <action function="page">wipe</action> |
| 628 | </object> |
| 629 | |
| 630 | <object type="action"> |
| 631 | <touch key="home" /> |
| 632 | <action function="page">main</action> |
| 633 | </object> |
| 634 | |
| 635 | <object type="action"> |
| 636 | <touch key="back" /> |
| 637 | <action function="page">wipe</action> |
| 638 | </object> |
| 639 | |
| 640 | <object type="template" name="footer" /> |
| 641 | </page> |
| 642 | |
| 643 | <page name="backup"> |
| 644 | <object type="template" name="header" /> |
| 645 | |
| 646 | <object type="button"> |
| 647 | <placement x="%col1_x%" y="%row1_y%" /> |
| 648 | <font resource="font" color="black" /> |
| 649 | <text>Backup now</text> |
| 650 | <image resource="main_button" /> |
| 651 | <action function="page">backup_run</action> |
| 652 | </object> |
| 653 | |
| 654 | <object type="checkbox"> |
| 655 | <placement x="%col1_x%" y="285" /> |
| 656 | <font resource="font" color="white" /> |
| 657 | <text>System</text> |
| 658 | <data variable="tw_backup_system" /> |
| 659 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 660 | </object> |
| 661 | |
| 662 | <object type="checkbox"> |
| 663 | <placement x="%col1_x%" y="325" /> |
| 664 | <font resource="font" color="white" /> |
| 665 | <text>Data</text> |
| 666 | <data variable="tw_backup_data" /> |
| 667 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 668 | </object> |
| 669 | |
| 670 | <object type="checkbox"> |
| 671 | <placement x="%col1_x%" y="365" /> |
| 672 | <font resource="font" color="white" /> |
| 673 | <text>Boot</text> |
| 674 | <data variable="tw_backup_boot" /> |
| 675 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 676 | </object> |
| 677 | |
| 678 | <object type="checkbox"> |
| 679 | <placement x="%col1_x%" y="405" /> |
| 680 | <font resource="font" color="white" /> |
| 681 | <text>Recovery</text> |
| 682 | <data variable="tw_backup_recovery" /> |
| 683 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 684 | </object> |
| 685 | |
| 686 | <object type="checkbox"> |
| 687 | <placement x="%col1_x%" y="445" /> |
| 688 | <font resource="font" color="white" /> |
| 689 | <text>Cache</text> |
| 690 | <data variable="tw_backup_cache" /> |
| 691 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 692 | </object> |
| 693 | |
| 694 | <object type="checkbox"> |
| 695 | <placement x="%col1_x%" y="485" /> |
| 696 | <font resource="font" color="white" /> |
| 697 | <text>%tw_sp1_name%</text> |
| 698 | <data variable="tw_backup_sp1" /> |
| 699 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 700 | </object> |
| 701 | |
| 702 | <object type="checkbox"> |
| 703 | <placement x="%col1_x%" y="525" /> |
| 704 | <font resource="font" color="white" /> |
| 705 | <text>.android_secure</text> |
Matt Mower | bf4efa3 | 2014-04-14 23:25:26 -0500 | [diff] [blame] | 706 | <conditions> |
| 707 | <condition var1="tw_has_android_secure" var2="1" /> |
| 708 | <condition var1="fileexists" var2="/and-sec" /> |
| 709 | </conditions> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 710 | <data variable="tw_backup_andsec" /> |
| 711 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 712 | </object> |
| 713 | |
| 714 | <object type="checkbox"> |
| 715 | <placement x="%col1_x%" y="565" /> |
| 716 | <font resource="font" color="white" /> |
| 717 | <text>sd-ext</text> |
| 718 | <condition var1="fileexists" var2="/sd-ext" /> |
| 719 | <data variable="tw_backup_sdext" /> |
| 720 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 721 | </object> |
| 722 | |
| 723 | <object type="checkbox"> |
| 724 | <placement x="%col1_x%" y="625" /> |
| 725 | <font resource="font" color="white" /> |
| 726 | <text>Enable Compression (Requires more time)</text> |
| 727 | <data variable="tw_use_compression" /> |
| 728 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 729 | </object> |
| 730 | |
| 731 | <object type="action"> |
| 732 | <touch key="home" /> |
| 733 | <action function="page">main</action> |
| 734 | </object> |
| 735 | |
| 736 | <object type="action"> |
| 737 | <touch key="back" /> |
| 738 | <action function="page">main</action> |
| 739 | </object> |
| 740 | |
| 741 | <object type="template" name="footer" /> |
| 742 | </page> |
| 743 | |
| 744 | <page name="backup_run"> |
| 745 | <object type="template" name="header" /> |
| 746 | |
| 747 | <object type="text" color="white"> |
| 748 | <font resource="font" /> |
| 749 | <placement x="270" y="440" placement="4" /> |
| 750 | <text>%tw_operation% %tw_partition%</text> |
| 751 | </object> |
| 752 | |
| 753 | <object type="progressbar"> |
| 754 | <placement x="%col_progressbar_x%" y="470" /> |
| 755 | <resource empty="progress_empty" full="progress_full" /> |
| 756 | <data name="ui_progress" /> |
| 757 | </object> |
| 758 | |
| 759 | <object type="animation"> |
| 760 | <placement x="%col_progressbar_x%" y="470" /> |
| 761 | <resource name="progress" /> |
| 762 | <speed fps="15" render="2" /> |
| 763 | <loop frame="1" /> |
| 764 | </object> |
| 765 | |
| 766 | <object type="action"> |
| 767 | <condition var1="tw_operation_state" var2="1" /> |
| 768 | <action function="page">backup_done</action> |
| 769 | </object> |
| 770 | |
| 771 | <object type="action"> |
| 772 | <action function="nandroid">backup</action> |
| 773 | </object> |
| 774 | |
| 775 | <object type="template" name="footer" /> |
| 776 | </page> |
| 777 | |
| 778 | <page name="backup_done"> |
| 779 | <object type="action"> |
| 780 | <condition var1="tw_operation_status" var2="0" /> |
| 781 | <action function="page">backup_success</action> |
| 782 | </object> |
| 783 | |
| 784 | <object type="action"> |
| 785 | <condition var1="tw_operation_status" var2="1" /> |
| 786 | <action function="page">backup_failed</action> |
| 787 | </object> |
| 788 | </page> |
| 789 | |
| 790 | <page name="backup_success"> |
| 791 | <object type="template" name="header" /> |
| 792 | |
| 793 | <object type="text" color="white"> |
| 794 | <font resource="font" /> |
| 795 | <placement x="270" y="445" placement="4" /> |
| 796 | <text>Your backup was successful!</text> |
| 797 | </object> |
| 798 | |
| 799 | <object type="button"> |
| 800 | <placement x="%col_center_x%" y="570" /> |
| 801 | <font resource="font" color="white" /> |
| 802 | <text>Main Menu</text> |
| 803 | <image resource="main_button" /> |
| 804 | <action function="page">main</action> |
| 805 | </object> |
| 806 | |
| 807 | <object type="template" name="footer" /> |
| 808 | </page> |
| 809 | |
| 810 | <page name="backup_failed"> |
| 811 | <object type="template" name="header" /> |
| 812 | |
| 813 | <object type="text" color="white"> |
| 814 | <font resource="font" /> |
| 815 | <placement x="270" y="445" placement="4" /> |
| 816 | <text>Your backup failed.</text> |
| 817 | </object> |
| 818 | |
| 819 | <object type="text" color="white"> |
| 820 | <font resource="font" /> |
| 821 | <placement x="270" y="475" placement="4" /> |
| 822 | <text>Pull up the console for more details</text> |
| 823 | </object> |
| 824 | |
| 825 | <object type="button"> |
| 826 | <placement x="%col_center_x%" y="570" /> |
| 827 | <font resource="font" color="white" /> |
| 828 | <text>Main Menu</text> |
| 829 | <image resource="main_button" /> |
| 830 | <action function="page">main</action> |
| 831 | </object> |
| 832 | |
| 833 | <object type="template" name="footer" /> |
| 834 | </page> |
| 835 | |
| 836 | <page name="restore"> |
| 837 | <object type="template" name="header" /> |
| 838 | |
| 839 | <object type="text" color="white"> |
| 840 | <font resource="font" /> |
| 841 | <placement x="%col1_x%" y="%row1_y%" /> |
| 842 | <text>Select packge to restore</text> |
| 843 | </object> |
| 844 | |
| 845 | <object type="fileselector"> |
| 846 | <placement x="5" y="140" w="530" h="780" /> |
| 847 | <icon folder="folder_icon" file="file_icon" /> |
| 848 | <background color="#303030" /> |
| 849 | <font resource="filelist" spacing="18" color="white" /> |
| 850 | <filter folders="1" files="0" nav="0" /> |
| 851 | <path name="tw_backups_folder" /> |
| 852 | <data name="tw_restore" default="" /> |
| 853 | </object> |
| 854 | |
| 855 | <object type="action"> |
| 856 | <condition var1="tw_restore" op="modified" /> |
| 857 | <action function="page">restore_setrestoredata</action> |
| 858 | </object> |
| 859 | |
| 860 | <object type="action"> |
| 861 | <touch key="home" /> |
| 862 | <action function="page">main</action> |
| 863 | </object> |
| 864 | |
| 865 | <object type="action"> |
| 866 | <touch key="back" /> |
| 867 | <action function="page">main</action> |
| 868 | </object> |
| 869 | |
| 870 | <object type="template" name="footer" /> |
| 871 | </page> |
| 872 | |
| 873 | <page name="restore_setrestoredata"> |
| 874 | <object type="action"> |
| 875 | <action function="readBackup"></action> |
| 876 | </object> |
| 877 | |
| 878 | <object type="action"> |
| 879 | <action function="page">restore_select</action> |
| 880 | </object> |
| 881 | </page> |
| 882 | |
| 883 | <page name="restore_select"> |
| 884 | <object type="template" name="header" /> |
| 885 | |
| 886 | <object type="button"> |
| 887 | <placement x="%col1_x%" y="%row1_y%" /> |
| 888 | <font resource="font" color="black" /> |
| 889 | <text>Restore now</text> |
| 890 | <image resource="main_button" /> |
| 891 | <action function="page">restore_run</action> |
| 892 | </object> |
| 893 | |
| 894 | <object type="checkbox"> |
| 895 | <placement x="%col1_x%" y="285" /> |
| 896 | <font resource="font" color="white" /> |
| 897 | <text>System</text> |
| 898 | <condition var1="tw_restore_system" op=">=" var2="0" /> |
| 899 | <data variable="tw_restore_system" /> |
| 900 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 901 | </object> |
| 902 | |
| 903 | <object type="checkbox"> |
| 904 | <placement x="%col1_x%" y="325" /> |
| 905 | <font resource="font" color="white" /> |
| 906 | <text>Data</text> |
| 907 | <condition var1="tw_restore_data" op=">=" var2="0" /> |
| 908 | <data variable="tw_restore_data" /> |
| 909 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 910 | </object> |
| 911 | |
| 912 | <object type="checkbox"> |
| 913 | <placement x="%col1_x%" y="365" /> |
| 914 | <font resource="font" color="white" /> |
| 915 | <text>Boot</text> |
| 916 | <condition var1="tw_restore_boot" op=">=" var2="0" /> |
| 917 | <data variable="tw_restore_boot" /> |
| 918 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 919 | </object> |
| 920 | |
| 921 | <object type="checkbox"> |
| 922 | <placement x="%col1_x%" y="405" /> |
| 923 | <font resource="font" color="white" /> |
| 924 | <text>Recovery</text> |
| 925 | <condition var1="tw_restore_recovery" op=">=" var2="0" /> |
| 926 | <data variable="tw_restore_recovery" /> |
| 927 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 928 | </object> |
| 929 | |
| 930 | <object type="checkbox"> |
| 931 | <placement x="%col1_x%" y="445" /> |
| 932 | <font resource="font" color="white" /> |
| 933 | <text>Cache</text> |
| 934 | <condition var1="tw_restore_cache" op=">=" var2="0" /> |
| 935 | <data variable="tw_restore_cache" /> |
| 936 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 937 | </object> |
| 938 | |
| 939 | <object type="checkbox"> |
| 940 | <placement x="%col1_x%" y="485" /> |
| 941 | <font resource="font" color="white" /> |
| 942 | <text>%tw_sp1_name%</text> |
| 943 | <condition var1="tw_restore_sp1" op=">=" var2="0" /> |
| 944 | <data variable="tw_restore_sp1" /> |
| 945 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 946 | </object> |
| 947 | |
| 948 | <object type="checkbox"> |
| 949 | <placement x="%col1_x%" y="525" /> |
| 950 | <font resource="font" color="white" /> |
| 951 | <text>.android_secure</text> |
| 952 | <condition var1="tw_restore_andsec" op=">=" var2="0" /> |
| 953 | <data variable="tw_restore_andsec" /> |
| 954 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 955 | </object> |
| 956 | |
| 957 | <object type="checkbox"> |
| 958 | <placement x="%col1_x%" y="565" /> |
| 959 | <font resource="font" color="white" /> |
| 960 | <text>sd-ext</text> |
| 961 | <condition var1="tw_restore_sdext" op=">=" var2="0" /> |
| 962 | <data variable="tw_restore_sdext" /> |
| 963 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 964 | </object> |
| 965 | |
| 966 | <object type="action"> |
| 967 | <touch key="home" /> |
| 968 | <action function="page">main</action> |
| 969 | </object> |
| 970 | |
| 971 | <object type="action"> |
| 972 | <touch key="back" /> |
| 973 | <action function="page">restore</action> |
| 974 | </object> |
| 975 | |
| 976 | <object type="template" name="footer" /> |
| 977 | </page> |
| 978 | |
| 979 | <page name="restore_run"> |
| 980 | <object type="template" name="header" /> |
| 981 | |
| 982 | <object type="text" color="white"> |
| 983 | <font resource="font" /> |
| 984 | <placement x="270" y="440" placement="4" /> |
| 985 | <text>%tw_operation% %tw_partition%</text> |
| 986 | </object> |
| 987 | |
| 988 | <object type="progressbar"> |
| 989 | <placement x="%col_progressbar_x%" y="470" /> |
| 990 | <resource empty="progress_empty" full="progress_full" /> |
| 991 | <data name="ui_progress" /> |
| 992 | </object> |
| 993 | |
| 994 | <object type="animation"> |
| 995 | <placement x="%col_progressbar_x%" y="470" /> |
| 996 | <resource name="progress" /> |
| 997 | <speed fps="15" render="2" /> |
| 998 | <loop frame="1" /> |
| 999 | </object> |
| 1000 | |
| 1001 | <object type="action"> |
| 1002 | <condition var1="tw_operation_state" var2="1" /> |
| 1003 | <action function="page">restore_done</action> |
| 1004 | </object> |
| 1005 | |
| 1006 | <object type="action"> |
| 1007 | <action function="nandroid">restore</action> |
| 1008 | </object> |
| 1009 | |
| 1010 | <object type="template" name="footer" /> |
| 1011 | </page> |
| 1012 | |
| 1013 | <page name="restore_done"> |
| 1014 | <object type="action"> |
| 1015 | <condition var1="tw_operation_status" var2="0" /> |
| 1016 | <action function="page">restore_success</action> |
| 1017 | </object> |
| 1018 | |
| 1019 | <object type="action"> |
| 1020 | <condition var1="tw_operation_status" var2="1" /> |
| 1021 | <action function="page">restore_failed</action> |
| 1022 | </object> |
| 1023 | </page> |
| 1024 | |
| 1025 | <page name="restore_success"> |
| 1026 | <object type="template" name="header" /> |
| 1027 | |
| 1028 | <object type="text" color="white"> |
| 1029 | <font resource="font" /> |
| 1030 | <placement x="270" y="440" placement="4" /> |
| 1031 | <text>Your restore was successful!</text> |
| 1032 | </object> |
| 1033 | |
| 1034 | <object type="button"> |
| 1035 | <placement x="%col_center_x%" y="570" /> |
| 1036 | <font resource="font" color="white" /> |
| 1037 | <text>Main Menu</text> |
| 1038 | <image resource="main_button" /> |
| 1039 | <action function="page">main</action> |
| 1040 | </object> |
| 1041 | |
| 1042 | <object type="template" name="footer" /> |
| 1043 | </page> |
| 1044 | |
| 1045 | <page name="restore_failed"> |
| 1046 | <object type="template" name="header" /> |
| 1047 | |
| 1048 | <object type="text" color="white"> |
| 1049 | <font resource="font" /> |
| 1050 | <placement x="270" y="440" placement="4" /> |
| 1051 | <text>Your restore failed.</text> |
| 1052 | </object> |
| 1053 | |
| 1054 | <object type="text" color="white"> |
| 1055 | <font resource="font" /> |
| 1056 | <placement x="270" y="475" placement="4" /> |
| 1057 | <text>Pull up the console for more details</text> |
| 1058 | </object> |
| 1059 | |
| 1060 | <object type="button"> |
| 1061 | <placement x="%col_center_x%" y="570" /> |
| 1062 | <font resource="font" color="white" /> |
| 1063 | <text>Main Menu</text> |
| 1064 | <image resource="main_button" /> |
| 1065 | <action function="page">main</action> |
| 1066 | </object> |
| 1067 | |
| 1068 | <object type="template" name="footer" /> |
| 1069 | </page> |
| 1070 | |
| 1071 | <page name="mount"> |
| 1072 | <object type="template" name="header" /> |
| 1073 | |
| 1074 | <object type="button"> |
| 1075 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1076 | <font resource="font" color="white" /> |
| 1077 | <condition var1="mounted" op="!=" var2="/system" /> |
| 1078 | <text>Mount System</text> |
| 1079 | <image resource="checkbox_false" /> |
| 1080 | <action function="mount">/system</action> |
| 1081 | </object> |
| 1082 | |
| 1083 | <object type="button"> |
| 1084 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1085 | <font resource="font" color="white" /> |
| 1086 | <condition var1="mounted" op="=" var2="/system" /> |
| 1087 | <text>Unmount System</text> |
| 1088 | <image resource="checkbox_true" /> |
| 1089 | <action function="umount">/system</action> |
| 1090 | </object> |
| 1091 | |
| 1092 | <object type="button"> |
| 1093 | <placement x="%col1_x%" y="160" /> |
| 1094 | <font resource="font" color="white" /> |
| 1095 | <condition var1="mounted" op="!=" var2="/data" /> |
| 1096 | <text>Mount Data</text> |
| 1097 | <image resource="checkbox_false" /> |
| 1098 | <action function="mount">/data</action> |
| 1099 | </object> |
| 1100 | |
| 1101 | <object type="button"> |
| 1102 | <placement x="%col1_x%" y="160" /> |
| 1103 | <font resource="font" color="white" /> |
| 1104 | <condition var1="mounted" op="=" var2="/data" /> |
| 1105 | <text>Unmount Data</text> |
| 1106 | <image resource="checkbox_true" /> |
| 1107 | <action function="umount">/data</action> |
| 1108 | </object> |
| 1109 | |
| 1110 | <object type="button"> |
| 1111 | <placement x="%col1_x%" y="200" /> |
| 1112 | <font resource="font" color="white" /> |
| 1113 | <condition var1="mounted" op="!=" var2="/cache" /> |
| 1114 | <text>Mount Cache</text> |
| 1115 | <image resource="checkbox_false" /> |
| 1116 | <action function="mount">/cache</action> |
| 1117 | </object> |
| 1118 | |
| 1119 | <object type="button"> |
| 1120 | <placement x="%col1_x%" y="200" /> |
| 1121 | <font resource="font" color="white" /> |
| 1122 | <condition var1="mounted" op="=" var2="/cache" /> |
| 1123 | <text>Unmount Cache</text> |
| 1124 | <image resource="checkbox_true" /> |
| 1125 | <action function="umount">/cache</action> |
| 1126 | </object> |
| 1127 | |
| 1128 | <object type="button"> |
| 1129 | <placement x="%col1_x%" y="260" /> |
| 1130 | <font resource="font" color="black" /> |
| 1131 | <text>Mount USB Storage</text> |
| 1132 | <image resource="main_button" /> |
| 1133 | <action function="page">usb_mount</action> |
| 1134 | </object> |
| 1135 | |
| 1136 | <object type="action"> |
| 1137 | <touch key="home" /> |
| 1138 | <action function="page">main</action> |
| 1139 | </object> |
| 1140 | |
| 1141 | <object type="action"> |
| 1142 | <touch key="back" /> |
| 1143 | <action function="page">main</action> |
| 1144 | </object> |
| 1145 | |
| 1146 | <object type="template" name="footer" /> |
| 1147 | </page> |
| 1148 | |
| 1149 | <page name="usb_mount"> |
| 1150 | <object type="template" name="header" /> |
| 1151 | |
| 1152 | <object type="button"> |
| 1153 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1154 | <font resource="font" color="black" /> |
| 1155 | <text>Unmount</text> |
| 1156 | <image resource="main_button" /> |
| 1157 | <action function="page">usb_umount</action> |
| 1158 | </object> |
| 1159 | |
| 1160 | <object type="action"> |
| 1161 | <action function="mount">usb</action> |
| 1162 | </object> |
| 1163 | |
| 1164 | <object type="template" name="footer" /> |
| 1165 | </page> |
| 1166 | |
| 1167 | <page name="usb_umount"> |
| 1168 | <object type="action"> |
| 1169 | <action function="unmount">usb</action> |
| 1170 | </object> |
| 1171 | |
| 1172 | <object type="action"> |
| 1173 | <action function="page">mount</action> |
| 1174 | </object> |
| 1175 | </page> |
| 1176 | |
| 1177 | <page name="reboot"> |
| 1178 | <object type="template" name="header" /> |
| 1179 | |
| 1180 | <object type="button"> |
| 1181 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1182 | <font resource="font" color="black" /> |
| 1183 | <text>System</text> |
| 1184 | <image resource="main_button" /> |
| 1185 | <action function="reboot">system</action> |
| 1186 | </object> |
| 1187 | |
| 1188 | <object type="button"> |
| 1189 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1190 | <font resource="font" color="black" /> |
| 1191 | <text>Power Off</text> |
| 1192 | <image resource="main_button" /> |
| 1193 | <action function="reboot">poweroff</action> |
| 1194 | </object> |
| 1195 | |
| 1196 | <object type="button"> |
| 1197 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1198 | <font resource="font" color="black" /> |
| 1199 | <text>Recovery</text> |
| 1200 | <image resource="main_button" /> |
| 1201 | <action function="reboot">recovery</action> |
| 1202 | </object> |
| 1203 | |
| 1204 | <object type="button"> |
| 1205 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1206 | <font resource="font" color="black" /> |
| 1207 | <text>Bootloader</text> |
| 1208 | <image resource="main_button" /> |
| 1209 | <action function="reboot">bootloader</action> |
| 1210 | </object> |
| 1211 | |
| 1212 | <object type="action"> |
| 1213 | <touch key="home" /> |
| 1214 | <action function="page">main</action> |
| 1215 | </object> |
| 1216 | |
| 1217 | <object type="action"> |
| 1218 | <touch key="back" /> |
| 1219 | <action function="page">main</action> |
| 1220 | </object> |
| 1221 | |
| 1222 | <object type="template" name="footer" /> |
| 1223 | </page> |
| 1224 | |
| 1225 | <page name="settings"> |
| 1226 | <object type="template" name="header" /> |
| 1227 | |
| 1228 | <object type="checkbox"> |
| 1229 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1230 | <font resource="font" color="white" /> |
| 1231 | <text>Zip file signature verification?</text> |
| 1232 | <data variable="tw_signed_zip_verify" /> |
| 1233 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1234 | </object> |
| 1235 | |
| 1236 | <object type="checkbox"> |
| 1237 | <placement x="%col1_x%" y="160" /> |
| 1238 | <font resource="font" color="white" /> |
| 1239 | <text>Reboot after flashing a zip?</text> |
| 1240 | <data variable="tw_reboot_after_flash_option" /> |
| 1241 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1242 | </object> |
| 1243 | |
| 1244 | <object type="checkbox"> |
| 1245 | <placement x="%col1_x%" y="200" /> |
| 1246 | <font resource="font" color="white" /> |
| 1247 | <text>Force MD5 check on all zips?</text> |
| 1248 | <data variable="tw_force_md5_check" /> |
| 1249 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1250 | </object> |
| 1251 | |
| 1252 | <object type="checkbox"> |
| 1253 | <placement x="%col1_x%" y="240" /> |
| 1254 | <font resource="font" color="white" /> |
| 1255 | <text>Use rm -rf instead of formatting?</text> |
| 1256 | <data variable="tw_rm_rf" /> |
| 1257 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1258 | </object> |
| 1259 | |
| 1260 | <object type="button"> |
| 1261 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1262 | <font resource="font" color="black" /> |
| 1263 | <text>Time Zone</text> |
| 1264 | <image resource="main_button" /> |
| 1265 | <action function="page">timezonemain</action> |
| 1266 | </object> |
| 1267 | |
| 1268 | <object type="button"> |
| 1269 | <placement x="%col_center_x%" y="%row4_y%" /> |
| 1270 | <font resource="font" color="black" /> |
| 1271 | <text>Restore Defaults</text> |
| 1272 | <image resource="main_button" /> |
| 1273 | <action function="restoredefaultsettings"></action> |
| 1274 | </object> |
| 1275 | |
| 1276 | <object type="action"> |
| 1277 | <touch key="home" /> |
| 1278 | <action function="page">main</action> |
| 1279 | </object> |
| 1280 | |
| 1281 | <object type="action"> |
| 1282 | <touch key="back" /> |
| 1283 | <action function="page">main</action> |
| 1284 | </object> |
| 1285 | |
| 1286 | <object type="template" name="footer" /> |
| 1287 | </page> |
| 1288 | |
| 1289 | <page name="timezonemain"> |
| 1290 | <object type="template" name="header" /> |
| 1291 | |
| 1292 | <object type="button"> |
| 1293 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1294 | <font resource="font" color="black" /> |
| 1295 | <text>Minus (GMT 0 to -11)</text> |
| 1296 | <image resource="main_button" /> |
| 1297 | <action function="page">timezoneminus</action> |
| 1298 | </object> |
| 1299 | |
| 1300 | <object type="button"> |
| 1301 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1302 | <font resource="font" color="black" /> |
| 1303 | <text>Plus (GMT +1 to +12)</text> |
| 1304 | <image resource="main_button" /> |
| 1305 | <action function="page">timezoneplus</action> |
| 1306 | </object> |
| 1307 | |
| 1308 | <object type="action"> |
| 1309 | <touch key="home" /> |
| 1310 | <action function="page">main</action> |
| 1311 | </object> |
| 1312 | |
| 1313 | <object type="action"> |
| 1314 | <touch key="back" /> |
| 1315 | <action function="page">settings</action> |
| 1316 | </object> |
| 1317 | |
| 1318 | <object type="template" name="footer" /> |
| 1319 | </page> |
| 1320 | |
| 1321 | <page name="timezoneminus"> |
| 1322 | <object type="template" name="header" /> |
| 1323 | |
| 1324 | <object type="text" color="white"> |
| 1325 | <font resource="font" /> |
| 1326 | <placement x="%col1_x%" y="100" /> |
| 1327 | <text>Selected: %tw_time_zone_guisel%</text> |
| 1328 | </object> |
| 1329 | |
| 1330 | <object type="button"> |
| 1331 | <placement x="%col1_medium_x%" y="%row1_medium_y%" /> |
| 1332 | <font resource="font" color="black" /> |
| 1333 | <text>GMT 0 CUT</text> |
| 1334 | <image resource="medium_button" /> |
| 1335 | <action function="set">tw_time_zone_guisel=CUT0;GDT</action> |
| 1336 | </object> |
| 1337 | |
| 1338 | <object type="button"> |
| 1339 | <placement x="%col2_medium_x%" y="%row1_medium_y%" /> |
| 1340 | <font resource="font" color="black" /> |
| 1341 | <text>GMT 0</text> |
| 1342 | <image resource="medium_button" /> |
| 1343 | <action function="set">tw_time_zone_guisel=GMT0;BST</action> |
| 1344 | </object> |
| 1345 | |
| 1346 | <object type="button"> |
| 1347 | <placement x="%col3_medium_x%" y="%row1_medium_y%" /> |
| 1348 | <font resource="font" color="black" /> |
| 1349 | <text>AZOREST -1</text> |
| 1350 | <image resource="medium_button" /> |
| 1351 | <action function="set">tw_time_zone_guisel=AZOREST1;AZOREDT</action> |
| 1352 | </object> |
| 1353 | |
| 1354 | <object type="button"> |
| 1355 | <placement x="%col4_medium_x%" y="%row1_medium_y%" /> |
| 1356 | <font resource="font" color="black" /> |
| 1357 | <text>FALKST -2</text> |
| 1358 | <image resource="medium_button" /> |
| 1359 | <action function="set">tw_time_zone_guisel=FALKST2;FALKDT</action> |
| 1360 | </object> |
| 1361 | |
| 1362 | <object type="button"> |
| 1363 | <placement x="%col1_medium_x%" y="%row2_medium_y%" /> |
| 1364 | <font resource="font" color="black" /> |
| 1365 | <text>GRNLNDST -3</text> |
| 1366 | <image resource="medium_button" /> |
| 1367 | <action function="set">tw_time_zone_guisel=GRNLNDST3;GRNLNDDT</action> |
| 1368 | </object> |
| 1369 | |
| 1370 | <object type="button"> |
| 1371 | <placement x="%col2_medium_x%" y="%row2_medium_y%" /> |
| 1372 | <font resource="font" color="black" /> |
| 1373 | <text>AST -4</text> |
| 1374 | <image resource="medium_button" /> |
| 1375 | <action function="set">tw_time_zone_guisel=AST4;ADT</action> |
| 1376 | </object> |
| 1377 | |
| 1378 | <object type="button"> |
| 1379 | <placement x="%col3_medium_x%" y="%row2_medium_y%" /> |
| 1380 | <font resource="font" color="black" /> |
| 1381 | <text>EST -5</text> |
| 1382 | <image resource="medium_button" /> |
| 1383 | <action function="set">tw_time_zone_guisel=EST5;EDT</action> |
| 1384 | </object> |
| 1385 | |
| 1386 | <object type="button"> |
| 1387 | <placement x="%col4_medium_x%" y="%row2_medium_y%" /> |
| 1388 | <font resource="font" color="black" /> |
| 1389 | <text>CST -6</text> |
| 1390 | <image resource="medium_button" /> |
| 1391 | <action function="set">tw_time_zone_guisel=CST6;CDT</action> |
| 1392 | </object> |
| 1393 | |
| 1394 | <object type="button"> |
| 1395 | <placement x="%col1_medium_x%" y="%row3_medium_y%" /> |
| 1396 | <font resource="font" color="black" /> |
| 1397 | <text>MST -7</text> |
| 1398 | <image resource="medium_button" /> |
| 1399 | <action function="set">tw_time_zone_guisel=MST7;MDT</action> |
| 1400 | </object> |
| 1401 | |
| 1402 | <object type="button"> |
| 1403 | <placement x="%col2_medium_x%" y="%row3_medium_y%" /> |
| 1404 | <font resource="font" color="black" /> |
| 1405 | <text>PST -8</text> |
| 1406 | <image resource="medium_button" /> |
| 1407 | <action function="set">tw_time_zone_guisel=PST8;PDT</action> |
| 1408 | </object> |
| 1409 | |
| 1410 | <object type="button"> |
| 1411 | <placement x="%col3_medium_x%" y="%row3_medium_y%" /> |
| 1412 | <font resource="font" color="black" /> |
| 1413 | <text>AST -9</text> |
| 1414 | <image resource="medium_button" /> |
| 1415 | <action function="set">tw_time_zone_guisel=AST9;ADT</action> |
| 1416 | </object> |
| 1417 | |
| 1418 | <object type="button"> |
| 1419 | <placement x="%col4_medium_x%" y="%row3_medium_y%" /> |
| 1420 | <font resource="font" color="black" /> |
| 1421 | <text>HST -10</text> |
| 1422 | <image resource="medium_button" /> |
| 1423 | <action function="set">tw_time_zone_guisel=HST10;HDT</action> |
| 1424 | </object> |
| 1425 | |
| 1426 | <object type="button"> |
| 1427 | <placement x="%col1_medium_x%" y="%row4_medium_y%" /> |
| 1428 | <font resource="font" color="black" /> |
| 1429 | <text>BST -11</text> |
| 1430 | <image resource="medium_button" /> |
| 1431 | <action function="set">tw_time_zone_guisel=BST11;BDT</action> |
| 1432 | </object> |
| 1433 | |
| 1434 | <object type="checkbox"> |
| 1435 | <placement x="%col1_x%" y="%row5_medium_y%" /> |
| 1436 | <font resource="font" color="white" /> |
| 1437 | <text>Do you use daylight savings time (DST)?</text> |
| 1438 | <data variable="tw_time_zone_guidst" /> |
| 1439 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1440 | </object> |
| 1441 | |
| 1442 | <object type="text" color="white"> |
| 1443 | <font resource="font" /> |
| 1444 | <placement x="%col1_x%" y="580" /> |
| 1445 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 1446 | </object> |
| 1447 | |
| 1448 | <object type="button"> |
| 1449 | <placement x="%col1_medium_x%" y="%row6_medium_y%" /> |
| 1450 | <font resource="font" color="black" /> |
| 1451 | <text>None</text> |
| 1452 | <image resource="medium_button" /> |
| 1453 | <action function="set">tw_time_zone_guioffset=0</action> |
| 1454 | </object> |
| 1455 | |
| 1456 | <object type="button"> |
| 1457 | <placement x="%col2_medium_x%" y="%row6_medium_y%" /> |
| 1458 | <font resource="font" color="black" /> |
| 1459 | <text>15</text> |
| 1460 | <image resource="medium_button" /> |
| 1461 | <action function="set">tw_time_zone_guioffset=15</action> |
| 1462 | </object> |
| 1463 | |
| 1464 | <object type="button"> |
| 1465 | <placement x="%col3_medium_x%" y="%row6_medium_y%" /> |
| 1466 | <font resource="font" color="black" /> |
| 1467 | <text>30</text> |
| 1468 | <image resource="medium_button" /> |
| 1469 | <action function="set">tw_time_zone_guioffset=30</action> |
| 1470 | </object> |
| 1471 | |
| 1472 | <object type="button"> |
| 1473 | <placement x="%col4_medium_x%" y="%row6_medium_y%" /> |
| 1474 | <font resource="font" color="black" /> |
| 1475 | <text>45</text> |
| 1476 | <image resource="medium_button" /> |
| 1477 | <action function="set">tw_time_zone_guioffset=45</action> |
| 1478 | </object> |
| 1479 | |
| 1480 | <object type="button"> |
| 1481 | <placement x="%col_center_x%" y="720" /> |
| 1482 | <font resource="font" color="black" /> |
| 1483 | <text>Set Time Zone</text> |
| 1484 | <image resource="main_button" /> |
| 1485 | <action function="setguitimezone"></action> |
| 1486 | </object> |
| 1487 | |
| 1488 | <object type="text" color="white"> |
| 1489 | <font resource="font" /> |
| 1490 | <placement x="%col1_x%" y="880" /> |
| 1491 | <text>Current Time Zone: %tw_time_zone%</text> |
| 1492 | </object> |
| 1493 | |
| 1494 | <object type="action"> |
| 1495 | <touch key="home" /> |
| 1496 | <action function="page">main</action> |
| 1497 | </object> |
| 1498 | |
| 1499 | <object type="action"> |
| 1500 | <touch key="back" /> |
| 1501 | <action function="page">timezonemain</action> |
| 1502 | </object> |
| 1503 | |
| 1504 | <object type="template" name="footer" /> |
| 1505 | </page> |
| 1506 | |
| 1507 | <page name="timezoneplus"> |
| 1508 | <object type="template" name="header" /> |
| 1509 | |
| 1510 | <object type="text" color="white"> |
| 1511 | <font resource="font" /> |
| 1512 | <placement x="%col1_x%" y="100" /> |
| 1513 | <text>Selected: %tw_time_zone_guisel%</text> |
| 1514 | </object> |
| 1515 | |
| 1516 | <object type="button"> |
| 1517 | <placement x="%col1_medium_x%" y="%row1_medium_y%" /> |
| 1518 | <font resource="font" color="black" /> |
| 1519 | <text>NFT +1</text> |
| 1520 | <image resource="medium_button" /> |
| 1521 | <action function="set">tw_time_zone_guisel=NFT-1;DFT</action> |
| 1522 | </object> |
| 1523 | |
| 1524 | <object type="button"> |
| 1525 | <placement x="%col2_medium_x%" y="%row1_medium_y%" /> |
| 1526 | <font resource="font" color="black" /> |
| 1527 | <text>USAST +2</text> |
| 1528 | <image resource="medium_button" /> |
| 1529 | <action function="set">tw_time_zone_guisel=USAST-2;USADT</action> |
| 1530 | </object> |
| 1531 | |
| 1532 | <object type="button"> |
| 1533 | <placement x="%col3_medium_x%" y="%row1_medium_y%" /> |
| 1534 | <font resource="font" color="black" /> |
| 1535 | <text>WET +2</text> |
| 1536 | <image resource="medium_button" /> |
| 1537 | <action function="set">tw_time_zone_guisel=WET-2;WET</action> |
| 1538 | </object> |
| 1539 | |
| 1540 | <object type="button"> |
| 1541 | <placement x="%col4_medium_x%" y="%row1_medium_y%" /> |
| 1542 | <font resource="font" color="black" /> |
| 1543 | <text>SAUST +3</text> |
| 1544 | <image resource="medium_button" /> |
| 1545 | <action function="set">tw_time_zone_guisel=SAUST-3;SAUDT</action> |
| 1546 | </object> |
| 1547 | |
| 1548 | <object type="button"> |
| 1549 | <placement x="%col1_medium_x%" y="%row2_medium_y%" /> |
| 1550 | <font resource="font" color="black" /> |
| 1551 | <text>MEST +3</text> |
| 1552 | <image resource="medium_button" /> |
| 1553 | <action function="set">tw_time_zone_guisel=MEST-3;MEDT</action> |
| 1554 | </object> |
| 1555 | |
| 1556 | <object type="button"> |
| 1557 | <placement x="%col2_medium_x%" y="%row2_medium_y%" /> |
| 1558 | <font resource="font" color="black" /> |
| 1559 | <text>WST +4</text> |
| 1560 | <image resource="medium_button" /> |
| 1561 | <action function="set">tw_time_zone_guisel=WST-4;WDT</action> |
| 1562 | </object> |
| 1563 | |
| 1564 | <object type="button"> |
| 1565 | <placement x="%col3_medium_x%" y="%row2_medium_y%" /> |
| 1566 | <font resource="font" color="black" /> |
| 1567 | <text>PAKST +5</text> |
| 1568 | <image resource="medium_button" /> |
| 1569 | <action function="set">tw_time_zone_guisel=PAKST-5;PAKDT</action> |
| 1570 | </object> |
| 1571 | |
| 1572 | <object type="button"> |
| 1573 | <placement x="%col4_medium_x%" y="%row2_medium_y%" /> |
| 1574 | <font resource="font" color="black" /> |
| 1575 | <text>TASHST +6</text> |
| 1576 | <image resource="medium_button" /> |
| 1577 | <action function="set">tw_time_zone_guisel=TASHST-6;TASHDT</action> |
| 1578 | </object> |
| 1579 | |
| 1580 | <object type="button"> |
| 1581 | <placement x="%col1_medium_x%" y="%row3_medium_y%" /> |
| 1582 | <font resource="font" color="black" /> |
| 1583 | <text>THAIST +7</text> |
| 1584 | <image resource="medium_button" /> |
| 1585 | <action function="set">tw_time_zone_guisel=THAIST-7;THAIDT</action> |
| 1586 | </object> |
| 1587 | |
| 1588 | <object type="button"> |
| 1589 | <placement x="%col2_medium_x%" y="%row3_medium_y%" /> |
| 1590 | <font resource="font" color="black" /> |
| 1591 | <text>TAIST +8</text> |
| 1592 | <image resource="medium_button" /> |
| 1593 | <action function="set">tw_time_zone_guisel=TAIST-8;TAIDT</action> |
| 1594 | </object> |
| 1595 | |
| 1596 | <object type="button"> |
| 1597 | <placement x="%col3_medium_x%" y="%row3_medium_y%" /> |
| 1598 | <font resource="font" color="black" /> |
| 1599 | <text>WAUST +8</text> |
| 1600 | <image resource="medium_button" /> |
| 1601 | <action function="set">tw_time_zone_guisel=WAUST-8;WAUDT</action> |
| 1602 | </object> |
| 1603 | |
| 1604 | <object type="button"> |
| 1605 | <placement x="%col4_medium_x%" y="%row3_medium_y%" /> |
| 1606 | <font resource="font" color="black" /> |
| 1607 | <text>KORST +9</text> |
| 1608 | <image resource="medium_button" /> |
| 1609 | <action function="set">tw_time_zone_guisel=KORST-9;KORDT</action> |
| 1610 | </object> |
| 1611 | |
| 1612 | <object type="button"> |
| 1613 | <placement x="%col1_medium_x%" y="%row4_medium_y%" /> |
| 1614 | <font resource="font" color="black" /> |
| 1615 | <text>JST +9</text> |
| 1616 | <image resource="medium_button" /> |
| 1617 | <action function="set">tw_time_zone_guisel=JST-9;JSTDT</action> |
| 1618 | </object> |
| 1619 | |
| 1620 | <object type="button"> |
| 1621 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 1622 | <font resource="font" color="black" /> |
| 1623 | <text>EET +10</text> |
| 1624 | <image resource="medium_button" /> |
| 1625 | <action function="set">tw_time_zone_guisel=EET-10;EETDT</action> |
| 1626 | </object> |
| 1627 | |
| 1628 | <object type="button"> |
| 1629 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 1630 | <font resource="font" color="black" /> |
| 1631 | <text>MET +11</text> |
| 1632 | <image resource="medium_button" /> |
| 1633 | <action function="set">tw_time_zone_guisel=MET-11;METDT</action> |
| 1634 | </object> |
| 1635 | |
| 1636 | <object type="button"> |
| 1637 | <placement x="%col4_medium_x%" y="%row4_medium_y%" /> |
| 1638 | <font resource="font" color="black" /> |
| 1639 | <text>NZST +12</text> |
| 1640 | <image resource="medium_button" /> |
| 1641 | <action function="set">tw_time_zone_guisel=NZST-12;NZDT</action> |
| 1642 | </object> |
| 1643 | |
| 1644 | <object type="checkbox"> |
| 1645 | <placement x="%col1_x%" y="%row5_medium_y%" /> |
| 1646 | <font resource="font" color="white" /> |
| 1647 | <text>Do you use daylight savings time (DST)?</text> |
| 1648 | <data variable="tw_time_zone_guidst" /> |
| 1649 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1650 | </object> |
| 1651 | |
| 1652 | <object type="text" color="white"> |
| 1653 | <font resource="font" /> |
| 1654 | <placement x="%col1_x%" y="580" /> |
| 1655 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 1656 | </object> |
| 1657 | |
| 1658 | <object type="button"> |
| 1659 | <placement x="%col1_medium_x%" y="%row6_medium_y%" /> |
| 1660 | <font resource="font" color="black" /> |
| 1661 | <text>None</text> |
| 1662 | <image resource="medium_button" /> |
| 1663 | <action function="set">tw_time_zone_guioffset=0</action> |
| 1664 | </object> |
| 1665 | |
| 1666 | <object type="button"> |
| 1667 | <placement x="%col2_medium_x%" y="%row6_medium_y%" /> |
| 1668 | <font resource="font" color="black" /> |
| 1669 | <text>15</text> |
| 1670 | <image resource="medium_button" /> |
| 1671 | <action function="set">tw_time_zone_guioffset=15</action> |
| 1672 | </object> |
| 1673 | |
| 1674 | <object type="button"> |
| 1675 | <placement x="%col3_medium_x%" y="%row6_medium_y%" /> |
| 1676 | <font resource="font" color="black" /> |
| 1677 | <text>30</text> |
| 1678 | <image resource="medium_button" /> |
| 1679 | <action function="set">tw_time_zone_guioffset=30</action> |
| 1680 | </object> |
| 1681 | |
| 1682 | <object type="button"> |
| 1683 | <placement x="%col4_medium_x%" y="%row6_medium_y%" /> |
| 1684 | <font resource="font" color="black" /> |
| 1685 | <text>45</text> |
| 1686 | <image resource="medium_button" /> |
| 1687 | <action function="set">tw_time_zone_guioffset=45</action> |
| 1688 | </object> |
| 1689 | |
| 1690 | <object type="button"> |
| 1691 | <placement x="%col_center_x%" y="720" /> |
| 1692 | <font resource="font" color="black" /> |
| 1693 | <text>Set Time Zone</text> |
| 1694 | <image resource="main_button" /> |
| 1695 | <action function="setguitimezone"></action> |
| 1696 | </object> |
| 1697 | |
| 1698 | <object type="text" color="white"> |
| 1699 | <font resource="font" /> |
| 1700 | <placement x="%col1_x%" y="880" /> |
| 1701 | <text>Current Time Zone: %tw_time_zone%</text> |
| 1702 | </object> |
| 1703 | |
| 1704 | <object type="action"> |
| 1705 | <touch key="home" /> |
| 1706 | <action function="page">main</action> |
| 1707 | </object> |
| 1708 | |
| 1709 | <object type="action"> |
| 1710 | <touch key="back" /> |
| 1711 | <action function="page">timezonemain</action> |
| 1712 | </object> |
| 1713 | |
| 1714 | <object type="template" name="footer" /> |
| 1715 | </page> |
| 1716 | |
| 1717 | <page name="advanced"> |
| 1718 | <object type="template" name="header" /> |
| 1719 | |
| 1720 | <object type="button"> |
| 1721 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1722 | <font resource="font" color="black" /> |
| 1723 | <text>Copy Log to SD</text> |
| 1724 | <image resource="main_button" /> |
| 1725 | <action function="copylog"></action> |
| 1726 | </object> |
| 1727 | |
| 1728 | <object type="button"> |
| 1729 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1730 | <font resource="font" color="black" /> |
| 1731 | <text>Fix Permissions</text> |
| 1732 | <image resource="main_button" /> |
| 1733 | <action function="page">fixperms</action> |
| 1734 | </object> |
| 1735 | |
| 1736 | <object type="button"> |
| 1737 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1738 | <font resource="font" color="black" /> |
| 1739 | <text>Partition SD Card</text> |
| 1740 | <image resource="main_button" /> |
| 1741 | <action function="page">partsdcard</action> |
| 1742 | </object> |
| 1743 | |
| 1744 | <object type="action"> |
| 1745 | <touch key="home" /> |
| 1746 | <action function="page">main</action> |
| 1747 | </object> |
| 1748 | |
| 1749 | <object type="action"> |
| 1750 | <touch key="back" /> |
| 1751 | <action function="page">main</action> |
| 1752 | </object> |
| 1753 | |
| 1754 | <object type="template" name="footer" /> |
| 1755 | </page> |
| 1756 | |
| 1757 | <page name="partsdcard"> |
| 1758 | <object type="template" name="header" /> |
| 1759 | |
| 1760 | <object type="button"> |
| 1761 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1762 | <font resource="font" color="black" /> |
| 1763 | <text></text> |
| 1764 | <image resource="minus_button" /> |
| 1765 | <action function="addsubtract">tw_sdext_size-128</action> |
| 1766 | </object> |
| 1767 | |
| 1768 | <object type="button"> |
| 1769 | <placement x="250" y="%row1_y%" /> |
| 1770 | <font resource="font" color="black" /> |
| 1771 | <text></text> |
| 1772 | <image resource="plus_button" /> |
| 1773 | <action function="addsubtract">tw_sdext_size+128</action> |
| 1774 | </object> |
| 1775 | |
| 1776 | <object type="text" color="white"> |
| 1777 | <font resource="font" /> |
| 1778 | <placement x="84" y="130" /> |
| 1779 | <text>EXT Size: %tw_sdext_size%</text> |
| 1780 | </object> |
| 1781 | |
| 1782 | <object type="button"> |
| 1783 | <placement x="%col1_x%" y="180" /> |
| 1784 | <font resource="font" color="black" /> |
| 1785 | <text></text> |
| 1786 | <image resource="minus_button" /> |
| 1787 | <action function="addsubtract">tw_swap_size-32</action> |
| 1788 | </object> |
| 1789 | |
| 1790 | <object type="button"> |
| 1791 | <placement x="250" y="180" /> |
| 1792 | <font resource="font" color="black" /> |
| 1793 | <text></text> |
| 1794 | <image resource="plus_button" /> |
| 1795 | <action function="addsubtract">tw_swap_size+32</action> |
| 1796 | </object> |
| 1797 | |
| 1798 | <object type="text" color="white"> |
| 1799 | <font resource="font" /> |
| 1800 | <placement x="84" y="190" /> |
| 1801 | <text>Swap Size: %tw_swap_size%</text> |
| 1802 | </object> |
| 1803 | |
| 1804 | <object type="text" color="white"> |
| 1805 | <font resource="font" /> |
| 1806 | <placement x="%col1_x%" y="240" /> |
| 1807 | <text>File system: %tw_sdpart_file_system%</text> |
| 1808 | </object> |
| 1809 | |
| 1810 | <object type="button"> |
| 1811 | <placement x="%col1_x%" y="280" /> |
| 1812 | <font resource="font" color="black" /> |
| 1813 | <text>EXT3</text> |
| 1814 | <image resource="main_button" /> |
| 1815 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 1816 | </object> |
| 1817 | |
| 1818 | <object type="button"> |
| 1819 | <placement x="%col2_x%" y="280" /> |
| 1820 | <font resource="font" color="black" /> |
| 1821 | <text>EXT4</text> |
| 1822 | <image resource="main_button" /> |
| 1823 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 1824 | </object> |
| 1825 | |
| 1826 | <object type="text" color="white"> |
| 1827 | <font resource="font" /> |
| 1828 | <placement x="%col1_x%" y="460" /> |
| 1829 | <text>You will lose all files on your SD card!</text> |
| 1830 | </object> |
| 1831 | |
| 1832 | <object type="text" color="white"> |
| 1833 | <font resource="font" /> |
| 1834 | <placement x="%col1_x%" y="500" /> |
| 1835 | <text>This action cannot be undone!</text> |
| 1836 | </object> |
| 1837 | |
| 1838 | <object type="button"> |
| 1839 | <placement x="%col_center_x%" y="540" /> |
| 1840 | <font resource="font" color="black" /> |
| 1841 | <text>Partition SD</text> |
| 1842 | <image resource="main_button" /> |
| 1843 | <action function="page">partsdcardaction</action> |
| 1844 | </object> |
| 1845 | |
| 1846 | <object type="action"> |
| 1847 | <touch key="home" /> |
| 1848 | <action function="page">main</action> |
| 1849 | </object> |
| 1850 | |
| 1851 | <object type="action"> |
| 1852 | <touch key="back" /> |
| 1853 | <action function="page">advanced</action> |
| 1854 | </object> |
| 1855 | |
| 1856 | <object type="template" name="footer" /> |
| 1857 | </page> |
| 1858 | |
| 1859 | <page name="partsdcardaction"> |
| 1860 | <object type="template" name="header" /> |
| 1861 | |
| 1862 | <object type="text" color="white"> |
| 1863 | <font resource="font" /> |
| 1864 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1865 | <text>Partitioning SD Card . . .</text> |
| 1866 | </object> |
| 1867 | |
| 1868 | <object type="text" color="white"> |
| 1869 | <font resource="font" /> |
| 1870 | <placement x="%col1_x%" y="150" /> |
| 1871 | <text>This may take a couple minutes.</text> |
| 1872 | </object> |
| 1873 | |
| 1874 | <object type="text" color="white"> |
| 1875 | <font resource="font" /> |
| 1876 | <placement x="%col1_x%" y="180" /> |
| 1877 | <text>The progress bar may not be accurate.</text> |
| 1878 | </object> |
| 1879 | |
| 1880 | <object type="action"> |
| 1881 | <action function="partitionsd"></action> |
| 1882 | </object> |
| 1883 | |
| 1884 | <object type="progressbar"> |
| 1885 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1886 | <resource empty="progress_empty" full="progress_full" /> |
| 1887 | <data name="ui_progress" /> |
| 1888 | </object> |
| 1889 | |
| 1890 | <object type="animation"> |
| 1891 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1892 | <resource name="progress" /> |
| 1893 | <speed fps="15" render="2" /> |
| 1894 | <loop frame="1" /> |
| 1895 | </object> |
| 1896 | |
| 1897 | <object type="action"> |
| 1898 | <condition var1="tw_operation_state" var2="1" /> |
| 1899 | <action function="page">advanced</action> |
| 1900 | </object> |
| 1901 | |
| 1902 | <object type="template" name="footer" /> |
| 1903 | </page> |
| 1904 | |
| 1905 | <page name="fixperms"> |
| 1906 | <object type="template" name="header" /> |
| 1907 | |
| 1908 | <object type="text" color="white"> |
| 1909 | <font resource="font" /> |
| 1910 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1911 | <text>Fixing Permissions . . .</text> |
| 1912 | </object> |
| 1913 | |
| 1914 | <object type="text" color="white"> |
| 1915 | <font resource="font" /> |
| 1916 | <placement x="%col1_x%" y="150" /> |
| 1917 | <text>This may take several minutes.</text> |
| 1918 | </object> |
| 1919 | |
| 1920 | <object type="text" color="white"> |
| 1921 | <font resource="font" /> |
| 1922 | <placement x="%col1_x%" y="180" /> |
| 1923 | <text>The progress bar may not be accurate.</text> |
| 1924 | </object> |
| 1925 | |
| 1926 | <object type="action"> |
| 1927 | <action function="fixpermissions"></action> |
| 1928 | </object> |
| 1929 | |
| 1930 | <object type="progressbar"> |
| 1931 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1932 | <resource empty="progress_empty" full="progress_full" /> |
| 1933 | <data name="ui_progress" /> |
| 1934 | </object> |
| 1935 | |
| 1936 | <object type="animation"> |
| 1937 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1938 | <resource name="progress" /> |
| 1939 | <speed fps="15" render="2" /> |
| 1940 | <loop frame="1" /> |
| 1941 | </object> |
| 1942 | |
| 1943 | <object type="action"> |
| 1944 | <condition var1="tw_operation_state" var2="1" /> |
| 1945 | <action function="page">advanced</action> |
| 1946 | </object> |
| 1947 | |
| 1948 | <object type="template" name="footer" /> |
| 1949 | </page> |
| 1950 | </pages> |
| 1951 | </recovery> |
| 1952 | |