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