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