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