blob: d2808c674224c57769314d5f6cea01ce73cab4af [file] [log] [blame]
masteroftimeb58e6d22014-01-15 20:16:17 +00001<?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 Troy54a69f42014-03-06 14:22:28 +000097 <variable name="caps_highlight_color" value="#33B5E580" />
masteroftimeb58e6d22014-01-15 20:16:17 +000098 <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 Troy54a69f42014-03-06 14:22:28 +0000354 <capshighlight color="%caps_highlight_color%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000355 <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 Troy54a69f42014-03-06 14:22:28 +0000363 <keysize height="32" width="24" capslock="0" revert_layout="1" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000364 <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%">
1089 <condition var1="tw_has_data_media" var2="0" />
1090 <font resource="font" />
1091 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1092 <text>.android_secure</text>
1093 </object>
1094
1095 <object type="text" color="%text_color%">
1096 <condition var1="tw_has_data_media" var2="1" />
1097 <font resource="font" />
1098 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1099 <text>(not including internal storage)</text>
1100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <condition var1="tw_has_sdext_partition" var2="1" />
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1106 <text>SD-EXT</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <font resource="font" />
1111 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1112 <text>Most of the time this is</text>
1113 </object>
1114
1115 <object type="text" color="%text_color%">
1116 <font resource="font" />
1117 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1118 <text>the only wipe that you need.</text>
1119 </object>
1120
1121 <object type="text" color="%text_color%">
1122 <font resource="font" />
1123 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
1124 <text>Press back button to cancel.</text>
1125 </object>
1126
1127 <object type="button">
1128 <highlight color="%highlight_color%" />
1129 <placement x="%col1_x%" y="%wipe_button_y%" />
1130 <font resource="font" color="%button_text_color%" />
1131 <text>Advanced Wipe</text>
1132 <image resource="main_button" />
1133 <action function="page">advancedwipe</action>
1134 </object>
1135
1136 <object type="button">
1137 <conditions>
1138 <condition var1="tw_has_internal" var2="1" />
1139 <condition var1="tw_has_data_media" var2="1" />
1140 </conditions>
1141 <highlight color="%highlight_color%" />
1142 <placement x="%col2_x%" y="%wipe_button_y%" />
1143 <font resource="font" color="%button_text_color%" />
1144 <text>Format Data</text>
1145 <image resource="main_button" />
1146 <actions>
1147 <action function="page">formatdata</action>
1148 </actions>
1149 </object>
1150
1151 <object type="slider">
1152 <placement x="%slider_x%" y="%slider_y%" />
1153 <resource base="slider" used="slider-used" touch="slider-touch" />
1154 <actions>
1155 <action function="set">tw_back=wipe</action>
1156 <action function="set">tw_action=wipe</action>
1157 <action function="set">tw_action_param=data</action>
1158 <action function="set">tw_action_text1=Factory Reset...</action>
1159 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1160 <action function="page">action_page</action>
1161 </actions>
1162 </object>
1163
1164 <object type="text" color="%text_color%">
1165 <font resource="font" />
1166 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1167 <text>Swipe to Factory Reset</text>
1168 </object>
1169
1170 <object type="action">
1171 <touch key="back" />
1172 <action function="page">main</action>
1173 </object>
1174
1175 <object type="action">
1176 <touch key="home" />
1177 <action function="page">main</action>
1178 </object>
1179
1180 <object type="template" name="footer" />
1181 </page>
1182
1183 <page name="advancedwipe">
1184 <object type="template" name="header" />
1185
1186 <object type="text" color="%text_color%">
1187 <font resource="font" />
1188 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1189 <text>Wipe Menu</text>
1190 </object>
1191
1192 <object type="partitionlist">
1193 <highlight color="%fileselector_highlight_color%" />
1194 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1195 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1196 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1197 <text>Select Partitions to Wipe:</text>
1198 <icon selected="checkbox_true" unselected="checkbox_false" />
1199 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1200 <background color="%listbox_background%" />
1201 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1202 <data name="tw_wipe_list" />
1203 <listtype name="wipe" />
1204 </object>
1205
1206 <object type="slider">
1207 <placement x="%slider_x%" y="%slider_y%" />
1208 <resource base="slider" used="slider-used" touch="slider-touch" />
1209 <actions>
1210 <action function="set">tw_back=advancedwipe</action>
1211 <action function="set">tw_action=wipe</action>
1212 <action function="set">tw_action_param=LIST</action>
1213 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1214 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1215 <action function="set">tw_complete_text1=Wipe Complete</action>
1216 <action function="page">action_page</action>
1217 </actions>
1218 </object>
1219
1220 <object type="text" color="%text_color%">
1221 <font resource="font" />
1222 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1223 <text>Swipe to Wipe</text>
1224 </object>
1225
1226 <object type="action">
1227 <touch key="home" />
1228 <action function="page">main</action>
1229 </object>
1230
1231 <object type="action">
1232 <touch key="back" />
1233 <action function="page">wipe</action>
1234 </object>
1235
1236 <object type="template" name="footer" />
1237 </page>
1238
1239 <page name="formatdata">
1240 <object type="template" name="header" />
1241
1242 <object type="text" color="%text_color%">
1243 <font resource="font" />
1244 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1245 <text>Format Data will wipe your device,</text>
1246 </object>
1247
1248 <object type="text" color="%text_color%">
1249 <font resource="font" />
1250 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1251 <text>backups, media, and radio.</text>
1252 </object>
1253
1254 <object type="text" color="%text_color%">
1255 <font resource="font" />
1256 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1257 <text>This cannot be undone. Press back to cancel.</text>
1258 </object>
1259
1260 <object type="text" color="%text_color%">
1261 <font resource="font" />
1262 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1263 <text>Type yes to continue.</text>
1264 </object>
1265
1266 <object type="input">
1267 <placement x="%col3_x%" y="%row3_text_y%" w="%input_width_conf%" h="%input_height%" placement="0" />
1268 <background color="%input_background_color%" />
1269 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1270 <font resource="font" color="%text_color%" />
1271 <text>%tw_confirm_formatdata%</text>
1272 <data name="tw_confirm_formatdata" />
1273 <restrict minlen="3" maxlen="3" allow="yes" />
1274 <action function="page">formatdata_confirm</action>
1275 </object>
1276
1277 <object type="template" name="keyboardtemplate" />
1278
1279 <object type="action">
1280 <touch key="home" />
1281 <action function="page">main</action>
1282 </object>
1283
1284 <object type="action">
1285 <touch key="back" />
1286 <action function="page">wipe</action>
1287 </object>
1288
1289 <object type="template" name="footer" />
1290 </page>
1291
1292 <page name="formatdata_confirm">
1293 <object type="action">
1294 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1295 <actions>
1296 <action function="set">tw_back=formatdata</action>
1297 <action function="set">tw_action=wipe</action>
1298 <action function="set">tw_action_param=DATAMEDIA</action>
1299 <action function="set">tw_action_text1=Formatting Data...</action>
1300 <action function="set">tw_complete_text1=Data Format Complete</action>
1301 <action function="page">action_page</action>
1302 </actions>
1303 </object>
1304
1305 <object type="action">
1306 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1307 <action function="page">formatdata</function>
1308 </object>
1309 </page>
1310
1311 <page name="backup">
1312 <object type="template" name="header" />
1313
1314 <object type="button">
1315 <highlight color="%highlight_color%" />
1316 <fill color="%button_fill_color%" />
1317 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
1318 <font resource="font" color="%button_text_color%" />
1319 <text>Backup Name: %tw_backup_name%</text>
1320 <actions>
1321 <action function="set">tw_fileexists=0</action>
1322 <action function="page">backupname1</action>
1323 </actions>
1324 </object>
1325
1326 <object type="partitionlist">
1327 <highlight color="%fileselector_highlight_color%" />
1328 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1329 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1330 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1331 <text>Select Partitions to Back Up:</text>
1332 <icon selected="checkbox_true" unselected="checkbox_false" />
1333 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1334 <background color="%listbox_background%" />
1335 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1336 <data name="tw_backup_list" />
1337 <listtype name="backup" />
1338 </object>
1339
1340 <object type="button">
1341 <conditions>
1342 <condition var1="tw_include_encrypted_backup" var2="1" />
1343 <condition var1="tw_encrypt_backup" var2="0" />
1344 </conditions>
1345 <highlight color="%highlight_color%" />
1346 <fill color="%button_fill_color%" />
1347 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1348 <font resource="font" color="%button_text_color%" />
1349 <text>No Encryption</text>
1350 <actions>
1351 <action function="page">backupencryption</action>
1352 </actions>
1353 </object>
1354
1355 <object type="button">
1356 <conditions>
1357 <condition var1="tw_include_encrypted_backup" var2="1" />
1358 <condition var1="tw_encrypt_backup" var2="1" />
1359 </conditions>
1360 <highlight color="%highlight_color%" />
1361 <fill color="%button_fill_color%" />
1362 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1363 <font resource="font" color="%button_text_color%" />
1364 <text>Using Encryption</text>
1365 <actions>
1366 <action function="set">tw_password_not_match=0</action>
1367 <action function="page">backupencryption</action>
1368 </actions>
1369 </object>
1370
1371 <object type="button">
1372 <highlight color="%highlight_color%" />
1373 <fill color="%button_fill_color%" />
1374 <placement x="%button_refresh_x%" y="%row9_text_y%" w="%button_fill_med_width%" h="%button_fill_quarter_height%" />
1375 <font resource="font" color="%button_text_color%" />
1376 <text>Refresh</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001377 <actions>
1378 <action function="refreshsizes"></action>
1379 <action function="page">backup</action>
1380 </actions>
masteroftimeb58e6d22014-01-15 20:16:17 +00001381 </object>
1382
1383 <object type="button">
1384 <highlight color="%highlight_color%" />
1385 <fill color="%button_fill_color%" />
1386 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1387 <font resource="font" color="%button_text_color%" />
1388 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1389 <actions>
1390 <action function="set">tw_back=backup</action>
1391 <action function="page">selectstorage</action>
1392 </actions>
1393 </object>
1394
1395 <object type="checkbox">
1396 <placement x="%col1_x%" y="%row9_text_y%" />
1397 <font resource="font" color="%text_color%" />
1398 <text>Enable compression.</text>
1399 <data variable="tw_use_compression" />
1400 <image checked="checkbox_true" unchecked="checkbox_false" />
1401 </object>
1402
1403 <object type="checkbox">
1404 <placement x="%col1_x%" y="%row10_text_y%" />
1405 <font resource="font" color="%text_color%" />
1406 <text>Skip MD5 generation during backup.</text>
1407 <data variable="tw_skip_md5_generate" />
1408 <image checked="checkbox_true" unchecked="checkbox_false" />
1409 </object>
1410
1411 <object type="slider">
1412 <placement x="%slider_x%" y="slider_y" />
1413 <resource base="slider" used="slider-used" touch="slider-touch" />
1414 <action function="page">backup_run</action>
1415 </object>
1416
1417 <object type="text" color="%text_color%">
1418 <font resource="font" />
1419 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1420 <text>Swipe to Back Up</text>
1421 </object>
1422
1423 <object type="action">
1424 <touch key="home" />
1425 <action function="page">main</action>
1426 </object>
1427
1428 <object type="action">
1429 <touch key="back" />
1430 <action function="page">main</action>
1431 </object>
1432
1433 <object type="template" name="footer" />
1434 </page>
1435
1436 <page name="backupname1">
1437 <object type="action">
1438 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1439 <action function="generatebackupname"></function>
1440 </object>
1441
1442 <object type="action">
1443 <action function="page">backupname2</function>
1444 </object>
1445 </page>
1446
1447 <page name="backupname2">
1448 <object type="template" name="header" />
1449
1450 <object type="text" color="%text_color%">
1451 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1452 <font resource="font" />
1453 <text>Please Enter a Backup Name</text>
1454 </object>
1455
1456 <object type="input">
1457 <placement x="%col1_x%" y="%row1_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1458 <background color="%input_background_color%" />
1459 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1460 <font resource="font" color="%text_color%" />
1461 <text>%tw_backup_name%</text>
1462 <data name="tw_backup_name" />
1463 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1464 <actions>
1465 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1466 <action function="set">tw_existpage=backupname2</action>
1467 <action function="set">tw_notexistpage=backup</action>
1468 <action function="page">filecheck</action>
1469 </actions>
1470 </object>
1471
1472 <object type="text" color="%text_fail_color%">
1473 <condition var1="tw_fileexists" var2="1" />
1474 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1475 <font resource="font" />
1476 <text>A backup with that name already exists!</text>
1477 </object>
1478
1479 <object type="button">
1480 <highlight color="%highlight_color%" />
1481 <fill color="%button_fill_color%" />
1482 <placement x="%col1_x%" y="%backup_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1483 <font resource="font" color="%button_text_color%" />
1484 <text>Append Date</text>
1485 <action function="appenddatetobackupname"></action>
1486 </object>
1487
1488 <object type="button">
1489 <highlight color="%highlight_color%" />
1490 <fill color="%button_fill_color%" />
1491 <placement x="%col2_x%" y="%backup_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1492 <font resource="font" color="%button_text_color%" />
1493 <text>Cancel</text>
1494 <action function="page">main</action>
1495 </object>
1496
1497 <object type="template" name="keyboardtemplate" />
1498
1499 <object type="action">
1500 <touch key="home" />
1501 <actions>
1502 <action function="set">tw_backup_name=(Auto Generate)</action>
1503 <action function="page">main</action>
1504 </actions>
1505 </object>
1506
1507 <object type="action">
1508 <touch key="back" />
1509 <actions>
1510 <action function="set">tw_backup_name=(Auto Generate)</action>
1511 <action function="page">backup</action>
1512 </actions>
1513 </object>
1514
1515 <object type="template" name="footer" />
1516 </page>
1517
1518 <page name="backupencryption">
1519 <object type="template" name="header" />
1520
1521 <object type="text" color="%text_color%">
1522 <font resource="font" />
1523 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1524 <text>Encrypt your backup?</text>
1525 </object>
1526
1527 <object type="text" color="%text_color%">
1528 <font resource="font" />
1529 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1530 <text>Please Enter A Password:</text>
1531 </object>
1532
1533 <object type="input">
1534 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1535 <background color="%input_background_color%" />
1536 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1537 <font resource="font" color="%text_color%" />
1538 <text>%tw_backup_encrypt_display%</text>
1539 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1540 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1541 <action function="page">backupencryption2</action>
1542 </object>
1543
1544 <object type="text" color="%text_fail_color%">
1545 <condition var1="tw_password_not_match" var2="1" />
1546 <font resource="font" />
1547 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1548 <text>Passwords Do Not Match</text>
1549 </object>
1550
1551 <object type="button">
1552 <highlight color="%highlight_color%" />
1553 <placement x="%col_center_x%" y="%row2_y%" />
1554 <font resource="font" color="%button_text_color%" />
1555 <text>Cancel</text>
1556 <image resource="main_button" />
1557 <actions>
1558 <action function="set">tw_encrypt_backup=0</action>
1559 <action function="set">tw_backup_password=</action>
1560 <action function="set">tw_backup_password2=</action>
1561 <action function="set">tw_backup_encrypt_display=</action>
1562 <action function="set">tw_backup_encrypt_display2=</action>
1563 <action function="page">backup</action>
1564 </actions>
1565 </object>
1566
1567 <object type="template" name="keyboardtemplate" />
1568
1569 <object type="action">
1570 <touch key="home" />
1571 <action function="page">main</action>
1572 </object>
1573
1574 <object type="action">
1575 <touch key="back" />
1576 <action function="page">backup</action>
1577 </object>
1578
1579 <object type="template" name="footer" />
1580 </page>
1581
1582 <page name="backupencryption2">
1583 <object type="template" name="header" />
1584
1585 <object type="text" color="%text_color%">
1586 <font resource="font" />
1587 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1588 <text>Encrypt your backup?</text>
1589 </object>
1590
1591 <object type="text" color="%text_color%">
1592 <font resource="font" />
1593 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1594 <text>Please Enter Password Again:</text>
1595 </object>
1596
1597 <object type="input">
1598 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1599 <background color="%input_background_color%" />
1600 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1601 <font resource="font" color="%text_color%" />
1602 <text>%tw_backup_encrypt_display2%</text>
1603 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1604 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1605 <actions>
1606 <action function="page">checkbackuppassword</action>
1607 </actions>
1608 </object>
1609
1610 <object type="button">
1611 <highlight color="%highlight_color%" />
1612 <placement x="%col_center_x%" y="%row2_y%" />
1613 <font resource="font" color="%button_text_color%" />
1614 <text>Cancel</text>
1615 <image resource="main_button" />
1616 <actions>
1617 <action function="set">tw_encrypt_backup=0</action>
1618 <action function="set">tw_backup_password=</action>
1619 <action function="set">tw_backup_password2=</action>
1620 <action function="set">tw_backup_encrypt_display=</action>
1621 <action function="set">tw_backup_encrypt_display2=</action>
1622 <action function="page">backup</action>
1623 </actions>
1624 </object>
1625
1626 <object type="template" name="keyboardtemplate" />
1627
1628 <object type="action">
1629 <touch key="home" />
1630 <action function="page">main</action>
1631 </object>
1632
1633 <object type="action">
1634 <touch key="back" />
1635 <action function="page">backup</action>
1636 </object>
1637
1638 <object type="template" name="footer" />
1639 </page>
1640
1641 <page name="checkbackuppassword">
1642 <object type="action">
1643 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1644 <actions>
1645 <action function="set">tw_encrypt_backup=1</action>
1646 <action function="page">backup</action>
1647 </actions>
1648 </object>
1649
1650 <object type="action">
1651 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1652 <actions>
1653 <action function="set">tw_encrypt_backup=0</action>
1654 <action function="set">tw_password_not_match=1</action>
1655 <action function="set">tw_backup_password=</action>
1656 <action function="set">tw_backup_password2=</action>
1657 <action function="set">tw_backup_encrypt_display=</action>
1658 <action function="set">tw_backup_encrypt_display2=</action>
1659 <action function="page">backupencryption</action>
1660 </actions>
1661 </object>
1662 </page>
1663
1664 <page name="backup_run">
1665 <object type="template" name="header" />
1666
1667 <object type="text" color="%text_color%">
1668 <font resource="font" />
1669 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1670 <text>%tw_operation% %tw_partition%</text>
1671 </object>
1672
1673 <object type="template" name="action_page_console" />
1674
1675 <object type="template" name="progress_bar" />
1676
1677 <object type="action">
1678 <action function="nandroid">backup</action>
1679 </object>
1680
1681 <object type="action">
1682 <condition var1="tw_operation_state" var2="1" />
1683 <actions>
1684 <action function="set">tw_back=backup</action>
1685 <action function="set">tw_complete_text1=Backup Complete</action>
1686 <action function="set">tw_show_reboot=1</action>
1687 <action function="page">action_complete</action>
1688 </actions>
1689 </object>
1690 </page>
1691
1692 <page name="restore">
1693 <object type="template" name="header" />
1694
1695 <object type="button">
1696 <highlight color="%highlight_color%" />
1697 <fill color="%button_fill_color%" />
1698 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1699 <font resource="font" color="%button_text_color%" />
1700 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1701 <actions>
1702 <action function="set">tw_back=restore</action>
1703 <action function="page">selectstorage</action>
1704 </actions>
1705 </object>
1706
1707 <object type="fileselector">
1708 <highlight color="%fileselector_highlight_color%" />
1709 <placement x="%fileselector_x%" y="%row1_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1710 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1711 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1712 <text>Select Package to Restore:</text>
1713 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1714 <sort name="tw_gui_sort_order" />
1715 <icon folder="folder_icon" file="file_icon" />
1716 <background color="%fileselector_background%" />
1717 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1718 <filter folders="1" files="0" nav="0" />
1719 <path name="tw_backups_folder" />
1720 <data name="tw_restore" default="" />
1721 <selection name="tw_restore_name" />
1722 </object>
1723
1724 <object type="template" name="sort_options" />
1725
1726 <object type="action">
1727 <condition var1="tw_restore" op="modified" />
1728 <actions>
1729 <action function="readBackup"></action>
1730 <action function="page">restore_read</action>
1731 </actions>
1732 </object>
1733
1734 <object type="action">
1735 <touch key="home" />
1736 <action function="page">main</action>
1737 </object>
1738
1739 <object type="action">
1740 <touch key="back" />
1741 <action function="page">main</action>
1742 </object>
1743
1744 <object type="template" name="footer" />
1745 </page>
1746
1747 <page name="restore_read">
1748 <object type="action">
1749 <condition var1="tw_restore_encrypted" var2="1" />
1750 <actions>
1751 <action function="set">tw_password_fail=0</action>
1752 <action function="page">restore_decrypt</action>
1753 </actions>
1754 </object>
1755
1756 <object type="action">
1757 <condition var1="tw_restore_encrypted" var2="0" />
1758 <actions>
1759 <action function="page">restore_select</action>
1760 </actions>
1761 </object>
1762 </page>
1763
1764 <page name="restore_decrypt">
1765 <object type="template" name="header" />
1766
1767 <object type="text" color="%text_color%">
1768 <font resource="font" />
1769 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1770 <text>Backup Encrypted</text>
1771 </object>
1772
1773 <object type="text" color="%text_color%">
1774 <font resource="font" />
1775 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1776 <text>Please Enter Your Password:</text>
1777 </object>
1778
1779 <object type="input">
1780 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1781 <background color="%input_background_color%" />
1782 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1783 <font resource="font" color="%text_color%" />
1784 <text>%tw_restore_display%</text>
1785 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1786 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1787 <actions>
1788 <action function="page">try_restore_decrypt</action>
1789 </actions>
1790 </object>
1791
1792 <object type="text" color="%text_fail_color%">
1793 <condition var1="tw_password_fail" var2="1" />
1794 <font resource="font" />
1795 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1796 <text>Password Failed, Please Try Again</text>
1797 </object>
1798
1799 <object type="button">
1800 <highlight color="%highlight_color%" />
1801 <placement x="%col1_x%" y="%row2_y%" />
1802 <font resource="font" color="%button_text_color%" />
1803 <text>Cancel</text>
1804 <image resource="main_button" />
1805 <actions>
1806 <action function="set">tw_page_done=1</action>
1807 <action function="page">restore</action>
1808 </actions>
1809 </object>
1810
1811 <object type="button">
1812 <highlight color="%highlight_color%" />
1813 <placement x="%col2_x%" y="%row2_y%" />
1814 <font resource="font" color="%button_text_color%" />
1815 <text>Delete</text>
1816 <image resource="main_button" />
1817 <actions>
1818 <action function="set">tw_back=restore</action>
1819 <action function="set">tw_action=cmd</action>
1820 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1821 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1822 <action function="set">tw_text2=This cannot be undone!</action>
1823 <action function="set">tw_action_text1=Deleting Backup...</action>
1824 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1825 <action function="set">tw_slider_text=Swipe to Delete</action>
1826 <action function="page">confirm_action</action>
1827 </actions>
1828 </object>
1829
1830 <object type="template" name="keyboardtemplate" />
1831
1832 <object type="action">
1833 <touch key="home" />
1834 <action function="page">main</action>
1835 </object>
1836
1837 <object type="action">
1838 <touch key="back" />
1839 <action function="page">restore</action>
1840 </object>
1841
1842 <object type="template" name="footer" />
1843 </page>
1844
1845 <page name="try_restore_decrypt">
1846 <object type="template" name="header" />
1847
1848 <object type="text" color="%text_color%">
1849 <font resource="font" />
1850 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1851 <text>Trying Decryption with Your Password</text>
1852 </object>
1853
1854 <object type="template" name="action_page_console" />
1855
1856 <object type="template" name="progress_bar" />
1857
1858 <object type="action">
1859 <action function="decrypt_backup"></action>
1860 </object>
1861
1862 <object type="action">
1863 <conditions>
1864 <condition var1="tw_operation_state" var2="1" />
1865 <condition var1="tw_operation_status" op="!=" var2="0" />
1866 </conditions>
1867 <actions>
1868 <action function="set">tw_password_fail=1</action>
1869 <action function="page">restore_decrypt</action>
1870 </actions>
1871 </object>
1872
1873 <object type="action">
1874 <conditions>
1875 <condition var1="tw_operation_state" var2="1" />
1876 <condition var1="tw_operation_status" op="=" var2="0" />
1877 </conditions>
1878 <actions>
1879 <action function="set">tw_page_done=1</action>
1880 <action function="page">restore_select</action>
1881 </actions>
1882 </object>
1883 </page>
1884
1885 <page name="restore_select">
1886 <object type="template" name="header" />
1887
1888 <object type="partitionlist">
1889 <highlight color="%fileselector_highlight_color%" />
1890 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1891 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1892 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1893 <text>Restoring: %tw_restore_name%</text>
1894 <icon selected="checkbox_true" unselected="checkbox_false" />
1895 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1896 <background color="%listbox_background%" />
1897 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1898 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1899 <listtype name="restore" />
1900 </object>
1901
1902 <object type="button">
1903 <highlight color="%highlight_color%" />
1904 <fill color="%button_fill_color%" />
1905 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1906 <font resource="font" color="%button_text_color%" />
1907 <text>Rename Backup</text>
1908 <actions>
1909 <action function="set">tw_backup_rename=</action>
1910 <action function="set">tw_fileexists=0</action>
1911 <action function="page">renamebackup</action>
1912 </actions>
1913 </object>
1914
1915 <object type="button">
1916 <highlight color="%highlight_color%" />
1917 <fill color="%button_fill_color%" />
1918 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1919 <font resource="font" color="%button_text_color%" />
1920 <text>Delete Backup</text>
1921 <actions>
1922 <action function="set">tw_back=restore</action>
1923 <action function="set">tw_action=cmd</action>
1924 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1925 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1926 <action function="set">tw_text2=This cannot be undone!</action>
1927 <action function="set">tw_action_text1=Deleting Backup...</action>
1928 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1929 <action function="set">tw_slider_text=Swipe to Delete</action>
1930 <action function="page">confirm_action</action>
1931 </actions>
1932 </object>
1933
1934 <object type="checkbox">
1935 <placement x="%col1_x%" y="%row9_text_y%" />
1936 <font resource="font" color="%text_color%" />
1937 <text>Enable MD5 verification of backup files.</text>
1938 <data variable="tw_skip_md5_check" />
1939 <image checked="checkbox_true" unchecked="checkbox_false" />
1940 </object>
1941
1942 <object type="text" color="%text_color%">
1943 <font resource="font" />
1944 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
1945 <text>Package Date: %tw_restore_file_date%</text>
1946 </object>
1947
1948 <object type="slider">
1949 <placement x="%slider_x%" y="%slider_y%" />
1950 <resource base="slider" used="slider-used" touch="slider-touch" />
1951 <action function="page">restore_run</action>
1952 </object>
1953
1954 <object type="text" color="%text_color%">
1955 <font resource="font" />
1956 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1957 <text>Swipe to Restore</text>
1958 </object>
1959
1960 <object type="action">
1961 <touch key="home" />
1962 <action function="page">main</action>
1963 </object>
1964
1965 <object type="action">
1966 <touch key="back" />
1967 <action function="page">restore</action>
1968 </object>
1969
1970 <object type="template" name="footer" />
1971 </page>
1972
1973 <page name="renamebackup">
1974 <object type="template" name="header" />
1975
1976 <object type="text" color="%text_color%">
1977 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1978 <font resource="font" />
1979 <text>Please Enter a New Backup Name</text>
1980 </object>
1981
1982 <object type="input">
1983 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1984 <background color="%input_background_color%" />
1985 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1986 <font resource="font" color="%text_color%" />
1987 <text>%tw_backup_rename%</text>
1988 <data name="tw_backup_rename" />
1989 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1990 <actions>
1991 <action function="set">tw_back=restore</action>
1992 <action function="set">tw_action=cmd</action>
1993 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
1994 <action function="set">tw_text1=Rename Backup?</action>
1995 <action function="set">tw_text2=This cannot be undone!</action>
1996 <action function="set">tw_action_text1=Renaming Backup...</action>
1997 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1998 <action function="set">tw_slider_text=Swipe to Rename</action>
1999 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2000 <action function="set">tw_existpage=renamebackup</action>
2001 <action function="set">tw_notexistpage=confirm_action</action>
2002 <action function="page">filecheck</action>
2003 </actions>
2004 </object>
2005
2006 <object type="text" color="%text_fail_color%">
2007 <condition var1="tw_fileexists" var2="1" />
2008 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2009 <font resource="font" />
2010 <text>A backup with that name already exists!</text>
2011 </object>
2012
2013 <object type="button">
2014 <highlight color="%highlight_color%" />
2015 <placement x="%col_center_x%" y="%row2_y%" />
2016 <font resource="font" color="%button_text_color%" />
2017 <text>Cancel</text>
2018 <image resource="main_button" />
2019 <action function="page">restore_select</action>
2020 </object>
2021
2022 <object type="template" name="keyboardtemplate" />
2023
2024 <object type="action">
2025 <touch key="home" />
2026 <action function="page">main</action>
2027 </object>
2028
2029 <object type="action">
2030 <touch key="back" />
2031 <action function="page">restore_select</action>
2032 </object>
2033
2034 <object type="template" name="footer" />
2035 </page>
2036
2037 <page name="restore_run">
2038 <object type="template" name="header" />
2039
2040 <object type="text" color="%text_color%">
2041 <font resource="font" />
2042 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2043 <text>%tw_operation% %tw_partition%</text>
2044 </object>
2045
2046 <object type="template" name="action_page_console" />
2047
2048 <object type="template" name="progress_bar" />
2049
2050 <object type="action">
2051 <condition var1="tw_operation_state" var2="1" />
2052 <actions>
2053 <action function="set">tw_back=restore_select</action>
2054 <action function="set">tw_complete_text1=Restore Complete</action>
2055 <action function="set">tw_show_reboot=1</action>
2056 <action function="page">action_complete</action>
2057 </actions>
2058 </object>
2059
2060 <object type="action">
2061 <action function="nandroid">restore</action>
2062 </object>
2063 </page>
2064
2065 <page name="selectstorage">
2066 <object type="template" name="header" />
2067
2068 <object type="partitionlist">
2069 <highlight color="%fileselector_highlight_color%" />
2070 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2071 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2072 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2073 <text>Select Storage:</text>
2074 <icon selected="radio_true" unselected="radio_false" />
2075 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2076 <background color="%listbox_background%" />
2077 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2078 <data name="tw_storage_path" />
2079 <listtype name="storage" />
2080 </object>
2081
2082 <object type="button">
2083 <highlight color="%highlight_color%" />
2084 <placement x="%col_center_x%" y="%row5_y%" />
2085 <font resource="font" color="%button_text_color%" />
2086 <text>OK</text>
2087 <image resource="main_button" />
2088 <actions>
2089 <action function="set">tw_clear_destination=%tw_back%</action>
2090 <action function="page">clear_vars</action>
2091 </actions>
2092 </object>
2093
2094 <object type="action">
2095 <touch key="home" />
2096 <action function="page">main</action>
2097 </object>
2098
2099 <object type="action">
2100 <touch key="back" />
2101 <actions>
2102 <action function="page">%tw_back%</action>
2103 </actions>
2104 </object>
2105
2106 <object type="template" name="footer" />
2107 </page>
2108
2109 <page name="mount">
2110 <object type="template" name="header" />
2111
2112 <object type="partitionlist">
2113 <highlight color="%fileselector_highlight_color%" />
2114 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2115 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2116 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2117 <text>Select Partitions to Mount:</text>
2118 <icon selected="checkbox_true" unselected="checkbox_false" />
2119 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2120 <background color="%listbox_background%" />
2121 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2122 <listtype name="mount" />
2123 </object>
2124
2125 <object type="button">
2126 <highlight color="%highlight_color%" />
2127 <fill color="%button_fill_color%" />
2128 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2129 <font resource="font" color="%button_text_color%" />
2130 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2131 <actions>
2132 <action function="set">tw_back=mount</action>
2133 <action function="page">selectstorage</action>
2134 </actions>
2135 </object>
2136
2137 <object type="button">
2138 <highlight color="%highlight_color%" />
2139 <condition var1="tw_has_usb_storage" var2="1" />
Dees Troy54a69f42014-03-06 14:22:28 +00002140 <placement x="%col_center_x%" y="%row5_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002141 <font resource="font" color="%button_text_color%" />
Dees Troy54a69f42014-03-06 14:22:28 +00002142 <text>Mount USB</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00002143 <image resource="main_button" />
2144 <action function="page">usb_mount</action>
2145 </object>
2146
2147 <object type="button">
2148 <highlight color="%highlight_color%" />
2149 <conditions>
2150 <condition var1="tw_is_encrypted" var2="1" />
2151 <condition var1="tw_is_decrypted" var2="0" />
2152 </conditions>
2153 <placement x="%col2_x%" y="row4_y" />
2154 <font resource="font" color="%button_text_color%" />
2155 <text>Decrypt Data</text>
2156 <image resource="main_button" />
2157 <action function="page">decrypt</action>
2158 </object>
2159
2160 <object type="action">
2161 <touch key="home" />
2162 <action function="page">main</action>
2163 </object>
2164
2165 <object type="action">
2166 <touch key="back" />
2167 <action function="page">main</action>
2168 </object>
2169
2170 <object type="template" name="footer" />
2171 </page>
2172
2173 <page name="usb_mount">
2174 <object type="template" name="header" />
2175
2176 <object type="text" color="%text_color%">
2177 <font resource="font" />
2178 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2179 <text>USB Storage Mounted</text>
2180 </object>
2181
2182 <object type="text" color="%text_color%">
2183 <placement x="%col1_x%" y="%row1_text_y%" />
2184 <font resource="font" />
2185 <text>Be sure to safely remove your device</text>
2186 </object>
2187
2188 <object type="text" color="%text_color%">
2189 <placement x="%col1_x%" y="%row2_text_y%" />
2190 <font resource="font" />
2191 <text>from your computer before unmounting!</text>
2192 </object>
2193
2194 <object type="button">
2195 <highlight color="%highlight_color%" />
2196 <placement x="%col1_x%" y="%row3_y%" />
2197 <font resource="font" color="%button_text_color%" />
2198 <text>Unmount</text>
2199 <image resource="main_button" />
2200 <action function="page">usb_umount</action>
2201 </object>
2202
2203 <object type="action">
2204 <action function="mount">usb</action>
2205 </object>
2206
2207 <object type="template" name="footer" />
2208 </page>
2209
2210 <page name="usb_umount">
2211 <object type="action">
2212 <action function="unmount">usb</action>
2213 </object>
2214
2215 <object type="action">
2216 <action function="page">mount</action>
2217 </object>
2218 </page>
2219
2220 <page name="reboot">
2221 <object type="template" name="header" />
2222
2223 <object type="text" color="%text_color%">
2224 <font resource="font" />
2225 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2226 <text>Reboot Menu</text>
2227 </object>
2228
2229 <object type="button">
2230 <highlight color="%highlight_color%" />
2231 <condition var1="tw_reboot_system" var2="1" />
2232 <placement x="%col1_x%" y="%row1_y%" />
2233 <font resource="font" color="%button_text_color%" />
2234 <text>System</text>
2235 <image resource="main_button" />
2236 <actions>
2237 <action function="set">tw_back=reboot</action>
2238 <action function="set">tw_action=reboot</action>
2239 <action function="set">tw_action_param=system</action>
2240 <action function="set">tw_has_action2=0</action>
2241 <action function="set">tw_text1=No OS Installed! Are you</action>
2242 <action function="set">tw_text2=sure you wish to reboot?</action>
2243 <action function="set">tw_action_text1=Rebooting...</action>
2244 <action function="set">tw_complete_text1=Rebooting...</action>
2245 <action function="set">tw_slider_text=Swipe to Reboot</action>
2246 <action function="page">rebootcheck</action>
2247 </actions>
2248 </object>
2249
2250 <object type="button">
2251 <highlight color="%highlight_color%" />
2252 <condition var1="tw_reboot_poweroff" var2="1" />
2253 <placement x="%col2_x%" y="%row1_y%" />
2254 <font resource="font" color="%button_text_color%" />
2255 <text>Power Off</text>
2256 <image resource="main_button" />
2257 <actions>
2258 <action function="set">tw_back=reboot</action>
2259 <action function="set">tw_action=reboot</action>
2260 <action function="set">tw_action_param=poweroff</action>
2261 <action function="set">tw_has_action2=0</action>
2262 <action function="set">tw_text1=No OS Installed! Are you</action>
2263 <action function="set">tw_text2=sure you wish to power off?</action>
2264 <action function="set">tw_action_text1=Turning Off...</action>
2265 <action function="set">tw_complete_text1=Turning Off...</action>
2266 <action function="set">tw_slider_text=Swipe to Power Off</action>
2267 <action function="page">rebootcheck</action>
2268 </actions>
2269 </object>
2270
2271 <object type="button">
2272 <highlight color="%highlight_color%" />
2273 <condition var1="tw_reboot_recovery" var2="1" />
2274 <placement x="%col1_x%" y="%row2_y%" />
2275 <font resource="font" color="%button_text_color%" />
2276 <text>Recovery</text>
2277 <image resource="main_button" />
2278 <actions>
2279 <action function="set">tw_back=reboot</action>
2280 <action function="set">tw_action=reboot</action>
2281 <action function="set">tw_action_param=recovery</action>
2282 <action function="set">tw_has_action2=0</action>
2283 <action function="set">tw_text1=No OS Installed! Are you</action>
2284 <action function="set">tw_text2=sure you wish to reboot?</action>
2285 <action function="set">tw_action_text1=Rebooting...</action>
2286 <action function="set">tw_complete_text1=Rebooting...</action>
2287 <action function="set">tw_slider_text=Swipe to Reboot</action>
2288 <action function="page">rebootcheck</action>
2289 </actions>
2290 </object>
2291
2292 <object type="button">
2293 <highlight color="%highlight_color%" />
2294 <condition var1="tw_reboot_bootloader" var2="1" />
2295 <placement x="%col2_x%" y="%row2_y%" />
2296 <font resource="font" color="%button_text_color%" />
2297 <text>Bootloader</text>
2298 <image resource="main_button" />
2299 <actions>
2300 <action function="set">tw_back=reboot</action>
2301 <action function="set">tw_action=reboot</action>
2302 <action function="set">tw_action_param=bootloader</action>
2303 <action function="set">tw_has_action2=0</action>
2304 <action function="set">tw_text1=No OS Installed! Are you</action>
2305 <action function="set">tw_text2=sure you wish to reboot?</action>
2306 <action function="set">tw_action_text1=Rebooting...</action>
2307 <action function="set">tw_complete_text1=Rebooting...</action>
2308 <action function="set">tw_slider_text=Swipe to Reboot</action>
2309 <action function="page">rebootcheck</action>
2310 </actions>
2311 </object>
2312
2313 <object type="button">
2314 <highlight color="%highlight_color%" />
2315 <condition var1="tw_download_mode" var2="1" />
2316 <placement x="%col1_x%" y="%row3_y%" />
2317 <font resource="font" color="%button_text_color%" />
2318 <text>Download</text>
2319 <image resource="main_button" />
2320 <actions>
2321 <action function="set">tw_back=reboot</action>
2322 <action function="set">tw_action=reboot</action>
2323 <action function="set">tw_action_param=download</action>
2324 <action function="set">tw_has_action2=0</action>
2325 <action function="set">tw_text1=No OS Installed! Are you</action>
2326 <action function="set">tw_text2=sure you wish to reboot?</action>
2327 <action function="set">tw_action_text1=Rebooting...</action>
2328 <action function="set">tw_complete_text1=Rebooting...</action>
2329 <action function="set">tw_slider_text=Swipe to Reboot</action>
2330 <action function="page">rebootcheck</action>
2331 </actions>
2332 </object>
2333
2334 <object type="action">
2335 <touch key="home" />
2336 <action function="page">main</action>
2337 </object>
2338
2339 <object type="action">
2340 <touch key="back" />
2341 <action function="page">main</action>
2342 </object>
2343
2344 <object type="template" name="footer" />
2345 </page>
2346
2347 <page name="settings">
2348 <object type="template" name="header" />
2349
2350 <object type="text" color="%text_color%">
2351 <font resource="font" />
2352 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2353 <text>Settings</text>
2354 </object>
2355
2356 <object type="checkbox">
2357 <placement x="%col1_x%" y="%row1_text_y%" />
2358 <font resource="font" color="%text_color%" />
2359 <text>Zip file signature verification.</text>
2360 <data variable="tw_signed_zip_verify" />
2361 <image checked="checkbox_true" unchecked="checkbox_false" />
2362 </object>
2363
2364 <object type="checkbox">
2365 <placement x="%col1_x%" y="%row2_text_y%" />
2366 <font resource="font" color="%text_color%" />
2367 <text>Use rm -rf instead of formatting.</text>
2368 <data variable="tw_rm_rf" />
2369 <image checked="checkbox_true" unchecked="checkbox_false" />
2370 </object>
2371
2372 <object type="checkbox">
2373 <placement x="%col1_x%" y="%row3_text_y%" />
2374 <font resource="font" color="%text_color%" />
2375 <text>Skip MD5 generation during backup.</text>
2376 <data variable="tw_skip_md5_generate" />
2377 <image checked="checkbox_true" unchecked="checkbox_false" />
2378 </object>
2379
2380 <object type="checkbox">
2381 <placement x="%col1_x%" y="%row4_text_y%" />
2382 <font resource="font" color="%text_color%" />
2383 <text>Enable MD5 verification of backup files.</text>
2384 <data variable="tw_skip_md5_check" />
2385 <image checked="checkbox_true" unchecked="checkbox_false" />
2386 </object>
2387
2388 <object type="checkbox">
2389 <placement x="%col1_x%" y="%row5_text_y%" />
2390 <font resource="font" color="%text_color%" />
2391 <text>Use Military Time.</text>
2392 <data variable="tw_military_time" />
2393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
2397 <placement x="%col1_x%" y="%row6_text_y%" />
2398 <font resource="font" color="%text_color%" />
2399 <text>Simulate actions for theme testing.</text>
2400 <data variable="tw_simulate_actions" />
2401 <image checked="checkbox_true" unchecked="checkbox_false" />
2402 </object>
2403
2404 <object type="checkbox">
2405 <condition var1="tw_simulate_actions" var2="1" />
2406 <placement x="%col1_x%" y="%row7_text_y%" />
2407 <font resource="font" color="%text_color%" />
2408 <text>Simulate failure for actions.</text>
2409 <data variable="tw_simulate_fail" />
2410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="button">
2414 <highlight color="%highlight_color%" />
2415 <placement x="%col1_x%" y="%row4_y%" />
2416 <font resource="font" color="%button_text_color%" />
2417 <text>Time Zone</text>
2418 <image resource="main_button" />
2419 <action function="page">timezone</action>
2420 </object>
2421
2422 <object type="button">
2423 <highlight color="%highlight_color%" />
2424 <placement x="%col2_x%" y="%row4_y%" />
2425 <font resource="font" color="%button_text_color%" />
2426 <text>Screen</text>
2427 <image resource="main_button" />
2428 <action function="page">screen</action>
2429 </object>
2430
2431 <object type="button">
2432 <placement x="%col_center_x%" y="%row5_y%" />
2433 <font resource="font" color="%button_text_color%" />
2434 <text>Restore Defaults</text>
2435 <image resource="main_button" />
2436 <action function="restoredefaultsettings"></action>
2437 </object>
2438
2439 <object type="action">
2440 <touch key="home" />
2441 <action function="page">main</action>
2442 </object>
2443
2444 <object type="action">
2445 <touch key="back" />
2446 <action function="page">main</action>
2447 </object>
2448
2449 <object type="template" name="footer" />
2450 </page>
2451
2452 <page name="timezone">
2453 <object type="template" name="header" />
2454
2455 <object type="listbox">
2456 <highlight color="%fileselector_highlight_color%" />
2457 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2458 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2459 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2460 <text>Select Time Zone (currently %tw_time_zone%):</text>
2461 <icon selected="radio_true" unselected="radio_false" />
2462 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2463 <background color="%listbox_background%" />
2464 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2465 <data name="tw_time_zone_guisel" />
2466 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2467 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2468 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2469 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2470 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2471 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2472 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2473 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2474 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2475 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2476 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2477 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2478 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2479 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2480 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2481 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2482 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2483 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2484 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2485 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2486 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2487 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2488 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2489 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2490 </object>
2491
2492 <object type="checkbox">
2493 <placement x="%col1_x%" y="%row_dst_text_y%" />
2494 <font resource="font" color="%text_color%" />
2495 <text>Do you use daylight savings time?</text>
2496 <data variable="tw_time_zone_guidst" />
2497 <image checked="checkbox_true" unchecked="checkbox_false" />
2498 </object>
2499
2500 <object type="text" color="%text_color%">
2501 <font resource="font" />
2502 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2503 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2504 </object>
2505
2506 <object type="button">
2507 <highlight color="%highlight_color%" />
2508 <fill color="%button_fill_color%" />
2509 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2510 <font resource="font" color="%button_text_color%" />
2511 <text>None</text>
2512 <action function="set">tw_time_zone_guioffset=0</action>
2513 </object>
2514
2515 <object type="button">
2516 <highlight color="%highlight_color%" />
2517 <fill color="%button_fill_color%" />
2518 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2519 <font resource="font" color="%button_text_color%" />
2520 <text>15</text>
2521 <action function="set">tw_time_zone_guioffset=15</action>
2522 </object>
2523
2524 <object type="button">
2525 <highlight color="%highlight_color%" />
2526 <fill color="%button_fill_color%" />
2527 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2528 <font resource="font" color="%button_text_color%" />
2529 <text>30</text>
2530 <action function="set">tw_time_zone_guioffset=30</action>
2531 </object>
2532
2533 <object type="button">
2534 <highlight color="%highlight_color%" />
2535 <fill color="%button_fill_color%" />
2536 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2537 <font resource="font" color="%button_text_color%" />
2538 <text>45</text>
2539 <action function="set">tw_time_zone_guioffset=45</action>
2540 </object>
2541
2542 <object type="button">
2543 <highlight color="%highlight_color%" />
2544 <placement x="%col_center_x%" y="%tz_set_y%" />
2545 <font resource="font" color="%button_text_color%" />
2546 <text>Set Time Zone</text>
2547 <image resource="main_button" />
2548 <action function="setguitimezone"></action>
2549 </object>
2550
2551 <object type="action">
2552 <touch key="home" />
2553 <action function="page">main</action>
2554 </object>
2555
2556 <object type="action">
2557 <touch key="back" />
2558 <action function="page">settings</action>
2559 </object>
2560
2561 <object type="template" name="footer" />
2562 </page>
2563
2564 <page name="screen">
2565 <object type="template" name="header" />
2566
2567 <object type="text" color="%text_color%">
2568 <font resource="font" />
2569 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2570 <text>Screen Settings</text>
2571 </object>
2572
2573 <object type="button">
2574 <placement x="%col1_x%" y="%row2_text_y%" />
2575 <font resource="font" color="%text_color%" />
2576 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2577 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2578 <text>Enable screen timeout.</text>
2579 <image resource="checkbox_false" />
2580 <action function="set">tw_screen_timeout_secs=60</action>
2581 </object>
2582
2583 <object type="button">
2584 <placement x="%col1_x%" y="%row2_text_y%" />
2585 <font resource="font" color="%text_color%" />
2586 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2587 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2588 <text>Enable screen timeout.</text>
2589 <image resource="checkbox_true" />
2590 <action function="set">tw_screen_timeout_secs=0</action>
2591 </object>
2592
2593 <object type="slidervalue">
2594 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2595 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2596 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2597 <font resource="font" color="%text_color%" />
2598 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2599 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2600 <text>Screen timeout in seconds:</text>
2601 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2602 </object>
2603
2604 <object type="slidervalue">
2605 <condition var1="tw_has_brightnesss_file" var2="1" />
Dees Troy54a69f42014-03-06 14:22:28 +00002606 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002607 <font resource="font" color="%text_color%" />
2608 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2609 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2610 <text>Brightness: %tw_brightness_pct%%</text>
2611 <data variable="tw_brightness_pct" min="10" max="100" />
2612 <actions>
2613 <action function="set">tw_brightness=%tw_brightness_max%</action>
2614 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2615 <action function="compute">tw_brightness/100</action>
2616 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
2617 </actions>
2618 </object>
2619
2620 <object type="action">
2621 <touch key="home" />
2622 <action function="page">main</action>
2623 </object>
2624
2625 <object type="action">
2626 <touch key="back" />
2627 <action function="page">settings</action>
2628 </object>
2629
2630 <object type="template" name="footer" />
2631 </page>
2632
2633 <page name="advanced">
2634 <object type="template" name="header" />
2635
2636 <object type="text" color="%text_color%">
2637 <font resource="font" />
2638 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2639 <text>Advanced</text>
2640 </object>
2641
2642 <object type="button">
2643 <highlight color="%highlight_color%" />
2644 <placement x="%col1_x%" y="%row1_y%" />
2645 <font resource="font" color="%button_text_color%" />
2646 <text>Copy Log to SD</text>
2647 <image resource="main_button" />
2648 <actions>
2649 <action function="set">tw_back=advanced</action>
2650 <action function="set">tw_action=copylog</action>
2651 <action function="set">tw_text1=Copy Log to SD Card?</action>
2652 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2653 <action function="set">tw_complete_text1=Log Copy Complete</action>
2654 <action function="set">tw_slider_text=Swipe to Confirm</action>
2655 <action function="page">confirm_action</action>
2656 </actions>
2657 </object>
2658
2659 <object type="button">
2660 <highlight color="%highlight_color%" />
2661 <placement x="%col2_x%" y="%row1_y%" />
2662 <font resource="font" color="%button_text_color%" />
2663 <text>Fix Permissions</text>
2664 <image resource="main_button" />
2665 <actions>
2666 <action function="set">tw_back=advanced</action>
2667 <action function="set">tw_action=fixpermissions</action>
2668 <action function="set">tw_text1=Fix Permissions?</action>
2669 <action function="set">tw_action_text1=Fixing Permissions...</action>
2670 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2671 <action function="set">tw_slider_text=Swipe to Confirm</action>
2672 <action function="set">tw_show_reboot=1</action>
2673 <action function="page">confirm_action</action>
2674 </actions>
2675 </object>
2676
2677 <object type="button">
2678 <highlight color="%highlight_color%" />
2679 <condition var1="tw_allow_partition_sdcard" var2="1" />
2680 <placement x="%col1_x%" y="%row2_y%" />
2681 <font resource="font" color="%button_text_color%" />
2682 <text>Partition SD-Ext</text>
2683 <image resource="main_button" />
2684 <action function="page">partsdcard</action>
2685 </object>
2686
2687 <object type="button">
2688 <highlight color="%highlight_color%" />
2689 <placement x="%col2_x%" y="%row2_y%" />
2690 <font resource="font" color="%button_text_color%" />
2691 <text>File Manager</text>
2692 <image resource="main_button" />
2693 <action function="page">filemanagerlist</action>
2694 </object>
2695
2696 <object type="button">
2697 <highlight color="%highlight_color%" />
2698 <placement x="%col1_x%" y="%row3_y%" />
2699 <font resource="font" color="%button_text_color%" />
2700 <text>Terminal</text>
2701 <image resource="main_button" />
2702 <action function="page">terminalfolder</action>
2703 </object>
2704
2705 <object type="button">
2706 <highlight color="%highlight_color%" />
2707 <placement x="%col2_x%" y="%row3_y%" />
2708 <font resource="font" color="%button_text_color%" />
2709 <text>Reload Theme</text>
2710 <image resource="main_button" />
2711 <action function="reload"></action>
2712 </object>
2713
2714 <object type="button">
2715 <highlight color="%highlight_color%" />
2716 <placement x="%col1_x%" y="%row4_y%" />
2717 <font resource="font" color="%button_text_color%" />
2718 <text>ADB Sideload</text>
2719 <image resource="main_button" />
2720 <action function="page">sideload</action>
2721 </object>
2722
2723 <object type="button">
2724 <highlight color="%highlight_color%" />
2725 <condition var1="tw_show_dumlock" var2="1" />
2726 <placement x="%col2_x%" y="%row4_y%" />
2727 <font resource="font" color="%button_text_color%" />
2728 <text>HTC Dumlock</text>
2729 <image resource="main_button" />
2730 <action function="page">htcdumlock</action>
2731 </object>
2732
2733 <object type="button">
2734 <highlight color="%highlight_color%" />
2735 <condition var1="tw_has_injecttwrp" var2="1" />
2736 <placement x="%col2_x%" y="%row4_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>Re-Inject TWRP</text>
2739 <image resource="main_button" />
2740 <actions>
2741 <action function="set">tw_back=advanced</action>
2742 <action function="set">tw_action=reinjecttwrp</action>
2743 <action function="set">tw_text1=Re-Inject TWRP?</action>
2744 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2745 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2746 <action function="set">tw_slider_text=Swipe to Confirm</action>
2747 <action function="page">confirm_action</action>
2748 </actions>
2749 </object>
2750
2751 <object type="action">
2752 <touch key="home" />
2753 <action function="page">main</action>
2754 </object>
2755
2756 <object type="action">
2757 <touch key="back" />
2758 <action function="page">main</action>
2759 </object>
2760
2761 <object type="template" name="footer" />
2762 </page>
2763
2764 <page name="partsdcard">
2765 <object type="template" name="header" />
2766
2767 <object type="text" color="%text_color%">
2768 <font resource="font" />
2769 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2770 <text>Partition SD Card</text>
2771 </object>
2772
2773 <object type="button">
2774 <highlight color="%highlight_color%" />
2775 <placement x="%col1_x%" y="%row1_y%" />
2776 <font resource="font" color="%button_text_color%" />
2777 <text></text>
2778 <image resource="minus_button" />
2779 <action function="addsubtract">tw_sdext_size-128</action>
2780 </object>
2781
2782 <object type="button">
2783 <highlight color="%highlight_color%" />
2784 <placement x="%sd_plus_x%" y="%row1_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text></text>
2787 <image resource="plus_button" />
2788 <action function="addsubtract">tw_sdext_size+128</action>
2789 </object>
2790
2791 <object type="text" color="%text_color%">
2792 <font resource="font" />
2793 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2794 <text>EXT Size: %tw_sdext_size%</text>
2795 </object>
2796
2797 <object type="button">
2798 <highlight color="%highlight_color%" />
2799 <placement x="%col1_x%" y="%sdswap_button_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text></text>
2802 <image resource="minus_button" />
2803 <action function="addsubtract">tw_swap_size-32</action>
2804 </object>
2805
2806 <object type="button">
2807 <highlight color="%highlight_color%" />
2808 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text></text>
2811 <image resource="plus_button" />
2812 <action function="addsubtract">tw_swap_size+32</action>
2813 </object>
2814
2815 <object type="text" color="%text_color%">
2816 <font resource="font" />
2817 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2818 <text>Swap Size: %tw_swap_size%</text>
2819 </object>
2820
2821 <object type="text" color="%text_color%">
2822 <font resource="font" />
2823 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2824 <text>File system: %tw_sdpart_file_system%</text>
2825 </object>
2826
2827 <object type="button">
2828 <highlight color="%highlight_color%" />
2829 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text>EXT3</text>
2832 <image resource="main_button" />
2833 <action function="set">tw_sdpart_file_system=ext3</action>
2834 </object>
2835
2836 <object type="button">
2837 <highlight color="%highlight_color%" />
2838 <condition var1="tw_sdext_disable_ext4" var2="0" />
2839 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2840 <font resource="font" color="%button_text_color%" />
2841 <text>EXT4</text>
2842 <image resource="main_button" />
2843 <action function="set">tw_sdpart_file_system=ext4</action>
2844 </object>
2845
2846 <object type="text" color="%text_color%">
2847 <font resource="font" />
2848 <placement x="%col1_x%" y="%row12_text_y%" />
2849 <text>You will lose all files on your SD card!</text>
2850 </object>
2851
2852 <object type="text" color="%text_color%">
2853 <font resource="font" />
2854 <placement x="%col1_x%" y="%row13_text_y%" />
2855 <text>This action cannot be undone!</text>
2856 </object>
2857
2858 <object type="slider">
2859 <placement x="%slider_x%" y="%slider_y%" />
2860 <resource base="slider" used="slider-used" touch="slider-touch" />
2861 <action function="page">partsdcardaction</action>
2862 <actions>
2863 <action function="set">tw_back=partsdcard</action>
2864 <action function="set">tw_action=partitionsd</action>
2865 <action function="set">tw_has_action2=1</action>
2866 <action function="set">tw_action2=set</action>
2867 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2868 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2869 <action function="set">tw_action_text2=This will take a few minutes.</action>
2870 <action function="set">tw_complete_text1=Partitioning Complete</action>
2871 <action function="page">action_page</action>
2872 </actions>
2873 </object>
2874
2875 <object type="text" color="%text_color%">
2876 <font resource="font" />
2877 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2878 <text>Swipe to Partition</text>
2879 </object>
2880
2881 <object type="action">
2882 <touch key="home" />
2883 <action function="page">main</action>
2884 </object>
2885
2886 <object type="action">
2887 <touch key="back" />
2888 <action function="page">advanced</action>
2889 </object>
2890
2891 <object type="template" name="footer" />
2892 </page>
2893
2894 <page name="htcdumlock">
2895 <object type="template" name="header" />
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2900 <text>HTC Dumlock</text>
2901 </object>
2902
2903 <object type="button">
2904 <highlight color="%highlight_color%" />
2905 <condition var1="tw_show_dumlock" var2="1" />
2906 <placement x="%col1_x%" y="%row1_y%" />
2907 <font resource="font" color="%button_text_color%" />
2908 <text>Restore Original Boot</text>
2909 <image resource="main_button" />
2910 <actions>
2911 <action function="set">tw_back=htcdumlock</action>
2912 <action function="set">tw_action=htcdumlockrestoreboot</action>
2913 <action function="set">tw_text1=Restore original boot image?</action>
2914 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2915 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2916 <action function="set">tw_slider_text=Swipe to Confirm</action>
2917 <action function="page">confirm_action</action>
2918 </actions>
2919 </object>
2920
2921 <object type="button">
2922 <highlight color="%highlight_color%" />
2923 <condition var1="tw_show_dumlock" var2="1" />
2924 <placement x="%col2_x%" y="%row1_y%" />
2925 <font resource="font" color="%button_text_color%" />
2926 <text>Reflash Recovery</text>
2927 <image resource="main_button" />
2928 <actions>
2929 <action function="set">tw_back=htcdumlock</action>
2930 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2931 <action function="set">tw_text1=Reflash recovery to boot?</action>
2932 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2933 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2934 <action function="set">tw_slider_text=Swipe to Confirm</action>
2935 <action function="page">confirm_action</action>
2936 </actions>
2937 </object>
2938
2939 <object type="button">
2940 <highlight color="%highlight_color%" />
2941 <condition var1="tw_show_dumlock" var2="1" />
2942 <placement x="%col1_x%" y="%row2_y%" />
2943 <font resource="font" color="%button_text_color%" />
2944 <text>Install HTC Dumlock</text>
2945 <image resource="main_button" />
2946 <actions>
2947 <action function="set">tw_back=htcdumlock</action>
2948 <action function="set">tw_action=installhtcdumlock</action>
2949 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2950 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2951 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2952 <action function="set">tw_slider_text=Swipe to Confirm</action>
2953 <action function="page">confirm_action</action>
2954 </actions>
2955 </object>
2956
2957 <object type="action">
2958 <touch key="home" />
2959 <action function="page">main</action>
2960 </object>
2961
2962 <object type="action">
2963 <touch key="back" />
2964 <action function="page">advanced</action>
2965 </object>
2966
2967 <object type="template" name="footer" />
2968 </page>
2969
2970 <page name="lock">
2971 <background color="#000000A0" />
2972
2973 <object type="image">
2974 <image resource="unlock-icon" />
2975 <placement x="%lock_x%" y="%lock_y%" />
2976 </object>
2977
2978 <object type="slider">
2979 <placement x="%slider_x%" y="%slider_y%" />
2980 <resource base="slider" used="slider-used" touch="slider-touch" />
2981 <action function="overlay"></action>
2982 </object>
2983
2984 <object type="text" color="%text_color%">
2985 <font resource="font" />
2986 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2987 <text>Swipe to Unlock</text>
2988 </object>
2989 </page>
2990
2991 <page name="filemanagerlist">
2992 <object type="template" name="header" />
2993
2994 <object type="text" color="%text_color%">
2995 <font resource="font" />
2996 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2997 <text>File Manager: Select a File or Folder</text>
2998 </object>
2999
3000 <object type="fileselector">
3001 <highlight color="%fileselector_highlight_color%" />
3002 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3003 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3004 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3005 <text>%tw_file_location1%</text>
3006 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3007 <sort name="tw_gui_sort_order" />
3008 <icon folder="folder_icon" file="file_icon" />
3009 <background color="%fileselector_background%" />
3010 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3011 <folders="1" files="1" />
3012 <path name="tw_file_location1" default="/" />
3013 <data name="tw_filename1" />
3014 <selection name="tw_selection1" />
3015 </object>
3016
3017 <object type="template" name="sort_options" />
3018
3019 <object type="action">
3020 <actions>
3021 <action function="set">tw_fm_type=File</action>
3022 <action function="set">tw_fm_isfolder=0</action>
3023 </actions>
3024 </object>
3025
3026 <object type="action">
3027 <touch key="home" />
3028 <action function="page">main</action>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="back" />
3033 <action function="page">advanced</action>
3034 </object>
3035
3036 <object type="action">
3037 <condition var1="tw_filename1" op="modified" />
3038 <actions>
3039 <action function="page">filemanageroptions</action>
3040 </actions>
3041 </object>
3042
3043 <object type="button">
3044 <highlight color="%highlight_color%" />
3045 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3046 <font resource="font" color="%button_text_color%" />
3047 <text>Select</text>
3048 <image resource="medium_button" />
3049 <actions>
3050 <action function="set">tw_filename1=tw_file_location1</action>
3051 <action function="set">tw_fm_isfolder=1</action>
3052 <action function="set">tw_fm_type=Folder</action>
3053 <action function="page">filemanageroptions</action>
3054 </actions>
3055 </object>
3056
3057 <object type="template" name="footer" />
3058 </page>
3059
3060 <page name="filemanageroptions">
3061 <object type="template" name="header" />
3062
3063 <object type="text" color="%text_color%">
3064 <font resource="font" />
3065 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3066 <text>%tw_fm_type% Selected:</text>
3067 </object>
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3072 <text>%tw_filename1%</text>
3073 </object>
3074
3075 <object type="button">
3076 <highlight color="%highlight_color%" />
3077 <condition var1="tw_fm_isfolder" var2="0" />
3078 <placement x="%col1_x%" y="%row2_y%" />
3079 <font resource="font" color="%button_text_color%" />
3080 <text>Copy File</text>
3081 <image resource="main_button" />
3082 <actions>
3083 <action function="set">tw_filemanager_command=cp</action>
3084 <action function="set">tw_fm_text1=Copying</action>
3085 <action function="page">choosedestinationfolder</action>
3086 </actions>
3087 </object>
3088
3089 <object type="button">
3090 <highlight color="%highlight_color%" />
3091 <condition var1="tw_fm_isfolder" var2="1" />
3092 <placement x="%col1_x%" y="%row2_y%" />
3093 <font resource="font" color="%button_text_color%" />
3094 <text>Copy Folder</text>
3095 <image resource="main_button" />
3096 <actions>
3097 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3098 <action function="set">tw_fm_text1=Copying</action>
3099 <action function="page">choosedestinationfolder</action>
3100 </actions>
3101 </object>
3102
3103 <object type="button">
3104 <highlight color="%highlight_color%" />
3105 <placement x="%col2_x%" y="%row2_y%" />
3106 <font resource="font" color="%button_text_color%" />
3107 <text>Move</text>
3108 <image resource="main_button" />
3109 <actions>
3110 <action function="set">tw_filemanager_command=mv</action>
3111 <action function="set">tw_fm_text1=Moving</action>
3112 <action function="page">choosedestinationfolder</action>
3113 </actions>
3114 </object>
3115
3116 <object type="button">
3117 <highlight color="%highlight_color%" />
3118 <placement x="%col1_x%" y="%row3_y%" />
3119 <font resource="font" color="%button_text_color%" />
3120 <text>chmod 755</text>
3121 <image resource="main_button" />
3122 <actions>
3123 <action function="set">tw_filemanager_command=chmod 755</action>
3124 <action function="set">tw_fm_text1=chmod 755</action>
3125 <action function="set">tw_fm_text2=</action>
3126 <action function="set">tw_fm_text3=</action>
3127 <action function="set">tw_include_text3=0</action>
3128 <action function="set">tw_back=filemanageroptions</action>
3129 <action function="page">filemanagerconfirm</action>
3130 </actions>
3131 </object>
3132
3133 <object type="button">
3134 <highlight color="%highlight_color%" />
3135 <placement x="%col2_x%" y="%row3_y%" />
3136 <font resource="font" color="%button_text_color%" />
3137 <text>chmod</text>
3138 <image resource="main_button" />
3139 <actions>
3140 <action function="set">tw_filemanager_rename=0000</action>
3141 <action function="set">tw_fm_text2=</action>
3142 <action function="set">tw_fm_text3=</action>
3143 <action function="set">tw_include_text3=0</action>
3144 <action function="set">tw_back=filemanageroptions</action>
3145 <action function="page">filemanagerchmod</action>
3146 </actions>
3147 </object>
3148
3149 <object type="button">
3150 <highlight color="%highlight_color%" />
3151 <placement x="%col1_x%" y="%row4_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>Delete</text>
3154 <image resource="main_button" />
3155 <actions>
3156 <action function="set">tw_filemanager_command=rm -rf</action>
3157 <action function="set">tw_fm_text1=Deleting</action>
3158 <action function="set">tw_fm_text2=</action>
3159 <action function="set">tw_fm_text3=</action>
3160 <action function="set">tw_include_text3=0</action>
3161 <action function="set">tw_back=filemanageroptions</action>
3162 <action function="page">filemanagerconfirm</action>
3163 </actions>
3164 </object>
3165
3166 <object type="button">
3167 <highlight color="%highlight_color%" />
3168 <condition var1="tw_fm_isfolder" var2="0" />
3169 <placement x="%col2_x%" y="%row4_y%" />
3170 <font resource="font" color="%button_text_color%" />
3171 <text>Rename File</text>
3172 <image resource="main_button" />
3173 <actions>
3174 <action function="set">tw_filemanager_rename=tw_selection1</action>
3175 <action function="set">tw_fm_text1=Renaming</action>
3176 <action function="set">tw_filemanager_command=mv</action>
3177 <action function="page">filemanagerrenamefile</action>
3178 </actions>
3179 </object>
3180
3181 <object type="button">
3182 <highlight color="%highlight_color%" />
3183 <condition var1="tw_fm_isfolder" var2="1" />
3184 <placement x="%col2_x%" y="%row4_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Rename Folder</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_filemanager_rename=tw_selection1</action>
3190 <action function="set">tw_fm_text1=Renaming</action>
3191 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3192 <action function="page">filemanagerrenamefolder</action>
3193 </actions>
3194 </object>
3195
3196 <object type="action">
3197 <touch key="home" />
3198 <action function="page">main</action>
3199 </object>
3200
3201 <object type="action">
3202 <touch key="back" />
3203 <action function="page">filemanagerlist</action>
3204 </object>
3205
3206 <object type="template" name="footer" />
3207 </page>
3208
3209 <page name="choosedestinationfolder">
3210 <object type="template" name="header" />
3211
3212 <object type="text" color="%text_color%">
3213 <font resource="font" />
3214 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3215 <text>Browse to Destination Folder & Press Select</text>
3216 </object>
3217
3218 <object type="fileselector">
3219 <highlight color="%fileselector_highlight_color%" />
3220 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3221 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3222 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3223 <text>%tw_file_location2%</text>
3224 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3225 <sort name="tw_gui_sort_order" />
3226 <icon folder="folder_icon" file="file_icon" />
3227 <background color="%fileselector_background%" />
3228 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3229 <filter folders="1" files="0" />
3230 <path name="tw_file_location2" default="/" />
3231 <data name="tw_filename2" />
3232 <selection name="tw_selection2" />
3233 </object>
3234
3235 <object type="template" name="sort_options" />
3236
3237 <object type="action">
3238 <touch key="home" />
3239 <action function="page">main</action>
3240 </object>
3241
3242 <object type="action">
3243 <touch key="back" />
3244 <action function="page">filemanageroptions</action>
3245 </object>
3246
3247 <object type="button">
3248 <highlight color="%highlight_color%" />
3249 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3250 <font resource="font" color="%button_text_color%" />
3251 <text>Select</text>
3252 <image resource="medium_button" />
3253 <actions>
3254 <action function="set">tw_fm_text2=to</action>
3255 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3256 <action function="set">tw_include_text3=1</action>
3257 <action function="set">tw_back=filemanageroptions</action>
3258 <action function="page">filemanagerconfirm</action>
3259 </actions>
3260 </object>
3261
3262 <object type="template" name="footer" />
3263 </page>
3264
3265 <page name="filemanagerrenamefile">
3266 <object type="template" name="header" />
3267
3268 <object type="text" color="%text_color%">
3269 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3270 <font resource="font" />
3271 <text>Please Enter a New %tw_fm_type% Name</text>
3272 </object>
3273
3274 <object type="input">
3275 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3276 <background color="%input_background_color%" />
3277 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3278 <font resource="font" color="%text_color%" />
3279 <text>%tw_filemanager_rename%</text>
3280 <data name="tw_filemanager_rename" />
3281 <restrict minlen="1" maxlen="128" />
3282 <actions>
3283 <action function="set">tw_fm_text2=to</action>
3284 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3285 <action function="set">tw_include_text3=1</action>
3286 <action function="set">tw_back=filemanageroptions</action>
3287 <action function="page">filemanagerconfirm</action>
3288 </actions>
3289 </object>
3290
3291 <object type="button">
3292 <highlight color="%highlight_color%" />
3293 <placement x="%col_center_x%" y="%row2_y%" />
3294 <font resource="font" color="%button_text_color%" />
3295 <text>Cancel</text>
3296 <image resource="main_button" />
3297 <action function="page">filemanageroptions</action>
3298 </object>
3299
3300 <object type="template" name="keyboardtemplate" />
3301
3302 <object type="action">
3303 <touch key="home" />
3304 <action function="page">main</action>
3305 </object>
3306
3307 <object type="action">
3308 <touch key="back" />
3309 <action function="page">filemanageroptions</action>
3310 </object>
3311
3312 <object type="template" name="footer" />
3313 </page>
3314
3315 <page name="filemanagerrenamefolder">
3316 <object type="template" name="header" />
3317
3318 <object type="text" color="%text_color%">
3319 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3320 <font resource="font" />
3321 <text>Please Enter a New %tw_fm_type% Name</text>
3322 </object>
3323
3324 <object type="input">
3325 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3326 <background color="%input_background_color%" />
3327 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3328 <font resource="font" color="%text_color%" />
3329 <text>%tw_filemanager_rename%</text>
3330 <data name="tw_filemanager_rename" />
3331 <restrict minlen="1" maxlen="128" />
3332 <actions>
3333 <action function="set">tw_fm_text2=to</action>
3334 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3335 <action function="set">tw_include_text3=1</action>
3336 <action function="set">tw_back=filemanageroptions</action>
3337 <action function="page">filemanagerconfirm</action>
3338 </actions>
3339 </object>
3340
3341 <object type="button">
3342 <highlight color="%highlight_color%" />
3343 <placement x="%col_center_x%" y="%row2_y%" />
3344 <font resource="font" color="%button_text_color%" />
3345 <text>Cancel</text>
3346 <image resource="main_button" />
3347 <action function="page">filemanageroptions</action>
3348 </object>
3349
3350 <object type="template" name="keyboardtemplate" />
3351
3352 <object type="action">
3353 <touch key="home" />
3354 <action function="page">main</action>
3355 </object>
3356
3357 <object type="action">
3358 <touch key="back" />
3359 <action function="page">filemanageroptions</action>
3360 </object>
3361
3362 <object type="template" name="footer" />
3363 </page>
3364
3365 <page name="filemanagerchmod">
3366 <object type="template" name="header" />
3367
3368 <object type="text" color="%text_color%">
3369 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3370 <font resource="font" />
3371 <text>Please Enter New Permissions</text>
3372 </object>
3373
3374 <object type="input">
3375 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3376 <background color="%input_background_color%" />
3377 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3378 <font resource="font" color="%text_color%" />
3379 <text>%tw_filemanager_rename%</text>
3380 <data name="tw_filemanager_rename" />
3381 <restrict minlen="3" maxlen="4" allow="0123456789" />
3382 <actions>
3383 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3384 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3385 <action function="set">tw_back=filemanageroptions</action>
3386 <action function="page">filemanagerconfirm</action>
3387 </actions>
3388 </object>
3389
3390 <object type="button">
3391 <highlight color="%highlight_color%" />
3392 <placement x="%col_center_x%" y="%row2_y%" />
3393 <font resource="font" color="%button_text_color%" />
3394 <text>Cancel</text>
3395 <image resource="main_button" />
3396 <action function="page">filemanageroptions</action>
3397 </object>
3398
3399 <object type="template" name="keyboardtemplate" />
3400
3401 <object type="action">
3402 <touch key="home" />
3403 <action function="page">main</action>
3404 </object>
3405
3406 <object type="action">
3407 <touch key="back" />
3408 <action function="page">filemanageroptions</action>
3409 </object>
3410
3411 <object type="template" name="footer" />
3412 </page>
3413
3414 <page name="filemanagerconfirm">
3415 <object type="template" name="header" />
3416
3417 <object type="text" color="%text_color%">
3418 <font resource="font" />
3419 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3420 <text>%tw_fm_text1%</text>
3421 </object>
3422
3423 <object type="text" color="%text_color%">
3424 <font resource="font" />
3425 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3426 <text>%tw_filename1%</text>
3427 </object>
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3432 <text>%tw_fm_text2%</text>
3433 </object>
3434
3435 <object type="text" color="%text_color%">
3436 <font resource="font" />
3437 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3438 <text>%tw_fm_text3%</text>
3439 </object>
3440
3441 <object type="text" color="%text_color%">
3442 <font resource="font" />
3443 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3444 <text>Press back button to cancel.</text>
3445 </object>
3446
3447 <object type="slider">
3448 <placement x="%slider_x%" y="%slider_y%" />
3449 <resource base="slider" used="slider-used" touch="slider-touch" />
3450 <action function="page">filemanageracction</action>
3451 </object>
3452
3453 <object type="text" color="%text_color%">
3454 <font resource="font" />
3455 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3456 <text>Swipe to Confirm</text>
3457 </object>
3458
3459 <object type="action">
3460 <touch key="back" />
3461 <action function="page">%tw_back%</action>
3462 </object>
3463
3464 <object type="action">
3465 <touch key="home" />
3466 <action function="page">main</action>
3467 </object>
3468
3469 <object type="template" name="footer" />
3470 </page>
3471
3472 <page name="filemanageracction">
3473 <object type="template" name="header" />
3474
3475 <object type="text" color="%text_color%">
3476
3477 <font resource="font" />
3478 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3479 <text>%tw_fm_text1%</text>
3480 </object>
3481
3482 <object type="template" name="action_page_console" />
3483
3484 <object type="template" name="progress_bar" />
3485
3486 <object type="action">
3487 <conditions>
3488 <condition var1="tw_operation_state" var2="1" />
3489 <condition var1="tw_operation_status" var2="0" />
3490 </conditions>
3491 <actions>
3492 <action function="set">tw_back=filemanagerlist</action>
3493 <action function="set">tw_complete_text1=File Operation Complete</action>
3494 <action function="page">action_complete</action>
3495 </actions>
3496 </object>
3497
3498 <object type="action">
3499 <conditions>
3500 <condition var1="tw_operation_state" var2="1" />
3501 <condition var1="tw_operation_status" op="!=" var2="0" />
3502 </conditions>
3503 <actions>
3504 <action function="set">tw_complete_text1=File Operation Complete</action>
3505 <action function="page">action_complete</action>
3506 </actions>
3507 </object>
3508
3509 <object type="action">
3510 <condition var1="tw_include_text3" var2="0" />
3511 <actions>
3512 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3513 </actions>
3514 </object>
3515
3516 <object type="action">
3517 <condition var1="tw_include_text3" var2="1" />
3518 <actions>
3519 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3520 </actions>
3521 </object>
3522 </page>
3523
3524 <page name="decrypt">
3525 <object type="template" name="header" />
3526
3527 <object type="text" color="%text_color%">
3528 <font resource="font" />
3529 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3530 <text>Please Enter Your Password</text>
3531 </object>
3532
3533 <object type="input">
3534 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3535 <background color="%input_background_color%" />
3536 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3537 <font resource="font" color="%text_color%" />
3538 <text>%tw_crypto_display%</text>
3539 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3540 <restrict minlen="1" maxlen="254" />
3541 <actions>
3542 <action function="page">trydecrypt</action>
3543 </actions>
3544 </object>
3545
3546 <object type="text" color="%text_fail_color%">
3547 <condition var1="tw_password_fail" var2="1" />
3548 <font resource="font" />
3549 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3550 <text>Password Failed, Please Try Again</text>
3551 </object>
3552
3553 <object type="button">
3554 <highlight color="%highlight_color%" />
3555 <placement x="%col_center_x%" y="%row2_y%" />
3556 <font resource="font" color="%button_text_color%" />
3557 <text>Cancel</text>
3558 <image resource="main_button" />
3559 <actions>
3560 <action function="set">tw_page_done=1</action>
3561 <action function="page">main</action>
3562 </actions>
3563 </object>
3564
3565 <object type="template" name="keyboardtemplate" />
3566
3567 <object type="template" name="footer" />
3568 </page>
3569
3570 <page name="trydecrypt">
3571 <object type="template" name="header" />
3572
3573 <object type="text" color="%text_color%">
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3576 <text>Trying Decryption with Your Password</text>
3577 </object>
3578
3579 <object type="template" name="action_page_console" />
3580
3581 <object type="template" name="progress_bar" />
3582
3583 <object type="action">
3584 <action function="decrypt"></action>
3585 </object>
3586
3587 <object type="action">
3588 <conditions>
3589 <condition var1="tw_operation_state" var2="1" />
3590 <condition var1="tw_operation_status" op="!=" var2="0" />
3591 </conditions>
3592 <actions>
3593 <action function="set">tw_password_fail=1</action>
3594 <action function="page">decrypt</action>
3595 </actions>
3596 </object>
3597
3598 <object type="action">
3599 <conditions>
3600 <condition var1="tw_operation_state" var2="1" />
3601 <condition var1="tw_operation_status" op="=" var2="0" />
3602 </conditions>
3603 <actions>
3604 <action function="set">tw_page_done=1</action>
3605 <action function="page">main</action>
3606 </actions>
3607 </object>
3608 </page>
3609
3610 <page name="terminalfolder">
3611 <object type="template" name="header" />
3612
3613 <object type="text" color="%text_color%">
3614 <font resource="font" />
3615 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3616 <text>Browse to Starting Folder</text>
3617 </object>
3618
3619 <object type="fileselector">
3620 <highlight color="%fileselector_highlight_color%" />
3621 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3622 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3623 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3624 <text>%tw_terminal_location%</text>
3625 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3626 <sort name="tw_gui_sort_order" />
3627 <icon folder="folder_icon" file="file_icon" />
3628 <background color="%fileselector_background%" />
3629 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3630 <filter folders="1" files="0" />
3631 <path name="tw_terminal_location" default="/" />
3632 <data name="tw_terminal" />
3633 <selection name="tw_terminal_selection" />
3634 </object>
3635
3636 <object type="template" name="sort_options" />
3637
3638 <object type="action">
3639 <touch key="home" />
3640 <action function="page">main</action>
3641 </object>
3642
3643 <object type="action">
3644 <touch key="back" />
3645 <action function="page">advanced</action>
3646 </object>
3647
3648 <object type="button">
3649 <highlight color="%highlight_color%" />
3650 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3651 <font resource="font" color="%button_text_color%" />
3652 <text>Select</text>
3653 <image resource="medium_button" />
3654 <actions>
3655 <action function="page">terminalcommand</action>
3656 </actions>
3657 </object>
3658
3659 <object type="template" name="footer" />
3660 </page>
3661
3662 <page name="terminalcommand">
3663 <object type="template" name="header" />
3664
3665 <object type="console">
3666 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3667 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3668 <font resource="fixed" />
3669 </object>
3670
3671 <object type="text" color="%text_color%">
3672 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3673 <font resource="font" />
3674 <text>Starting Path: %tw_terminal_location%</text>
3675 </object>
3676
3677 <object type="input">
3678 <condition var1="tw_terminal_state" var2="0" />
3679 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3680 <background color="%input_background_color%" />
3681 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3682 <font resource="font" color="%text_color%" />
3683 <text>%tw_terminal_command%</text>
3684 <data name="tw_terminal_command" />
3685 <restrict minlen="1" />
3686 <action function="terminalcommand">%tw_terminal_command%</action>
3687 </object>
3688
3689 <object type="button">
3690 <highlight color="%highlight_color%" />
3691 <condition var1="tw_terminal_state" var2="1" />
3692 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3693 <font resource="font" color="%button_text_color%" />
3694 <text>KILL</text>
3695 <image resource="medium_button" />
3696 <action function="killterminal"></action>
3697 </object>
3698
3699 <object type="template" name="keyboardtemplate" />
3700
3701 <object type="action">
3702 <touch key="home" />
3703 <action function="page">main</action>
3704 </object>
3705
3706 <object type="action">
3707 <touch key="back" />
3708 <action function="page">terminalfolder</action>
3709 </object>
3710 </page>
3711
3712 <page name="sideload">
3713 <object type="template" name="header" />
3714
3715 <object type="text" color="%text_color%">
3716 <font resource="font" />
3717 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3718 <text>ADB Sideload</text>
3719 </object>
3720
3721 <object type="checkbox">
3722 <placement x="%col1_x%" y="%row2_text_y%" />
3723 <font resource="font" color="%text_color%" />
3724 <text>Wipe Dalvik Cache.</text>
3725 <data variable="tw_wipe_dalvik" />
3726 <image checked="checkbox_true" unchecked="checkbox_false" />
3727 </object>
3728
3729 <object type="checkbox">
3730 <placement x="%col1_x%" y="%row3_text_y%" />
3731 <font resource="font" color="%text_color%" />
3732 <text>Wipe Cache.</text>
3733 <data variable="tw_wipe_cache" />
3734 <image checked="checkbox_true" unchecked="checkbox_false" />
3735 </object>
3736
3737 <object type="slider">
3738 <placement x="%slider_x%" y="%slider_y%" />
3739 <resource base="slider" used="slider-used" touch="slider-touch" />
3740 <actions>
3741 <action function="set">tw_back=advanced</action>
3742 <action function="set">tw_action=adbsideload</action>
3743 <action function="set">tw_action_text1=ADB Sideload</action>
3744 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3745 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3746 <action function="set">tw_has_cancel=1</action>
3747 <action function="set">tw_show_reboot=1</action>
3748 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3749 <action function="page">action_page</action>
3750 </actions>
3751 </object>
3752
3753 <object type="text" color="%text_color%">
3754 <font resource="font" />
3755 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3756 <text>Swipe to Start Sideload</text>
3757 </object>
3758
3759 <object type="action">
3760 <touch key="home" />
3761 <action function="page">main</action>
3762 </object>
3763
3764 <object type="action">
3765 <touch key="back" />
3766 <action function="page">advanced</action>
3767 </object>
3768
3769 <object type="template" name="footer" />
3770 </page>
3771
3772 <page name="installsu">
3773 <object type="template" name="header" />
3774
3775 <object type="text" color="%text_color%">
3776 <font resource="font" />
3777 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3778 <text>Install SuperSU?</text>
3779 </object>
3780
3781 <object type="text" color="%text_color%">
3782 <font resource="font" />
3783 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3784 <text>Your device does not appear to be rooted.</text>
3785 </object>
3786
3787 <object type="text" color="%text_color%">
3788 <font resource="font" />
3789 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3790 <text>Install SuperSU now?</text>
3791 </object>
3792
3793 <object type="text" color="%text_color%">
3794 <font resource="font" />
3795 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3796 <text>This will root your device.</text>
3797 </object>
3798
3799 <object type="button">
3800 <highlight color="%highlight_color%" />
3801 <placement x="%col_center_x%" y="%row3_y%" />
3802 <font resource="font" color="%button_text_color%" />
3803 <text>Do Not Install</text>
3804 <image resource="main_button" />
3805 <action function="set">tw_page_done=1</action>
3806 </object>
3807
3808 <object type="slider">
3809 <placement x="%slider_x%" y="%slider_y%" />
3810 <resource base="slider" used="slider-used" touch="slider-touch" />
3811 <actions>
3812 <action function="set">tw_action=installsu</action>
3813 <action function="set">tw_action_text1=Installing SuperSU</action>
3814 <action function="set">tw_action_text2=</action>
3815 <action function="page">singleaction_page</action>
3816 </actions>
3817 </object>
3818
3819 <object type="text" color="%text_color%">
3820 <font resource="font" />
3821 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3822 <text>Swipe to Install</text>
3823 </object>
3824 </page>
3825 </pages>
3826</recovery>