blob: fdebf15f1983402dd76d58368b06c5b22cb35c4f [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="800" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
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>
Dees_Troy51a0e822012-09-05 15:24:24 -040045 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="240" />
47 <variable name="col_center_x" value="128" />
Dees_Troybbb21012012-09-20 15:59:46 -040048 <variable name="col_center_medium_x" value="183" />
Dees_Troy51a0e822012-09-05 15:24:24 -040049 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
Dees_Troyb46a6842012-09-25 11:06:46 -040067 <variable name="row12_text_y" value="470" />
68 <variable name="row13_text_y" value="500" />
69 <variable name="row14_text_y" value="530" />
70 <variable name="row15_text_y" value="560" />
71 <variable name="row16_text_y" value="590" />
72 <variable name="row17_text_y" value="620" />
73 <variable name="row18_text_y" value="650" />
Dees_Troy51a0e822012-09-05 15:24:24 -040074 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="10" />
100 <variable name="home_button_y" value="766" />
101 <variable name="back_button_x" value="413" />
102 <variable name="back_button_y" value="766" />
103 <variable name="sort_asc_text_y" value="685" />
104 <variable name="sort_asc_button_y" value="685" />
105 <variable name="sort_desc_text_y" value="725" />
106 <variable name="sort_desc_button_y" value="725" />
107 <variable name="sort_col1_button_x" value="180" />
108 <variable name="sort_col2_button_x" value="240" />
109 <variable name="sort_col3_button_x" value="300" />
110 <variable name="input_width" value="460" />
111 <variable name="input_height" value="40" />
112 <variable name="input_background_color" value="#303030" />
113 <variable name="input_cursor_color" value="#33B5E5" />
114 <variable name="input_cursor_width" value="3" />
115 <variable name="console_x" value="0" />
116 <variable name="console_width" value="480" />
117 <variable name="console_foreground" value="#A0A0A0" />
118 <variable name="console_background" value="#303030" />
119 <variable name="console_scroll" value="#303030" />
120 <variable name="console_action_height" value="320" />
121 <variable name="console_install_height" value="440" />
122 <variable name="console_installdone_height" value="300" />
123 <variable name="fileselector_x" value="5" />
124 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500125 <variable name="fileselector_install_height" value="480" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400126 <variable name="fileselector_header_background" value="#202020" />
127 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
128 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
129 <variable name="fileselector_header_separatorheight" value="3" />
130 <variable name="fileselector_separatorcolor" value="#505050" />
131 <variable name="fileselector_separatorheight" value="2" />
132 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600133 <variable name="fileselector_highlight_color" value="#505050" />
134 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100136 <variable name="fastscroll_linecolor" value="#808080" />
137 <variable name="fastscroll_rectcolor" value="#808080" />
138 <variable name="fastscroll_w" value="40" />
139 <variable name="fastscroll_linew" value="2" />
140 <variable name="fastscroll_rectw" value="27" />
141 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="18" />
147 <variable name="sd_plus_x" value="280" />
148 <variable name="sdext_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400149 <variable name="sdext_text_y" value="145" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400150 <variable name="sdswap_button_y" value="185" />
151 <variable name="sdswap_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400152 <variable name="sdswap_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="sdfilesystem_text_y" value="240" />
154 <variable name="sdfilesystem_button_y" value="280" />
155 <variable name="lock_x" value="40" />
156 <variable name="lock_y" value="200" />
157 <variable name="filemanager_select_x" value="365" />
158 <variable name="filemanager_select_y" value="690" />
159 <variable name="backup_name_y" value="350" />
160 <variable name="terminal_console_height" value="370" />
161 <variable name="terminal_text_y" value="390" />
162 <variable name="terminal_button_y" value="380" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="440" />
164 <variable name="row_offset_text_y" value="480" />
165 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500166 <variable name="button_fill_color" value="#303030" />
167 <variable name="button_fill_full_width" value="455" />
168 <variable name="button_fill_main_width" value="225" />
169 <variable name="button_fill_main_height" value="135" />
170 <variable name="button_fill_half_height" value="67" />
171 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000172 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500173 <variable name="backup_button_row1" value="480" />
174 <variable name="backup_button_row2" value="520" />
175 <variable name="mount_list_height" value="380" />
176 <variable name="mount_storage_row" value="500" />
177 <variable name="storage_list_height" value="400" />
178 <variable name="wipe_list_height" value="550" />
179 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200180 <variable name="slidervalue_w" value="460" />
181 <variable name="slidervalue_line_clr" value="#FFFFFF" />
182 <variable name="slidervalue_slider_clr" value="#33B5E5" />
183 <variable name="slidervalue_lineh" value="1" />
184 <variable name="slidervalue_padding" value="13" />
185 <variable name="slidervalue_sliderw" value="7" />
186 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400187 </variables>
188
189 <templates>
190 <template name="header">
191 <background color="%backgroundcolor%" />
192
193 <object type="image">
194 <image resource="top_bar" />
195 <placement x="0" y="0" />
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="100" y="10" />
201 <text>Team Win Recovery Project v%tw_version%</text>
202 </object>
203
204 <object type="text" color="%text_color%">
205 <condition var1="tw_simulate_actions" var2="1" />
206 <font resource="font" />
207 <placement x="100" y="40" />
208 <text>SIMULATING ACTIONS</text>
209 </object>
210
211 <object type="text" color="%text_color%">
212 <font resource="font" />
213 <placement x="100" y="70" />
214 <text>%tw_time%</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="250" y="70" />
220 <conditions>
221 <condition var1="tw_no_battery_percent" var2="0" />
222 <condition var1="tw_battery" op=">" var2="0" />
223 <condition var1="tw_battery" op="<" var2="101" />
224 </conditions>
225 <text>Battery: %tw_battery%</text>
226 </object>
227
228 <object type="button">
229 <placement x="%home_button_x%" y="%home_button_y%" />
230 <font resource="font" color="%button_text_color%" />
231 <text></text>
232 <image resource="home_icon" />
233 <condition var1="tw_busy" var2="0" />
234 <action function="key">home</action>
235 </object>
236
237 <object type="button">
238 <placement x="%back_button_x%" y="%back_button_y%" />
239 <font resource="font" color="%button_text_color%" />
240 <text></text>
241 <image resource="back_icon" />
242 <condition var1="tw_busy" var2="0" />
243 <action function="key">back</action>
244 </object>
245
246 <object type="action">
247 <touch key="power" />
248 <action function="overlay">lock</action>
249 </object>
250 </template>
251
252 <template name="progress_bar">
253 <object type="progressbar">
254 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
255 <resource empty="progress_empty" full="progress_full" />
256 <data name="ui_progress" />
257 </object>
258
259 <object type="animation">
260 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
261 <resource name="progress" />
262 <speed fps="15" render="2" />
263 <loop frame="1" />
264 </object>
265 </template>
266
267 <template name="action_page_console">
268 <object type="console">
269 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
270 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
271 <font resource="fixed" />
272 </object>
273 </template>
274
275 <template name="sort_options">
276 <object type="text" color="%text_color%">
277 <font resource="font" />
278 <placement x="%col1_x%" y="%sort_asc_text_y%" />
279 <text>Sort Ascending:</text>
280 </object>
281
282 <object type="button">
283 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
284 <font resource="UItext" 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">
291 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
292 <font resource="UItext" color="%button_text_color%" />
293 <text>Date</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=2</action>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
300 <font resource="UItext" color="%button_text_color%" />
301 <text>Size</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=3</action>
304 </object>
305
306 <object type="text" color="%text_color%">
307 <font resource="font" />
308 <placement x="%col1_x%" y="%sort_desc_text_y%" />
309 <text>Sort Descending:</text>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
314 <font resource="UItext" color="%button_text_color%" />
315 <text>Name</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=-1</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
322 <font resource="UItext" color="%button_text_color%" />
323 <text>Date</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-2</action>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
330 <font resource="UItext" color="%button_text_color%" />
331 <text>Size</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-3</action>
334 </object>
335 </template>
336
337 <template name="footer">
338 <object type="console">
339 <slideout resource="slideout" x="210" y="760" />
340 <placement x="%console_x%" y="0" w="%console_width%" h="760" />
341 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
342 <font resource="fixed" />
343 </object>
344 </template>
345
346 <template name="keyboardtemplate">
347 <object type="keyboard">
348 <placement x="0" y="450" />
349 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600350 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400351 <layout1>
352 <keysize height="78" width="48" />
353 <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" />
354 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
355 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
356 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
357 </layout1>
358 <layout2>
359 <keysize height="78" width="48" />
360 <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" />
361 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
362 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
363 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
364 </layout2>
365 <layout3>
366 <keysize height="78" width="48" />
367 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
368 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
369 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
370 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
371 </layout3>
372 <layout4>
373 <keysize height="78" width="48" />
374 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
375 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
376 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
377 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
378 </layout4>
379 </object>
380 </template>
381 </templates>
382
383 <pages>
384 <page name="main">
385 <object type="action">
386 <actions>
387 <action function="set">tw_clear_destination=main2</action>
388 <action function="page">clear_vars</action>
389 </actions>
390 </object>
391 </page>
392
393 <page name="main2">
394 <object type="template" name="header" />
395
396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400398 <placement x="%col1_x%" y="%row1_y%" />
399 <font resource="font" color="%button_text_color%" />
400 <text>Install</text>
401 <image resource="main_button" />
402 <actions>
403 <action function="queueclear"></action>
404 <action function="page">install</action>
405 </actions>
406 </object>
407
408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400410 <placement x="%col2_x%" y="%row1_y%" />
411 <font resource="font" color="%button_text_color%" />
412 <text>Wipe</text>
413 <image resource="main_button" />
414 <action function="page">wipe</action>
415 </object>
416
417 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600418 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400419 <placement x="%col1_x%" y="%row2_y%" />
420 <font resource="font" color="%button_text_color%" />
421 <text>Backup</text>
422 <image resource="main_button" />
423 <action function="page">backup</action>
424 </object>
425
426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400428 <placement x="%col2_x%" y="%row2_y%" />
429 <font resource="font" color="%button_text_color%" />
430 <text>Restore</text>
431 <image resource="main_button" />
432 <action function="page">restore</action>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col1_x%" y="%row3_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Mount</text>
440 <image resource="main_button" />
441 <action function="page">mount</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row3_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Settings</text>
449 <image resource="main_button" />
450 <action function="page">settings</action>
451 </object>
452
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col1_x%" y="%row4_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Advanced</text>
459 <image resource="main_button" />
460 <action function="page">advanced</action>
461 </object>
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col2_x%" y="%row4_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Reboot</text>
468 <image resource="main_button" />
469 <action function="page">reboot</action>
470 </object>
471
472 <object type="template" name="footer" />
473 </page>
474
475 <page name="install">
476 <object type="template" name="header" />
477
478 <object type="text" color="%text_color%">
479 <font resource="font" />
480 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
481 <text>Select Zip to Install</text>
482 </object>
483
484 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500485 <highlight color="%highlight_color%" />
486 <fill color="%button_fill_color%" />
487 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
488 <font resource="font" color="%button_text_color%" />
489 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
490 <actions>
491 <action function="set">tw_back=install</action>
492 <action function="page">selectstorage</action>
493 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 </object>
495
496 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600497 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500498 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100500 <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 -0400501 <text>%tw_zip_location%</text>
502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
503 <sort name="tw_gui_sort_order" />
504 <icon folder="folder_icon" file="file_icon" />
505 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600506 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <filter extn=".zip" folders="1" files="1" />
508 <path name="tw_zip_location" default="/sdcard" />
509 <data name="tw_filename" />
510 <selection name="tw_file" />
511 </object>
512
513 <object type="template" name="sort_options" />
514
515 <object type="action">
516 <condition var1="tw_filename" op="modified" />
517 <actions>
518 <action function="queuezip"></action>
519 <action function="page">flash_confirm</action>
520 </actions>
521 </object>
522
523 <object type="action">
524 <touch key="back" />
525 <action function="page">main</action>
526 </object>
527
528 <object type="action">
529 <touch key="home" />
530 <action function="page">main</action>
531 </object>
532
533 <object type="template" name="footer" />
534 </page>
535
536 <page name="flash_confirm">
537 <object type="template" name="header" />
538
539 <object type="text" color="%text_color%">
540 <font resource="font" />
541 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
542 <text>This operation may install incompatible</text>
543 </object>
544
545 <object type="text" color="%text_color%">
546 <font resource="font" />
547 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
548 <text>software and render your device unusable.</text>
549 </object>
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
554 <text>Folder:</text>
555 </object>
556
557 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400558 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400559 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
560 <text>%tw_zip_location%</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
566 <text>File to flash:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
572 <text>%tw_file%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
578 <text>Press back to cancel adding this zip.</text>
579 </object>
580
581 <object type="checkbox">
582 <placement x="%col1_x%" y="%row8_text_y%" />
583 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400584 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400585 <data variable="tw_signed_zip_verify" />
586 <image checked="checkbox_true" unchecked="checkbox_false" />
587 </object>
588
589 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400590 <condition var1="tw_has_injecttwrp" var2="1" />
591 <placement x="%col1_x%" y="%row10_text_y%" />
592 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <data variable="tw_inject_after_zip" />
595 <image checked="checkbox_true" unchecked="checkbox_false" />
596 </object>
597
598 <object type="text" color="%text_color%">
599 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400600 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400601 <text>File %tw_zip_queue_count% of max of 10</text>
602 </object>
603
604 <object type="slider">
605 <placement x="%slider_x%" y="%slider_y%" placement="5" />
606 <resource base="slider" used="slider-used" touch="slider-touch" />
607 <action function="flash">flash_zip</action>
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
612 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
613 <text>Swipe to Confirm Flash</text>
614 </object>
615
616 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600617 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
619 <placement x="%col1_x%" y="%row_queue_y%" />
620 <font resource="font" color="%button_text_color%" />
621 <text>Add More Zips</text>
622 <image resource="main_button" />
623 <action function="page">install</action>
624 </object>
625
626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400628 <placement x="%col2_x%" y="%row_queue_y%" />
629 <font resource="font" color="%button_text_color%" />
630 <text>Clear Zip Queue</text>
631 <image resource="main_button" />
632 <actions>
633 <action function="queueclear"></action>
634 <action function="page">install</action>
635 </actions>
636 </object>
637
638 <object type="action">
639 <touch key="back" />
640 <actions>
641 <action function="cancelzip"></action>
642 <action function="page">install</action>
643 </actions>
644 </object>
645
646 <object type="action">
647 <touch key="home" />
648 <action function="page">main</action>
649 </object>
650
651 <object type="template" name="footer" />
652 </page>
653
654 <page name="flash_zip">
655 <object type="template" name="header" />
656
657 <object type="console">
658 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
659 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
660 <font resource="fixed" />
661 </object>
662
663 <object type="text" color="%text_color%">
664 <font resource="font" />
665 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
666 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
667 </object>
668
669 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400670 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400671 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
672 <text>%tw_filename%</text>
673 </object>
674
675 <object type="template" name="progress_bar" />
676
677 <object type="action">
678 <condition var1="tw_operation_state" var2="1" />
679 <action function="page">flash_done</action>
680 </object>
681 </page>
682
683 <page name="flash_done">
684 <object type="template" name="header" />
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
689 <text>Zip Install Complete</text>
690 </object>
691
692 <object type="console">
693 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
694 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
695 <font resource="fixed" />
696 </object>
697
698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400700 <placement x="%col1_x%" y="%row4_y%" />
701 <font resource="font" color="%button_text_color%" />
702 <text>Wipe cache/dalvik</text>
703 <image resource="main_button" />
704 <actions>
705 <action function="set">tw_back=flash_done</action>
706 <action function="set">tw_action=wipe</action>
707 <action function="set">tw_action_param=/cache</action>
708 <action function="set">tw_has_action2=1</action>
709 <action function="set">tw_action2=wipe</action>
710 <action function="set">tw_action2_param=dalvik</action>
711 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
712 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
713 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
714 <action function="set">tw_slider_text=Swipe to Wipe</action>
715 <action function="page">confirm_action</action>
716 </actions>
717 </object>
718
719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400721 <placement x="%col2_x%" y="%row4_y%" />
722 <font resource="font" color="%button_text_color%" />
723 <text>Reboot System</text>
724 <image resource="main_button" />
725 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400726 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400727 <action function="set">tw_action=reboot</action>
728 <action function="set">tw_action_param=system</action>
729 <action function="set">tw_has_action2=0</action>
730 <action function="set">tw_text1=No OS Installed! Are you</action>
731 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400732 <action function="set">tw_text3=</action>
733 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400735 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <action function="set">tw_complete_text1=Rebooting...</action>
737 <action function="set">tw_slider_text=Swipe to Reboot</action>
738 <action function="page">rebootcheck</action>
739 </actions>
740 </object>
741
742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <placement x="%col_center_x%" y="%row3_y%" />
745 <font resource="font" color="%button_text_color%" />
746 <text>Home</text>
747 <image resource="main_button" />
748 <actions>
749 <action function="set">tw_clear_destination=main2</action>
750 <action function="page">clear_vars</action>
751 </actions>
752 </object>
753
754 <object type="text" color="%text_fail_color%">
755 <condition var1="tw_operation_status" op="!=" var2="0" />
756 <font resource="font" />
757 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
758 <text>Failed</text>
759 </object>
760
761 <object type="text" color="%text_success_color%">
762 <condition var1="tw_operation_status" var2="0" />
763 <font resource="font" />
764 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
765 <text>Successful</text>
766 </object>
767
768 <object type="action">
769 <touch key="back" />
770 <actions>
771 <action function="set">tw_clear_destination=install</action>
772 <action function="page">clear_vars</action>
773 </actions>
774 </object>
775
776 <object type="action">
777 <touch key="home" />
778 <actions>
779 <action function="set">tw_clear_destination=main2</action>
780 <action function="page">clear_vars</action>
781 </actions>
782 </object>
783 </page>
784
785 <page name="clear_vars">
786 <object type="action">
787 <action function="set">tw_operation_state=0</action>
788 <action function="set">tw_text1=</action>
789 <action function="set">tw_text2=</action>
790 <action function="set">tw_text3=</action>
791 <action function="set">tw_text4=</action>
792 <action function="set">tw_action_text1=</action>
793 <action function="set">tw_action_text2=</action>
794 <action function="set">tw_action_param=</action>
795 <action function="set">tw_has_action2=0</action>
796 <action function="set">tw_action2=</action>
797 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400798 <action function="set">tw_has_cancel=0</action>
799 <action function="set">tw_cancel_action=</action>
800 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400801 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400802 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400803 <action function="page">%tw_clear_destination%</action>
804 </object>
805 </page>
806
807 <page name="confirm_action">
808 <object type="template" name="header" />
809
810 <object type="text" color="%text_color%">
811 <font resource="font" />
812 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
813 <text>%tw_text1%</text>
814 </object>
815
816 <object type="text" color="%text_color%">
817 <font resource="font" />
818 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
819 <text>%tw_text2%</text>
820 </object>
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
825 <text>%tw_text3%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
831 <text>%tw_text4%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400836 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400837 <text>Press back button to cancel.</text>
838 </object>
839
840 <object type="slider">
841 <placement x="%slider_x%" y="%slider_y%" />
842 <resource base="slider" used="slider-used" touch="slider-touch" />
843 <action function="page">action_page</action>
844 </object>
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
848 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
849 <text>%tw_slider_text%</text>
850 </object>
851
852 <object type="action">
853 <touch key="back" />
854 <actions>
855 <action function="set">tw_clear_destination=%tw_back%</action>
856 <action function="page">clear_vars</action>
857 </actions>
858 </object>
859
860 <object type="action">
861 <touch key="home" />
862 <action function="page">main</action>
863 </object>
864
865 <object type="template" name="footer" />
866 </page>
867
868 <page name="action_page">
869 <object type="template" name="header" />
870
871 <object type="text" color="%text_color%">
872 <font resource="font" />
873 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
874 <text>%tw_action_text1%</text>
875 </object>
876
877 <object type="text" color="%text_color%">
878 <font resource="font" />
879 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
880 <text>%tw_action_text2%</text>
881 </object>
882
883 <object type="template" name="action_page_console" />
884
Dees_Troybbb21012012-09-20 15:59:46 -0400885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600886 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400887 <condition var1="tw_has_cancel" var2="1" />
888 <placement x="%col_center_medium_x%" y="%row4_y%" />
889 <font resource="font" color="%button_text_color%" />
890 <text>Cancel</text>
891 <image resource="medium_button" />
892 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
893 </object>
894
Dees_Troy51a0e822012-09-05 15:24:24 -0400895 <object type="template" name="progress_bar" />
896
897 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400898 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400899 <actions>
900 <action function="page">action_complete</action>
901 </actions>
902 </object>
903
904 <object type="action">
905 <condition var1="tw_has_action2" var2="0" />
906 <actions>
907 <action function="%tw_action%">%tw_action_param%</action>
908 </actions>
909 </object>
910
911 <object type="action">
912 <condition var1="tw_has_action2" var2="1" />
913 <actions>
914 <action function="%tw_action%">%tw_action_param%</action>
915 <action function="%tw_action2%">%tw_action2_param%</action>
916 </actions>
917 </object>
918 </page>
919
Dees_Troy6ef66352013-02-21 08:26:57 -0600920 <page name="singleaction_page">
921 <object type="template" name="header" />
922
923 <object type="text" color="%text_color%">
924 <font resource="font" />
925 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
926 <text>%tw_action_text1%</text>
927 </object>
928
929 <object type="text" color="%text_color%">
930 <font resource="font" />
931 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
932 <text>%tw_action_text2%</text>
933 </object>
934
935 <object type="template" name="action_page_console" />
936
937 <object type="template" name="progress_bar" />
938
939 <object type="action">
940 <condition var1="tw_operation_state" var2="1" />
941 <actions>
942 <action function="set">tw_page_done=1</action>
943 </actions>
944 </object>
945
946 <object type="action">
947 <condition var1="tw_has_action2" var2="0" />
948 <actions>
949 <action function="%tw_action%">%tw_action_param%</action>
950 </actions>
951 </object>
952
953 <object type="action">
954 <condition var1="tw_has_action2" var2="1" />
955 <actions>
956 <action function="%tw_action%">%tw_action_param%</action>
957 <action function="%tw_action2%">%tw_action2_param%</action>
958 </actions>
959 </object>
960 </page>
961
Dees_Troy51a0e822012-09-05 15:24:24 -0400962 <page name="action_complete">
963 <object type="template" name="header" />
964
965 <object type="text" color="%text_color%">
966 <font resource="font" />
967 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
968 <text>%tw_complete_text1%</text>
969 </object>
970
971 <object type="text" color="%text_fail_color%">
972 <condition var1="tw_operation_status" op="!=" var2="0" />
973 <font resource="font" />
974 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
975 <text>Failed</text>
976 </object>
977
978 <object type="text" color="%text_success_color%">
979 <condition var1="tw_operation_status" var2="0" />
980 <font resource="font" />
981 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
982 <text>Successful</text>
983 </object>
984
985 <object type="template" name="action_page_console" />
986
987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600988 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400989 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400990 <placement x="%col_center_x%" y="%row4_y%" />
991 <font resource="font" color="%button_text_color%" />
992 <text>Back</text>
993 <image resource="main_button" />
994 <actions>
995 <action function="set">tw_clear_destination=%tw_back%</action>
996 <action function="page">clear_vars</action>
997 </actions>
998 </object>
999
Dees_Troya3f81542012-10-08 10:58:53 -04001000 <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="1" />
1003 <placement x="%col_center_x%" y="%row4_y%" />
1004 <font resource="font" color="%button_text_color%" />
1005 <text>Reboot System</text>
1006 <image resource="main_button" />
1007 <actions>
1008 <action function="set">tw_back=main2</action>
1009 <action function="set">tw_action=reboot</action>
1010 <action function="set">tw_action_param=system</action>
1011 <action function="set">tw_has_action2=0</action>
1012 <action function="set">tw_text1=No OS Installed! Are you</action>
1013 <action function="set">tw_text2=sure you wish to reboot?</action>
1014 <action function="set">tw_text3=</action>
1015 <action function="set">tw_text4=</action>
1016 <action function="set">tw_action_text1=Rebooting...</action>
1017 <action function="set">tw_action_text2=</action>
1018 <action function="set">tw_complete_text1=Rebooting...</action>
1019 <action function="set">tw_slider_text=Swipe to Reboot</action>
1020 <action function="page">rebootcheck</action>
1021 </actions>
1022 </object>
1023
Dees_Troy51a0e822012-09-05 15:24:24 -04001024 <object type="action">
1025 <touch key="home" />
1026 <actions>
1027 <action function="set">tw_clear_destination=main2</action>
1028 <action function="page">clear_vars</action>
1029 </actions>
1030 </object>
1031
1032 <object type="action">
1033 <touch key="back" />
1034 <actions>
1035 <action function="set">tw_clear_destination=%tw_back%</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039 </page>
1040
1041 <page name="filecheck">
1042 <object type="action">
1043 <action function="fileexists">%tw_filecheck%</action>
1044 </object>
1045
1046 <object type="action">
1047 <conditions>
1048 <condition var1="tw_operation_state" var2="1" />
1049 <condition var1="tw_operation_status" var2="0" />
1050 </conditions>
1051 <actions>
1052 <action function="set">tw_fileexists=1</action>
1053 <action function="page">%tw_existpage%</action>
1054 </actions>
1055 </object>
1056
1057 <object type="action">
1058 <conditions>
1059 <condition var1="tw_operation_state" var2="1" />
1060 <condition var1="tw_operation_status" var2="1" />
1061 </conditions>
1062 <actions>
1063 <action function="set">tw_fileexists=0</action>
1064 <action function="page">%tw_notexistpage%</action>
1065 </actions>
1066 </object>
1067 </page>
1068
1069 <page name="rebootcheck">
1070 <object type="action">
1071 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1072 <action function="reboot">%tw_action_param%</action>
1073 </object>
1074
1075 <object type="action">
1076 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1077 <action function="page">confirm_action</action>
1078 </object>
1079 </page>
1080
1081 <page name="wipe">
1082 <object type="template" name="header" />
1083
1084 <object type="text" color="%text_color%">
1085 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001086 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001087 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001088 </object>
1089
1090 <object type="text" color="%text_color%">
1091 <font resource="font" />
1092 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1093 <text>Wipes Data, Cache, and Dalvik</text>
1094 </object>
1095
1096 <object type="text" color="%text_color%">
1097 <condition var1="tw_has_data_media" var2="0" />
1098 <font resource="font" />
1099 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1100 <text>.android_secure</text>
1101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <condition var1="tw_has_data_media" var2="1" />
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1107 <text>(not including internal storage)</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
1111 <condition var1="tw_has_sdext_partition" var2="1" />
1112 <font resource="font" />
1113 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1114 <text>SD-EXT</text>
1115 </object>
1116
1117 <object type="text" color="%text_color%">
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1120 <text>Most of the time this is</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <font resource="font" />
1125 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1126 <text>the only wipe that you need.</text>
1127 </object>
1128
1129 <object type="text" color="%text_color%">
1130 <font resource="font" />
1131 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1132 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001133 </object>
1134
1135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001136 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001137 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001138 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001139 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001140 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001141 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 </object>
1143
1144 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001145 <conditions>
1146 <condition var1="tw_has_internal" var2="1" />
1147 <condition var1="tw_has_data_media" var2="1" />
1148 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001149 <highlight color="%highlight_color%" />
1150 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 <font resource="font" color="%button_text_color%" />
1152 <text>Format Data</text>
1153 <image resource="main_button" />
1154 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001155 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 </actions>
1157 </object>
1158
Dees_Troya13d74f2013-03-24 08:54:55 -05001159 <object type="slider">
1160 <placement x="%slider_x%" y="%slider_y%" />
1161 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001162 <actions>
1163 <action function="set">tw_back=wipe</action>
1164 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <action function="set">tw_action_param=data</action>
1166 <action function="set">tw_action_text1=Factory Reset...</action>
1167 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1168 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001169 </actions>
1170 </object>
1171
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <object type="text" color="%text_color%">
1173 <font resource="font" />
1174 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1175 <text>Swipe to Factory Reset</text>
1176 </object>
1177
1178 <object type="action">
1179 <touch key="back" />
1180 <action function="page">main</action>
1181 </object>
1182
1183 <object type="action">
1184 <touch key="home" />
1185 <action function="page">main</action>
1186 </object>
1187
1188 <object type="template" name="footer" />
1189 </page>
1190
1191 <page name="advancedwipe">
1192 <object type="template" name="header" />
1193
1194 <object type="text" color="%text_color%">
1195 <font resource="font" />
1196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1197 <text>Wipe Menu</text>
1198 </object>
1199
1200 <object type="partitionlist">
1201 <highlight color="%fileselector_highlight_color%" />
1202 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1203 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1204 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1205 <text>Select Partitions to Wipe:</text>
1206 <icon selected="checkbox_true" unselected="checkbox_false" />
1207 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1208 <background color="%listbox_background%" />
1209 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1210 <data name="tw_wipe_list" />
1211 <listtype name="wipe" />
1212 </object>
1213
1214 <object type="slider">
1215 <placement x="%slider_x%" y="%slider_y%" />
1216 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001217 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001218 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001219 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001220 <action function="set">tw_action_param=LIST</action>
1221 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1222 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1223 <action function="set">tw_complete_text1=Wipe Complete</action>
1224 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 </actions>
1226 </object>
1227
Dees_Troya13d74f2013-03-24 08:54:55 -05001228 <object type="text" color="%text_color%">
1229 <font resource="font" />
1230 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1231 <text>Swipe to Wipe</text>
1232 </object>
1233
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 <object type="action">
1235 <touch key="home" />
1236 <action function="page">main</action>
1237 </object>
1238
1239 <object type="action">
1240 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 </object>
1243
1244 <object type="template" name="footer" />
1245 </page>
1246
Dees_Troya13d74f2013-03-24 08:54:55 -05001247 <page name="formatdata">
1248 <object type="template" name="header" />
1249
1250 <object type="text" color="%text_color%">
1251 <font resource="font" />
1252 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1253 <text>Format Data will wipe all of your apps,</text>
1254 </object>
1255
1256 <object type="text" color="%text_color%">
1257 <font resource="font" />
1258 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1259 <text>backups, pictures, videos, media, and</text>
1260 </object>
1261
1262 <object type="text" color="%text_color%">
1263 <font resource="font" />
1264 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1265 <text>removes encryption on internal storage.</text>
1266 </object>
1267
1268 <object type="text" color="%text_color%">
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1271 <text>This cannot be undone. Press back to cancel.</text>
1272 </object>
1273
1274 <object type="text" color="%text_color%">
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1277 <text>Type yes to continue.</text>
1278 </object>
1279
1280 <object type="input">
1281 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1282 <background color="%input_background_color%" />
1283 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1284 <font resource="font" color="%text_color%" />
1285 <text>%tw_confirm_formatdata%</text>
1286 <data name="tw_confirm_formatdata" />
1287 <restrict minlen="3" maxlen="3" allow="yes" />
1288 <action function="page">formatdata_confirm</action>
1289 </object>
1290
1291 <object type="template" name="keyboardtemplate" />
1292
1293 <object type="action">
1294 <touch key="home" />
1295 <action function="page">main</action>
1296 </object>
1297
1298 <object type="action">
1299 <touch key="back" />
1300 <action function="page">wipe</action>
1301 </object>
1302
1303 <object type="template" name="footer" />
1304 </page>
1305
1306 <page name="formatdata_confirm">
1307 <object type="action">
1308 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1309 <actions>
1310 <action function="set">tw_back=formatdata</action>
1311 <action function="set">tw_action=wipe</action>
1312 <action function="set">tw_action_param=DATAMEDIA</action>
1313 <action function="set">tw_action_text1=Formatting Data...</action>
1314 <action function="set">tw_complete_text1=Data Format Complete</action>
1315 <action function="page">action_page</action>
1316 </actions>
1317 </object>
1318
1319 <object type="action">
1320 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1321 <action function="page">formatdata</function>
1322 </object>
1323 </page>
1324
Dees_Troy51a0e822012-09-05 15:24:24 -04001325 <page name="backup">
1326 <object type="template" name="header" />
1327
Dees_Troy83bd4832013-05-04 12:39:56 +00001328 <object type="button">
1329 <highlight color="%highlight_color%" />
1330 <fill color="%button_fill_color%" />
1331 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1332 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001333 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001334 <actions>
1335 <action function="set">tw_fileexists=0</action>
1336 <action function="page">backupname1</action>
1337 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001338 </object>
1339
Dees_Troya13d74f2013-03-24 08:54:55 -05001340 <object type="partitionlist">
1341 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001342 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001343 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1344 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1345 <text>Select Partitions to Back Up:</text>
1346 <icon selected="checkbox_true" unselected="checkbox_false" />
1347 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1348 <background color="%listbox_background%" />
1349 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1350 <data name="tw_backup_list" />
1351 <listtype name="backup" />
1352 </object>
1353
1354 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001355 <conditions>
1356 <condition var1="tw_include_encrypted_backup" var2="1" />
1357 <condition var1="tw_encrypt_backup" var2="0" />
1358 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001359 <highlight color="%highlight_color%" />
1360 <fill color="%button_fill_color%" />
1361 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1362 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001363 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001364 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001365 <action function="page">backupencryption</action>
1366 </actions>
1367 </object>
1368
1369 <object type="button">
1370 <conditions>
1371 <condition var1="tw_include_encrypted_backup" var2="1" />
1372 <condition var1="tw_encrypt_backup" var2="1" />
1373 </conditions>
1374 <highlight color="%highlight_color%" />
1375 <fill color="%button_fill_color%" />
1376 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1377 <font resource="font" color="%button_text_color%" />
1378 <text>Using Encryption</text>
1379 <actions>
1380 <action function="set">tw_password_not_match=0</action>
1381 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001382 </actions>
1383 </object>
1384
1385 <object type="button">
1386 <highlight color="%highlight_color%" />
1387 <fill color="%button_fill_color%" />
1388 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1389 <font resource="font" color="%button_text_color%" />
1390 <text>Refresh Sizes</text>
1391 <action function="refreshsizes"></action>
1392 </object>
1393
1394 <object type="button">
1395 <highlight color="%highlight_color%" />
1396 <fill color="%button_fill_color%" />
1397 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1398 <font resource="font" color="%button_text_color%" />
1399 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1400 <actions>
1401 <action function="set">tw_back=backup</action>
1402 <action function="page">selectstorage</action>
1403 </actions>
1404 </object>
1405
1406 <object type="checkbox">
1407 <placement x="%col1_x%" y="%row15_text_y%" />
1408 <font resource="font" color="%text_color%" />
1409 <text>Enable compression.</text>
1410 <data variable="tw_use_compression" />
1411 <image checked="checkbox_true" unchecked="checkbox_false" />
1412 </object>
1413
1414 <object type="checkbox">
1415 <placement x="%col1_x%" y="%row16_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <text>Skip MD5 generation during backup.</text>
1418 <data variable="tw_skip_md5_generate" />
1419 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001420 </object>
1421
1422 <object type="slider">
1423 <placement x="%slider_x%" y="slider_y" />
1424 <resource base="slider" used="slider-used" touch="slider-touch" />
1425 <action function="page">backup_run</action>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <font resource="font" />
1430 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1431 <text>Swipe to Back Up</text>
1432 </object>
1433
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <object type="action">
1435 <touch key="home" />
1436 <action function="page">main</action>
1437 </object>
1438
1439 <object type="action">
1440 <touch key="back" />
1441 <action function="page">main</action>
1442 </object>
1443
1444 <object type="template" name="footer" />
1445 </page>
1446
1447 <page name="backupname1">
1448 <object type="action">
1449 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1450 <action function="set">tw_backup_name=</function>
1451 </object>
1452
1453 <object type="action">
1454 <action function="page">backupname2</function>
1455 </object>
1456 </page>
1457
1458 <page name="backupname2">
1459 <object type="template" name="header" />
1460
1461 <object type="text" color="%text_color%">
1462 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1463 <font resource="font" />
1464 <text>Please Enter a Backup Name</text>
1465 </object>
1466
1467 <object type="input">
1468 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1469 <background color="%input_background_color%" />
1470 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1471 <font resource="font" color="%text_color%" />
1472 <text>%tw_backup_name%</text>
1473 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001474 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001475 <actions>
1476 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1477 <action function="set">tw_existpage=backupname2</action>
1478 <action function="set">tw_notexistpage=backup</action>
1479 <action function="page">filecheck</action>
1480 </actions>
1481 </object>
1482
1483 <object type="text" color="%text_fail_color%">
1484 <condition var1="tw_fileexists" var2="1" />
1485 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1486 <font resource="font" />
1487 <text>A backup with that name already exists!</text>
1488 </object>
1489
1490 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001491 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001492 <placement x="%col_center_x%" y="%row2_y%" />
1493 <font resource="font" color="%button_text_color%" />
1494 <text>Cancel</text>
1495 <image resource="main_button" />
1496 <actions>
1497 <action function="set">tw_backup_name=(Current Date)</action>
1498 <action function="page">backup</action>
1499 </actions>
1500 </object>
1501
1502 <object type="template" name="keyboardtemplate" />
1503
1504 <object type="action">
1505 <touch key="home" />
1506 <actions>
1507 <action function="set">tw_backup_name=(Current Date)</action>
1508 <action function="page">main</action>
1509 </actions>
1510 </object>
1511
1512 <object type="action">
1513 <touch key="back" />
1514 <actions>
1515 <action function="set">tw_backup_name=(Current Date)</action>
1516 <action function="page">backup</action>
1517 </actions>
1518 </object>
1519
1520 <object type="template" name="footer" />
1521 </page>
1522
Dees_Troy83bd4832013-05-04 12:39:56 +00001523 <page name="backupencryption">
1524 <object type="template" name="header" />
1525
1526 <object type="text" color="%text_color%">
1527 <font resource="font" />
1528 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1529 <text>Encrypt your backup?</text>
1530 </object>
1531
1532 <object type="text" color="%text_color%">
1533 <font resource="font" />
1534 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1535 <text>Please Enter A Password:</text>
1536 </object>
1537
1538 <object type="input">
1539 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1540 <background color="%input_background_color%" />
1541 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1542 <font resource="font" color="%text_color%" />
1543 <text>%tw_backup_encrypt_display%</text>
1544 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1545 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1546 <action function="page">backupencryption2</action>
1547 </object>
1548
1549 <object type="text" color="%text_fail_color%">
1550 <condition var1="tw_password_not_match" var2="1" />
1551 <font resource="font" />
1552 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1553 <text>Passwords Do Not Match</text>
1554 </object>
1555
1556 <object type="button">
1557 <highlight color="%highlight_color%" />
1558 <placement x="%col_center_x%" y="%row2_y%" />
1559 <font resource="font" color="%button_text_color%" />
1560 <text>Cancel</text>
1561 <image resource="main_button" />
1562 <actions>
1563 <action function="set">tw_encrypt_backup=0</action>
1564 <action function="set">tw_backup_password=</action>
1565 <action function="set">tw_backup_password2=</action>
1566 <action function="set">tw_backup_encrypt_display=</action>
1567 <action function="set">tw_backup_encrypt_display2=</action>
1568 <action function="page">backup</action>
1569 </actions>
1570 </object>
1571
1572 <object type="template" name="keyboardtemplate" />
1573
1574 <object type="action">
1575 <touch key="home" />
1576 <action function="page">main</action>
1577 </object>
1578
1579 <object type="action">
1580 <touch key="back" />
1581 <action function="page">backup</action>
1582 </object>
1583
1584 <object type="template" name="footer" />
1585 </page>
1586
1587 <page name="backupencryption2">
1588 <object type="template" name="header" />
1589
1590 <object type="text" color="%text_color%">
1591 <font resource="font" />
1592 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1593 <text>Encrypt your backup?</text>
1594 </object>
1595
1596 <object type="text" color="%text_color%">
1597 <font resource="font" />
1598 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1599 <text>Please Enter Password Again:</text>
1600 </object>
1601
1602 <object type="input">
1603 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1604 <background color="%input_background_color%" />
1605 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1606 <font resource="font" color="%text_color%" />
1607 <text>%tw_backup_encrypt_display2%</text>
1608 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1609 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1610 <actions>
1611 <action function="page">checkbackuppassword</action>
1612 </actions>
1613 </object>
1614
1615 <object type="button">
1616 <highlight color="%highlight_color%" />
1617 <placement x="%col_center_x%" y="%row2_y%" />
1618 <font resource="font" color="%button_text_color%" />
1619 <text>Cancel</text>
1620 <image resource="main_button" />
1621 <actions>
1622 <action function="set">tw_encrypt_backup=0</action>
1623 <action function="set">tw_backup_password=</action>
1624 <action function="set">tw_backup_password2=</action>
1625 <action function="set">tw_backup_encrypt_display=</action>
1626 <action function="set">tw_backup_encrypt_display2=</action>
1627 <action function="page">backup</action>
1628 </actions>
1629 </object>
1630
1631 <object type="template" name="keyboardtemplate" />
1632
1633 <object type="action">
1634 <touch key="home" />
1635 <action function="page">main</action>
1636 </object>
1637
1638 <object type="action">
1639 <touch key="back" />
1640 <action function="page">backup</action>
1641 </object>
1642
1643 <object type="template" name="footer" />
1644 </page>
1645
1646 <page name="checkbackuppassword">
1647 <object type="action">
1648 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1649 <actions>
1650 <action function="set">tw_encrypt_backup=1</action>
1651 <action function="page">backup</action>
1652 </actions>
1653 </object>
1654
1655 <object type="action">
1656 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1657 <actions>
1658 <action function="set">tw_encrypt_backup=0</action>
1659 <action function="set">tw_password_not_match=1</action>
1660 <action function="set">tw_backup_password=</action>
1661 <action function="set">tw_backup_password2=</action>
1662 <action function="set">tw_backup_encrypt_display=</action>
1663 <action function="set">tw_backup_encrypt_display2=</action>
1664 <action function="page">backupencryption</action>
1665 </actions>
1666 </object>
1667 </page>
1668
Dees_Troy51a0e822012-09-05 15:24:24 -04001669 <page name="backup_run">
1670 <object type="template" name="header" />
1671
1672 <object type="text" color="%text_color%">
1673 <font resource="font" />
1674 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1675 <text>%tw_operation% %tw_partition%</text>
1676 </object>
1677
1678 <object type="template" name="action_page_console" />
1679
1680 <object type="template" name="progress_bar" />
1681
1682 <object type="action">
1683 <action function="nandroid">backup</action>
1684 </object>
1685
1686 <object type="action">
1687 <condition var1="tw_operation_state" var2="1" />
1688 <actions>
1689 <action function="set">tw_back=backup</action>
1690 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001691 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001692 <action function="page">action_complete</action>
1693 </actions>
1694 </object>
1695 </page>
1696
1697 <page name="restore">
1698 <object type="template" name="header" />
1699
1700 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001701 <highlight color="%highlight_color%" />
1702 <fill color="%button_fill_color%" />
1703 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1704 <font resource="font" color="%button_text_color%" />
1705 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1706 <actions>
1707 <action function="set">tw_back=restore</action>
1708 <action function="page">selectstorage</action>
1709 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001710 </object>
1711
1712 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001713 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001714 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001715 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001716 <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 -04001717 <text>Select Package to Restore:</text>
1718 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1719 <sort name="tw_gui_sort_order" />
1720 <icon folder="folder_icon" file="file_icon" />
1721 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001722 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001723 <filter folders="1" files="0" nav="0" />
1724 <path name="tw_backups_folder" />
1725 <data name="tw_restore" default="" />
1726 <selection name="tw_restore_name" />
1727 </object>
1728
1729 <object type="template" name="sort_options" />
1730
1731 <object type="action">
1732 <condition var1="tw_restore" op="modified" />
1733 <actions>
1734 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001735 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001736 </actions>
1737 </object>
1738
1739 <object type="action">
1740 <touch key="home" />
1741 <action function="page">main</action>
1742 </object>
1743
1744 <object type="action">
1745 <touch key="back" />
1746 <action function="page">main</action>
1747 </object>
1748
1749 <object type="template" name="footer" />
1750 </page>
1751
Dees_Troy83bd4832013-05-04 12:39:56 +00001752 <page name="restore_read">
1753 <object type="action">
1754 <condition var1="tw_restore_encrypted" var2="1" />
1755 <actions>
1756 <action function="set">tw_password_fail=0</action>
1757 <action function="page">restore_decrypt</action>
1758 </actions>
1759 </object>
1760
1761 <object type="action">
1762 <condition var1="tw_restore_encrypted" var2="0" />
1763 <actions>
1764 <action function="page">restore_select</action>
1765 </actions>
1766 </object>
1767 </page>
1768
1769 <page name="restore_decrypt">
1770 <object type="template" name="header" />
1771
1772 <object type="text" color="%text_color%">
1773 <font resource="font" />
1774 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1775 <text>Backup Encrypted</text>
1776 </object>
1777
1778 <object type="text" color="%text_color%">
1779 <font resource="font" />
1780 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1781 <text>Please Enter Your Password:</text>
1782 </object>
1783
1784 <object type="input">
1785 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1786 <background color="%input_background_color%" />
1787 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1788 <font resource="font" color="%text_color%" />
1789 <text>%tw_restore_display%</text>
1790 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1791 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1792 <actions>
1793 <action function="page">try_restore_decrypt</action>
1794 </actions>
1795 </object>
1796
1797 <object type="text" color="%text_fail_color%">
1798 <condition var1="tw_password_fail" var2="1" />
1799 <font resource="font" />
1800 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1801 <text>Password Failed, Please Try Again</text>
1802 </object>
1803
1804 <object type="button">
1805 <highlight color="%highlight_color%" />
1806 <placement x="%col1_x%" y="%row2_y%" />
1807 <font resource="font" color="%button_text_color%" />
1808 <text>Cancel</text>
1809 <image resource="main_button" />
1810 <actions>
1811 <action function="set">tw_page_done=1</action>
1812 <action function="page">restore</action>
1813 </actions>
1814 </object>
1815
1816 <object type="button">
1817 <highlight color="%highlight_color%" />
1818 <placement x="%col2_x%" y="%row2_y%" />
1819 <font resource="font" color="%button_text_color%" />
1820 <text>Delete</text>
1821 <image resource="main_button" />
1822 <actions>
1823 <action function="set">tw_back=restore</action>
1824 <action function="set">tw_action=cmd</action>
1825 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1826 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1827 <action function="set">tw_text2=This cannot be undone!</action>
1828 <action function="set">tw_action_text1=Deleting Backup...</action>
1829 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1830 <action function="set">tw_slider_text=Swipe to Delete</action>
1831 <action function="page">confirm_action</action>
1832 </actions>
1833 </object>
1834
1835 <object type="template" name="keyboardtemplate" />
1836
1837 <object type="action">
1838 <touch key="home" />
1839 <action function="page">main</action>
1840 </object>
1841
1842 <object type="action">
1843 <touch key="back" />
1844 <action function="page">restore</action>
1845 </object>
1846
1847 <object type="template" name="footer" />
1848 </page>
1849
1850 <page name="try_restore_decrypt">
1851 <object type="template" name="header" />
1852
1853 <object type="text" color="%text_color%">
1854 <font resource="font" />
1855 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1856 <text>Trying Decryption with Your Password</text>
1857 </object>
1858
1859 <object type="template" name="action_page_console" />
1860
1861 <object type="template" name="progress_bar" />
1862
1863 <object type="action">
1864 <action function="decrypt_backup"></action>
1865 </object>
1866
1867 <object type="action">
1868 <conditions>
1869 <condition var1="tw_operation_state" var2="1" />
1870 <condition var1="tw_operation_status" op="!=" var2="0" />
1871 </conditions>
1872 <actions>
1873 <action function="set">tw_password_fail=1</action>
1874 <action function="page">restore_decrypt</action>
1875 </actions>
1876 </object>
1877
1878 <object type="action">
1879 <conditions>
1880 <condition var1="tw_operation_state" var2="1" />
1881 <condition var1="tw_operation_status" op="=" var2="0" />
1882 </conditions>
1883 <actions>
1884 <action function="set">tw_page_done=1</action>
1885 <action function="page">restore_select</action>
1886 </actions>
1887 </object>
1888 </page>
1889
Dees_Troy51a0e822012-09-05 15:24:24 -04001890 <page name="restore_select">
1891 <object type="template" name="header" />
1892
Dees_Troya13d74f2013-03-24 08:54:55 -05001893 <object type="partitionlist">
1894 <highlight color="%fileselector_highlight_color%" />
1895 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1896 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1897 <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 -04001898 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001899 <icon selected="checkbox_true" unselected="checkbox_false" />
1900 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1901 <background color="%listbox_background%" />
1902 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1903 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1904 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001905 </object>
1906
1907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001908 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001909 <fill color="%button_fill_color%" />
1910 <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 -04001911 <font resource="font" color="%button_text_color%" />
1912 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001913 <actions>
1914 <action function="set">tw_backup_rename=</action>
1915 <action function="set">tw_fileexists=0</action>
1916 <action function="page">renamebackup</action>
1917 </actions>
1918 </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="%col2_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>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001926 <actions>
1927 <action function="set">tw_back=restore</action>
1928 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001929 <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 -04001930 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1931 <action function="set">tw_text2=This cannot be undone!</action>
1932 <action function="set">tw_action_text1=Deleting Backup...</action>
1933 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1934 <action function="set">tw_slider_text=Swipe to Delete</action>
1935 <action function="page">confirm_action</action>
1936 </actions>
1937 </object>
1938
Dees_Troya13d74f2013-03-24 08:54:55 -05001939 <object type="checkbox">
1940 <placement x="%col1_x%" y="%row15_text_y%" />
1941 <font resource="font" color="%text_color%" />
1942 <text>Enable MD5 verification of backup files.</text>
1943 <data variable="tw_skip_md5_check" />
1944 <image checked="checkbox_true" unchecked="checkbox_false" />
1945 </object>
1946
1947 <object type="text" color="%text_color%">
1948 <font resource="font" />
1949 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1950 <text>Package Date: %tw_restore_file_date%</text>
1951 </object>
1952
Dees_Troy51a0e822012-09-05 15:24:24 -04001953 <object type="slider">
1954 <placement x="%slider_x%" y="%slider_y%" />
1955 <resource base="slider" used="slider-used" touch="slider-touch" />
1956 <action function="page">restore_run</action>
1957 </object>
1958
1959 <object type="text" color="%text_color%">
1960 <font resource="font" />
1961 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1962 <text>Swipe to Restore</text>
1963 </object>
1964
Dees_Troy51a0e822012-09-05 15:24:24 -04001965 <object type="action">
1966 <touch key="home" />
1967 <action function="page">main</action>
1968 </object>
1969
1970 <object type="action">
1971 <touch key="back" />
1972 <action function="page">restore</action>
1973 </object>
1974
1975 <object type="template" name="footer" />
1976 </page>
1977
1978 <page name="renamebackup">
1979 <object type="template" name="header" />
1980
1981 <object type="text" color="%text_color%">
1982 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1983 <font resource="font" />
1984 <text>Please Enter a New Backup Name</text>
1985 </object>
1986
1987 <object type="input">
1988 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1989 <background color="%input_background_color%" />
1990 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1991 <font resource="font" color="%text_color%" />
1992 <text>%tw_backup_rename%</text>
1993 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001994 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001995 <actions>
1996 <action function="set">tw_back=restore</action>
1997 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001998 <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 -04001999 <action function="set">tw_text1=Rename Backup?</action>
2000 <action function="set">tw_text2=This cannot be undone!</action>
2001 <action function="set">tw_action_text1=Renaming Backup...</action>
2002 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2003 <action function="set">tw_slider_text=Swipe to Rename</action>
2004 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2005 <action function="set">tw_existpage=renamebackup</action>
2006 <action function="set">tw_notexistpage=confirm_action</action>
2007 <action function="page">filecheck</action>
2008 </actions>
2009 </object>
2010
2011 <object type="text" color="%text_fail_color%">
2012 <condition var1="tw_fileexists" var2="1" />
2013 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2014 <font resource="font" />
2015 <text>A backup with that name already exists!</text>
2016 </object>
2017
2018 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002019 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002020 <placement x="%col_center_x%" y="%row2_y%" />
2021 <font resource="font" color="%button_text_color%" />
2022 <text>Cancel</text>
2023 <image resource="main_button" />
2024 <action function="page">restore_select</action>
2025 </object>
2026
2027 <object type="template" name="keyboardtemplate" />
2028
2029 <object type="action">
2030 <touch key="home" />
2031 <action function="page">main</action>
2032 </object>
2033
2034 <object type="action">
2035 <touch key="back" />
2036 <action function="page">restore_select</action>
2037 </object>
2038
2039 <object type="template" name="footer" />
2040 </page>
2041
2042 <page name="restore_run">
2043 <object type="template" name="header" />
2044
2045 <object type="text" color="%text_color%">
2046 <font resource="font" />
2047 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2048 <text>%tw_operation% %tw_partition%</text>
2049 </object>
2050
2051 <object type="template" name="action_page_console" />
2052
2053 <object type="template" name="progress_bar" />
2054
2055 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002056 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002057 <actions>
2058 <action function="set">tw_back=restore_select</action>
2059 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002060 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002061 <action function="page">action_complete</action>
2062 </actions>
2063 </object>
2064
2065 <object type="action">
2066 <action function="nandroid">restore</action>
2067 </object>
2068 </page>
2069
Dees_Troya13d74f2013-03-24 08:54:55 -05002070 <page name="selectstorage">
2071 <object type="template" name="header" />
2072
2073 <object type="partitionlist">
2074 <highlight color="%fileselector_highlight_color%" />
2075 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2076 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2077 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2078 <text>Select Storage:</text>
2079 <icon selected="radio_true" unselected="radio_false" />
2080 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2081 <background color="%listbox_background%" />
2082 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2083 <data name="tw_storage_path" />
2084 <listtype name="storage" />
2085 </object>
2086
2087 <object type="action">
2088 <touch key="home" />
2089 <action function="page">main</action>
2090 </object>
2091
2092 <object type="action">
2093 <touch key="back" />
2094 <actions>
2095 <action function="page">%tw_back%</action>
2096 </actions>
2097 </object>
2098
2099 <object type="template" name="footer" />
2100 </page>
2101
Dees_Troy51a0e822012-09-05 15:24:24 -04002102 <page name="mount">
2103 <object type="template" name="header" />
2104
Dees_Troya13d74f2013-03-24 08:54:55 -05002105 <object type="partitionlist">
2106 <highlight color="%fileselector_highlight_color%" />
2107 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2108 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2109 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2110 <text>Select Partitions to Mount:</text>
2111 <icon selected="checkbox_true" unselected="checkbox_false" />
2112 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2113 <background color="%listbox_background%" />
2114 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2115 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002116 </object>
2117
2118 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002119 <highlight color="%highlight_color%" />
2120 <fill color="%button_fill_color%" />
2121 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2122 <font resource="font" color="%button_text_color%" />
2123 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2124 <actions>
2125 <action function="set">tw_back=mount</action>
2126 <action function="page">selectstorage</action>
2127 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002128 </object>
2129
2130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002132 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002133 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002134 <font resource="font" color="%button_text_color%" />
2135 <text>Mount USB Storage</text>
2136 <image resource="main_button" />
2137 <action function="page">usb_mount</action>
2138 </object>
2139
Gary Peckffdc6ae2012-11-21 18:02:02 -08002140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002141 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002142 <conditions>
2143 <condition var1="tw_is_encrypted" var2="1" />
2144 <condition var1="tw_is_decrypted" var2="0" />
2145 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002146 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002147 <font resource="font" color="%button_text_color%" />
2148 <text>Decrypt Data</text>
2149 <image resource="main_button" />
2150 <action function="page">decrypt</action>
2151 </object>
2152
Dees_Troy51a0e822012-09-05 15:24:24 -04002153 <object type="action">
2154 <touch key="home" />
2155 <action function="page">main</action>
2156 </object>
2157
2158 <object type="action">
2159 <touch key="back" />
2160 <action function="page">main</action>
2161 </object>
2162
2163 <object type="template" name="footer" />
2164 </page>
2165
2166 <page name="usb_mount">
2167 <object type="template" name="header" />
2168
2169 <object type="text" color="%text_color%">
2170 <font resource="font" />
2171 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2172 <text>USB Storage Mounted</text>
2173 </object>
2174
2175 <object type="text" color="%text_color%">
2176 <placement x="%col1_x%" y="%row1_text_y%" />
2177 <font resource="font" />
2178 <text>Be sure to safely remove your device</text>
2179 </object>
2180
2181 <object type="text" color="%text_color%">
2182 <placement x="%col1_x%" y="%row2_text_y%" />
2183 <font resource="font" />
2184 <text>from your computer before unmounting!</text>
2185 </object>
2186
2187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002189 <placement x="%col1_x%" y="%row3_y%" />
2190 <font resource="font" color="%button_text_color%" />
2191 <text>Unmount</text>
2192 <image resource="main_button" />
2193 <action function="page">usb_umount</action>
2194 </object>
2195
2196 <object type="action">
2197 <action function="mount">usb</action>
2198 </object>
2199
2200 <object type="template" name="footer" />
2201 </page>
2202
2203 <page name="usb_umount">
2204 <object type="action">
2205 <action function="unmount">usb</action>
2206 </object>
2207
2208 <object type="action">
2209 <action function="page">mount</action>
2210 </object>
2211 </page>
2212
2213 <page name="reboot">
2214 <object type="template" name="header" />
2215
2216 <object type="text" color="%text_color%">
2217 <font resource="font" />
2218 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2219 <text>Reboot Menu</text>
2220 </object>
2221
2222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002223 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002224 <condition var1="tw_reboot_system" var2="1" />
2225 <placement x="%col1_x%" y="%row1_y%" />
2226 <font resource="font" color="%button_text_color%" />
2227 <text>System</text>
2228 <image resource="main_button" />
2229 <actions>
2230 <action function="set">tw_back=reboot</action>
2231 <action function="set">tw_action=reboot</action>
2232 <action function="set">tw_action_param=system</action>
2233 <action function="set">tw_has_action2=0</action>
2234 <action function="set">tw_text1=No OS Installed! Are you</action>
2235 <action function="set">tw_text2=sure you wish to reboot?</action>
2236 <action function="set">tw_action_text1=Rebooting...</action>
2237 <action function="set">tw_complete_text1=Rebooting...</action>
2238 <action function="set">tw_slider_text=Swipe to Reboot</action>
2239 <action function="page">rebootcheck</action>
2240 </actions>
2241 </object>
2242
2243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002245 <condition var1="tw_reboot_poweroff" var2="1" />
2246 <placement x="%col2_x%" y="%row1_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>Power Off</text>
2249 <image resource="main_button" />
2250 <actions>
2251 <action function="set">tw_back=reboot</action>
2252 <action function="set">tw_action=reboot</action>
2253 <action function="set">tw_action_param=poweroff</action>
2254 <action function="set">tw_has_action2=0</action>
2255 <action function="set">tw_text1=No OS Installed! Are you</action>
2256 <action function="set">tw_text2=sure you wish to power off?</action>
2257 <action function="set">tw_action_text1=Turning Off...</action>
2258 <action function="set">tw_complete_text1=Turning Off...</action>
2259 <action function="set">tw_slider_text=Swipe to Power Off</action>
2260 <action function="page">rebootcheck</action>
2261 </actions>
2262 </object>
2263
2264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002266 <condition var1="tw_reboot_recovery" var2="1" />
2267 <placement x="%col1_x%" y="%row2_y%" />
2268 <font resource="font" color="%button_text_color%" />
2269 <text>Recovery</text>
2270 <image resource="main_button" />
2271 <actions>
2272 <action function="set">tw_back=reboot</action>
2273 <action function="set">tw_action=reboot</action>
2274 <action function="set">tw_action_param=recovery</action>
2275 <action function="set">tw_has_action2=0</action>
2276 <action function="set">tw_text1=No OS Installed! Are you</action>
2277 <action function="set">tw_text2=sure you wish to reboot?</action>
2278 <action function="set">tw_action_text1=Rebooting...</action>
2279 <action function="set">tw_complete_text1=Rebooting...</action>
2280 <action function="set">tw_slider_text=Swipe to Reboot</action>
2281 <action function="page">rebootcheck</action>
2282 </actions>
2283 </object>
2284
2285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002287 <condition var1="tw_reboot_bootloader" var2="1" />
2288 <placement x="%col2_x%" y="%row2_y%" />
2289 <font resource="font" color="%button_text_color%" />
2290 <text>Bootloader</text>
2291 <image resource="main_button" />
2292 <actions>
2293 <action function="set">tw_back=reboot</action>
2294 <action function="set">tw_action=reboot</action>
2295 <action function="set">tw_action_param=bootloader</action>
2296 <action function="set">tw_has_action2=0</action>
2297 <action function="set">tw_text1=No OS Installed! Are you</action>
2298 <action function="set">tw_text2=sure you wish to reboot?</action>
2299 <action function="set">tw_action_text1=Rebooting...</action>
2300 <action function="set">tw_complete_text1=Rebooting...</action>
2301 <action function="set">tw_slider_text=Swipe to Reboot</action>
2302 <action function="page">rebootcheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <condition var1="tw_download_mode" var2="1" />
2309 <placement x="%col1_x%" y="%row3_y%" />
2310 <font resource="font" color="%button_text_color%" />
2311 <text>Download</text>
2312 <image resource="main_button" />
2313 <actions>
2314 <action function="set">tw_back=reboot</action>
2315 <action function="set">tw_action=reboot</action>
2316 <action function="set">tw_action_param=download</action>
2317 <action function="set">tw_has_action2=0</action>
2318 <action function="set">tw_text1=No OS Installed! Are you</action>
2319 <action function="set">tw_text2=sure you wish to reboot?</action>
2320 <action function="set">tw_action_text1=Rebooting...</action>
2321 <action function="set">tw_complete_text1=Rebooting...</action>
2322 <action function="set">tw_slider_text=Swipe to Reboot</action>
2323 <action function="page">rebootcheck</action>
2324 </actions>
2325 </object>
2326
2327 <object type="action">
2328 <touch key="home" />
2329 <action function="page">main</action>
2330 </object>
2331
2332 <object type="action">
2333 <touch key="back" />
2334 <action function="page">main</action>
2335 </object>
2336
2337 <object type="template" name="footer" />
2338 </page>
2339
2340 <page name="settings">
2341 <object type="template" name="header" />
2342
2343 <object type="text" color="%text_color%">
2344 <font resource="font" />
2345 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2346 <text>Settings</text>
2347 </object>
2348
2349 <object type="checkbox">
2350 <placement x="%col1_x%" y="%row1_text_y%" />
2351 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002352 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002353 <data variable="tw_signed_zip_verify" />
2354 <image checked="checkbox_true" unchecked="checkbox_false" />
2355 </object>
2356
2357 <object type="checkbox">
2358 <placement x="%col1_x%" y="%row2_text_y%" />
2359 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002360 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002361 <data variable="tw_rm_rf" />
2362 <image checked="checkbox_true" unchecked="checkbox_false" />
2363 </object>
2364
2365 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002366 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002367 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002368 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <data variable="tw_skip_md5_generate" />
2370 <image checked="checkbox_true" unchecked="checkbox_false" />
2371 </object>
2372
2373 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002374 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002376 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002377 <data variable="tw_skip_md5_check" />
2378 <image checked="checkbox_true" unchecked="checkbox_false" />
2379 </object>
2380
2381 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002382 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002384 <text>Use Military Time.</text>
2385 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <image checked="checkbox_true" unchecked="checkbox_false" />
2387 </object>
2388
2389 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002390 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002392 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <data variable="tw_simulate_actions" />
2394 <image checked="checkbox_true" unchecked="checkbox_false" />
2395 </object>
2396
2397 <object type="checkbox">
2398 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002399 <placement x="%col1_x%" y="%row7_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>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <data variable="tw_simulate_fail" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <placement x="%col1_x%" y="%row3_y%" />
2409 <font resource="font" color="%button_text_color%" />
2410 <text>Time Zone</text>
2411 <image resource="main_button" />
2412 <action function="page">timezone</action>
2413 </object>
2414
2415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002416 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002417 <placement x="%col2_x%" y="%row3_y%" />
2418 <font resource="font" color="%button_text_color%" />
2419 <text>Screen</text>
2420 <image resource="main_button" />
2421 <action function="page">screen</action>
2422 </object>
2423
2424 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <placement x="%col_center_x%" y="%row4_y%" />
2426 <font resource="font" color="%button_text_color%" />
2427 <text>Restore Defaults</text>
2428 <image resource="main_button" />
2429 <action function="restoredefaultsettings"></action>
2430 </object>
2431
2432 <object type="action">
2433 <touch key="home" />
2434 <action function="page">main</action>
2435 </object>
2436
2437 <object type="action">
2438 <touch key="back" />
2439 <action function="page">main</action>
2440 </object>
2441
2442 <object type="template" name="footer" />
2443 </page>
2444
2445 <page name="timezone">
2446 <object type="template" name="header" />
2447
Dees_Troy51a0e822012-09-05 15:24:24 -04002448 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002449 <highlight color="%fileselector_highlight_color%" />
2450 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2451 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002452 <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 -06002453 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002455 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002457 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002458 <data name="tw_time_zone_guisel" />
2459 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2460 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2461 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2462 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2463 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2464 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2465 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2466 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2467 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2468 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2469 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2470 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2471 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2472 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2473 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2474 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2475 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2476 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2477 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2478 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2479 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2480 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2481 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2482 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2483 </object>
2484
2485 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002486 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002487 <font resource="font" color="%text_color%" />
2488 <text>Do you use daylight savings time (DST)?</text>
2489 <data variable="tw_time_zone_guidst" />
2490 <image checked="checkbox_true" unchecked="checkbox_false" />
2491 </object>
2492
2493 <object type="text" color="%text_color%">
2494 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002495 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2497 </object>
2498
2499 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002500 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002501 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002502 <font resource="font" color="%button_text_color%" />
2503 <text>None</text>
2504 <image resource="medium_button" />
2505 <action function="set">tw_time_zone_guioffset=0</action>
2506 </object>
2507
2508 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002509 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002510 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <font resource="font" color="%button_text_color%" />
2512 <text>15</text>
2513 <image resource="medium_button" />
2514 <action function="set">tw_time_zone_guioffset=15</action>
2515 </object>
2516
2517 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002518 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002519 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002520 <font resource="font" color="%button_text_color%" />
2521 <text>30</text>
2522 <image resource="medium_button" />
2523 <action function="set">tw_time_zone_guioffset=30</action>
2524 </object>
2525
2526 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002527 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002528 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002529 <font resource="font" color="%button_text_color%" />
2530 <text>45</text>
2531 <image resource="medium_button" />
2532 <action function="set">tw_time_zone_guioffset=45</action>
2533 </object>
2534
2535 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002536 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <placement x="%col_center_x%" y="%tz_set_y%" />
2538 <font resource="font" color="%button_text_color%" />
2539 <text>Set Time Zone</text>
2540 <image resource="main_button" />
2541 <action function="setguitimezone"></action>
2542 </object>
2543
2544 <object type="text" color="%text_color%">
2545 <font resource="font" />
2546 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2547 <text>Current Time Zone: %tw_time_zone%</text>
2548 </object>
2549
2550 <object type="action">
2551 <touch key="home" />
2552 <action function="page">main</action>
2553 </object>
2554
2555 <object type="action">
2556 <touch key="back" />
2557 <action function="page">settings</action>
2558 </object>
2559
2560 <object type="template" name="footer" />
2561 </page>
2562
Dees_Troy2f9117a2013-02-17 19:52:09 -06002563 <page name="screen">
2564 <object type="template" name="header" />
2565
2566 <object type="text" color="%text_color%">
2567 <font resource="font" />
2568 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2569 <text>Screen Settings</text>
2570 </object>
2571
Dees_Troy2f9117a2013-02-17 19:52:09 -06002572 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002573 <placement x="%col1_x%" y="%row2_text_y%" />
2574 <font resource="font" color="%text_color%" />
2575 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2576 <text>Enable screen timeout.</text>
2577 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002578 <action function="set">tw_screen_timeout_secs=60</action>
2579 </object>
2580
2581 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002582 <placement x="%col1_x%" y="%row2_text_y%" />
2583 <font resource="font" color="%text_color%" />
2584 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2585 <text>Enable screen timeout.</text>
2586 <image resource="checkbox_true" />
2587 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002588 </object>
2589
Vojtech Bocek85932342013-04-01 22:11:33 +02002590 <object type="slidervalue">
2591 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2592 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2593 <font resource="font" color="%text_color%" />
2594 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2595 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2596 <text>Screen timeout in seconds:</text>
2597 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002598 </object>
2599
Vojtech Bocek85932342013-04-01 22:11:33 +02002600 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002601 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002602 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2603 <font resource="font" color="%text_color%" />
2604 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2605 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2606 <text>Brightness: %tw_brightness_pct%%</text>
2607 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002608 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002609 <action function="set">tw_brightness=%tw_brightness_max%</action>
2610 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2611 <action function="compute">tw_brightness/100</action>
2612 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002613 </actions>
2614 </object>
2615
2616 <object type="action">
2617 <touch key="home" />
2618 <action function="page">main</action>
2619 </object>
2620
2621 <object type="action">
2622 <touch key="back" />
2623 <action function="page">settings</action>
2624 </object>
2625
2626 <object type="template" name="footer" />
2627 </page>
2628
Dees_Troy51a0e822012-09-05 15:24:24 -04002629 <page name="advanced">
2630 <object type="template" name="header" />
2631
2632 <object type="text" color="%text_color%">
2633 <font resource="font" />
2634 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2635 <text>Advanced</text>
2636 </object>
2637
2638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002640 <placement x="%col1_x%" y="%row1_y%" />
2641 <font resource="font" color="%button_text_color%" />
2642 <text>Copy Log to SD</text>
2643 <image resource="main_button" />
2644 <actions>
2645 <action function="set">tw_back=advanced</action>
2646 <action function="set">tw_action=copylog</action>
2647 <action function="set">tw_text1=Copy Log to SD Card?</action>
2648 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2649 <action function="set">tw_complete_text1=Log Copy Complete</action>
2650 <action function="set">tw_slider_text=Swipe to Confirm</action>
2651 <action function="page">confirm_action</action>
2652 </actions>
2653 </object>
2654
2655 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002656 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002657 <placement x="%col2_x%" y="%row1_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>Fix Permissions</text>
2660 <image resource="main_button" />
2661 <actions>
2662 <action function="set">tw_back=advanced</action>
2663 <action function="set">tw_action=fixpermissions</action>
2664 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002665 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002666 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2667 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002668 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002669 <action function="page">confirm_action</action>
2670 </actions>
2671 </object>
2672
2673 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002674 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002675 <condition var1="tw_allow_partition_sdcard" var2="1" />
2676 <placement x="%col1_x%" y="%row2_y%" />
2677 <font resource="font" color="%button_text_color%" />
2678 <text>Partition SD Card</text>
2679 <image resource="main_button" />
2680 <action function="page">partsdcard</action>
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="%row2_y%" />
2686 <font resource="font" color="%button_text_color%" />
2687 <text>File Manager</text>
2688 <image resource="main_button" />
2689 <action function="page">filemanagerlist</action>
2690 </object>
2691
2692 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002693 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002694 <placement x="%col1_x%" y="%row3_y%" />
2695 <font resource="font" color="%button_text_color%" />
2696 <text>Terminal Command</text>
2697 <image resource="main_button" />
2698 <action function="page">terminalfolder</action>
2699 </object>
2700
2701 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002702 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002703 <placement x="%col2_x%" y="%row3_y%" />
2704 <font resource="font" color="%button_text_color%" />
2705 <text>Reload Theme</text>
2706 <image resource="main_button" />
2707 <action function="reload"></action>
2708 </object>
2709
2710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002711 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002712 <placement x="%col1_x%" y="%row4_y%" />
2713 <font resource="font" color="%button_text_color%" />
2714 <text>ADB Sideload</text>
2715 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002716 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002717 </object>
2718
2719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002721 <condition var1="tw_show_dumlock" var2="1" />
2722 <placement x="%col2_x%" y="%row4_y%" />
2723 <font resource="font" color="%button_text_color%" />
2724 <text>HTC Dumlock</text>
2725 <image resource="main_button" />
2726 <action function="page">htcdumlock</action>
2727 </object>
2728
2729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002731 <condition var1="tw_has_injecttwrp" var2="1" />
2732 <placement x="%col2_x%" y="%row4_y%" />
2733 <font resource="font" color="%button_text_color%" />
2734 <text>Re-Inject TWRP</text>
2735 <image resource="main_button" />
2736 <actions>
2737 <action function="set">tw_back=advanced</action>
2738 <action function="set">tw_action=reinjecttwrp</action>
2739 <action function="set">tw_text1=Re-Inject TWRP?</action>
2740 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2741 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2742 <action function="set">tw_slider_text=Swipe to Confirm</action>
2743 <action function="page">confirm_action</action>
2744 </actions>
2745 </object>
2746
2747 <object type="action">
2748 <touch key="home" />
2749 <action function="page">main</action>
2750 </object>
2751
2752 <object type="action">
2753 <touch key="back" />
2754 <action function="page">main</action>
2755 </object>
2756
2757 <object type="template" name="footer" />
2758 </page>
2759
2760 <page name="partsdcard">
2761 <object type="template" name="header" />
2762
2763 <object type="text" color="%text_color%">
2764 <font resource="font" />
2765 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2766 <text>Partition SD Card</text>
2767 </object>
2768
2769 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002770 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <placement x="%col1_x%" y="%row1_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text></text>
2774 <image resource="minus_button" />
2775 <action function="addsubtract">tw_sdext_size-128</action>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <placement x="%sd_plus_x%" y="%row1_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text></text>
2783 <image resource="plus_button" />
2784 <action function="addsubtract">tw_sdext_size+128</action>
2785 </object>
2786
2787 <object type="text" color="%text_color%">
2788 <font resource="font" />
2789 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2790 <text>EXT Size: %tw_sdext_size%</text>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <placement x="%col1_x%" y="%sdswap_button_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text></text>
2798 <image resource="minus_button" />
2799 <action function="addsubtract">tw_swap_size-32</action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text></text>
2807 <image resource="plus_button" />
2808 <action function="addsubtract">tw_swap_size+32</action>
2809 </object>
2810
2811 <object type="text" color="%text_color%">
2812 <font resource="font" />
2813 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2814 <text>Swap Size: %tw_swap_size%</text>
2815 </object>
2816
2817 <object type="text" color="%text_color%">
2818 <font resource="font" />
2819 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2820 <text>File system: %tw_sdpart_file_system%</text>
2821 </object>
2822
2823 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002824 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002825 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2826 <font resource="font" color="%button_text_color%" />
2827 <text>EXT3</text>
2828 <image resource="main_button" />
2829 <action function="set">tw_sdpart_file_system=ext3</action>
2830 </object>
2831
2832 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002833 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002834 <condition var1="tw_sdext_disable_ext4" var2="0" />
2835 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2836 <font resource="font" color="%button_text_color%" />
2837 <text>EXT4</text>
2838 <image resource="main_button" />
2839 <action function="set">tw_sdpart_file_system=ext4</action>
2840 </object>
2841
2842 <object type="text" color="%text_color%">
2843 <font resource="font" />
2844 <placement x="%col1_x%" y="%row12_text_y%" />
2845 <text>You will lose all files on your SD card!</text>
2846 </object>
2847
2848 <object type="text" color="%text_color%">
2849 <font resource="font" />
2850 <placement x="%col1_x%" y="%row13_text_y%" />
2851 <text>This action cannot be undone!</text>
2852 </object>
2853
2854 <object type="slider">
2855 <placement x="%slider_x%" y="%slider_y%" />
2856 <resource base="slider" used="slider-used" touch="slider-touch" />
2857 <action function="page">partsdcardaction</action>
2858 <actions>
2859 <action function="set">tw_back=partsdcard</action>
2860 <action function="set">tw_action=partitionsd</action>
2861 <action function="set">tw_has_action2=1</action>
2862 <action function="set">tw_action2=set</action>
2863 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2864 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2865 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002866 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <action function="page">action_page</action>
2868 </actions>
2869 </object>
2870
2871 <object type="text" color="%text_color%">
2872 <font resource="font" />
2873 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2874 <text>Swipe to Partition</text>
2875 </object>
2876
2877 <object type="action">
2878 <touch key="home" />
2879 <action function="page">main</action>
2880 </object>
2881
2882 <object type="action">
2883 <touch key="back" />
2884 <action function="page">advanced</action>
2885 </object>
2886
2887 <object type="template" name="footer" />
2888 </page>
2889
2890 <page name="htcdumlock">
2891 <object type="template" name="header" />
2892
2893 <object type="text" color="%text_color%">
2894 <font resource="font" />
2895 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2896 <text>HTC Dumlock</text>
2897 </object>
2898
2899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002900 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002901 <condition var1="tw_show_dumlock" var2="1" />
2902 <placement x="%col1_x%" y="%row1_y%" />
2903 <font resource="font" color="%button_text_color%" />
2904 <text>Restore Original Boot</text>
2905 <image resource="main_button" />
2906 <actions>
2907 <action function="set">tw_back=htcdumlock</action>
2908 <action function="set">tw_action=htcdumlockrestoreboot</action>
2909 <action function="set">tw_text1=Restore original boot image?</action>
2910 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2911 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2912 <action function="set">tw_slider_text=Swipe to Confirm</action>
2913 <action function="page">confirm_action</action>
2914 </actions>
2915 </object>
2916
2917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002918 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002919 <condition var1="tw_show_dumlock" var2="1" />
2920 <placement x="%col2_x%" y="%row1_y%" />
2921 <font resource="font" color="%button_text_color%" />
2922 <text>Reflash Recovery</text>
2923 <image resource="main_button" />
2924 <actions>
2925 <action function="set">tw_back=htcdumlock</action>
2926 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2927 <action function="set">tw_text1=Reflash recovery to boot?</action>
2928 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2929 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2930 <action function="set">tw_slider_text=Swipe to Confirm</action>
2931 <action function="page">confirm_action</action>
2932 </actions>
2933 </object>
2934
2935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <condition var1="tw_show_dumlock" var2="1" />
2938 <placement x="%col1_x%" y="%row2_y%" />
2939 <font resource="font" color="%button_text_color%" />
2940 <text>Install HTC Dumlock</text>
2941 <image resource="main_button" />
2942 <actions>
2943 <action function="set">tw_back=htcdumlock</action>
2944 <action function="set">tw_action=installhtcdumlock</action>
2945 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2946 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2947 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2948 <action function="set">tw_slider_text=Swipe to Confirm</action>
2949 <action function="page">confirm_action</action>
2950 </actions>
2951 </object>
2952
2953 <object type="action">
2954 <touch key="home" />
2955 <action function="page">main</action>
2956 </object>
2957
2958 <object type="action">
2959 <touch key="back" />
2960 <action function="page">advanced</action>
2961 </object>
2962
2963 <object type="template" name="footer" />
2964 </page>
2965
2966 <page name="lock">
2967 <background color="#000000A0" />
2968
2969 <object type="image">
2970 <image resource="unlock-icon" />
2971 <placement x="%lock_x%" y="%lock_y%" />
2972 </object>
2973
2974 <object type="slider">
2975 <placement x="%slider_x%" y="%slider_y%" />
2976 <resource base="slider" used="slider-used" touch="slider-touch" />
2977 <action function="overlay"></action>
2978 </object>
2979
2980 <object type="text" color="%text_color%">
2981 <font resource="font" />
2982 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2983 <text>Swipe to Unlock</text>
2984 </object>
2985 </page>
2986
2987 <page name="filemanagerlist">
2988 <object type="template" name="header" />
2989
2990 <object type="text" color="%text_color%">
2991 <font resource="font" />
2992 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2993 <text>File Manager: Select a File or Folder</text>
2994 </object>
2995
2996 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002997 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002998 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2999 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003000 <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 -04003001 <text>%tw_file_location1%</text>
3002 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3003 <sort name="tw_gui_sort_order" />
3004 <icon folder="folder_icon" file="file_icon" />
3005 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003006 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003007 <folders="1" files="1" />
3008 <path name="tw_file_location1" default="/" />
3009 <data name="tw_filename1" />
3010 <selection name="tw_selection1" />
3011 </object>
3012
3013 <object type="template" name="sort_options" />
3014
3015 <object type="action">
3016 <actions>
3017 <action function="set">tw_fm_type=File</action>
3018 <action function="set">tw_fm_isfolder=0</action>
3019 </actions>
3020 </object>
3021
3022 <object type="action">
3023 <touch key="home" />
3024 <action function="page">main</action>
3025 </object>
3026
3027 <object type="action">
3028 <touch key="back" />
3029 <action function="page">advanced</action>
3030 </object>
3031
3032 <object type="action">
3033 <condition var1="tw_filename1" op="modified" />
3034 <actions>
3035 <action function="page">filemanageroptions</action>
3036 </actions>
3037 </object>
3038
3039 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003040 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003041 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3042 <font resource="font" color="%button_text_color%" />
3043 <text>Select</text>
3044 <image resource="medium_button" />
3045 <actions>
3046 <action function="set">tw_filename1=tw_file_location1</action>
3047 <action function="set">tw_fm_isfolder=1</action>
3048 <action function="set">tw_fm_type=Folder</action>
3049 <action function="page">filemanageroptions</action>
3050 </actions>
3051 </object>
3052
3053 <object type="template" name="footer" />
3054 </page>
3055
3056 <page name="filemanageroptions">
3057 <object type="template" name="header" />
3058
3059 <object type="text" color="%text_color%">
3060 <font resource="font" />
3061 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3062 <text>%tw_fm_type% Selected:</text>
3063 </object>
3064
3065 <object type="text" color="%text_color%">
3066 <font resource="font" />
3067 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3068 <text>%tw_filename1%</text>
3069 </object>
3070
3071 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003072 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003073 <condition var1="tw_fm_isfolder" var2="0" />
3074 <placement x="%col1_x%" y="%row2_y%" />
3075 <font resource="font" color="%button_text_color%" />
3076 <text>Copy File</text>
3077 <image resource="main_button" />
3078 <actions>
3079 <action function="set">tw_filemanager_command=cp</action>
3080 <action function="set">tw_fm_text1=Copying</action>
3081 <action function="page">choosedestinationfolder</action>
3082 </actions>
3083 </object>
3084
3085 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003086 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003087 <condition var1="tw_fm_isfolder" var2="1" />
3088 <placement x="%col1_x%" y="%row2_y%" />
3089 <font resource="font" color="%button_text_color%" />
3090 <text>Copy Folder</text>
3091 <image resource="main_button" />
3092 <actions>
3093 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3094 <action function="set">tw_fm_text1=Copying</action>
3095 <action function="page">choosedestinationfolder</action>
3096 </actions>
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 <placement x="%col2_x%" y="%row2_y%" />
3102 <font resource="font" color="%button_text_color%" />
3103 <text>Move</text>
3104 <image resource="main_button" />
3105 <actions>
3106 <action function="set">tw_filemanager_command=mv</action>
3107 <action function="set">tw_fm_text1=Moving</action>
3108 <action function="page">choosedestinationfolder</action>
3109 </actions>
3110 </object>
3111
3112 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003113 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003114 <placement x="%col1_x%" y="%row3_y%" />
3115 <font resource="font" color="%button_text_color%" />
3116 <text>chmod 755</text>
3117 <image resource="main_button" />
3118 <actions>
3119 <action function="set">tw_filemanager_command=chmod 755</action>
3120 <action function="set">tw_fm_text1=chmod 755</action>
3121 <action function="set">tw_fm_text2=</action>
3122 <action function="set">tw_fm_text3=</action>
3123 <action function="set">tw_include_text3=0</action>
3124 <action function="set">tw_back=filemanageroptions</action>
3125 <action function="page">filemanagerconfirm</action>
3126 </actions>
3127 </object>
3128
3129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <placement x="%col2_x%" y="%row3_y%" />
3132 <font resource="font" color="%button_text_color%" />
3133 <text>chmod</text>
3134 <image resource="main_button" />
3135 <actions>
3136 <action function="set">tw_filemanager_rename=0000</action>
3137 <action function="set">tw_fm_text2=</action>
3138 <action function="set">tw_fm_text3=</action>
3139 <action function="set">tw_include_text3=0</action>
3140 <action function="set">tw_back=filemanageroptions</action>
3141 <action function="page">filemanagerchmod</action>
3142 </actions>
3143 </object>
3144
3145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003147 <placement x="%col1_x%" y="%row4_y%" />
3148 <font resource="font" color="%button_text_color%" />
3149 <text>Delete</text>
3150 <image resource="main_button" />
3151 <actions>
3152 <action function="set">tw_filemanager_command=rm -rf</action>
3153 <action function="set">tw_fm_text1=Deleting</action>
3154 <action function="set">tw_fm_text2=</action>
3155 <action function="set">tw_fm_text3=</action>
3156 <action function="set">tw_include_text3=0</action>
3157 <action function="set">tw_back=filemanageroptions</action>
3158 <action function="page">filemanagerconfirm</action>
3159 </actions>
3160 </object>
3161
3162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003163 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003164 <condition var1="tw_fm_isfolder" var2="0" />
3165 <placement x="%col2_x%" y="%row4_y%" />
3166 <font resource="font" color="%button_text_color%" />
3167 <text>Rename File</text>
3168 <image resource="main_button" />
3169 <actions>
3170 <action function="set">tw_filemanager_rename=tw_selection1</action>
3171 <action function="set">tw_fm_text1=Renaming</action>
3172 <action function="set">tw_filemanager_command=mv</action>
3173 <action function="page">filemanagerrenamefile</action>
3174 </actions>
3175 </object>
3176
3177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003178 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003179 <condition var1="tw_fm_isfolder" var2="1" />
3180 <placement x="%col2_x%" y="%row4_y%" />
3181 <font resource="font" color="%button_text_color%" />
3182 <text>Rename Folder</text>
3183 <image resource="main_button" />
3184 <actions>
3185 <action function="set">tw_filemanager_rename=tw_selection1</action>
3186 <action function="set">tw_fm_text1=Renaming</action>
3187 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3188 <action function="page">filemanagerrenamefolder</action>
3189 </actions>
3190 </object>
3191
3192 <object type="action">
3193 <touch key="home" />
3194 <action function="page">main</action>
3195 </object>
3196
3197 <object type="action">
3198 <touch key="back" />
3199 <action function="page">filemanagerlist</action>
3200 </object>
3201
3202 <object type="template" name="footer" />
3203 </page>
3204
3205 <page name="choosedestinationfolder">
3206 <object type="template" name="header" />
3207
3208 <object type="text" color="%text_color%">
3209 <font resource="font" />
3210 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3211 <text>Browse to Destination Folder & Press Select</text>
3212 </object>
3213
3214 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003215 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003216 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3217 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003218 <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 -04003219 <text>%tw_file_location2%</text>
3220 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3221 <sort name="tw_gui_sort_order" />
3222 <icon folder="folder_icon" file="file_icon" />
3223 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003224 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003225 <filter folders="1" files="0" />
3226 <path name="tw_file_location2" default="/" />
3227 <data name="tw_filename2" />
3228 <selection name="tw_selection2" />
3229 </object>
3230
3231 <object type="template" name="sort_options" />
3232
3233 <object type="action">
3234 <touch key="home" />
3235 <action function="page">main</action>
3236 </object>
3237
3238 <object type="action">
3239 <touch key="back" />
3240 <action function="page">filemanageroptions</action>
3241 </object>
3242
3243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3246 <font resource="font" color="%button_text_color%" />
3247 <text>Select</text>
3248 <image resource="medium_button" />
3249 <actions>
3250 <action function="set">tw_fm_text2=to</action>
3251 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3252 <action function="set">tw_include_text3=1</action>
3253 <action function="set">tw_back=filemanageroptions</action>
3254 <action function="page">filemanagerconfirm</action>
3255 </actions>
3256 </object>
3257
3258 <object type="template" name="footer" />
3259 </page>
3260
3261 <page name="filemanagerrenamefile">
3262 <object type="template" name="header" />
3263
3264 <object type="text" color="%text_color%">
3265 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3266 <font resource="font" />
3267 <text>Please Enter a New %tw_fm_type% Name</text>
3268 </object>
3269
3270 <object type="input">
3271 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3272 <background color="%input_background_color%" />
3273 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3274 <font resource="font" color="%text_color%" />
3275 <text>%tw_filemanager_rename%</text>
3276 <data name="tw_filemanager_rename" />
3277 <restrict minlen="1" maxlen="128" />
3278 <actions>
3279 <action function="set">tw_fm_text2=to</action>
3280 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3281 <action function="set">tw_include_text3=1</action>
3282 <action function="set">tw_back=filemanageroptions</action>
3283 <action function="page">filemanagerconfirm</action>
3284 </actions>
3285 </object>
3286
3287 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003288 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003289 <placement x="%col_center_x%" y="%row2_y%" />
3290 <font resource="font" color="%button_text_color%" />
3291 <text>Cancel</text>
3292 <image resource="main_button" />
3293 <action function="page">filemanageroptions</action>
3294 </object>
3295
3296 <object type="template" name="keyboardtemplate" />
3297
3298 <object type="action">
3299 <touch key="home" />
3300 <action function="page">main</action>
3301 </object>
3302
3303 <object type="action">
3304 <touch key="back" />
3305 <action function="page">filemanageroptions</action>
3306 </object>
3307
3308 <object type="template" name="footer" />
3309 </page>
3310
3311 <page name="filemanagerrenamefolder">
3312 <object type="template" name="header" />
3313
3314 <object type="text" color="%text_color%">
3315 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3316 <font resource="font" />
3317 <text>Please Enter a New %tw_fm_type% Name</text>
3318 </object>
3319
3320 <object type="input">
3321 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3322 <background color="%input_background_color%" />
3323 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3324 <font resource="font" color="%text_color%" />
3325 <text>%tw_filemanager_rename%</text>
3326 <data name="tw_filemanager_rename" />
3327 <restrict minlen="1" maxlen="128" />
3328 <actions>
3329 <action function="set">tw_fm_text2=to</action>
3330 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3331 <action function="set">tw_include_text3=1</action>
3332 <action function="set">tw_back=filemanageroptions</action>
3333 <action function="page">filemanagerconfirm</action>
3334 </actions>
3335 </object>
3336
3337 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003338 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003339 <placement x="%col_center_x%" y="%row2_y%" />
3340 <font resource="font" color="%button_text_color%" />
3341 <text>Cancel</text>
3342 <image resource="main_button" />
3343 <action function="page">filemanageroptions</action>
3344 </object>
3345
3346 <object type="template" name="keyboardtemplate" />
3347
3348 <object type="action">
3349 <touch key="home" />
3350 <action function="page">main</action>
3351 </object>
3352
3353 <object type="action">
3354 <touch key="back" />
3355 <action function="page">filemanageroptions</action>
3356 </object>
3357
3358 <object type="template" name="footer" />
3359 </page>
3360
3361 <page name="filemanagerchmod">
3362 <object type="template" name="header" />
3363
3364 <object type="text" color="%text_color%">
3365 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3366 <font resource="font" />
3367 <text>Please Enter New Permissions</text>
3368 </object>
3369
3370 <object type="input">
3371 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3372 <background color="%input_background_color%" />
3373 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3374 <font resource="font" color="%text_color%" />
3375 <text>%tw_filemanager_rename%</text>
3376 <data name="tw_filemanager_rename" />
3377 <restrict minlen="3" maxlen="4" allow="0123456789" />
3378 <actions>
3379 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3380 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3381 <action function="set">tw_back=filemanageroptions</action>
3382 <action function="page">filemanagerconfirm</action>
3383 </actions>
3384 </object>
3385
3386 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003387 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003388 <placement x="%col_center_x%" y="%row2_y%" />
3389 <font resource="font" color="%button_text_color%" />
3390 <text>Cancel</text>
3391 <image resource="main_button" />
3392 <action function="page">filemanageroptions</action>
3393 </object>
3394
3395 <object type="template" name="keyboardtemplate" />
3396
3397 <object type="action">
3398 <touch key="home" />
3399 <action function="page">main</action>
3400 </object>
3401
3402 <object type="action">
3403 <touch key="back" />
3404 <action function="page">filemanageroptions</action>
3405 </object>
3406
3407 <object type="template" name="footer" />
3408 </page>
3409
3410 <page name="filemanagerconfirm">
3411 <object type="template" name="header" />
3412
3413 <object type="text" color="%text_color%">
3414 <font resource="font" />
3415 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3416 <text>%tw_fm_text1%</text>
3417 </object>
3418
3419 <object type="text" color="%text_color%">
3420 <font resource="font" />
3421 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3422 <text>%tw_filename1%</text>
3423 </object>
3424
3425 <object type="text" color="%text_color%">
3426 <font resource="font" />
3427 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3428 <text>%tw_fm_text2%</text>
3429 </object>
3430
3431 <object type="text" color="%text_color%">
3432 <font resource="font" />
3433 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3434 <text>%tw_fm_text3%</text>
3435 </object>
3436
3437 <object type="text" color="%text_color%">
3438 <font resource="font" />
3439 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3440 <text>Press back button to cancel.</text>
3441 </object>
3442
3443 <object type="slider">
3444 <placement x="%slider_x%" y="%slider_y%" />
3445 <resource base="slider" used="slider-used" touch="slider-touch" />
3446 <action function="page">filemanageracction</action>
3447 </object>
3448
3449 <object type="text" color="%text_color%">
3450 <font resource="font" />
3451 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3452 <text>Swipe to Confirm</text>
3453 </object>
3454
3455 <object type="action">
3456 <touch key="back" />
3457 <action function="page">%tw_back%</action>
3458 </object>
3459
3460 <object type="action">
3461 <touch key="home" />
3462 <action function="page">main</action>
3463 </object>
3464
3465 <object type="template" name="footer" />
3466 </page>
3467
3468 <page name="filemanageracction">
3469 <object type="template" name="header" />
3470
3471 <object type="text" color="%text_color%">
3472
3473 <font resource="font" />
3474 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3475 <text>%tw_fm_text1%</text>
3476 </object>
3477
3478 <object type="template" name="action_page_console" />
3479
3480 <object type="template" name="progress_bar" />
3481
3482 <object type="action">
3483 <conditions>
3484 <condition var1="tw_operation_state" var2="1" />
3485 <condition var1="tw_operation_status" var2="0" />
3486 </conditions>
3487 <actions>
3488 <action function="set">tw_back=filemanagerlist</action>
3489 <action function="set">tw_complete_text1=File Operation Complete</action>
3490 <action function="page">action_complete</action>
3491 </actions>
3492 </object>
3493
3494 <object type="action">
3495 <conditions>
3496 <condition var1="tw_operation_state" var2="1" />
3497 <condition var1="tw_operation_status" op="!=" var2="0" />
3498 </conditions>
3499 <actions>
3500 <action function="set">tw_complete_text1=File Operation Complete</action>
3501 <action function="page">action_complete</action>
3502 </actions>
3503 </object>
3504
3505 <object type="action">
3506 <condition var1="tw_include_text3" var2="0" />
3507 <actions>
3508 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3509 </actions>
3510 </object>
3511
3512 <object type="action">
3513 <condition var1="tw_include_text3" var2="1" />
3514 <actions>
3515 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3516 </actions>
3517 </object>
3518 </page>
3519
3520 <page name="decrypt">
3521 <object type="template" name="header" />
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3526 <text>Please Enter Your Password</text>
3527 </object>
3528
3529 <object type="input">
3530 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3531 <background color="%input_background_color%" />
3532 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3533 <font resource="font" color="%text_color%" />
3534 <text>%tw_crypto_display%</text>
3535 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3536 <restrict minlen="1" maxlen="254" />
3537 <actions>
3538 <action function="page">trydecrypt</action>
3539 </actions>
3540 </object>
3541
3542 <object type="text" color="%text_fail_color%">
3543 <condition var1="tw_password_fail" var2="1" />
3544 <font resource="font" />
3545 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3546 <text>Password Failed, Please Try Again</text>
3547 </object>
3548
3549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003551 <placement x="%col_center_x%" y="%row2_y%" />
3552 <font resource="font" color="%button_text_color%" />
3553 <text>Cancel</text>
3554 <image resource="main_button" />
3555 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003556 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003557 <action function="page">main</action>
3558 </actions>
3559 </object>
3560
3561 <object type="template" name="keyboardtemplate" />
3562
Dees_Troy51a0e822012-09-05 15:24:24 -04003563 <object type="template" name="footer" />
3564 </page>
3565
3566 <page name="trydecrypt">
3567 <object type="template" name="header" />
3568
3569 <object type="text" color="%text_color%">
3570 <font resource="font" />
3571 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3572 <text>Trying Decryption with Your Password</text>
3573 </object>
3574
3575 <object type="template" name="action_page_console" />
3576
3577 <object type="template" name="progress_bar" />
3578
3579 <object type="action">
3580 <action function="decrypt"></action>
3581 </object>
3582
3583 <object type="action">
3584 <conditions>
3585 <condition var1="tw_operation_state" var2="1" />
3586 <condition var1="tw_operation_status" op="!=" var2="0" />
3587 </conditions>
3588 <actions>
3589 <action function="set">tw_password_fail=1</action>
3590 <action function="page">decrypt</action>
3591 </actions>
3592 </object>
3593
3594 <object type="action">
3595 <conditions>
3596 <condition var1="tw_operation_state" var2="1" />
3597 <condition var1="tw_operation_status" op="=" var2="0" />
3598 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003599 <actions>
3600 <action function="set">tw_page_done=1</action>
3601 <action function="page">main</action>
3602 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003603 </object>
3604 </page>
3605
3606 <page name="terminalfolder">
3607 <object type="template" name="header" />
3608
3609 <object type="text" color="%text_color%">
3610 <font resource="font" />
3611 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3612 <text>Browse to Starting Folder</text>
3613 </object>
3614
3615 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003616 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003617 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3618 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003619 <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 -04003620 <text>%tw_terminal_location%</text>
3621 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3622 <sort name="tw_gui_sort_order" />
3623 <icon folder="folder_icon" file="file_icon" />
3624 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003625 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003626 <filter folders="1" files="0" />
3627 <path name="tw_terminal_location" default="/" />
3628 <data name="tw_terminal" />
3629 <selection name="tw_terminal_selection" />
3630 </object>
3631
3632 <object type="template" name="sort_options" />
3633
3634 <object type="action">
3635 <touch key="home" />
3636 <action function="page">main</action>
3637 </object>
3638
3639 <object type="action">
3640 <touch key="back" />
3641 <action function="page">advanced</action>
3642 </object>
3643
3644 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003645 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003646 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3647 <font resource="font" color="%button_text_color%" />
3648 <text>Select</text>
3649 <image resource="medium_button" />
3650 <actions>
3651 <action function="page">terminalcommand</action>
3652 </actions>
3653 </object>
3654
3655 <object type="template" name="footer" />
3656 </page>
3657
3658 <page name="terminalcommand">
3659 <object type="template" name="header" />
3660
3661 <object type="console">
3662 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3663 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3664 <font resource="fixed" />
3665 </object>
3666
3667 <object type="text" color="%text_color%">
3668 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3669 <font resource="font" />
3670 <text>Starting Path: %tw_terminal_location%</text>
3671 </object>
3672
3673 <object type="input">
3674 <condition var1="tw_terminal_state" var2="0" />
3675 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3676 <background color="%input_background_color%" />
3677 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3678 <font resource="font" color="%text_color%" />
3679 <text>%tw_terminal_command%</text>
3680 <data name="tw_terminal_command" />
3681 <restrict minlen="1" />
3682 <action function="terminalcommand">%tw_terminal_command%</action>
3683 </object>
3684
3685 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003686 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003687 <condition var1="tw_terminal_state" var2="1" />
3688 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3689 <font resource="font" color="%button_text_color%" />
3690 <text>KILL</text>
3691 <image resource="medium_button" />
3692 <action function="killterminal"></action>
3693 </object>
3694
3695 <object type="template" name="keyboardtemplate" />
3696
3697 <object type="action">
3698 <touch key="home" />
3699 <action function="page">main</action>
3700 </object>
3701
3702 <object type="action">
3703 <touch key="back" />
3704 <action function="page">terminalfolder</action>
3705 </object>
3706 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003707
3708 <page name="sideload">
3709 <object type="template" name="header" />
3710
3711 <object type="text" color="%text_color%">
3712 <font resource="font" />
3713 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3714 <text>ADB Sideload</text>
3715 </object>
3716
3717 <object type="checkbox">
3718 <placement x="%col1_x%" y="%row2_text_y%" />
3719 <font resource="font" color="%text_color%" />
3720 <text>Wipe Dalvik Cache.</text>
3721 <data variable="tw_wipe_dalvik" />
3722 <image checked="checkbox_true" unchecked="checkbox_false" />
3723 </object>
3724
3725 <object type="checkbox">
3726 <placement x="%col1_x%" y="%row3_text_y%" />
3727 <font resource="font" color="%text_color%" />
3728 <text>Wipe Cache.</text>
3729 <data variable="tw_wipe_cache" />
3730 <image checked="checkbox_true" unchecked="checkbox_false" />
3731 </object>
3732
3733 <object type="slider">
3734 <placement x="%slider_x%" y="%slider_y%" />
3735 <resource base="slider" used="slider-used" touch="slider-touch" />
3736 <actions>
3737 <action function="set">tw_back=advanced</action>
3738 <action function="set">tw_action=adbsideload</action>
3739 <action function="set">tw_action_text1=ADB Sideload</action>
3740 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3741 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3742 <action function="set">tw_has_cancel=1</action>
3743 <action function="set">tw_show_reboot=1</action>
3744 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3745 <action function="page">action_page</action>
3746 </actions>
3747 </object>
3748
3749 <object type="text" color="%text_color%">
3750 <font resource="font" />
3751 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3752 <text>Swipe to Start Sideload</text>
3753 </object>
3754
3755 <object type="action">
3756 <touch key="home" />
3757 <action function="page">main</action>
3758 </object>
3759
3760 <object type="action">
3761 <touch key="back" />
3762 <action function="page">advanced</action>
3763 </object>
3764
3765 <object type="template" name="footer" />
3766 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003767
3768 <page name="installsu">
3769 <object type="template" name="header" />
3770
3771 <object type="text" color="%text_color%">
3772 <font resource="font" />
3773 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3774 <text>Install SuperSU?</text>
3775 </object>
3776
3777 <object type="text" color="%text_color%">
3778 <font resource="font" />
3779 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3780 <text>Your device does not appear to be rooted.</text>
3781 </object>
3782
3783 <object type="text" color="%text_color%">
3784 <font resource="font" />
3785 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3786 <text>Install SuperSU now?</text>
3787 </object>
3788
3789 <object type="text" color="%text_color%">
3790 <font resource="font" />
3791 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3792 <text>This will root your device.</text>
3793 </object>
3794
3795 <object type="button">
3796 <highlight color="%highlight_color%" />
3797 <placement x="%col_center_x%" y="%row3_y%" />
3798 <font resource="font" color="%button_text_color%" />
3799 <text>Do Not Install</text>
3800 <image resource="main_button" />
3801 <action function="set">tw_page_done=1</action>
3802 </object>
3803
3804 <object type="slider">
3805 <placement x="%slider_x%" y="%slider_y%" />
3806 <resource base="slider" used="slider-used" touch="slider-touch" />
3807 <actions>
3808 <action function="set">tw_action=installsu</action>
3809 <action function="set">tw_action_text1=Installing SuperSU</action>
3810 <action function="set">tw_action_text2=</action>
3811 <action function="page">singleaction_page</action>
3812 </actions>
3813 </object>
3814
3815 <object type="text" color="%text_color%">
3816 <font resource="font" />
3817 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3818 <text>Swipe to Install</text>
3819 </object>
3820 </page>
3821
3822 <page name="fixsu">
3823 <object type="template" name="header" />
3824
3825 <object type="text" color="%text_color%">
3826 <font resource="font" />
3827 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3828 <text>Fix Superuser Permissions?</text>
3829 </object>
3830
3831 <object type="text" color="%text_color%">
3832 <font resource="font" />
3833 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3834 <text>Root permissions appear to be lost.</text>
3835 </object>
3836
3837 <object type="text" color="%text_color%">
3838 <font resource="font" />
3839 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3840 <text>Fix root permissions now?</text>
3841 </object>
3842
3843 <object type="text" color="%text_color%">
3844 <font resource="font" />
3845 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3846 <text>(Fixes permissions on su binary & app)</text>
3847 </object>
3848
3849 <object type="button">
3850 <highlight color="%highlight_color%" />
3851 <placement x="%col_center_x%" y="%row3_y%" />
3852 <font resource="font" color="%button_text_color%" />
3853 <text>Do Not Fix</text>
3854 <image resource="main_button" />
3855 <action function="set">tw_page_done=1</action>
3856 </object>
3857
3858 <object type="slider">
3859 <placement x="%slider_x%" y="%slider_y%" />
3860 <resource base="slider" used="slider-used" touch="slider-touch" />
3861 <actions>
3862 <action function="set">tw_action=fixsu</action>
3863 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3864 <action function="set">tw_action_text2=</action>
3865 <action function="page">singleaction_page</action>
3866 </actions>
3867 </object>
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3872 <text>Swipe to Fix Root</text>
3873 </object>
3874 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003875 </pages>
3876</recovery>