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> |
| 706 | <condition var1="fileexists" var2="/sdcard/.android_secure" /> |
| 707 | <data variable="tw_backup_andsec" /> |
| 708 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 709 | </object> |
| 710 | |
| 711 | <object type="checkbox"> |
| 712 | <placement x="%col1_x%" y="565" /> |
| 713 | <font resource="font" color="white" /> |
| 714 | <text>sd-ext</text> |
| 715 | <condition var1="fileexists" var2="/sd-ext" /> |
| 716 | <data variable="tw_backup_sdext" /> |
| 717 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 718 | </object> |
| 719 | |
| 720 | <object type="checkbox"> |
| 721 | <placement x="%col1_x%" y="625" /> |
| 722 | <font resource="font" color="white" /> |
| 723 | <text>Enable Compression (Requires more time)</text> |
| 724 | <data variable="tw_use_compression" /> |
| 725 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 726 | </object> |
| 727 | |
| 728 | <object type="action"> |
| 729 | <touch key="home" /> |
| 730 | <action function="page">main</action> |
| 731 | </object> |
| 732 | |
| 733 | <object type="action"> |
| 734 | <touch key="back" /> |
| 735 | <action function="page">main</action> |
| 736 | </object> |
| 737 | |
| 738 | <object type="template" name="footer" /> |
| 739 | </page> |
| 740 | |
| 741 | <page name="backup_run"> |
| 742 | <object type="template" name="header" /> |
| 743 | |
| 744 | <object type="text" color="white"> |
| 745 | <font resource="font" /> |
| 746 | <placement x="270" y="440" placement="4" /> |
| 747 | <text>%tw_operation% %tw_partition%</text> |
| 748 | </object> |
| 749 | |
| 750 | <object type="progressbar"> |
| 751 | <placement x="%col_progressbar_x%" y="470" /> |
| 752 | <resource empty="progress_empty" full="progress_full" /> |
| 753 | <data name="ui_progress" /> |
| 754 | </object> |
| 755 | |
| 756 | <object type="animation"> |
| 757 | <placement x="%col_progressbar_x%" y="470" /> |
| 758 | <resource name="progress" /> |
| 759 | <speed fps="15" render="2" /> |
| 760 | <loop frame="1" /> |
| 761 | </object> |
| 762 | |
| 763 | <object type="action"> |
| 764 | <condition var1="tw_operation_state" var2="1" /> |
| 765 | <action function="page">backup_done</action> |
| 766 | </object> |
| 767 | |
| 768 | <object type="action"> |
| 769 | <action function="nandroid">backup</action> |
| 770 | </object> |
| 771 | |
| 772 | <object type="template" name="footer" /> |
| 773 | </page> |
| 774 | |
| 775 | <page name="backup_done"> |
| 776 | <object type="action"> |
| 777 | <condition var1="tw_operation_status" var2="0" /> |
| 778 | <action function="page">backup_success</action> |
| 779 | </object> |
| 780 | |
| 781 | <object type="action"> |
| 782 | <condition var1="tw_operation_status" var2="1" /> |
| 783 | <action function="page">backup_failed</action> |
| 784 | </object> |
| 785 | </page> |
| 786 | |
| 787 | <page name="backup_success"> |
| 788 | <object type="template" name="header" /> |
| 789 | |
| 790 | <object type="text" color="white"> |
| 791 | <font resource="font" /> |
| 792 | <placement x="270" y="445" placement="4" /> |
| 793 | <text>Your backup was successful!</text> |
| 794 | </object> |
| 795 | |
| 796 | <object type="button"> |
| 797 | <placement x="%col_center_x%" y="570" /> |
| 798 | <font resource="font" color="white" /> |
| 799 | <text>Main Menu</text> |
| 800 | <image resource="main_button" /> |
| 801 | <action function="page">main</action> |
| 802 | </object> |
| 803 | |
| 804 | <object type="template" name="footer" /> |
| 805 | </page> |
| 806 | |
| 807 | <page name="backup_failed"> |
| 808 | <object type="template" name="header" /> |
| 809 | |
| 810 | <object type="text" color="white"> |
| 811 | <font resource="font" /> |
| 812 | <placement x="270" y="445" placement="4" /> |
| 813 | <text>Your backup failed.</text> |
| 814 | </object> |
| 815 | |
| 816 | <object type="text" color="white"> |
| 817 | <font resource="font" /> |
| 818 | <placement x="270" y="475" placement="4" /> |
| 819 | <text>Pull up the console for more details</text> |
| 820 | </object> |
| 821 | |
| 822 | <object type="button"> |
| 823 | <placement x="%col_center_x%" y="570" /> |
| 824 | <font resource="font" color="white" /> |
| 825 | <text>Main Menu</text> |
| 826 | <image resource="main_button" /> |
| 827 | <action function="page">main</action> |
| 828 | </object> |
| 829 | |
| 830 | <object type="template" name="footer" /> |
| 831 | </page> |
| 832 | |
| 833 | <page name="restore"> |
| 834 | <object type="template" name="header" /> |
| 835 | |
| 836 | <object type="text" color="white"> |
| 837 | <font resource="font" /> |
| 838 | <placement x="%col1_x%" y="%row1_y%" /> |
| 839 | <text>Select packge to restore</text> |
| 840 | </object> |
| 841 | |
| 842 | <object type="fileselector"> |
| 843 | <placement x="5" y="140" w="530" h="780" /> |
| 844 | <icon folder="folder_icon" file="file_icon" /> |
| 845 | <background color="#303030" /> |
| 846 | <font resource="filelist" spacing="18" color="white" /> |
| 847 | <filter folders="1" files="0" nav="0" /> |
| 848 | <path name="tw_backups_folder" /> |
| 849 | <data name="tw_restore" default="" /> |
| 850 | </object> |
| 851 | |
| 852 | <object type="action"> |
| 853 | <condition var1="tw_restore" op="modified" /> |
| 854 | <action function="page">restore_setrestoredata</action> |
| 855 | </object> |
| 856 | |
| 857 | <object type="action"> |
| 858 | <touch key="home" /> |
| 859 | <action function="page">main</action> |
| 860 | </object> |
| 861 | |
| 862 | <object type="action"> |
| 863 | <touch key="back" /> |
| 864 | <action function="page">main</action> |
| 865 | </object> |
| 866 | |
| 867 | <object type="template" name="footer" /> |
| 868 | </page> |
| 869 | |
| 870 | <page name="restore_setrestoredata"> |
| 871 | <object type="action"> |
| 872 | <action function="readBackup"></action> |
| 873 | </object> |
| 874 | |
| 875 | <object type="action"> |
| 876 | <action function="page">restore_select</action> |
| 877 | </object> |
| 878 | </page> |
| 879 | |
| 880 | <page name="restore_select"> |
| 881 | <object type="template" name="header" /> |
| 882 | |
| 883 | <object type="button"> |
| 884 | <placement x="%col1_x%" y="%row1_y%" /> |
| 885 | <font resource="font" color="black" /> |
| 886 | <text>Restore now</text> |
| 887 | <image resource="main_button" /> |
| 888 | <action function="page">restore_run</action> |
| 889 | </object> |
| 890 | |
| 891 | <object type="checkbox"> |
| 892 | <placement x="%col1_x%" y="285" /> |
| 893 | <font resource="font" color="white" /> |
| 894 | <text>System</text> |
| 895 | <condition var1="tw_restore_system" op=">=" var2="0" /> |
| 896 | <data variable="tw_restore_system" /> |
| 897 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 898 | </object> |
| 899 | |
| 900 | <object type="checkbox"> |
| 901 | <placement x="%col1_x%" y="325" /> |
| 902 | <font resource="font" color="white" /> |
| 903 | <text>Data</text> |
| 904 | <condition var1="tw_restore_data" op=">=" var2="0" /> |
| 905 | <data variable="tw_restore_data" /> |
| 906 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 907 | </object> |
| 908 | |
| 909 | <object type="checkbox"> |
| 910 | <placement x="%col1_x%" y="365" /> |
| 911 | <font resource="font" color="white" /> |
| 912 | <text>Boot</text> |
| 913 | <condition var1="tw_restore_boot" op=">=" var2="0" /> |
| 914 | <data variable="tw_restore_boot" /> |
| 915 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 916 | </object> |
| 917 | |
| 918 | <object type="checkbox"> |
| 919 | <placement x="%col1_x%" y="405" /> |
| 920 | <font resource="font" color="white" /> |
| 921 | <text>Recovery</text> |
| 922 | <condition var1="tw_restore_recovery" op=">=" var2="0" /> |
| 923 | <data variable="tw_restore_recovery" /> |
| 924 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 925 | </object> |
| 926 | |
| 927 | <object type="checkbox"> |
| 928 | <placement x="%col1_x%" y="445" /> |
| 929 | <font resource="font" color="white" /> |
| 930 | <text>Cache</text> |
| 931 | <condition var1="tw_restore_cache" op=">=" var2="0" /> |
| 932 | <data variable="tw_restore_cache" /> |
| 933 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 934 | </object> |
| 935 | |
| 936 | <object type="checkbox"> |
| 937 | <placement x="%col1_x%" y="485" /> |
| 938 | <font resource="font" color="white" /> |
| 939 | <text>%tw_sp1_name%</text> |
| 940 | <condition var1="tw_restore_sp1" op=">=" var2="0" /> |
| 941 | <data variable="tw_restore_sp1" /> |
| 942 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 943 | </object> |
| 944 | |
| 945 | <object type="checkbox"> |
| 946 | <placement x="%col1_x%" y="525" /> |
| 947 | <font resource="font" color="white" /> |
| 948 | <text>.android_secure</text> |
| 949 | <condition var1="tw_restore_andsec" op=">=" var2="0" /> |
| 950 | <data variable="tw_restore_andsec" /> |
| 951 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 952 | </object> |
| 953 | |
| 954 | <object type="checkbox"> |
| 955 | <placement x="%col1_x%" y="565" /> |
| 956 | <font resource="font" color="white" /> |
| 957 | <text>sd-ext</text> |
| 958 | <condition var1="tw_restore_sdext" op=">=" var2="0" /> |
| 959 | <data variable="tw_restore_sdext" /> |
| 960 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 961 | </object> |
| 962 | |
| 963 | <object type="action"> |
| 964 | <touch key="home" /> |
| 965 | <action function="page">main</action> |
| 966 | </object> |
| 967 | |
| 968 | <object type="action"> |
| 969 | <touch key="back" /> |
| 970 | <action function="page">restore</action> |
| 971 | </object> |
| 972 | |
| 973 | <object type="template" name="footer" /> |
| 974 | </page> |
| 975 | |
| 976 | <page name="restore_run"> |
| 977 | <object type="template" name="header" /> |
| 978 | |
| 979 | <object type="text" color="white"> |
| 980 | <font resource="font" /> |
| 981 | <placement x="270" y="440" placement="4" /> |
| 982 | <text>%tw_operation% %tw_partition%</text> |
| 983 | </object> |
| 984 | |
| 985 | <object type="progressbar"> |
| 986 | <placement x="%col_progressbar_x%" y="470" /> |
| 987 | <resource empty="progress_empty" full="progress_full" /> |
| 988 | <data name="ui_progress" /> |
| 989 | </object> |
| 990 | |
| 991 | <object type="animation"> |
| 992 | <placement x="%col_progressbar_x%" y="470" /> |
| 993 | <resource name="progress" /> |
| 994 | <speed fps="15" render="2" /> |
| 995 | <loop frame="1" /> |
| 996 | </object> |
| 997 | |
| 998 | <object type="action"> |
| 999 | <condition var1="tw_operation_state" var2="1" /> |
| 1000 | <action function="page">restore_done</action> |
| 1001 | </object> |
| 1002 | |
| 1003 | <object type="action"> |
| 1004 | <action function="nandroid">restore</action> |
| 1005 | </object> |
| 1006 | |
| 1007 | <object type="template" name="footer" /> |
| 1008 | </page> |
| 1009 | |
| 1010 | <page name="restore_done"> |
| 1011 | <object type="action"> |
| 1012 | <condition var1="tw_operation_status" var2="0" /> |
| 1013 | <action function="page">restore_success</action> |
| 1014 | </object> |
| 1015 | |
| 1016 | <object type="action"> |
| 1017 | <condition var1="tw_operation_status" var2="1" /> |
| 1018 | <action function="page">restore_failed</action> |
| 1019 | </object> |
| 1020 | </page> |
| 1021 | |
| 1022 | <page name="restore_success"> |
| 1023 | <object type="template" name="header" /> |
| 1024 | |
| 1025 | <object type="text" color="white"> |
| 1026 | <font resource="font" /> |
| 1027 | <placement x="270" y="440" placement="4" /> |
| 1028 | <text>Your restore was successful!</text> |
| 1029 | </object> |
| 1030 | |
| 1031 | <object type="button"> |
| 1032 | <placement x="%col_center_x%" y="570" /> |
| 1033 | <font resource="font" color="white" /> |
| 1034 | <text>Main Menu</text> |
| 1035 | <image resource="main_button" /> |
| 1036 | <action function="page">main</action> |
| 1037 | </object> |
| 1038 | |
| 1039 | <object type="template" name="footer" /> |
| 1040 | </page> |
| 1041 | |
| 1042 | <page name="restore_failed"> |
| 1043 | <object type="template" name="header" /> |
| 1044 | |
| 1045 | <object type="text" color="white"> |
| 1046 | <font resource="font" /> |
| 1047 | <placement x="270" y="440" placement="4" /> |
| 1048 | <text>Your restore failed.</text> |
| 1049 | </object> |
| 1050 | |
| 1051 | <object type="text" color="white"> |
| 1052 | <font resource="font" /> |
| 1053 | <placement x="270" y="475" placement="4" /> |
| 1054 | <text>Pull up the console for more details</text> |
| 1055 | </object> |
| 1056 | |
| 1057 | <object type="button"> |
| 1058 | <placement x="%col_center_x%" y="570" /> |
| 1059 | <font resource="font" color="white" /> |
| 1060 | <text>Main Menu</text> |
| 1061 | <image resource="main_button" /> |
| 1062 | <action function="page">main</action> |
| 1063 | </object> |
| 1064 | |
| 1065 | <object type="template" name="footer" /> |
| 1066 | </page> |
| 1067 | |
| 1068 | <page name="mount"> |
| 1069 | <object type="template" name="header" /> |
| 1070 | |
| 1071 | <object type="button"> |
| 1072 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1073 | <font resource="font" color="white" /> |
| 1074 | <condition var1="mounted" op="!=" var2="/system" /> |
| 1075 | <text>Mount System</text> |
| 1076 | <image resource="checkbox_false" /> |
| 1077 | <action function="mount">/system</action> |
| 1078 | </object> |
| 1079 | |
| 1080 | <object type="button"> |
| 1081 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1082 | <font resource="font" color="white" /> |
| 1083 | <condition var1="mounted" op="=" var2="/system" /> |
| 1084 | <text>Unmount System</text> |
| 1085 | <image resource="checkbox_true" /> |
| 1086 | <action function="umount">/system</action> |
| 1087 | </object> |
| 1088 | |
| 1089 | <object type="button"> |
| 1090 | <placement x="%col1_x%" y="160" /> |
| 1091 | <font resource="font" color="white" /> |
| 1092 | <condition var1="mounted" op="!=" var2="/data" /> |
| 1093 | <text>Mount Data</text> |
| 1094 | <image resource="checkbox_false" /> |
| 1095 | <action function="mount">/data</action> |
| 1096 | </object> |
| 1097 | |
| 1098 | <object type="button"> |
| 1099 | <placement x="%col1_x%" y="160" /> |
| 1100 | <font resource="font" color="white" /> |
| 1101 | <condition var1="mounted" op="=" var2="/data" /> |
| 1102 | <text>Unmount Data</text> |
| 1103 | <image resource="checkbox_true" /> |
| 1104 | <action function="umount">/data</action> |
| 1105 | </object> |
| 1106 | |
| 1107 | <object type="button"> |
| 1108 | <placement x="%col1_x%" y="200" /> |
| 1109 | <font resource="font" color="white" /> |
| 1110 | <condition var1="mounted" op="!=" var2="/cache" /> |
| 1111 | <text>Mount Cache</text> |
| 1112 | <image resource="checkbox_false" /> |
| 1113 | <action function="mount">/cache</action> |
| 1114 | </object> |
| 1115 | |
| 1116 | <object type="button"> |
| 1117 | <placement x="%col1_x%" y="200" /> |
| 1118 | <font resource="font" color="white" /> |
| 1119 | <condition var1="mounted" op="=" var2="/cache" /> |
| 1120 | <text>Unmount Cache</text> |
| 1121 | <image resource="checkbox_true" /> |
| 1122 | <action function="umount">/cache</action> |
| 1123 | </object> |
| 1124 | |
| 1125 | <object type="button"> |
| 1126 | <placement x="%col1_x%" y="260" /> |
| 1127 | <font resource="font" color="black" /> |
| 1128 | <text>Mount USB Storage</text> |
| 1129 | <image resource="main_button" /> |
| 1130 | <action function="page">usb_mount</action> |
| 1131 | </object> |
| 1132 | |
| 1133 | <object type="action"> |
| 1134 | <touch key="home" /> |
| 1135 | <action function="page">main</action> |
| 1136 | </object> |
| 1137 | |
| 1138 | <object type="action"> |
| 1139 | <touch key="back" /> |
| 1140 | <action function="page">main</action> |
| 1141 | </object> |
| 1142 | |
| 1143 | <object type="template" name="footer" /> |
| 1144 | </page> |
| 1145 | |
| 1146 | <page name="usb_mount"> |
| 1147 | <object type="template" name="header" /> |
| 1148 | |
| 1149 | <object type="button"> |
| 1150 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1151 | <font resource="font" color="black" /> |
| 1152 | <text>Unmount</text> |
| 1153 | <image resource="main_button" /> |
| 1154 | <action function="page">usb_umount</action> |
| 1155 | </object> |
| 1156 | |
| 1157 | <object type="action"> |
| 1158 | <action function="mount">usb</action> |
| 1159 | </object> |
| 1160 | |
| 1161 | <object type="template" name="footer" /> |
| 1162 | </page> |
| 1163 | |
| 1164 | <page name="usb_umount"> |
| 1165 | <object type="action"> |
| 1166 | <action function="unmount">usb</action> |
| 1167 | </object> |
| 1168 | |
| 1169 | <object type="action"> |
| 1170 | <action function="page">mount</action> |
| 1171 | </object> |
| 1172 | </page> |
| 1173 | |
| 1174 | <page name="reboot"> |
| 1175 | <object type="template" name="header" /> |
| 1176 | |
| 1177 | <object type="button"> |
| 1178 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1179 | <font resource="font" color="black" /> |
| 1180 | <text>System</text> |
| 1181 | <image resource="main_button" /> |
| 1182 | <action function="reboot">system</action> |
| 1183 | </object> |
| 1184 | |
| 1185 | <object type="button"> |
| 1186 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1187 | <font resource="font" color="black" /> |
| 1188 | <text>Power Off</text> |
| 1189 | <image resource="main_button" /> |
| 1190 | <action function="reboot">poweroff</action> |
| 1191 | </object> |
| 1192 | |
| 1193 | <object type="button"> |
| 1194 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1195 | <font resource="font" color="black" /> |
| 1196 | <text>Recovery</text> |
| 1197 | <image resource="main_button" /> |
| 1198 | <action function="reboot">recovery</action> |
| 1199 | </object> |
| 1200 | |
| 1201 | <object type="button"> |
| 1202 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1203 | <font resource="font" color="black" /> |
| 1204 | <text>Bootloader</text> |
| 1205 | <image resource="main_button" /> |
| 1206 | <action function="reboot">bootloader</action> |
| 1207 | </object> |
| 1208 | |
| 1209 | <object type="action"> |
| 1210 | <touch key="home" /> |
| 1211 | <action function="page">main</action> |
| 1212 | </object> |
| 1213 | |
| 1214 | <object type="action"> |
| 1215 | <touch key="back" /> |
| 1216 | <action function="page">main</action> |
| 1217 | </object> |
| 1218 | |
| 1219 | <object type="template" name="footer" /> |
| 1220 | </page> |
| 1221 | |
| 1222 | <page name="settings"> |
| 1223 | <object type="template" name="header" /> |
| 1224 | |
| 1225 | <object type="checkbox"> |
| 1226 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1227 | <font resource="font" color="white" /> |
| 1228 | <text>Zip file signature verification?</text> |
| 1229 | <data variable="tw_signed_zip_verify" /> |
| 1230 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1231 | </object> |
| 1232 | |
| 1233 | <object type="checkbox"> |
| 1234 | <placement x="%col1_x%" y="160" /> |
| 1235 | <font resource="font" color="white" /> |
| 1236 | <text>Reboot after flashing a zip?</text> |
| 1237 | <data variable="tw_reboot_after_flash_option" /> |
| 1238 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1239 | </object> |
| 1240 | |
| 1241 | <object type="checkbox"> |
| 1242 | <placement x="%col1_x%" y="200" /> |
| 1243 | <font resource="font" color="white" /> |
| 1244 | <text>Force MD5 check on all zips?</text> |
| 1245 | <data variable="tw_force_md5_check" /> |
| 1246 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1247 | </object> |
| 1248 | |
| 1249 | <object type="checkbox"> |
| 1250 | <placement x="%col1_x%" y="240" /> |
| 1251 | <font resource="font" color="white" /> |
| 1252 | <text>Use rm -rf instead of formatting?</text> |
| 1253 | <data variable="tw_rm_rf" /> |
| 1254 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1255 | </object> |
| 1256 | |
| 1257 | <object type="button"> |
| 1258 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1259 | <font resource="font" color="black" /> |
| 1260 | <text>Time Zone</text> |
| 1261 | <image resource="main_button" /> |
| 1262 | <action function="page">timezonemain</action> |
| 1263 | </object> |
| 1264 | |
| 1265 | <object type="button"> |
| 1266 | <placement x="%col_center_x%" y="%row4_y%" /> |
| 1267 | <font resource="font" color="black" /> |
| 1268 | <text>Restore Defaults</text> |
| 1269 | <image resource="main_button" /> |
| 1270 | <action function="restoredefaultsettings"></action> |
| 1271 | </object> |
| 1272 | |
| 1273 | <object type="action"> |
| 1274 | <touch key="home" /> |
| 1275 | <action function="page">main</action> |
| 1276 | </object> |
| 1277 | |
| 1278 | <object type="action"> |
| 1279 | <touch key="back" /> |
| 1280 | <action function="page">main</action> |
| 1281 | </object> |
| 1282 | |
| 1283 | <object type="template" name="footer" /> |
| 1284 | </page> |
| 1285 | |
| 1286 | <page name="timezonemain"> |
| 1287 | <object type="template" name="header" /> |
| 1288 | |
| 1289 | <object type="button"> |
| 1290 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1291 | <font resource="font" color="black" /> |
| 1292 | <text>Minus (GMT 0 to -11)</text> |
| 1293 | <image resource="main_button" /> |
| 1294 | <action function="page">timezoneminus</action> |
| 1295 | </object> |
| 1296 | |
| 1297 | <object type="button"> |
| 1298 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1299 | <font resource="font" color="black" /> |
| 1300 | <text>Plus (GMT +1 to +12)</text> |
| 1301 | <image resource="main_button" /> |
| 1302 | <action function="page">timezoneplus</action> |
| 1303 | </object> |
| 1304 | |
| 1305 | <object type="action"> |
| 1306 | <touch key="home" /> |
| 1307 | <action function="page">main</action> |
| 1308 | </object> |
| 1309 | |
| 1310 | <object type="action"> |
| 1311 | <touch key="back" /> |
| 1312 | <action function="page">settings</action> |
| 1313 | </object> |
| 1314 | |
| 1315 | <object type="template" name="footer" /> |
| 1316 | </page> |
| 1317 | |
| 1318 | <page name="timezoneminus"> |
| 1319 | <object type="template" name="header" /> |
| 1320 | |
| 1321 | <object type="text" color="white"> |
| 1322 | <font resource="font" /> |
| 1323 | <placement x="%col1_x%" y="100" /> |
| 1324 | <text>Selected: %tw_time_zone_guisel%</text> |
| 1325 | </object> |
| 1326 | |
| 1327 | <object type="button"> |
| 1328 | <placement x="%col1_medium_x%" y="%row1_medium_y%" /> |
| 1329 | <font resource="font" color="black" /> |
| 1330 | <text>GMT 0 CUT</text> |
| 1331 | <image resource="medium_button" /> |
| 1332 | <action function="set">tw_time_zone_guisel=CUT0;GDT</action> |
| 1333 | </object> |
| 1334 | |
| 1335 | <object type="button"> |
| 1336 | <placement x="%col2_medium_x%" y="%row1_medium_y%" /> |
| 1337 | <font resource="font" color="black" /> |
| 1338 | <text>GMT 0</text> |
| 1339 | <image resource="medium_button" /> |
| 1340 | <action function="set">tw_time_zone_guisel=GMT0;BST</action> |
| 1341 | </object> |
| 1342 | |
| 1343 | <object type="button"> |
| 1344 | <placement x="%col3_medium_x%" y="%row1_medium_y%" /> |
| 1345 | <font resource="font" color="black" /> |
| 1346 | <text>AZOREST -1</text> |
| 1347 | <image resource="medium_button" /> |
| 1348 | <action function="set">tw_time_zone_guisel=AZOREST1;AZOREDT</action> |
| 1349 | </object> |
| 1350 | |
| 1351 | <object type="button"> |
| 1352 | <placement x="%col4_medium_x%" y="%row1_medium_y%" /> |
| 1353 | <font resource="font" color="black" /> |
| 1354 | <text>FALKST -2</text> |
| 1355 | <image resource="medium_button" /> |
| 1356 | <action function="set">tw_time_zone_guisel=FALKST2;FALKDT</action> |
| 1357 | </object> |
| 1358 | |
| 1359 | <object type="button"> |
| 1360 | <placement x="%col1_medium_x%" y="%row2_medium_y%" /> |
| 1361 | <font resource="font" color="black" /> |
| 1362 | <text>GRNLNDST -3</text> |
| 1363 | <image resource="medium_button" /> |
| 1364 | <action function="set">tw_time_zone_guisel=GRNLNDST3;GRNLNDDT</action> |
| 1365 | </object> |
| 1366 | |
| 1367 | <object type="button"> |
| 1368 | <placement x="%col2_medium_x%" y="%row2_medium_y%" /> |
| 1369 | <font resource="font" color="black" /> |
| 1370 | <text>AST -4</text> |
| 1371 | <image resource="medium_button" /> |
| 1372 | <action function="set">tw_time_zone_guisel=AST4;ADT</action> |
| 1373 | </object> |
| 1374 | |
| 1375 | <object type="button"> |
| 1376 | <placement x="%col3_medium_x%" y="%row2_medium_y%" /> |
| 1377 | <font resource="font" color="black" /> |
| 1378 | <text>EST -5</text> |
| 1379 | <image resource="medium_button" /> |
| 1380 | <action function="set">tw_time_zone_guisel=EST5;EDT</action> |
| 1381 | </object> |
| 1382 | |
| 1383 | <object type="button"> |
| 1384 | <placement x="%col4_medium_x%" y="%row2_medium_y%" /> |
| 1385 | <font resource="font" color="black" /> |
| 1386 | <text>CST -6</text> |
| 1387 | <image resource="medium_button" /> |
| 1388 | <action function="set">tw_time_zone_guisel=CST6;CDT</action> |
| 1389 | </object> |
| 1390 | |
| 1391 | <object type="button"> |
| 1392 | <placement x="%col1_medium_x%" y="%row3_medium_y%" /> |
| 1393 | <font resource="font" color="black" /> |
| 1394 | <text>MST -7</text> |
| 1395 | <image resource="medium_button" /> |
| 1396 | <action function="set">tw_time_zone_guisel=MST7;MDT</action> |
| 1397 | </object> |
| 1398 | |
| 1399 | <object type="button"> |
| 1400 | <placement x="%col2_medium_x%" y="%row3_medium_y%" /> |
| 1401 | <font resource="font" color="black" /> |
| 1402 | <text>PST -8</text> |
| 1403 | <image resource="medium_button" /> |
| 1404 | <action function="set">tw_time_zone_guisel=PST8;PDT</action> |
| 1405 | </object> |
| 1406 | |
| 1407 | <object type="button"> |
| 1408 | <placement x="%col3_medium_x%" y="%row3_medium_y%" /> |
| 1409 | <font resource="font" color="black" /> |
| 1410 | <text>AST -9</text> |
| 1411 | <image resource="medium_button" /> |
| 1412 | <action function="set">tw_time_zone_guisel=AST9;ADT</action> |
| 1413 | </object> |
| 1414 | |
| 1415 | <object type="button"> |
| 1416 | <placement x="%col4_medium_x%" y="%row3_medium_y%" /> |
| 1417 | <font resource="font" color="black" /> |
| 1418 | <text>HST -10</text> |
| 1419 | <image resource="medium_button" /> |
| 1420 | <action function="set">tw_time_zone_guisel=HST10;HDT</action> |
| 1421 | </object> |
| 1422 | |
| 1423 | <object type="button"> |
| 1424 | <placement x="%col1_medium_x%" y="%row4_medium_y%" /> |
| 1425 | <font resource="font" color="black" /> |
| 1426 | <text>BST -11</text> |
| 1427 | <image resource="medium_button" /> |
| 1428 | <action function="set">tw_time_zone_guisel=BST11;BDT</action> |
| 1429 | </object> |
| 1430 | |
| 1431 | <object type="checkbox"> |
| 1432 | <placement x="%col1_x%" y="%row5_medium_y%" /> |
| 1433 | <font resource="font" color="white" /> |
| 1434 | <text>Do you use daylight savings time (DST)?</text> |
| 1435 | <data variable="tw_time_zone_guidst" /> |
| 1436 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1437 | </object> |
| 1438 | |
| 1439 | <object type="text" color="white"> |
| 1440 | <font resource="font" /> |
| 1441 | <placement x="%col1_x%" y="580" /> |
| 1442 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 1443 | </object> |
| 1444 | |
| 1445 | <object type="button"> |
| 1446 | <placement x="%col1_medium_x%" y="%row6_medium_y%" /> |
| 1447 | <font resource="font" color="black" /> |
| 1448 | <text>None</text> |
| 1449 | <image resource="medium_button" /> |
| 1450 | <action function="set">tw_time_zone_guioffset=0</action> |
| 1451 | </object> |
| 1452 | |
| 1453 | <object type="button"> |
| 1454 | <placement x="%col2_medium_x%" y="%row6_medium_y%" /> |
| 1455 | <font resource="font" color="black" /> |
| 1456 | <text>15</text> |
| 1457 | <image resource="medium_button" /> |
| 1458 | <action function="set">tw_time_zone_guioffset=15</action> |
| 1459 | </object> |
| 1460 | |
| 1461 | <object type="button"> |
| 1462 | <placement x="%col3_medium_x%" y="%row6_medium_y%" /> |
| 1463 | <font resource="font" color="black" /> |
| 1464 | <text>30</text> |
| 1465 | <image resource="medium_button" /> |
| 1466 | <action function="set">tw_time_zone_guioffset=30</action> |
| 1467 | </object> |
| 1468 | |
| 1469 | <object type="button"> |
| 1470 | <placement x="%col4_medium_x%" y="%row6_medium_y%" /> |
| 1471 | <font resource="font" color="black" /> |
| 1472 | <text>45</text> |
| 1473 | <image resource="medium_button" /> |
| 1474 | <action function="set">tw_time_zone_guioffset=45</action> |
| 1475 | </object> |
| 1476 | |
| 1477 | <object type="button"> |
| 1478 | <placement x="%col_center_x%" y="720" /> |
| 1479 | <font resource="font" color="black" /> |
| 1480 | <text>Set Time Zone</text> |
| 1481 | <image resource="main_button" /> |
| 1482 | <action function="setguitimezone"></action> |
| 1483 | </object> |
| 1484 | |
| 1485 | <object type="text" color="white"> |
| 1486 | <font resource="font" /> |
| 1487 | <placement x="%col1_x%" y="880" /> |
| 1488 | <text>Current Time Zone: %tw_time_zone%</text> |
| 1489 | </object> |
| 1490 | |
| 1491 | <object type="action"> |
| 1492 | <touch key="home" /> |
| 1493 | <action function="page">main</action> |
| 1494 | </object> |
| 1495 | |
| 1496 | <object type="action"> |
| 1497 | <touch key="back" /> |
| 1498 | <action function="page">timezonemain</action> |
| 1499 | </object> |
| 1500 | |
| 1501 | <object type="template" name="footer" /> |
| 1502 | </page> |
| 1503 | |
| 1504 | <page name="timezoneplus"> |
| 1505 | <object type="template" name="header" /> |
| 1506 | |
| 1507 | <object type="text" color="white"> |
| 1508 | <font resource="font" /> |
| 1509 | <placement x="%col1_x%" y="100" /> |
| 1510 | <text>Selected: %tw_time_zone_guisel%</text> |
| 1511 | </object> |
| 1512 | |
| 1513 | <object type="button"> |
| 1514 | <placement x="%col1_medium_x%" y="%row1_medium_y%" /> |
| 1515 | <font resource="font" color="black" /> |
| 1516 | <text>NFT +1</text> |
| 1517 | <image resource="medium_button" /> |
| 1518 | <action function="set">tw_time_zone_guisel=NFT-1;DFT</action> |
| 1519 | </object> |
| 1520 | |
| 1521 | <object type="button"> |
| 1522 | <placement x="%col2_medium_x%" y="%row1_medium_y%" /> |
| 1523 | <font resource="font" color="black" /> |
| 1524 | <text>USAST +2</text> |
| 1525 | <image resource="medium_button" /> |
| 1526 | <action function="set">tw_time_zone_guisel=USAST-2;USADT</action> |
| 1527 | </object> |
| 1528 | |
| 1529 | <object type="button"> |
| 1530 | <placement x="%col3_medium_x%" y="%row1_medium_y%" /> |
| 1531 | <font resource="font" color="black" /> |
| 1532 | <text>WET +2</text> |
| 1533 | <image resource="medium_button" /> |
| 1534 | <action function="set">tw_time_zone_guisel=WET-2;WET</action> |
| 1535 | </object> |
| 1536 | |
| 1537 | <object type="button"> |
| 1538 | <placement x="%col4_medium_x%" y="%row1_medium_y%" /> |
| 1539 | <font resource="font" color="black" /> |
| 1540 | <text>SAUST +3</text> |
| 1541 | <image resource="medium_button" /> |
| 1542 | <action function="set">tw_time_zone_guisel=SAUST-3;SAUDT</action> |
| 1543 | </object> |
| 1544 | |
| 1545 | <object type="button"> |
| 1546 | <placement x="%col1_medium_x%" y="%row2_medium_y%" /> |
| 1547 | <font resource="font" color="black" /> |
| 1548 | <text>MEST +3</text> |
| 1549 | <image resource="medium_button" /> |
| 1550 | <action function="set">tw_time_zone_guisel=MEST-3;MEDT</action> |
| 1551 | </object> |
| 1552 | |
| 1553 | <object type="button"> |
| 1554 | <placement x="%col2_medium_x%" y="%row2_medium_y%" /> |
| 1555 | <font resource="font" color="black" /> |
| 1556 | <text>WST +4</text> |
| 1557 | <image resource="medium_button" /> |
| 1558 | <action function="set">tw_time_zone_guisel=WST-4;WDT</action> |
| 1559 | </object> |
| 1560 | |
| 1561 | <object type="button"> |
| 1562 | <placement x="%col3_medium_x%" y="%row2_medium_y%" /> |
| 1563 | <font resource="font" color="black" /> |
| 1564 | <text>PAKST +5</text> |
| 1565 | <image resource="medium_button" /> |
| 1566 | <action function="set">tw_time_zone_guisel=PAKST-5;PAKDT</action> |
| 1567 | </object> |
| 1568 | |
| 1569 | <object type="button"> |
| 1570 | <placement x="%col4_medium_x%" y="%row2_medium_y%" /> |
| 1571 | <font resource="font" color="black" /> |
| 1572 | <text>TASHST +6</text> |
| 1573 | <image resource="medium_button" /> |
| 1574 | <action function="set">tw_time_zone_guisel=TASHST-6;TASHDT</action> |
| 1575 | </object> |
| 1576 | |
| 1577 | <object type="button"> |
| 1578 | <placement x="%col1_medium_x%" y="%row3_medium_y%" /> |
| 1579 | <font resource="font" color="black" /> |
| 1580 | <text>THAIST +7</text> |
| 1581 | <image resource="medium_button" /> |
| 1582 | <action function="set">tw_time_zone_guisel=THAIST-7;THAIDT</action> |
| 1583 | </object> |
| 1584 | |
| 1585 | <object type="button"> |
| 1586 | <placement x="%col2_medium_x%" y="%row3_medium_y%" /> |
| 1587 | <font resource="font" color="black" /> |
| 1588 | <text>TAIST +8</text> |
| 1589 | <image resource="medium_button" /> |
| 1590 | <action function="set">tw_time_zone_guisel=TAIST-8;TAIDT</action> |
| 1591 | </object> |
| 1592 | |
| 1593 | <object type="button"> |
| 1594 | <placement x="%col3_medium_x%" y="%row3_medium_y%" /> |
| 1595 | <font resource="font" color="black" /> |
| 1596 | <text>WAUST +8</text> |
| 1597 | <image resource="medium_button" /> |
| 1598 | <action function="set">tw_time_zone_guisel=WAUST-8;WAUDT</action> |
| 1599 | </object> |
| 1600 | |
| 1601 | <object type="button"> |
| 1602 | <placement x="%col4_medium_x%" y="%row3_medium_y%" /> |
| 1603 | <font resource="font" color="black" /> |
| 1604 | <text>KORST +9</text> |
| 1605 | <image resource="medium_button" /> |
| 1606 | <action function="set">tw_time_zone_guisel=KORST-9;KORDT</action> |
| 1607 | </object> |
| 1608 | |
| 1609 | <object type="button"> |
| 1610 | <placement x="%col1_medium_x%" y="%row4_medium_y%" /> |
| 1611 | <font resource="font" color="black" /> |
| 1612 | <text>JST +9</text> |
| 1613 | <image resource="medium_button" /> |
| 1614 | <action function="set">tw_time_zone_guisel=JST-9;JSTDT</action> |
| 1615 | </object> |
| 1616 | |
| 1617 | <object type="button"> |
| 1618 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 1619 | <font resource="font" color="black" /> |
| 1620 | <text>EET +10</text> |
| 1621 | <image resource="medium_button" /> |
| 1622 | <action function="set">tw_time_zone_guisel=EET-10;EETDT</action> |
| 1623 | </object> |
| 1624 | |
| 1625 | <object type="button"> |
| 1626 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 1627 | <font resource="font" color="black" /> |
| 1628 | <text>MET +11</text> |
| 1629 | <image resource="medium_button" /> |
| 1630 | <action function="set">tw_time_zone_guisel=MET-11;METDT</action> |
| 1631 | </object> |
| 1632 | |
| 1633 | <object type="button"> |
| 1634 | <placement x="%col4_medium_x%" y="%row4_medium_y%" /> |
| 1635 | <font resource="font" color="black" /> |
| 1636 | <text>NZST +12</text> |
| 1637 | <image resource="medium_button" /> |
| 1638 | <action function="set">tw_time_zone_guisel=NZST-12;NZDT</action> |
| 1639 | </object> |
| 1640 | |
| 1641 | <object type="checkbox"> |
| 1642 | <placement x="%col1_x%" y="%row5_medium_y%" /> |
| 1643 | <font resource="font" color="white" /> |
| 1644 | <text>Do you use daylight savings time (DST)?</text> |
| 1645 | <data variable="tw_time_zone_guidst" /> |
| 1646 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1647 | </object> |
| 1648 | |
| 1649 | <object type="text" color="white"> |
| 1650 | <font resource="font" /> |
| 1651 | <placement x="%col1_x%" y="580" /> |
| 1652 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 1653 | </object> |
| 1654 | |
| 1655 | <object type="button"> |
| 1656 | <placement x="%col1_medium_x%" y="%row6_medium_y%" /> |
| 1657 | <font resource="font" color="black" /> |
| 1658 | <text>None</text> |
| 1659 | <image resource="medium_button" /> |
| 1660 | <action function="set">tw_time_zone_guioffset=0</action> |
| 1661 | </object> |
| 1662 | |
| 1663 | <object type="button"> |
| 1664 | <placement x="%col2_medium_x%" y="%row6_medium_y%" /> |
| 1665 | <font resource="font" color="black" /> |
| 1666 | <text>15</text> |
| 1667 | <image resource="medium_button" /> |
| 1668 | <action function="set">tw_time_zone_guioffset=15</action> |
| 1669 | </object> |
| 1670 | |
| 1671 | <object type="button"> |
| 1672 | <placement x="%col3_medium_x%" y="%row6_medium_y%" /> |
| 1673 | <font resource="font" color="black" /> |
| 1674 | <text>30</text> |
| 1675 | <image resource="medium_button" /> |
| 1676 | <action function="set">tw_time_zone_guioffset=30</action> |
| 1677 | </object> |
| 1678 | |
| 1679 | <object type="button"> |
| 1680 | <placement x="%col4_medium_x%" y="%row6_medium_y%" /> |
| 1681 | <font resource="font" color="black" /> |
| 1682 | <text>45</text> |
| 1683 | <image resource="medium_button" /> |
| 1684 | <action function="set">tw_time_zone_guioffset=45</action> |
| 1685 | </object> |
| 1686 | |
| 1687 | <object type="button"> |
| 1688 | <placement x="%col_center_x%" y="720" /> |
| 1689 | <font resource="font" color="black" /> |
| 1690 | <text>Set Time Zone</text> |
| 1691 | <image resource="main_button" /> |
| 1692 | <action function="setguitimezone"></action> |
| 1693 | </object> |
| 1694 | |
| 1695 | <object type="text" color="white"> |
| 1696 | <font resource="font" /> |
| 1697 | <placement x="%col1_x%" y="880" /> |
| 1698 | <text>Current Time Zone: %tw_time_zone%</text> |
| 1699 | </object> |
| 1700 | |
| 1701 | <object type="action"> |
| 1702 | <touch key="home" /> |
| 1703 | <action function="page">main</action> |
| 1704 | </object> |
| 1705 | |
| 1706 | <object type="action"> |
| 1707 | <touch key="back" /> |
| 1708 | <action function="page">timezonemain</action> |
| 1709 | </object> |
| 1710 | |
| 1711 | <object type="template" name="footer" /> |
| 1712 | </page> |
| 1713 | |
| 1714 | <page name="advanced"> |
| 1715 | <object type="template" name="header" /> |
| 1716 | |
| 1717 | <object type="button"> |
| 1718 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1719 | <font resource="font" color="black" /> |
| 1720 | <text>Copy Log to SD</text> |
| 1721 | <image resource="main_button" /> |
| 1722 | <action function="copylog"></action> |
| 1723 | </object> |
| 1724 | |
| 1725 | <object type="button"> |
| 1726 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1727 | <font resource="font" color="black" /> |
| 1728 | <text>Fix Permissions</text> |
| 1729 | <image resource="main_button" /> |
| 1730 | <action function="page">fixperms</action> |
| 1731 | </object> |
| 1732 | |
| 1733 | <object type="button"> |
| 1734 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1735 | <font resource="font" color="black" /> |
| 1736 | <text>Partition SD Card</text> |
| 1737 | <image resource="main_button" /> |
| 1738 | <action function="page">partsdcard</action> |
| 1739 | </object> |
| 1740 | |
| 1741 | <object type="action"> |
| 1742 | <touch key="home" /> |
| 1743 | <action function="page">main</action> |
| 1744 | </object> |
| 1745 | |
| 1746 | <object type="action"> |
| 1747 | <touch key="back" /> |
| 1748 | <action function="page">main</action> |
| 1749 | </object> |
| 1750 | |
| 1751 | <object type="template" name="footer" /> |
| 1752 | </page> |
| 1753 | |
| 1754 | <page name="partsdcard"> |
| 1755 | <object type="template" name="header" /> |
| 1756 | |
| 1757 | <object type="button"> |
| 1758 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1759 | <font resource="font" color="black" /> |
| 1760 | <text></text> |
| 1761 | <image resource="minus_button" /> |
| 1762 | <action function="addsubtract">tw_sdext_size-128</action> |
| 1763 | </object> |
| 1764 | |
| 1765 | <object type="button"> |
| 1766 | <placement x="250" y="%row1_y%" /> |
| 1767 | <font resource="font" color="black" /> |
| 1768 | <text></text> |
| 1769 | <image resource="plus_button" /> |
| 1770 | <action function="addsubtract">tw_sdext_size+128</action> |
| 1771 | </object> |
| 1772 | |
| 1773 | <object type="text" color="white"> |
| 1774 | <font resource="font" /> |
| 1775 | <placement x="84" y="130" /> |
| 1776 | <text>EXT Size: %tw_sdext_size%</text> |
| 1777 | </object> |
| 1778 | |
| 1779 | <object type="button"> |
| 1780 | <placement x="%col1_x%" y="180" /> |
| 1781 | <font resource="font" color="black" /> |
| 1782 | <text></text> |
| 1783 | <image resource="minus_button" /> |
| 1784 | <action function="addsubtract">tw_swap_size-32</action> |
| 1785 | </object> |
| 1786 | |
| 1787 | <object type="button"> |
| 1788 | <placement x="250" y="180" /> |
| 1789 | <font resource="font" color="black" /> |
| 1790 | <text></text> |
| 1791 | <image resource="plus_button" /> |
| 1792 | <action function="addsubtract">tw_swap_size+32</action> |
| 1793 | </object> |
| 1794 | |
| 1795 | <object type="text" color="white"> |
| 1796 | <font resource="font" /> |
| 1797 | <placement x="84" y="190" /> |
| 1798 | <text>Swap Size: %tw_swap_size%</text> |
| 1799 | </object> |
| 1800 | |
| 1801 | <object type="text" color="white"> |
| 1802 | <font resource="font" /> |
| 1803 | <placement x="%col1_x%" y="240" /> |
| 1804 | <text>File system: %tw_sdpart_file_system%</text> |
| 1805 | </object> |
| 1806 | |
| 1807 | <object type="button"> |
| 1808 | <placement x="%col1_x%" y="280" /> |
| 1809 | <font resource="font" color="black" /> |
| 1810 | <text>EXT3</text> |
| 1811 | <image resource="main_button" /> |
| 1812 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 1813 | </object> |
| 1814 | |
| 1815 | <object type="button"> |
| 1816 | <placement x="%col2_x%" y="280" /> |
| 1817 | <font resource="font" color="black" /> |
| 1818 | <text>EXT4</text> |
| 1819 | <image resource="main_button" /> |
| 1820 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 1821 | </object> |
| 1822 | |
| 1823 | <object type="text" color="white"> |
| 1824 | <font resource="font" /> |
| 1825 | <placement x="%col1_x%" y="460" /> |
| 1826 | <text>You will lose all files on your SD card!</text> |
| 1827 | </object> |
| 1828 | |
| 1829 | <object type="text" color="white"> |
| 1830 | <font resource="font" /> |
| 1831 | <placement x="%col1_x%" y="500" /> |
| 1832 | <text>This action cannot be undone!</text> |
| 1833 | </object> |
| 1834 | |
| 1835 | <object type="button"> |
| 1836 | <placement x="%col_center_x%" y="540" /> |
| 1837 | <font resource="font" color="black" /> |
| 1838 | <text>Partition SD</text> |
| 1839 | <image resource="main_button" /> |
| 1840 | <action function="page">partsdcardaction</action> |
| 1841 | </object> |
| 1842 | |
| 1843 | <object type="action"> |
| 1844 | <touch key="home" /> |
| 1845 | <action function="page">main</action> |
| 1846 | </object> |
| 1847 | |
| 1848 | <object type="action"> |
| 1849 | <touch key="back" /> |
| 1850 | <action function="page">advanced</action> |
| 1851 | </object> |
| 1852 | |
| 1853 | <object type="template" name="footer" /> |
| 1854 | </page> |
| 1855 | |
| 1856 | <page name="partsdcardaction"> |
| 1857 | <object type="template" name="header" /> |
| 1858 | |
| 1859 | <object type="text" color="white"> |
| 1860 | <font resource="font" /> |
| 1861 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1862 | <text>Partitioning SD Card . . .</text> |
| 1863 | </object> |
| 1864 | |
| 1865 | <object type="text" color="white"> |
| 1866 | <font resource="font" /> |
| 1867 | <placement x="%col1_x%" y="150" /> |
| 1868 | <text>This may take a couple minutes.</text> |
| 1869 | </object> |
| 1870 | |
| 1871 | <object type="text" color="white"> |
| 1872 | <font resource="font" /> |
| 1873 | <placement x="%col1_x%" y="180" /> |
| 1874 | <text>The progress bar may not be accurate.</text> |
| 1875 | </object> |
| 1876 | |
| 1877 | <object type="action"> |
| 1878 | <action function="partitionsd"></action> |
| 1879 | </object> |
| 1880 | |
| 1881 | <object type="progressbar"> |
| 1882 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1883 | <resource empty="progress_empty" full="progress_full" /> |
| 1884 | <data name="ui_progress" /> |
| 1885 | </object> |
| 1886 | |
| 1887 | <object type="animation"> |
| 1888 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1889 | <resource name="progress" /> |
| 1890 | <speed fps="15" render="2" /> |
| 1891 | <loop frame="1" /> |
| 1892 | </object> |
| 1893 | |
| 1894 | <object type="action"> |
| 1895 | <condition var1="tw_operation_state" var2="1" /> |
| 1896 | <action function="page">advanced</action> |
| 1897 | </object> |
| 1898 | |
| 1899 | <object type="template" name="footer" /> |
| 1900 | </page> |
| 1901 | |
| 1902 | <page name="fixperms"> |
| 1903 | <object type="template" name="header" /> |
| 1904 | |
| 1905 | <object type="text" color="white"> |
| 1906 | <font resource="font" /> |
| 1907 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1908 | <text>Fixing Permissions . . .</text> |
| 1909 | </object> |
| 1910 | |
| 1911 | <object type="text" color="white"> |
| 1912 | <font resource="font" /> |
| 1913 | <placement x="%col1_x%" y="150" /> |
| 1914 | <text>This may take several minutes.</text> |
| 1915 | </object> |
| 1916 | |
| 1917 | <object type="text" color="white"> |
| 1918 | <font resource="font" /> |
| 1919 | <placement x="%col1_x%" y="180" /> |
| 1920 | <text>The progress bar may not be accurate.</text> |
| 1921 | </object> |
| 1922 | |
| 1923 | <object type="action"> |
| 1924 | <action function="fixpermissions"></action> |
| 1925 | </object> |
| 1926 | |
| 1927 | <object type="progressbar"> |
| 1928 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1929 | <resource empty="progress_empty" full="progress_full" /> |
| 1930 | <data name="ui_progress" /> |
| 1931 | </object> |
| 1932 | |
| 1933 | <object type="animation"> |
| 1934 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 1935 | <resource name="progress" /> |
| 1936 | <speed fps="15" render="2" /> |
| 1937 | <loop frame="1" /> |
| 1938 | </object> |
| 1939 | |
| 1940 | <object type="action"> |
| 1941 | <condition var1="tw_operation_state" var2="1" /> |
| 1942 | <action function="page">advanced</action> |
| 1943 | </object> |
| 1944 | |
| 1945 | <object type="template" name="footer" /> |
| 1946 | </page> |
| 1947 | </pages> |
| 1948 | </recovery> |
| 1949 | |