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