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="600" /> |
| 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="600" /> |
| 58 | <variable name="col_progressbar_x" value="386" /> |
| 59 | <variable name="row_progressbar_y" value="540" /> |
| 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="195" /> |
| 98 | <variable name="nandcheck_row3" value="240" /> |
| 99 | <variable name="nandcheck_row4" value="285" /> |
| 100 | <variable name="nandcheck_row5" value="330" /> |
| 101 | <variable name="nandcheck_row6" value="375" /> |
| 102 | <variable name="nandcheck_row7" value="410" /> |
| 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="470" /> |
| 109 | <variable name="slider_text_y" value="520" /> |
| 110 | <variable name="sort_text_x" value="270" /> |
| 111 | <variable name="sort_asc_text_y" value="510" /> |
| 112 | <variable name="sort_asc_button_y" value="505" /> |
| 113 | <variable name="sort_desc_text_y" value="545" /> |
| 114 | <variable name="sort_desc_button_y" value="542" /> |
| 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="382" /> |
| 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="495" /> |
| 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="220" /> |
| 169 | <variable name="terminal_console_y" value="0" /> |
| 170 | <variable name="terminal_console_height" value="300" /> |
| 171 | <variable name="terminal_text_y" value="307" /> |
| 172 | <variable name="terminal_button_y" value="298" /> |
| 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="570" /> |
| 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="340" /> |
| 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="265" /> |
| 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="497" /> |
| 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="341" /> |
| 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="65" width="92" /> |
| 370 | <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="104:c:8" /> |
| 371 | <row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" /> |
| 372 | <row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" /> |
| 373 | <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" /> |
| 374 | </layout1> |
| 375 | <layout2> |
| 376 | <keysize height="65" width="92" /> |
| 377 | <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="104:c:8" /> |
| 378 | <row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" /> |
| 379 | <row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" /> |
| 380 | <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" /> |
| 381 | </layout2> |
| 382 | <layout3> |
| 383 | <keysize height="65" width="92" /> |
| 384 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" /> |
| 385 | <row2 key01="138:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" /> |
| 386 | <row3 key01="102:layout4" key02="91:<" key03="91:>" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" /> |
| 387 | <row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" /> |
| 388 | </layout3> |
| 389 | <layout4> |
| 390 | <keysize height="65" width="92" /> |
| 391 | <row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" /> |
| 392 | <row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" /> |
| 393 | <row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" /> |
| 394 | <row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " /> |
| 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" /> |
| 2611 | <actions> |
| 2612 | <action function="set">tw_back=advanced</action> |
| 2613 | <action function="set">tw_action=adbsideload</action> |
| 2614 | <action function="set">tw_action_text1=ADB Sideload</action> |
| 2615 | <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> |
| 2616 | <action function="set">tw_complete_text1=ADB Sideload Complete</action> |
| 2617 | <action function="set">tw_has_cancel=1</action> |
| 2618 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2619 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 2620 | <action function="page">action_page</action> |
| 2621 | </actions> |
| 2622 | </object> |
| 2623 | |
| 2624 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2625 | <condition var1="tw_allow_partition_sdcard" var2="1" /> |
| 2626 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2627 | <font resource="font" color="%button_text_color%" /> |
| 2628 | <text>Partition SD Card</text> |
| 2629 | <image resource="main_button" /> |
| 2630 | <action function="page">partsdcard</action> |
| 2631 | </object> |
| 2632 | |
| 2633 | <object type="button"> |
| 2634 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2635 | <font resource="font" color="%button_text_color%" /> |
| 2636 | <text>File Manager</text> |
| 2637 | <image resource="main_button" /> |
| 2638 | <action function="page">filemanagerlist</action> |
| 2639 | </object> |
| 2640 | |
| 2641 | <object type="button"> |
Dees_Troy | 2691f9d | 2012-09-24 11:15:49 -0400 | [diff] [blame] | 2642 | <placement x="%col3_x%" y="%row2_y%" /> |
| 2643 | <font resource="font" color="%button_text_color%" /> |
| 2644 | <text>Reload Theme</text> |
| 2645 | <image resource="main_button" /> |
| 2646 | <action function="reload"></action> |
| 2647 | </object> |
| 2648 | |
| 2649 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2650 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2651 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2652 | <font resource="font" color="%button_text_color%" /> |
| 2653 | <text>HTC Dumlock</text> |
| 2654 | <image resource="main_button" /> |
| 2655 | <action function="page">htcdumlock</action> |
| 2656 | </object> |
| 2657 | |
| 2658 | <object type="action"> |
| 2659 | <touch key="home" /> |
| 2660 | <action function="page">main</action> |
| 2661 | </object> |
| 2662 | |
| 2663 | <object type="action"> |
| 2664 | <touch key="back" /> |
| 2665 | <action function="page">main</action> |
| 2666 | </object> |
| 2667 | |
| 2668 | <object type="template" name="footer" /> |
| 2669 | </page> |
| 2670 | |
| 2671 | <page name="partsdcard"> |
| 2672 | <object type="template" name="header" /> |
| 2673 | |
| 2674 | <object type="text" color="%text_color%"> |
| 2675 | <font resource="font" /> |
| 2676 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2677 | <text>Partition SD Card</text> |
| 2678 | </object> |
| 2679 | |
| 2680 | <object type="button"> |
| 2681 | <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> |
| 2682 | <font resource="font" color="%button_text_color%" /> |
| 2683 | <text></text> |
| 2684 | <image resource="minus_button" /> |
| 2685 | <action function="addsubtract">tw_sdext_size-128</action> |
| 2686 | </object> |
| 2687 | |
| 2688 | <object type="button"> |
| 2689 | <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> |
| 2690 | <font resource="font" color="%button_text_color%" /> |
| 2691 | <text></text> |
| 2692 | <image resource="plus_button" /> |
| 2693 | <action function="addsubtract">tw_sdext_size+128</action> |
| 2694 | </object> |
| 2695 | |
| 2696 | <object type="text" color="%text_color%"> |
| 2697 | <font resource="font" /> |
| 2698 | <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> |
| 2699 | <text>EXT Size: %tw_sdext_size%</text> |
| 2700 | </object> |
| 2701 | |
| 2702 | <object type="button"> |
| 2703 | <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> |
| 2704 | <font resource="font" color="%button_text_color%" /> |
| 2705 | <text></text> |
| 2706 | <image resource="minus_button" /> |
| 2707 | <action function="addsubtract">tw_swap_size-32</action> |
| 2708 | </object> |
| 2709 | |
| 2710 | <object type="button"> |
| 2711 | <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> |
| 2712 | <font resource="font" color="%button_text_color%" /> |
| 2713 | <text></text> |
| 2714 | <image resource="plus_button" /> |
| 2715 | <action function="addsubtract">tw_swap_size+32</action> |
| 2716 | </object> |
| 2717 | |
| 2718 | <object type="text" color="%text_color%"> |
| 2719 | <font resource="font" /> |
| 2720 | <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> |
| 2721 | <text>Swap Size: %tw_swap_size%</text> |
| 2722 | </object> |
| 2723 | |
| 2724 | <object type="text" color="%text_color%"> |
| 2725 | <font resource="font" /> |
| 2726 | <placement x="%center_x%" y="%row8_text_y%" placement="5" /> |
| 2727 | <text>File system: %tw_sdpart_file_system%</text> |
| 2728 | </object> |
| 2729 | |
| 2730 | <object type="button"> |
| 2731 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 2732 | <font resource="font" color="%button_text_color%" /> |
| 2733 | <text>EXT3</text> |
| 2734 | <image resource="medium_button" /> |
| 2735 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 2736 | </object> |
| 2737 | |
| 2738 | <object type="button"> |
| 2739 | <condition var1="tw_sdext_disable_ext4" var2="0" /> |
| 2740 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 2741 | <font resource="font" color="%button_text_color%" /> |
| 2742 | <text>EXT4</text> |
| 2743 | <image resource="medium_button" /> |
| 2744 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 2745 | </object> |
| 2746 | |
| 2747 | <object type="text" color="%text_color%"> |
| 2748 | <font resource="font" /> |
| 2749 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 2750 | <text>You will lose all files on your SD card!</text> |
| 2751 | </object> |
| 2752 | |
| 2753 | <object type="text" color="%text_color%"> |
| 2754 | <font resource="font" /> |
| 2755 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 2756 | <text>This action cannot be undone!</text> |
| 2757 | </object> |
| 2758 | |
| 2759 | <object type="slider"> |
| 2760 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2761 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2762 | <actions> |
| 2763 | <action function="set">tw_back=partsdcard</action> |
| 2764 | <action function="set">tw_action=partitionsd</action> |
| 2765 | <action function="set">tw_has_action2=1</action> |
| 2766 | <action function="set">tw_action2=set</action> |
| 2767 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 2768 | <action function="set">tw_action_text1=Partitioning SD Card...</action> |
| 2769 | <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] | 2770 | <action function="set">tw_complete_text1=Partitioning Complete</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2771 | <action function="page">action_page</action> |
| 2772 | </actions> |
| 2773 | </object> |
| 2774 | |
| 2775 | <object type="text" color="%text_color%"> |
| 2776 | <font resource="font" /> |
| 2777 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2778 | <text>Swipe to Confirm Partition</text> |
| 2779 | </object> |
| 2780 | |
| 2781 | <object type="action"> |
| 2782 | <touch key="home" /> |
| 2783 | <action function="page">main</action> |
| 2784 | </object> |
| 2785 | |
| 2786 | <object type="action"> |
| 2787 | <touch key="back" /> |
| 2788 | <action function="page">advanced</action> |
| 2789 | </object> |
| 2790 | |
| 2791 | <object type="template" name="footer" /> |
| 2792 | </page> |
| 2793 | |
| 2794 | |
| 2795 | <page name="htcdumlock"> |
| 2796 | <object type="template" name="header" /> |
| 2797 | |
| 2798 | <object type="text" color="%text_color%"> |
| 2799 | <font resource="font" /> |
| 2800 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2801 | <text>HTC Dumlock</text> |
| 2802 | </object> |
| 2803 | |
| 2804 | <object type="button"> |
| 2805 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2806 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2807 | <font resource="font" color="%button_text_color%" /> |
| 2808 | <text>Restore Original Boot</text> |
| 2809 | <image resource="main_button" /> |
| 2810 | <actions> |
| 2811 | <action function="set">tw_back=htcdumlock</action> |
| 2812 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
| 2813 | <action function="set">tw_text1=Restore original boot image?</action> |
| 2814 | <action function="set">tw_action_text1=Restoring Original Boot...</action> |
| 2815 | <action function="set">tw_complete_text1=Restore Original Boot Complete</action> |
| 2816 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2817 | <action function="page">confirm_action</action> |
| 2818 | </actions> |
| 2819 | </object> |
| 2820 | |
| 2821 | <object type="button"> |
| 2822 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2823 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2824 | <font resource="font" color="%button_text_color%" /> |
| 2825 | <text>Reflash Recovery->Boot</text> |
| 2826 | <image resource="main_button" /> |
| 2827 | <actions> |
| 2828 | <action function="set">tw_back=htcdumlock</action> |
| 2829 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
| 2830 | <action function="set">tw_text1=Reflash recovery to boot?</action> |
| 2831 | <action function="set">tw_action_text1=Flashing recovery to boot...</action> |
| 2832 | <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> |
| 2833 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2834 | <action function="page">confirm_action</action> |
| 2835 | </actions> |
| 2836 | </object> |
| 2837 | |
| 2838 | <object type="button"> |
| 2839 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2840 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2841 | <font resource="font" color="%button_text_color%" /> |
| 2842 | <text>Install HTC Dumlock</text> |
| 2843 | <image resource="main_button" /> |
| 2844 | <actions> |
| 2845 | <action function="set">tw_back=htcdumlock</action> |
| 2846 | <action function="set">tw_action=installhtcdumlock</action> |
| 2847 | <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> |
| 2848 | <action function="set">tw_action_text1=Installing HTC Dumlock...</action> |
| 2849 | <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> |
| 2850 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2851 | <action function="page">confirm_action</action> |
| 2852 | </actions> |
| 2853 | </object> |
| 2854 | |
| 2855 | <object type="action"> |
| 2856 | <touch key="home" /> |
| 2857 | <action function="page">main</action> |
| 2858 | </object> |
| 2859 | |
| 2860 | <object type="action"> |
| 2861 | <touch key="back" /> |
| 2862 | <action function="page">advanced</action> |
| 2863 | </object> |
| 2864 | |
| 2865 | <object type="template" name="footer" /> |
| 2866 | </page> |
| 2867 | |
| 2868 | <page name="lock"> |
| 2869 | <background color="#000000A0" /> |
| 2870 | |
| 2871 | <object type="image"> |
| 2872 | <image resource="unlock-icon" /> |
| 2873 | <placement x="%lock_x%" y="%lock_y%" /> |
| 2874 | </object> |
| 2875 | |
| 2876 | <object type="slider"> |
| 2877 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2878 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2879 | <action function="overlay"></action> |
| 2880 | </object> |
| 2881 | |
| 2882 | <object type="text" color="%text_color%"> |
| 2883 | <font resource="font" /> |
| 2884 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2885 | <text>Swipe to Unlock</text> |
| 2886 | </object> |
| 2887 | </page> |
| 2888 | |
| 2889 | |
| 2890 | <page name="filemanagerlist"> |
| 2891 | <object type="template" name="header" /> |
| 2892 | |
| 2893 | <object type="text" color="%text_color%"> |
| 2894 | <font resource="font" /> |
| 2895 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2896 | <text>File Manager: Select a File or Folder</text> |
| 2897 | </object> |
| 2898 | |
| 2899 | <object type="fileselector"> |
| 2900 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 2901 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2902 | <text>Folders:</text> |
| 2903 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2904 | <sort name="tw_gui_sort_order" /> |
| 2905 | <icon folder="folder_icon" file="file_icon" /> |
| 2906 | <background color="%fileselector_background%" /> |
| 2907 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 2908 | <filter folders="1" files="0" /> |
| 2909 | <path name="tw_file_location1" default="/sdcard" /> |
| 2910 | <data name="select" /> |
| 2911 | <selection name="tw_selection1" /> |
| 2912 | </object> |
| 2913 | |
| 2914 | <object type="fileselector"> |
| 2915 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 2916 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2917 | <text>%tw_file_location1%</text> |
| 2918 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2919 | <sort name="tw_gui_sort_order" /> |
| 2920 | <icon folder="folder_icon" file="file_icon" /> |
| 2921 | <background color="%fileselector_background%" /> |
| 2922 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 2923 | <filter folders="0" files="1" /> |
| 2924 | <path name="tw_file_location1" default="/" /> |
| 2925 | <data name="tw_filename1" /> |
| 2926 | <selection name="tw_selection1" /> |
| 2927 | </object> |
| 2928 | |
| 2929 | <object type="template" name="sort_options" /> |
| 2930 | |
| 2931 | <object type="action"> |
| 2932 | <actions> |
| 2933 | <action function="set">tw_fm_type=File</action> |
| 2934 | <action function="set">tw_fm_isfolder=0</action> |
| 2935 | </actions> |
| 2936 | </object> |
| 2937 | |
| 2938 | <object type="action"> |
| 2939 | <touch key="home" /> |
| 2940 | <action function="page">main</action> |
| 2941 | </object> |
| 2942 | |
| 2943 | <object type="action"> |
| 2944 | <touch key="back" /> |
| 2945 | <action function="page">advanced</action> |
| 2946 | </object> |
| 2947 | |
| 2948 | <object type="action"> |
| 2949 | <condition var1="tw_filename1" op="modified" /> |
| 2950 | <actions> |
| 2951 | <action function="page">filemanageroptions</action> |
| 2952 | </actions> |
| 2953 | </object> |
| 2954 | |
| 2955 | <object type="button"> |
| 2956 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 2957 | <font resource="font" color="%button_text_color%" /> |
| 2958 | <text>Select Folder</text> |
| 2959 | <image resource="main_button" /> |
| 2960 | <actions> |
| 2961 | <action function="set">tw_filename1=tw_file_location1</action> |
| 2962 | <action function="set">tw_fm_isfolder=1</action> |
| 2963 | <action function="set">tw_fm_type=Folder</action> |
| 2964 | <action function="page">filemanageroptions</action> |
| 2965 | </actions> |
| 2966 | </object> |
| 2967 | |
| 2968 | <object type="template" name="footer" /> |
| 2969 | </page> |
| 2970 | |
| 2971 | <page name="filemanageroptions"> |
| 2972 | <object type="template" name="header" /> |
| 2973 | |
| 2974 | <object type="text" color="%text_color%"> |
| 2975 | <font resource="font" /> |
| 2976 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2977 | <text>%tw_fm_type% Selected:</text> |
| 2978 | </object> |
| 2979 | |
| 2980 | <object type="text" color="%text_color%"> |
| 2981 | <font resource="font" /> |
| 2982 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 2983 | <text>%tw_filename1%</text> |
| 2984 | </object> |
| 2985 | |
| 2986 | <object type="button"> |
| 2987 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 2988 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2989 | <font resource="font" color="%button_text_color%" /> |
| 2990 | <text>Copy File</text> |
| 2991 | <image resource="main_button" /> |
| 2992 | <actions> |
| 2993 | <action function="set">tw_filemanager_command=cp</action> |
| 2994 | <action function="set">tw_fm_text1=Copying</action> |
| 2995 | <action function="page">choosedestinationfolder</action> |
| 2996 | </actions> |
| 2997 | </object> |
| 2998 | |
| 2999 | <object type="button"> |
| 3000 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3001 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3002 | <font resource="font" color="%button_text_color%" /> |
| 3003 | <text>Copy Folder</text> |
| 3004 | <image resource="main_button" /> |
| 3005 | <actions> |
| 3006 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
| 3007 | <action function="set">tw_fm_text1=Copying</action> |
| 3008 | <action function="page">choosedestinationfolder</action> |
| 3009 | </actions> |
| 3010 | </object> |
| 3011 | |
| 3012 | <object type="button"> |
| 3013 | <placement x="%col2_x%" y="%row2_y%" /> |
| 3014 | <font resource="font" color="%button_text_color%" /> |
| 3015 | <text>Move</text> |
| 3016 | <image resource="main_button" /> |
| 3017 | <actions> |
| 3018 | <action function="set">tw_filemanager_command=mv</action> |
| 3019 | <action function="set">tw_fm_text1=Moving</action> |
| 3020 | <action function="page">choosedestinationfolder</action> |
| 3021 | </actions> |
| 3022 | </object> |
| 3023 | |
| 3024 | <object type="button"> |
| 3025 | <placement x="%col3_x%" y="%row2_y%" /> |
| 3026 | <font resource="font" color="%button_text_color%" /> |
| 3027 | <text>chmod 755</text> |
| 3028 | <image resource="main_button" /> |
| 3029 | <actions> |
| 3030 | <action function="set">tw_filemanager_command=chmod 755</action> |
| 3031 | <action function="set">tw_fm_text1=chmod 755</action> |
| 3032 | <action function="set">tw_fm_text2=</action> |
| 3033 | <action function="set">tw_fm_text3=</action> |
| 3034 | <action function="set">tw_include_text3=0</action> |
| 3035 | <action function="set">tw_back=filemanageroptions</action> |
| 3036 | <action function="page">filemanagerconfirm</action> |
| 3037 | </actions> |
| 3038 | </object> |
| 3039 | |
| 3040 | <object type="button"> |
| 3041 | <placement x="%col4_x%" y="%row2_y%" /> |
| 3042 | <font resource="font" color="%button_text_color%" /> |
| 3043 | <text>chmod</text> |
| 3044 | <image resource="main_button" /> |
| 3045 | <actions> |
| 3046 | <action function="set">tw_filemanager_rename=0000</action> |
| 3047 | <action function="set">tw_fm_text2=</action> |
| 3048 | <action function="set">tw_fm_text3=</action> |
| 3049 | <action function="set">tw_include_text3=0</action> |
| 3050 | <action function="set">tw_back=filemanageroptions</action> |
| 3051 | <action function="page">filemanagerchmod</action> |
| 3052 | </actions> |
| 3053 | </object> |
| 3054 | |
| 3055 | <object type="button"> |
| 3056 | <placement x="%col1_x%" y="%row1_y%" /> |
| 3057 | <font resource="font" color="%button_text_color%" /> |
| 3058 | <text>Delete</text> |
| 3059 | <image resource="main_button" /> |
| 3060 | <actions> |
| 3061 | <action function="set">tw_filemanager_command=rm -rf</action> |
| 3062 | <action function="set">tw_fm_text1=Deleting</action> |
| 3063 | <action function="set">tw_fm_text2=</action> |
| 3064 | <action function="set">tw_fm_text3=</action> |
| 3065 | <action function="set">tw_include_text3=0</action> |
| 3066 | <action function="set">tw_back=filemanageroptions</action> |
| 3067 | <action function="page">filemanagerconfirm</action> |
| 3068 | </actions> |
| 3069 | </object> |
| 3070 | |
| 3071 | <object type="button"> |
| 3072 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3073 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3074 | <font resource="font" color="%button_text_color%" /> |
| 3075 | <text>Rename File</text> |
| 3076 | <image resource="main_button" /> |
| 3077 | <actions> |
| 3078 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3079 | <action function="set">tw_fm_text1=Renaming</action> |
| 3080 | <action function="set">tw_filemanager_command=mv</action> |
| 3081 | <action function="page">filemanagerrenamefile</action> |
| 3082 | </actions> |
| 3083 | </object> |
| 3084 | |
| 3085 | <object type="button"> |
| 3086 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3087 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3088 | <font resource="font" color="%button_text_color%" /> |
| 3089 | <text>Rename Folder</text> |
| 3090 | <image resource="main_button" /> |
| 3091 | <actions> |
| 3092 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3093 | <action function="set">tw_fm_text1=Renaming</action> |
| 3094 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 3095 | <action function="page">filemanagerrenamefolder</action> |
| 3096 | </actions> |
| 3097 | </object> |
| 3098 | |
| 3099 | <object type="action"> |
| 3100 | <touch key="home" /> |
| 3101 | <action function="page">main</action> |
| 3102 | </object> |
| 3103 | |
| 3104 | <object type="action"> |
| 3105 | <touch key="back" /> |
| 3106 | <action function="page">filemanagerlist</action> |
| 3107 | </object> |
| 3108 | |
| 3109 | <object type="template" name="footer" /> |
| 3110 | </page> |
| 3111 | |
| 3112 | <page name="choosedestinationfolder"> |
| 3113 | <object type="template" name="header" /> |
| 3114 | |
| 3115 | <object type="text" color="%text_color%"> |
| 3116 | <font resource="font" /> |
| 3117 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3118 | <text>Browse to Destination Folder & Press Select</text> |
| 3119 | </object> |
| 3120 | |
| 3121 | <object type="fileselector"> |
| 3122 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 3123 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 3124 | <text>%tw_file_location2%</text> |
| 3125 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3126 | <sort name="tw_gui_sort_order" /> |
| 3127 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 3128 | <icon folder="folder_icon" file="file_icon" /> |
| 3129 | <background color="%fileselector_background%" /> |
| 3130 | <filter folders="1" files="0" /> |
| 3131 | <path name="tw_file_location2" default="/sdcard" /> |
| 3132 | <data name="tw_filename2" /> |
| 3133 | </object> |
| 3134 | |
| 3135 | <object type="template" name="sort_options" /> |
| 3136 | |
| 3137 | <object type="action"> |
| 3138 | <touch key="home" /> |
| 3139 | <action function="page">main</action> |
| 3140 | </object> |
| 3141 | |
| 3142 | <object type="action"> |
| 3143 | <touch key="back" /> |
| 3144 | <action function="page">filemanageroptions</action> |
| 3145 | </object> |
| 3146 | |
| 3147 | <object type="button"> |
| 3148 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3149 | <font resource="font" color="%button_text_color%" /> |
| 3150 | <text>Select Folder</text> |
| 3151 | <image resource="main_button" /> |
| 3152 | <actions> |
| 3153 | <action function="set">tw_fm_text2=to</action> |
| 3154 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3155 | <action function="set">tw_include_text3=1</action> |
| 3156 | <action function="set">tw_back=filemanageroptions</action> |
| 3157 | <action function="page">filemanagerconfirm</action> |
| 3158 | </actions> |
| 3159 | </object> |
| 3160 | |
| 3161 | <object type="template" name="footer" /> |
| 3162 | </page> |
| 3163 | |
| 3164 | <page name="filemanagerrenamefile"> |
| 3165 | <object type="template" name="header" /> |
| 3166 | |
| 3167 | <object type="text" color="%text_color%"> |
| 3168 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3169 | <font resource="font" /> |
| 3170 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3171 | </object> |
| 3172 | |
| 3173 | <object type="input"> |
| 3174 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3175 | <background color="%input_background_color%" /> |
| 3176 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3177 | <font resource="font" color="%text_color%" /> |
| 3178 | <text>%tw_filemanager_rename%</text> |
| 3179 | <data name="tw_filemanager_rename" /> |
| 3180 | <restrict minlen="1" maxlen="128" /> |
| 3181 | <actions> |
| 3182 | <action function="set">tw_fm_text2=to</action> |
| 3183 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3184 | <action function="set">tw_include_text3=1</action> |
| 3185 | <action function="set">tw_back=filemanageroptions</action> |
| 3186 | <action function="page">filemanagerconfirm</action> |
| 3187 | </actions> |
| 3188 | </object> |
| 3189 | |
| 3190 | <object type="button"> |
| 3191 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3192 | <font resource="font" color="%button_text_color%" /> |
| 3193 | <text>Cancel</text> |
| 3194 | <image resource="main_button" /> |
| 3195 | <action function="page">filemanageroptions</action> |
| 3196 | </object> |
| 3197 | |
| 3198 | <object type="template" name="keyboardtemplate" /> |
| 3199 | |
| 3200 | <object type="action"> |
| 3201 | <touch key="home" /> |
| 3202 | <action function="page">main</action> |
| 3203 | </object> |
| 3204 | |
| 3205 | <object type="action"> |
| 3206 | <touch key="back" /> |
| 3207 | <action function="page">filemanageroptions</action> |
| 3208 | </object> |
| 3209 | |
| 3210 | <object type="template" name="footer" /> |
| 3211 | </page> |
| 3212 | |
| 3213 | <page name="filemanagerrenamefolder"> |
| 3214 | <object type="template" name="header" /> |
| 3215 | |
| 3216 | <object type="text" color="%text_color%"> |
| 3217 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3218 | <font resource="font" /> |
| 3219 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3220 | </object> |
| 3221 | |
| 3222 | <object type="input"> |
| 3223 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3224 | <background color="%input_background_color%" /> |
| 3225 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3226 | <font resource="font" color="%text_color%" /> |
| 3227 | <text>%tw_filemanager_rename%</text> |
| 3228 | <data name="tw_filemanager_rename" /> |
| 3229 | <restrict minlen="1" maxlen="128" /> |
| 3230 | <actions> |
| 3231 | <action function="set">tw_fm_text2=to</action> |
| 3232 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3233 | <action function="set">tw_include_text3=1</action> |
| 3234 | <action function="set">tw_back=filemanageroptions</action> |
| 3235 | <action function="page">filemanagerconfirm</action> |
| 3236 | </actions> |
| 3237 | </object> |
| 3238 | |
| 3239 | <object type="button"> |
| 3240 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3241 | <font resource="font" color="%button_text_color%" /> |
| 3242 | <text>Cancel</text> |
| 3243 | <image resource="main_button" /> |
| 3244 | <action function="page">filemanageroptions</action> |
| 3245 | </object> |
| 3246 | |
| 3247 | <object type="template" name="keyboardtemplate" /> |
| 3248 | |
| 3249 | <object type="action"> |
| 3250 | <touch key="home" /> |
| 3251 | <action function="page">main</action> |
| 3252 | </object> |
| 3253 | |
| 3254 | <object type="action"> |
| 3255 | <touch key="back" /> |
| 3256 | <action function="page">filemanageroptions</action> |
| 3257 | </object> |
| 3258 | |
| 3259 | <object type="template" name="footer" /> |
| 3260 | </page> |
| 3261 | |
| 3262 | <page name="filemanagerchmod"> |
| 3263 | <object type="template" name="header" /> |
| 3264 | |
| 3265 | <object type="text" color="%text_color%"> |
| 3266 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3267 | <font resource="font" /> |
| 3268 | <text>Please Enter New Permissions</text> |
| 3269 | </object> |
| 3270 | |
| 3271 | <object type="input"> |
| 3272 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3273 | <background color="%input_background_color%" /> |
| 3274 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3275 | <font resource="font" color="%text_color%" /> |
| 3276 | <text>%tw_filemanager_rename%</text> |
| 3277 | <data name="tw_filemanager_rename" /> |
| 3278 | <restrict minlen="3" maxlen="4" allow="0123456789" /> |
| 3279 | <actions> |
| 3280 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3281 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3282 | <action function="set">tw_back=filemanageroptions</action> |
| 3283 | <action function="page">filemanagerconfirm</action> |
| 3284 | </actions> |
| 3285 | </object> |
| 3286 | |
| 3287 | <object type="button"> |
| 3288 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3289 | <font resource="font" color="%button_text_color%" /> |
| 3290 | <text>Cancel</text> |
| 3291 | <image resource="main_button" /> |
| 3292 | <action function="page">filemanageroptions</action> |
| 3293 | </object> |
| 3294 | |
| 3295 | <object type="template" name="keyboardtemplate" /> |
| 3296 | |
| 3297 | <object type="action"> |
| 3298 | <touch key="home" /> |
| 3299 | <action function="page">main</action> |
| 3300 | </object> |
| 3301 | |
| 3302 | <object type="action"> |
| 3303 | <touch key="back" /> |
| 3304 | <action function="page">filemanageroptions</action> |
| 3305 | </object> |
| 3306 | |
| 3307 | <object type="template" name="footer" /> |
| 3308 | </page> |
| 3309 | |
| 3310 | <page name="filemanagerconfirm"> |
| 3311 | <object type="template" name="header" /> |
| 3312 | |
| 3313 | <object type="text" color="%text_color%"> |
| 3314 | <font resource="font" /> |
| 3315 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3316 | <text>%tw_fm_text1%</text> |
| 3317 | </object> |
| 3318 | |
| 3319 | <object type="text" color="%text_color%"> |
| 3320 | <font resource="font" /> |
| 3321 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3322 | <text>%tw_filename1%</text> |
| 3323 | </object> |
| 3324 | |
| 3325 | <object type="text" color="%text_color%"> |
| 3326 | <font resource="font" /> |
| 3327 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3328 | <text>%tw_fm_text2%</text> |
| 3329 | </object> |
| 3330 | |
| 3331 | <object type="text" color="%text_color%"> |
| 3332 | <font resource="font" /> |
| 3333 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3334 | <text>%tw_fm_text3%</text> |
| 3335 | </object> |
| 3336 | |
| 3337 | <object type="text" color="%text_color%"> |
| 3338 | <font resource="font" /> |
| 3339 | <placement x="%center_x%" y="%row10_text_y%" placement="5"/> |
| 3340 | <text>Press back button to cancel.</text> |
| 3341 | </object> |
| 3342 | |
| 3343 | <object type="slider"> |
| 3344 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3345 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3346 | <action function="page">filemanageracction</action> |
| 3347 | </object> |
| 3348 | |
| 3349 | <object type="text" color="%text_color%"> |
| 3350 | <font resource="font" /> |
| 3351 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3352 | <text>Swipe to Confirm</text> |
| 3353 | </object> |
| 3354 | |
| 3355 | <object type="action"> |
| 3356 | <touch key="back" /> |
| 3357 | <action function="page">%tw_back%</action> |
| 3358 | </object> |
| 3359 | |
| 3360 | <object type="action"> |
| 3361 | <touch key="home" /> |
| 3362 | <action function="page">main</action> |
| 3363 | </object> |
| 3364 | |
| 3365 | <object type="template" name="footer" /> |
| 3366 | </page> |
| 3367 | |
| 3368 | <page name="filemanageracction"> |
| 3369 | <object type="template" name="header" /> |
| 3370 | |
| 3371 | <object type="text" color="%text_color%"> |
| 3372 | <font resource="font" /> |
| 3373 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3374 | <text>%tw_fm_text1%</text> |
| 3375 | </object> |
| 3376 | |
| 3377 | <object type="template" name="action_page_console" /> |
| 3378 | |
| 3379 | <object type="template" name="progress_bar" /> |
| 3380 | |
| 3381 | <object type="action"> |
| 3382 | <conditions> |
| 3383 | <condition var1="tw_operation_state" var2="1" /> |
| 3384 | <condition var1="tw_operation_status" var2="0" /> |
| 3385 | </conditions> |
| 3386 | <actions> |
| 3387 | <action function="set">tw_back=filemanagerlist</action> |
| 3388 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3389 | <action function="page">action_complete</action> |
| 3390 | </actions> |
| 3391 | </object> |
| 3392 | |
| 3393 | <object type="action"> |
| 3394 | <conditions> |
| 3395 | <condition var1="tw_operation_state" var2="1" /> |
| 3396 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3397 | </conditions> |
| 3398 | <actions> |
| 3399 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3400 | <action function="page">action_complete</action> |
| 3401 | </actions> |
| 3402 | </object> |
| 3403 | |
| 3404 | <object type="action"> |
| 3405 | <condition var1="tw_include_text3" var2="0" /> |
| 3406 | <actions> |
| 3407 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3408 | </actions> |
| 3409 | </object> |
| 3410 | |
| 3411 | <object type="action"> |
| 3412 | <condition var1="tw_include_text3" var2="1" /> |
| 3413 | <actions> |
| 3414 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3415 | </actions> |
| 3416 | </object> |
| 3417 | </page> |
| 3418 | |
| 3419 | <page name="decrypt"> |
| 3420 | <object type="template" name="header" /> |
| 3421 | |
| 3422 | <object type="text" color="%text_color%"> |
| 3423 | <font resource="font" /> |
| 3424 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3425 | <text>Please Enter Your Password</text> |
| 3426 | </object> |
| 3427 | |
| 3428 | <object type="input"> |
| 3429 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3430 | <background color="%input_background_color%" /> |
| 3431 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3432 | <font resource="font" color="%text_color%" /> |
| 3433 | <text>%tw_crypto_display%</text> |
| 3434 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> |
| 3435 | <restrict minlen="1" maxlen="254" /> |
| 3436 | <actions> |
| 3437 | <action function="page">trydecrypt</action> |
| 3438 | </actions> |
| 3439 | </object> |
| 3440 | |
| 3441 | <object type="text" color="%text_fail_color%"> |
| 3442 | <condition var1="tw_password_fail" var2="1" /> |
| 3443 | <font resource="font" /> |
| 3444 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 3445 | <text>Password Failed, Please Try Again</text> |
| 3446 | </object> |
| 3447 | |
| 3448 | <object type="button"> |
| 3449 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3450 | <font resource="font" color="%button_text_color%" /> |
| 3451 | <text>Cancel</text> |
| 3452 | <image resource="main_button" /> |
| 3453 | <actions> |
| 3454 | <action function="page">main</action> |
| 3455 | </actions> |
| 3456 | </object> |
| 3457 | |
| 3458 | <object type="template" name="keyboardtemplate" /> |
| 3459 | |
| 3460 | <object type="action"> |
| 3461 | <touch key="home" /> |
| 3462 | <actions> |
| 3463 | <action function="page">main</action> |
| 3464 | </actions> |
| 3465 | </object> |
| 3466 | |
| 3467 | <object type="action"> |
| 3468 | <touch key="back" /> |
| 3469 | <actions> |
| 3470 | <action function="page">main</action> |
| 3471 | </actions> |
| 3472 | </object> |
| 3473 | |
| 3474 | <object type="template" name="footer" /> |
| 3475 | </page> |
| 3476 | |
| 3477 | <page name="trydecrypt"> |
| 3478 | <object type="template" name="header" /> |
| 3479 | |
| 3480 | <object type="text" color="%text_color%"> |
| 3481 | <font resource="font" /> |
| 3482 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3483 | <text>Trying Decryption with Your Password</text> |
| 3484 | </object> |
| 3485 | |
| 3486 | <object type="template" name="action_page_console" /> |
| 3487 | |
| 3488 | <object type="template" name="progress_bar" /> |
| 3489 | |
| 3490 | <object type="action"> |
| 3491 | <action function="decrypt"></action> |
| 3492 | </object> |
| 3493 | |
| 3494 | <object type="action"> |
| 3495 | <conditions> |
| 3496 | <condition var1="tw_operation_state" var2="1" /> |
| 3497 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3498 | </conditions> |
| 3499 | <actions> |
| 3500 | <action function="set">tw_password_fail=1</action> |
| 3501 | <action function="page">decrypt</action> |
| 3502 | </actions> |
| 3503 | </object> |
| 3504 | |
| 3505 | <object type="action"> |
| 3506 | <conditions> |
| 3507 | <condition var1="tw_operation_state" var2="1" /> |
| 3508 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 3509 | </conditions> |
| 3510 | <action function="page">main</action> |
| 3511 | </object> |
| 3512 | </page> |
| 3513 | |
| 3514 | <page name="terminalfolder"> |
| 3515 | <object type="template" name="header" /> |
| 3516 | |
| 3517 | <object type="text" color="%text_color%"> |
| 3518 | <font resource="font" /> |
| 3519 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3520 | <text>Browse to Starting Folder</text> |
| 3521 | </object> |
| 3522 | |
| 3523 | <object type="fileselector"> |
| 3524 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 3525 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 3526 | <text>%tw_terminal_location%</text> |
| 3527 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3528 | <sort name="tw_gui_sort_order" /> |
| 3529 | <icon folder="folder_icon" file="file_icon" /> |
| 3530 | <background color="%fileselector_background%" /> |
| 3531 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" /> |
| 3532 | <filter folders="1" files="0" /> |
| 3533 | <path name="tw_terminal_location" default="/" /> |
| 3534 | <data name="tw_terminal" /> |
| 3535 | <selection name="tw_terminal_selection" /> |
| 3536 | </object> |
| 3537 | |
| 3538 | <object type="template" name="sort_options" /> |
| 3539 | |
| 3540 | <object type="action"> |
| 3541 | <touch key="home" /> |
| 3542 | <action function="page">main</action> |
| 3543 | </object> |
| 3544 | |
| 3545 | <object type="action"> |
| 3546 | <touch key="back" /> |
| 3547 | <action function="page">advanced</action> |
| 3548 | </object> |
| 3549 | |
| 3550 | <object type="button"> |
| 3551 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3552 | <font resource="font" color="%button_text_color%" /> |
| 3553 | <text>Select Folder</text> |
| 3554 | <image resource="main_button" /> |
| 3555 | <actions> |
| 3556 | <action function="page">terminalcommand</action> |
| 3557 | </actions> |
| 3558 | </object> |
| 3559 | |
| 3560 | <object type="template" name="footer" /> |
| 3561 | </page> |
| 3562 | |
| 3563 | <page name="terminalcommand"> |
| 3564 | <background color="#000000FF" /> |
| 3565 | |
| 3566 | <object type="console"> |
| 3567 | <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> |
| 3568 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 3569 | <font resource="fixed" /> |
| 3570 | </object> |
| 3571 | |
| 3572 | <object type="text" color="%text_color%"> |
| 3573 | <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> |
| 3574 | <font resource="font" /> |
| 3575 | <text>Starting Path: %tw_terminal_location%</text> |
| 3576 | </object> |
| 3577 | |
| 3578 | <object type="input"> |
| 3579 | <condition var1="tw_terminal_state" var2="0" /> |
| 3580 | <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> |
| 3581 | <background color="%input_background_color%" /> |
| 3582 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3583 | <font resource="font" color="%text_color%" /> |
| 3584 | <text>%tw_terminal_command%</text> |
| 3585 | <data name="tw_terminal_command" /> |
| 3586 | <restrict minlen="1" /> |
| 3587 | <action function="terminalcommand">%tw_terminal_command%</action> |
| 3588 | </object> |
| 3589 | |
| 3590 | <object type="button"> |
| 3591 | <condition var1="tw_terminal_state" var2="1" /> |
| 3592 | <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> |
| 3593 | <font resource="font" color="%button_text_color%" /> |
| 3594 | <text>KILL</text> |
| 3595 | <image resource="medium_button" /> |
| 3596 | <action function="killterminal"></action> |
| 3597 | </object> |
| 3598 | |
| 3599 | <object type="button"> |
| 3600 | <placement x="%home_button_x%" y="%terminal_button_y%" /> |
| 3601 | <font resource="font" color="%button_text_color%" /> |
| 3602 | <text></text> |
| 3603 | <image resource="home_icon" /> |
| 3604 | <condition var1="tw_busy" var2="0" /> |
| 3605 | <action function="key">home</action> |
| 3606 | </object> |
| 3607 | |
| 3608 | <object type="button"> |
| 3609 | <placement x="%back_button_x%" y="%terminal_button_y%" /> |
| 3610 | <font resource="font" color="%button_text_color%" /> |
| 3611 | <text></text> |
| 3612 | <image resource="back_icon" /> |
| 3613 | <condition var1="tw_busy" var2="0" /> |
| 3614 | <action function="key">back</action> |
| 3615 | </object> |
| 3616 | |
| 3617 | <object type="action"> |
| 3618 | <touch key="power" /> |
| 3619 | <action function="overlay">lock</action> |
| 3620 | </object> |
| 3621 | |
| 3622 | <object type="template" name="keyboardtemplate" /> |
| 3623 | |
| 3624 | <object type="action"> |
| 3625 | <touch key="home" /> |
| 3626 | <action function="page">main</action> |
| 3627 | </object> |
| 3628 | |
| 3629 | <object type="action"> |
| 3630 | <touch key="back" /> |
| 3631 | <action function="page">terminalfolder</action> |
| 3632 | </object> |
| 3633 | </page> |
| 3634 | </pages> |
| 3635 | </recovery> |