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