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