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