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