blob: 9b7a063156b2e8975d7820ad10cb3665bf064b2e [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
Dees_Troya13d74f2013-03-24 08:54:55 -050045 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="415" />
Dees_Troy51a0e822012-09-05 15:24:24 -040047 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040048 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040049 <variable name="center_x" value="400" />
50 <variable name="row1_y" value="185" />
51 <variable name="row2_y" value="425" />
52 <variable name="row3_y" value="665" />
53 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="row_queue_y" value="710" />
55 <variable name="row1_header_y" value="131" />
56 <variable name="row1_text_y" value="170" />
57 <variable name="row2_text_y" value="220" />
58 <variable name="row3_text_y" value="270" />
59 <variable name="row4_text_y" value="320" />
60 <variable name="row5_text_y" value="370" />
61 <variable name="row6_text_y" value="420" />
62 <variable name="row7_text_y" value="470" />
63 <variable name="row8_text_y" value="520" />
64 <variable name="row9_text_y" value="570" />
65 <variable name="row10_text_y" value="620" />
66 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040067 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040068 <variable name="row13_text_y" value="770" />
69 <variable name="row14_text_y" value="820" />
70 <variable name="row15_text_y" value="870" />
71 <variable name="row16_text_y" value="920" />
72 <variable name="row17_text_y" value="970" />
73 <variable name="row18_text_y" value="1020" />
74 <variable name="zip_status_y" value="640" />
75 <variable name="tz_selected_y" value="160" />
76 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040077 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040078 <variable name="col_progressbar_x" value="264" />
79 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040080 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="208" />
82 <variable name="col3_medium_x" value="406" />
83 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040084 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="230" />
86 <variable name="row3_medium_y" value="330" />
87 <variable name="row4_medium_y" value="430" />
88 <variable name="row5_medium_y" value="530" />
89 <variable name="row6_medium_y" value="840" />
90 <variable name="row7_medium_y" value="730" />
91 <variable name="slider_x" value="98" />
92 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040093 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040094 <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="50" />
100 <variable name="home_button_y" value="1226" />
101 <variable name="back_button_x" value="666" />
102 <variable name="back_button_y" value="1226" />
103 <variable name="sort_text_x" value="85" />
104 <variable name="sort_asc_text_y" value="1090" />
105 <variable name="sort_asc_button_y" value="1080" />
106 <variable name="sort_desc_text_y" value="1150" />
107 <variable name="sort_desc_button_y" value="1140" />
108 <variable name="sort_col1_button_x" value="330" />
109 <variable name="sort_col2_button_x" value="430" />
110 <variable name="sort_col3_button_x" value="530" />
111 <variable name="input_width" value="750" />
112 <variable name="input_height" value="50" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="800" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="470" />
122 <variable name="console_install_height" value="600" />
123 <variable name="console_installdone_height" value="440" />
124 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500125 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400126 <variable name="fileselector_install_height" value="750" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600134 <variable name="fileselector_highlight_color" value="#505050" />
135 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100137 <variable name="fastscroll_linecolor" value="#808080" />
138 <variable name="fastscroll_rectcolor" value="#808080" />
139 <variable name="fastscroll_w" value="60" />
140 <variable name="fastscroll_linew" value="2" />
141 <variable name="fastscroll_rectw" value="40" />
142 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500144 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600145 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="listbox_background" value="#303030" />
147 <variable name="listbox_spacing" value="16" />
148 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400149 <variable name="sdext_text_x" value="115" />
150 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400152 <variable name="sdswap_text_x" value="115" />
153 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400154 <variable name="sdfilesystem_text_y" value="340" />
155 <variable name="sdfilesystem_button_y" value="380" />
156 <variable name="lock_x" value="200" />
157 <variable name="lock_y" value="400" />
158 <variable name="filemanager_select_x" value="320" />
159 <variable name="filemanager_select_y" value="950" />
160 <variable name="backup_name_y" value="550" />
161 <variable name="terminal_console_height" value="600" />
162 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="terminal_button_y" value="620" />
164 <variable name="row_dst_text_y" value="720" />
165 <variable name="row_offset_text_y" value="800" />
166 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500167 <variable name="button_fill_color" value="#303030" />
168 <variable name="button_fill_full_width" value="780" />
169 <variable name="button_fill_main_width" value="375" />
170 <variable name="button_fill_main_height" value="240" />
171 <variable name="button_fill_half_height" value="120" />
172 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000173 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500174 <variable name="backup_button_row1" value="745" />
175 <variable name="backup_button_row2" value="810" />
176 <variable name="mount_list_height" value="690" />
177 <variable name="mount_storage_row" value="830" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000178 <variable name="storage_list_height" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="wipe_list_height" value="870" />
180 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200181 <variable name="slidervalue_w" value="780" />
182 <variable name="slidervalue_line_clr" value="#FFFFFF" />
183 <variable name="slidervalue_slider_clr" value="#33B5E5" />
184 <variable name="slidervalue_lineh" value="2" />
185 <variable name="slidervalue_padding" value="20" />
186 <variable name="slidervalue_sliderw" value="10" />
187 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400188 </variables>
189
190 <templates>
191 <template name="header">
192 <background color="#000000FF" />
193
194 <object type="image">
195 <image resource="top_bar" />
196 <placement x="0" y="0" />
197 </object>
198
199 <object type="text" color="%text_color%">
200 <font resource="font" />
201 <placement x="120" y="10" />
202 <text>Team Win Recovery Project v%tw_version%</text>
203 </object>
204
205 <object type="text" color="%text_color%">
206 <condition var1="tw_simulate_actions" var2="1" />
207 <font resource="font" />
208 <placement x="120" y="45" />
209 <text>SIMULATING ACTIONS</text>
210 </object>
211
212 <object type="text" color="%text_color%">
213 <font resource="font" />
214 <placement x="120" y="76" />
215 <text>%tw_time%</text>
216 </object>
217
218 <object type="text" color="%text_color%">
219 <font resource="font" />
220 <placement x="270" y="76" />
221 <conditions>
222 <condition var1="tw_no_battery_percent" var2="0" />
223 <condition var1="tw_battery" op=">" var2="0" />
224 <condition var1="tw_battery" op="<" var2="101" />
225 </conditions>
226 <text>Battery: %tw_battery%</text>
227 </object>
228
229 <object type="button">
230 <placement x="%home_button_x%" y="%home_button_y%" />
231 <font resource="font" color="%button_text_color%" />
232 <text></text>
233 <image resource="home_icon" />
234 <condition var1="tw_busy" var2="0" />
235 <action function="key">home</action>
236 </object>
237
238 <object type="button">
239 <placement x="%back_button_x%" y="%back_button_y%" />
240 <font resource="font" color="%button_text_color%" />
241 <text></text>
242 <image resource="back_icon" />
243 <condition var1="tw_busy" var2="0" />
244 <action function="key">back</action>
245 </object>
246
247 <object type="action">
248 <touch key="power" />
249 <action function="overlay">lock</action>
250 </object>
251 </template>
252
253 <template name="progress_bar">
254 <object type="progressbar">
255 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
256 <resource empty="progress_empty" full="progress_full" />
257 <data name="ui_progress" />
258 </object>
259
260 <object type="animation">
261 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
262 <resource name="progress" />
263 <speed fps="15" render="2" />
264 <loop frame="1" />
265 </object>
266 </template>
267
268 <template name="sort_options">
269 <object type="text" color="%text_color%">
270 <font resource="font" />
271 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
272 <text>Sort Ascending:</text>
273 </object>
274
275 <object type="button">
276 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
277 <font resource="font" color="%button_text_color%" />
278 <text>Name</text>
279 <image resource="sort_button" />
280 <action function="set">tw_gui_sort_order=1</action>
281 </object>
282
283 <object type="button">
284 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
285 <font resource="font" color="%button_text_color%" />
286 <text>Date</text>
287 <image resource="sort_button" />
288 <action function="set">tw_gui_sort_order=2</action>
289 </object>
290
291 <object type="button">
292 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Size</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=3</action>
297 </object>
298
299 <object type="text" color="%text_color%">
300 <font resource="font" />
301 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
302 <text>Sort Descending:</text>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
307 <font resource="font" color="%button_text_color%" />
308 <text>Name</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=-1</action>
311 </object>
312
313 <object type="button">
314 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
315 <font resource="font" color="%button_text_color%" />
316 <text>Date</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=-2</action>
319 </object>
320
321 <object type="button">
322 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
323 <font resource="font" color="%button_text_color%" />
324 <text>Size</text>
325 <image resource="sort_button" />
326 <action function="set">tw_gui_sort_order=-3</action>
327 </object>
328 </template>
329
330 <template name="action_page_console">
331 <object type="console">
332 <placement x="0" y="%row3_text_y%" w="800" h="600" />
333 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
334 <font resource="fixed" />
335 </object>
336 </template>
337
338 <template name="footer">
339 <object type="console">
340 <slideout resource="slideout" x="355" y="1220" />
341 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
342 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
343 <font resource="fixed" />
344 </object>
345 </template>
346
347 <template name="keyboardtemplate">
348 <object type="keyboard">
349 <placement x="0" y="740" />
350 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600351 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400352 <layout1>
353 <keysize height="115" width="80" />
354 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600355 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
356 <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000357 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400358 </layout1>
359 <layout2>
360 <keysize height="116" width="80" />
361 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600362 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
363 <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400364 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
365 </layout2>
366 <layout3>
367 <keysize height="115" width="80" />
368 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
369 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600370 <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
372 </layout3>
373 <layout4>
374 <keysize height="116" width="80" />
375 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
376 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600377 <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400378 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
379 </layout4>
380 </object>
381 </template>
382 </templates>
383
384 <pages>
385 <page name="main">
386 <object type="action">
387 <actions>
388 <action function="set">tw_clear_destination=main2</action>
389 <action function="page">clear_vars</action>
390 </actions>
391 </object>
392 </page>
393
394 <page name="main2">
395 <object type="template" name="header" />
396
397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400399 <placement x="%col1_x%" y="%row1_y%" />
400 <font resource="font" color="%button_text_color%" />
401 <text>Install</text>
402 <image resource="main_button" />
403 <actions>
404 <action function="queueclear"></action>
405 <action function="page">install</action>
406 </actions>
407 </object>
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col2_x%" y="%row1_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Wipe</text>
414 <image resource="main_button" />
415 <action function="page">wipe</action>
416 </object>
417
418 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600419 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400420 <placement x="%col1_x%" y="%row2_y%" />
421 <font resource="font" color="%button_text_color%" />
422 <text>Backup</text>
423 <image resource="main_button" />
424 <action function="page">backup</action>
425 </object>
426
427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400429 <placement x="%col2_x%" y="%row2_y%" />
430 <font resource="font" color="%button_text_color%" />
431 <text>Restore</text>
432 <image resource="main_button" />
433 <action function="page">restore</action>
434 </object>
435
436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400438 <placement x="%col1_x%" y="%row3_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Mount</text>
441 <image resource="main_button" />
442 <action function="page">mount</action>
443 </object>
444
445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400447 <placement x="%col2_x%" y="%row3_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Settings</text>
450 <image resource="main_button" />
451 <action function="page">settings</action>
452 </object>
453
Dees_Troyb46a6842012-09-25 11:06:46 -0400454
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col1_x%" y="%row4_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Advanced</text>
460 <image resource="main_button" />
461 <action function="page">advanced</action>
462 </object>
463
464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400466 <placement x="%col2_x%" y="%row4_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Reboot</text>
469 <image resource="main_button" />
470 <action function="page">reboot</action>
471 </object>
472
473 <object type="template" name="footer" />
474 </page>
475
476 <page name="install">
477 <object type="template" name="header" />
478
479 <object type="text" color="%text_color%">
480 <font resource="font" />
481 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
482 <text>Select Zip to Install</text>
483 </object>
484
485 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500486 <highlight color="%highlight_color%" />
487 <fill color="%button_fill_color%" />
488 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
489 <font resource="font" color="%button_text_color%" />
490 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
491 <actions>
492 <action function="set">tw_back=install</action>
493 <action function="page">selectstorage</action>
494 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400495 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400496
Dees_Troy51a0e822012-09-05 15:24:24 -0400497 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600498 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500499 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100501 <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 -0400502 <text>%tw_zip_location%</text>
503 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
504 <sort name="tw_gui_sort_order" />
505 <icon folder="folder_icon" file="file_icon" />
506 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600507 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400508 <filter extn=".zip" folders="1" files="1" />
509 <path name="tw_zip_location" default="/sdcard" />
510 <data name="tw_filename" />
511 <selection name="tw_file" />
512 </object>
513
514 <object type="template" name="sort_options" />
515
516 <object type="action">
517 <condition var1="tw_filename" op="modified" />
518 <actions>
519 <action function="queuezip"></action>
520 <action function="page">flash_confirm</action>
521 </actions>
522 </object>
523
524 <object type="action">
525 <touch key="back" />
526 <action function="page">main</action>
527 </object>
528
529 <object type="action">
530 <touch key="home" />
531 <action function="page">main</action>
532 </object>
533
534 <object type="template" name="footer" />
535 </page>
536
537 <page name="flash_confirm">
538 <object type="template" name="header" />
539
540 <object type="text" color="%text_color%">
541 <font resource="font" />
542 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
543 <text>This operation may install incompatible</text>
544 </object>
545
546 <object type="text" color="%text_color%">
547 <font resource="font" />
548 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
549 <text>software and render your device unusable.</text>
550 </object>
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
555 <text>Folder:</text>
556 </object>
557
558 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400559 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400560 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
561 <text>%tw_zip_location%</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
567 <text>File to flash:</text>
568 </object>
569
570 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400571 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400572 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
573 <text>%tw_file%</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
578 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
579 <text>Press back to cancel adding this zip.</text>
580 </object>
581
582 <object type="checkbox">
583 <placement x="%col1_x%" y="%row8_text_y%" />
584 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400585 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400586 <data variable="tw_signed_zip_verify" />
587 <image checked="checkbox_true" unchecked="checkbox_false" />
588 </object>
589
590 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400591 <condition var1="tw_has_injecttwrp" var2="1" />
592 <placement x="%col1_x%" y="%row10_text_y%" />
593 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <data variable="tw_inject_after_zip" />
596 <image checked="checkbox_true" unchecked="checkbox_false" />
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
602 <text>File %tw_zip_queue_count% of max of 10</text>
603 </object>
604
605 <object type="slider">
606 <placement x="%slider_x%" y="%slider_y%" placement="5" />
607 <resource base="slider" used="slider-used" touch="slider-touch" />
608 <action function="flash">flash_zip</action>
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400613 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <text>Swipe to Confirm Flash</text>
615 </object>
616
617 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600618 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400619 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
620 <placement x="%col1_x%" y="%row_queue_y%" />
621 <font resource="font" color="%button_text_color%" />
622 <text>Add More Zips</text>
623 <image resource="main_button" />
624 <action function="page">install</action>
625 </object>
626
627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400629 <placement x="%col2_x%" y="%row_queue_y%" />
630 <font resource="font" color="%button_text_color%" />
631 <text>Clear Zip Queue</text>
632 <image resource="main_button" />
633 <actions>
634 <action function="queueclear"></action>
635 <action function="page">install</action>
636 </actions>
637 </object>
638
639 <object type="action">
640 <touch key="back" />
641 <actions>
642 <action function="cancelzip"></action>
643 <action function="page">install</action>
644 </actions>
645 </object>
646
647 <object type="action">
648 <touch key="home" />
649 <action function="page">main</action>
650 </object>
651
652 <object type="template" name="footer" />
653 </page>
654
655 <page name="flash_zip">
656 <object type="template" name="header" />
657
658 <object type="console">
659 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
660 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
661 <font resource="fixed" />
662 </object>
663
664 <object type="text" color="%text_color%">
665 <font resource="font" />
666 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
667 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
668 </object>
669
670 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400671 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400672 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
673 <text>%tw_filename%</text>
674 </object>
675
676 <object type="template" name="progress_bar" />
677
678 <object type="action">
679 <condition var1="tw_operation_state" var2="1" />
680 <action function="page">flash_done</action>
681 </object>
682 </page>
683
684 <page name="flash_done">
685 <object type="template" name="header" />
686
687 <object type="text" color="%text_color%">
688 <font resource="font" />
689 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
690 <text>Zip Install Complete</text>
691 </object>
692
693 <object type="console">
694 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
695 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
696 <font resource="fixed" />
697 </object>
698
699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400701 <placement x="%col1_x%" y="%row4_y%" />
702 <font resource="font" color="%button_text_color%" />
703 <text>Wipe cache/dalvik</text>
704 <image resource="main_button" />
705 <actions>
706 <action function="set">tw_back=flash_done</action>
707 <action function="set">tw_action=wipe</action>
708 <action function="set">tw_action_param=/cache</action>
709 <action function="set">tw_has_action2=1</action>
710 <action function="set">tw_action2=wipe</action>
711 <action function="set">tw_action2_param=dalvik</action>
712 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
713 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
714 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
715 <action function="set">tw_slider_text=Swipe to Wipe</action>
716 <action function="page">confirm_action</action>
717 </actions>
718 </object>
719
720 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600721 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400722 <placement x="%col2_x%" y="%row4_y%" />
723 <font resource="font" color="%button_text_color%" />
724 <text>Reboot System</text>
725 <image resource="main_button" />
726 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400727 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400728 <action function="set">tw_action=reboot</action>
729 <action function="set">tw_action_param=system</action>
730 <action function="set">tw_has_action2=0</action>
731 <action function="set">tw_text1=No OS Installed! Are you</action>
732 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400733 <action function="set">tw_text3=</action>
734 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400736 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400737 <action function="set">tw_complete_text1=Rebooting...</action>
738 <action function="set">tw_slider_text=Swipe to Reboot</action>
739 <action function="page">rebootcheck</action>
740 </actions>
741 </object>
742
743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <placement x="%col_center_x%" y="%row3_y%" />
746 <font resource="font" color="%button_text_color%" />
747 <text>Home</text>
748 <image resource="main_button" />
749 <actions>
750 <action function="set">tw_clear_destination=main2</action>
751 <action function="page">clear_vars</action>
752 </actions>
753 </object>
754
755 <object type="text" color="%text_fail_color%">
756 <condition var1="tw_operation_status" op="!=" var2="0" />
757 <font resource="font" />
758 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
759 <text>Failed</text>
760 </object>
761
762 <object type="text" color="%text_success_color%">
763 <condition var1="tw_operation_status" var2="0" />
764 <font resource="font" />
765 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
766 <text>Successful</text>
767 </object>
768
769 <object type="action">
770 <touch key="back" />
771 <actions>
772 <action function="set">tw_clear_destination=install</action>
773 <action function="page">clear_vars</action>
774 </actions>
775 </object>
776
777 <object type="action">
778 <touch key="home" />
779 <actions>
780 <action function="set">tw_clear_destination=main2</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </object>
784 </page>
785
786 <page name="clear_vars">
787 <object type="action">
788 <action function="set">tw_operation_state=0</action>
789 <action function="set">tw_text1=</action>
790 <action function="set">tw_text2=</action>
791 <action function="set">tw_text3=</action>
792 <action function="set">tw_text4=</action>
793 <action function="set">tw_action_text1=</action>
794 <action function="set">tw_action_text2=</action>
795 <action function="set">tw_action_param=</action>
796 <action function="set">tw_has_action2=0</action>
797 <action function="set">tw_action2=</action>
798 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400799 <action function="set">tw_has_cancel=0</action>
800 <action function="set">tw_cancel_action=</action>
801 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400802 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400803 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400804 <action function="page">%tw_clear_destination%</action>
805 </object>
806 </page>
807
808 <page name="confirm_action">
809 <object type="template" name="header" />
810
811 <object type="text" color="%text_color%">
812 <font resource="font" />
813 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
814 <text>%tw_text1%</text>
815 </object>
816
817 <object type="text" color="%text_color%">
818 <font resource="font" />
819 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
820 <text>%tw_text2%</text>
821 </object>
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
826 <text>%tw_text3%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
832 <text>%tw_text4%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400837 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400838 <text>Press back button to cancel.</text>
839 </object>
840
841 <object type="slider">
842 <placement x="%slider_x%" y="%slider_y%" />
843 <resource base="slider" used="slider-used" touch="slider-touch" />
844 <action function="page">action_page</action>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400849 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400850 <text>%tw_slider_text%</text>
851 </object>
852
853 <object type="action">
854 <touch key="back" />
855 <actions>
856 <action function="set">tw_clear_destination=%tw_back%</action>
857 <action function="page">clear_vars</action>
858 </actions>
859 </object>
860
861 <object type="action">
862 <touch key="home" />
863 <action function="page">main</action>
864 </object>
865
866 <object type="template" name="footer" />
867 </page>
868
869 <page name="action_page">
870 <object type="template" name="header" />
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
875 <text>%tw_action_text1%</text>
876 </object>
877
878 <object type="text" color="%text_color%">
879 <font resource="font" />
880 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
881 <text>%tw_action_text2%</text>
882 </object>
883
884 <object type="template" name="action_page_console" />
885
Dees_Troycfb63ae2012-09-19 14:30:17 -0400886 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600887 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400888 <condition var1="tw_has_cancel" var2="1" />
889 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400890 <font resource="font" color="%button_text_color%" />
891 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400892 <image resource="medium_button" />
893 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400894 </object>
895
Dees_Troycfb63ae2012-09-19 14:30:17 -0400896 <object type="template" name="progress_bar" />
897
898 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400899 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400900 <actions>
901 <action function="page">action_complete</action>
902 </actions>
903 </object>
904
905 <object type="action">
906 <condition var1="tw_has_action2" var2="0" />
907 <actions>
908 <action function="%tw_action%">%tw_action_param%</action>
909 </actions>
910 </object>
911
912 <object type="action">
913 <condition var1="tw_has_action2" var2="1" />
914 <actions>
915 <action function="%tw_action%">%tw_action_param%</action>
916 <action function="%tw_action2%">%tw_action2_param%</action>
917 </actions>
918 </object>
919 </page>
920
Dees_Troy6ef66352013-02-21 08:26:57 -0600921 <page name="singleaction_page">
922 <object type="template" name="header" />
923
924 <object type="text" color="%text_color%">
925 <font resource="font" />
926 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
927 <text>%tw_action_text1%</text>
928 </object>
929
930 <object type="text" color="%text_color%">
931 <font resource="font" />
932 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
933 <text>%tw_action_text2%</text>
934 </object>
935
936 <object type="template" name="action_page_console" />
937
938 <object type="template" name="progress_bar" />
939
940 <object type="action">
941 <condition var1="tw_operation_state" var2="1" />
942 <actions>
943 <action function="set">tw_page_done=1</action>
944 </actions>
945 </object>
946
947 <object type="action">
948 <condition var1="tw_has_action2" var2="0" />
949 <actions>
950 <action function="%tw_action%">%tw_action_param%</action>
951 </actions>
952 </object>
953
954 <object type="action">
955 <condition var1="tw_has_action2" var2="1" />
956 <actions>
957 <action function="%tw_action%">%tw_action_param%</action>
958 <action function="%tw_action2%">%tw_action2_param%</action>
959 </actions>
960 </object>
961 </page>
962
Dees_Troy51a0e822012-09-05 15:24:24 -0400963 <page name="action_complete">
964 <object type="template" name="header" />
965
966 <object type="text" color="%text_color%">
967 <font resource="font" />
968 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
969 <text>%tw_complete_text1%</text>
970 </object>
971
972 <object type="text" color="%text_fail_color%">
973 <condition var1="tw_operation_status" op="!=" var2="0" />
974 <font resource="font" />
975 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
976 <text>Failed</text>
977 </object>
978
979 <object type="text" color="%text_success_color%">
980 <condition var1="tw_operation_status" var2="0" />
981 <font resource="font" />
982 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
983 <text>Successful</text>
984 </object>
985
986 <object type="template" name="action_page_console" />
987
988 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600989 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400990 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400991 <placement x="%col_center_x%" y="%row4_y%" />
992 <font resource="font" color="%button_text_color%" />
993 <text>Back</text>
994 <image resource="main_button" />
995 <actions>
996 <action function="set">tw_clear_destination=%tw_back%</action>
997 <action function="page">clear_vars</action>
998 </actions>
999 </object>
1000
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001002 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001003 <condition var1="tw_show_reboot" var2="1" />
1004 <placement x="%col_center_x%" y="%row4_y%" />
1005 <font resource="font" color="%button_text_color%" />
1006 <text>Reboot System</text>
1007 <image resource="main_button" />
1008 <actions>
1009 <action function="set">tw_back=main2</action>
1010 <action function="set">tw_action=reboot</action>
1011 <action function="set">tw_action_param=system</action>
1012 <action function="set">tw_has_action2=0</action>
1013 <action function="set">tw_text1=No OS Installed! Are you</action>
1014 <action function="set">tw_text2=sure you wish to reboot?</action>
1015 <action function="set">tw_text3=</action>
1016 <action function="set">tw_text4=</action>
1017 <action function="set">tw_action_text1=Rebooting...</action>
1018 <action function="set">tw_action_text2=</action>
1019 <action function="set">tw_complete_text1=Rebooting...</action>
1020 <action function="set">tw_slider_text=Swipe to Reboot</action>
1021 <action function="page">rebootcheck</action>
1022 </actions>
1023 </object>
1024
Dees_Troy51a0e822012-09-05 15:24:24 -04001025 <object type="action">
1026 <touch key="home" />
1027 <actions>
1028 <action function="set">tw_clear_destination=main2</action>
1029 <action function="page">clear_vars</action>
1030 </actions>
1031 </object>
1032
1033 <object type="action">
1034 <touch key="back" />
1035 <actions>
1036 <action function="set">tw_clear_destination=%tw_back%</action>
1037 <action function="page">clear_vars</action>
1038 </actions>
1039 </object>
1040 </page>
1041
1042 <page name="filecheck">
1043 <object type="action">
1044 <action function="fileexists">%tw_filecheck%</action>
1045 </object>
1046
1047 <object type="action">
1048 <conditions>
1049 <condition var1="tw_operation_state" var2="1" />
1050 <condition var1="tw_operation_status" var2="0" />
1051 </conditions>
1052 <actions>
1053 <action function="set">tw_fileexists=1</action>
1054 <action function="page">%tw_existpage%</action>
1055 </actions>
1056 </object>
1057
1058 <object type="action">
1059 <conditions>
1060 <condition var1="tw_operation_state" var2="1" />
1061 <condition var1="tw_operation_status" var2="1" />
1062 </conditions>
1063 <actions>
1064 <action function="set">tw_fileexists=0</action>
1065 <action function="page">%tw_notexistpage%</action>
1066 </actions>
1067 </object>
1068 </page>
1069
1070 <page name="rebootcheck">
1071 <object type="action">
1072 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1073 <action function="reboot">%tw_action_param%</action>
1074 </object>
1075
1076 <object type="action">
1077 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1078 <action function="page">confirm_action</action>
1079 </object>
1080 </page>
1081
1082 <page name="wipe">
1083 <object type="template" name="header" />
1084
1085 <object type="text" color="%text_color%">
1086 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001087 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001088 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001089 </object>
1090
1091 <object type="text" color="%text_color%">
1092 <font resource="font" />
1093 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1094 <text>Wipes Data, Cache, and Dalvik</text>
1095 </object>
1096
1097 <object type="text" color="%text_color%">
1098 <condition var1="tw_has_data_media" var2="0" />
1099 <font resource="font" />
1100 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1101 <text>.android_secure</text>
1102 </object>
1103
1104 <object type="text" color="%text_color%">
1105 <condition var1="tw_has_data_media" var2="1" />
1106 <font resource="font" />
1107 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1108 <text>(not including internal storage)</text>
1109 </object>
1110
1111 <object type="text" color="%text_color%">
1112 <condition var1="tw_has_sdext_partition" var2="1" />
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1115 <text>SD-EXT</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <font resource="font" />
1120 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1121 <text>Most of the time this is</text>
1122 </object>
1123
1124 <object type="text" color="%text_color%">
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1127 <text>the only wipe that you need.</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <font resource="font" />
1132 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1133 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001134 </object>
1135
1136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001137 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001138 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001140 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001142 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 </object>
1144
1145 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 <conditions>
1147 <condition var1="tw_has_internal" var2="1" />
1148 <condition var1="tw_has_data_media" var2="1" />
1149 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001150 <highlight color="%highlight_color%" />
1151 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001152 <font resource="font" color="%button_text_color%" />
1153 <text>Format Data</text>
1154 <image resource="main_button" />
1155 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001156 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 </actions>
1158 </object>
1159
Dees_Troya13d74f2013-03-24 08:54:55 -05001160 <object type="slider">
1161 <placement x="%slider_x%" y="%slider_y%" />
1162 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001163 <actions>
1164 <action function="set">tw_back=wipe</action>
1165 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001166 <action function="set">tw_action_param=data</action>
1167 <action function="set">tw_action_text1=Factory Reset...</action>
1168 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1169 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001170 </actions>
1171 </object>
1172
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <object type="text" color="%text_color%">
1174 <font resource="font" />
1175 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1176 <text>Swipe to Factory Reset</text>
1177 </object>
1178
1179 <object type="action">
1180 <touch key="back" />
1181 <action function="page">main</action>
1182 </object>
1183
1184 <object type="action">
1185 <touch key="home" />
1186 <action function="page">main</action>
1187 </object>
1188
1189 <object type="template" name="footer" />
1190 </page>
1191
1192 <page name="advancedwipe">
1193 <object type="template" name="header" />
1194
1195 <object type="text" color="%text_color%">
1196 <font resource="font" />
1197 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1198 <text>Wipe Menu</text>
1199 </object>
1200
1201 <object type="partitionlist">
1202 <highlight color="%fileselector_highlight_color%" />
1203 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1204 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1205 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1206 <text>Select Partitions to Wipe:</text>
1207 <icon selected="checkbox_true" unselected="checkbox_false" />
1208 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1209 <background color="%listbox_background%" />
1210 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1211 <data name="tw_wipe_list" />
1212 <listtype name="wipe" />
1213 </object>
1214
1215 <object type="slider">
1216 <placement x="%slider_x%" y="%slider_y%" />
1217 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001219 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001220 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001221 <action function="set">tw_action_param=LIST</action>
1222 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1223 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1224 <action function="set">tw_complete_text1=Wipe Complete</action>
1225 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 </actions>
1227 </object>
1228
Dees_Troya13d74f2013-03-24 08:54:55 -05001229 <object type="text" color="%text_color%">
1230 <font resource="font" />
1231 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1232 <text>Swipe to Wipe</text>
1233 </object>
1234
Dees_Troy51a0e822012-09-05 15:24:24 -04001235 <object type="action">
1236 <touch key="home" />
1237 <action function="page">main</action>
1238 </object>
1239
1240 <object type="action">
1241 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001242 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 </object>
1244
1245 <object type="template" name="footer" />
1246 </page>
1247
Dees_Troya13d74f2013-03-24 08:54:55 -05001248 <page name="formatdata">
1249 <object type="template" name="header" />
1250
1251 <object type="text" color="%text_color%">
1252 <font resource="font" />
1253 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1254 <text>Format Data will wipe all of your apps,</text>
1255 </object>
1256
1257 <object type="text" color="%text_color%">
1258 <font resource="font" />
1259 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1260 <text>backups, pictures, videos, media, and</text>
1261 </object>
1262
1263 <object type="text" color="%text_color%">
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1266 <text>removes encryption on internal storage.</text>
1267 </object>
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1272 <text>This cannot be undone. Press back to cancel.</text>
1273 </object>
1274
1275 <object type="text" color="%text_color%">
1276 <font resource="font" />
1277 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1278 <text>Type yes to continue.</text>
1279 </object>
1280
1281 <object type="input">
1282 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1283 <background color="%input_background_color%" />
1284 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1285 <font resource="font" color="%text_color%" />
1286 <text>%tw_confirm_formatdata%</text>
1287 <data name="tw_confirm_formatdata" />
1288 <restrict minlen="3" maxlen="3" allow="yes" />
1289 <action function="page">formatdata_confirm</action>
1290 </object>
1291
1292 <object type="template" name="keyboardtemplate" />
1293
1294 <object type="action">
1295 <touch key="home" />
1296 <action function="page">main</action>
1297 </object>
1298
1299 <object type="action">
1300 <touch key="back" />
1301 <action function="page">wipe</action>
1302 </object>
1303
1304 <object type="template" name="footer" />
1305 </page>
1306
1307 <page name="formatdata_confirm">
1308 <object type="action">
1309 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1310 <actions>
1311 <action function="set">tw_back=formatdata</action>
1312 <action function="set">tw_action=wipe</action>
1313 <action function="set">tw_action_param=DATAMEDIA</action>
1314 <action function="set">tw_action_text1=Formatting Data...</action>
1315 <action function="set">tw_complete_text1=Data Format Complete</action>
1316 <action function="page">action_page</action>
1317 </actions>
1318 </object>
1319
1320 <object type="action">
1321 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1322 <action function="page">formatdata</function>
1323 </object>
1324 </page>
1325
Dees_Troy51a0e822012-09-05 15:24:24 -04001326 <page name="backup">
1327 <object type="template" name="header" />
1328
Dees_Troy83bd4832013-05-04 12:39:56 +00001329 <object type="button">
1330 <highlight color="%highlight_color%" />
1331 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001332 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001333 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001334 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001335 <actions>
1336 <action function="set">tw_fileexists=0</action>
1337 <action function="page">backupname1</action>
1338 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001339 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001340
Dees_Troya13d74f2013-03-24 08:54:55 -05001341 <object type="partitionlist">
1342 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001343 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001344 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1345 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1346 <text>Select Partitions to Back Up:</text>
1347 <icon selected="checkbox_true" unselected="checkbox_false" />
1348 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1349 <background color="%listbox_background%" />
1350 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1351 <data name="tw_backup_list" />
1352 <listtype name="backup" />
1353 </object>
1354
1355 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001356 <conditions>
1357 <condition var1="tw_include_encrypted_backup" var2="1" />
1358 <condition var1="tw_encrypt_backup" var2="0" />
1359 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001360 <highlight color="%highlight_color%" />
1361 <fill color="%button_fill_color%" />
1362 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1363 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001364 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001365 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001366 <action function="page">backupencryption</action>
1367 </actions>
1368 </object>
1369
1370 <object type="button">
1371 <conditions>
1372 <condition var1="tw_include_encrypted_backup" var2="1" />
1373 <condition var1="tw_encrypt_backup" var2="1" />
1374 </conditions>
1375 <highlight color="%highlight_color%" />
1376 <fill color="%button_fill_color%" />
1377 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1378 <font resource="font" color="%button_text_color%" />
1379 <text>Using Encryption</text>
1380 <actions>
1381 <action function="set">tw_password_not_match=0</action>
1382 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001383 </actions>
1384 </object>
1385
1386 <object type="button">
1387 <highlight color="%highlight_color%" />
1388 <fill color="%button_fill_color%" />
1389 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1390 <font resource="font" color="%button_text_color%" />
1391 <text>Refresh Sizes</text>
1392 <action function="refreshsizes"></action>
1393 </object>
1394
1395 <object type="button">
1396 <highlight color="%highlight_color%" />
1397 <fill color="%button_fill_color%" />
1398 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1399 <font resource="font" color="%button_text_color%" />
1400 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1401 <actions>
1402 <action function="set">tw_back=backup</action>
1403 <action function="page">selectstorage</action>
1404 </actions>
1405 </object>
1406
1407 <object type="checkbox">
1408 <placement x="%col1_x%" y="%row15_text_y%" />
1409 <font resource="font" color="%text_color%" />
1410 <text>Enable compression.</text>
1411 <data variable="tw_use_compression" />
1412 <image checked="checkbox_true" unchecked="checkbox_false" />
1413 </object>
1414
1415 <object type="checkbox">
1416 <placement x="%col1_x%" y="%row16_text_y%" />
1417 <font resource="font" color="%text_color%" />
1418 <text>Skip MD5 generation during backup.</text>
1419 <data variable="tw_skip_md5_generate" />
1420 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001421 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001422
Dees_Troyb46a6842012-09-25 11:06:46 -04001423 <object type="slider">
1424 <placement x="%slider_x%" y="slider_y" />
1425 <resource base="slider" used="slider-used" touch="slider-touch" />
1426 <action function="page">backup_run</action>
1427 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001428
1429 <object type="text" color="%text_color%">
1430 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001431 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 <text>Swipe to Back Up</text>
1433 </object>
1434
Dees_Troy51a0e822012-09-05 15:24:24 -04001435 <object type="action">
1436 <touch key="home" />
1437 <action function="page">main</action>
1438 </object>
1439
1440 <object type="action">
1441 <touch key="back" />
1442 <action function="page">main</action>
1443 </object>
1444
1445 <object type="template" name="footer" />
1446 </page>
1447
1448 <page name="backupname1">
1449 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001450 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1451 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001452 </object>
1453
1454 <object type="action">
1455 <action function="page">backupname2</function>
1456 </object>
1457 </page>
1458
1459 <page name="backupname2">
1460 <object type="template" name="header" />
1461
1462 <object type="text" color="%text_color%">
1463 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1464 <font resource="font" />
1465 <text>Please Enter a Backup Name</text>
1466 </object>
1467
1468 <object type="input">
1469 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1470 <background color="%input_background_color%" />
1471 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1472 <font resource="font" color="%text_color%" />
1473 <text>%tw_backup_name%</text>
1474 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001475 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001476 <actions>
1477 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1478 <action function="set">tw_existpage=backupname2</action>
1479 <action function="set">tw_notexistpage=backup</action>
1480 <action function="page">filecheck</action>
1481 </actions>
1482 </object>
1483
1484 <object type="text" color="%text_fail_color%">
1485 <condition var1="tw_fileexists" var2="1" />
1486 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1487 <font resource="font" />
1488 <text>A backup with that name already exists!</text>
1489 </object>
1490
Dees_Troyb46a6842012-09-25 11:06:46 -04001491 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001492 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001493 <placement x="%col1_x%" y="%row2_y%" />
1494 <font resource="font" color="%button_text_color%" />
1495 <text>Append Date</text>
1496 <image resource="main_button" />
1497 <action function="appenddatetobackupname"></action>
1498 </object>
1499
1500 <object type="button">
1501 <highlight color="%highlight_color%" />
1502 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001503 <font resource="font" color="%button_text_color%" />
1504 <text>Cancel</text>
1505 <image resource="main_button" />
1506 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001507 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001508 <action function="page">backup</action>
1509 </actions>
1510 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001511
1512 <object type="template" name="keyboardtemplate" />
1513
Dees_Troyb46a6842012-09-25 11:06:46 -04001514 <object type="action">
1515 <touch key="home" />
1516 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001517 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001518 <action function="page">main</action>
1519 </actions>
1520 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001521
Dees_Troyb46a6842012-09-25 11:06:46 -04001522 <object type="action">
1523 <touch key="back" />
1524 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001525 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001526 <action function="page">backup</action>
1527 </actions>
1528 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001529
1530 <object type="template" name="footer" />
1531 </page>
1532
Dees_Troy83bd4832013-05-04 12:39:56 +00001533 <page name="backupencryption">
1534 <object type="template" name="header" />
1535
1536 <object type="text" color="%text_color%">
1537 <font resource="font" />
1538 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1539 <text>Encrypt your backup?</text>
1540 </object>
1541
1542 <object type="text" color="%text_color%">
1543 <font resource="font" />
1544 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1545 <text>Please Enter A Password:</text>
1546 </object>
1547
1548 <object type="input">
1549 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1550 <background color="%input_background_color%" />
1551 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1552 <font resource="font" color="%text_color%" />
1553 <text>%tw_backup_encrypt_display%</text>
1554 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1555 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1556 <action function="page">backupencryption2</action>
1557 </object>
1558
1559 <object type="text" color="%text_fail_color%">
1560 <condition var1="tw_password_not_match" var2="1" />
1561 <font resource="font" />
1562 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1563 <text>Passwords Do Not Match</text>
1564 </object>
1565
1566 <object type="button">
1567 <highlight color="%highlight_color%" />
1568 <placement x="%col_center_x%" y="%row2_y%" />
1569 <font resource="font" color="%button_text_color%" />
1570 <text>Cancel</text>
1571 <image resource="main_button" />
1572 <actions>
1573 <action function="set">tw_encrypt_backup=0</action>
1574 <action function="set">tw_backup_password=</action>
1575 <action function="set">tw_backup_password2=</action>
1576 <action function="set">tw_backup_encrypt_display=</action>
1577 <action function="set">tw_backup_encrypt_display2=</action>
1578 <action function="page">backup</action>
1579 </actions>
1580 </object>
1581
1582 <object type="template" name="keyboardtemplate" />
1583
1584 <object type="action">
1585 <touch key="home" />
1586 <action function="page">main</action>
1587 </object>
1588
1589 <object type="action">
1590 <touch key="back" />
1591 <action function="page">backup</action>
1592 </object>
1593
1594 <object type="template" name="footer" />
1595 </page>
1596
1597 <page name="backupencryption2">
1598 <object type="template" name="header" />
1599
1600 <object type="text" color="%text_color%">
1601 <font resource="font" />
1602 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1603 <text>Encrypt your backup?</text>
1604 </object>
1605
1606 <object type="text" color="%text_color%">
1607 <font resource="font" />
1608 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1609 <text>Please Enter Password Again:</text>
1610 </object>
1611
1612 <object type="input">
1613 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1614 <background color="%input_background_color%" />
1615 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1616 <font resource="font" color="%text_color%" />
1617 <text>%tw_backup_encrypt_display2%</text>
1618 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1619 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1620 <actions>
1621 <action function="page">checkbackuppassword</action>
1622 </actions>
1623 </object>
1624
1625 <object type="button">
1626 <highlight color="%highlight_color%" />
1627 <placement x="%col_center_x%" y="%row2_y%" />
1628 <font resource="font" color="%button_text_color%" />
1629 <text>Cancel</text>
1630 <image resource="main_button" />
1631 <actions>
1632 <action function="set">tw_encrypt_backup=0</action>
1633 <action function="set">tw_backup_password=</action>
1634 <action function="set">tw_backup_password2=</action>
1635 <action function="set">tw_backup_encrypt_display=</action>
1636 <action function="set">tw_backup_encrypt_display2=</action>
1637 <action function="page">backup</action>
1638 </actions>
1639 </object>
1640
1641 <object type="template" name="keyboardtemplate" />
1642
1643 <object type="action">
1644 <touch key="home" />
1645 <action function="page">main</action>
1646 </object>
1647
1648 <object type="action">
1649 <touch key="back" />
1650 <action function="page">backup</action>
1651 </object>
1652
1653 <object type="template" name="footer" />
1654 </page>
1655
1656 <page name="checkbackuppassword">
1657 <object type="action">
1658 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1659 <actions>
1660 <action function="set">tw_encrypt_backup=1</action>
1661 <action function="page">backup</action>
1662 </actions>
1663 </object>
1664
1665 <object type="action">
1666 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1667 <actions>
1668 <action function="set">tw_encrypt_backup=0</action>
1669 <action function="set">tw_password_not_match=1</action>
1670 <action function="set">tw_backup_password=</action>
1671 <action function="set">tw_backup_password2=</action>
1672 <action function="set">tw_backup_encrypt_display=</action>
1673 <action function="set">tw_backup_encrypt_display2=</action>
1674 <action function="page">backupencryption</action>
1675 </actions>
1676 </object>
1677 </page>
1678
Dees_Troy51a0e822012-09-05 15:24:24 -04001679 <page name="backup_run">
1680 <object type="template" name="header" />
1681
1682 <object type="text" color="%text_color%">
1683 <font resource="font" />
1684 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1685 <text>%tw_operation% %tw_partition%</text>
1686 </object>
1687
1688 <object type="template" name="action_page_console" />
1689
1690 <object type="template" name="progress_bar" />
1691
1692 <object type="action">
1693 <action function="nandroid">backup</action>
1694 </object>
1695
1696 <object type="action">
1697 <condition var1="tw_operation_state" var2="1" />
1698 <actions>
1699 <action function="set">tw_back=backup</action>
1700 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001701 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001702 <action function="page">action_complete</action>
1703 </actions>
1704 </object>
1705 </page>
1706
1707 <page name="restore">
1708 <object type="template" name="header" />
1709
1710 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001711 <highlight color="%highlight_color%" />
1712 <fill color="%button_fill_color%" />
1713 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1714 <font resource="font" color="%button_text_color%" />
1715 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1716 <actions>
1717 <action function="set">tw_back=restore</action>
1718 <action function="page">selectstorage</action>
1719 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001720 </object>
1721
1722 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001723 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001724 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001725 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001726 <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 -04001727 <text>Select Package to Restore:</text>
1728 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1729 <sort name="tw_gui_sort_order" />
1730 <icon folder="folder_icon" file="file_icon" />
1731 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001732 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001733 <filter folders="1" files="0" nav="0" />
1734 <path name="tw_backups_folder" />
1735 <data name="tw_restore" default="" />
1736 <selection name="tw_restore_name" />
1737 </object>
1738
1739 <object type="template" name="sort_options" />
1740
1741 <object type="action">
1742 <condition var1="tw_restore" op="modified" />
1743 <actions>
1744 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001745 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001746 </actions>
1747 </object>
1748
1749 <object type="action">
1750 <touch key="home" />
1751 <action function="page">main</action>
1752 </object>
1753
1754 <object type="action">
1755 <touch key="back" />
1756 <action function="page">main</action>
1757 </object>
1758
1759 <object type="template" name="footer" />
1760 </page>
1761
Dees_Troy83bd4832013-05-04 12:39:56 +00001762 <page name="restore_read">
1763 <object type="action">
1764 <condition var1="tw_restore_encrypted" var2="1" />
1765 <actions>
1766 <action function="set">tw_password_fail=0</action>
1767 <action function="page">restore_decrypt</action>
1768 </actions>
1769 </object>
1770
1771 <object type="action">
1772 <condition var1="tw_restore_encrypted" var2="0" />
1773 <actions>
1774 <action function="page">restore_select</action>
1775 </actions>
1776 </object>
1777 </page>
1778
1779 <page name="restore_decrypt">
1780 <object type="template" name="header" />
1781
1782 <object type="text" color="%text_color%">
1783 <font resource="font" />
1784 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1785 <text>Backup Encrypted</text>
1786 </object>
1787
1788 <object type="text" color="%text_color%">
1789 <font resource="font" />
1790 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1791 <text>Please Enter Your Password:</text>
1792 </object>
1793
1794 <object type="input">
1795 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1796 <background color="%input_background_color%" />
1797 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1798 <font resource="font" color="%text_color%" />
1799 <text>%tw_restore_display%</text>
1800 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1801 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1802 <actions>
1803 <action function="page">try_restore_decrypt</action>
1804 </actions>
1805 </object>
1806
1807 <object type="text" color="%text_fail_color%">
1808 <condition var1="tw_password_fail" var2="1" />
1809 <font resource="font" />
1810 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1811 <text>Password Failed, Please Try Again</text>
1812 </object>
1813
1814 <object type="button">
1815 <highlight color="%highlight_color%" />
1816 <placement x="%col1_x%" y="%row2_y%" />
1817 <font resource="font" color="%button_text_color%" />
1818 <text>Cancel</text>
1819 <image resource="main_button" />
1820 <actions>
1821 <action function="set">tw_page_done=1</action>
1822 <action function="page">restore</action>
1823 </actions>
1824 </object>
1825
1826 <object type="button">
1827 <highlight color="%highlight_color%" />
1828 <placement x="%col2_x%" y="%row2_y%" />
1829 <font resource="font" color="%button_text_color%" />
1830 <text>Delete</text>
1831 <image resource="main_button" />
1832 <actions>
1833 <action function="set">tw_back=restore</action>
1834 <action function="set">tw_action=cmd</action>
1835 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1836 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1837 <action function="set">tw_text2=This cannot be undone!</action>
1838 <action function="set">tw_action_text1=Deleting Backup...</action>
1839 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1840 <action function="set">tw_slider_text=Swipe to Delete</action>
1841 <action function="page">confirm_action</action>
1842 </actions>
1843 </object>
1844
1845 <object type="template" name="keyboardtemplate" />
1846
1847 <object type="action">
1848 <touch key="home" />
1849 <action function="page">main</action>
1850 </object>
1851
1852 <object type="action">
1853 <touch key="back" />
1854 <action function="page">restore</action>
1855 </object>
1856
1857 <object type="template" name="footer" />
1858 </page>
1859
1860 <page name="try_restore_decrypt">
1861 <object type="template" name="header" />
1862
1863 <object type="text" color="%text_color%">
1864 <font resource="font" />
1865 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1866 <text>Trying Decryption with Your Password</text>
1867 </object>
1868
1869 <object type="template" name="action_page_console" />
1870
1871 <object type="template" name="progress_bar" />
1872
1873 <object type="action">
1874 <action function="decrypt_backup"></action>
1875 </object>
1876
1877 <object type="action">
1878 <conditions>
1879 <condition var1="tw_operation_state" var2="1" />
1880 <condition var1="tw_operation_status" op="!=" var2="0" />
1881 </conditions>
1882 <actions>
1883 <action function="set">tw_password_fail=1</action>
1884 <action function="page">restore_decrypt</action>
1885 </actions>
1886 </object>
1887
1888 <object type="action">
1889 <conditions>
1890 <condition var1="tw_operation_state" var2="1" />
1891 <condition var1="tw_operation_status" op="=" var2="0" />
1892 </conditions>
1893 <actions>
1894 <action function="set">tw_page_done=1</action>
1895 <action function="page">restore_select</action>
1896 </actions>
1897 </object>
1898 </page>
1899
Dees_Troy51a0e822012-09-05 15:24:24 -04001900 <page name="restore_select">
1901 <object type="template" name="header" />
1902
Dees_Troya13d74f2013-03-24 08:54:55 -05001903 <object type="partitionlist">
1904 <highlight color="%fileselector_highlight_color%" />
1905 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1906 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1907 <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 -04001908 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001909 <icon selected="checkbox_true" unselected="checkbox_false" />
1910 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1911 <background color="%listbox_background%" />
1912 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1913 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1914 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001915 </object>
1916
1917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001918 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001919 <fill color="%button_fill_color%" />
1920 <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 -04001921 <font resource="font" color="%button_text_color%" />
1922 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001923 <actions>
1924 <action function="set">tw_backup_rename=</action>
1925 <action function="set">tw_fileexists=0</action>
1926 <action function="page">renamebackup</action>
1927 </actions>
1928 </object>
1929
1930 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001931 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001932 <fill color="%button_fill_color%" />
1933 <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 -04001934 <font resource="font" color="%button_text_color%" />
1935 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001936 <actions>
1937 <action function="set">tw_back=restore</action>
1938 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001939 <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 -04001940 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1941 <action function="set">tw_text2=This cannot be undone!</action>
1942 <action function="set">tw_action_text1=Deleting Backup...</action>
1943 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1944 <action function="set">tw_slider_text=Swipe to Delete</action>
1945 <action function="page">confirm_action</action>
1946 </actions>
1947 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001948
Dees_Troya13d74f2013-03-24 08:54:55 -05001949 <object type="checkbox">
1950 <placement x="%col1_x%" y="%row15_text_y%" />
1951 <font resource="font" color="%text_color%" />
1952 <text>Enable MD5 verification of backup files.</text>
1953 <data variable="tw_skip_md5_check" />
1954 <image checked="checkbox_true" unchecked="checkbox_false" />
1955 </object>
1956
1957 <object type="text" color="%text_color%">
1958 <font resource="font" />
1959 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1960 <text>Package Date: %tw_restore_file_date%</text>
1961 </object>
1962
Dees_Troy51a0e822012-09-05 15:24:24 -04001963 <object type="slider">
1964 <placement x="%slider_x%" y="%slider_y%" />
1965 <resource base="slider" used="slider-used" touch="slider-touch" />
1966 <action function="page">restore_run</action>
1967 </object>
1968
1969 <object type="text" color="%text_color%">
1970 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001971 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001972 <text>Swipe to Restore</text>
1973 </object>
1974
Dees_Troy51a0e822012-09-05 15:24:24 -04001975 <object type="action">
1976 <touch key="home" />
1977 <action function="page">main</action>
1978 </object>
1979
1980 <object type="action">
1981 <touch key="back" />
1982 <action function="page">restore</action>
1983 </object>
1984
1985 <object type="template" name="footer" />
1986 </page>
1987
1988 <page name="renamebackup">
1989 <object type="template" name="header" />
1990
1991 <object type="text" color="%text_color%">
1992 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1993 <font resource="font" />
1994 <text>Please Enter a New Backup Name</text>
1995 </object>
1996
1997 <object type="input">
1998 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1999 <background color="%input_background_color%" />
2000 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2001 <font resource="font" color="%text_color%" />
2002 <text>%tw_backup_rename%</text>
2003 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002004 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002005 <actions>
2006 <action function="set">tw_back=restore</action>
2007 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002008 <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 -04002009 <action function="set">tw_text1=Rename Backup?</action>
2010 <action function="set">tw_text2=This cannot be undone!</action>
2011 <action function="set">tw_action_text1=Renaming Backup...</action>
2012 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2013 <action function="set">tw_slider_text=Swipe to Rename</action>
2014 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2015 <action function="set">tw_existpage=renamebackup</action>
2016 <action function="set">tw_notexistpage=confirm_action</action>
2017 <action function="page">filecheck</action>
2018 </actions>
2019 </object>
2020
2021 <object type="text" color="%text_fail_color%">
2022 <condition var1="tw_fileexists" var2="1" />
2023 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2024 <font resource="font" />
2025 <text>A backup with that name already exists!</text>
2026 </object>
2027
2028 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002029 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002030 <placement x="%col_center_x%" y="%row2_y%" />
2031 <font resource="font" color="%button_text_color%" />
2032 <text>Cancel</text>
2033 <image resource="main_button" />
2034 <action function="page">restore_select</action>
2035 </object>
2036
2037 <object type="template" name="keyboardtemplate" />
2038
2039 <object type="action">
2040 <touch key="home" />
2041 <action function="page">main</action>
2042 </object>
2043
2044 <object type="action">
2045 <touch key="back" />
2046 <action function="page">restore_select</action>
2047 </object>
2048
2049 <object type="template" name="footer" />
2050 </page>
2051
2052 <page name="restore_run">
2053 <object type="template" name="header" />
2054
2055 <object type="text" color="%text_color%">
2056 <font resource="font" />
2057 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2058 <text>%tw_operation% %tw_partition%</text>
2059 </object>
2060
2061 <object type="template" name="action_page_console" />
2062
2063 <object type="template" name="progress_bar" />
2064
2065 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002066 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002067 <actions>
2068 <action function="set">tw_back=restore_select</action>
2069 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002070 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002071 <action function="page">action_complete</action>
2072 </actions>
2073 </object>
2074
2075 <object type="action">
2076 <action function="nandroid">restore</action>
2077 </object>
2078 </page>
2079
Dees_Troya13d74f2013-03-24 08:54:55 -05002080 <page name="selectstorage">
2081 <object type="template" name="header" />
2082
2083 <object type="partitionlist">
2084 <highlight color="%fileselector_highlight_color%" />
2085 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2086 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2087 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2088 <text>Select Storage:</text>
2089 <icon selected="radio_true" unselected="radio_false" />
2090 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2091 <background color="%listbox_background%" />
2092 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2093 <data name="tw_storage_path" />
2094 <listtype name="storage" />
2095 </object>
2096
Dees_Troye7e0ae82013-07-05 14:46:07 +00002097 <object type="button">
2098 <highlight color="%highlight_color%" />
2099 <placement x="%col_center_x%" y="%row4_y%" />
2100 <font resource="font" color="%button_text_color%" />
2101 <text>OK</text>
2102 <image resource="main_button" />
2103 <actions>
2104 <action function="set">tw_clear_destination=%tw_back%</action>
2105 <action function="page">clear_vars</action>
2106 </actions>
2107 </object>
2108
Dees_Troya13d74f2013-03-24 08:54:55 -05002109 <object type="action">
2110 <touch key="home" />
2111 <action function="page">main</action>
2112 </object>
2113
2114 <object type="action">
2115 <touch key="back" />
2116 <actions>
2117 <action function="page">%tw_back%</action>
2118 </actions>
2119 </object>
2120
2121 <object type="template" name="footer" />
2122 </page>
2123
Dees_Troy51a0e822012-09-05 15:24:24 -04002124 <page name="mount">
2125 <object type="template" name="header" />
2126
Dees_Troya13d74f2013-03-24 08:54:55 -05002127 <object type="partitionlist">
2128 <highlight color="%fileselector_highlight_color%" />
2129 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2130 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2131 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2132 <text>Select Partitions to Mount:</text>
2133 <icon selected="checkbox_true" unselected="checkbox_false" />
2134 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2135 <background color="%listbox_background%" />
2136 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2137 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002138 </object>
2139
2140 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002141 <highlight color="%highlight_color%" />
2142 <fill color="%button_fill_color%" />
2143 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2144 <font resource="font" color="%button_text_color%" />
2145 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2146 <actions>
2147 <action function="set">tw_back=mount</action>
2148 <action function="page">selectstorage</action>
2149 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002150 </object>
2151
2152 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002153 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002154 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002155 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002156 <font resource="font" color="%button_text_color%" />
2157 <text>Mount USB Storage</text>
2158 <image resource="main_button" />
2159 <action function="page">usb_mount</action>
2160 </object>
2161
Gary Peckffdc6ae2012-11-21 18:02:02 -08002162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002163 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002164 <conditions>
2165 <condition var1="tw_is_encrypted" var2="1" />
2166 <condition var1="tw_is_decrypted" var2="0" />
2167 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002168 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002169 <font resource="font" color="%button_text_color%" />
2170 <text>Decrypt Data</text>
2171 <image resource="main_button" />
2172 <action function="page">decrypt</action>
2173 </object>
2174
Dees_Troy51a0e822012-09-05 15:24:24 -04002175 <object type="action">
2176 <touch key="home" />
2177 <action function="page">main</action>
2178 </object>
2179
2180 <object type="action">
2181 <touch key="back" />
2182 <action function="page">main</action>
2183 </object>
2184
2185 <object type="template" name="footer" />
2186 </page>
2187
2188 <page name="usb_mount">
2189 <object type="template" name="header" />
2190
2191 <object type="text" color="%text_color%">
2192 <font resource="font" />
2193 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2194 <text>USB Storage Mounted</text>
2195 </object>
2196
2197 <object type="text" color="%text_color%">
2198 <placement x="%col1_x%" y="%row1_text_y%" />
2199 <font resource="font" />
2200 <text>Be sure to safely remove your device</text>
2201 </object>
2202
2203 <object type="text" color="%text_color%">
2204 <placement x="%col1_x%" y="%row2_text_y%" />
2205 <font resource="font" />
2206 <text>from your computer before unmounting!</text>
2207 </object>
2208
2209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002211 <placement x="%col1_x%" y="%row3_y%" />
2212 <font resource="font" color="%button_text_color%" />
2213 <text>Unmount</text>
2214 <image resource="main_button" />
2215 <action function="page">usb_umount</action>
2216 </object>
2217
2218 <object type="action">
2219 <action function="mount">usb</action>
2220 </object>
2221
2222 <object type="template" name="footer" />
2223 </page>
2224
2225 <page name="usb_umount">
2226 <object type="action">
2227 <action function="unmount">usb</action>
2228 </object>
2229
2230 <object type="action">
2231 <action function="page">mount</action>
2232 </object>
2233 </page>
2234
2235 <page name="reboot">
2236 <object type="template" name="header" />
2237
2238 <object type="text" color="%text_color%">
2239 <font resource="font" />
2240 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2241 <text>Reboot Menu</text>
2242 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002243
Dees_Troy51a0e822012-09-05 15:24:24 -04002244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002246 <condition var1="tw_reboot_system" var2="1" />
2247 <placement x="%col1_x%" y="%row1_y%" />
2248 <font resource="font" color="%button_text_color%" />
2249 <text>System</text>
2250 <image resource="main_button" />
2251 <actions>
2252 <action function="set">tw_back=reboot</action>
2253 <action function="set">tw_action=reboot</action>
2254 <action function="set">tw_action_param=system</action>
2255 <action function="set">tw_has_action2=0</action>
2256 <action function="set">tw_text1=No OS Installed! Are you</action>
2257 <action function="set">tw_text2=sure you wish to reboot?</action>
2258 <action function="set">tw_action_text1=Rebooting...</action>
2259 <action function="set">tw_complete_text1=Rebooting...</action>
2260 <action function="set">tw_slider_text=Swipe to Reboot</action>
2261 <action function="page">rebootcheck</action>
2262 </actions>
2263 </object>
2264
2265 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002266 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002267 <condition var1="tw_reboot_poweroff" var2="1" />
2268 <placement x="%col2_x%" y="%row1_y%" />
2269 <font resource="font" color="%button_text_color%" />
2270 <text>Power Off</text>
2271 <image resource="main_button" />
2272 <actions>
2273 <action function="set">tw_back=reboot</action>
2274 <action function="set">tw_action=reboot</action>
2275 <action function="set">tw_action_param=poweroff</action>
2276 <action function="set">tw_has_action2=0</action>
2277 <action function="set">tw_text1=No OS Installed! Are you</action>
2278 <action function="set">tw_text2=sure you wish to power off?</action>
2279 <action function="set">tw_action_text1=Turning Off...</action>
2280 <action function="set">tw_complete_text1=Turning Off...</action>
2281 <action function="set">tw_slider_text=Swipe to Power Off</action>
2282 <action function="page">rebootcheck</action>
2283 </actions>
2284 </object>
2285
2286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002288 <condition var1="tw_reboot_recovery" var2="1" />
2289 <placement x="%col1_x%" y="%row2_y%" />
2290 <font resource="font" color="%button_text_color%" />
2291 <text>Recovery</text>
2292 <image resource="main_button" />
2293 <actions>
2294 <action function="set">tw_back=reboot</action>
2295 <action function="set">tw_action=reboot</action>
2296 <action function="set">tw_action_param=recovery</action>
2297 <action function="set">tw_has_action2=0</action>
2298 <action function="set">tw_text1=No OS Installed! Are you</action>
2299 <action function="set">tw_text2=sure you wish to reboot?</action>
2300 <action function="set">tw_action_text1=Rebooting...</action>
2301 <action function="set">tw_complete_text1=Rebooting...</action>
2302 <action function="set">tw_slider_text=Swipe to Reboot</action>
2303 <action function="page">rebootcheck</action>
2304 </actions>
2305 </object>
2306
2307 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002308 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002309 <condition var1="tw_reboot_bootloader" var2="1" />
2310 <placement x="%col2_x%" y="%row2_y%" />
2311 <font resource="font" color="%button_text_color%" />
2312 <text>Bootloader</text>
2313 <image resource="main_button" />
2314 <actions>
2315 <action function="set">tw_back=reboot</action>
2316 <action function="set">tw_action=reboot</action>
2317 <action function="set">tw_action_param=bootloader</action>
2318 <action function="set">tw_has_action2=0</action>
2319 <action function="set">tw_text1=No OS Installed! Are you</action>
2320 <action function="set">tw_text2=sure you wish to reboot?</action>
2321 <action function="set">tw_action_text1=Rebooting...</action>
2322 <action function="set">tw_complete_text1=Rebooting...</action>
2323 <action function="set">tw_slider_text=Swipe to Reboot</action>
2324 <action function="page">rebootcheck</action>
2325 </actions>
2326 </object>
2327
2328 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002329 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002330 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002331 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002332 <font resource="font" color="%button_text_color%" />
2333 <text>Download</text>
2334 <image resource="main_button" />
2335 <actions>
2336 <action function="set">tw_back=reboot</action>
2337 <action function="set">tw_action=reboot</action>
2338 <action function="set">tw_action_param=download</action>
2339 <action function="set">tw_has_action2=0</action>
2340 <action function="set">tw_text1=No OS Installed! Are you</action>
2341 <action function="set">tw_text2=sure you wish to reboot?</action>
2342 <action function="set">tw_action_text1=Rebooting...</action>
2343 <action function="set">tw_complete_text1=Rebooting...</action>
2344 <action function="set">tw_slider_text=Swipe to Reboot</action>
2345 <action function="page">rebootcheck</action>
2346 </actions>
2347 </object>
2348
2349 <object type="action">
2350 <touch key="home" />
2351 <action function="page">main</action>
2352 </object>
2353
2354 <object type="action">
2355 <touch key="back" />
2356 <action function="page">main</action>
2357 </object>
2358
2359 <object type="template" name="footer" />
2360 </page>
2361
2362 <page name="settings">
2363 <object type="template" name="header" />
2364
2365 <object type="text" color="%text_color%">
2366 <font resource="font" />
2367 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2368 <text>Settings</text>
2369 </object>
2370
2371 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002372 <placement x="%col1_x%" y="%row1_text_y%" />
2373 <font resource="font" color="%text_color%" />
2374 <text>Zip file signature verification.</text>
2375 <data variable="tw_signed_zip_verify" />
2376 <image checked="checkbox_true" unchecked="checkbox_false" />
2377 </object>
2378
2379 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <placement x="%col1_x%" y="%row2_text_y%" />
2381 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002382 <text>Use rm -rf instead of formatting.</text>
2383 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <image checked="checkbox_true" unchecked="checkbox_false" />
2385 </object>
2386
2387 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002388 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002390 <text>Skip MD5 generation during backup.</text>
2391 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <image checked="checkbox_true" unchecked="checkbox_false" />
2393 </object>
2394
2395 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002396 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002398 <text>Enable MD5 verification of backup files.</text>
2399 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <image checked="checkbox_true" unchecked="checkbox_false" />
2401 </object>
2402
2403 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002404 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002405 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002406 <text>Use Military Time.</text>
2407 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <image checked="checkbox_true" unchecked="checkbox_false" />
2409 </object>
2410
2411 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002412 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002414 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <data variable="tw_simulate_actions" />
2416 <image checked="checkbox_true" unchecked="checkbox_false" />
2417 </object>
2418
2419 <object type="checkbox">
2420 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002421 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002423 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <data variable="tw_simulate_fail" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <placement x="%col1_x%" y="%row3_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Time Zone</text>
2433 <image resource="main_button" />
2434 <action function="page">timezone</action>
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002439 <placement x="%col2_x%" y="%row3_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>Screen</text>
2442 <image resource="main_button" />
2443 <action function="page">screen</action>
2444 </object>
2445
2446 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <placement x="%col_center_x%" y="%row4_y%" />
2448 <font resource="font" color="%button_text_color%" />
2449 <text>Restore Defaults</text>
2450 <image resource="main_button" />
2451 <action function="restoredefaultsettings"></action>
2452 </object>
2453
2454 <object type="action">
2455 <touch key="home" />
2456 <action function="page">main</action>
2457 </object>
2458
2459 <object type="action">
2460 <touch key="back" />
2461 <action function="page">main</action>
2462 </object>
2463
2464 <object type="template" name="footer" />
2465 </page>
2466
2467 <page name="timezone">
2468 <object type="template" name="header" />
2469
Dees_Troy51a0e822012-09-05 15:24:24 -04002470 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002471 <highlight color="%fileselector_highlight_color%" />
2472 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2473 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002474 <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 -06002475 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002477 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002479 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002480 <data name="tw_time_zone_guisel" />
2481 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2482 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2483 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2484 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2485 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2486 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2487 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2488 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2489 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2490 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2491 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2492 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2493 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2494 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2495 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2496 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2497 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2498 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2499 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2500 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2501 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2502 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2503 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2504 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2505 </object>
2506
2507 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002508 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002509 <font resource="font" color="%text_color%" />
2510 <text>Do you use daylight savings time (DST)?</text>
2511 <data variable="tw_time_zone_guidst" />
2512 <image checked="checkbox_true" unchecked="checkbox_false" />
2513 </object>
2514
2515 <object type="text" color="%text_color%">
2516 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002517 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002518 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2519 </object>
2520
2521 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002522 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002523 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <font resource="font" color="%button_text_color%" />
2525 <text>None</text>
2526 <image resource="medium_button" />
2527 <action function="set">tw_time_zone_guioffset=0</action>
2528 </object>
2529
2530 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002531 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002532 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <font resource="font" color="%button_text_color%" />
2534 <text>15</text>
2535 <image resource="medium_button" />
2536 <action function="set">tw_time_zone_guioffset=15</action>
2537 </object>
2538
2539 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002540 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002541 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 <font resource="font" color="%button_text_color%" />
2543 <text>30</text>
2544 <image resource="medium_button" />
2545 <action function="set">tw_time_zone_guioffset=30</action>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002550 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <font resource="font" color="%button_text_color%" />
2552 <text>45</text>
2553 <image resource="medium_button" />
2554 <action function="set">tw_time_zone_guioffset=45</action>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <placement x="%col_center_x%" y="%tz_set_y%" />
2560 <font resource="font" color="%button_text_color%" />
2561 <text>Set Time Zone</text>
2562 <image resource="main_button" />
2563 <action function="setguitimezone"></action>
2564 </object>
2565
2566 <object type="text" color="%text_color%">
2567 <font resource="font" />
2568 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2569 <text>Current Time Zone: %tw_time_zone%</text>
2570 </object>
2571
2572 <object type="action">
2573 <touch key="home" />
2574 <action function="page">main</action>
2575 </object>
2576
2577 <object type="action">
2578 <touch key="back" />
2579 <action function="page">settings</action>
2580 </object>
2581
2582 <object type="template" name="footer" />
2583 </page>
2584
Dees_Troy2f9117a2013-02-17 19:52:09 -06002585 <page name="screen">
2586 <object type="template" name="header" />
2587
2588 <object type="text" color="%text_color%">
2589 <font resource="font" />
2590 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2591 <text>Screen Settings</text>
2592 </object>
2593
Dees_Troy2f9117a2013-02-17 19:52:09 -06002594 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002595 <placement x="%col1_x%" y="%row2_text_y%" />
2596 <font resource="font" color="%text_color%" />
2597 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002598 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002599 <text>Enable screen timeout.</text>
2600 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002601 <action function="set">tw_screen_timeout_secs=60</action>
2602 </object>
2603
2604 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002605 <placement x="%col1_x%" y="%row2_text_y%" />
2606 <font resource="font" color="%text_color%" />
2607 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002608 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002609 <text>Enable screen timeout.</text>
2610 <image resource="checkbox_true" />
2611 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 </object>
2613
Vojtech Bocek85932342013-04-01 22:11:33 +02002614 <object type="slidervalue">
2615 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002616 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002617 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2618 <font resource="font" color="%text_color%" />
2619 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2620 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2621 <text>Screen timeout in seconds:</text>
2622 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002623 </object>
2624
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002626 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002627 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2628 <font resource="font" color="%text_color%" />
2629 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2630 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2631 <text>Brightness: %tw_brightness_pct%%</text>
2632 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002633 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <action function="set">tw_brightness=%tw_brightness_max%</action>
2635 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2636 <action function="compute">tw_brightness/100</action>
2637 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002638 </actions>
2639 </object>
2640
2641 <object type="action">
2642 <touch key="home" />
2643 <action function="page">main</action>
2644 </object>
2645
2646 <object type="action">
2647 <touch key="back" />
2648 <action function="page">settings</action>
2649 </object>
2650
2651 <object type="template" name="footer" />
2652 </page>
2653
Dees_Troy51a0e822012-09-05 15:24:24 -04002654 <page name="advanced">
2655 <object type="template" name="header" />
2656
2657 <object type="text" color="%text_color%">
2658 <font resource="font" />
2659 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2660 <text>Advanced</text>
2661 </object>
2662
2663 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002664 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002665 <placement x="%col1_x%" y="%row1_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>Copy Log to SD</text>
2668 <image resource="main_button" />
2669 <actions>
2670 <action function="set">tw_back=advanced</action>
2671 <action function="set">tw_action=copylog</action>
2672 <action function="set">tw_text1=Copy Log to SD Card?</action>
2673 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2674 <action function="set">tw_complete_text1=Log Copy Complete</action>
2675 <action function="set">tw_slider_text=Swipe to Confirm</action>
2676 <action function="page">confirm_action</action>
2677 </actions>
2678 </object>
2679
2680 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002681 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002682 <placement x="%col2_x%" y="%row1_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text>Fix Permissions</text>
2685 <image resource="main_button" />
2686 <actions>
2687 <action function="set">tw_back=advanced</action>
2688 <action function="set">tw_action=fixpermissions</action>
2689 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002690 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2692 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002693 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002694 <action function="page">confirm_action</action>
2695 </actions>
2696 </object>
2697
2698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002700 <condition var1="tw_allow_partition_sdcard" var2="1" />
2701 <placement x="%col1_x%" y="%row2_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>Partition SD Card</text>
2704 <image resource="main_button" />
2705 <action function="page">partsdcard</action>
2706 </object>
2707
2708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002710 <placement x="%col2_x%" y="%row2_y%" />
2711 <font resource="font" color="%button_text_color%" />
2712 <text>File Manager</text>
2713 <image resource="main_button" />
2714 <action function="page">filemanagerlist</action>
2715 </object>
2716
2717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002719 <placement x="%col1_x%" y="%row3_y%" />
2720 <font resource="font" color="%button_text_color%" />
2721 <text>Terminal Command</text>
2722 <image resource="main_button" />
2723 <action function="page">terminalfolder</action>
2724 </object>
2725
2726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002727 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002728 <placement x="%col2_x%" y="%row3_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>Reload Theme</text>
2731 <image resource="main_button" />
2732 <action function="reload"></action>
2733 </object>
2734
2735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002736 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002737 <placement x="%col1_x%" y="%row4_y%" />
2738 <font resource="font" color="%button_text_color%" />
2739 <text>ADB Sideload</text>
2740 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002741 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <condition var1="tw_show_dumlock" var2="1" />
2747 <placement x="%col2_x%" y="%row4_y%" />
2748 <font resource="font" color="%button_text_color%" />
2749 <text>HTC Dumlock</text>
2750 <image resource="main_button" />
2751 <action function="page">htcdumlock</action>
2752 </object>
2753
2754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <condition var1="tw_has_injecttwrp" var2="1" />
2757 <placement x="%col2_x%" y="%row4_y%" />
2758 <font resource="font" color="%button_text_color%" />
2759 <text>Re-Inject TWRP</text>
2760 <image resource="main_button" />
2761 <actions>
2762 <action function="set">tw_back=advanced</action>
2763 <action function="set">tw_action=reinjecttwrp</action>
2764 <action function="set">tw_text1=Re-Inject TWRP?</action>
2765 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2766 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2767 <action function="set">tw_slider_text=Swipe to Confirm</action>
2768 <action function="page">confirm_action</action>
2769 </actions>
2770 </object>
2771
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <object type="action">
2773 <touch key="home" />
2774 <action function="page">main</action>
2775 </object>
2776
2777 <object type="action">
2778 <touch key="back" />
2779 <action function="page">main</action>
2780 </object>
2781
2782 <object type="template" name="footer" />
2783 </page>
2784
2785 <page name="partsdcard">
2786 <object type="template" name="header" />
2787
2788 <object type="text" color="%text_color%">
2789 <font resource="font" />
2790 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2791 <text>Partition SD Card</text>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <placement x="%col1_x%" y="%row1_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text></text>
2799 <image resource="minus_button" />
2800 <action function="addsubtract">tw_sdext_size-128</action>
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002805 <placement x="%sd_plus_x%" y="%row1_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text></text>
2808 <image resource="plus_button" />
2809 <action function="addsubtract">tw_sdext_size+128</action>
2810 </object>
2811
2812 <object type="text" color="%text_color%">
2813 <font resource="font" />
2814 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2815 <text>EXT Size: %tw_sdext_size%</text>
2816 </object>
2817
2818 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002819 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002820 <placement x="%col1_x%" y="%sdswap_button_y%" />
2821 <font resource="font" color="%button_text_color%" />
2822 <text></text>
2823 <image resource="minus_button" />
2824 <action function="addsubtract">tw_swap_size-32</action>
2825 </object>
2826
2827 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002828 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002829 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text></text>
2832 <image resource="plus_button" />
2833 <action function="addsubtract">tw_swap_size+32</action>
2834 </object>
2835
2836 <object type="text" color="%text_color%">
2837 <font resource="font" />
2838 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2839 <text>Swap Size: %tw_swap_size%</text>
2840 </object>
2841
2842 <object type="text" color="%text_color%">
2843 <font resource="font" />
2844 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2845 <text>File system: %tw_sdpart_file_system%</text>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text>EXT3</text>
2853 <image resource="main_button" />
2854 <action function="set">tw_sdpart_file_system=ext3</action>
2855 </object>
2856
2857 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002858 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002859 <condition var1="tw_sdext_disable_ext4" var2="0" />
2860 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2861 <font resource="font" color="%button_text_color%" />
2862 <text>EXT4</text>
2863 <image resource="main_button" />
2864 <action function="set">tw_sdpart_file_system=ext4</action>
2865 </object>
2866
2867 <object type="text" color="%text_color%">
2868 <font resource="font" />
2869 <placement x="%col1_x%" y="%row12_text_y%" />
2870 <text>You will lose all files on your SD card!</text>
2871 </object>
2872
2873 <object type="text" color="%text_color%">
2874 <font resource="font" />
2875 <placement x="%col1_x%" y="%row13_text_y%" />
2876 <text>This action cannot be undone!</text>
2877 </object>
2878
2879 <object type="slider">
2880 <placement x="%slider_x%" y="%slider_y%" />
2881 <resource base="slider" used="slider-used" touch="slider-touch" />
2882 <action function="page">partsdcardaction</action>
2883 <actions>
2884 <action function="set">tw_back=partsdcard</action>
2885 <action function="set">tw_action=partitionsd</action>
2886 <action function="set">tw_has_action2=1</action>
2887 <action function="set">tw_action2=set</action>
2888 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2889 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2890 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002891 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002892 <action function="page">action_page</action>
2893 </actions>
2894 </object>
2895
2896 <object type="text" color="%text_color%">
2897 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002898 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <text>Swipe to Partition</text>
2900 </object>
2901
2902 <object type="action">
2903 <touch key="home" />
2904 <action function="page">main</action>
2905 </object>
2906
2907 <object type="action">
2908 <touch key="back" />
2909 <action function="page">advanced</action>
2910 </object>
2911
2912 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002913 </page>
2914
2915 <page name="htcdumlock">
2916 <object type="template" name="header" />
2917
2918 <object type="text" color="%text_color%">
2919 <font resource="font" />
2920 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2921 <text>HTC Dumlock</text>
2922 </object>
2923
2924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002925 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002926 <condition var1="tw_show_dumlock" var2="1" />
2927 <placement x="%col1_x%" y="%row1_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text>Restore Original Boot</text>
2930 <image resource="main_button" />
2931 <actions>
2932 <action function="set">tw_back=htcdumlock</action>
2933 <action function="set">tw_action=htcdumlockrestoreboot</action>
2934 <action function="set">tw_text1=Restore original boot image?</action>
2935 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2936 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2937 <action function="set">tw_slider_text=Swipe to Confirm</action>
2938 <action function="page">confirm_action</action>
2939 </actions>
2940 </object>
2941
2942 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002943 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <condition var1="tw_show_dumlock" var2="1" />
2945 <placement x="%col2_x%" y="%row1_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>Reflash Recovery</text>
2948 <image resource="main_button" />
2949 <actions>
2950 <action function="set">tw_back=htcdumlock</action>
2951 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2952 <action function="set">tw_text1=Reflash recovery to boot?</action>
2953 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2954 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2955 <action function="set">tw_slider_text=Swipe to Confirm</action>
2956 <action function="page">confirm_action</action>
2957 </actions>
2958 </object>
2959
2960 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002961 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002962 <condition var1="tw_show_dumlock" var2="1" />
2963 <placement x="%col1_x%" y="%row2_y%" />
2964 <font resource="font" color="%button_text_color%" />
2965 <text>Install HTC Dumlock</text>
2966 <image resource="main_button" />
2967 <actions>
2968 <action function="set">tw_back=htcdumlock</action>
2969 <action function="set">tw_action=installhtcdumlock</action>
2970 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2971 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2972 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2973 <action function="set">tw_slider_text=Swipe to Confirm</action>
2974 <action function="page">confirm_action</action>
2975 </actions>
2976 </object>
2977
2978 <object type="action">
2979 <touch key="home" />
2980 <action function="page">main</action>
2981 </object>
2982
2983 <object type="action">
2984 <touch key="back" />
2985 <action function="page">advanced</action>
2986 </object>
2987
2988 <object type="template" name="footer" />
2989 </page>
2990
2991 <page name="lock">
2992 <background color="#000000A0" />
2993
2994 <object type="image">
2995 <image resource="unlock-icon" />
2996 <placement x="%lock_x%" y="%lock_y%" />
2997 </object>
2998
2999 <object type="slider">
3000 <placement x="%slider_x%" y="%slider_y%" />
3001 <resource base="slider" used="slider-used" touch="slider-touch" />
3002 <action function="overlay"></action>
3003 </object>
3004
3005 <object type="text" color="%text_color%">
3006 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003007 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003008 <text>Swipe to Unlock</text>
3009 </object>
3010 </page>
3011
3012 <page name="filemanagerlist">
3013 <object type="template" name="header" />
3014
3015 <object type="text" color="%text_color%">
3016 <font resource="font" />
3017 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3018 <text>File Manager: Select a File or Folder</text>
3019 </object>
3020
3021 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003022 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3024 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003025 <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 -04003026 <text>%tw_file_location1%</text>
3027 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3028 <sort name="tw_gui_sort_order" />
3029 <icon folder="folder_icon" file="file_icon" />
3030 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003031 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003032 <folders="1" files="1" />
3033 <path name="tw_file_location1" default="/" />
3034 <data name="tw_filename1" />
3035 <selection name="tw_selection1" />
3036 </object>
3037
3038 <object type="template" name="sort_options" />
3039
3040 <object type="action">
3041 <actions>
3042 <action function="set">tw_fm_type=File</action>
3043 <action function="set">tw_fm_isfolder=0</action>
3044 </actions>
3045 </object>
3046
3047 <object type="action">
3048 <touch key="home" />
3049 <action function="page">main</action>
3050 </object>
3051
3052 <object type="action">
3053 <touch key="back" />
3054 <action function="page">advanced</action>
3055 </object>
3056
3057 <object type="action">
3058 <condition var1="tw_filename1" op="modified" />
3059 <actions>
3060 <action function="page">filemanageroptions</action>
3061 </actions>
3062 </object>
3063
3064 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003065 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3067 <font resource="font" color="%button_text_color%" />
3068 <text>Select</text>
3069 <image resource="medium_button" />
3070 <actions>
3071 <action function="set">tw_filename1=tw_file_location1</action>
3072 <action function="set">tw_fm_isfolder=1</action>
3073 <action function="set">tw_fm_type=Folder</action>
3074 <action function="page">filemanageroptions</action>
3075 </actions>
3076 </object>
3077
3078 <object type="template" name="footer" />
3079 </page>
3080
3081 <page name="filemanageroptions">
3082 <object type="template" name="header" />
3083
3084 <object type="text" color="%text_color%">
3085 <font resource="font" />
3086 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3087 <text>%tw_fm_type% Selected:</text>
3088 </object>
3089
3090 <object type="text" color="%text_color%">
3091 <font resource="font" />
3092 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3093 <text>%tw_filename1%</text>
3094 </object>
3095
3096 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003097 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003098 <condition var1="tw_fm_isfolder" var2="0" />
3099 <placement x="%col1_x%" y="%row2_y%" />
3100 <font resource="font" color="%button_text_color%" />
3101 <text>Copy File</text>
3102 <image resource="main_button" />
3103 <actions>
3104 <action function="set">tw_filemanager_command=cp</action>
3105 <action function="set">tw_fm_text1=Copying</action>
3106 <action function="page">choosedestinationfolder</action>
3107 </actions>
3108 </object>
3109
3110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003112 <condition var1="tw_fm_isfolder" var2="1" />
3113 <placement x="%col1_x%" y="%row2_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Copy Folder</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3119 <action function="set">tw_fm_text1=Copying</action>
3120 <action function="page">choosedestinationfolder</action>
3121 </actions>
3122 </object>
3123
3124 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003125 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003126 <placement x="%col2_x%" y="%row2_y%" />
3127 <font resource="font" color="%button_text_color%" />
3128 <text>Move</text>
3129 <image resource="main_button" />
3130 <actions>
3131 <action function="set">tw_filemanager_command=mv</action>
3132 <action function="set">tw_fm_text1=Moving</action>
3133 <action function="page">choosedestinationfolder</action>
3134 </actions>
3135 </object>
3136
3137 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003138 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003139 <placement x="%col1_x%" y="%row3_y%" />
3140 <font resource="font" color="%button_text_color%" />
3141 <text>chmod 755</text>
3142 <image resource="main_button" />
3143 <actions>
3144 <action function="set">tw_filemanager_command=chmod 755</action>
3145 <action function="set">tw_fm_text1=chmod 755</action>
3146 <action function="set">tw_fm_text2=</action>
3147 <action function="set">tw_fm_text3=</action>
3148 <action function="set">tw_include_text3=0</action>
3149 <action function="set">tw_back=filemanageroptions</action>
3150 <action function="page">filemanagerconfirm</action>
3151 </actions>
3152 </object>
3153
3154 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003155 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003156 <placement x="%col2_x%" y="%row3_y%" />
3157 <font resource="font" color="%button_text_color%" />
3158 <text>chmod</text>
3159 <image resource="main_button" />
3160 <actions>
3161 <action function="set">tw_filemanager_rename=0000</action>
3162 <action function="set">tw_fm_text2=</action>
3163 <action function="set">tw_fm_text3=</action>
3164 <action function="set">tw_include_text3=0</action>
3165 <action function="set">tw_back=filemanageroptions</action>
3166 <action function="page">filemanagerchmod</action>
3167 </actions>
3168 </object>
3169
3170 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003171 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003172 <placement x="%col1_x%" y="%row4_y%" />
3173 <font resource="font" color="%button_text_color%" />
3174 <text>Delete</text>
3175 <image resource="main_button" />
3176 <actions>
3177 <action function="set">tw_filemanager_command=rm -rf</action>
3178 <action function="set">tw_fm_text1=Deleting</action>
3179 <action function="set">tw_fm_text2=</action>
3180 <action function="set">tw_fm_text3=</action>
3181 <action function="set">tw_include_text3=0</action>
3182 <action function="set">tw_back=filemanageroptions</action>
3183 <action function="page">filemanagerconfirm</action>
3184 </actions>
3185 </object>
3186
3187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003189 <condition var1="tw_fm_isfolder" var2="0" />
3190 <placement x="%col2_x%" y="%row4_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Rename File</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_rename=tw_selection1</action>
3196 <action function="set">tw_fm_text1=Renaming</action>
3197 <action function="set">tw_filemanager_command=mv</action>
3198 <action function="page">filemanagerrenamefile</action>
3199 </actions>
3200 </object>
3201
3202 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003203 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003204 <condition var1="tw_fm_isfolder" var2="1" />
3205 <placement x="%col2_x%" y="%row4_y%" />
3206 <font resource="font" color="%button_text_color%" />
3207 <text>Rename Folder</text>
3208 <image resource="main_button" />
3209 <actions>
3210 <action function="set">tw_filemanager_rename=tw_selection1</action>
3211 <action function="set">tw_fm_text1=Renaming</action>
3212 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3213 <action function="page">filemanagerrenamefolder</action>
3214 </actions>
3215 </object>
3216
3217 <object type="action">
3218 <touch key="home" />
3219 <action function="page">main</action>
3220 </object>
3221
3222 <object type="action">
3223 <touch key="back" />
3224 <action function="page">filemanagerlist</action>
3225 </object>
3226
3227 <object type="template" name="footer" />
3228 </page>
3229
3230 <page name="choosedestinationfolder">
3231 <object type="template" name="header" />
3232
3233 <object type="text" color="%text_color%">
3234 <font resource="font" />
3235 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3236 <text>Browse to Destination Folder & Press Select</text>
3237 </object>
3238
3239 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003240 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3242 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003243 <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 -04003244 <text>%tw_file_location2%</text>
3245 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3246 <sort name="tw_gui_sort_order" />
3247 <icon folder="folder_icon" file="file_icon" />
3248 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003249 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003250 <filter folders="1" files="0" />
3251 <path name="tw_file_location2" default="/" />
3252 <data name="tw_filename2" />
3253 <selection name="tw_selection2" />
3254 </object>
3255
3256 <object type="template" name="sort_options" />
3257
3258 <object type="action">
3259 <touch key="home" />
3260 <action function="page">main</action>
3261 </object>
3262
3263 <object type="action">
3264 <touch key="back" />
3265 <action function="page">filemanageroptions</action>
3266 </object>
3267
3268 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003269 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003270 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3271 <font resource="font" color="%button_text_color%" />
3272 <text>Select</text>
3273 <image resource="medium_button" />
3274 <actions>
3275 <action function="set">tw_fm_text2=to</action>
3276 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3277 <action function="set">tw_include_text3=1</action>
3278 <action function="set">tw_back=filemanageroptions</action>
3279 <action function="page">filemanagerconfirm</action>
3280 </actions>
3281 </object>
3282
3283 <object type="template" name="footer" />
3284 </page>
3285
3286 <page name="filemanagerrenamefile">
3287 <object type="template" name="header" />
3288
3289 <object type="text" color="%text_color%">
3290 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3291 <font resource="font" />
3292 <text>Please Enter a New %tw_fm_type% Name</text>
3293 </object>
3294
3295 <object type="input">
3296 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3297 <background color="%input_background_color%" />
3298 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3299 <font resource="font" color="%text_color%" />
3300 <text>%tw_filemanager_rename%</text>
3301 <data name="tw_filemanager_rename" />
3302 <restrict minlen="1" maxlen="128" />
3303 <actions>
3304 <action function="set">tw_fm_text2=to</action>
3305 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3306 <action function="set">tw_include_text3=1</action>
3307 <action function="set">tw_back=filemanageroptions</action>
3308 <action function="page">filemanagerconfirm</action>
3309 </actions>
3310 </object>
3311
3312 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003313 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003314 <placement x="%col_center_x%" y="%row2_y%" />
3315 <font resource="font" color="%button_text_color%" />
3316 <text>Cancel</text>
3317 <image resource="main_button" />
3318 <action function="page">filemanageroptions</action>
3319 </object>
3320
3321 <object type="template" name="keyboardtemplate" />
3322
3323 <object type="action">
3324 <touch key="home" />
3325 <action function="page">main</action>
3326 </object>
3327
3328 <object type="action">
3329 <touch key="back" />
3330 <action function="page">filemanageroptions</action>
3331 </object>
3332
3333 <object type="template" name="footer" />
3334 </page>
3335
3336 <page name="filemanagerrenamefolder">
3337 <object type="template" name="header" />
3338
3339 <object type="text" color="%text_color%">
3340 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3341 <font resource="font" />
3342 <text>Please Enter a New %tw_fm_type% Name</text>
3343 </object>
3344
3345 <object type="input">
3346 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3347 <background color="%input_background_color%" />
3348 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3349 <font resource="font" color="%text_color%" />
3350 <text>%tw_filemanager_rename%</text>
3351 <data name="tw_filemanager_rename" />
3352 <restrict minlen="1" maxlen="128" />
3353 <actions>
3354 <action function="set">tw_fm_text2=to</action>
3355 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3356 <action function="set">tw_include_text3=1</action>
3357 <action function="set">tw_back=filemanageroptions</action>
3358 <action function="page">filemanagerconfirm</action>
3359 </actions>
3360 </object>
3361
3362 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003363 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003364 <placement x="%col_center_x%" y="%row2_y%" />
3365 <font resource="font" color="%button_text_color%" />
3366 <text>Cancel</text>
3367 <image resource="main_button" />
3368 <action function="page">filemanageroptions</action>
3369 </object>
3370
3371 <object type="template" name="keyboardtemplate" />
3372
3373 <object type="action">
3374 <touch key="home" />
3375 <action function="page">main</action>
3376 </object>
3377
3378 <object type="action">
3379 <touch key="back" />
3380 <action function="page">filemanageroptions</action>
3381 </object>
3382
3383 <object type="template" name="footer" />
3384 </page>
3385
3386 <page name="filemanagerchmod">
3387 <object type="template" name="header" />
3388
3389 <object type="text" color="%text_color%">
3390 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3391 <font resource="font" />
3392 <text>Please Enter New Permissions</text>
3393 </object>
3394
3395 <object type="input">
3396 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3397 <background color="%input_background_color%" />
3398 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3399 <font resource="font" color="%text_color%" />
3400 <text>%tw_filemanager_rename%</text>
3401 <data name="tw_filemanager_rename" />
3402 <restrict minlen="3" maxlen="4" allow="0123456789" />
3403 <actions>
3404 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3405 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3406 <action function="set">tw_back=filemanageroptions</action>
3407 <action function="page">filemanagerconfirm</action>
3408 </actions>
3409 </object>
3410
3411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003413 <placement x="%col_center_x%" y="%row2_y%" />
3414 <font resource="font" color="%button_text_color%" />
3415 <text>Cancel</text>
3416 <image resource="main_button" />
3417 <action function="page">filemanageroptions</action>
3418 </object>
3419
3420 <object type="template" name="keyboardtemplate" />
3421
3422 <object type="action">
3423 <touch key="home" />
3424 <action function="page">main</action>
3425 </object>
3426
3427 <object type="action">
3428 <touch key="back" />
3429 <action function="page">filemanageroptions</action>
3430 </object>
3431
3432 <object type="template" name="footer" />
3433 </page>
3434
3435 <page name="filemanagerconfirm">
3436 <object type="template" name="header" />
3437
3438 <object type="text" color="%text_color%">
3439 <font resource="font" />
3440 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3441 <text>%tw_fm_text1%</text>
3442 </object>
3443
3444 <object type="text" color="%text_color%">
3445 <font resource="font" />
3446 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3447 <text>%tw_filename1%</text>
3448 </object>
3449
3450 <object type="text" color="%text_color%">
3451 <font resource="font" />
3452 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3453 <text>%tw_fm_text2%</text>
3454 </object>
3455
3456 <object type="text" color="%text_color%">
3457 <font resource="font" />
3458 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3459 <text>%tw_fm_text3%</text>
3460 </object>
3461
3462 <object type="text" color="%text_color%">
3463 <font resource="font" />
3464 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3465 <text>Press back button to cancel.</text>
3466 </object>
3467
3468 <object type="slider">
3469 <placement x="%slider_x%" y="%slider_y%" />
3470 <resource base="slider" used="slider-used" touch="slider-touch" />
3471 <action function="page">filemanageracction</action>
3472 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003473
Dees_Troy51a0e822012-09-05 15:24:24 -04003474 <object type="text" color="%text_color%">
3475 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003476 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003477 <text>Swipe to Confirm</text>
3478 </object>
3479
3480 <object type="action">
3481 <touch key="back" />
3482 <action function="page">%tw_back%</action>
3483 </object>
3484
3485 <object type="action">
3486 <touch key="home" />
3487 <action function="page">main</action>
3488 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003489
Dees_Troy51a0e822012-09-05 15:24:24 -04003490 <object type="template" name="footer" />
3491 </page>
3492
3493 <page name="filemanageracction">
3494 <object type="template" name="header" />
3495
3496 <object type="text" color="%text_color%">
3497
3498 <font resource="font" />
3499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3500 <text>%tw_fm_text1%</text>
3501 </object>
3502
3503 <object type="template" name="action_page_console" />
3504
3505 <object type="template" name="progress_bar" />
3506
3507 <object type="action">
3508 <conditions>
3509 <condition var1="tw_operation_state" var2="1" />
3510 <condition var1="tw_operation_status" var2="0" />
3511 </conditions>
3512 <actions>
3513 <action function="set">tw_back=filemanagerlist</action>
3514 <action function="set">tw_complete_text1=File Operation Complete</action>
3515 <action function="page">action_complete</action>
3516 </actions>
3517 </object>
3518
3519 <object type="action">
3520 <conditions>
3521 <condition var1="tw_operation_state" var2="1" />
3522 <condition var1="tw_operation_status" op="!=" var2="0" />
3523 </conditions>
3524 <actions>
3525 <action function="set">tw_complete_text1=File Operation Complete</action>
3526 <action function="page">action_complete</action>
3527 </actions>
3528 </object>
3529
3530 <object type="action">
3531 <condition var1="tw_include_text3" var2="0" />
3532 <actions>
3533 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3534 </actions>
3535 </object>
3536
3537 <object type="action">
3538 <condition var1="tw_include_text3" var2="1" />
3539 <actions>
3540 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3541 </actions>
3542 </object>
3543 </page>
3544
3545 <page name="decrypt">
3546 <object type="template" name="header" />
3547
3548 <object type="text" color="%text_color%">
3549 <font resource="font" />
3550 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3551 <text>Please Enter Your Password</text>
3552 </object>
3553
3554 <object type="input">
3555 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3556 <background color="%input_background_color%" />
3557 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3558 <font resource="font" color="%text_color%" />
3559 <text>%tw_crypto_display%</text>
3560 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3561 <restrict minlen="1" maxlen="254" />
3562 <actions>
3563 <action function="page">trydecrypt</action>
3564 </actions>
3565 </object>
3566
3567 <object type="text" color="%text_fail_color%">
3568 <condition var1="tw_password_fail" var2="1" />
3569 <font resource="font" />
3570 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3571 <text>Password Failed, Please Try Again</text>
3572 </object>
3573
3574 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003575 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003576 <placement x="%col_center_x%" y="%row2_y%" />
3577 <font resource="font" color="%button_text_color%" />
3578 <text>Cancel</text>
3579 <image resource="main_button" />
3580 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003581 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003582 <action function="page">main</action>
3583 </actions>
3584 </object>
3585
3586 <object type="template" name="keyboardtemplate" />
3587
Dees_Troy51a0e822012-09-05 15:24:24 -04003588 <object type="template" name="footer" />
3589 </page>
3590
3591 <page name="trydecrypt">
3592 <object type="template" name="header" />
3593
3594 <object type="text" color="%text_color%">
3595 <font resource="font" />
3596 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3597 <text>Trying Decryption with Your Password</text>
3598 </object>
3599
3600 <object type="template" name="action_page_console" />
3601
3602 <object type="template" name="progress_bar" />
3603
3604 <object type="action">
3605 <action function="decrypt"></action>
3606 </object>
3607
3608 <object type="action">
3609 <conditions>
3610 <condition var1="tw_operation_state" var2="1" />
3611 <condition var1="tw_operation_status" op="!=" var2="0" />
3612 </conditions>
3613 <actions>
3614 <action function="set">tw_password_fail=1</action>
3615 <action function="page">decrypt</action>
3616 </actions>
3617 </object>
3618
3619 <object type="action">
3620 <conditions>
3621 <condition var1="tw_operation_state" var2="1" />
3622 <condition var1="tw_operation_status" op="=" var2="0" />
3623 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003624 <actions>
3625 <action function="set">tw_page_done=1</action>
3626 <action function="page">main</action>
3627 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 </object>
3629 </page>
3630
3631 <page name="terminalfolder">
3632 <object type="template" name="header" />
3633
3634 <object type="text" color="%text_color%">
3635 <font resource="font" />
3636 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3637 <text>Browse to Starting Folder</text>
3638 </object>
3639
3640 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003641 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3643 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003644 <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 -04003645 <text>%tw_terminal_location%</text>
3646 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3647 <sort name="tw_gui_sort_order" />
3648 <icon folder="folder_icon" file="file_icon" />
3649 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003650 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003651 <filter folders="1" files="0" />
3652 <path name="tw_terminal_location" default="/" />
3653 <data name="tw_terminal" />
3654 <selection name="tw_terminal_selection" />
3655 </object>
3656
3657 <object type="template" name="sort_options" />
3658
3659 <object type="action">
3660 <touch key="home" />
3661 <action function="page">main</action>
3662 </object>
3663
3664 <object type="action">
3665 <touch key="back" />
3666 <action function="page">advanced</action>
3667 </object>
3668
3669 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003670 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003671 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3672 <font resource="font" color="%button_text_color%" />
3673 <text>Select</text>
3674 <image resource="medium_button" />
3675 <actions>
3676 <action function="page">terminalcommand</action>
3677 </actions>
3678 </object>
3679
3680 <object type="template" name="footer" />
3681 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003682
Dees_Troy51a0e822012-09-05 15:24:24 -04003683 <page name="terminalcommand">
3684 <object type="template" name="header" />
3685
3686 <object type="console">
3687 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3688 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3689 <font resource="fixed" />
3690 </object>
3691
3692 <object type="text" color="%text_color%">
3693 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3694 <font resource="font" />
3695 <text>Starting Path: %tw_terminal_location%</text>
3696 </object>
3697
3698 <object type="input">
3699 <condition var1="tw_terminal_state" var2="0" />
3700 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3701 <background color="%input_background_color%" />
3702 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3703 <font resource="font" color="%text_color%" />
3704 <text>%tw_terminal_command%</text>
3705 <data name="tw_terminal_command" />
3706 <restrict minlen="1" />
3707 <action function="terminalcommand">%tw_terminal_command%</action>
3708 </object>
3709
3710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 <condition var1="tw_terminal_state" var2="1" />
3713 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3714 <font resource="font" color="%button_text_color%" />
3715 <text>KILL</text>
3716 <image resource="medium_button" />
3717 <action function="killterminal"></action>
3718 </object>
3719
3720 <object type="template" name="keyboardtemplate" />
3721
3722 <object type="action">
3723 <touch key="home" />
3724 <action function="page">main</action>
3725 </object>
3726
3727 <object type="action">
3728 <touch key="back" />
3729 <action function="page">terminalfolder</action>
3730 </object>
3731 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003732
3733 <page name="sideload">
3734 <object type="template" name="header" />
3735
3736 <object type="text" color="%text_color%">
3737 <font resource="font" />
3738 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3739 <text>ADB Sideload</text>
3740 </object>
3741
3742 <object type="checkbox">
3743 <placement x="%col1_x%" y="%row2_text_y%" />
3744 <font resource="font" color="%text_color%" />
3745 <text>Wipe Dalvik Cache.</text>
3746 <data variable="tw_wipe_dalvik" />
3747 <image checked="checkbox_true" unchecked="checkbox_false" />
3748 </object>
3749
3750 <object type="checkbox">
3751 <placement x="%col1_x%" y="%row3_text_y%" />
3752 <font resource="font" color="%text_color%" />
3753 <text>Wipe Cache.</text>
3754 <data variable="tw_wipe_cache" />
3755 <image checked="checkbox_true" unchecked="checkbox_false" />
3756 </object>
3757
3758 <object type="slider">
3759 <placement x="%slider_x%" y="%slider_y%" />
3760 <resource base="slider" used="slider-used" touch="slider-touch" />
3761 <actions>
3762 <action function="set">tw_back=advanced</action>
3763 <action function="set">tw_action=adbsideload</action>
3764 <action function="set">tw_action_text1=ADB Sideload</action>
3765 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3766 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3767 <action function="set">tw_has_cancel=1</action>
3768 <action function="set">tw_show_reboot=1</action>
3769 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3770 <action function="page">action_page</action>
3771 </actions>
3772 </object>
3773
3774 <object type="text" color="%text_color%">
3775 <font resource="font" />
3776 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3777 <text>Swipe to Start Sideload</text>
3778 </object>
3779
3780 <object type="action">
3781 <touch key="home" />
3782 <action function="page">main</action>
3783 </object>
3784
3785 <object type="action">
3786 <touch key="back" />
3787 <action function="page">advanced</action>
3788 </object>
3789
3790 <object type="template" name="footer" />
3791 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003792
3793 <page name="installsu">
3794 <object type="template" name="header" />
3795
3796 <object type="text" color="%text_color%">
3797 <font resource="font" />
3798 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3799 <text>Install SuperSU?</text>
3800 </object>
3801
3802 <object type="text" color="%text_color%">
3803 <font resource="font" />
3804 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3805 <text>Your device does not appear to be rooted.</text>
3806 </object>
3807
3808 <object type="text" color="%text_color%">
3809 <font resource="font" />
3810 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3811 <text>Install SuperSU now?</text>
3812 </object>
3813
3814 <object type="text" color="%text_color%">
3815 <font resource="font" />
3816 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3817 <text>This will root your device.</text>
3818 </object>
3819
3820 <object type="button">
3821 <highlight color="%highlight_color%" />
3822 <placement x="%col_center_x%" y="%row3_y%" />
3823 <font resource="font" color="%button_text_color%" />
3824 <text>Do Not Install</text>
3825 <image resource="main_button" />
3826 <action function="set">tw_page_done=1</action>
3827 </object>
3828
3829 <object type="slider">
3830 <placement x="%slider_x%" y="%slider_y%" />
3831 <resource base="slider" used="slider-used" touch="slider-touch" />
3832 <actions>
3833 <action function="set">tw_action=installsu</action>
3834 <action function="set">tw_action_text1=Installing SuperSU</action>
3835 <action function="set">tw_action_text2=</action>
3836 <action function="page">singleaction_page</action>
3837 </actions>
3838 </object>
3839
3840 <object type="text" color="%text_color%">
3841 <font resource="font" />
3842 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3843 <text>Swipe to Install</text>
3844 </object>
3845 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003846 </pages>
3847</recovery>