blob: ba7dba32114cff35919e19b6cb85a15bb5124a02 [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%" />
1332 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1333 <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">
1450 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1451 <action function="set">tw_backup_name=</function>
1452 </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_Troyb46a6842012-09-25 11:06:46 -04001493 <placement x="%col_center_x%" y="%row2_y%" />
1494 <font resource="font" color="%button_text_color%" />
1495 <text>Cancel</text>
1496 <image resource="main_button" />
1497 <actions>
1498 <action function="set">tw_backup_name=(Current Date)</action>
1499 <action function="page">backup</action>
1500 </actions>
1501 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001502
1503 <object type="template" name="keyboardtemplate" />
1504
Dees_Troyb46a6842012-09-25 11:06:46 -04001505 <object type="action">
1506 <touch key="home" />
1507 <actions>
1508 <action function="set">tw_backup_name=(Current Date)</action>
1509 <action function="page">main</action>
1510 </actions>
1511 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001512
Dees_Troyb46a6842012-09-25 11:06:46 -04001513 <object type="action">
1514 <touch key="back" />
1515 <actions>
1516 <action function="set">tw_backup_name=(Current Date)</action>
1517 <action function="page">backup</action>
1518 </actions>
1519 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001520
1521 <object type="template" name="footer" />
1522 </page>
1523
Dees_Troy83bd4832013-05-04 12:39:56 +00001524 <page name="backupencryption">
1525 <object type="template" name="header" />
1526
1527 <object type="text" color="%text_color%">
1528 <font resource="font" />
1529 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1530 <text>Encrypt your backup?</text>
1531 </object>
1532
1533 <object type="text" color="%text_color%">
1534 <font resource="font" />
1535 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1536 <text>Please Enter A Password:</text>
1537 </object>
1538
1539 <object type="input">
1540 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1541 <background color="%input_background_color%" />
1542 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1543 <font resource="font" color="%text_color%" />
1544 <text>%tw_backup_encrypt_display%</text>
1545 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1546 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1547 <action function="page">backupencryption2</action>
1548 </object>
1549
1550 <object type="text" color="%text_fail_color%">
1551 <condition var1="tw_password_not_match" var2="1" />
1552 <font resource="font" />
1553 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1554 <text>Passwords Do Not Match</text>
1555 </object>
1556
1557 <object type="button">
1558 <highlight color="%highlight_color%" />
1559 <placement x="%col_center_x%" y="%row2_y%" />
1560 <font resource="font" color="%button_text_color%" />
1561 <text>Cancel</text>
1562 <image resource="main_button" />
1563 <actions>
1564 <action function="set">tw_encrypt_backup=0</action>
1565 <action function="set">tw_backup_password=</action>
1566 <action function="set">tw_backup_password2=</action>
1567 <action function="set">tw_backup_encrypt_display=</action>
1568 <action function="set">tw_backup_encrypt_display2=</action>
1569 <action function="page">backup</action>
1570 </actions>
1571 </object>
1572
1573 <object type="template" name="keyboardtemplate" />
1574
1575 <object type="action">
1576 <touch key="home" />
1577 <action function="page">main</action>
1578 </object>
1579
1580 <object type="action">
1581 <touch key="back" />
1582 <action function="page">backup</action>
1583 </object>
1584
1585 <object type="template" name="footer" />
1586 </page>
1587
1588 <page name="backupencryption2">
1589 <object type="template" name="header" />
1590
1591 <object type="text" color="%text_color%">
1592 <font resource="font" />
1593 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1594 <text>Encrypt your backup?</text>
1595 </object>
1596
1597 <object type="text" color="%text_color%">
1598 <font resource="font" />
1599 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1600 <text>Please Enter Password Again:</text>
1601 </object>
1602
1603 <object type="input">
1604 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1605 <background color="%input_background_color%" />
1606 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1607 <font resource="font" color="%text_color%" />
1608 <text>%tw_backup_encrypt_display2%</text>
1609 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1610 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1611 <actions>
1612 <action function="page">checkbackuppassword</action>
1613 </actions>
1614 </object>
1615
1616 <object type="button">
1617 <highlight color="%highlight_color%" />
1618 <placement x="%col_center_x%" y="%row2_y%" />
1619 <font resource="font" color="%button_text_color%" />
1620 <text>Cancel</text>
1621 <image resource="main_button" />
1622 <actions>
1623 <action function="set">tw_encrypt_backup=0</action>
1624 <action function="set">tw_backup_password=</action>
1625 <action function="set">tw_backup_password2=</action>
1626 <action function="set">tw_backup_encrypt_display=</action>
1627 <action function="set">tw_backup_encrypt_display2=</action>
1628 <action function="page">backup</action>
1629 </actions>
1630 </object>
1631
1632 <object type="template" name="keyboardtemplate" />
1633
1634 <object type="action">
1635 <touch key="home" />
1636 <action function="page">main</action>
1637 </object>
1638
1639 <object type="action">
1640 <touch key="back" />
1641 <action function="page">backup</action>
1642 </object>
1643
1644 <object type="template" name="footer" />
1645 </page>
1646
1647 <page name="checkbackuppassword">
1648 <object type="action">
1649 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1650 <actions>
1651 <action function="set">tw_encrypt_backup=1</action>
1652 <action function="page">backup</action>
1653 </actions>
1654 </object>
1655
1656 <object type="action">
1657 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1658 <actions>
1659 <action function="set">tw_encrypt_backup=0</action>
1660 <action function="set">tw_password_not_match=1</action>
1661 <action function="set">tw_backup_password=</action>
1662 <action function="set">tw_backup_password2=</action>
1663 <action function="set">tw_backup_encrypt_display=</action>
1664 <action function="set">tw_backup_encrypt_display2=</action>
1665 <action function="page">backupencryption</action>
1666 </actions>
1667 </object>
1668 </page>
1669
Dees_Troy51a0e822012-09-05 15:24:24 -04001670 <page name="backup_run">
1671 <object type="template" name="header" />
1672
1673 <object type="text" color="%text_color%">
1674 <font resource="font" />
1675 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1676 <text>%tw_operation% %tw_partition%</text>
1677 </object>
1678
1679 <object type="template" name="action_page_console" />
1680
1681 <object type="template" name="progress_bar" />
1682
1683 <object type="action">
1684 <action function="nandroid">backup</action>
1685 </object>
1686
1687 <object type="action">
1688 <condition var1="tw_operation_state" var2="1" />
1689 <actions>
1690 <action function="set">tw_back=backup</action>
1691 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001692 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 <action function="page">action_complete</action>
1694 </actions>
1695 </object>
1696 </page>
1697
1698 <page name="restore">
1699 <object type="template" name="header" />
1700
1701 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001702 <highlight color="%highlight_color%" />
1703 <fill color="%button_fill_color%" />
1704 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1705 <font resource="font" color="%button_text_color%" />
1706 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1707 <actions>
1708 <action function="set">tw_back=restore</action>
1709 <action function="page">selectstorage</action>
1710 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 </object>
1712
1713 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001714 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001715 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001716 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001717 <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 -04001718 <text>Select Package to Restore:</text>
1719 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1720 <sort name="tw_gui_sort_order" />
1721 <icon folder="folder_icon" file="file_icon" />
1722 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001723 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001724 <filter folders="1" files="0" nav="0" />
1725 <path name="tw_backups_folder" />
1726 <data name="tw_restore" default="" />
1727 <selection name="tw_restore_name" />
1728 </object>
1729
1730 <object type="template" name="sort_options" />
1731
1732 <object type="action">
1733 <condition var1="tw_restore" op="modified" />
1734 <actions>
1735 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001736 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001737 </actions>
1738 </object>
1739
1740 <object type="action">
1741 <touch key="home" />
1742 <action function="page">main</action>
1743 </object>
1744
1745 <object type="action">
1746 <touch key="back" />
1747 <action function="page">main</action>
1748 </object>
1749
1750 <object type="template" name="footer" />
1751 </page>
1752
Dees_Troy83bd4832013-05-04 12:39:56 +00001753 <page name="restore_read">
1754 <object type="action">
1755 <condition var1="tw_restore_encrypted" var2="1" />
1756 <actions>
1757 <action function="set">tw_password_fail=0</action>
1758 <action function="page">restore_decrypt</action>
1759 </actions>
1760 </object>
1761
1762 <object type="action">
1763 <condition var1="tw_restore_encrypted" var2="0" />
1764 <actions>
1765 <action function="page">restore_select</action>
1766 </actions>
1767 </object>
1768 </page>
1769
1770 <page name="restore_decrypt">
1771 <object type="template" name="header" />
1772
1773 <object type="text" color="%text_color%">
1774 <font resource="font" />
1775 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1776 <text>Backup Encrypted</text>
1777 </object>
1778
1779 <object type="text" color="%text_color%">
1780 <font resource="font" />
1781 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1782 <text>Please Enter Your Password:</text>
1783 </object>
1784
1785 <object type="input">
1786 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1787 <background color="%input_background_color%" />
1788 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1789 <font resource="font" color="%text_color%" />
1790 <text>%tw_restore_display%</text>
1791 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1792 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1793 <actions>
1794 <action function="page">try_restore_decrypt</action>
1795 </actions>
1796 </object>
1797
1798 <object type="text" color="%text_fail_color%">
1799 <condition var1="tw_password_fail" var2="1" />
1800 <font resource="font" />
1801 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1802 <text>Password Failed, Please Try Again</text>
1803 </object>
1804
1805 <object type="button">
1806 <highlight color="%highlight_color%" />
1807 <placement x="%col1_x%" y="%row2_y%" />
1808 <font resource="font" color="%button_text_color%" />
1809 <text>Cancel</text>
1810 <image resource="main_button" />
1811 <actions>
1812 <action function="set">tw_page_done=1</action>
1813 <action function="page">restore</action>
1814 </actions>
1815 </object>
1816
1817 <object type="button">
1818 <highlight color="%highlight_color%" />
1819 <placement x="%col2_x%" y="%row2_y%" />
1820 <font resource="font" color="%button_text_color%" />
1821 <text>Delete</text>
1822 <image resource="main_button" />
1823 <actions>
1824 <action function="set">tw_back=restore</action>
1825 <action function="set">tw_action=cmd</action>
1826 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1827 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1828 <action function="set">tw_text2=This cannot be undone!</action>
1829 <action function="set">tw_action_text1=Deleting Backup...</action>
1830 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1831 <action function="set">tw_slider_text=Swipe to Delete</action>
1832 <action function="page">confirm_action</action>
1833 </actions>
1834 </object>
1835
1836 <object type="template" name="keyboardtemplate" />
1837
1838 <object type="action">
1839 <touch key="home" />
1840 <action function="page">main</action>
1841 </object>
1842
1843 <object type="action">
1844 <touch key="back" />
1845 <action function="page">restore</action>
1846 </object>
1847
1848 <object type="template" name="footer" />
1849 </page>
1850
1851 <page name="try_restore_decrypt">
1852 <object type="template" name="header" />
1853
1854 <object type="text" color="%text_color%">
1855 <font resource="font" />
1856 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1857 <text>Trying Decryption with Your Password</text>
1858 </object>
1859
1860 <object type="template" name="action_page_console" />
1861
1862 <object type="template" name="progress_bar" />
1863
1864 <object type="action">
1865 <action function="decrypt_backup"></action>
1866 </object>
1867
1868 <object type="action">
1869 <conditions>
1870 <condition var1="tw_operation_state" var2="1" />
1871 <condition var1="tw_operation_status" op="!=" var2="0" />
1872 </conditions>
1873 <actions>
1874 <action function="set">tw_password_fail=1</action>
1875 <action function="page">restore_decrypt</action>
1876 </actions>
1877 </object>
1878
1879 <object type="action">
1880 <conditions>
1881 <condition var1="tw_operation_state" var2="1" />
1882 <condition var1="tw_operation_status" op="=" var2="0" />
1883 </conditions>
1884 <actions>
1885 <action function="set">tw_page_done=1</action>
1886 <action function="page">restore_select</action>
1887 </actions>
1888 </object>
1889 </page>
1890
Dees_Troy51a0e822012-09-05 15:24:24 -04001891 <page name="restore_select">
1892 <object type="template" name="header" />
1893
Dees_Troya13d74f2013-03-24 08:54:55 -05001894 <object type="partitionlist">
1895 <highlight color="%fileselector_highlight_color%" />
1896 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1897 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1898 <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 -04001899 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001900 <icon selected="checkbox_true" unselected="checkbox_false" />
1901 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1902 <background color="%listbox_background%" />
1903 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1904 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1905 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001906 </object>
1907
1908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001909 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001910 <fill color="%button_fill_color%" />
1911 <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 -04001912 <font resource="font" color="%button_text_color%" />
1913 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001914 <actions>
1915 <action function="set">tw_backup_rename=</action>
1916 <action function="set">tw_fileexists=0</action>
1917 <action function="page">renamebackup</action>
1918 </actions>
1919 </object>
1920
1921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001922 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001923 <fill color="%button_fill_color%" />
1924 <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 -04001925 <font resource="font" color="%button_text_color%" />
1926 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001927 <actions>
1928 <action function="set">tw_back=restore</action>
1929 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001930 <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 -04001931 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1932 <action function="set">tw_text2=This cannot be undone!</action>
1933 <action function="set">tw_action_text1=Deleting Backup...</action>
1934 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1935 <action function="set">tw_slider_text=Swipe to Delete</action>
1936 <action function="page">confirm_action</action>
1937 </actions>
1938 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001939
Dees_Troya13d74f2013-03-24 08:54:55 -05001940 <object type="checkbox">
1941 <placement x="%col1_x%" y="%row15_text_y%" />
1942 <font resource="font" color="%text_color%" />
1943 <text>Enable MD5 verification of backup files.</text>
1944 <data variable="tw_skip_md5_check" />
1945 <image checked="checkbox_true" unchecked="checkbox_false" />
1946 </object>
1947
1948 <object type="text" color="%text_color%">
1949 <font resource="font" />
1950 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1951 <text>Package Date: %tw_restore_file_date%</text>
1952 </object>
1953
Dees_Troy51a0e822012-09-05 15:24:24 -04001954 <object type="slider">
1955 <placement x="%slider_x%" y="%slider_y%" />
1956 <resource base="slider" used="slider-used" touch="slider-touch" />
1957 <action function="page">restore_run</action>
1958 </object>
1959
1960 <object type="text" color="%text_color%">
1961 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001962 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001963 <text>Swipe to Restore</text>
1964 </object>
1965
Dees_Troy51a0e822012-09-05 15:24:24 -04001966 <object type="action">
1967 <touch key="home" />
1968 <action function="page">main</action>
1969 </object>
1970
1971 <object type="action">
1972 <touch key="back" />
1973 <action function="page">restore</action>
1974 </object>
1975
1976 <object type="template" name="footer" />
1977 </page>
1978
1979 <page name="renamebackup">
1980 <object type="template" name="header" />
1981
1982 <object type="text" color="%text_color%">
1983 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1984 <font resource="font" />
1985 <text>Please Enter a New Backup Name</text>
1986 </object>
1987
1988 <object type="input">
1989 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1990 <background color="%input_background_color%" />
1991 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1992 <font resource="font" color="%text_color%" />
1993 <text>%tw_backup_rename%</text>
1994 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001995 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001996 <actions>
1997 <action function="set">tw_back=restore</action>
1998 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001999 <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 -04002000 <action function="set">tw_text1=Rename Backup?</action>
2001 <action function="set">tw_text2=This cannot be undone!</action>
2002 <action function="set">tw_action_text1=Renaming Backup...</action>
2003 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2004 <action function="set">tw_slider_text=Swipe to Rename</action>
2005 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2006 <action function="set">tw_existpage=renamebackup</action>
2007 <action function="set">tw_notexistpage=confirm_action</action>
2008 <action function="page">filecheck</action>
2009 </actions>
2010 </object>
2011
2012 <object type="text" color="%text_fail_color%">
2013 <condition var1="tw_fileexists" var2="1" />
2014 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2015 <font resource="font" />
2016 <text>A backup with that name already exists!</text>
2017 </object>
2018
2019 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002020 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002021 <placement x="%col_center_x%" y="%row2_y%" />
2022 <font resource="font" color="%button_text_color%" />
2023 <text>Cancel</text>
2024 <image resource="main_button" />
2025 <action function="page">restore_select</action>
2026 </object>
2027
2028 <object type="template" name="keyboardtemplate" />
2029
2030 <object type="action">
2031 <touch key="home" />
2032 <action function="page">main</action>
2033 </object>
2034
2035 <object type="action">
2036 <touch key="back" />
2037 <action function="page">restore_select</action>
2038 </object>
2039
2040 <object type="template" name="footer" />
2041 </page>
2042
2043 <page name="restore_run">
2044 <object type="template" name="header" />
2045
2046 <object type="text" color="%text_color%">
2047 <font resource="font" />
2048 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2049 <text>%tw_operation% %tw_partition%</text>
2050 </object>
2051
2052 <object type="template" name="action_page_console" />
2053
2054 <object type="template" name="progress_bar" />
2055
2056 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002057 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <actions>
2059 <action function="set">tw_back=restore_select</action>
2060 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002061 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002062 <action function="page">action_complete</action>
2063 </actions>
2064 </object>
2065
2066 <object type="action">
2067 <action function="nandroid">restore</action>
2068 </object>
2069 </page>
2070
Dees_Troya13d74f2013-03-24 08:54:55 -05002071 <page name="selectstorage">
2072 <object type="template" name="header" />
2073
2074 <object type="partitionlist">
2075 <highlight color="%fileselector_highlight_color%" />
2076 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2077 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2078 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2079 <text>Select Storage:</text>
2080 <icon selected="radio_true" unselected="radio_false" />
2081 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2082 <background color="%listbox_background%" />
2083 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2084 <data name="tw_storage_path" />
2085 <listtype name="storage" />
2086 </object>
2087
Dees_Troye7e0ae82013-07-05 14:46:07 +00002088 <object type="button">
2089 <highlight color="%highlight_color%" />
2090 <placement x="%col_center_x%" y="%row4_y%" />
2091 <font resource="font" color="%button_text_color%" />
2092 <text>OK</text>
2093 <image resource="main_button" />
2094 <actions>
2095 <action function="set">tw_clear_destination=%tw_back%</action>
2096 <action function="page">clear_vars</action>
2097 </actions>
2098 </object>
2099
Dees_Troya13d74f2013-03-24 08:54:55 -05002100 <object type="action">
2101 <touch key="home" />
2102 <action function="page">main</action>
2103 </object>
2104
2105 <object type="action">
2106 <touch key="back" />
2107 <actions>
2108 <action function="page">%tw_back%</action>
2109 </actions>
2110 </object>
2111
2112 <object type="template" name="footer" />
2113 </page>
2114
Dees_Troy51a0e822012-09-05 15:24:24 -04002115 <page name="mount">
2116 <object type="template" name="header" />
2117
Dees_Troya13d74f2013-03-24 08:54:55 -05002118 <object type="partitionlist">
2119 <highlight color="%fileselector_highlight_color%" />
2120 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2121 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2122 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2123 <text>Select Partitions to Mount:</text>
2124 <icon selected="checkbox_true" unselected="checkbox_false" />
2125 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2126 <background color="%listbox_background%" />
2127 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2128 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 </object>
2130
2131 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002132 <highlight color="%highlight_color%" />
2133 <fill color="%button_fill_color%" />
2134 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2135 <font resource="font" color="%button_text_color%" />
2136 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2137 <actions>
2138 <action function="set">tw_back=mount</action>
2139 <action function="page">selectstorage</action>
2140 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002141 </object>
2142
2143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002144 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002145 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002146 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002147 <font resource="font" color="%button_text_color%" />
2148 <text>Mount USB Storage</text>
2149 <image resource="main_button" />
2150 <action function="page">usb_mount</action>
2151 </object>
2152
Gary Peckffdc6ae2012-11-21 18:02:02 -08002153 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002154 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002155 <conditions>
2156 <condition var1="tw_is_encrypted" var2="1" />
2157 <condition var1="tw_is_decrypted" var2="0" />
2158 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002159 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002160 <font resource="font" color="%button_text_color%" />
2161 <text>Decrypt Data</text>
2162 <image resource="main_button" />
2163 <action function="page">decrypt</action>
2164 </object>
2165
Dees_Troy51a0e822012-09-05 15:24:24 -04002166 <object type="action">
2167 <touch key="home" />
2168 <action function="page">main</action>
2169 </object>
2170
2171 <object type="action">
2172 <touch key="back" />
2173 <action function="page">main</action>
2174 </object>
2175
2176 <object type="template" name="footer" />
2177 </page>
2178
2179 <page name="usb_mount">
2180 <object type="template" name="header" />
2181
2182 <object type="text" color="%text_color%">
2183 <font resource="font" />
2184 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2185 <text>USB Storage Mounted</text>
2186 </object>
2187
2188 <object type="text" color="%text_color%">
2189 <placement x="%col1_x%" y="%row1_text_y%" />
2190 <font resource="font" />
2191 <text>Be sure to safely remove your device</text>
2192 </object>
2193
2194 <object type="text" color="%text_color%">
2195 <placement x="%col1_x%" y="%row2_text_y%" />
2196 <font resource="font" />
2197 <text>from your computer before unmounting!</text>
2198 </object>
2199
2200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002202 <placement x="%col1_x%" y="%row3_y%" />
2203 <font resource="font" color="%button_text_color%" />
2204 <text>Unmount</text>
2205 <image resource="main_button" />
2206 <action function="page">usb_umount</action>
2207 </object>
2208
2209 <object type="action">
2210 <action function="mount">usb</action>
2211 </object>
2212
2213 <object type="template" name="footer" />
2214 </page>
2215
2216 <page name="usb_umount">
2217 <object type="action">
2218 <action function="unmount">usb</action>
2219 </object>
2220
2221 <object type="action">
2222 <action function="page">mount</action>
2223 </object>
2224 </page>
2225
2226 <page name="reboot">
2227 <object type="template" name="header" />
2228
2229 <object type="text" color="%text_color%">
2230 <font resource="font" />
2231 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2232 <text>Reboot Menu</text>
2233 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002234
Dees_Troy51a0e822012-09-05 15:24:24 -04002235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002236 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002237 <condition var1="tw_reboot_system" var2="1" />
2238 <placement x="%col1_x%" y="%row1_y%" />
2239 <font resource="font" color="%button_text_color%" />
2240 <text>System</text>
2241 <image resource="main_button" />
2242 <actions>
2243 <action function="set">tw_back=reboot</action>
2244 <action function="set">tw_action=reboot</action>
2245 <action function="set">tw_action_param=system</action>
2246 <action function="set">tw_has_action2=0</action>
2247 <action function="set">tw_text1=No OS Installed! Are you</action>
2248 <action function="set">tw_text2=sure you wish to reboot?</action>
2249 <action function="set">tw_action_text1=Rebooting...</action>
2250 <action function="set">tw_complete_text1=Rebooting...</action>
2251 <action function="set">tw_slider_text=Swipe to Reboot</action>
2252 <action function="page">rebootcheck</action>
2253 </actions>
2254 </object>
2255
2256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002257 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002258 <condition var1="tw_reboot_poweroff" var2="1" />
2259 <placement x="%col2_x%" y="%row1_y%" />
2260 <font resource="font" color="%button_text_color%" />
2261 <text>Power Off</text>
2262 <image resource="main_button" />
2263 <actions>
2264 <action function="set">tw_back=reboot</action>
2265 <action function="set">tw_action=reboot</action>
2266 <action function="set">tw_action_param=poweroff</action>
2267 <action function="set">tw_has_action2=0</action>
2268 <action function="set">tw_text1=No OS Installed! Are you</action>
2269 <action function="set">tw_text2=sure you wish to power off?</action>
2270 <action function="set">tw_action_text1=Turning Off...</action>
2271 <action function="set">tw_complete_text1=Turning Off...</action>
2272 <action function="set">tw_slider_text=Swipe to Power Off</action>
2273 <action function="page">rebootcheck</action>
2274 </actions>
2275 </object>
2276
2277 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002278 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002279 <condition var1="tw_reboot_recovery" var2="1" />
2280 <placement x="%col1_x%" y="%row2_y%" />
2281 <font resource="font" color="%button_text_color%" />
2282 <text>Recovery</text>
2283 <image resource="main_button" />
2284 <actions>
2285 <action function="set">tw_back=reboot</action>
2286 <action function="set">tw_action=reboot</action>
2287 <action function="set">tw_action_param=recovery</action>
2288 <action function="set">tw_has_action2=0</action>
2289 <action function="set">tw_text1=No OS Installed! Are you</action>
2290 <action function="set">tw_text2=sure you wish to reboot?</action>
2291 <action function="set">tw_action_text1=Rebooting...</action>
2292 <action function="set">tw_complete_text1=Rebooting...</action>
2293 <action function="set">tw_slider_text=Swipe to Reboot</action>
2294 <action function="page">rebootcheck</action>
2295 </actions>
2296 </object>
2297
2298 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002299 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002300 <condition var1="tw_reboot_bootloader" var2="1" />
2301 <placement x="%col2_x%" y="%row2_y%" />
2302 <font resource="font" color="%button_text_color%" />
2303 <text>Bootloader</text>
2304 <image resource="main_button" />
2305 <actions>
2306 <action function="set">tw_back=reboot</action>
2307 <action function="set">tw_action=reboot</action>
2308 <action function="set">tw_action_param=bootloader</action>
2309 <action function="set">tw_has_action2=0</action>
2310 <action function="set">tw_text1=No OS Installed! Are you</action>
2311 <action function="set">tw_text2=sure you wish to reboot?</action>
2312 <action function="set">tw_action_text1=Rebooting...</action>
2313 <action function="set">tw_complete_text1=Rebooting...</action>
2314 <action function="set">tw_slider_text=Swipe to Reboot</action>
2315 <action function="page">rebootcheck</action>
2316 </actions>
2317 </object>
2318
2319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002320 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002322 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002323 <font resource="font" color="%button_text_color%" />
2324 <text>Download</text>
2325 <image resource="main_button" />
2326 <actions>
2327 <action function="set">tw_back=reboot</action>
2328 <action function="set">tw_action=reboot</action>
2329 <action function="set">tw_action_param=download</action>
2330 <action function="set">tw_has_action2=0</action>
2331 <action function="set">tw_text1=No OS Installed! Are you</action>
2332 <action function="set">tw_text2=sure you wish to reboot?</action>
2333 <action function="set">tw_action_text1=Rebooting...</action>
2334 <action function="set">tw_complete_text1=Rebooting...</action>
2335 <action function="set">tw_slider_text=Swipe to Reboot</action>
2336 <action function="page">rebootcheck</action>
2337 </actions>
2338 </object>
2339
2340 <object type="action">
2341 <touch key="home" />
2342 <action function="page">main</action>
2343 </object>
2344
2345 <object type="action">
2346 <touch key="back" />
2347 <action function="page">main</action>
2348 </object>
2349
2350 <object type="template" name="footer" />
2351 </page>
2352
2353 <page name="settings">
2354 <object type="template" name="header" />
2355
2356 <object type="text" color="%text_color%">
2357 <font resource="font" />
2358 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2359 <text>Settings</text>
2360 </object>
2361
2362 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002363 <placement x="%col1_x%" y="%row1_text_y%" />
2364 <font resource="font" color="%text_color%" />
2365 <text>Zip file signature verification.</text>
2366 <data variable="tw_signed_zip_verify" />
2367 <image checked="checkbox_true" unchecked="checkbox_false" />
2368 </object>
2369
2370 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002371 <placement x="%col1_x%" y="%row2_text_y%" />
2372 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002373 <text>Use rm -rf instead of formatting.</text>
2374 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002379 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002381 <text>Skip MD5 generation during backup.</text>
2382 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002387 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002389 <text>Enable MD5 verification of backup files.</text>
2390 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002395 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002397 <text>Use Military Time.</text>
2398 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002403 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002405 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <data variable="tw_simulate_actions" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
2411 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002412 <placement x="%col1_x%" y="%row7_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 failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <data variable="tw_simulate_fail" />
2416 <image checked="checkbox_true" unchecked="checkbox_false" />
2417 </object>
2418
2419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <placement x="%col1_x%" y="%row3_y%" />
2422 <font resource="font" color="%button_text_color%" />
2423 <text>Time Zone</text>
2424 <image resource="main_button" />
2425 <action function="page">timezone</action>
2426 </object>
2427
2428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002429 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002430 <placement x="%col2_x%" y="%row3_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Screen</text>
2433 <image resource="main_button" />
2434 <action function="page">screen</action>
2435 </object>
2436
2437 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002438 <placement x="%col_center_x%" y="%row4_y%" />
2439 <font resource="font" color="%button_text_color%" />
2440 <text>Restore Defaults</text>
2441 <image resource="main_button" />
2442 <action function="restoredefaultsettings"></action>
2443 </object>
2444
2445 <object type="action">
2446 <touch key="home" />
2447 <action function="page">main</action>
2448 </object>
2449
2450 <object type="action">
2451 <touch key="back" />
2452 <action function="page">main</action>
2453 </object>
2454
2455 <object type="template" name="footer" />
2456 </page>
2457
2458 <page name="timezone">
2459 <object type="template" name="header" />
2460
Dees_Troy51a0e822012-09-05 15:24:24 -04002461 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002462 <highlight color="%fileselector_highlight_color%" />
2463 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2464 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002465 <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 -06002466 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002467 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002468 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002470 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002471 <data name="tw_time_zone_guisel" />
2472 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2473 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2474 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2475 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2476 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2477 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2478 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2479 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2480 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2481 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2482 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2483 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2484 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2485 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2486 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2487 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2488 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2489 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2490 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2491 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2492 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2493 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2494 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2495 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2496 </object>
2497
2498 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002499 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002500 <font resource="font" color="%text_color%" />
2501 <text>Do you use daylight savings time (DST)?</text>
2502 <data variable="tw_time_zone_guidst" />
2503 <image checked="checkbox_true" unchecked="checkbox_false" />
2504 </object>
2505
2506 <object type="text" color="%text_color%">
2507 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002508 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002509 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2510 </object>
2511
2512 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002513 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002514 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <font resource="font" color="%button_text_color%" />
2516 <text>None</text>
2517 <image resource="medium_button" />
2518 <action function="set">tw_time_zone_guioffset=0</action>
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="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <font resource="font" color="%button_text_color%" />
2525 <text>15</text>
2526 <image resource="medium_button" />
2527 <action function="set">tw_time_zone_guioffset=15</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="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <font resource="font" color="%button_text_color%" />
2534 <text>30</text>
2535 <image resource="medium_button" />
2536 <action function="set">tw_time_zone_guioffset=30</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="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 <font resource="font" color="%button_text_color%" />
2543 <text>45</text>
2544 <image resource="medium_button" />
2545 <action function="set">tw_time_zone_guioffset=45</action>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <placement x="%col_center_x%" y="%tz_set_y%" />
2551 <font resource="font" color="%button_text_color%" />
2552 <text>Set Time Zone</text>
2553 <image resource="main_button" />
2554 <action function="setguitimezone"></action>
2555 </object>
2556
2557 <object type="text" color="%text_color%">
2558 <font resource="font" />
2559 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2560 <text>Current Time Zone: %tw_time_zone%</text>
2561 </object>
2562
2563 <object type="action">
2564 <touch key="home" />
2565 <action function="page">main</action>
2566 </object>
2567
2568 <object type="action">
2569 <touch key="back" />
2570 <action function="page">settings</action>
2571 </object>
2572
2573 <object type="template" name="footer" />
2574 </page>
2575
Dees_Troy2f9117a2013-02-17 19:52:09 -06002576 <page name="screen">
2577 <object type="template" name="header" />
2578
2579 <object type="text" color="%text_color%">
2580 <font resource="font" />
2581 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2582 <text>Screen Settings</text>
2583 </object>
2584
Dees_Troy2f9117a2013-02-17 19:52:09 -06002585 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002586 <placement x="%col1_x%" y="%row2_text_y%" />
2587 <font resource="font" color="%text_color%" />
2588 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002589 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002590 <text>Enable screen timeout.</text>
2591 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002592 <action function="set">tw_screen_timeout_secs=60</action>
2593 </object>
2594
2595 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002596 <placement x="%col1_x%" y="%row2_text_y%" />
2597 <font resource="font" color="%text_color%" />
2598 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002599 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002600 <text>Enable screen timeout.</text>
2601 <image resource="checkbox_true" />
2602 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002603 </object>
2604
Vojtech Bocek85932342013-04-01 22:11:33 +02002605 <object type="slidervalue">
2606 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002607 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002608 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2609 <font resource="font" color="%text_color%" />
2610 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2611 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2612 <text>Screen timeout in seconds:</text>
2613 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002614 </object>
2615
Vojtech Bocek85932342013-04-01 22:11:33 +02002616 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002617 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002618 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2619 <font resource="font" color="%text_color%" />
2620 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2621 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2622 <text>Brightness: %tw_brightness_pct%%</text>
2623 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002624 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <action function="set">tw_brightness=%tw_brightness_max%</action>
2626 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2627 <action function="compute">tw_brightness/100</action>
2628 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002629 </actions>
2630 </object>
2631
2632 <object type="action">
2633 <touch key="home" />
2634 <action function="page">main</action>
2635 </object>
2636
2637 <object type="action">
2638 <touch key="back" />
2639 <action function="page">settings</action>
2640 </object>
2641
2642 <object type="template" name="footer" />
2643 </page>
2644
Dees_Troy51a0e822012-09-05 15:24:24 -04002645 <page name="advanced">
2646 <object type="template" name="header" />
2647
2648 <object type="text" color="%text_color%">
2649 <font resource="font" />
2650 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2651 <text>Advanced</text>
2652 </object>
2653
2654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002656 <placement x="%col1_x%" y="%row1_y%" />
2657 <font resource="font" color="%button_text_color%" />
2658 <text>Copy Log to SD</text>
2659 <image resource="main_button" />
2660 <actions>
2661 <action function="set">tw_back=advanced</action>
2662 <action function="set">tw_action=copylog</action>
2663 <action function="set">tw_text1=Copy Log to SD Card?</action>
2664 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2665 <action function="set">tw_complete_text1=Log Copy Complete</action>
2666 <action function="set">tw_slider_text=Swipe to Confirm</action>
2667 <action function="page">confirm_action</action>
2668 </actions>
2669 </object>
2670
2671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002673 <placement x="%col2_x%" y="%row1_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text>Fix Permissions</text>
2676 <image resource="main_button" />
2677 <actions>
2678 <action function="set">tw_back=advanced</action>
2679 <action function="set">tw_action=fixpermissions</action>
2680 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002681 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002682 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2683 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002684 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002685 <action function="page">confirm_action</action>
2686 </actions>
2687 </object>
2688
2689 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002690 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <condition var1="tw_allow_partition_sdcard" var2="1" />
2692 <placement x="%col1_x%" y="%row2_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text>Partition SD Card</text>
2695 <image resource="main_button" />
2696 <action function="page">partsdcard</action>
2697 </object>
2698
2699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002701 <placement x="%col2_x%" y="%row2_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>File Manager</text>
2704 <image resource="main_button" />
2705 <action function="page">filemanagerlist</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="%col1_x%" y="%row3_y%" />
2711 <font resource="font" color="%button_text_color%" />
2712 <text>Terminal Command</text>
2713 <image resource="main_button" />
2714 <action function="page">terminalfolder</action>
2715 </object>
2716
2717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002718 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002719 <placement x="%col2_x%" y="%row3_y%" />
2720 <font resource="font" color="%button_text_color%" />
2721 <text>Reload Theme</text>
2722 <image resource="main_button" />
2723 <action function="reload"></action>
2724 </object>
2725
2726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002727 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002728 <placement x="%col1_x%" y="%row4_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>ADB Sideload</text>
2731 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002732 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002733 </object>
2734
2735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002736 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002737 <condition var1="tw_show_dumlock" var2="1" />
2738 <placement x="%col2_x%" y="%row4_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>HTC Dumlock</text>
2741 <image resource="main_button" />
2742 <action function="page">htcdumlock</action>
2743 </object>
2744
2745 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002746 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <condition var1="tw_has_injecttwrp" var2="1" />
2748 <placement x="%col2_x%" y="%row4_y%" />
2749 <font resource="font" color="%button_text_color%" />
2750 <text>Re-Inject TWRP</text>
2751 <image resource="main_button" />
2752 <actions>
2753 <action function="set">tw_back=advanced</action>
2754 <action function="set">tw_action=reinjecttwrp</action>
2755 <action function="set">tw_text1=Re-Inject TWRP?</action>
2756 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2757 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2758 <action function="set">tw_slider_text=Swipe to Confirm</action>
2759 <action function="page">confirm_action</action>
2760 </actions>
2761 </object>
2762
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <object type="action">
2764 <touch key="home" />
2765 <action function="page">main</action>
2766 </object>
2767
2768 <object type="action">
2769 <touch key="back" />
2770 <action function="page">main</action>
2771 </object>
2772
2773 <object type="template" name="footer" />
2774 </page>
2775
2776 <page name="partsdcard">
2777 <object type="template" name="header" />
2778
2779 <object type="text" color="%text_color%">
2780 <font resource="font" />
2781 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2782 <text>Partition SD Card</text>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col1_x%" y="%row1_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text></text>
2790 <image resource="minus_button" />
2791 <action function="addsubtract">tw_sdext_size-128</action>
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="%sd_plus_x%" y="%row1_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text></text>
2799 <image resource="plus_button" />
2800 <action function="addsubtract">tw_sdext_size+128</action>
2801 </object>
2802
2803 <object type="text" color="%text_color%">
2804 <font resource="font" />
2805 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2806 <text>EXT Size: %tw_sdext_size%</text>
2807 </object>
2808
2809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <placement x="%col1_x%" y="%sdswap_button_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text></text>
2814 <image resource="minus_button" />
2815 <action function="addsubtract">tw_swap_size-32</action>
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="%sd_plus_x%" y="%sdswap_button_y%" />
2821 <font resource="font" color="%button_text_color%" />
2822 <text></text>
2823 <image resource="plus_button" />
2824 <action function="addsubtract">tw_swap_size+32</action>
2825 </object>
2826
2827 <object type="text" color="%text_color%">
2828 <font resource="font" />
2829 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2830 <text>Swap Size: %tw_swap_size%</text>
2831 </object>
2832
2833 <object type="text" color="%text_color%">
2834 <font resource="font" />
2835 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2836 <text>File system: %tw_sdpart_file_system%</text>
2837 </object>
2838
2839 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002840 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002841 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2842 <font resource="font" color="%button_text_color%" />
2843 <text>EXT3</text>
2844 <image resource="main_button" />
2845 <action function="set">tw_sdpart_file_system=ext3</action>
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 <condition var1="tw_sdext_disable_ext4" var2="0" />
2851 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text>EXT4</text>
2854 <image resource="main_button" />
2855 <action function="set">tw_sdpart_file_system=ext4</action>
2856 </object>
2857
2858 <object type="text" color="%text_color%">
2859 <font resource="font" />
2860 <placement x="%col1_x%" y="%row12_text_y%" />
2861 <text>You will lose all files on your SD card!</text>
2862 </object>
2863
2864 <object type="text" color="%text_color%">
2865 <font resource="font" />
2866 <placement x="%col1_x%" y="%row13_text_y%" />
2867 <text>This action cannot be undone!</text>
2868 </object>
2869
2870 <object type="slider">
2871 <placement x="%slider_x%" y="%slider_y%" />
2872 <resource base="slider" used="slider-used" touch="slider-touch" />
2873 <action function="page">partsdcardaction</action>
2874 <actions>
2875 <action function="set">tw_back=partsdcard</action>
2876 <action function="set">tw_action=partitionsd</action>
2877 <action function="set">tw_has_action2=1</action>
2878 <action function="set">tw_action2=set</action>
2879 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2880 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2881 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002882 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <action function="page">action_page</action>
2884 </actions>
2885 </object>
2886
2887 <object type="text" color="%text_color%">
2888 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002889 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <text>Swipe to Partition</text>
2891 </object>
2892
2893 <object type="action">
2894 <touch key="home" />
2895 <action function="page">main</action>
2896 </object>
2897
2898 <object type="action">
2899 <touch key="back" />
2900 <action function="page">advanced</action>
2901 </object>
2902
2903 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 </page>
2905
2906 <page name="htcdumlock">
2907 <object type="template" name="header" />
2908
2909 <object type="text" color="%text_color%">
2910 <font resource="font" />
2911 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2912 <text>HTC Dumlock</text>
2913 </object>
2914
2915 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002916 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002917 <condition var1="tw_show_dumlock" var2="1" />
2918 <placement x="%col1_x%" y="%row1_y%" />
2919 <font resource="font" color="%button_text_color%" />
2920 <text>Restore Original Boot</text>
2921 <image resource="main_button" />
2922 <actions>
2923 <action function="set">tw_back=htcdumlock</action>
2924 <action function="set">tw_action=htcdumlockrestoreboot</action>
2925 <action function="set">tw_text1=Restore original boot image?</action>
2926 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2927 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2928 <action function="set">tw_slider_text=Swipe to Confirm</action>
2929 <action function="page">confirm_action</action>
2930 </actions>
2931 </object>
2932
2933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002934 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002935 <condition var1="tw_show_dumlock" var2="1" />
2936 <placement x="%col2_x%" y="%row1_y%" />
2937 <font resource="font" color="%button_text_color%" />
2938 <text>Reflash Recovery</text>
2939 <image resource="main_button" />
2940 <actions>
2941 <action function="set">tw_back=htcdumlock</action>
2942 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2943 <action function="set">tw_text1=Reflash recovery to boot?</action>
2944 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2945 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2946 <action function="set">tw_slider_text=Swipe to Confirm</action>
2947 <action function="page">confirm_action</action>
2948 </actions>
2949 </object>
2950
2951 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002952 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002953 <condition var1="tw_show_dumlock" var2="1" />
2954 <placement x="%col1_x%" y="%row2_y%" />
2955 <font resource="font" color="%button_text_color%" />
2956 <text>Install HTC Dumlock</text>
2957 <image resource="main_button" />
2958 <actions>
2959 <action function="set">tw_back=htcdumlock</action>
2960 <action function="set">tw_action=installhtcdumlock</action>
2961 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2962 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2963 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2964 <action function="set">tw_slider_text=Swipe to Confirm</action>
2965 <action function="page">confirm_action</action>
2966 </actions>
2967 </object>
2968
2969 <object type="action">
2970 <touch key="home" />
2971 <action function="page">main</action>
2972 </object>
2973
2974 <object type="action">
2975 <touch key="back" />
2976 <action function="page">advanced</action>
2977 </object>
2978
2979 <object type="template" name="footer" />
2980 </page>
2981
2982 <page name="lock">
2983 <background color="#000000A0" />
2984
2985 <object type="image">
2986 <image resource="unlock-icon" />
2987 <placement x="%lock_x%" y="%lock_y%" />
2988 </object>
2989
2990 <object type="slider">
2991 <placement x="%slider_x%" y="%slider_y%" />
2992 <resource base="slider" used="slider-used" touch="slider-touch" />
2993 <action function="overlay"></action>
2994 </object>
2995
2996 <object type="text" color="%text_color%">
2997 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002998 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002999 <text>Swipe to Unlock</text>
3000 </object>
3001 </page>
3002
3003 <page name="filemanagerlist">
3004 <object type="template" name="header" />
3005
3006 <object type="text" color="%text_color%">
3007 <font resource="font" />
3008 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3009 <text>File Manager: Select a File or Folder</text>
3010 </object>
3011
3012 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003013 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003014 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3015 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003016 <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 -04003017 <text>%tw_file_location1%</text>
3018 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3019 <sort name="tw_gui_sort_order" />
3020 <icon folder="folder_icon" file="file_icon" />
3021 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003022 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <folders="1" files="1" />
3024 <path name="tw_file_location1" default="/" />
3025 <data name="tw_filename1" />
3026 <selection name="tw_selection1" />
3027 </object>
3028
3029 <object type="template" name="sort_options" />
3030
3031 <object type="action">
3032 <actions>
3033 <action function="set">tw_fm_type=File</action>
3034 <action function="set">tw_fm_isfolder=0</action>
3035 </actions>
3036 </object>
3037
3038 <object type="action">
3039 <touch key="home" />
3040 <action function="page">main</action>
3041 </object>
3042
3043 <object type="action">
3044 <touch key="back" />
3045 <action function="page">advanced</action>
3046 </object>
3047
3048 <object type="action">
3049 <condition var1="tw_filename1" op="modified" />
3050 <actions>
3051 <action function="page">filemanageroptions</action>
3052 </actions>
3053 </object>
3054
3055 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003056 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003057 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3058 <font resource="font" color="%button_text_color%" />
3059 <text>Select</text>
3060 <image resource="medium_button" />
3061 <actions>
3062 <action function="set">tw_filename1=tw_file_location1</action>
3063 <action function="set">tw_fm_isfolder=1</action>
3064 <action function="set">tw_fm_type=Folder</action>
3065 <action function="page">filemanageroptions</action>
3066 </actions>
3067 </object>
3068
3069 <object type="template" name="footer" />
3070 </page>
3071
3072 <page name="filemanageroptions">
3073 <object type="template" name="header" />
3074
3075 <object type="text" color="%text_color%">
3076 <font resource="font" />
3077 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3078 <text>%tw_fm_type% Selected:</text>
3079 </object>
3080
3081 <object type="text" color="%text_color%">
3082 <font resource="font" />
3083 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3084 <text>%tw_filename1%</text>
3085 </object>
3086
3087 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003088 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003089 <condition var1="tw_fm_isfolder" var2="0" />
3090 <placement x="%col1_x%" y="%row2_y%" />
3091 <font resource="font" color="%button_text_color%" />
3092 <text>Copy File</text>
3093 <image resource="main_button" />
3094 <actions>
3095 <action function="set">tw_filemanager_command=cp</action>
3096 <action function="set">tw_fm_text1=Copying</action>
3097 <action function="page">choosedestinationfolder</action>
3098 </actions>
3099 </object>
3100
3101 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003102 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003103 <condition var1="tw_fm_isfolder" var2="1" />
3104 <placement x="%col1_x%" y="%row2_y%" />
3105 <font resource="font" color="%button_text_color%" />
3106 <text>Copy Folder</text>
3107 <image resource="main_button" />
3108 <actions>
3109 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3110 <action function="set">tw_fm_text1=Copying</action>
3111 <action function="page">choosedestinationfolder</action>
3112 </actions>
3113 </object>
3114
3115 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003116 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003117 <placement x="%col2_x%" y="%row2_y%" />
3118 <font resource="font" color="%button_text_color%" />
3119 <text>Move</text>
3120 <image resource="main_button" />
3121 <actions>
3122 <action function="set">tw_filemanager_command=mv</action>
3123 <action function="set">tw_fm_text1=Moving</action>
3124 <action function="page">choosedestinationfolder</action>
3125 </actions>
3126 </object>
3127
3128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003129 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003130 <placement x="%col1_x%" y="%row3_y%" />
3131 <font resource="font" color="%button_text_color%" />
3132 <text>chmod 755</text>
3133 <image resource="main_button" />
3134 <actions>
3135 <action function="set">tw_filemanager_command=chmod 755</action>
3136 <action function="set">tw_fm_text1=chmod 755</action>
3137 <action function="set">tw_fm_text2=</action>
3138 <action function="set">tw_fm_text3=</action>
3139 <action function="set">tw_include_text3=0</action>
3140 <action function="set">tw_back=filemanageroptions</action>
3141 <action function="page">filemanagerconfirm</action>
3142 </actions>
3143 </object>
3144
3145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003147 <placement x="%col2_x%" y="%row3_y%" />
3148 <font resource="font" color="%button_text_color%" />
3149 <text>chmod</text>
3150 <image resource="main_button" />
3151 <actions>
3152 <action function="set">tw_filemanager_rename=0000</action>
3153 <action function="set">tw_fm_text2=</action>
3154 <action function="set">tw_fm_text3=</action>
3155 <action function="set">tw_include_text3=0</action>
3156 <action function="set">tw_back=filemanageroptions</action>
3157 <action function="page">filemanagerchmod</action>
3158 </actions>
3159 </object>
3160
3161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003163 <placement x="%col1_x%" y="%row4_y%" />
3164 <font resource="font" color="%button_text_color%" />
3165 <text>Delete</text>
3166 <image resource="main_button" />
3167 <actions>
3168 <action function="set">tw_filemanager_command=rm -rf</action>
3169 <action function="set">tw_fm_text1=Deleting</action>
3170 <action function="set">tw_fm_text2=</action>
3171 <action function="set">tw_fm_text3=</action>
3172 <action function="set">tw_include_text3=0</action>
3173 <action function="set">tw_back=filemanageroptions</action>
3174 <action function="page">filemanagerconfirm</action>
3175 </actions>
3176 </object>
3177
3178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003179 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003180 <condition var1="tw_fm_isfolder" var2="0" />
3181 <placement x="%col2_x%" y="%row4_y%" />
3182 <font resource="font" color="%button_text_color%" />
3183 <text>Rename File</text>
3184 <image resource="main_button" />
3185 <actions>
3186 <action function="set">tw_filemanager_rename=tw_selection1</action>
3187 <action function="set">tw_fm_text1=Renaming</action>
3188 <action function="set">tw_filemanager_command=mv</action>
3189 <action function="page">filemanagerrenamefile</action>
3190 </actions>
3191 </object>
3192
3193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003195 <condition var1="tw_fm_isfolder" var2="1" />
3196 <placement x="%col2_x%" y="%row4_y%" />
3197 <font resource="font" color="%button_text_color%" />
3198 <text>Rename Folder</text>
3199 <image resource="main_button" />
3200 <actions>
3201 <action function="set">tw_filemanager_rename=tw_selection1</action>
3202 <action function="set">tw_fm_text1=Renaming</action>
3203 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3204 <action function="page">filemanagerrenamefolder</action>
3205 </actions>
3206 </object>
3207
3208 <object type="action">
3209 <touch key="home" />
3210 <action function="page">main</action>
3211 </object>
3212
3213 <object type="action">
3214 <touch key="back" />
3215 <action function="page">filemanagerlist</action>
3216 </object>
3217
3218 <object type="template" name="footer" />
3219 </page>
3220
3221 <page name="choosedestinationfolder">
3222 <object type="template" name="header" />
3223
3224 <object type="text" color="%text_color%">
3225 <font resource="font" />
3226 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3227 <text>Browse to Destination Folder & Press Select</text>
3228 </object>
3229
3230 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003231 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3233 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003234 <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 -04003235 <text>%tw_file_location2%</text>
3236 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3237 <sort name="tw_gui_sort_order" />
3238 <icon folder="folder_icon" file="file_icon" />
3239 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003240 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <filter folders="1" files="0" />
3242 <path name="tw_file_location2" default="/" />
3243 <data name="tw_filename2" />
3244 <selection name="tw_selection2" />
3245 </object>
3246
3247 <object type="template" name="sort_options" />
3248
3249 <object type="action">
3250 <touch key="home" />
3251 <action function="page">main</action>
3252 </object>
3253
3254 <object type="action">
3255 <touch key="back" />
3256 <action function="page">filemanageroptions</action>
3257 </object>
3258
3259 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003260 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003261 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text>Select</text>
3264 <image resource="medium_button" />
3265 <actions>
3266 <action function="set">tw_fm_text2=to</action>
3267 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3268 <action function="set">tw_include_text3=1</action>
3269 <action function="set">tw_back=filemanageroptions</action>
3270 <action function="page">filemanagerconfirm</action>
3271 </actions>
3272 </object>
3273
3274 <object type="template" name="footer" />
3275 </page>
3276
3277 <page name="filemanagerrenamefile">
3278 <object type="template" name="header" />
3279
3280 <object type="text" color="%text_color%">
3281 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3282 <font resource="font" />
3283 <text>Please Enter a New %tw_fm_type% Name</text>
3284 </object>
3285
3286 <object type="input">
3287 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3288 <background color="%input_background_color%" />
3289 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3290 <font resource="font" color="%text_color%" />
3291 <text>%tw_filemanager_rename%</text>
3292 <data name="tw_filemanager_rename" />
3293 <restrict minlen="1" maxlen="128" />
3294 <actions>
3295 <action function="set">tw_fm_text2=to</action>
3296 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3297 <action function="set">tw_include_text3=1</action>
3298 <action function="set">tw_back=filemanageroptions</action>
3299 <action function="page">filemanagerconfirm</action>
3300 </actions>
3301 </object>
3302
3303 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003304 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003305 <placement x="%col_center_x%" y="%row2_y%" />
3306 <font resource="font" color="%button_text_color%" />
3307 <text>Cancel</text>
3308 <image resource="main_button" />
3309 <action function="page">filemanageroptions</action>
3310 </object>
3311
3312 <object type="template" name="keyboardtemplate" />
3313
3314 <object type="action">
3315 <touch key="home" />
3316 <action function="page">main</action>
3317 </object>
3318
3319 <object type="action">
3320 <touch key="back" />
3321 <action function="page">filemanageroptions</action>
3322 </object>
3323
3324 <object type="template" name="footer" />
3325 </page>
3326
3327 <page name="filemanagerrenamefolder">
3328 <object type="template" name="header" />
3329
3330 <object type="text" color="%text_color%">
3331 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3332 <font resource="font" />
3333 <text>Please Enter a New %tw_fm_type% Name</text>
3334 </object>
3335
3336 <object type="input">
3337 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3338 <background color="%input_background_color%" />
3339 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3340 <font resource="font" color="%text_color%" />
3341 <text>%tw_filemanager_rename%</text>
3342 <data name="tw_filemanager_rename" />
3343 <restrict minlen="1" maxlen="128" />
3344 <actions>
3345 <action function="set">tw_fm_text2=to</action>
3346 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3347 <action function="set">tw_include_text3=1</action>
3348 <action function="set">tw_back=filemanageroptions</action>
3349 <action function="page">filemanagerconfirm</action>
3350 </actions>
3351 </object>
3352
3353 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003354 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003355 <placement x="%col_center_x%" y="%row2_y%" />
3356 <font resource="font" color="%button_text_color%" />
3357 <text>Cancel</text>
3358 <image resource="main_button" />
3359 <action function="page">filemanageroptions</action>
3360 </object>
3361
3362 <object type="template" name="keyboardtemplate" />
3363
3364 <object type="action">
3365 <touch key="home" />
3366 <action function="page">main</action>
3367 </object>
3368
3369 <object type="action">
3370 <touch key="back" />
3371 <action function="page">filemanageroptions</action>
3372 </object>
3373
3374 <object type="template" name="footer" />
3375 </page>
3376
3377 <page name="filemanagerchmod">
3378 <object type="template" name="header" />
3379
3380 <object type="text" color="%text_color%">
3381 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3382 <font resource="font" />
3383 <text>Please Enter New Permissions</text>
3384 </object>
3385
3386 <object type="input">
3387 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3388 <background color="%input_background_color%" />
3389 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3390 <font resource="font" color="%text_color%" />
3391 <text>%tw_filemanager_rename%</text>
3392 <data name="tw_filemanager_rename" />
3393 <restrict minlen="3" maxlen="4" allow="0123456789" />
3394 <actions>
3395 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3396 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3397 <action function="set">tw_back=filemanageroptions</action>
3398 <action function="page">filemanagerconfirm</action>
3399 </actions>
3400 </object>
3401
3402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003403 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003404 <placement x="%col_center_x%" y="%row2_y%" />
3405 <font resource="font" color="%button_text_color%" />
3406 <text>Cancel</text>
3407 <image resource="main_button" />
3408 <action function="page">filemanageroptions</action>
3409 </object>
3410
3411 <object type="template" name="keyboardtemplate" />
3412
3413 <object type="action">
3414 <touch key="home" />
3415 <action function="page">main</action>
3416 </object>
3417
3418 <object type="action">
3419 <touch key="back" />
3420 <action function="page">filemanageroptions</action>
3421 </object>
3422
3423 <object type="template" name="footer" />
3424 </page>
3425
3426 <page name="filemanagerconfirm">
3427 <object type="template" name="header" />
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3432 <text>%tw_fm_text1%</text>
3433 </object>
3434
3435 <object type="text" color="%text_color%">
3436 <font resource="font" />
3437 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3438 <text>%tw_filename1%</text>
3439 </object>
3440
3441 <object type="text" color="%text_color%">
3442 <font resource="font" />
3443 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3444 <text>%tw_fm_text2%</text>
3445 </object>
3446
3447 <object type="text" color="%text_color%">
3448 <font resource="font" />
3449 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3450 <text>%tw_fm_text3%</text>
3451 </object>
3452
3453 <object type="text" color="%text_color%">
3454 <font resource="font" />
3455 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3456 <text>Press back button to cancel.</text>
3457 </object>
3458
3459 <object type="slider">
3460 <placement x="%slider_x%" y="%slider_y%" />
3461 <resource base="slider" used="slider-used" touch="slider-touch" />
3462 <action function="page">filemanageracction</action>
3463 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003464
Dees_Troy51a0e822012-09-05 15:24:24 -04003465 <object type="text" color="%text_color%">
3466 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003467 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003468 <text>Swipe to Confirm</text>
3469 </object>
3470
3471 <object type="action">
3472 <touch key="back" />
3473 <action function="page">%tw_back%</action>
3474 </object>
3475
3476 <object type="action">
3477 <touch key="home" />
3478 <action function="page">main</action>
3479 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003480
Dees_Troy51a0e822012-09-05 15:24:24 -04003481 <object type="template" name="footer" />
3482 </page>
3483
3484 <page name="filemanageracction">
3485 <object type="template" name="header" />
3486
3487 <object type="text" color="%text_color%">
3488
3489 <font resource="font" />
3490 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3491 <text>%tw_fm_text1%</text>
3492 </object>
3493
3494 <object type="template" name="action_page_console" />
3495
3496 <object type="template" name="progress_bar" />
3497
3498 <object type="action">
3499 <conditions>
3500 <condition var1="tw_operation_state" var2="1" />
3501 <condition var1="tw_operation_status" var2="0" />
3502 </conditions>
3503 <actions>
3504 <action function="set">tw_back=filemanagerlist</action>
3505 <action function="set">tw_complete_text1=File Operation Complete</action>
3506 <action function="page">action_complete</action>
3507 </actions>
3508 </object>
3509
3510 <object type="action">
3511 <conditions>
3512 <condition var1="tw_operation_state" var2="1" />
3513 <condition var1="tw_operation_status" op="!=" var2="0" />
3514 </conditions>
3515 <actions>
3516 <action function="set">tw_complete_text1=File Operation Complete</action>
3517 <action function="page">action_complete</action>
3518 </actions>
3519 </object>
3520
3521 <object type="action">
3522 <condition var1="tw_include_text3" var2="0" />
3523 <actions>
3524 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3525 </actions>
3526 </object>
3527
3528 <object type="action">
3529 <condition var1="tw_include_text3" var2="1" />
3530 <actions>
3531 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3532 </actions>
3533 </object>
3534 </page>
3535
3536 <page name="decrypt">
3537 <object type="template" name="header" />
3538
3539 <object type="text" color="%text_color%">
3540 <font resource="font" />
3541 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3542 <text>Please Enter Your Password</text>
3543 </object>
3544
3545 <object type="input">
3546 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3547 <background color="%input_background_color%" />
3548 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3549 <font resource="font" color="%text_color%" />
3550 <text>%tw_crypto_display%</text>
3551 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3552 <restrict minlen="1" maxlen="254" />
3553 <actions>
3554 <action function="page">trydecrypt</action>
3555 </actions>
3556 </object>
3557
3558 <object type="text" color="%text_fail_color%">
3559 <condition var1="tw_password_fail" var2="1" />
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3562 <text>Password Failed, Please Try Again</text>
3563 </object>
3564
3565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003567 <placement x="%col_center_x%" y="%row2_y%" />
3568 <font resource="font" color="%button_text_color%" />
3569 <text>Cancel</text>
3570 <image resource="main_button" />
3571 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003572 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003573 <action function="page">main</action>
3574 </actions>
3575 </object>
3576
3577 <object type="template" name="keyboardtemplate" />
3578
Dees_Troy51a0e822012-09-05 15:24:24 -04003579 <object type="template" name="footer" />
3580 </page>
3581
3582 <page name="trydecrypt">
3583 <object type="template" name="header" />
3584
3585 <object type="text" color="%text_color%">
3586 <font resource="font" />
3587 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3588 <text>Trying Decryption with Your Password</text>
3589 </object>
3590
3591 <object type="template" name="action_page_console" />
3592
3593 <object type="template" name="progress_bar" />
3594
3595 <object type="action">
3596 <action function="decrypt"></action>
3597 </object>
3598
3599 <object type="action">
3600 <conditions>
3601 <condition var1="tw_operation_state" var2="1" />
3602 <condition var1="tw_operation_status" op="!=" var2="0" />
3603 </conditions>
3604 <actions>
3605 <action function="set">tw_password_fail=1</action>
3606 <action function="page">decrypt</action>
3607 </actions>
3608 </object>
3609
3610 <object type="action">
3611 <conditions>
3612 <condition var1="tw_operation_state" var2="1" />
3613 <condition var1="tw_operation_status" op="=" var2="0" />
3614 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003615 <actions>
3616 <action function="set">tw_page_done=1</action>
3617 <action function="page">main</action>
3618 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003619 </object>
3620 </page>
3621
3622 <page name="terminalfolder">
3623 <object type="template" name="header" />
3624
3625 <object type="text" color="%text_color%">
3626 <font resource="font" />
3627 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3628 <text>Browse to Starting Folder</text>
3629 </object>
3630
3631 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003632 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003633 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3634 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003635 <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 -04003636 <text>%tw_terminal_location%</text>
3637 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3638 <sort name="tw_gui_sort_order" />
3639 <icon folder="folder_icon" file="file_icon" />
3640 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003641 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <filter folders="1" files="0" />
3643 <path name="tw_terminal_location" default="/" />
3644 <data name="tw_terminal" />
3645 <selection name="tw_terminal_selection" />
3646 </object>
3647
3648 <object type="template" name="sort_options" />
3649
3650 <object type="action">
3651 <touch key="home" />
3652 <action function="page">main</action>
3653 </object>
3654
3655 <object type="action">
3656 <touch key="back" />
3657 <action function="page">advanced</action>
3658 </object>
3659
3660 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003661 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003662 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3663 <font resource="font" color="%button_text_color%" />
3664 <text>Select</text>
3665 <image resource="medium_button" />
3666 <actions>
3667 <action function="page">terminalcommand</action>
3668 </actions>
3669 </object>
3670
3671 <object type="template" name="footer" />
3672 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003673
Dees_Troy51a0e822012-09-05 15:24:24 -04003674 <page name="terminalcommand">
3675 <object type="template" name="header" />
3676
3677 <object type="console">
3678 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3679 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3680 <font resource="fixed" />
3681 </object>
3682
3683 <object type="text" color="%text_color%">
3684 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3685 <font resource="font" />
3686 <text>Starting Path: %tw_terminal_location%</text>
3687 </object>
3688
3689 <object type="input">
3690 <condition var1="tw_terminal_state" var2="0" />
3691 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3692 <background color="%input_background_color%" />
3693 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3694 <font resource="font" color="%text_color%" />
3695 <text>%tw_terminal_command%</text>
3696 <data name="tw_terminal_command" />
3697 <restrict minlen="1" />
3698 <action function="terminalcommand">%tw_terminal_command%</action>
3699 </object>
3700
3701 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003702 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003703 <condition var1="tw_terminal_state" var2="1" />
3704 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3705 <font resource="font" color="%button_text_color%" />
3706 <text>KILL</text>
3707 <image resource="medium_button" />
3708 <action function="killterminal"></action>
3709 </object>
3710
3711 <object type="template" name="keyboardtemplate" />
3712
3713 <object type="action">
3714 <touch key="home" />
3715 <action function="page">main</action>
3716 </object>
3717
3718 <object type="action">
3719 <touch key="back" />
3720 <action function="page">terminalfolder</action>
3721 </object>
3722 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003723
3724 <page name="sideload">
3725 <object type="template" name="header" />
3726
3727 <object type="text" color="%text_color%">
3728 <font resource="font" />
3729 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3730 <text>ADB Sideload</text>
3731 </object>
3732
3733 <object type="checkbox">
3734 <placement x="%col1_x%" y="%row2_text_y%" />
3735 <font resource="font" color="%text_color%" />
3736 <text>Wipe Dalvik Cache.</text>
3737 <data variable="tw_wipe_dalvik" />
3738 <image checked="checkbox_true" unchecked="checkbox_false" />
3739 </object>
3740
3741 <object type="checkbox">
3742 <placement x="%col1_x%" y="%row3_text_y%" />
3743 <font resource="font" color="%text_color%" />
3744 <text>Wipe Cache.</text>
3745 <data variable="tw_wipe_cache" />
3746 <image checked="checkbox_true" unchecked="checkbox_false" />
3747 </object>
3748
3749 <object type="slider">
3750 <placement x="%slider_x%" y="%slider_y%" />
3751 <resource base="slider" used="slider-used" touch="slider-touch" />
3752 <actions>
3753 <action function="set">tw_back=advanced</action>
3754 <action function="set">tw_action=adbsideload</action>
3755 <action function="set">tw_action_text1=ADB Sideload</action>
3756 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3757 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3758 <action function="set">tw_has_cancel=1</action>
3759 <action function="set">tw_show_reboot=1</action>
3760 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3761 <action function="page">action_page</action>
3762 </actions>
3763 </object>
3764
3765 <object type="text" color="%text_color%">
3766 <font resource="font" />
3767 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3768 <text>Swipe to Start Sideload</text>
3769 </object>
3770
3771 <object type="action">
3772 <touch key="home" />
3773 <action function="page">main</action>
3774 </object>
3775
3776 <object type="action">
3777 <touch key="back" />
3778 <action function="page">advanced</action>
3779 </object>
3780
3781 <object type="template" name="footer" />
3782 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003783
3784 <page name="installsu">
3785 <object type="template" name="header" />
3786
3787 <object type="text" color="%text_color%">
3788 <font resource="font" />
3789 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3790 <text>Install SuperSU?</text>
3791 </object>
3792
3793 <object type="text" color="%text_color%">
3794 <font resource="font" />
3795 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3796 <text>Your device does not appear to be rooted.</text>
3797 </object>
3798
3799 <object type="text" color="%text_color%">
3800 <font resource="font" />
3801 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3802 <text>Install SuperSU now?</text>
3803 </object>
3804
3805 <object type="text" color="%text_color%">
3806 <font resource="font" />
3807 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3808 <text>This will root your device.</text>
3809 </object>
3810
3811 <object type="button">
3812 <highlight color="%highlight_color%" />
3813 <placement x="%col_center_x%" y="%row3_y%" />
3814 <font resource="font" color="%button_text_color%" />
3815 <text>Do Not Install</text>
3816 <image resource="main_button" />
3817 <action function="set">tw_page_done=1</action>
3818 </object>
3819
3820 <object type="slider">
3821 <placement x="%slider_x%" y="%slider_y%" />
3822 <resource base="slider" used="slider-used" touch="slider-touch" />
3823 <actions>
3824 <action function="set">tw_action=installsu</action>
3825 <action function="set">tw_action_text1=Installing SuperSU</action>
3826 <action function="set">tw_action_text2=</action>
3827 <action function="page">singleaction_page</action>
3828 </actions>
3829 </object>
3830
3831 <object type="text" color="%text_color%">
3832 <font resource="font" />
3833 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3834 <text>Swipe to Install</text>
3835 </object>
3836 </page>
3837
3838 <page name="fixsu">
3839 <object type="template" name="header" />
3840
3841 <object type="text" color="%text_color%">
3842 <font resource="font" />
3843 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3844 <text>Fix Superuser Permissions?</text>
3845 </object>
3846
3847 <object type="text" color="%text_color%">
3848 <font resource="font" />
3849 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3850 <text>Root permissions appear to be lost.</text>
3851 </object>
3852
3853 <object type="text" color="%text_color%">
3854 <font resource="font" />
3855 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3856 <text>Fix root permissions now?</text>
3857 </object>
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3862 <text>(Fixes permissions on su binary & app)</text>
3863 </object>
3864
3865 <object type="button">
3866 <highlight color="%highlight_color%" />
3867 <placement x="%col_center_x%" y="%row3_y%" />
3868 <font resource="font" color="%button_text_color%" />
3869 <text>Do Not Fix</text>
3870 <image resource="main_button" />
3871 <action function="set">tw_page_done=1</action>
3872 </object>
3873
3874 <object type="slider">
3875 <placement x="%slider_x%" y="%slider_y%" />
3876 <resource base="slider" used="slider-used" touch="slider-touch" />
3877 <actions>
3878 <action function="set">tw_action=fixsu</action>
3879 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3880 <action function="set">tw_action_text2=</action>
3881 <action function="page">singleaction_page</action>
3882 </actions>
3883 </object>
3884
3885 <object type="text" color="%text_color%">
3886 <font resource="font" />
3887 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3888 <text>Swipe to Fix Root</text>
3889 </object>
3890 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003891 </pages>
3892</recovery>