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="1024" height="768" /> |
| 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="Roboto-Regular-20" /> |
| 14 | <resource name="base" type="image" filename="background.jpg" /> |
| 15 | <resource name="side" type="image" filename="backgroundside.jpg" /> |
| 16 | <resource name="bottom" type="image" filename="backgroundbottom.jpg" /> |
| 17 | <resource name="large_black" type="image" filename="large_black" /> |
| 18 | <resource name="main_button" type="image" filename="button" /> |
| 19 | <resource name="file_icon" type="image" filename="file" /> |
| 20 | <resource name="folder_icon" type="image" filename="folder" /> |
| 21 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 22 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 23 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 24 | <resource name="checkbox_false" type="image" filename="checkbox_empty" /> |
| 25 | <resource name="checkbox_true" type="image" filename="checkbox_checked" /> |
| 26 | <resource name="radio_false" type="image" filename="radio_empty" /> |
| 27 | <resource name="radio_true" type="image" filename="radio_selected" /> |
| 28 | <resource name="medium_button" type="image" filename="medium-button" /> |
| 29 | <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> |
| 30 | <resource name="sort_button" type="image" filename="sort-button" /> |
| 31 | <resource name="minus_button" type="image" filename="minus-button" /> |
| 32 | <resource name="plus_button" type="image" filename="plus-button" /> |
| 33 | <resource name="home_icon" type="image" filename="home-icon" /> |
| 34 | <resource name="back_icon" type="image" filename="back-icon" /> |
| 35 | <resource name="console_button" type="image" filename="console-toggle" /> |
| 36 | <resource name="slider" type="image" filename="slider" /> |
| 37 | <resource name="slider-used" type="image" filename="slider-used" /> |
| 38 | <resource name="slider-touch" type="image" filename="slider-touch" /> |
| 39 | <resource name="unlock-icon" type="image" filename="unlock" /> |
| 40 | <resource name="keyboard1" type="image" filename="keyboard1" /> |
| 41 | <resource name="keyboard2" type="image" filename="keyboard2" /> |
| 42 | <resource name="keyboard3" type="image" filename="keyboard3" /> |
| 43 | <resource name="keyboard4" type="image" filename="keyboard4" /> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 44 | <resource name="exclamation" type="image" filename="exclamation200" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 45 | </resources> |
| 46 | |
| 47 | <variables> |
| 48 | <variable name="col1_x" value="23" /> |
| 49 | <variable name="col2_x" value="269" /> |
| 50 | <variable name="col3_x" value="515" /> |
| 51 | <variable name="col4_x" value="761" /> |
| 52 | <variable name="row1_y" value="127" /> |
| 53 | <variable name="row2_y" value="388" /> |
| 54 | <variable name="col_center_x" value="392" /> |
| 55 | <variable name="center_x" value="512" /> |
| 56 | <variable name="screen_width" value="1024" /> |
| 57 | <variable name="screen_height" value="768" /> |
| 58 | <variable name="col_progressbar_x" value="386" /> |
| 59 | <variable name="row_progressbar_y" value="700" /> |
| 60 | <variable name="col1_medium_x" value="257" /> |
| 61 | <variable name="col2_medium_x" value="387" /> |
| 62 | <variable name="col3_medium_x" value="517" /> |
| 63 | <variable name="col4_medium_x" value="647" /> |
| 64 | <variable name="row1_medium_y" value="105" /> |
| 65 | <variable name="row2_medium_y" value="175" /> |
| 66 | <variable name="row3_medium_y" value="245" /> |
| 67 | <variable name="row4_medium_y" value="315" /> |
| 68 | <variable name="row5_medium_y" value="405" /> |
| 69 | <variable name="row1_text_y" value="58" /> |
| 70 | <variable name="row2_text_y" value="105" /> |
| 71 | <variable name="row3_text_y" value="140" /> |
| 72 | <variable name="row4_text_y" value="170" /> |
| 73 | <variable name="row5_text_y" value="200" /> |
| 74 | <variable name="row6_text_y" value="230" /> |
| 75 | <variable name="row7_text_y" value="260" /> |
| 76 | <variable name="row8_text_y" value="290" /> |
| 77 | <variable name="row9_text_y" value="320" /> |
| 78 | <variable name="row10_text_y" value="350" /> |
| 79 | <variable name="row11_text_y" value="380" /> |
| 80 | <variable name="row12_text_y" value="410" /> |
| 81 | <variable name="row13_text_y" value="440" /> |
| 82 | <variable name="row14_text_y" value="470" /> |
| 83 | <variable name="row15_text_y" value="500" /> |
| 84 | <variable name="row16_text_y" value="530" /> |
| 85 | <variable name="row17_text_y" value="560" /> |
| 86 | <variable name="row18_text_y" value="590" /> |
| 87 | <variable name="row_offsetmedium_y" value="465" /> |
| 88 | <variable name="home_button_x" value="813" /> |
| 89 | <variable name="home_button_y" value="5" /> |
| 90 | <variable name="back_button_x" value="883" /> |
| 91 | <variable name="back_button_y" value="5" /> |
| 92 | <variable name="console_button_x" value="953" /> |
| 93 | <variable name="console_button_y" value="5" /> |
| 94 | <variable name="nandcheck_col1" value="150" /> |
| 95 | <variable name="nandcheck_col2" value="450" /> |
| 96 | <variable name="nandcheck_row1" value="150" /> |
| 97 | <variable name="nandcheck_row2" value="200" /> |
| 98 | <variable name="nandcheck_row3" value="250" /> |
| 99 | <variable name="nandcheck_row4" value="300" /> |
| 100 | <variable name="nandcheck_row5" value="350" /> |
| 101 | <variable name="nandcheck_row6" value="400" /> |
| 102 | <variable name="nandcheck_row7" value="450" /> |
| 103 | <variable name="button_text_color" value="#AAAAAA" /> |
| 104 | <variable name="text_color" value="#A0A0A0" /> |
| 105 | <variable name="text_success_color" value="#33B5E5" /> |
| 106 | <variable name="text_fail_color" value="#FF0101" /> |
| 107 | <variable name="slider_x" value="307" /> |
| 108 | <variable name="slider_y" value="600" /> |
| 109 | <variable name="slider_text_y" value="650" /> |
| 110 | <variable name="sort_text_x" value="270" /> |
| 111 | <variable name="sort_asc_text_y" value="655" /> |
| 112 | <variable name="sort_asc_button_y" value="650" /> |
| 113 | <variable name="sort_desc_text_y" value="700" /> |
| 114 | <variable name="sort_desc_button_y" value="695" /> |
| 115 | <variable name="sort_col1_button_x" value="440" /> |
| 116 | <variable name="sort_col2_button_x" value="510" /> |
| 117 | <variable name="sort_col3_button_x" value="580" /> |
| 118 | <variable name="col1_sdext_x" value="370" /> |
| 119 | <variable name="col2_sdext_x" value="600" /> |
| 120 | <variable name="row1_sdext_y" value="115" /> |
| 121 | <variable name="row2_sdext_y" value="180" /> |
| 122 | <variable name="row_extsize_y" value="115" /> |
| 123 | <variable name="row_swapsize_y" value="180" /> |
| 124 | <variable name="input_x" value="28" /> |
| 125 | <variable name="input_width" value="944" /> |
| 126 | <variable name="input_height" value="30" /> |
| 127 | <variable name="input_background_color" value="#303030" /> |
| 128 | <variable name="input_cursor_color" value="#33B5E5" /> |
| 129 | <variable name="input_cursor_width" value="3" /> |
| 130 | <variable name="console_x" value="25" /> |
| 131 | <variable name="console_width" value="974" /> |
| 132 | <variable name="console_foreground" value="#A0A0A0" /> |
| 133 | <variable name="console_background" value="#303030" /> |
| 134 | <variable name="console_scroll" value="#303030" /> |
| 135 | <variable name="console_action_height" value="320" /> |
| 136 | <variable name="console_install_height" value="440" /> |
| 137 | <variable name="console_installdone_height" value="300" /> |
| 138 | <variable name="fileselector_folder_x" value="28" /> |
| 139 | <variable name="fileselector_folder_width" value="282" /> |
| 140 | <variable name="fileselector_folderonly_width" value="460" /> |
| 141 | <variable name="fileselector_file_x" value="317" /> |
| 142 | <variable name="fileselector_file_width" value="682" /> |
| 143 | <variable name="fileselector_install_y" value="120" /> |
| 144 | <variable name="fileselector_install_height" value="510" /> |
| 145 | <variable name="fileselector_header_background" value="#202020" /> |
| 146 | <variable name="fileselector_header_textcolor" value="#AAAAAA" /> |
| 147 | <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> |
| 148 | <variable name="fileselector_header_separatorheight" value="3" /> |
| 149 | <variable name="fileselector_separatorcolor" value="#505050" /> |
| 150 | <variable name="fileselector_separatorheight" value="2" /> |
| 151 | <variable name="fileselector_background" value="#303030" /> |
| 152 | <variable name="fileselector_spacing" value="18" /> |
| 153 | <variable name="zipstorage_text_y" value="88" /> |
| 154 | <variable name="listbox_x" value="269" /> |
| 155 | <variable name="listbox_y" value="90" /> |
| 156 | <variable name="listbox_width" value="460" /> |
| 157 | <variable name="listbox_tz_height" value="290" /> |
| 158 | <variable name="listbox_background" value="#303030" /> |
| 159 | <variable name="listbox_spacing" value="18" /> |
| 160 | <variable name="sd_plus_x" value="280" /> |
| 161 | <variable name="lock_x" value="312" /> |
| 162 | <variable name="lock_y" value="184" /> |
| 163 | <variable name="filemanager_select_x" value="761" /> |
| 164 | <variable name="filemanager_select_y" value="620" /> |
| 165 | <variable name="backup_name_text_y" value="440" /> |
| 166 | <variable name="backup_name_button_y" value="240" /> |
| 167 | <variable name="col_right_x" value="996" /> |
| 168 | <variable name="cancel_button_y" value="240" /> |
| 169 | <variable name="terminal_console_y" value="0" /> |
| 170 | <variable name="terminal_console_height" value="362" /> |
| 171 | <variable name="terminal_text_y" value="368" /> |
| 172 | <variable name="terminal_button_y" value="358" /> |
| 173 | <variable name="terminal_input_width" value="775" /> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 174 | <variable name="exclamation_x" value="412" /> |
| 175 | <variable name="exclamation_y" value="200" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 176 | </variables> |
| 177 | |
| 178 | <templates> |
| 179 | <template name="header"> |
| 180 | <background color="#000000FF" /> |
| 181 | |
| 182 | <object type="image"> |
| 183 | <image resource="side" /> |
| 184 | <placement x="0" y="0" /> |
| 185 | </object> |
| 186 | |
| 187 | <object type="image"> |
| 188 | <image resource="side" /> |
| 189 | <placement x="994" y="0" /> |
| 190 | </object> |
| 191 | |
| 192 | <object type="image"> |
| 193 | <image resource="base" /> |
| 194 | <placement x="0" y="0" /> |
| 195 | </object> |
| 196 | |
| 197 | <object type="image"> |
| 198 | <image resource="bottom" /> |
| 199 | <placement x="1" y="738" /> |
| 200 | </object> |
| 201 | |
| 202 | <object type="image"> |
| 203 | <image resource="large_black" /> |
| 204 | <placement x="0" y="0" /> |
| 205 | </object> |
| 206 | |
| 207 | <object type="text" color="%text_color%"> |
| 208 | <font resource="font" /> |
| 209 | <placement x="250" y="5" /> |
| 210 | <text>Team Win Recovery Project (twrp) v%tw_version%</text> |
| 211 | </object> |
| 212 | |
| 213 | <object type="text" color="%text_color%"> |
| 214 | <font resource="font" /> |
| 215 | <placement x="250" y="30" /> |
| 216 | <conditions> |
| 217 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 218 | <condition var1="tw_battery" op=">" var2="0" /> |
| 219 | <condition var1="tw_battery" op="<" var2="101" /> |
| 220 | </conditions> |
| 221 | <text>Battery Level: %tw_battery%</text> |
| 222 | </object> |
| 223 | |
| 224 | <object type="text" color="%text_color%"> |
| 225 | <font resource="font" /> |
| 226 | <placement x="450" y="30" /> |
| 227 | <text>%tw_time%</text> |
| 228 | </object> |
| 229 | |
| 230 | <object type="text" color="%text_color%"> |
| 231 | <condition var1="tw_simulate_actions" var2="1" /> |
| 232 | <font resource="font" /> |
| 233 | <placement x="550" y="30" /> |
| 234 | <text>SIMULATING ACTIONS</text> |
| 235 | </object> |
| 236 | |
| 237 | <object type="button"> |
| 238 | <placement x="%home_button_x%" y="%home_button_y%" /> |
| 239 | <font resource="font" color="%button_text_color%" /> |
| 240 | <text></text> |
| 241 | <image resource="home_icon" /> |
| 242 | <condition var1="tw_busy" var2="0" /> |
| 243 | <action function="key">home</action> |
| 244 | </object> |
| 245 | |
| 246 | <object type="button"> |
| 247 | <placement x="%back_button_x%" y="%back_button_y%" /> |
| 248 | <font resource="font" color="%button_text_color%" /> |
| 249 | <text></text> |
| 250 | <image resource="back_icon" /> |
| 251 | <condition var1="tw_busy" var2="0" /> |
| 252 | <action function="key">back</action> |
| 253 | </object> |
| 254 | |
| 255 | <object type="action"> |
| 256 | <touch key="power" /> |
| 257 | <action function="overlay">lock</action> |
| 258 | </object> |
| 259 | </template> |
| 260 | |
| 261 | <template name="progress_bar"> |
| 262 | <object type="progressbar"> |
| 263 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 264 | <resource empty="progress_empty" full="progress_full" /> |
| 265 | <data name="ui_progress" /> |
| 266 | </object> |
| 267 | |
| 268 | <object type="animation"> |
| 269 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 270 | <resource name="progress" /> |
| 271 | <speed fps="15" render="2" /> |
| 272 | <loop frame="1" /> |
| 273 | </object> |
| 274 | </template> |
| 275 | |
| 276 | <template name="sort_options"> |
| 277 | <object type="text" color="%text_color%"> |
| 278 | <font resource="font" /> |
| 279 | <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> |
| 280 | <text>Sort Ascending:</text> |
| 281 | </object> |
| 282 | |
| 283 | <object type="button"> |
| 284 | <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> |
| 285 | <font resource="font" color="%button_text_color%" /> |
| 286 | <text>Name</text> |
| 287 | <image resource="sort_button" /> |
| 288 | <action function="set">tw_gui_sort_order=1</action> |
| 289 | </object> |
| 290 | |
| 291 | <object type="button"> |
| 292 | <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> |
| 293 | <font resource="font" color="%button_text_color%" /> |
| 294 | <text>Date</text> |
| 295 | <image resource="sort_button" /> |
| 296 | <action function="set">tw_gui_sort_order=2</action> |
| 297 | </object> |
| 298 | |
| 299 | <object type="button"> |
| 300 | <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> |
| 301 | <font resource="font" color="%button_text_color%" /> |
| 302 | <text>Size</text> |
| 303 | <image resource="sort_button" /> |
| 304 | <action function="set">tw_gui_sort_order=3</action> |
| 305 | </object> |
| 306 | |
| 307 | <object type="text" color="%text_color%"> |
| 308 | <font resource="font" /> |
| 309 | <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> |
| 310 | <text>Sort Descending:</text> |
| 311 | </object> |
| 312 | |
| 313 | <object type="button"> |
| 314 | <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> |
| 315 | <font resource="font" color="%button_text_color%" /> |
| 316 | <text>Name</text> |
| 317 | <image resource="sort_button" /> |
| 318 | <action function="set">tw_gui_sort_order=-1</action> |
| 319 | </object> |
| 320 | |
| 321 | <object type="button"> |
| 322 | <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> |
| 323 | <font resource="font" color="%button_text_color%" /> |
| 324 | <text>Date</text> |
| 325 | <image resource="sort_button" /> |
| 326 | <action function="set">tw_gui_sort_order=-2</action> |
| 327 | </object> |
| 328 | |
| 329 | <object type="button"> |
| 330 | <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> |
| 331 | <font resource="font" color="%button_text_color%" /> |
| 332 | <text>Size</text> |
| 333 | <image resource="sort_button" /> |
| 334 | <action function="set">tw_gui_sort_order=-3</action> |
| 335 | </object> |
| 336 | </template> |
| 337 | |
| 338 | <template name="flash_zip_console"> |
| 339 | <object type="console"> |
| 340 | <placement x="%console_x%" y="85" w="%console_width%" h="430" /> |
| 341 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 342 | <font resource="fixed" /> |
| 343 | </object> |
| 344 | </template> |
| 345 | |
| 346 | <template name="action_page_console"> |
| 347 | <object type="console"> |
| 348 | <placement x="%console_x%" y="200" w="%console_width%" h="380" /> |
| 349 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 350 | <font resource="fixed" /> |
| 351 | </object> |
| 352 | </template> |
| 353 | |
| 354 | <template name="footer"> |
| 355 | <object type="console"> |
| 356 | <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> |
| 357 | <placement x="%console_x%" y="75" w="%console_width%" h="665" /> |
| 358 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 359 | <font resource="fixed" /> |
| 360 | </object> |
| 361 | </template> |
| 362 | |
| 363 | <template name="keyboardtemplate"> |
| 364 | <object type="keyboard"> |
| 365 | <placement x="0" y="408" /> |
| 366 | <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> |
| 367 | <layout1> |
| 368 | <keysize height="90" width="85" /> |
| 369 | <row1 key01="80:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="94:c:8" /> |
| 370 | <row2 key01="115:layout3" key02="83:a" key03="83:s" key04="83:d" key05="83:f" key06="83:g" key07="83:h" key08="83:j" key09="83:k" key10="83:l" key11="162:action" /> |
| 371 | <row3 key01="140:layout2" key02="82:z" key03="82:x" key04="82:c" key05="82:v" key06="82:b" key07="82:n" key08="82:m" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout2" /> |
| 372 | <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" /> |
| 373 | </layout1> |
| 374 | <layout2> |
| 375 | <keysize height="90" width="85" /> |
| 376 | <row1 key01="80:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="94:c:8" /> |
| 377 | <row2 key01="115:layout3" key02="83:A" key03="83:S" key04="83:D" key05="83:F" key06="83:G" key07="83:H" key08="83:J" key09="83:K" key10="83:L" key11="162:action" /> |
| 378 | <row3 key01="140:layout1" key02="82:Z" key03="82:X" key04="82:C" key05="82:V" key06="82:B" key07="82:N" key08="82:M" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout1" /> |
| 379 | <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" /> |
| 380 | </layout2> |
| 381 | <layout3> |
| 382 | <keysize height="90" width="85" /> |
| 383 | <row1 key01="80:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="94:c:8" /> |
| 384 | <row2 key01="115:layout1" key02="83:#" key03="83:$" key04="83:%" key05="83:&" key06="83:*" key07="83:-" key08="83:+" key09="83:(" key10="83:)" key11="162:action" /> |
| 385 | <row3 key01="140:layout4" key02="82:<" key03="82:>" key04="82:=" key05="82:'" key06="82:;" key07="82:," key08="82:." key09="82:!" key10="82:?" key11="144:layout4" /> |
| 386 | <row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" /> |
| 387 | </layout3> |
| 388 | <layout4> |
| 389 | <keysize height="90" width="85" /> |
| 390 | <row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" /> |
| 391 | <row2 key01="115:layout1" key02="83:" key03="83:" key04="83:" key05="83:" key06="83:^" key07="83:" key08="83:" key09="83:{" key10="83:}" key11="162:action" /> |
| 392 | <row3 key01="140:layout3" key02="82:\" key03="82:" key04="82:" key05="82:" key06="82:" key07="82:[" key08="82:]" key09="82:!" key10="82:?" key11="144:layout3" /> |
| 393 | <row4 key01="320:" key02="385: " /> |
| 394 | </layout4> |
| 395 | </object> |
| 396 | </template> |
| 397 | </templates> |
| 398 | |
| 399 | <pages> |
| 400 | <page name="main"> |
| 401 | <object type="action"> |
| 402 | <actions> |
| 403 | <action function="set">tw_clear_destination=main2</action> |
| 404 | <action function="page">clear_vars</action> |
| 405 | </actions> |
| 406 | </object> |
| 407 | </page> |
| 408 | |
| 409 | <page name="main2"> |
| 410 | <object type="template" name="header" /> |
| 411 | |
| 412 | <object type="button"> |
| 413 | <placement x="%col1_x%" y="%row1_y%" /> |
| 414 | <font resource="font" color="%button_text_color%" /> |
| 415 | <text>Install</text> |
| 416 | <image resource="main_button" /> |
| 417 | <actions> |
| 418 | <action function="queueclear"></action> |
| 419 | <action function="page">install</action> |
| 420 | </actions> |
| 421 | </object> |
| 422 | |
| 423 | <object type="button"> |
| 424 | <placement x="%col2_x%" y="%row1_y%" /> |
| 425 | <font resource="font" color="%button_text_color%" /> |
| 426 | <text>Backup</text> |
| 427 | <image resource="main_button" /> |
| 428 | <action function="page">backup</action> |
| 429 | </object> |
| 430 | |
| 431 | <object type="button"> |
| 432 | <placement x="%col3_x%" y="%row1_y%" /> |
| 433 | <font resource="font" color="%button_text_color%" /> |
| 434 | <text>Restore</text> |
| 435 | <image resource="main_button" /> |
| 436 | <action function="page">restore</action> |
| 437 | </object> |
| 438 | |
| 439 | <object type="button"> |
| 440 | <placement x="%col4_x%" y="%row1_y%" /> |
| 441 | <font resource="font" color="%button_text_color%" /> |
| 442 | <text>Wipe</text> |
| 443 | <image resource="main_button" /> |
| 444 | <action function="page">wipe</action> |
| 445 | </object> |
| 446 | |
| 447 | <object type="button"> |
| 448 | <placement x="%col1_x%" y="%row2_y%" /> |
| 449 | <font resource="font" color="%button_text_color%" /> |
| 450 | <text>Mount</text> |
| 451 | <image resource="main_button" /> |
| 452 | <action function="page">mount</action> |
| 453 | </object> |
| 454 | |
| 455 | <object type="button"> |
| 456 | <placement x="%col2_x%" y="%row2_y%" /> |
| 457 | <font resource="font" color="%button_text_color%" /> |
| 458 | <text>Settings</text> |
| 459 | <image resource="main_button" /> |
| 460 | <action function="page">settings</action> |
| 461 | </object> |
| 462 | |
| 463 | <object type="button"> |
| 464 | <placement x="%col3_x%" y="%row2_y%" /> |
| 465 | <font resource="font" color="%button_text_color%" /> |
| 466 | <text>Advanced</text> |
| 467 | <image resource="main_button" /> |
| 468 | <action function="page">advanced</action> |
| 469 | </object> |
| 470 | |
| 471 | <object type="button"> |
| 472 | <placement x="%col4_x%" y="%row2_y%" /> |
| 473 | <font resource="font" color="%button_text_color%" /> |
| 474 | <text>Reboot</text> |
| 475 | <image resource="main_button" /> |
| 476 | <action function="page">reboot</action> |
| 477 | </object> |
| 478 | |
| 479 | <object type="template" name="footer" /> |
| 480 | </page> |
| 481 | |
| 482 | <page name="install"> |
| 483 | <object type="template" name="header" /> |
| 484 | |
| 485 | <object type="text" color="%text_color%"> |
| 486 | <font resource="font" /> |
| 487 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 488 | <text>Select Zip to Install</text> |
| 489 | </object> |
| 490 | |
| 491 | <object type="button"> |
| 492 | <placement x="%col2_x%" y="%zipstorage_text_y%" /> |
| 493 | <font resource="font" color="%text_color%" /> |
| 494 | <conditions> |
| 495 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 496 | <condition var1="tw_use_external_storage" var2="1" /> |
| 497 | </conditions> |
| 498 | <text>Using external SD</text> |
| 499 | <image resource="radio_true" /> |
| 500 | <action function="togglestorage">external</action> |
| 501 | </object> |
| 502 | |
| 503 | <object type="button"> |
| 504 | <placement x="%col2_x%" y="%zipstorage_text_y%" /> |
| 505 | <font resource="font" color="%text_color%" /> |
| 506 | <conditions> |
| 507 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 508 | <condition var1="tw_use_external_storage" var2="0" /> |
| 509 | </conditions> |
| 510 | <text>Using external SD</text> |
| 511 | <image resource="radio_false" /> |
| 512 | <action function="togglestorage">external</action> |
| 513 | </object> |
| 514 | |
| 515 | <object type="button"> |
| 516 | <placement x="%col3_x%" y="%zipstorage_text_y%" /> |
| 517 | <font resource="font" color="%text_color%" /> |
| 518 | <conditions> |
| 519 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 520 | <condition var1="tw_use_external_storage" var2="1" /> |
| 521 | </conditions> |
| 522 | <text>Using internal storage</text> |
| 523 | <image resource="radio_false" /> |
| 524 | <action function="togglestorage">internal</action> |
| 525 | </object> |
| 526 | |
| 527 | <object type="button"> |
| 528 | <placement x="%col3_x%" y="%zipstorage_text_y%" /> |
| 529 | <font resource="font" color="%text_color%" /> |
| 530 | <conditions> |
| 531 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 532 | <condition var1="tw_use_external_storage" var2="0" /> |
| 533 | </conditions> |
| 534 | <text>Using internal storage</text> |
| 535 | <image resource="radio_true" /> |
| 536 | <action function="togglestorage">internal</action> |
| 537 | </object> |
| 538 | |
| 539 | <object type="fileselector"> |
| 540 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 541 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 542 | <text>Folders:</text> |
| 543 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 544 | <sort name="tw_gui_sort_order" /> |
| 545 | <icon folder="folder_icon" file="file_icon" /> |
| 546 | <background color="%fileselector_background%" /> |
| 547 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 548 | <filter folders="1" files="0" /> |
| 549 | <path name="tw_zip_location" default="/sdcard" /> |
| 550 | <data name="select" /> |
| 551 | </object> |
| 552 | |
| 553 | <object type="fileselector"> |
| 554 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 555 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 556 | <text>%tw_zip_location%</text> |
| 557 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 558 | <sort name="tw_gui_sort_order" /> |
| 559 | <icon folder="folder_icon" file="file_icon" /> |
| 560 | <background color="%fileselector_background%" /> |
| 561 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 562 | <filter extn=".zip" folders="0" files="1" /> |
| 563 | <path name="tw_zip_location" /> |
| 564 | <data name="tw_filename" /> |
| 565 | <selection name="tw_file" /> |
| 566 | </object> |
| 567 | |
| 568 | <object type="template" name="sort_options" /> |
| 569 | |
| 570 | <object type="action"> |
| 571 | <condition var1="tw_filename" op="modified" /> |
| 572 | <actions> |
| 573 | <action function="queuezip"></action> |
| 574 | <action function="page">flash_confirm</action> |
| 575 | </actions> |
| 576 | </object> |
| 577 | |
| 578 | <object type="action"> |
| 579 | <touch key="back" /> |
| 580 | <action function="page">main</action> |
| 581 | </object> |
| 582 | |
| 583 | <object type="action"> |
| 584 | <touch key="home" /> |
| 585 | <action function="page">main</action> |
| 586 | </object> |
| 587 | |
| 588 | <object type="template" name="footer" /> |
| 589 | </page> |
| 590 | |
| 591 | <page name="flash_confirm"> |
| 592 | <object type="template" name="header" /> |
| 593 | |
| 594 | <object type="text" color="%text_color%"> |
| 595 | <font resource="font" /> |
| 596 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 597 | <text>WARNING: This operation may install incompatible software and render your device unusable.</text> |
| 598 | </object> |
| 599 | |
| 600 | <object type="text" color="%text_color%"> |
| 601 | <font resource="font" /> |
| 602 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 603 | <text>Folder:</text> |
| 604 | </object> |
| 605 | |
| 606 | <object type="text" color="%text_color%"> |
| 607 | <font resource="font" /> |
| 608 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 609 | <text>%tw_zip_location%</text> |
| 610 | </object> |
| 611 | |
| 612 | <object type="text" color="%text_color%"> |
| 613 | <font resource="font" /> |
| 614 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 615 | <text>File to flash:</text> |
| 616 | </object> |
| 617 | |
| 618 | <object type="text" color="%text_color%"> |
| 619 | <font resource="font" /> |
| 620 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 621 | <text>%tw_file%</text> |
| 622 | </object> |
| 623 | |
| 624 | <object type="text" color="%text_color%"> |
| 625 | <font resource="font" /> |
| 626 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 627 | <text>Press back to cancel adding this zip.</text> |
| 628 | </object> |
| 629 | |
| 630 | <object type="checkbox"> |
| 631 | <placement x="%col2_x%" y="%row7_text_y%" /> |
| 632 | <font resource="font" color="%text_color%" /> |
| 633 | <text>Zip file signature verification?</text> |
| 634 | <data variable="tw_signed_zip_verify" /> |
| 635 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 636 | </object> |
| 637 | |
| 638 | <object type="checkbox"> |
| 639 | <placement x="%col2_x%" y="%row8_text_y%" /> |
| 640 | <font resource="font" color="%text_color%" /> |
| 641 | <text>Force MD5 check on all zips?</text> |
| 642 | <data variable="tw_force_md5_check" /> |
| 643 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 644 | </object> |
| 645 | |
| 646 | <object type="text" color="%text_color%"> |
| 647 | <font resource="font" /> |
| 648 | <placement x="%center_x%" y="%row10_text_y%" placement="5" /> |
| 649 | <text>File %tw_zip_queue_count% of max of 10</text> |
| 650 | </object> |
| 651 | |
| 652 | <object type="button"> |
| 653 | <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> |
| 654 | <placement x="%col2_x%" y="%row5_medium_y%" /> |
| 655 | <font resource="font" color="%button_text_color%" /> |
| 656 | <text>Add More Zips</text> |
| 657 | <image resource="mediumwide_button" /> |
| 658 | <action function="page">install</action> |
| 659 | </object> |
| 660 | |
| 661 | <object type="button"> |
| 662 | <placement x="%col3_x%" y="%row5_medium_y%" /> |
| 663 | <font resource="font" color="%button_text_color%" /> |
| 664 | <text>Clear Queue</text> |
| 665 | <image resource="mediumwide_button" /> |
| 666 | <actions> |
| 667 | <action function="queueclear"></action> |
| 668 | <action function="page">install</action> |
| 669 | </actions> |
| 670 | </object> |
| 671 | |
| 672 | <object type="slider"> |
| 673 | <placement x="%slider_x%" y="%slider_y%" /> |
| 674 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 675 | <action function="flash">flash_zip</action> |
| 676 | </object> |
| 677 | |
| 678 | <object type="text" color="%text_color%"> |
| 679 | <font resource="font" /> |
| 680 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 681 | <text>Swipe to Confirm Flash</text> |
| 682 | </object> |
| 683 | |
| 684 | <object type="action"> |
| 685 | <touch key="back" /> |
| 686 | <actions> |
| 687 | <action function="cancelzip"></action> |
| 688 | <action function="page">install</action> |
| 689 | </actions> |
| 690 | </object> |
| 691 | |
| 692 | <object type="action"> |
| 693 | <touch key="home" /> |
| 694 | <action function="page">main</action> |
| 695 | </object> |
| 696 | |
| 697 | <object type="template" name="footer" /> |
| 698 | </page> |
| 699 | |
| 700 | <page name="flash_zip"> |
| 701 | <object type="template" name="header" /> |
| 702 | |
| 703 | <object type="template" name="flash_zip_console" /> |
| 704 | |
| 705 | <object type="text" color="%text_color%"> |
| 706 | <font resource="font" /> |
| 707 | <placement x="%col1_x%" y="%row16_text_y%" /> |
| 708 | <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> |
| 709 | </object> |
| 710 | |
| 711 | <object type="text" color="%text_color%"> |
| 712 | <font resource="font" /> |
| 713 | <placement x="%col1_x%" y="%row17_text_y%" /> |
| 714 | <text>%tw_filename%</text> |
| 715 | </object> |
| 716 | |
| 717 | <object type="template" name="progress_bar" /> |
| 718 | |
| 719 | <object type="action"> |
| 720 | <condition var1="tw_operation_state" var2="1" /> |
| 721 | <action function="page">flash_done</action> |
| 722 | </object> |
| 723 | </page> |
| 724 | |
| 725 | <page name="flash_done"> |
| 726 | <object type="template" name="header" /> |
| 727 | |
| 728 | <object type="template" name="flash_zip_console" /> |
| 729 | |
| 730 | <object type="text" color="%text_fail_color%"> |
| 731 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 732 | <font resource="font" /> |
| 733 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 734 | <text>Failed</text> |
| 735 | </object> |
| 736 | |
| 737 | <object type="text" color="%text_success_color%"> |
| 738 | <condition var1="tw_operation_status" var2="0" /> |
| 739 | <font resource="font" /> |
| 740 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 741 | <text>Successful</text> |
| 742 | </object> |
| 743 | |
| 744 | <object type="button"> |
| 745 | <placement x="%col1_x%" y="%slider_y%" /> |
| 746 | <font resource="font" color="%button_text_color%" /> |
| 747 | <text>Wipe Cache/Dalvik</text> |
| 748 | <image resource="main_button" /> |
| 749 | <actions> |
| 750 | <action function="set">tw_back=flash_done</action> |
| 751 | <action function="set">tw_action=wipe</action> |
| 752 | <action function="set">tw_action_param=/cache</action> |
| 753 | <action function="set">tw_has_action2=1</action> |
| 754 | <action function="set">tw_action2=wipe</action> |
| 755 | <action function="set">tw_action2_param=dalvik</action> |
| 756 | <action function="set">tw_text1=Wipe Cache & Dalvik?</action> |
| 757 | <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> |
| 758 | <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> |
| 759 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 760 | <action function="page">confirm_action</action> |
| 761 | </actions> |
| 762 | </object> |
| 763 | |
| 764 | <object type="button"> |
| 765 | <condition var1="tw_reboot_system" var2="1" /> |
| 766 | <placement x="%col4_x%" y="%slider_y%" /> |
| 767 | <font resource="font" color="%button_text_color%" /> |
| 768 | <text>Reboot System</text> |
| 769 | <image resource="main_button" /> |
| 770 | <actions> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 771 | <action function="set">tw_back=main2</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 772 | <action function="set">tw_action=reboot</action> |
| 773 | <action function="set">tw_action_param=system</action> |
| 774 | <action function="set">tw_has_action2=0</action> |
| 775 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 776 | <action function="set">tw_text2=sure you wish to reboot?</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 777 | <action function="set">tw_text3=</action> |
| 778 | <action function="set">tw_text4=</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 779 | <action function="set">tw_action_text1=Rebooting...</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 780 | <action function="set">tw_action_text2=</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 781 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 782 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 783 | <action function="page">rebootcheck</action> |
| 784 | </actions> |
| 785 | </object> |
| 786 | |
| 787 | <object type="button"> |
| 788 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 789 | <font resource="font" color="%button_text_color%" /> |
| 790 | <text>Home</text> |
| 791 | <image resource="main_button" /> |
| 792 | <actions> |
| 793 | <action function="set">tw_clear_destination=main2</action> |
| 794 | <action function="page">clear_vars</action> |
| 795 | </actions> |
| 796 | </object> |
| 797 | |
| 798 | <object type="action"> |
| 799 | <touch key="back" /> |
| 800 | <actions> |
| 801 | <action function="set">tw_clear_destination=install</action> |
| 802 | <action function="page">clear_vars</action> |
| 803 | </actions> |
| 804 | </object> |
| 805 | |
| 806 | <object type="action"> |
| 807 | <touch key="home" /> |
| 808 | <actions> |
| 809 | <action function="set">tw_clear_destination=main2</action> |
| 810 | <action function="page">clear_vars</action> |
| 811 | </actions> |
| 812 | </object> |
| 813 | </page> |
| 814 | |
| 815 | <page name="clear_vars"> |
| 816 | <object type="action"> |
| 817 | <action function="set">tw_operation_state=0</action> |
| 818 | <action function="set">tw_text1=</action> |
| 819 | <action function="set">tw_text2=</action> |
| 820 | <action function="set">tw_text3=</action> |
| 821 | <action function="set">tw_text4=</action> |
| 822 | <action function="set">tw_action_text1=</action> |
| 823 | <action function="set">tw_action_text2=</action> |
| 824 | <action function="set">tw_action_param=</action> |
| 825 | <action function="set">tw_has_action2=0</action> |
| 826 | <action function="set">tw_action2=</action> |
| 827 | <action function="set">tw_action2_param=</action> |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 828 | <action function="set">tw_has_cancel=0</action> |
| 829 | <action function="set">tw_cancel_action=</action> |
| 830 | <action function="set">tw_cancel_param=</action> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 831 | <action function="set">tw_show_exclamation=0</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 832 | <action function="set">tw_show_reboot=0</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 833 | <action function="page">%tw_clear_destination%</action> |
| 834 | </object> |
| 835 | </page> |
| 836 | |
| 837 | <page name="confirm_action"> |
| 838 | <object type="template" name="header" /> |
| 839 | |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 840 | <object type="button"> |
| 841 | <condition var1="tw_show_exclamation" var2="1" /> |
| 842 | <placement x="%exclamation_x%" y="%exclamation_y%" /> |
| 843 | <font resource="font" color="%button_text_color%" /> |
| 844 | <text></text> |
| 845 | <image resource="exclamation" /> |
| 846 | </object> |
| 847 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 848 | <object type="text" color="%text_color%"> |
| 849 | <font resource="font" /> |
| 850 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 851 | <text>%tw_text1%</text> |
| 852 | </object> |
| 853 | |
| 854 | <object type="text" color="%text_color%"> |
| 855 | <font resource="font" /> |
| 856 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 857 | <text>%tw_text2%</text> |
| 858 | </object> |
| 859 | |
| 860 | <object type="text" color="%text_color%"> |
| 861 | <font resource="font" /> |
| 862 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 863 | <text>%tw_text3%</text> |
| 864 | </object> |
| 865 | |
| 866 | <object type="text" color="%text_color%"> |
| 867 | <font resource="font" /> |
| 868 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 869 | <text>%tw_text4%</text> |
| 870 | </object> |
| 871 | |
| 872 | <object type="text" color="%text_color%"> |
| 873 | <font resource="font" /> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 874 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 875 | <text>Press back button to cancel.</text> |
| 876 | </object> |
| 877 | |
| 878 | <object type="slider"> |
| 879 | <placement x="%slider_x%" y="%slider_y%" /> |
| 880 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 881 | <action function="page">action_page</action> |
| 882 | </object> |
| 883 | |
| 884 | <object type="text" color="%text_color%"> |
| 885 | <font resource="font" /> |
| 886 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 887 | <text>%tw_slider_text%</text> |
| 888 | </object> |
| 889 | |
| 890 | <object type="action"> |
| 891 | <touch key="back" /> |
| 892 | <actions> |
| 893 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 894 | <action function="page">clear_vars</action> |
| 895 | </actions> |
| 896 | </object> |
| 897 | |
| 898 | <object type="action"> |
| 899 | <touch key="home" /> |
| 900 | <action function="page">main</action> |
| 901 | </object> |
| 902 | |
| 903 | <object type="template" name="footer" /> |
| 904 | </page> |
| 905 | |
| 906 | <page name="action_page"> |
| 907 | <object type="template" name="header" /> |
| 908 | |
| 909 | <object type="text" color="%text_color%"> |
| 910 | <font resource="font" /> |
| 911 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 912 | <text>%tw_action_text1%</text> |
| 913 | </object> |
| 914 | |
| 915 | <object type="text" color="%text_color%"> |
| 916 | <font resource="font" /> |
| 917 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 918 | <text>%tw_action_text2%</text> |
| 919 | </object> |
| 920 | |
| 921 | <object type="template" name="action_page_console" /> |
| 922 | |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 923 | <object type="button"> |
| 924 | <condition var1="tw_has_cancel" var2="1" /> |
| 925 | <placement x="%col4_x%" y="%slider_y%" /> |
| 926 | <font resource="font" color="%button_text_color%" /> |
| 927 | <text>Cancel</text> |
| 928 | <image resource="main_button" /> |
| 929 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 930 | </object> |
| 931 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 932 | <object type="template" name="progress_bar" /> |
| 933 | |
| 934 | <object type="action"> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 935 | <condition var1="tw_operation_state" var2="1" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 936 | <actions> |
| 937 | <action function="page">action_complete</action> |
| 938 | </actions> |
| 939 | </object> |
| 940 | |
| 941 | <object type="action"> |
| 942 | <condition var1="tw_has_action2" var2="0" /> |
| 943 | <actions> |
| 944 | <action function="%tw_action%">%tw_action_param%</action> |
| 945 | </actions> |
| 946 | </object> |
| 947 | |
| 948 | <object type="action"> |
| 949 | <condition var1="tw_has_action2" var2="1" /> |
| 950 | <actions> |
| 951 | <action function="%tw_action%">%tw_action_param%</action> |
| 952 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 953 | </actions> |
| 954 | </object> |
| 955 | </page> |
| 956 | |
| 957 | <page name="action_complete"> |
| 958 | <object type="template" name="header" /> |
| 959 | |
| 960 | <object type="text" color="%text_color%"> |
| 961 | <font resource="font" /> |
| 962 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 963 | <text>%tw_complete_text1%</text> |
| 964 | </object> |
| 965 | |
| 966 | <object type="text" color="%text_fail_color%"> |
| 967 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 968 | <font resource="font" /> |
| 969 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 970 | <text>Failed</text> |
| 971 | </object> |
| 972 | |
| 973 | <object type="text" color="%text_success_color%"> |
| 974 | <condition var1="tw_operation_status" var2="0" /> |
| 975 | <font resource="font" /> |
| 976 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 977 | <text>Successful</text> |
| 978 | </object> |
| 979 | |
| 980 | <object type="template" name="action_page_console" /> |
| 981 | |
| 982 | <object type="button"> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 983 | <condition var1="tw_show_reboot" var2="0" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 984 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 985 | <font resource="font" color="%button_text_color%" /> |
| 986 | <text>Back</text> |
| 987 | <image resource="main_button" /> |
| 988 | <actions> |
| 989 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 990 | <action function="page">clear_vars</action> |
| 991 | </actions> |
| 992 | </object> |
| 993 | |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 994 | <object type="button"> |
| 995 | <condition var1="tw_show_reboot" var2="1" /> |
| 996 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 997 | <font resource="font" color="%button_text_color%" /> |
| 998 | <text>Reboot System</text> |
| 999 | <image resource="main_button" /> |
| 1000 | <actions> |
| 1001 | <action function="set">tw_back=main2</action> |
| 1002 | <action function="set">tw_action=reboot</action> |
| 1003 | <action function="set">tw_action_param=system</action> |
| 1004 | <action function="set">tw_has_action2=0</action> |
| 1005 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1006 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1007 | <action function="set">tw_text3=</action> |
| 1008 | <action function="set">tw_text4=</action> |
| 1009 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1010 | <action function="set">tw_action_text2=</action> |
| 1011 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1012 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1013 | <action function="page">rebootcheck</action> |
| 1014 | </actions> |
| 1015 | </object> |
| 1016 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1017 | <object type="action"> |
| 1018 | <touch key="home" /> |
| 1019 | <actions> |
| 1020 | <action function="set">tw_clear_destination=main2</action> |
| 1021 | <action function="page">clear_vars</action> |
| 1022 | </actions> |
| 1023 | </object> |
| 1024 | |
| 1025 | <object type="action"> |
| 1026 | <touch key="back" /> |
| 1027 | <actions> |
| 1028 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1029 | <action function="page">clear_vars</action> |
| 1030 | </actions> |
| 1031 | </object> |
| 1032 | </page> |
| 1033 | |
| 1034 | <page name="filecheck"> |
| 1035 | <object type="action"> |
| 1036 | <action function="fileexists">%tw_filecheck%</action> |
| 1037 | </object> |
| 1038 | |
| 1039 | <object type="action"> |
| 1040 | <conditions> |
| 1041 | <condition var1="tw_operation_state" var2="1" /> |
| 1042 | <condition var1="tw_operation_status" var2="0" /> |
| 1043 | </conditions> |
| 1044 | <actions> |
| 1045 | <action function="set">tw_fileexists=1</action> |
| 1046 | <action function="page">%tw_existpage%</action> |
| 1047 | </actions> |
| 1048 | </object> |
| 1049 | |
| 1050 | <object type="action"> |
| 1051 | <conditions> |
| 1052 | <condition var1="tw_operation_state" var2="1" /> |
| 1053 | <condition var1="tw_operation_status" var2="1" /> |
| 1054 | </conditions> |
| 1055 | <actions> |
| 1056 | <action function="set">tw_fileexists=0</action> |
| 1057 | <action function="page">%tw_notexistpage%</action> |
| 1058 | </actions> |
| 1059 | </object> |
| 1060 | </page> |
| 1061 | |
| 1062 | <page name="rebootcheck"> |
| 1063 | <object type="action"> |
| 1064 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> |
| 1065 | <action function="reboot">%tw_action_param%</action> |
| 1066 | </object> |
| 1067 | |
| 1068 | <object type="action"> |
| 1069 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> |
| 1070 | <action function="page">confirm_action</action> |
| 1071 | </object> |
| 1072 | </page> |
| 1073 | |
| 1074 | <page name="reboot"> |
| 1075 | <object type="template" name="header" /> |
| 1076 | |
| 1077 | <object type="text" color="%text_color%"> |
| 1078 | <font resource="font" /> |
| 1079 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1080 | <text>Reboot Menu</text> |
| 1081 | </object> |
| 1082 | |
| 1083 | <object type="button"> |
| 1084 | <condition var1="tw_reboot_system" var2="1" /> |
| 1085 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1086 | <font resource="font" color="%button_text_color%" /> |
| 1087 | <text>System</text> |
| 1088 | <image resource="main_button" /> |
| 1089 | <actions> |
| 1090 | <action function="set">tw_back=reboot</action> |
| 1091 | <action function="set">tw_action=reboot</action> |
| 1092 | <action function="set">tw_action_param=system</action> |
| 1093 | <action function="set">tw_has_action2=0</action> |
| 1094 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1095 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1096 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1097 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1098 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1099 | <action function="page">rebootcheck</action> |
| 1100 | </actions> |
| 1101 | </object> |
| 1102 | |
| 1103 | <object type="button"> |
| 1104 | <condition var1="tw_reboot_poweroff" var2="1" /> |
| 1105 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1106 | <font resource="font" color="%button_text_color%" /> |
| 1107 | <text>Power Off</text> |
| 1108 | <image resource="main_button" /> |
| 1109 | <actions> |
| 1110 | <action function="set">tw_back=reboot</action> |
| 1111 | <action function="set">tw_action=reboot</action> |
| 1112 | <action function="set">tw_action_param=poweroff</action> |
| 1113 | <action function="set">tw_has_action2=0</action> |
| 1114 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1115 | <action function="set">tw_text2=sure you wish to power off?</action> |
| 1116 | <action function="set">tw_action_text1=Turning Off...</action> |
| 1117 | <action function="set">tw_complete_text1=Turning Off...</action> |
| 1118 | <action function="set">tw_slider_text=Swipe to Power Off</action> |
| 1119 | <action function="page">rebootcheck</action> |
| 1120 | </actions> |
| 1121 | </object> |
| 1122 | |
| 1123 | <object type="button"> |
| 1124 | <condition var1="tw_reboot_recovery" var2="1" /> |
| 1125 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1126 | <font resource="font" color="%button_text_color%" /> |
| 1127 | <text>Recovery</text> |
| 1128 | <image resource="main_button" /> |
| 1129 | <actions> |
| 1130 | <action function="set">tw_back=reboot</action> |
| 1131 | <action function="set">tw_action=reboot</action> |
| 1132 | <action function="set">tw_action_param=recovery</action> |
| 1133 | <action function="set">tw_has_action2=0</action> |
| 1134 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1135 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1136 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1137 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1138 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1139 | <action function="page">rebootcheck</action> |
| 1140 | </actions> |
| 1141 | </object> |
| 1142 | |
| 1143 | <object type="button"> |
| 1144 | <condition var1="tw_reboot_bootloader" var2="1" /> |
| 1145 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1146 | <font resource="font" color="%button_text_color%" /> |
| 1147 | <text>Bootloader</text> |
| 1148 | <image resource="main_button" /> |
| 1149 | <actions> |
| 1150 | <action function="set">tw_back=reboot</action> |
| 1151 | <action function="set">tw_action=reboot</action> |
| 1152 | <action function="set">tw_action_param=bootloader</action> |
| 1153 | <action function="set">tw_has_action2=0</action> |
| 1154 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1155 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1156 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1157 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1158 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1159 | <action function="page">rebootcheck</action> |
| 1160 | </actions> |
| 1161 | </object> |
| 1162 | |
| 1163 | <object type="button"> |
| 1164 | <condition var1="tw_download_mode" var2="1" /> |
| 1165 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1166 | <font resource="font" color="%button_text_color%" /> |
| 1167 | <text>Download</text> |
| 1168 | <image resource="main_button" /> |
| 1169 | <actions> |
| 1170 | <action function="set">tw_back=reboot</action> |
| 1171 | <action function="set">tw_action=reboot</action> |
| 1172 | <action function="set">tw_action_param=download</action> |
| 1173 | <action function="set">tw_has_action2=0</action> |
| 1174 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1175 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1176 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1177 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1178 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1179 | <action function="page">rebootcheck</action> |
| 1180 | </actions> |
| 1181 | </object> |
| 1182 | |
| 1183 | <object type="action"> |
| 1184 | <touch key="home" /> |
| 1185 | <action function="page">main</action> |
| 1186 | </object> |
| 1187 | |
| 1188 | <object type="action"> |
| 1189 | <touch key="back" /> |
| 1190 | <action function="page">main</action> |
| 1191 | </object> |
| 1192 | |
| 1193 | <object type="template" name="footer" /> |
| 1194 | </page> |
| 1195 | |
| 1196 | <page name="mount"> |
| 1197 | <object type="template" name="header" /> |
| 1198 | |
| 1199 | <object type="text" color="%text_color%"> |
| 1200 | <font resource="font" /> |
| 1201 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1202 | <text>Mount Menu</text> |
| 1203 | </object> |
| 1204 | |
| 1205 | <object type="button"> |
| 1206 | <condition var1="tw_has_usb_storage" var2="1" /> |
| 1207 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1208 | <font resource="font" color="%button_text_color%" /> |
| 1209 | <text>Mount USB Storage</text> |
| 1210 | <image resource="main_button" /> |
| 1211 | <action function="page">usb_mount</action> |
| 1212 | </object> |
| 1213 | |
| 1214 | <object type="button"> |
| 1215 | <placement x="%col1_x%" y="%row7_text_y%" /> |
| 1216 | <font resource="font" color="%text_color%" /> |
| 1217 | <condition var1="mounted" op="!=" var2="/system" /> |
| 1218 | <text>Mount System</text> |
| 1219 | <image resource="checkbox_false" /> |
| 1220 | <action function="mount">/system</action> |
| 1221 | </object> |
| 1222 | |
| 1223 | <object type="button"> |
| 1224 | <placement x="%col1_x%" y="%row7_text_y%" /> |
| 1225 | <font resource="font" color="%text_color%" /> |
| 1226 | <condition var1="mounted" op="=" var2="/system" /> |
| 1227 | <text>Unmount System</text> |
| 1228 | <image resource="checkbox_true" /> |
| 1229 | <action function="umount">/system</action> |
| 1230 | </object> |
| 1231 | |
| 1232 | <object type="button"> |
| 1233 | <placement x="%col1_x%" y="%row8_text_y%" /> |
| 1234 | <font resource="font" color="%text_color%" /> |
| 1235 | <condition var1="mounted" op="!=" var2="/data" /> |
| 1236 | <text>Mount Data</text> |
| 1237 | <image resource="checkbox_false" /> |
| 1238 | <action function="mount">/data</action> |
| 1239 | </object> |
| 1240 | |
| 1241 | <object type="button"> |
| 1242 | <placement x="%col1_x%" y="%row8_text_y%" /> |
| 1243 | <font resource="font" color="%text_color%" /> |
| 1244 | <condition var1="mounted" op="=" var2="/data" /> |
| 1245 | <text>Unmount Data</text> |
| 1246 | <image resource="checkbox_true" /> |
| 1247 | <action function="umount">/data</action> |
| 1248 | </object> |
| 1249 | |
| 1250 | <object type="button"> |
| 1251 | <placement x="%col1_x%" y="%row9_text_y%" /> |
| 1252 | <font resource="font" color="%text_color%" /> |
| 1253 | <condition var1="mounted" op="!=" var2="/cache" /> |
| 1254 | <text>Mount Cache</text> |
| 1255 | <image resource="checkbox_false" /> |
| 1256 | <action function="mount">/cache</action> |
| 1257 | </object> |
| 1258 | |
| 1259 | <object type="button"> |
| 1260 | <placement x="%col1_x%" y="%row9_text_y%" /> |
| 1261 | <font resource="font" color="%text_color%" /> |
| 1262 | <condition var1="mounted" op="=" var2="/cache" /> |
| 1263 | <text>Unmount Cache</text> |
| 1264 | <image resource="checkbox_true" /> |
| 1265 | <action function="umount">/cache</action> |
| 1266 | </object> |
| 1267 | |
| 1268 | <object type="button"> |
| 1269 | <placement x="%col1_x%" y="%row10_text_y%" /> |
| 1270 | <font resource="font" color="%text_color%" /> |
| 1271 | <conditions> |
| 1272 | <condition var1="tw_has_external" var2="1" /> |
| 1273 | <condition var1="mounted" op="!=" var2="EXTERNAL" /> |
| 1274 | </conditions> |
| 1275 | <text>Mount SDCard</text> |
| 1276 | <image resource="checkbox_false" /> |
| 1277 | <action function="mount">EXTERNAL</action> |
| 1278 | </object> |
| 1279 | |
| 1280 | <object type="button"> |
| 1281 | <placement x="%col1_x%" y="%row10_text_y%" /> |
| 1282 | <font resource="font" color="%text_color%" /> |
| 1283 | <conditions> |
| 1284 | <condition var1="tw_has_external" var2="1" /> |
| 1285 | <condition var1="mounted" op="=" var2="EXTERNAL" /> |
| 1286 | </conditions> |
| 1287 | <text>Unmount SDCard</text> |
| 1288 | <image resource="checkbox_true" /> |
| 1289 | <action function="umount">EXTERNAL</action> |
| 1290 | </object> |
| 1291 | |
| 1292 | <object type="button"> |
| 1293 | <placement x="%col2_x%" y="%row10_text_y%" /> |
| 1294 | <font resource="font" color="%text_color%" /> |
| 1295 | <conditions> |
| 1296 | <condition var1="tw_has_internal" var2="1" /> |
| 1297 | <condition var1="tw_has_data_media" var2="0" /> |
| 1298 | <condition var1="mounted" op="!=" var2="INTERNAL" /> |
| 1299 | </conditions> |
| 1300 | <text>Mount Internal Storage</text> |
| 1301 | <image resource="checkbox_false" /> |
| 1302 | <action function="mount">INTERNAL</action> |
| 1303 | </object> |
| 1304 | |
| 1305 | <object type="button"> |
| 1306 | <placement x="%col2_x%" y="%row10_text_y%" /> |
| 1307 | <font resource="font" color="%text_color%" /> |
| 1308 | <conditions> |
| 1309 | <condition var1="tw_has_internal" var2="1" /> |
| 1310 | <condition var1="tw_has_data_media" var2="0" /> |
| 1311 | <condition var1="mounted" op="=" var2="INTERNAL" /> |
| 1312 | </conditions> |
| 1313 | <text>Unmount Internal Storage</text> |
| 1314 | <image resource="checkbox_true" /> |
| 1315 | <action function="umount">INTERNAL</action> |
| 1316 | </object> |
| 1317 | |
| 1318 | <object type="button"> |
| 1319 | <conditions> |
| 1320 | <condition var1="tw_has_sdext_partition" var2="1" /> |
| 1321 | <condition var1="mounted" op="!=" var2="/sd-ext" /> |
| 1322 | </conditions> |
| 1323 | <placement x="%col1_x%" y="%row11_text_y%" /> |
| 1324 | <font resource="font" color="%text_color%" /> |
| 1325 | <text>Mount SD-Ext</text> |
| 1326 | <image resource="checkbox_false" /> |
| 1327 | <action function="mount">/sd-ext</action> |
| 1328 | </object> |
| 1329 | |
| 1330 | <object type="button"> |
| 1331 | <placement x="%col1_x%" y="%row11_text_y%" /> |
| 1332 | <font resource="font" color="%text_color%" /> |
| 1333 | <condition var1="mounted" op="=" var2="/sd-ext" /> |
| 1334 | <text>Unmount SD-Ext</text> |
| 1335 | <image resource="checkbox_true" /> |
| 1336 | <action function="umount">/sd-ext</action> |
| 1337 | </object> |
| 1338 | |
| 1339 | <object type="button"> |
| 1340 | <conditions> |
| 1341 | <condition var1="tw_boot_is_mountable" var2="1" /> |
| 1342 | <condition var1="mounted" op="!=" var2="/boot" /> |
| 1343 | </conditions> |
| 1344 | <placement x="%col1_x%" y="%row12_text_y%" /> |
| 1345 | <font resource="font" color="%text_color%" /> |
| 1346 | <text>Mount Boot</text> |
| 1347 | <image resource="checkbox_false" /> |
| 1348 | <action function="mount">/boot</action> |
| 1349 | </object> |
| 1350 | |
| 1351 | <object type="button"> |
| 1352 | <conditions> |
| 1353 | <condition var1="tw_boot_is_mountable" var2="1" /> |
| 1354 | <condition var1="mounted" op="=" var2="/boot" /> |
| 1355 | </conditions> |
| 1356 | <placement x="%col1_x%" y="%row12_text_y%" /> |
| 1357 | <font resource="font" color="%text_color%" /> |
| 1358 | <text>Unmount Boot</text> |
| 1359 | <image resource="checkbox_true" /> |
| 1360 | <action function="umount">/boot</action> |
| 1361 | </object> |
| 1362 | |
| 1363 | <object type="button"> |
| 1364 | <placement x="%col1_x%" y="%row13_text_y%" /> |
| 1365 | <font resource="font" color="%text_color%" /> |
| 1366 | <conditions> |
| 1367 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1368 | <condition var1="tw_use_external_storage" var2="1" /> |
| 1369 | </conditions> |
| 1370 | <text>Using external SD</text> |
| 1371 | <image resource="radio_true" /> |
| 1372 | <action function="togglestorage">external</action> |
| 1373 | </object> |
| 1374 | |
| 1375 | <object type="button"> |
| 1376 | <placement x="%col1_x%" y="%row13_text_y%" /> |
| 1377 | <font resource="font" color="%text_color%" /> |
| 1378 | <conditions> |
| 1379 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1380 | <condition var1="tw_use_external_storage" var2="0" /> |
| 1381 | </conditions> |
| 1382 | <text>Using external SD</text> |
| 1383 | <image resource="radio_false" /> |
| 1384 | <action function="togglestorage">external</action> |
| 1385 | </object> |
| 1386 | |
| 1387 | <object type="button"> |
| 1388 | <placement x="%col2_x%" y="%row13_text_y%" /> |
| 1389 | <font resource="font" color="%text_color%" /> |
| 1390 | <conditions> |
| 1391 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1392 | <condition var1="tw_use_external_storage" var2="1" /> |
| 1393 | </conditions> |
| 1394 | <text>Using internal storage</text> |
| 1395 | <image resource="radio_false" /> |
| 1396 | <action function="togglestorage">internal</action> |
| 1397 | </object> |
| 1398 | |
| 1399 | <object type="button"> |
| 1400 | <placement x="%col2_x%" y="%row13_text_y%" /> |
| 1401 | <font resource="font" color="%text_color%" /> |
| 1402 | <conditions> |
| 1403 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1404 | <condition var1="tw_use_external_storage" var2="0" /> |
| 1405 | </conditions> |
| 1406 | <text>Using internal storage</text> |
| 1407 | <image resource="radio_true" /> |
| 1408 | <action function="togglestorage">internal</action> |
| 1409 | </object> |
| 1410 | |
| 1411 | <object type="action"> |
| 1412 | <touch key="home" /> |
| 1413 | <action function="page">main</action> |
| 1414 | </object> |
| 1415 | |
| 1416 | <object type="action"> |
| 1417 | <touch key="back" /> |
| 1418 | <action function="page">main</action> |
| 1419 | </object> |
| 1420 | |
| 1421 | <object type="template" name="footer" /> |
| 1422 | </page> |
| 1423 | |
| 1424 | <page name="usb_mount"> |
| 1425 | <object type="template" name="header" /> |
| 1426 | |
| 1427 | <object type="text" color="%text_color%"> |
| 1428 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1429 | <font resource="font" /> |
| 1430 | <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> |
| 1431 | </object> |
| 1432 | |
| 1433 | <object type="text" color="%text_color%"> |
| 1434 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 1435 | <font resource="font" /> |
| 1436 | <text></text> |
| 1437 | </object> |
| 1438 | |
| 1439 | <object type="button"> |
| 1440 | <placement x="%col_center_x%" y="%row1_y%" /> |
| 1441 | <font resource="font" color="%button_text_color%" /> |
| 1442 | <text>Unmount</text> |
| 1443 | <image resource="main_button" /> |
| 1444 | <action function="page">usb_umount</action> |
| 1445 | </object> |
| 1446 | |
| 1447 | <object type="action"> |
| 1448 | <action function="mount">usb</action> |
| 1449 | </object> |
| 1450 | |
| 1451 | <object type="template" name="footer" /> |
| 1452 | </page> |
| 1453 | |
| 1454 | <page name="usb_umount"> |
| 1455 | <object type="action"> |
| 1456 | <action function="unmount">usb</action> |
| 1457 | </object> |
| 1458 | |
| 1459 | <object type="action"> |
| 1460 | <action function="page">mount</action> |
| 1461 | </object> |
| 1462 | |
| 1463 | <object type="template" name="footer" /> |
| 1464 | </page> |
| 1465 | |
| 1466 | <page name="wipe"> |
| 1467 | <object type="template" name="header" /> |
| 1468 | |
| 1469 | <object type="text" color="%text_color%"> |
| 1470 | <font resource="font" /> |
| 1471 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1472 | <text>Wipe Menu</text> |
| 1473 | </object> |
| 1474 | |
| 1475 | <object type="button"> |
| 1476 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1477 | <font resource="font" color="%button_text_color%" /> |
| 1478 | <text>Cache</text> |
| 1479 | <image resource="main_button" /> |
| 1480 | <actions> |
| 1481 | <action function="set">tw_back=wipe</action> |
| 1482 | <action function="set">tw_action=wipe</action> |
| 1483 | <action function="set">tw_action_param=/cache</action> |
| 1484 | <action function="set">tw_text1=Wipe Cache?</action> |
| 1485 | <action function="set">tw_action_text1=Wiping Cache...</action> |
| 1486 | <action function="set">tw_complete_text1=Cache Wipe Complete</action> |
| 1487 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1488 | <action function="page">confirm_action</action> |
| 1489 | </actions> |
| 1490 | </object> |
| 1491 | |
| 1492 | <object type="button"> |
| 1493 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1494 | <font resource="font" color="%button_text_color%" /> |
| 1495 | <text>Dalvik Cache</text> |
| 1496 | <image resource="main_button" /> |
| 1497 | <actions> |
| 1498 | <action function="set">tw_back=wipe</action> |
| 1499 | <action function="set">tw_action=wipe</action> |
| 1500 | <action function="set">tw_action_param=dalvik</action> |
| 1501 | <action function="set">tw_text1=Wipe Dalvik-Cache?</action> |
| 1502 | <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action> |
| 1503 | <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action> |
| 1504 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1505 | <action function="page">confirm_action</action> |
| 1506 | </actions> |
| 1507 | </object> |
| 1508 | |
| 1509 | <object type="button"> |
| 1510 | <placement x="%col3_x%" y="%row1_y%" /> |
| 1511 | <font resource="font" color="%button_text_color%" /> |
| 1512 | <text>Factory Reset</text> |
| 1513 | <image resource="main_button" /> |
| 1514 | <actions> |
| 1515 | <action function="set">tw_back=wipe</action> |
| 1516 | <action function="set">tw_action=wipe</action> |
| 1517 | <action function="set">tw_action_param=data</action> |
| 1518 | <action function="set">tw_text1=Factory Reset?</action> |
| 1519 | <action function="set">tw_text2=(Wipes Data and Cache)</action> |
| 1520 | <action function="set">tw_action_text1=Factory Reset...</action> |
| 1521 | <action function="set">tw_complete_text1=Factory Reset Complete</action> |
| 1522 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1523 | <action function="page">confirm_action</action> |
| 1524 | </actions> |
| 1525 | </object> |
| 1526 | |
| 1527 | <object type="button"> |
| 1528 | <placement x="%col4_x%" y="%row1_y%" /> |
| 1529 | <font resource="font" color="%button_text_color%" /> |
| 1530 | <text>System</text> |
| 1531 | <image resource="main_button" /> |
| 1532 | <actions> |
| 1533 | <action function="set">tw_back=wipe</action> |
| 1534 | <action function="set">tw_action=wipe</action> |
| 1535 | <action function="set">tw_action_param=/system</action> |
| 1536 | <action function="set">tw_text1=Wipe System?</action> |
| 1537 | <action function="set">tw_text2=This will wipe your ROM</action> |
| 1538 | <action function="set">tw_action_text1=Wiping System...</action> |
| 1539 | <action function="set">tw_complete_text1=System Wipe Complete</action> |
| 1540 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1541 | <action function="page">confirm_action</action> |
| 1542 | </actions> |
| 1543 | </object> |
| 1544 | |
| 1545 | <object type="button"> |
| 1546 | <condition var1="tw_has_external" var2="1" /> |
| 1547 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1548 | <font resource="font" color="%button_text_color%" /> |
| 1549 | <text>External Storage</text> |
| 1550 | <image resource="main_button" /> |
| 1551 | <actions> |
| 1552 | <action function="set">tw_back=wipe</action> |
| 1553 | <action function="set">tw_action=wipe</action> |
| 1554 | <action function="set">tw_action_param=EXTERNAL</action> |
| 1555 | <action function="set">tw_has_action2=1</action> |
| 1556 | <action function="set">tw_action2=set</action> |
| 1557 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 1558 | <action function="set">tw_text1=Wipe External Storage (SD card)?</action> |
| 1559 | <action function="set">tw_action_text1=Wiping External Storage...</action> |
| 1560 | <action function="set">tw_complete_text1=External Storage Wipe Complete</action> |
| 1561 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1562 | <action function="page">confirm_action</action> |
| 1563 | </actions> |
| 1564 | </object> |
| 1565 | |
| 1566 | <object type="button"> |
| 1567 | <condition var1="tw_has_internal" var2="1" /> |
| 1568 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1569 | <font resource="font" color="%button_text_color%" /> |
| 1570 | <text>Internal Storage</text> |
| 1571 | <image resource="main_button" /> |
| 1572 | <actions> |
| 1573 | <action function="set">tw_back=wipe</action> |
| 1574 | <action function="set">tw_action=wipe</action> |
| 1575 | <action function="set">tw_action_param=INTERNAL</action> |
| 1576 | <action function="set">tw_has_action2=1</action> |
| 1577 | <action function="set">tw_action2=set</action> |
| 1578 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 1579 | <action function="set">tw_text1=Wipe Internal Storage?</action> |
| 1580 | <action function="set">tw_action_text1=Wiping Internal Storage...</action> |
| 1581 | <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action> |
| 1582 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1583 | <action function="page">confirm_action</action> |
| 1584 | </actions> |
| 1585 | </object> |
| 1586 | |
| 1587 | <object type="button"> |
| 1588 | <conditions> |
| 1589 | <condition var1="tw_has_internal" var2="1" /> |
| 1590 | <condition var1="tw_has_data_media" var2="1" /> |
| 1591 | </conditions> |
| 1592 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1593 | <font resource="font" color="%button_text_color%" /> |
| 1594 | <text>Format Data</text> |
| 1595 | <image resource="main_button" /> |
| 1596 | <actions> |
| 1597 | <action function="set">tw_back=wipe</action> |
| 1598 | <action function="set">tw_action=wipe</action> |
| 1599 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1600 | <action function="set">tw_has_action2=1</action> |
| 1601 | <action function="set">tw_action2=set</action> |
| 1602 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 1603 | <action function="set">tw_text1=Format Data? (This wipes all media</action> |
| 1604 | <action function="set">tw_text2=including backups & removes encryption)</action> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 1605 | <action function="set">tw_text3=Most of the time you do not need to do this.</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1606 | <action function="set">tw_action_text1=Formatting Data...</action> |
| 1607 | <action function="set">tw_complete_text1=Data Format Complete</action> |
| 1608 | <action function="set">tw_slider_text=Swipe to Format</action> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 1609 | <action function="set">tw_show_exclamation=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1610 | <action function="page">confirm_action</action> |
| 1611 | </actions> |
| 1612 | </object> |
| 1613 | |
| 1614 | <object type="button"> |
Dees_Troy | 2ff5a8d | 2012-09-26 14:53:02 -0400 | [diff] [blame] | 1615 | <condition var1="tw_has_data_media" var2="0" /> |
| 1616 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1617 | <font resource="font" color="%button_text_color%" /> |
| 1618 | <text>Android Secure</text> |
| 1619 | <image resource="main_button" /> |
| 1620 | <actions> |
| 1621 | <action function="set">tw_back=wipe</action> |
| 1622 | <action function="set">tw_action=wipe</action> |
| 1623 | <action function="set">tw_action_param=ANDROIDSECURE</action> |
| 1624 | <action function="set">tw_text1=Wipe Android Secure?</action> |
| 1625 | <action function="set">tw_action_text1=Wiping Android Secure...</action> |
| 1626 | <action function="set">tw_complete_text1=Wipe Android Secure Complete</action> |
| 1627 | <action function="set">tw_slider_text=Swipe to Format</action> |
| 1628 | <action function="page">confirm_action</action> |
| 1629 | </actions> |
| 1630 | </object> |
| 1631 | |
| 1632 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1633 | <condition var1="tw_has_sdext_partition" var2="1" /> |
| 1634 | <placement x="%col4_x%" y="%row2_y%" /> |
| 1635 | <font resource="font" color="%button_text_color%" /> |
| 1636 | <text>SD Ext</text> |
| 1637 | <image resource="main_button" /> |
| 1638 | <actions> |
| 1639 | <action function="set">tw_back=wipe</action> |
| 1640 | <action function="set">tw_action=wipe</action> |
| 1641 | <action function="set">tw_action_param=/sd-ext</action> |
| 1642 | <action function="set">tw_text1=Wipe SD-Ext?</action> |
| 1643 | <action function="set">tw_action_text1=Wiping SD-Ext...</action> |
| 1644 | <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action> |
| 1645 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 1646 | <action function="page">confirm_action</action> |
| 1647 | </actions> |
| 1648 | </object> |
| 1649 | |
| 1650 | <object type="action"> |
| 1651 | <touch key="home" /> |
| 1652 | <action function="page">main</action> |
| 1653 | </object> |
| 1654 | |
| 1655 | <object type="action"> |
| 1656 | <touch key="back" /> |
| 1657 | <action function="page">main</action> |
| 1658 | </object> |
| 1659 | |
| 1660 | <object type="template" name="footer" /> |
| 1661 | </page> |
| 1662 | |
| 1663 | <page name="backup"> |
| 1664 | <object type="template" name="header" /> |
| 1665 | |
| 1666 | <object type="text" color="%text_color%"> |
| 1667 | <font resource="font" /> |
| 1668 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1669 | <text>Back Up Device</text> |
| 1670 | </object> |
| 1671 | |
| 1672 | <object type="text" color="%text_color%"> |
| 1673 | <font resource="font" /> |
| 1674 | <placement x="%col1_x%" y="%row2_text_y%" placement="0" /> |
| 1675 | <text>Free Space: %tw_storage_free_size% MB</text> |
| 1676 | </object> |
| 1677 | |
| 1678 | <object type="text" color="%text_color%"> |
| 1679 | <font resource="font" /> |
| 1680 | <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> |
| 1681 | <text>Backup Name: %tw_backup_name%</text> |
| 1682 | </object> |
| 1683 | |
| 1684 | <object type="checkbox"> |
| 1685 | <placement x="%nandcheck_col1%" y="%nandcheck_row1%" /> |
| 1686 | <font resource="font" color="%text_color%" /> |
| 1687 | <text>System (%tw_backup_system_size% MB)</text> |
| 1688 | <data variable="tw_backup_system" /> |
| 1689 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1690 | </object> |
| 1691 | |
| 1692 | <object type="checkbox"> |
| 1693 | <placement x="%nandcheck_col1%" y="%nandcheck_row2%" /> |
| 1694 | <font resource="font" color="%text_color%" /> |
| 1695 | <text>Data (%tw_backup_data_size% MB)</text> |
| 1696 | <data variable="tw_backup_data" /> |
| 1697 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1698 | </object> |
| 1699 | |
| 1700 | <object type="checkbox"> |
| 1701 | <condition var1="tw_has_boot_partition" var2="1" /> |
| 1702 | <placement x="%nandcheck_col1%" y="%nandcheck_row3%" /> |
| 1703 | <font resource="font" color="%text_color%" /> |
| 1704 | <text>Boot (%tw_backup_boot_size% MB)</text> |
| 1705 | <data variable="tw_backup_boot" /> |
| 1706 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1707 | </object> |
| 1708 | |
| 1709 | <object type="checkbox"> |
| 1710 | <condition var1="tw_has_recovery_partition" var2="1" /> |
| 1711 | <placement x="%nandcheck_col1%" y="%nandcheck_row4%" /> |
| 1712 | <font resource="font" color="%text_color%" /> |
| 1713 | <text>Recovery (%tw_backup_recovery_size% MB)</text> |
| 1714 | <data variable="tw_backup_recovery" /> |
| 1715 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1716 | </object> |
| 1717 | |
| 1718 | <object type="checkbox"> |
| 1719 | <placement x="%nandcheck_col1%" y="%nandcheck_row5%" /> |
| 1720 | <font resource="font" color="%text_color%" /> |
| 1721 | <text>Cache (%tw_backup_cache_size% MB)</text> |
| 1722 | <data variable="tw_backup_cache" /> |
| 1723 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1724 | </object> |
| 1725 | |
| 1726 | <object type="checkbox"> |
| 1727 | <condition var1="tw_has_android_secure" var2="1" /> |
| 1728 | <placement x="%nandcheck_col2%" y="%nandcheck_row1%" /> |
| 1729 | <font resource="font" color="%text_color%" /> |
| 1730 | <text>.android_secure (%tw_backup_andsec_size% MB)</text> |
| 1731 | <data variable="tw_backup_andsec" /> |
| 1732 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1733 | </object> |
| 1734 | |
| 1735 | <object type="checkbox"> |
| 1736 | <condition var1="tw_has_sdext_partition" var2="1" /> |
| 1737 | <placement x="%nandcheck_col2%" y="%nandcheck_row2%" /> |
| 1738 | <font resource="font" color="%text_color%" /> |
| 1739 | <text>sd-ext (%tw_backup_sdext_size% MB)</text> |
| 1740 | <data variable="tw_backup_sdext" /> |
| 1741 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1742 | </object> |
| 1743 | |
| 1744 | <object type="checkbox"> |
| 1745 | <condition var1="tw_sp1_name" op=">" var2="" /> |
| 1746 | <placement x="%nandcheck_col2%" y="%nandcheck_row3%" /> |
| 1747 | <font resource="font" color="%text_color%" /> |
| 1748 | <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text> |
| 1749 | <data variable="tw_backup_sp1" /> |
| 1750 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1751 | </object> |
| 1752 | |
| 1753 | <object type="checkbox"> |
| 1754 | <condition var1="tw_sp2_name" op=">" var2="" /> |
| 1755 | <placement x="%nandcheck_col2%" y="%nandcheck_row4%" /> |
| 1756 | <font resource="font" color="%text_color%" /> |
| 1757 | <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text> |
| 1758 | <data variable="tw_backup_sp2" /> |
| 1759 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1760 | </object> |
| 1761 | |
| 1762 | <object type="checkbox"> |
| 1763 | <condition var1="tw_sp3_name" op=">" var2="" /> |
| 1764 | <placement x="%nandcheck_col2%" y="%nandcheck_row5%" /> |
| 1765 | <font resource="font" color="%text_color%" /> |
| 1766 | <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text> |
| 1767 | <data variable="tw_backup_sp3" /> |
| 1768 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1769 | </object> |
| 1770 | |
| 1771 | <object type="checkbox"> |
| 1772 | <placement x="%col1_x%" y="%nandcheck_row6%" /> |
| 1773 | <font resource="font" color="%text_color%" /> |
| 1774 | <text>Enable Compression (Requires more time)</text> |
| 1775 | <data variable="tw_use_compression" /> |
| 1776 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1777 | </object> |
| 1778 | |
| 1779 | <object type="checkbox"> |
| 1780 | <placement x="%col3_x%" y="%nandcheck_row6%" /> |
| 1781 | <font resource="font" color="%text_color%" /> |
| 1782 | <text>Skip MD5 generation on backups</text> |
| 1783 | <data variable="tw_skip_md5_generate" /> |
| 1784 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1785 | </object> |
| 1786 | |
| 1787 | <object type="button"> |
| 1788 | <placement x="%col2_x%" y="%nandcheck_row7%" /> |
| 1789 | <font resource="font" color="%text_color%" /> |
| 1790 | <conditions> |
| 1791 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1792 | <condition var1="tw_use_external_storage" var2="1" /> |
| 1793 | </conditions> |
| 1794 | <text>Using external SD</text> |
| 1795 | <image resource="radio_true" /> |
| 1796 | <action function="togglestorage">external</action> |
| 1797 | </object> |
| 1798 | |
| 1799 | <object type="button"> |
| 1800 | <placement x="%col2_x%" y="%nandcheck_row7%" /> |
| 1801 | <font resource="font" color="%text_color%" /> |
| 1802 | <conditions> |
| 1803 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1804 | <condition var1="tw_use_external_storage" var2="0" /> |
| 1805 | </conditions> |
| 1806 | <text>Using external SD</text> |
| 1807 | <image resource="radio_false" /> |
| 1808 | <action function="togglestorage">external</action> |
| 1809 | </object> |
| 1810 | |
| 1811 | <object type="button"> |
| 1812 | <placement x="%col3_x%" y="%nandcheck_row7%" /> |
| 1813 | <font resource="font" color="%text_color%" /> |
| 1814 | <conditions> |
| 1815 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1816 | <condition var1="tw_use_external_storage" var2="1" /> |
| 1817 | </conditions> |
| 1818 | <text>Using internal storage</text> |
| 1819 | <image resource="radio_false" /> |
| 1820 | <action function="togglestorage">internal</action> |
| 1821 | </object> |
| 1822 | |
| 1823 | <object type="button"> |
| 1824 | <placement x="%col3_x%" y="%nandcheck_row7%" /> |
| 1825 | <font resource="font" color="%text_color%" /> |
| 1826 | <conditions> |
| 1827 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1828 | <condition var1="tw_use_external_storage" var2="0" /> |
| 1829 | </conditions> |
| 1830 | <text>Using internal storage</text> |
| 1831 | <image resource="radio_true" /> |
| 1832 | <action function="togglestorage">internal</action> |
| 1833 | </object> |
| 1834 | |
| 1835 | <object type="slider"> |
| 1836 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1837 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1838 | <actions> |
| 1839 | <action function="set">tw_operation_state=0</action> |
| 1840 | <action function="page">backup_run</action> |
| 1841 | </actions> |
| 1842 | </object> |
| 1843 | |
| 1844 | <object type="text" color="%text_color%"> |
| 1845 | <font resource="font" /> |
| 1846 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1847 | <text>Swipe to Back Up</text> |
| 1848 | </object> |
| 1849 | |
| 1850 | <object type="button"> |
| 1851 | <placement x="%col4_x%" y="%row1_y%" /> |
| 1852 | <font resource="font" color="%button_text_color%" /> |
| 1853 | <text>Refresh Sizes</text> |
| 1854 | <image resource="main_button" /> |
| 1855 | <action function="refreshsizes"></action> |
| 1856 | </object> |
| 1857 | |
| 1858 | <object type="button"> |
| 1859 | <placement x="%col4_x%" y="%backup_name_button_y%" /> |
| 1860 | <font resource="font" color="%button_text_color%" /> |
| 1861 | <text>Set Backup Name</text> |
| 1862 | <image resource="main_button" /> |
| 1863 | <actions> |
| 1864 | <action function="set">tw_fileexists=0</action> |
| 1865 | <action function="page">backupname1</action> |
| 1866 | </actions> |
| 1867 | </object> |
| 1868 | |
| 1869 | <object type="action"> |
| 1870 | <touch key="home" /> |
| 1871 | <action function="page">main</action> |
| 1872 | </object> |
| 1873 | |
| 1874 | <object type="action"> |
| 1875 | <touch key="back" /> |
| 1876 | <action function="page">main</action> |
| 1877 | </object> |
| 1878 | |
| 1879 | <object type="template" name="footer" /> |
| 1880 | </page> |
| 1881 | |
| 1882 | <page name="backupname1"> |
| 1883 | <object type="action"> |
| 1884 | <condition var1="tw_backup_name" op="=" var2="(Current Date)" /> |
| 1885 | <action function="set">tw_backup_name=</function> |
| 1886 | </object> |
| 1887 | |
| 1888 | <object type="action"> |
| 1889 | <action function="page">backupname2</function> |
| 1890 | </object> |
| 1891 | </page> |
| 1892 | |
| 1893 | <page name="backupname2"> |
| 1894 | <object type="template" name="header" /> |
| 1895 | |
| 1896 | <object type="text" color="%text_color%"> |
| 1897 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1898 | <font resource="font" /> |
| 1899 | <text>Please Enter a Backup Name</text> |
| 1900 | </object> |
| 1901 | |
| 1902 | <object type="input"> |
| 1903 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1904 | <background color="%input_background_color%" /> |
| 1905 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1906 | <font resource="font" color="%text_color%" /> |
| 1907 | <text>%tw_backup_name%</text> |
| 1908 | <data name="tw_backup_name" /> |
Dees_Troy | b9d1c6d | 2012-09-26 10:07:14 -0400 | [diff] [blame] | 1909 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1910 | <actions> |
| 1911 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1912 | <action function="set">tw_existpage=backupname2</action> |
| 1913 | <action function="set">tw_notexistpage=backup</action> |
| 1914 | <action function="page">filecheck</action> |
| 1915 | </actions> |
| 1916 | </object> |
| 1917 | |
| 1918 | <object type="text" color="%text_fail_color%"> |
| 1919 | <condition var1="tw_fileexists" var2="1" /> |
| 1920 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 1921 | <font resource="font" /> |
| 1922 | <text>A backup with that name already exists!</text> |
| 1923 | </object> |
| 1924 | |
| 1925 | <object type="button"> |
| 1926 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 1927 | <font resource="font" color="%button_text_color%" /> |
| 1928 | <text>Cancel / Clear</text> |
| 1929 | <image resource="main_button" /> |
| 1930 | <actions> |
| 1931 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1932 | <action function="page">backup</action> |
| 1933 | </actions> |
| 1934 | </object> |
| 1935 | |
| 1936 | <object type="template" name="keyboardtemplate" /> |
| 1937 | |
| 1938 | <object type="action"> |
| 1939 | <touch key="home" /> |
| 1940 | <actions> |
| 1941 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1942 | <action function="page">main</action> |
| 1943 | </actions> |
| 1944 | </object> |
| 1945 | |
| 1946 | <object type="action"> |
| 1947 | <touch key="back" /> |
| 1948 | <actions> |
| 1949 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1950 | <action function="page">backup</action> |
| 1951 | </actions> |
| 1952 | </object> |
| 1953 | |
| 1954 | <object type="template" name="footer" /> |
| 1955 | </page> |
| 1956 | |
| 1957 | <page name="backup_run"> |
| 1958 | <object type="template" name="header" /> |
| 1959 | |
| 1960 | <object type="text" color="%text_color%"> |
| 1961 | <font resource="font" /> |
| 1962 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1963 | <text>%tw_operation% %tw_partition%</text> |
| 1964 | </object> |
| 1965 | |
| 1966 | <object type="template" name="action_page_console" /> |
| 1967 | |
| 1968 | <object type="template" name="progress_bar" /> |
| 1969 | |
| 1970 | <object type="action"> |
| 1971 | <action function="nandroid">backup</action> |
| 1972 | </object> |
| 1973 | |
| 1974 | <object type="action"> |
| 1975 | <condition var1="tw_operation_state" var2="1" /> |
| 1976 | <actions> |
| 1977 | <action function="set">tw_back=backup</action> |
| 1978 | <action function="set">tw_complete_text1=Backup Complete</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 1979 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1980 | <action function="page">action_complete</action> |
| 1981 | </actions> |
| 1982 | </object> |
| 1983 | |
| 1984 | <object type="template" name="footer" /> |
| 1985 | </page> |
| 1986 | |
| 1987 | <page name="restore"> |
| 1988 | <object type="template" name="header" /> |
| 1989 | |
| 1990 | <object type="button"> |
| 1991 | <placement x="%col2_x%" y="%zipstorage_text_y%" /> |
| 1992 | <font resource="font" color="%text_color%" /> |
| 1993 | <conditions> |
| 1994 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 1995 | <condition var1="tw_use_external_storage" var2="1" /> |
| 1996 | </conditions> |
| 1997 | <text>Using external SD</text> |
| 1998 | <image resource="radio_true" /> |
| 1999 | <action function="togglestorage">external</action> |
| 2000 | </object> |
| 2001 | |
| 2002 | <object type="button"> |
| 2003 | <placement x="%col2_x%" y="%zipstorage_text_y%" /> |
| 2004 | <font resource="font" color="%text_color%" /> |
| 2005 | <conditions> |
| 2006 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 2007 | <condition var1="tw_use_external_storage" var2="0" /> |
| 2008 | </conditions> |
| 2009 | <text>Using external SD</text> |
| 2010 | <image resource="radio_false" /> |
| 2011 | <action function="togglestorage">external</action> |
| 2012 | </object> |
| 2013 | |
| 2014 | <object type="button"> |
| 2015 | <placement x="%col3_x%" y="%zipstorage_text_y%" /> |
| 2016 | <font resource="font" color="%text_color%" /> |
| 2017 | <conditions> |
| 2018 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 2019 | <condition var1="tw_use_external_storage" var2="1" /> |
| 2020 | </conditions> |
| 2021 | <text>Using internal storage</text> |
| 2022 | <image resource="radio_false" /> |
| 2023 | <action function="togglestorage">internal</action> |
| 2024 | </object> |
| 2025 | |
| 2026 | <object type="button"> |
| 2027 | <placement x="%col3_x%" y="%zipstorage_text_y%" /> |
| 2028 | <font resource="font" color="%text_color%" /> |
| 2029 | <conditions> |
| 2030 | <condition var1="tw_has_dual_storage" var2="1" /> |
| 2031 | <condition var1="tw_use_external_storage" var2="0" /> |
| 2032 | </conditions> |
| 2033 | <text>Using internal storage</text> |
| 2034 | <image resource="radio_true" /> |
| 2035 | <action function="togglestorage">internal</action> |
| 2036 | </object> |
| 2037 | |
| 2038 | <object type="fileselector"> |
| 2039 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 2040 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2041 | <text>Select Package to Restore:</text> |
| 2042 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2043 | <sort name="tw_gui_sort_order" /> |
| 2044 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 2045 | <icon folder="folder_icon" file="file_icon" /> |
| 2046 | <background color="%fileselector_background%" /> |
| 2047 | <filter folders="1" files="0" nav="0" /> |
| 2048 | <path name="tw_backups_folder" /> |
| 2049 | <data name="tw_restore" default="" /> |
| 2050 | <selection name="tw_restore_name" /> |
| 2051 | </object> |
| 2052 | |
| 2053 | <object type="template" name="sort_options" /> |
| 2054 | |
| 2055 | <object type="action"> |
| 2056 | <condition var1="tw_restore" op="modified" /> |
| 2057 | <actions> |
| 2058 | <action function="readBackup"></action> |
| 2059 | <action function="page">restore_select</action> |
| 2060 | </actions> |
| 2061 | </object> |
| 2062 | |
| 2063 | <object type="action"> |
| 2064 | <touch key="home" /> |
| 2065 | <action function="page">main</action> |
| 2066 | </object> |
| 2067 | |
| 2068 | <object type="action"> |
| 2069 | <touch key="back" /> |
| 2070 | <action function="page">main</action> |
| 2071 | </object> |
| 2072 | |
| 2073 | <object type="template" name="footer" /> |
| 2074 | </page> |
| 2075 | |
| 2076 | <page name="restore_select"> |
| 2077 | <object type="template" name="header" /> |
| 2078 | |
| 2079 | <object type="text" color="%text_color%"> |
| 2080 | <font resource="font" /> |
| 2081 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2082 | <text>Package to Restore: %tw_restore_name%</text> |
| 2083 | </object> |
| 2084 | |
| 2085 | <object type="text" color="%text_color%"> |
| 2086 | <font resource="font" /> |
| 2087 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 2088 | <text>Package Date: %tw_restore_file_date%</text> |
| 2089 | </object> |
| 2090 | |
| 2091 | <object type="checkbox"> |
| 2092 | <placement x="%nandcheck_col1%" y="%nandcheck_row1%" /> |
| 2093 | <font resource="font" color="%text_color%" /> |
| 2094 | <text>System</text> |
| 2095 | <condition var1="tw_restore_system" op=">=" var2="0" /> |
| 2096 | <data variable="tw_restore_system" /> |
| 2097 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2098 | </object> |
| 2099 | |
| 2100 | <object type="checkbox"> |
| 2101 | <placement x="%nandcheck_col1%" y="%nandcheck_row2%" /> |
| 2102 | <font resource="font" color="%text_color%" /> |
| 2103 | <text>Data</text> |
| 2104 | <condition var1="tw_restore_data" op=">=" var2="0" /> |
| 2105 | <data variable="tw_restore_data" /> |
| 2106 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2107 | </object> |
| 2108 | |
| 2109 | <object type="checkbox"> |
| 2110 | <placement x="%nandcheck_col1%" y="%nandcheck_row3%" /> |
| 2111 | <font resource="font" color="%text_color%" /> |
| 2112 | <text>Boot</text> |
| 2113 | <condition var1="tw_restore_boot" op=">=" var2="0" /> |
| 2114 | <data variable="tw_restore_boot" /> |
| 2115 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2116 | </object> |
| 2117 | |
| 2118 | <object type="checkbox"> |
| 2119 | <placement x="%nandcheck_col1%" y="%nandcheck_row5%" /> |
| 2120 | <font resource="font" color="%text_color%" /> |
| 2121 | <text>Cache</text> |
| 2122 | <condition var1="tw_restore_cache" op=">=" var2="0" /> |
| 2123 | <data variable="tw_restore_cache" /> |
| 2124 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2125 | </object> |
| 2126 | |
| 2127 | <object type="checkbox"> |
| 2128 | <placement x="%nandcheck_col2%" y="%nandcheck_row1%" /> |
| 2129 | <font resource="font" color="%text_color%" /> |
| 2130 | <text>.android_secure</text> |
| 2131 | <condition var1="tw_restore_andsec" op=">=" var2="0" /> |
| 2132 | <data variable="tw_restore_andsec" /> |
| 2133 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2134 | </object> |
| 2135 | |
| 2136 | <object type="checkbox"> |
| 2137 | <placement x="%nandcheck_col2%" y="%nandcheck_row2%" /> |
| 2138 | <font resource="font" color="%text_color%" /> |
| 2139 | <text>sd-ext</text> |
| 2140 | <condition var1="tw_restore_sdext" op=">=" var2="0" /> |
| 2141 | <data variable="tw_restore_sdext" /> |
| 2142 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2143 | </object> |
| 2144 | |
| 2145 | <object type="checkbox"> |
| 2146 | <placement x="%nandcheck_col2%" y="%nandcheck_row3%" /> |
| 2147 | <font resource="font" color="%text_color%" /> |
| 2148 | <text>%tw_sp1_name%</text> |
| 2149 | <condition var1="tw_restore_sp1" op=">=" var2="0" /> |
| 2150 | <data variable="tw_restore_sp1" /> |
| 2151 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2152 | </object> |
| 2153 | |
| 2154 | <object type="checkbox"> |
| 2155 | <placement x="%nandcheck_col2%" y="%nandcheck_row4%" /> |
| 2156 | <font resource="font" color="%text_color%" /> |
| 2157 | <text>%tw_sp2_name%</text> |
| 2158 | <condition var1="tw_restore_sp2" op=">=" var2="0" /> |
| 2159 | <data variable="tw_restore_sp2" /> |
| 2160 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2161 | </object> |
| 2162 | |
| 2163 | <object type="checkbox"> |
| 2164 | <placement x="%nandcheck_col2%" y="%nandcheck_row5%" /> |
| 2165 | <font resource="font" color="%text_color%" /> |
| 2166 | <text>%tw_sp3_name%</text> |
| 2167 | <condition var1="tw_restore_sp3" op=">=" var2="0" /> |
| 2168 | <data variable="tw_restore_sp3" /> |
| 2169 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2170 | </object> |
| 2171 | |
| 2172 | <object type="checkbox"> |
| 2173 | <placement x="%col1_x%" y="%nandcheck_row6%" /> |
| 2174 | <font resource="font" color="%text_color%" /> |
| 2175 | <text>Enable MD5 checking of backup files</text> |
| 2176 | <data variable="tw_skip_md5_check" /> |
| 2177 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2178 | </object> |
| 2179 | |
| 2180 | <object type="button"> |
| 2181 | <placement x="%col4_x%" y="%row1_y%" /> |
| 2182 | <font resource="font" color="%button_text_color%" /> |
| 2183 | <text>Rename Backup</text> |
| 2184 | <image resource="main_button" /> |
| 2185 | <actions> |
| 2186 | <action function="set">tw_backup_rename=</action> |
| 2187 | <action function="set">tw_fileexists=0</action> |
| 2188 | <action function="page">renamebackup</action> |
| 2189 | </actions> |
| 2190 | </object> |
| 2191 | |
| 2192 | <object type="button"> |
| 2193 | <placement x="%col4_x%" y="%backup_name_button_y%" /> |
| 2194 | <font resource="font" color="%button_text_color%" /> |
| 2195 | <text>Delete Backup</text> |
| 2196 | <image resource="main_button" /> |
| 2197 | <actions> |
| 2198 | <action function="set">tw_back=restore</action> |
| 2199 | <action function="set">tw_action=cmd</action> |
| 2200 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf %tw_restore_name%</action> |
| 2201 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 2202 | <action function="set">tw_text2=This cannot be undone!</action> |
| 2203 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 2204 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 2205 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 2206 | <action function="page">confirm_action</action> |
| 2207 | </actions> |
| 2208 | </object> |
| 2209 | |
| 2210 | <object type="slider"> |
| 2211 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2212 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2213 | <action function="page">restore_run</action> |
| 2214 | </object> |
| 2215 | |
| 2216 | <object type="text" color="%text_color%"> |
| 2217 | <font resource="font" /> |
| 2218 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2219 | <text>Swipe to Restore</text> |
| 2220 | </object> |
| 2221 | |
| 2222 | <object type="action"> |
| 2223 | <touch key="home" /> |
| 2224 | <action function="page">main</action> |
| 2225 | </object> |
| 2226 | |
| 2227 | <object type="action"> |
| 2228 | <touch key="back" /> |
| 2229 | <action function="page">restore</action> |
| 2230 | </object> |
| 2231 | |
| 2232 | <object type="template" name="footer" /> |
| 2233 | </page> |
| 2234 | |
| 2235 | <page name="renamebackup"> |
| 2236 | <object type="template" name="header" /> |
| 2237 | |
| 2238 | <object type="text" color="%text_color%"> |
| 2239 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2240 | <font resource="font" /> |
| 2241 | <text>Please Enter a New Backup Name</text> |
| 2242 | </object> |
| 2243 | |
| 2244 | <object type="input"> |
| 2245 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2246 | <background color="%input_background_color%" /> |
| 2247 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2248 | <font resource="font" color="%text_color%" /> |
| 2249 | <text>%tw_backup_rename%</text> |
| 2250 | <data name="tw_backup_rename" /> |
Dees_Troy | b9d1c6d | 2012-09-26 10:07:14 -0400 | [diff] [blame] | 2251 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2252 | <actions> |
| 2253 | <action function="set">tw_back=restore</action> |
| 2254 | <action function="set">tw_action=cmd</action> |
| 2255 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action> |
| 2256 | <action function="set">tw_text1=Rename Backup?</action> |
| 2257 | <action function="set">tw_text2=This cannot be undone!</action> |
| 2258 | <action function="set">tw_action_text1=Renaming Backup...</action> |
| 2259 | <action function="set">tw_complete_text1=Backup Rename Complete</action> |
| 2260 | <action function="set">tw_slider_text=Swipe to Rename</action> |
| 2261 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2262 | <action function="set">tw_existpage=renamebackup</action> |
| 2263 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2264 | <action function="page">filecheck</action> |
| 2265 | </actions> |
| 2266 | </object> |
| 2267 | |
| 2268 | <object type="text" color="%text_fail_color%"> |
| 2269 | <condition var1="tw_fileexists" var2="1" /> |
| 2270 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 2271 | <font resource="font" /> |
| 2272 | <text>A backup with that name already exists!</text> |
| 2273 | </object> |
| 2274 | |
| 2275 | <object type="button"> |
| 2276 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 2277 | <font resource="font" color="%button_text_color%" /> |
| 2278 | <text>Cancel</text> |
| 2279 | <image resource="main_button" /> |
| 2280 | <action function="page">restore_select</action> |
| 2281 | </object> |
| 2282 | |
| 2283 | <object type="template" name="keyboardtemplate" /> |
| 2284 | |
| 2285 | <object type="action"> |
| 2286 | <touch key="home" /> |
| 2287 | <action function="page">main</action> |
| 2288 | </object> |
| 2289 | |
| 2290 | <object type="action"> |
| 2291 | <touch key="back" /> |
| 2292 | <action function="page">restore_select</action> |
| 2293 | </object> |
| 2294 | |
| 2295 | <object type="template" name="footer" /> |
| 2296 | </page> |
| 2297 | |
| 2298 | <page name="restore_run"> |
| 2299 | <object type="template" name="header" /> |
| 2300 | |
| 2301 | <object type="text" color="%text_color%"> |
| 2302 | <font resource="font" /> |
| 2303 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2304 | <text>%tw_operation% %tw_partition%</text> |
| 2305 | </object> |
| 2306 | |
| 2307 | <object type="template" name="action_page_console" /> |
| 2308 | |
| 2309 | <object type="template" name="progress_bar" /> |
| 2310 | |
| 2311 | <object type="action"> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2312 | <condition var1="tw_operation_state" var2="1" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2313 | <actions> |
| 2314 | <action function="set">tw_back=restore_select</action> |
| 2315 | <action function="set">tw_complete_text1=Restore Complete</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2316 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2317 | <action function="page">action_complete</action> |
| 2318 | </actions> |
| 2319 | </object> |
| 2320 | |
| 2321 | <object type="action"> |
| 2322 | <action function="nandroid">restore</action> |
| 2323 | </object> |
| 2324 | </page> |
| 2325 | |
| 2326 | <page name="settings"> |
| 2327 | <object type="template" name="header" /> |
| 2328 | |
| 2329 | <object type="text" color="%text_color%"> |
| 2330 | <font resource="font" /> |
| 2331 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2332 | <text>Settings</text> |
| 2333 | </object> |
| 2334 | |
| 2335 | <object type="checkbox"> |
| 2336 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2337 | <font resource="font" color="%text_color%" /> |
| 2338 | <text>Zip file signature verification?</text> |
| 2339 | <data variable="tw_signed_zip_verify" /> |
| 2340 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2341 | </object> |
| 2342 | |
| 2343 | <object type="checkbox"> |
| 2344 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 2345 | <font resource="font" color="%text_color%" /> |
| 2346 | <text>Force MD5 check on all zips?</text> |
| 2347 | <data variable="tw_force_md5_check" /> |
| 2348 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2349 | </object> |
| 2350 | |
| 2351 | <object type="checkbox"> |
| 2352 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 2353 | <font resource="font" color="%text_color%" /> |
| 2354 | <text>Use rm -rf instead of formatting?</text> |
| 2355 | <data variable="tw_rm_rf" /> |
| 2356 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2357 | </object> |
| 2358 | |
| 2359 | <object type="checkbox"> |
| 2360 | <placement x="%col1_x%" y="%row5_text_y%" /> |
| 2361 | <font resource="font" color="%text_color%" /> |
| 2362 | <text>Skip MD5 generation on backups</text> |
| 2363 | <data variable="tw_skip_md5_generate" /> |
| 2364 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2365 | </object> |
| 2366 | |
| 2367 | <object type="checkbox"> |
| 2368 | <placement x="%col1_x%" y="%row6_text_y%" /> |
| 2369 | <font resource="font" color="%text_color%" /> |
| 2370 | <text>Enable MD5 checking of backup files</text> |
| 2371 | <data variable="tw_skip_md5_check" /> |
| 2372 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2373 | </object> |
| 2374 | |
| 2375 | <object type="checkbox"> |
| 2376 | <placement x="%col1_x%" y="%row7_text_y%" /> |
| 2377 | <font resource="font" color="%text_color%" /> |
| 2378 | <text>Ignore image size errors during backup</text> |
| 2379 | <data variable="tw_ignore_image_size" /> |
| 2380 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2381 | </object> |
| 2382 | |
| 2383 | <object type="checkbox"> |
| 2384 | <placement x="%col1_x%" y="%row8_text_y%" /> |
| 2385 | <font resource="font" color="%text_color%" /> |
| 2386 | <text>Simulate most actions for theme testing</text> |
| 2387 | <data variable="tw_simulate_actions" /> |
| 2388 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2389 | </object> |
| 2390 | |
| 2391 | <object type="checkbox"> |
| 2392 | <condition var1="tw_simulate_actions" var2="1" /> |
| 2393 | <placement x="%col1_x%" y="%row9_text_y%" /> |
| 2394 | <font resource="font" color="%text_color%" /> |
| 2395 | <text>Simulate failure for actions</text> |
| 2396 | <data variable="tw_simulate_fail" /> |
| 2397 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2398 | </object> |
| 2399 | |
| 2400 | <object type="button"> |
| 2401 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2402 | <font resource="font" color="%button_text_color%" /> |
| 2403 | <text>Time Zone</text> |
| 2404 | <image resource="main_button" /> |
| 2405 | <action function="page">timezone</action> |
| 2406 | </object> |
| 2407 | |
| 2408 | <object type="button"> |
| 2409 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 2410 | <font resource="font" color="%button_text_color%" /> |
| 2411 | <text>Restore Defaults</text> |
| 2412 | <image resource="main_button" /> |
| 2413 | <action function="restoredefaultsettings"></action> |
| 2414 | </object> |
| 2415 | |
| 2416 | <object type="action"> |
| 2417 | <touch key="home" /> |
| 2418 | <action function="page">main</action> |
| 2419 | </object> |
| 2420 | |
| 2421 | <object type="action"> |
| 2422 | <touch key="back" /> |
| 2423 | <action function="page">main</action> |
| 2424 | </object> |
| 2425 | |
| 2426 | <object type="template" name="footer" /> |
| 2427 | </page> |
| 2428 | |
| 2429 | <page name="timezone"> |
| 2430 | <object type="template" name="header" /> |
| 2431 | |
| 2432 | <object type="text" color="%text_color%"> |
| 2433 | <font resource="font" /> |
| 2434 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2435 | <text>Select Time Zone</text> |
| 2436 | </object> |
| 2437 | |
| 2438 | <object type="listbox"> |
| 2439 | <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> |
| 2440 | <icon selected="radio_true" unselected="radio_false" /> |
| 2441 | <background color="%listbox_background%" /> |
| 2442 | <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> |
| 2443 | <data name="tw_time_zone_guisel" /> |
| 2444 | <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> |
| 2445 | <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> |
| 2446 | <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> |
| 2447 | <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> |
| 2448 | <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> |
| 2449 | <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> |
| 2450 | <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> |
| 2451 | <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> |
| 2452 | <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> |
| 2453 | <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> |
| 2454 | <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> |
| 2455 | <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> |
| 2456 | <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> |
| 2457 | <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> |
| 2458 | <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> |
| 2459 | <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> |
| 2460 | <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> |
| 2461 | <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> |
| 2462 | <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> |
| 2463 | <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> |
| 2464 | <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> |
| 2465 | <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> |
| 2466 | <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> |
| 2467 | <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> |
| 2468 | </object> |
| 2469 | |
| 2470 | <object type="checkbox"> |
| 2471 | <placement x="%col1_medium_x%" y="%row11_text_y%" /> |
| 2472 | <font resource="font" color="%text_color%" /> |
| 2473 | <text>Do you use daylight savings time (DST)?</text> |
| 2474 | <data variable="tw_time_zone_guidst" /> |
| 2475 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2476 | </object> |
| 2477 | |
| 2478 | <object type="text" color="%text_color%"> |
| 2479 | <font resource="font" /> |
| 2480 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 2481 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 2482 | </object> |
| 2483 | |
| 2484 | <object type="button"> |
| 2485 | <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> |
| 2486 | <font resource="font" color="%button_text_color%" /> |
| 2487 | <text>0</text> |
| 2488 | <image resource="medium_button" /> |
| 2489 | <action function="set">tw_time_zone_guioffset=0</action> |
| 2490 | </object> |
| 2491 | |
| 2492 | <object type="button"> |
| 2493 | <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> |
| 2494 | <font resource="font" color="%button_text_color%" /> |
| 2495 | <text>15</text> |
| 2496 | <image resource="medium_button" /> |
| 2497 | <action function="set">tw_time_zone_guioffset=15</action> |
| 2498 | </object> |
| 2499 | |
| 2500 | <object type="button"> |
| 2501 | <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> |
| 2502 | <font resource="font" color="%button_text_color%" /> |
| 2503 | <text>30</text> |
| 2504 | <image resource="medium_button" /> |
| 2505 | <action function="set">tw_time_zone_guioffset=30</action> |
| 2506 | </object> |
| 2507 | |
| 2508 | <object type="button"> |
| 2509 | <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> |
| 2510 | <font resource="font" color="%button_text_color%" /> |
| 2511 | <text>45</text> |
| 2512 | <image resource="medium_button" /> |
| 2513 | <action function="set">tw_time_zone_guioffset=45</action> |
| 2514 | </object> |
| 2515 | |
| 2516 | <object type="button"> |
| 2517 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2518 | <font resource="font" color="%button_text_color%" /> |
| 2519 | <text>Set Time Zone</text> |
| 2520 | <image resource="main_button" /> |
| 2521 | <action function="setguitimezone"></action> |
| 2522 | </object> |
| 2523 | |
| 2524 | <object type="text" color="%text_color%"> |
| 2525 | <font resource="font" /> |
| 2526 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 2527 | <text>Current Time Zone: %tw_time_zone%</text> |
| 2528 | </object> |
| 2529 | |
| 2530 | <object type="action"> |
| 2531 | <touch key="home" /> |
| 2532 | <action function="page">main</action> |
| 2533 | </object> |
| 2534 | |
| 2535 | <object type="action"> |
| 2536 | <touch key="back" /> |
| 2537 | <action function="page">settings</action> |
| 2538 | </object> |
| 2539 | |
| 2540 | <object type="template" name="footer" /> |
| 2541 | </page> |
| 2542 | |
| 2543 | <page name="advanced"> |
| 2544 | <object type="template" name="header" /> |
| 2545 | |
| 2546 | <object type="text" color="%text_color%"> |
| 2547 | <font resource="font" /> |
| 2548 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2549 | <text>Advanced</text> |
| 2550 | </object> |
| 2551 | |
| 2552 | <object type="button"> |
| 2553 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2554 | <font resource="font" color="%button_text_color%" /> |
| 2555 | <text>Copy Log to SD</text> |
| 2556 | <image resource="main_button" /> |
| 2557 | <actions> |
| 2558 | <action function="set">tw_back=advanced</action> |
| 2559 | <action function="set">tw_action=copylog</action> |
| 2560 | <action function="set">tw_text1=Copy Log to SD Card?</action> |
| 2561 | <action function="set">tw_action_text1=Copying Log to SD Card...</action> |
| 2562 | <action function="set">tw_complete_text1=Log Copy Complete</action> |
| 2563 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2564 | <action function="page">confirm_action</action> |
| 2565 | </actions> |
| 2566 | </object> |
| 2567 | |
| 2568 | <object type="button"> |
| 2569 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2570 | <font resource="font" color="%button_text_color%" /> |
| 2571 | <text>Fix Permissions</text> |
| 2572 | <image resource="main_button" /> |
| 2573 | <actions> |
| 2574 | <action function="set">tw_back=advanced</action> |
| 2575 | <action function="set">tw_action=fixpermissions</action> |
| 2576 | <action function="set">tw_text1=Fix Permissions?</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2577 | <action function="set">tw_action_text1=Fixing Permissions...</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2578 | <action function="set">tw_complete_text1=Fix Permissions Complete</action> |
| 2579 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2580 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2581 | <action function="page">confirm_action</action> |
| 2582 | </actions> |
| 2583 | </object> |
| 2584 | |
| 2585 | <object type="button"> |
| 2586 | <placement x="%col3_x%" y="%row1_y%" /> |
| 2587 | <font resource="font" color="%button_text_color%" /> |
| 2588 | <text>Terminal Command</text> |
| 2589 | <image resource="main_button" /> |
| 2590 | <action function="page">terminalfolder</action> |
| 2591 | </object> |
| 2592 | |
| 2593 | <object type="button"> |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 2594 | <placement x="%col4_x%" y="%row1_y%" /> |
| 2595 | <font resource="font" color="%button_text_color%" /> |
| 2596 | <text>ADB Sideload</text> |
| 2597 | <image resource="main_button" /> |
| 2598 | <actions> |
| 2599 | <action function="set">tw_back=advanced</action> |
| 2600 | <action function="set">tw_action=adbsideload</action> |
| 2601 | <action function="set">tw_action_text1=ADB Sideload</action> |
| 2602 | <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> |
| 2603 | <action function="set">tw_complete_text1=ADB Sideload Complete</action> |
| 2604 | <action function="set">tw_has_cancel=1</action> |
| 2605 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2606 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 2607 | <action function="page">action_page</action> |
| 2608 | </actions> |
| 2609 | </object> |
| 2610 | |
| 2611 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2612 | <condition var1="tw_allow_partition_sdcard" var2="1" /> |
| 2613 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2614 | <font resource="font" color="%button_text_color%" /> |
| 2615 | <text>Partition SD Card</text> |
| 2616 | <image resource="main_button" /> |
| 2617 | <action function="page">partsdcard</action> |
| 2618 | </object> |
| 2619 | |
| 2620 | <object type="button"> |
| 2621 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2622 | <font resource="font" color="%button_text_color%" /> |
| 2623 | <text>File Manager</text> |
| 2624 | <image resource="main_button" /> |
| 2625 | <action function="page">filemanagerlist</action> |
| 2626 | </object> |
| 2627 | |
| 2628 | <object type="button"> |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 2629 | <placement x="%col3_x%" y="%row2_y%" /> |
| 2630 | <font resource="font" color="%button_text_color%" /> |
| 2631 | <text>Reload Theme</text> |
| 2632 | <image resource="main_button" /> |
| 2633 | <action function="reload"></action> |
| 2634 | </object> |
| 2635 | |
| 2636 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2637 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2638 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2639 | <font resource="font" color="%button_text_color%" /> |
| 2640 | <text>HTC Dumlock</text> |
| 2641 | <image resource="main_button" /> |
| 2642 | <action function="page">htcdumlock</action> |
| 2643 | </object> |
| 2644 | |
| 2645 | <object type="action"> |
| 2646 | <touch key="home" /> |
| 2647 | <action function="page">main</action> |
| 2648 | </object> |
| 2649 | |
| 2650 | <object type="action"> |
| 2651 | <touch key="back" /> |
| 2652 | <action function="page">main</action> |
| 2653 | </object> |
| 2654 | |
| 2655 | <object type="template" name="footer" /> |
| 2656 | </page> |
| 2657 | |
| 2658 | <page name="partsdcard"> |
| 2659 | <object type="template" name="header" /> |
| 2660 | |
| 2661 | <object type="text" color="%text_color%"> |
| 2662 | <font resource="font" /> |
| 2663 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2664 | <text>Partition SD Card</text> |
| 2665 | </object> |
| 2666 | |
| 2667 | <object type="button"> |
| 2668 | <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> |
| 2669 | <font resource="font" color="%button_text_color%" /> |
| 2670 | <text></text> |
| 2671 | <image resource="minus_button" /> |
| 2672 | <action function="addsubtract">tw_sdext_size-128</action> |
| 2673 | </object> |
| 2674 | |
| 2675 | <object type="button"> |
| 2676 | <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> |
| 2677 | <font resource="font" color="%button_text_color%" /> |
| 2678 | <text></text> |
| 2679 | <image resource="plus_button" /> |
| 2680 | <action function="addsubtract">tw_sdext_size+128</action> |
| 2681 | </object> |
| 2682 | |
| 2683 | <object type="text" color="%text_color%"> |
| 2684 | <font resource="font" /> |
| 2685 | <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> |
| 2686 | <text>EXT Size: %tw_sdext_size%</text> |
| 2687 | </object> |
| 2688 | |
| 2689 | <object type="button"> |
| 2690 | <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> |
| 2691 | <font resource="font" color="%button_text_color%" /> |
| 2692 | <text></text> |
| 2693 | <image resource="minus_button" /> |
| 2694 | <action function="addsubtract">tw_swap_size-32</action> |
| 2695 | </object> |
| 2696 | |
| 2697 | <object type="button"> |
| 2698 | <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> |
| 2699 | <font resource="font" color="%button_text_color%" /> |
| 2700 | <text></text> |
| 2701 | <image resource="plus_button" /> |
| 2702 | <action function="addsubtract">tw_swap_size+32</action> |
| 2703 | </object> |
| 2704 | |
| 2705 | <object type="text" color="%text_color%"> |
| 2706 | <font resource="font" /> |
| 2707 | <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> |
| 2708 | <text>Swap Size: %tw_swap_size%</text> |
| 2709 | </object> |
| 2710 | |
| 2711 | <object type="text" color="%text_color%"> |
| 2712 | <font resource="font" /> |
| 2713 | <placement x="%center_x%" y="%row8_text_y%" placement="5" /> |
| 2714 | <text>File system: %tw_sdpart_file_system%</text> |
| 2715 | </object> |
| 2716 | |
| 2717 | <object type="button"> |
| 2718 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 2719 | <font resource="font" color="%button_text_color%" /> |
| 2720 | <text>EXT3</text> |
| 2721 | <image resource="medium_button" /> |
| 2722 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 2723 | </object> |
| 2724 | |
| 2725 | <object type="button"> |
| 2726 | <condition var1="tw_sdext_disable_ext4" var2="0" /> |
| 2727 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 2728 | <font resource="font" color="%button_text_color%" /> |
| 2729 | <text>EXT4</text> |
| 2730 | <image resource="medium_button" /> |
| 2731 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 2732 | </object> |
| 2733 | |
| 2734 | <object type="text" color="%text_color%"> |
| 2735 | <font resource="font" /> |
| 2736 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 2737 | <text>You will lose all files on your SD card!</text> |
| 2738 | </object> |
| 2739 | |
| 2740 | <object type="text" color="%text_color%"> |
| 2741 | <font resource="font" /> |
| 2742 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 2743 | <text>This action cannot be undone!</text> |
| 2744 | </object> |
| 2745 | |
| 2746 | <object type="slider"> |
| 2747 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2748 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2749 | <actions> |
| 2750 | <action function="set">tw_back=partsdcard</action> |
| 2751 | <action function="set">tw_action=partitionsd</action> |
| 2752 | <action function="set">tw_has_action2=1</action> |
| 2753 | <action function="set">tw_action2=set</action> |
| 2754 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 2755 | <action function="set">tw_action_text1=Partitioning SD Card...</action> |
| 2756 | <action function="set">tw_action_text2=This will take a few minutes.</action> |
Dees_Troy | a2ac96a | 2012-09-26 13:07:22 -0400 | [diff] [blame] | 2757 | <action function="set">tw_complete_text1=Partitioning Complete</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2758 | <action function="page">action_page</action> |
| 2759 | </actions> |
| 2760 | </object> |
| 2761 | |
| 2762 | <object type="text" color="%text_color%"> |
| 2763 | <font resource="font" /> |
| 2764 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2765 | <text>Swipe to Confirm Partition</text> |
| 2766 | </object> |
| 2767 | |
| 2768 | <object type="action"> |
| 2769 | <touch key="home" /> |
| 2770 | <action function="page">main</action> |
| 2771 | </object> |
| 2772 | |
| 2773 | <object type="action"> |
| 2774 | <touch key="back" /> |
| 2775 | <action function="page">advanced</action> |
| 2776 | </object> |
| 2777 | |
| 2778 | <object type="template" name="footer" /> |
| 2779 | </page> |
| 2780 | |
| 2781 | |
| 2782 | <page name="htcdumlock"> |
| 2783 | <object type="template" name="header" /> |
| 2784 | |
| 2785 | <object type="text" color="%text_color%"> |
| 2786 | <font resource="font" /> |
| 2787 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2788 | <text>HTC Dumlock</text> |
| 2789 | </object> |
| 2790 | |
| 2791 | <object type="button"> |
| 2792 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2793 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2794 | <font resource="font" color="%button_text_color%" /> |
| 2795 | <text>Restore Original Boot</text> |
| 2796 | <image resource="main_button" /> |
| 2797 | <actions> |
| 2798 | <action function="set">tw_back=htcdumlock</action> |
| 2799 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
| 2800 | <action function="set">tw_text1=Restore original boot image?</action> |
| 2801 | <action function="set">tw_action_text1=Restoring Original Boot...</action> |
| 2802 | <action function="set">tw_complete_text1=Restore Original Boot Complete</action> |
| 2803 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2804 | <action function="page">confirm_action</action> |
| 2805 | </actions> |
| 2806 | </object> |
| 2807 | |
| 2808 | <object type="button"> |
| 2809 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2810 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2811 | <font resource="font" color="%button_text_color%" /> |
| 2812 | <text>Reflash Recovery->Boot</text> |
| 2813 | <image resource="main_button" /> |
| 2814 | <actions> |
| 2815 | <action function="set">tw_back=htcdumlock</action> |
| 2816 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
| 2817 | <action function="set">tw_text1=Reflash recovery to boot?</action> |
| 2818 | <action function="set">tw_action_text1=Flashing recovery to boot...</action> |
| 2819 | <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> |
| 2820 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2821 | <action function="page">confirm_action</action> |
| 2822 | </actions> |
| 2823 | </object> |
| 2824 | |
| 2825 | <object type="button"> |
| 2826 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2827 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2828 | <font resource="font" color="%button_text_color%" /> |
| 2829 | <text>Install HTC Dumlock</text> |
| 2830 | <image resource="main_button" /> |
| 2831 | <actions> |
| 2832 | <action function="set">tw_back=htcdumlock</action> |
| 2833 | <action function="set">tw_action=installhtcdumlock</action> |
| 2834 | <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> |
| 2835 | <action function="set">tw_action_text1=Installing HTC Dumlock...</action> |
| 2836 | <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> |
| 2837 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2838 | <action function="page">confirm_action</action> |
| 2839 | </actions> |
| 2840 | </object> |
| 2841 | |
| 2842 | <object type="action"> |
| 2843 | <touch key="home" /> |
| 2844 | <action function="page">main</action> |
| 2845 | </object> |
| 2846 | |
| 2847 | <object type="action"> |
| 2848 | <touch key="back" /> |
| 2849 | <action function="page">advanced</action> |
| 2850 | </object> |
| 2851 | |
| 2852 | <object type="template" name="footer" /> |
| 2853 | </page> |
| 2854 | |
| 2855 | <page name="lock"> |
| 2856 | <background color="#000000A0" /> |
| 2857 | |
| 2858 | <object type="image"> |
| 2859 | <image resource="unlock-icon" /> |
| 2860 | <placement x="%lock_x%" y="%lock_y%" /> |
| 2861 | </object> |
| 2862 | |
| 2863 | <object type="slider"> |
| 2864 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2865 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2866 | <action function="overlay"></action> |
| 2867 | </object> |
| 2868 | |
| 2869 | <object type="text" color="%text_color%"> |
| 2870 | <font resource="font" /> |
| 2871 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2872 | <text>Swipe to Unlock</text> |
| 2873 | </object> |
| 2874 | </page> |
| 2875 | |
| 2876 | |
| 2877 | <page name="filemanagerlist"> |
| 2878 | <object type="template" name="header" /> |
| 2879 | |
| 2880 | <object type="text" color="%text_color%"> |
| 2881 | <font resource="font" /> |
| 2882 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2883 | <text>File Manager: Select a File or Folder</text> |
| 2884 | </object> |
| 2885 | |
| 2886 | <object type="fileselector"> |
| 2887 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 2888 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2889 | <text>Folders:</text> |
| 2890 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2891 | <sort name="tw_gui_sort_order" /> |
| 2892 | <icon folder="folder_icon" file="file_icon" /> |
| 2893 | <background color="%fileselector_background%" /> |
| 2894 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 2895 | <filter folders="1" files="0" /> |
| 2896 | <path name="tw_file_location1" default="/sdcard" /> |
| 2897 | <data name="select" /> |
| 2898 | <selection name="tw_selection1" /> |
| 2899 | </object> |
| 2900 | |
| 2901 | <object type="fileselector"> |
| 2902 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 2903 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2904 | <text>%tw_file_location1%</text> |
| 2905 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2906 | <sort name="tw_gui_sort_order" /> |
| 2907 | <icon folder="folder_icon" file="file_icon" /> |
| 2908 | <background color="%fileselector_background%" /> |
| 2909 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 2910 | <filter folders="0" files="1" /> |
| 2911 | <path name="tw_file_location1" default="/" /> |
| 2912 | <data name="tw_filename1" /> |
| 2913 | <selection name="tw_selection1" /> |
| 2914 | </object> |
| 2915 | |
| 2916 | <object type="template" name="sort_options" /> |
| 2917 | |
| 2918 | <object type="action"> |
| 2919 | <actions> |
| 2920 | <action function="set">tw_fm_type=File</action> |
| 2921 | <action function="set">tw_fm_isfolder=0</action> |
| 2922 | </actions> |
| 2923 | </object> |
| 2924 | |
| 2925 | <object type="action"> |
| 2926 | <touch key="home" /> |
| 2927 | <action function="page">main</action> |
| 2928 | </object> |
| 2929 | |
| 2930 | <object type="action"> |
| 2931 | <touch key="back" /> |
| 2932 | <action function="page">advanced</action> |
| 2933 | </object> |
| 2934 | |
| 2935 | <object type="action"> |
| 2936 | <condition var1="tw_filename1" op="modified" /> |
| 2937 | <actions> |
| 2938 | <action function="page">filemanageroptions</action> |
| 2939 | </actions> |
| 2940 | </object> |
| 2941 | |
| 2942 | <object type="button"> |
| 2943 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 2944 | <font resource="font" color="%button_text_color%" /> |
| 2945 | <text>Select Folder</text> |
| 2946 | <image resource="main_button" /> |
| 2947 | <actions> |
| 2948 | <action function="set">tw_filename1=tw_file_location1</action> |
| 2949 | <action function="set">tw_fm_isfolder=1</action> |
| 2950 | <action function="set">tw_fm_type=Folder</action> |
| 2951 | <action function="page">filemanageroptions</action> |
| 2952 | </actions> |
| 2953 | </object> |
| 2954 | |
| 2955 | <object type="template" name="footer" /> |
| 2956 | </page> |
| 2957 | |
| 2958 | <page name="filemanageroptions"> |
| 2959 | <object type="template" name="header" /> |
| 2960 | |
| 2961 | <object type="text" color="%text_color%"> |
| 2962 | <font resource="font" /> |
| 2963 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2964 | <text>%tw_fm_type% Selected:</text> |
| 2965 | </object> |
| 2966 | |
| 2967 | <object type="text" color="%text_color%"> |
| 2968 | <font resource="font" /> |
| 2969 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 2970 | <text>%tw_filename1%</text> |
| 2971 | </object> |
| 2972 | |
| 2973 | <object type="button"> |
| 2974 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 2975 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2976 | <font resource="font" color="%button_text_color%" /> |
| 2977 | <text>Copy File</text> |
| 2978 | <image resource="main_button" /> |
| 2979 | <actions> |
| 2980 | <action function="set">tw_filemanager_command=cp</action> |
| 2981 | <action function="set">tw_fm_text1=Copying</action> |
| 2982 | <action function="page">choosedestinationfolder</action> |
| 2983 | </actions> |
| 2984 | </object> |
| 2985 | |
| 2986 | <object type="button"> |
| 2987 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 2988 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2989 | <font resource="font" color="%button_text_color%" /> |
| 2990 | <text>Copy Folder</text> |
| 2991 | <image resource="main_button" /> |
| 2992 | <actions> |
| 2993 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
| 2994 | <action function="set">tw_fm_text1=Copying</action> |
| 2995 | <action function="page">choosedestinationfolder</action> |
| 2996 | </actions> |
| 2997 | </object> |
| 2998 | |
| 2999 | <object type="button"> |
| 3000 | <placement x="%col2_x%" y="%row2_y%" /> |
| 3001 | <font resource="font" color="%button_text_color%" /> |
| 3002 | <text>Move</text> |
| 3003 | <image resource="main_button" /> |
| 3004 | <actions> |
| 3005 | <action function="set">tw_filemanager_command=mv</action> |
| 3006 | <action function="set">tw_fm_text1=Moving</action> |
| 3007 | <action function="page">choosedestinationfolder</action> |
| 3008 | </actions> |
| 3009 | </object> |
| 3010 | |
| 3011 | <object type="button"> |
| 3012 | <placement x="%col3_x%" y="%row2_y%" /> |
| 3013 | <font resource="font" color="%button_text_color%" /> |
| 3014 | <text>chmod 755</text> |
| 3015 | <image resource="main_button" /> |
| 3016 | <actions> |
| 3017 | <action function="set">tw_filemanager_command=chmod 755</action> |
| 3018 | <action function="set">tw_fm_text1=chmod 755</action> |
| 3019 | <action function="set">tw_fm_text2=</action> |
| 3020 | <action function="set">tw_fm_text3=</action> |
| 3021 | <action function="set">tw_include_text3=0</action> |
| 3022 | <action function="set">tw_back=filemanageroptions</action> |
| 3023 | <action function="page">filemanagerconfirm</action> |
| 3024 | </actions> |
| 3025 | </object> |
| 3026 | |
| 3027 | <object type="button"> |
| 3028 | <placement x="%col4_x%" y="%row2_y%" /> |
| 3029 | <font resource="font" color="%button_text_color%" /> |
| 3030 | <text>chmod</text> |
| 3031 | <image resource="main_button" /> |
| 3032 | <actions> |
| 3033 | <action function="set">tw_filemanager_rename=0000</action> |
| 3034 | <action function="set">tw_fm_text2=</action> |
| 3035 | <action function="set">tw_fm_text3=</action> |
| 3036 | <action function="set">tw_include_text3=0</action> |
| 3037 | <action function="set">tw_back=filemanageroptions</action> |
| 3038 | <action function="page">filemanagerchmod</action> |
| 3039 | </actions> |
| 3040 | </object> |
| 3041 | |
| 3042 | <object type="button"> |
| 3043 | <placement x="%col1_x%" y="%row1_y%" /> |
| 3044 | <font resource="font" color="%button_text_color%" /> |
| 3045 | <text>Delete</text> |
| 3046 | <image resource="main_button" /> |
| 3047 | <actions> |
| 3048 | <action function="set">tw_filemanager_command=rm -rf</action> |
| 3049 | <action function="set">tw_fm_text1=Deleting</action> |
| 3050 | <action function="set">tw_fm_text2=</action> |
| 3051 | <action function="set">tw_fm_text3=</action> |
| 3052 | <action function="set">tw_include_text3=0</action> |
| 3053 | <action function="set">tw_back=filemanageroptions</action> |
| 3054 | <action function="page">filemanagerconfirm</action> |
| 3055 | </actions> |
| 3056 | </object> |
| 3057 | |
| 3058 | <object type="button"> |
| 3059 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3060 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3061 | <font resource="font" color="%button_text_color%" /> |
| 3062 | <text>Rename File</text> |
| 3063 | <image resource="main_button" /> |
| 3064 | <actions> |
| 3065 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3066 | <action function="set">tw_fm_text1=Renaming</action> |
| 3067 | <action function="set">tw_filemanager_command=mv</action> |
| 3068 | <action function="page">filemanagerrenamefile</action> |
| 3069 | </actions> |
| 3070 | </object> |
| 3071 | |
| 3072 | <object type="button"> |
| 3073 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3074 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3075 | <font resource="font" color="%button_text_color%" /> |
| 3076 | <text>Rename Folder</text> |
| 3077 | <image resource="main_button" /> |
| 3078 | <actions> |
| 3079 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3080 | <action function="set">tw_fm_text1=Renaming</action> |
| 3081 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 3082 | <action function="page">filemanagerrenamefolder</action> |
| 3083 | </actions> |
| 3084 | </object> |
| 3085 | |
| 3086 | <object type="action"> |
| 3087 | <touch key="home" /> |
| 3088 | <action function="page">main</action> |
| 3089 | </object> |
| 3090 | |
| 3091 | <object type="action"> |
| 3092 | <touch key="back" /> |
| 3093 | <action function="page">filemanagerlist</action> |
| 3094 | </object> |
| 3095 | |
| 3096 | <object type="template" name="footer" /> |
| 3097 | </page> |
| 3098 | |
| 3099 | <page name="choosedestinationfolder"> |
| 3100 | <object type="template" name="header" /> |
| 3101 | |
| 3102 | <object type="text" color="%text_color%"> |
| 3103 | <font resource="font" /> |
| 3104 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3105 | <text>Browse to Destination Folder & Press Select</text> |
| 3106 | </object> |
| 3107 | |
| 3108 | <object type="fileselector"> |
| 3109 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 3110 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 3111 | <text>%tw_file_location2%</text> |
| 3112 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3113 | <sort name="tw_gui_sort_order" /> |
| 3114 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 3115 | <icon folder="folder_icon" file="file_icon" /> |
| 3116 | <background color="%fileselector_background%" /> |
| 3117 | <filter folders="1" files="0" /> |
| 3118 | <path name="tw_file_location2" default="/sdcard" /> |
| 3119 | <data name="tw_filename2" /> |
| 3120 | </object> |
| 3121 | |
| 3122 | <object type="template" name="sort_options" /> |
| 3123 | |
| 3124 | <object type="action"> |
| 3125 | <touch key="home" /> |
| 3126 | <action function="page">main</action> |
| 3127 | </object> |
| 3128 | |
| 3129 | <object type="action"> |
| 3130 | <touch key="back" /> |
| 3131 | <action function="page">filemanageroptions</action> |
| 3132 | </object> |
| 3133 | |
| 3134 | <object type="button"> |
| 3135 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3136 | <font resource="font" color="%button_text_color%" /> |
| 3137 | <text>Select Folder</text> |
| 3138 | <image resource="main_button" /> |
| 3139 | <actions> |
| 3140 | <action function="set">tw_fm_text2=to</action> |
| 3141 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3142 | <action function="set">tw_include_text3=1</action> |
| 3143 | <action function="set">tw_back=filemanageroptions</action> |
| 3144 | <action function="page">filemanagerconfirm</action> |
| 3145 | </actions> |
| 3146 | </object> |
| 3147 | |
| 3148 | <object type="template" name="footer" /> |
| 3149 | </page> |
| 3150 | |
| 3151 | <page name="filemanagerrenamefile"> |
| 3152 | <object type="template" name="header" /> |
| 3153 | |
| 3154 | <object type="text" color="%text_color%"> |
| 3155 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3156 | <font resource="font" /> |
| 3157 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3158 | </object> |
| 3159 | |
| 3160 | <object type="input"> |
| 3161 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3162 | <background color="%input_background_color%" /> |
| 3163 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3164 | <font resource="font" color="%text_color%" /> |
| 3165 | <text>%tw_filemanager_rename%</text> |
| 3166 | <data name="tw_filemanager_rename" /> |
| 3167 | <restrict minlen="1" maxlen="128" /> |
| 3168 | <actions> |
| 3169 | <action function="set">tw_fm_text2=to</action> |
| 3170 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3171 | <action function="set">tw_include_text3=1</action> |
| 3172 | <action function="set">tw_back=filemanageroptions</action> |
| 3173 | <action function="page">filemanagerconfirm</action> |
| 3174 | </actions> |
| 3175 | </object> |
| 3176 | |
| 3177 | <object type="button"> |
| 3178 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3179 | <font resource="font" color="%button_text_color%" /> |
| 3180 | <text>Cancel</text> |
| 3181 | <image resource="main_button" /> |
| 3182 | <action function="page">filemanageroptions</action> |
| 3183 | </object> |
| 3184 | |
| 3185 | <object type="template" name="keyboardtemplate" /> |
| 3186 | |
| 3187 | <object type="action"> |
| 3188 | <touch key="home" /> |
| 3189 | <action function="page">main</action> |
| 3190 | </object> |
| 3191 | |
| 3192 | <object type="action"> |
| 3193 | <touch key="back" /> |
| 3194 | <action function="page">filemanageroptions</action> |
| 3195 | </object> |
| 3196 | |
| 3197 | <object type="template" name="footer" /> |
| 3198 | </page> |
| 3199 | |
| 3200 | <page name="filemanagerrenamefolder"> |
| 3201 | <object type="template" name="header" /> |
| 3202 | |
| 3203 | <object type="text" color="%text_color%"> |
| 3204 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3205 | <font resource="font" /> |
| 3206 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3207 | </object> |
| 3208 | |
| 3209 | <object type="input"> |
| 3210 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3211 | <background color="%input_background_color%" /> |
| 3212 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3213 | <font resource="font" color="%text_color%" /> |
| 3214 | <text>%tw_filemanager_rename%</text> |
| 3215 | <data name="tw_filemanager_rename" /> |
| 3216 | <restrict minlen="1" maxlen="128" /> |
| 3217 | <actions> |
| 3218 | <action function="set">tw_fm_text2=to</action> |
| 3219 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3220 | <action function="set">tw_include_text3=1</action> |
| 3221 | <action function="set">tw_back=filemanageroptions</action> |
| 3222 | <action function="page">filemanagerconfirm</action> |
| 3223 | </actions> |
| 3224 | </object> |
| 3225 | |
| 3226 | <object type="button"> |
| 3227 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3228 | <font resource="font" color="%button_text_color%" /> |
| 3229 | <text>Cancel</text> |
| 3230 | <image resource="main_button" /> |
| 3231 | <action function="page">filemanageroptions</action> |
| 3232 | </object> |
| 3233 | |
| 3234 | <object type="template" name="keyboardtemplate" /> |
| 3235 | |
| 3236 | <object type="action"> |
| 3237 | <touch key="home" /> |
| 3238 | <action function="page">main</action> |
| 3239 | </object> |
| 3240 | |
| 3241 | <object type="action"> |
| 3242 | <touch key="back" /> |
| 3243 | <action function="page">filemanageroptions</action> |
| 3244 | </object> |
| 3245 | |
| 3246 | <object type="template" name="footer" /> |
| 3247 | </page> |
| 3248 | |
| 3249 | <page name="filemanagerchmod"> |
| 3250 | <object type="template" name="header" /> |
| 3251 | |
| 3252 | <object type="text" color="%text_color%"> |
| 3253 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3254 | <font resource="font" /> |
| 3255 | <text>Please Enter New Permissions</text> |
| 3256 | </object> |
| 3257 | |
| 3258 | <object type="input"> |
| 3259 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3260 | <background color="%input_background_color%" /> |
| 3261 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3262 | <font resource="font" color="%text_color%" /> |
| 3263 | <text>%tw_filemanager_rename%</text> |
| 3264 | <data name="tw_filemanager_rename" /> |
| 3265 | <restrict minlen="3" maxlen="4" allow="0123456789" /> |
| 3266 | <actions> |
| 3267 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3268 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3269 | <action function="set">tw_back=filemanageroptions</action> |
| 3270 | <action function="page">filemanagerconfirm</action> |
| 3271 | </actions> |
| 3272 | </object> |
| 3273 | |
| 3274 | <object type="button"> |
| 3275 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3276 | <font resource="font" color="%button_text_color%" /> |
| 3277 | <text>Cancel</text> |
| 3278 | <image resource="main_button" /> |
| 3279 | <action function="page">filemanageroptions</action> |
| 3280 | </object> |
| 3281 | |
| 3282 | <object type="template" name="keyboardtemplate" /> |
| 3283 | |
| 3284 | <object type="action"> |
| 3285 | <touch key="home" /> |
| 3286 | <action function="page">main</action> |
| 3287 | </object> |
| 3288 | |
| 3289 | <object type="action"> |
| 3290 | <touch key="back" /> |
| 3291 | <action function="page">filemanageroptions</action> |
| 3292 | </object> |
| 3293 | |
| 3294 | <object type="template" name="footer" /> |
| 3295 | </page> |
| 3296 | |
| 3297 | <page name="filemanagerconfirm"> |
| 3298 | <object type="template" name="header" /> |
| 3299 | |
| 3300 | <object type="text" color="%text_color%"> |
| 3301 | <font resource="font" /> |
| 3302 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3303 | <text>%tw_fm_text1%</text> |
| 3304 | </object> |
| 3305 | |
| 3306 | <object type="text" color="%text_color%"> |
| 3307 | <font resource="font" /> |
| 3308 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3309 | <text>%tw_filename1%</text> |
| 3310 | </object> |
| 3311 | |
| 3312 | <object type="text" color="%text_color%"> |
| 3313 | <font resource="font" /> |
| 3314 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3315 | <text>%tw_fm_text2%</text> |
| 3316 | </object> |
| 3317 | |
| 3318 | <object type="text" color="%text_color%"> |
| 3319 | <font resource="font" /> |
| 3320 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3321 | <text>%tw_fm_text3%</text> |
| 3322 | </object> |
| 3323 | |
| 3324 | <object type="text" color="%text_color%"> |
| 3325 | <font resource="font" /> |
| 3326 | <placement x="%center_x%" y="%row10_text_y%" placement="5"/> |
| 3327 | <text>Press back button to cancel.</text> |
| 3328 | </object> |
| 3329 | |
| 3330 | <object type="slider"> |
| 3331 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3332 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3333 | <action function="page">filemanageracction</action> |
| 3334 | </object> |
| 3335 | |
| 3336 | <object type="text" color="%text_color%"> |
| 3337 | <font resource="font" /> |
| 3338 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3339 | <text>Swipe to Confirm</text> |
| 3340 | </object> |
| 3341 | |
| 3342 | <object type="action"> |
| 3343 | <touch key="back" /> |
| 3344 | <action function="page">%tw_back%</action> |
| 3345 | </object> |
| 3346 | |
| 3347 | <object type="action"> |
| 3348 | <touch key="home" /> |
| 3349 | <action function="page">main</action> |
| 3350 | </object> |
| 3351 | |
| 3352 | <object type="template" name="footer" /> |
| 3353 | </page> |
| 3354 | |
| 3355 | <page name="filemanageracction"> |
| 3356 | <object type="template" name="header" /> |
| 3357 | |
| 3358 | <object type="text" color="%text_color%"> |
| 3359 | <font resource="font" /> |
| 3360 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3361 | <text>%tw_fm_text1%</text> |
| 3362 | </object> |
| 3363 | |
| 3364 | <object type="template" name="action_page_console" /> |
| 3365 | |
| 3366 | <object type="template" name="progress_bar" /> |
| 3367 | |
| 3368 | <object type="action"> |
| 3369 | <conditions> |
| 3370 | <condition var1="tw_operation_state" var2="1" /> |
| 3371 | <condition var1="tw_operation_status" var2="0" /> |
| 3372 | </conditions> |
| 3373 | <actions> |
| 3374 | <action function="set">tw_back=filemanagerlist</action> |
| 3375 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3376 | <action function="page">action_complete</action> |
| 3377 | </actions> |
| 3378 | </object> |
| 3379 | |
| 3380 | <object type="action"> |
| 3381 | <conditions> |
| 3382 | <condition var1="tw_operation_state" var2="1" /> |
| 3383 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3384 | </conditions> |
| 3385 | <actions> |
| 3386 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3387 | <action function="page">action_complete</action> |
| 3388 | </actions> |
| 3389 | </object> |
| 3390 | |
| 3391 | <object type="action"> |
| 3392 | <condition var1="tw_include_text3" var2="0" /> |
| 3393 | <actions> |
| 3394 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3395 | </actions> |
| 3396 | </object> |
| 3397 | |
| 3398 | <object type="action"> |
| 3399 | <condition var1="tw_include_text3" var2="1" /> |
| 3400 | <actions> |
| 3401 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3402 | </actions> |
| 3403 | </object> |
| 3404 | </page> |
| 3405 | |
| 3406 | <page name="decrypt"> |
| 3407 | <object type="template" name="header" /> |
| 3408 | |
| 3409 | <object type="text" color="%text_color%"> |
| 3410 | <font resource="font" /> |
| 3411 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3412 | <text>Please Enter Your Password</text> |
| 3413 | </object> |
| 3414 | |
| 3415 | <object type="input"> |
| 3416 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3417 | <background color="%input_background_color%" /> |
| 3418 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3419 | <font resource="font" color="%text_color%" /> |
| 3420 | <text>%tw_crypto_display%</text> |
| 3421 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> |
| 3422 | <restrict minlen="1" maxlen="254" /> |
| 3423 | <actions> |
| 3424 | <action function="page">trydecrypt</action> |
| 3425 | </actions> |
| 3426 | </object> |
| 3427 | |
| 3428 | <object type="text" color="%text_fail_color%"> |
| 3429 | <condition var1="tw_password_fail" var2="1" /> |
| 3430 | <font resource="font" /> |
| 3431 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 3432 | <text>Password Failed, Please Try Again</text> |
| 3433 | </object> |
| 3434 | |
| 3435 | <object type="button"> |
| 3436 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3437 | <font resource="font" color="%button_text_color%" /> |
| 3438 | <text>Cancel</text> |
| 3439 | <image resource="main_button" /> |
| 3440 | <actions> |
| 3441 | <action function="page">main</action> |
| 3442 | </actions> |
| 3443 | </object> |
| 3444 | |
| 3445 | <object type="template" name="keyboardtemplate" /> |
| 3446 | |
| 3447 | <object type="action"> |
| 3448 | <touch key="home" /> |
| 3449 | <actions> |
| 3450 | <action function="page">main</action> |
| 3451 | </actions> |
| 3452 | </object> |
| 3453 | |
| 3454 | <object type="action"> |
| 3455 | <touch key="back" /> |
| 3456 | <actions> |
| 3457 | <action function="page">main</action> |
| 3458 | </actions> |
| 3459 | </object> |
| 3460 | |
| 3461 | <object type="template" name="footer" /> |
| 3462 | </page> |
| 3463 | |
| 3464 | <page name="trydecrypt"> |
| 3465 | <object type="template" name="header" /> |
| 3466 | |
| 3467 | <object type="text" color="%text_color%"> |
| 3468 | <font resource="font" /> |
| 3469 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3470 | <text>Trying Decryption with Your Password</text> |
| 3471 | </object> |
| 3472 | |
| 3473 | <object type="template" name="action_page_console" /> |
| 3474 | |
| 3475 | <object type="template" name="progress_bar" /> |
| 3476 | |
| 3477 | <object type="action"> |
| 3478 | <action function="decrypt"></action> |
| 3479 | </object> |
| 3480 | |
| 3481 | <object type="action"> |
| 3482 | <conditions> |
| 3483 | <condition var1="tw_operation_state" var2="1" /> |
| 3484 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3485 | </conditions> |
| 3486 | <actions> |
| 3487 | <action function="set">tw_password_fail=1</action> |
| 3488 | <action function="page">decrypt</action> |
| 3489 | </actions> |
| 3490 | </object> |
| 3491 | |
| 3492 | <object type="action"> |
| 3493 | <conditions> |
| 3494 | <condition var1="tw_operation_state" var2="1" /> |
| 3495 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 3496 | </conditions> |
| 3497 | <action function="page">main</action> |
| 3498 | </object> |
| 3499 | </page> |
| 3500 | |
| 3501 | <page name="terminalfolder"> |
| 3502 | <object type="template" name="header" /> |
| 3503 | |
| 3504 | <object type="text" color="%text_color%"> |
| 3505 | <font resource="font" /> |
| 3506 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3507 | <text>Browse to Starting Folder</text> |
| 3508 | </object> |
| 3509 | |
| 3510 | <object type="fileselector"> |
| 3511 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 3512 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 3513 | <text>%tw_terminal_location%</text> |
| 3514 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3515 | <sort name="tw_gui_sort_order" /> |
| 3516 | <icon folder="folder_icon" file="file_icon" /> |
| 3517 | <background color="%fileselector_background%" /> |
| 3518 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 3519 | <filter folders="1" files="0" /> |
| 3520 | <path name="tw_terminal_location" default="/" /> |
| 3521 | <data name="tw_terminal" /> |
| 3522 | <selection name="tw_terminal_selection" /> |
| 3523 | </object> |
| 3524 | |
| 3525 | <object type="template" name="sort_options" /> |
| 3526 | |
| 3527 | <object type="action"> |
| 3528 | <touch key="home" /> |
| 3529 | <action function="page">main</action> |
| 3530 | </object> |
| 3531 | |
| 3532 | <object type="action"> |
| 3533 | <touch key="back" /> |
| 3534 | <action function="page">advanced</action> |
| 3535 | </object> |
| 3536 | |
| 3537 | <object type="button"> |
| 3538 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3539 | <font resource="font" color="%button_text_color%" /> |
| 3540 | <text>Select Folder</text> |
| 3541 | <image resource="main_button" /> |
| 3542 | <actions> |
| 3543 | <action function="page">terminalcommand</action> |
| 3544 | </actions> |
| 3545 | </object> |
| 3546 | |
| 3547 | <object type="template" name="footer" /> |
| 3548 | </page> |
| 3549 | |
| 3550 | <page name="terminalcommand"> |
| 3551 | <background color="#000000FF" /> |
| 3552 | |
| 3553 | <object type="console"> |
| 3554 | <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> |
| 3555 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 3556 | <font resource="fixed" /> |
| 3557 | </object> |
| 3558 | |
| 3559 | <object type="text" color="%text_color%"> |
| 3560 | <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> |
| 3561 | <font resource="font" /> |
| 3562 | <text>Starting Path: %tw_terminal_location%</text> |
| 3563 | </object> |
| 3564 | |
| 3565 | <object type="input"> |
| 3566 | <condition var1="tw_terminal_state" var2="0" /> |
| 3567 | <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> |
| 3568 | <background color="%input_background_color%" /> |
| 3569 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3570 | <font resource="font" color="%text_color%" /> |
| 3571 | <text>%tw_terminal_command%</text> |
| 3572 | <data name="tw_terminal_command" /> |
| 3573 | <restrict minlen="1" /> |
| 3574 | <action function="terminalcommand">%tw_terminal_command%</action> |
| 3575 | </object> |
| 3576 | |
| 3577 | <object type="button"> |
| 3578 | <condition var1="tw_terminal_state" var2="1" /> |
| 3579 | <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> |
| 3580 | <font resource="font" color="%button_text_color%" /> |
| 3581 | <text>KILL</text> |
| 3582 | <image resource="medium_button" /> |
| 3583 | <action function="killterminal"></action> |
| 3584 | </object> |
| 3585 | |
| 3586 | <object type="button"> |
| 3587 | <placement x="%home_button_x%" y="%terminal_button_y%" /> |
| 3588 | <font resource="font" color="%button_text_color%" /> |
| 3589 | <text></text> |
| 3590 | <image resource="home_icon" /> |
| 3591 | <condition var1="tw_busy" var2="0" /> |
| 3592 | <action function="key">home</action> |
| 3593 | </object> |
| 3594 | |
| 3595 | <object type="button"> |
| 3596 | <placement x="%back_button_x%" y="%terminal_button_y%" /> |
| 3597 | <font resource="font" color="%button_text_color%" /> |
| 3598 | <text></text> |
| 3599 | <image resource="back_icon" /> |
| 3600 | <condition var1="tw_busy" var2="0" /> |
| 3601 | <action function="key">back</action> |
| 3602 | </object> |
| 3603 | |
| 3604 | <object type="action"> |
| 3605 | <touch key="power" /> |
| 3606 | <action function="overlay">lock</action> |
| 3607 | </object> |
| 3608 | |
| 3609 | <object type="template" name="keyboardtemplate" /> |
| 3610 | |
| 3611 | <object type="action"> |
| 3612 | <touch key="home" /> |
| 3613 | <action function="page">main</action> |
| 3614 | </object> |
| 3615 | |
| 3616 | <object type="action"> |
| 3617 | <touch key="back" /> |
| 3618 | <action function="page">terminalfolder</action> |
| 3619 | </object> |
| 3620 | </page> |
| 3621 | </pages> |
| 3622 | </recovery> |