blob: a6931b238727424de2a5b1c7c668b74ef2eb6914 [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" />
178 <variable name="storage_list_height" value="875" />
179 <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
2088 <object type="action">
2089 <touch key="home" />
2090 <action function="page">main</action>
2091 </object>
2092
2093 <object type="action">
2094 <touch key="back" />
2095 <actions>
2096 <action function="page">%tw_back%</action>
2097 </actions>
2098 </object>
2099
2100 <object type="template" name="footer" />
2101 </page>
2102
Dees_Troy51a0e822012-09-05 15:24:24 -04002103 <page name="mount">
2104 <object type="template" name="header" />
2105
Dees_Troya13d74f2013-03-24 08:54:55 -05002106 <object type="partitionlist">
2107 <highlight color="%fileselector_highlight_color%" />
2108 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2109 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2110 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2111 <text>Select Partitions to Mount:</text>
2112 <icon selected="checkbox_true" unselected="checkbox_false" />
2113 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2114 <background color="%listbox_background%" />
2115 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2116 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002117 </object>
2118
2119 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002120 <highlight color="%highlight_color%" />
2121 <fill color="%button_fill_color%" />
2122 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2123 <font resource="font" color="%button_text_color%" />
2124 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2125 <actions>
2126 <action function="set">tw_back=mount</action>
2127 <action function="page">selectstorage</action>
2128 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 </object>
2130
2131 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002132 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002133 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002134 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002135 <font resource="font" color="%button_text_color%" />
2136 <text>Mount USB Storage</text>
2137 <image resource="main_button" />
2138 <action function="page">usb_mount</action>
2139 </object>
2140
Gary Peckffdc6ae2012-11-21 18:02:02 -08002141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002142 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002143 <conditions>
2144 <condition var1="tw_is_encrypted" var2="1" />
2145 <condition var1="tw_is_decrypted" var2="0" />
2146 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002147 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002148 <font resource="font" color="%button_text_color%" />
2149 <text>Decrypt Data</text>
2150 <image resource="main_button" />
2151 <action function="page">decrypt</action>
2152 </object>
2153
Dees_Troy51a0e822012-09-05 15:24:24 -04002154 <object type="action">
2155 <touch key="home" />
2156 <action function="page">main</action>
2157 </object>
2158
2159 <object type="action">
2160 <touch key="back" />
2161 <action function="page">main</action>
2162 </object>
2163
2164 <object type="template" name="footer" />
2165 </page>
2166
2167 <page name="usb_mount">
2168 <object type="template" name="header" />
2169
2170 <object type="text" color="%text_color%">
2171 <font resource="font" />
2172 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2173 <text>USB Storage Mounted</text>
2174 </object>
2175
2176 <object type="text" color="%text_color%">
2177 <placement x="%col1_x%" y="%row1_text_y%" />
2178 <font resource="font" />
2179 <text>Be sure to safely remove your device</text>
2180 </object>
2181
2182 <object type="text" color="%text_color%">
2183 <placement x="%col1_x%" y="%row2_text_y%" />
2184 <font resource="font" />
2185 <text>from your computer before unmounting!</text>
2186 </object>
2187
2188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002190 <placement x="%col1_x%" y="%row3_y%" />
2191 <font resource="font" color="%button_text_color%" />
2192 <text>Unmount</text>
2193 <image resource="main_button" />
2194 <action function="page">usb_umount</action>
2195 </object>
2196
2197 <object type="action">
2198 <action function="mount">usb</action>
2199 </object>
2200
2201 <object type="template" name="footer" />
2202 </page>
2203
2204 <page name="usb_umount">
2205 <object type="action">
2206 <action function="unmount">usb</action>
2207 </object>
2208
2209 <object type="action">
2210 <action function="page">mount</action>
2211 </object>
2212 </page>
2213
2214 <page name="reboot">
2215 <object type="template" name="header" />
2216
2217 <object type="text" color="%text_color%">
2218 <font resource="font" />
2219 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2220 <text>Reboot Menu</text>
2221 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002222
Dees_Troy51a0e822012-09-05 15:24:24 -04002223 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002224 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002225 <condition var1="tw_reboot_system" var2="1" />
2226 <placement x="%col1_x%" y="%row1_y%" />
2227 <font resource="font" color="%button_text_color%" />
2228 <text>System</text>
2229 <image resource="main_button" />
2230 <actions>
2231 <action function="set">tw_back=reboot</action>
2232 <action function="set">tw_action=reboot</action>
2233 <action function="set">tw_action_param=system</action>
2234 <action function="set">tw_has_action2=0</action>
2235 <action function="set">tw_text1=No OS Installed! Are you</action>
2236 <action function="set">tw_text2=sure you wish to reboot?</action>
2237 <action function="set">tw_action_text1=Rebooting...</action>
2238 <action function="set">tw_complete_text1=Rebooting...</action>
2239 <action function="set">tw_slider_text=Swipe to Reboot</action>
2240 <action function="page">rebootcheck</action>
2241 </actions>
2242 </object>
2243
2244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002246 <condition var1="tw_reboot_poweroff" var2="1" />
2247 <placement x="%col2_x%" y="%row1_y%" />
2248 <font resource="font" color="%button_text_color%" />
2249 <text>Power Off</text>
2250 <image resource="main_button" />
2251 <actions>
2252 <action function="set">tw_back=reboot</action>
2253 <action function="set">tw_action=reboot</action>
2254 <action function="set">tw_action_param=poweroff</action>
2255 <action function="set">tw_has_action2=0</action>
2256 <action function="set">tw_text1=No OS Installed! Are you</action>
2257 <action function="set">tw_text2=sure you wish to power off?</action>
2258 <action function="set">tw_action_text1=Turning Off...</action>
2259 <action function="set">tw_complete_text1=Turning Off...</action>
2260 <action function="set">tw_slider_text=Swipe to Power Off</action>
2261 <action function="page">rebootcheck</action>
2262 </actions>
2263 </object>
2264
2265 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002266 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002267 <condition var1="tw_reboot_recovery" var2="1" />
2268 <placement x="%col1_x%" y="%row2_y%" />
2269 <font resource="font" color="%button_text_color%" />
2270 <text>Recovery</text>
2271 <image resource="main_button" />
2272 <actions>
2273 <action function="set">tw_back=reboot</action>
2274 <action function="set">tw_action=reboot</action>
2275 <action function="set">tw_action_param=recovery</action>
2276 <action function="set">tw_has_action2=0</action>
2277 <action function="set">tw_text1=No OS Installed! Are you</action>
2278 <action function="set">tw_text2=sure you wish to reboot?</action>
2279 <action function="set">tw_action_text1=Rebooting...</action>
2280 <action function="set">tw_complete_text1=Rebooting...</action>
2281 <action function="set">tw_slider_text=Swipe to Reboot</action>
2282 <action function="page">rebootcheck</action>
2283 </actions>
2284 </object>
2285
2286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002288 <condition var1="tw_reboot_bootloader" var2="1" />
2289 <placement x="%col2_x%" y="%row2_y%" />
2290 <font resource="font" color="%button_text_color%" />
2291 <text>Bootloader</text>
2292 <image resource="main_button" />
2293 <actions>
2294 <action function="set">tw_back=reboot</action>
2295 <action function="set">tw_action=reboot</action>
2296 <action function="set">tw_action_param=bootloader</action>
2297 <action function="set">tw_has_action2=0</action>
2298 <action function="set">tw_text1=No OS Installed! Are you</action>
2299 <action function="set">tw_text2=sure you wish to reboot?</action>
2300 <action function="set">tw_action_text1=Rebooting...</action>
2301 <action function="set">tw_complete_text1=Rebooting...</action>
2302 <action function="set">tw_slider_text=Swipe to Reboot</action>
2303 <action function="page">rebootcheck</action>
2304 </actions>
2305 </object>
2306
2307 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002308 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002309 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002310 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002311 <font resource="font" color="%button_text_color%" />
2312 <text>Download</text>
2313 <image resource="main_button" />
2314 <actions>
2315 <action function="set">tw_back=reboot</action>
2316 <action function="set">tw_action=reboot</action>
2317 <action function="set">tw_action_param=download</action>
2318 <action function="set">tw_has_action2=0</action>
2319 <action function="set">tw_text1=No OS Installed! Are you</action>
2320 <action function="set">tw_text2=sure you wish to reboot?</action>
2321 <action function="set">tw_action_text1=Rebooting...</action>
2322 <action function="set">tw_complete_text1=Rebooting...</action>
2323 <action function="set">tw_slider_text=Swipe to Reboot</action>
2324 <action function="page">rebootcheck</action>
2325 </actions>
2326 </object>
2327
2328 <object type="action">
2329 <touch key="home" />
2330 <action function="page">main</action>
2331 </object>
2332
2333 <object type="action">
2334 <touch key="back" />
2335 <action function="page">main</action>
2336 </object>
2337
2338 <object type="template" name="footer" />
2339 </page>
2340
2341 <page name="settings">
2342 <object type="template" name="header" />
2343
2344 <object type="text" color="%text_color%">
2345 <font resource="font" />
2346 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2347 <text>Settings</text>
2348 </object>
2349
2350 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002351 <placement x="%col1_x%" y="%row1_text_y%" />
2352 <font resource="font" color="%text_color%" />
2353 <text>Zip file signature verification.</text>
2354 <data variable="tw_signed_zip_verify" />
2355 <image checked="checkbox_true" unchecked="checkbox_false" />
2356 </object>
2357
2358 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002359 <placement x="%col1_x%" y="%row2_text_y%" />
2360 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002361 <text>Use rm -rf instead of formatting.</text>
2362 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002363 <image checked="checkbox_true" unchecked="checkbox_false" />
2364 </object>
2365
2366 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002367 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002368 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002369 <text>Skip MD5 generation during backup.</text>
2370 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002371 <image checked="checkbox_true" unchecked="checkbox_false" />
2372 </object>
2373
2374 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002375 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002377 <text>Enable MD5 verification of backup files.</text>
2378 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002379 <image checked="checkbox_true" unchecked="checkbox_false" />
2380 </object>
2381
2382 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002383 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002385 <text>Use Military Time.</text>
2386 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002391 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002393 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <data variable="tw_simulate_actions" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
2399 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002400 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002402 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <data variable="tw_simulate_fail" />
2404 <image checked="checkbox_true" unchecked="checkbox_false" />
2405 </object>
2406
2407 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <placement x="%col1_x%" y="%row3_y%" />
2410 <font resource="font" color="%button_text_color%" />
2411 <text>Time Zone</text>
2412 <image resource="main_button" />
2413 <action function="page">timezone</action>
2414 </object>
2415
2416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002417 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002418 <placement x="%col2_x%" y="%row3_y%" />
2419 <font resource="font" color="%button_text_color%" />
2420 <text>Screen</text>
2421 <image resource="main_button" />
2422 <action function="page">screen</action>
2423 </object>
2424
2425 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <placement x="%col_center_x%" y="%row4_y%" />
2427 <font resource="font" color="%button_text_color%" />
2428 <text>Restore Defaults</text>
2429 <image resource="main_button" />
2430 <action function="restoredefaultsettings"></action>
2431 </object>
2432
2433 <object type="action">
2434 <touch key="home" />
2435 <action function="page">main</action>
2436 </object>
2437
2438 <object type="action">
2439 <touch key="back" />
2440 <action function="page">main</action>
2441 </object>
2442
2443 <object type="template" name="footer" />
2444 </page>
2445
2446 <page name="timezone">
2447 <object type="template" name="header" />
2448
Dees_Troy51a0e822012-09-05 15:24:24 -04002449 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002450 <highlight color="%fileselector_highlight_color%" />
2451 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2452 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002453 <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 -06002454 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002455 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002456 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002458 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002459 <data name="tw_time_zone_guisel" />
2460 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2461 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2462 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2463 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2464 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2465 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2466 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2467 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2468 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2469 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2470 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2471 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2472 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2473 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2474 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2475 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2476 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2477 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2478 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2479 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2480 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2481 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2482 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2483 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2484 </object>
2485
2486 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002487 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002488 <font resource="font" color="%text_color%" />
2489 <text>Do you use daylight savings time (DST)?</text>
2490 <data variable="tw_time_zone_guidst" />
2491 <image checked="checkbox_true" unchecked="checkbox_false" />
2492 </object>
2493
2494 <object type="text" color="%text_color%">
2495 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002496 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2498 </object>
2499
2500 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002501 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002502 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <font resource="font" color="%button_text_color%" />
2504 <text>None</text>
2505 <image resource="medium_button" />
2506 <action function="set">tw_time_zone_guioffset=0</action>
2507 </object>
2508
2509 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002510 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002511 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002512 <font resource="font" color="%button_text_color%" />
2513 <text>15</text>
2514 <image resource="medium_button" />
2515 <action function="set">tw_time_zone_guioffset=15</action>
2516 </object>
2517
2518 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002519 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002520 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002521 <font resource="font" color="%button_text_color%" />
2522 <text>30</text>
2523 <image resource="medium_button" />
2524 <action function="set">tw_time_zone_guioffset=30</action>
2525 </object>
2526
2527 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002528 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002529 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002530 <font resource="font" color="%button_text_color%" />
2531 <text>45</text>
2532 <image resource="medium_button" />
2533 <action function="set">tw_time_zone_guioffset=45</action>
2534 </object>
2535
2536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002537 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <placement x="%col_center_x%" y="%tz_set_y%" />
2539 <font resource="font" color="%button_text_color%" />
2540 <text>Set Time Zone</text>
2541 <image resource="main_button" />
2542 <action function="setguitimezone"></action>
2543 </object>
2544
2545 <object type="text" color="%text_color%">
2546 <font resource="font" />
2547 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2548 <text>Current Time Zone: %tw_time_zone%</text>
2549 </object>
2550
2551 <object type="action">
2552 <touch key="home" />
2553 <action function="page">main</action>
2554 </object>
2555
2556 <object type="action">
2557 <touch key="back" />
2558 <action function="page">settings</action>
2559 </object>
2560
2561 <object type="template" name="footer" />
2562 </page>
2563
Dees_Troy2f9117a2013-02-17 19:52:09 -06002564 <page name="screen">
2565 <object type="template" name="header" />
2566
2567 <object type="text" color="%text_color%">
2568 <font resource="font" />
2569 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2570 <text>Screen Settings</text>
2571 </object>
2572
Dees_Troy2f9117a2013-02-17 19:52:09 -06002573 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002574 <placement x="%col1_x%" y="%row2_text_y%" />
2575 <font resource="font" color="%text_color%" />
2576 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2577 <text>Enable screen timeout.</text>
2578 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002579 <action function="set">tw_screen_timeout_secs=60</action>
2580 </object>
2581
2582 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002583 <placement x="%col1_x%" y="%row2_text_y%" />
2584 <font resource="font" color="%text_color%" />
2585 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2586 <text>Enable screen timeout.</text>
2587 <image resource="checkbox_true" />
2588 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002589 </object>
2590
Vojtech Bocek85932342013-04-01 22:11:33 +02002591 <object type="slidervalue">
2592 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2593 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2594 <font resource="font" color="%text_color%" />
2595 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2596 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2597 <text>Screen timeout in seconds:</text>
2598 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002599 </object>
2600
Vojtech Bocek85932342013-04-01 22:11:33 +02002601 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002602 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002603 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2604 <font resource="font" color="%text_color%" />
2605 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2606 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2607 <text>Brightness: %tw_brightness_pct%%</text>
2608 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002609 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002610 <action function="set">tw_brightness=%tw_brightness_max%</action>
2611 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2612 <action function="compute">tw_brightness/100</action>
2613 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002614 </actions>
2615 </object>
2616
2617 <object type="action">
2618 <touch key="home" />
2619 <action function="page">main</action>
2620 </object>
2621
2622 <object type="action">
2623 <touch key="back" />
2624 <action function="page">settings</action>
2625 </object>
2626
2627 <object type="template" name="footer" />
2628 </page>
2629
Dees_Troy51a0e822012-09-05 15:24:24 -04002630 <page name="advanced">
2631 <object type="template" name="header" />
2632
2633 <object type="text" color="%text_color%">
2634 <font resource="font" />
2635 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2636 <text>Advanced</text>
2637 </object>
2638
2639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002641 <placement x="%col1_x%" y="%row1_y%" />
2642 <font resource="font" color="%button_text_color%" />
2643 <text>Copy Log to SD</text>
2644 <image resource="main_button" />
2645 <actions>
2646 <action function="set">tw_back=advanced</action>
2647 <action function="set">tw_action=copylog</action>
2648 <action function="set">tw_text1=Copy Log to SD Card?</action>
2649 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2650 <action function="set">tw_complete_text1=Log Copy Complete</action>
2651 <action function="set">tw_slider_text=Swipe to Confirm</action>
2652 <action function="page">confirm_action</action>
2653 </actions>
2654 </object>
2655
2656 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002657 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002658 <placement x="%col2_x%" y="%row1_y%" />
2659 <font resource="font" color="%button_text_color%" />
2660 <text>Fix Permissions</text>
2661 <image resource="main_button" />
2662 <actions>
2663 <action function="set">tw_back=advanced</action>
2664 <action function="set">tw_action=fixpermissions</action>
2665 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002666 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002667 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2668 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002669 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002670 <action function="page">confirm_action</action>
2671 </actions>
2672 </object>
2673
2674 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002675 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002676 <condition var1="tw_allow_partition_sdcard" var2="1" />
2677 <placement x="%col1_x%" y="%row2_y%" />
2678 <font resource="font" color="%button_text_color%" />
2679 <text>Partition SD Card</text>
2680 <image resource="main_button" />
2681 <action function="page">partsdcard</action>
2682 </object>
2683
2684 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002685 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002686 <placement x="%col2_x%" y="%row2_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>File Manager</text>
2689 <image resource="main_button" />
2690 <action function="page">filemanagerlist</action>
2691 </object>
2692
2693 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002694 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002695 <placement x="%col1_x%" y="%row3_y%" />
2696 <font resource="font" color="%button_text_color%" />
2697 <text>Terminal Command</text>
2698 <image resource="main_button" />
2699 <action function="page">terminalfolder</action>
2700 </object>
2701
2702 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002703 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002704 <placement x="%col2_x%" y="%row3_y%" />
2705 <font resource="font" color="%button_text_color%" />
2706 <text>Reload Theme</text>
2707 <image resource="main_button" />
2708 <action function="reload"></action>
2709 </object>
2710
2711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002712 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002713 <placement x="%col1_x%" y="%row4_y%" />
2714 <font resource="font" color="%button_text_color%" />
2715 <text>ADB Sideload</text>
2716 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002717 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002718 </object>
2719
2720 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002721 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002722 <condition var1="tw_show_dumlock" var2="1" />
2723 <placement x="%col2_x%" y="%row4_y%" />
2724 <font resource="font" color="%button_text_color%" />
2725 <text>HTC Dumlock</text>
2726 <image resource="main_button" />
2727 <action function="page">htcdumlock</action>
2728 </object>
2729
2730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <condition var1="tw_has_injecttwrp" var2="1" />
2733 <placement x="%col2_x%" y="%row4_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text>Re-Inject TWRP</text>
2736 <image resource="main_button" />
2737 <actions>
2738 <action function="set">tw_back=advanced</action>
2739 <action function="set">tw_action=reinjecttwrp</action>
2740 <action function="set">tw_text1=Re-Inject TWRP?</action>
2741 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2742 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2743 <action function="set">tw_slider_text=Swipe to Confirm</action>
2744 <action function="page">confirm_action</action>
2745 </actions>
2746 </object>
2747
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <object type="action">
2749 <touch key="home" />
2750 <action function="page">main</action>
2751 </object>
2752
2753 <object type="action">
2754 <touch key="back" />
2755 <action function="page">main</action>
2756 </object>
2757
2758 <object type="template" name="footer" />
2759 </page>
2760
2761 <page name="partsdcard">
2762 <object type="template" name="header" />
2763
2764 <object type="text" color="%text_color%">
2765 <font resource="font" />
2766 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2767 <text>Partition SD Card</text>
2768 </object>
2769
2770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002771 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <placement x="%col1_x%" y="%row1_y%" />
2773 <font resource="font" color="%button_text_color%" />
2774 <text></text>
2775 <image resource="minus_button" />
2776 <action function="addsubtract">tw_sdext_size-128</action>
2777 </object>
2778
2779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <placement x="%sd_plus_x%" y="%row1_y%" />
2782 <font resource="font" color="%button_text_color%" />
2783 <text></text>
2784 <image resource="plus_button" />
2785 <action function="addsubtract">tw_sdext_size+128</action>
2786 </object>
2787
2788 <object type="text" color="%text_color%">
2789 <font resource="font" />
2790 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2791 <text>EXT Size: %tw_sdext_size%</text>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <placement x="%col1_x%" y="%sdswap_button_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text></text>
2799 <image resource="minus_button" />
2800 <action function="addsubtract">tw_swap_size-32</action>
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002805 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text></text>
2808 <image resource="plus_button" />
2809 <action function="addsubtract">tw_swap_size+32</action>
2810 </object>
2811
2812 <object type="text" color="%text_color%">
2813 <font resource="font" />
2814 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2815 <text>Swap Size: %tw_swap_size%</text>
2816 </object>
2817
2818 <object type="text" color="%text_color%">
2819 <font resource="font" />
2820 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2821 <text>File system: %tw_sdpart_file_system%</text>
2822 </object>
2823
2824 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002825 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002826 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2827 <font resource="font" color="%button_text_color%" />
2828 <text>EXT3</text>
2829 <image resource="main_button" />
2830 <action function="set">tw_sdpart_file_system=ext3</action>
2831 </object>
2832
2833 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002834 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002835 <condition var1="tw_sdext_disable_ext4" var2="0" />
2836 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2837 <font resource="font" color="%button_text_color%" />
2838 <text>EXT4</text>
2839 <image resource="main_button" />
2840 <action function="set">tw_sdpart_file_system=ext4</action>
2841 </object>
2842
2843 <object type="text" color="%text_color%">
2844 <font resource="font" />
2845 <placement x="%col1_x%" y="%row12_text_y%" />
2846 <text>You will lose all files on your SD card!</text>
2847 </object>
2848
2849 <object type="text" color="%text_color%">
2850 <font resource="font" />
2851 <placement x="%col1_x%" y="%row13_text_y%" />
2852 <text>This action cannot be undone!</text>
2853 </object>
2854
2855 <object type="slider">
2856 <placement x="%slider_x%" y="%slider_y%" />
2857 <resource base="slider" used="slider-used" touch="slider-touch" />
2858 <action function="page">partsdcardaction</action>
2859 <actions>
2860 <action function="set">tw_back=partsdcard</action>
2861 <action function="set">tw_action=partitionsd</action>
2862 <action function="set">tw_has_action2=1</action>
2863 <action function="set">tw_action2=set</action>
2864 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2865 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2866 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002867 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <action function="page">action_page</action>
2869 </actions>
2870 </object>
2871
2872 <object type="text" color="%text_color%">
2873 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002874 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <text>Swipe to Partition</text>
2876 </object>
2877
2878 <object type="action">
2879 <touch key="home" />
2880 <action function="page">main</action>
2881 </object>
2882
2883 <object type="action">
2884 <touch key="back" />
2885 <action function="page">advanced</action>
2886 </object>
2887
2888 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002889 </page>
2890
2891 <page name="htcdumlock">
2892 <object type="template" name="header" />
2893
2894 <object type="text" color="%text_color%">
2895 <font resource="font" />
2896 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2897 <text>HTC Dumlock</text>
2898 </object>
2899
2900 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002901 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002902 <condition var1="tw_show_dumlock" var2="1" />
2903 <placement x="%col1_x%" y="%row1_y%" />
2904 <font resource="font" color="%button_text_color%" />
2905 <text>Restore Original Boot</text>
2906 <image resource="main_button" />
2907 <actions>
2908 <action function="set">tw_back=htcdumlock</action>
2909 <action function="set">tw_action=htcdumlockrestoreboot</action>
2910 <action function="set">tw_text1=Restore original boot image?</action>
2911 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2912 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2913 <action function="set">tw_slider_text=Swipe to Confirm</action>
2914 <action function="page">confirm_action</action>
2915 </actions>
2916 </object>
2917
2918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002919 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <condition var1="tw_show_dumlock" var2="1" />
2921 <placement x="%col2_x%" y="%row1_y%" />
2922 <font resource="font" color="%button_text_color%" />
2923 <text>Reflash Recovery</text>
2924 <image resource="main_button" />
2925 <actions>
2926 <action function="set">tw_back=htcdumlock</action>
2927 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2928 <action function="set">tw_text1=Reflash recovery to boot?</action>
2929 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2930 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2931 <action function="set">tw_slider_text=Swipe to Confirm</action>
2932 <action function="page">confirm_action</action>
2933 </actions>
2934 </object>
2935
2936 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002937 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002938 <condition var1="tw_show_dumlock" var2="1" />
2939 <placement x="%col1_x%" y="%row2_y%" />
2940 <font resource="font" color="%button_text_color%" />
2941 <text>Install HTC Dumlock</text>
2942 <image resource="main_button" />
2943 <actions>
2944 <action function="set">tw_back=htcdumlock</action>
2945 <action function="set">tw_action=installhtcdumlock</action>
2946 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2947 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2948 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2949 <action function="set">tw_slider_text=Swipe to Confirm</action>
2950 <action function="page">confirm_action</action>
2951 </actions>
2952 </object>
2953
2954 <object type="action">
2955 <touch key="home" />
2956 <action function="page">main</action>
2957 </object>
2958
2959 <object type="action">
2960 <touch key="back" />
2961 <action function="page">advanced</action>
2962 </object>
2963
2964 <object type="template" name="footer" />
2965 </page>
2966
2967 <page name="lock">
2968 <background color="#000000A0" />
2969
2970 <object type="image">
2971 <image resource="unlock-icon" />
2972 <placement x="%lock_x%" y="%lock_y%" />
2973 </object>
2974
2975 <object type="slider">
2976 <placement x="%slider_x%" y="%slider_y%" />
2977 <resource base="slider" used="slider-used" touch="slider-touch" />
2978 <action function="overlay"></action>
2979 </object>
2980
2981 <object type="text" color="%text_color%">
2982 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002983 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002984 <text>Swipe to Unlock</text>
2985 </object>
2986 </page>
2987
2988 <page name="filemanagerlist">
2989 <object type="template" name="header" />
2990
2991 <object type="text" color="%text_color%">
2992 <font resource="font" />
2993 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2994 <text>File Manager: Select a File or Folder</text>
2995 </object>
2996
2997 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002998 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002999 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3000 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003001 <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 -04003002 <text>%tw_file_location1%</text>
3003 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3004 <sort name="tw_gui_sort_order" />
3005 <icon folder="folder_icon" file="file_icon" />
3006 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003007 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003008 <folders="1" files="1" />
3009 <path name="tw_file_location1" default="/" />
3010 <data name="tw_filename1" />
3011 <selection name="tw_selection1" />
3012 </object>
3013
3014 <object type="template" name="sort_options" />
3015
3016 <object type="action">
3017 <actions>
3018 <action function="set">tw_fm_type=File</action>
3019 <action function="set">tw_fm_isfolder=0</action>
3020 </actions>
3021 </object>
3022
3023 <object type="action">
3024 <touch key="home" />
3025 <action function="page">main</action>
3026 </object>
3027
3028 <object type="action">
3029 <touch key="back" />
3030 <action function="page">advanced</action>
3031 </object>
3032
3033 <object type="action">
3034 <condition var1="tw_filename1" op="modified" />
3035 <actions>
3036 <action function="page">filemanageroptions</action>
3037 </actions>
3038 </object>
3039
3040 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003041 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003042 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3043 <font resource="font" color="%button_text_color%" />
3044 <text>Select</text>
3045 <image resource="medium_button" />
3046 <actions>
3047 <action function="set">tw_filename1=tw_file_location1</action>
3048 <action function="set">tw_fm_isfolder=1</action>
3049 <action function="set">tw_fm_type=Folder</action>
3050 <action function="page">filemanageroptions</action>
3051 </actions>
3052 </object>
3053
3054 <object type="template" name="footer" />
3055 </page>
3056
3057 <page name="filemanageroptions">
3058 <object type="template" name="header" />
3059
3060 <object type="text" color="%text_color%">
3061 <font resource="font" />
3062 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3063 <text>%tw_fm_type% Selected:</text>
3064 </object>
3065
3066 <object type="text" color="%text_color%">
3067 <font resource="font" />
3068 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3069 <text>%tw_filename1%</text>
3070 </object>
3071
3072 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003073 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003074 <condition var1="tw_fm_isfolder" var2="0" />
3075 <placement x="%col1_x%" y="%row2_y%" />
3076 <font resource="font" color="%button_text_color%" />
3077 <text>Copy File</text>
3078 <image resource="main_button" />
3079 <actions>
3080 <action function="set">tw_filemanager_command=cp</action>
3081 <action function="set">tw_fm_text1=Copying</action>
3082 <action function="page">choosedestinationfolder</action>
3083 </actions>
3084 </object>
3085
3086 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003087 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003088 <condition var1="tw_fm_isfolder" var2="1" />
3089 <placement x="%col1_x%" y="%row2_y%" />
3090 <font resource="font" color="%button_text_color%" />
3091 <text>Copy Folder</text>
3092 <image resource="main_button" />
3093 <actions>
3094 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3095 <action function="set">tw_fm_text1=Copying</action>
3096 <action function="page">choosedestinationfolder</action>
3097 </actions>
3098 </object>
3099
3100 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003101 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003102 <placement x="%col2_x%" y="%row2_y%" />
3103 <font resource="font" color="%button_text_color%" />
3104 <text>Move</text>
3105 <image resource="main_button" />
3106 <actions>
3107 <action function="set">tw_filemanager_command=mv</action>
3108 <action function="set">tw_fm_text1=Moving</action>
3109 <action function="page">choosedestinationfolder</action>
3110 </actions>
3111 </object>
3112
3113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <placement x="%col1_x%" y="%row3_y%" />
3116 <font resource="font" color="%button_text_color%" />
3117 <text>chmod 755</text>
3118 <image resource="main_button" />
3119 <actions>
3120 <action function="set">tw_filemanager_command=chmod 755</action>
3121 <action function="set">tw_fm_text1=chmod 755</action>
3122 <action function="set">tw_fm_text2=</action>
3123 <action function="set">tw_fm_text3=</action>
3124 <action function="set">tw_include_text3=0</action>
3125 <action function="set">tw_back=filemanageroptions</action>
3126 <action function="page">filemanagerconfirm</action>
3127 </actions>
3128 </object>
3129
3130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003132 <placement x="%col2_x%" y="%row3_y%" />
3133 <font resource="font" color="%button_text_color%" />
3134 <text>chmod</text>
3135 <image resource="main_button" />
3136 <actions>
3137 <action function="set">tw_filemanager_rename=0000</action>
3138 <action function="set">tw_fm_text2=</action>
3139 <action function="set">tw_fm_text3=</action>
3140 <action function="set">tw_include_text3=0</action>
3141 <action function="set">tw_back=filemanageroptions</action>
3142 <action function="page">filemanagerchmod</action>
3143 </actions>
3144 </object>
3145
3146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003148 <placement x="%col1_x%" y="%row4_y%" />
3149 <font resource="font" color="%button_text_color%" />
3150 <text>Delete</text>
3151 <image resource="main_button" />
3152 <actions>
3153 <action function="set">tw_filemanager_command=rm -rf</action>
3154 <action function="set">tw_fm_text1=Deleting</action>
3155 <action function="set">tw_fm_text2=</action>
3156 <action function="set">tw_fm_text3=</action>
3157 <action function="set">tw_include_text3=0</action>
3158 <action function="set">tw_back=filemanageroptions</action>
3159 <action function="page">filemanagerconfirm</action>
3160 </actions>
3161 </object>
3162
3163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003165 <condition var1="tw_fm_isfolder" var2="0" />
3166 <placement x="%col2_x%" y="%row4_y%" />
3167 <font resource="font" color="%button_text_color%" />
3168 <text>Rename File</text>
3169 <image resource="main_button" />
3170 <actions>
3171 <action function="set">tw_filemanager_rename=tw_selection1</action>
3172 <action function="set">tw_fm_text1=Renaming</action>
3173 <action function="set">tw_filemanager_command=mv</action>
3174 <action function="page">filemanagerrenamefile</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="1" />
3181 <placement x="%col2_x%" y="%row4_y%" />
3182 <font resource="font" color="%button_text_color%" />
3183 <text>Rename Folder</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=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3189 <action function="page">filemanagerrenamefolder</action>
3190 </actions>
3191 </object>
3192
3193 <object type="action">
3194 <touch key="home" />
3195 <action function="page">main</action>
3196 </object>
3197
3198 <object type="action">
3199 <touch key="back" />
3200 <action function="page">filemanagerlist</action>
3201 </object>
3202
3203 <object type="template" name="footer" />
3204 </page>
3205
3206 <page name="choosedestinationfolder">
3207 <object type="template" name="header" />
3208
3209 <object type="text" color="%text_color%">
3210 <font resource="font" />
3211 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3212 <text>Browse to Destination Folder & Press Select</text>
3213 </object>
3214
3215 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003216 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003217 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3218 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003219 <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 -04003220 <text>%tw_file_location2%</text>
3221 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3222 <sort name="tw_gui_sort_order" />
3223 <icon folder="folder_icon" file="file_icon" />
3224 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003225 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003226 <filter folders="1" files="0" />
3227 <path name="tw_file_location2" default="/" />
3228 <data name="tw_filename2" />
3229 <selection name="tw_selection2" />
3230 </object>
3231
3232 <object type="template" name="sort_options" />
3233
3234 <object type="action">
3235 <touch key="home" />
3236 <action function="page">main</action>
3237 </object>
3238
3239 <object type="action">
3240 <touch key="back" />
3241 <action function="page">filemanageroptions</action>
3242 </object>
3243
3244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003246 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3247 <font resource="font" color="%button_text_color%" />
3248 <text>Select</text>
3249 <image resource="medium_button" />
3250 <actions>
3251 <action function="set">tw_fm_text2=to</action>
3252 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3253 <action function="set">tw_include_text3=1</action>
3254 <action function="set">tw_back=filemanageroptions</action>
3255 <action function="page">filemanagerconfirm</action>
3256 </actions>
3257 </object>
3258
3259 <object type="template" name="footer" />
3260 </page>
3261
3262 <page name="filemanagerrenamefile">
3263 <object type="template" name="header" />
3264
3265 <object type="text" color="%text_color%">
3266 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3267 <font resource="font" />
3268 <text>Please Enter a New %tw_fm_type% Name</text>
3269 </object>
3270
3271 <object type="input">
3272 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3273 <background color="%input_background_color%" />
3274 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3275 <font resource="font" color="%text_color%" />
3276 <text>%tw_filemanager_rename%</text>
3277 <data name="tw_filemanager_rename" />
3278 <restrict minlen="1" maxlen="128" />
3279 <actions>
3280 <action function="set">tw_fm_text2=to</action>
3281 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3282 <action function="set">tw_include_text3=1</action>
3283 <action function="set">tw_back=filemanageroptions</action>
3284 <action function="page">filemanagerconfirm</action>
3285 </actions>
3286 </object>
3287
3288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003290 <placement x="%col_center_x%" y="%row2_y%" />
3291 <font resource="font" color="%button_text_color%" />
3292 <text>Cancel</text>
3293 <image resource="main_button" />
3294 <action function="page">filemanageroptions</action>
3295 </object>
3296
3297 <object type="template" name="keyboardtemplate" />
3298
3299 <object type="action">
3300 <touch key="home" />
3301 <action function="page">main</action>
3302 </object>
3303
3304 <object type="action">
3305 <touch key="back" />
3306 <action function="page">filemanageroptions</action>
3307 </object>
3308
3309 <object type="template" name="footer" />
3310 </page>
3311
3312 <page name="filemanagerrenamefolder">
3313 <object type="template" name="header" />
3314
3315 <object type="text" color="%text_color%">
3316 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3317 <font resource="font" />
3318 <text>Please Enter a New %tw_fm_type% Name</text>
3319 </object>
3320
3321 <object type="input">
3322 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3323 <background color="%input_background_color%" />
3324 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3325 <font resource="font" color="%text_color%" />
3326 <text>%tw_filemanager_rename%</text>
3327 <data name="tw_filemanager_rename" />
3328 <restrict minlen="1" maxlen="128" />
3329 <actions>
3330 <action function="set">tw_fm_text2=to</action>
3331 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3332 <action function="set">tw_include_text3=1</action>
3333 <action function="set">tw_back=filemanageroptions</action>
3334 <action function="page">filemanagerconfirm</action>
3335 </actions>
3336 </object>
3337
3338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 <placement x="%col_center_x%" y="%row2_y%" />
3341 <font resource="font" color="%button_text_color%" />
3342 <text>Cancel</text>
3343 <image resource="main_button" />
3344 <action function="page">filemanageroptions</action>
3345 </object>
3346
3347 <object type="template" name="keyboardtemplate" />
3348
3349 <object type="action">
3350 <touch key="home" />
3351 <action function="page">main</action>
3352 </object>
3353
3354 <object type="action">
3355 <touch key="back" />
3356 <action function="page">filemanageroptions</action>
3357 </object>
3358
3359 <object type="template" name="footer" />
3360 </page>
3361
3362 <page name="filemanagerchmod">
3363 <object type="template" name="header" />
3364
3365 <object type="text" color="%text_color%">
3366 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3367 <font resource="font" />
3368 <text>Please Enter New Permissions</text>
3369 </object>
3370
3371 <object type="input">
3372 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3373 <background color="%input_background_color%" />
3374 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3375 <font resource="font" color="%text_color%" />
3376 <text>%tw_filemanager_rename%</text>
3377 <data name="tw_filemanager_rename" />
3378 <restrict minlen="3" maxlen="4" allow="0123456789" />
3379 <actions>
3380 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3381 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3382 <action function="set">tw_back=filemanageroptions</action>
3383 <action function="page">filemanagerconfirm</action>
3384 </actions>
3385 </object>
3386
3387 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003388 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003389 <placement x="%col_center_x%" y="%row2_y%" />
3390 <font resource="font" color="%button_text_color%" />
3391 <text>Cancel</text>
3392 <image resource="main_button" />
3393 <action function="page">filemanageroptions</action>
3394 </object>
3395
3396 <object type="template" name="keyboardtemplate" />
3397
3398 <object type="action">
3399 <touch key="home" />
3400 <action function="page">main</action>
3401 </object>
3402
3403 <object type="action">
3404 <touch key="back" />
3405 <action function="page">filemanageroptions</action>
3406 </object>
3407
3408 <object type="template" name="footer" />
3409 </page>
3410
3411 <page name="filemanagerconfirm">
3412 <object type="template" name="header" />
3413
3414 <object type="text" color="%text_color%">
3415 <font resource="font" />
3416 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3417 <text>%tw_fm_text1%</text>
3418 </object>
3419
3420 <object type="text" color="%text_color%">
3421 <font resource="font" />
3422 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3423 <text>%tw_filename1%</text>
3424 </object>
3425
3426 <object type="text" color="%text_color%">
3427 <font resource="font" />
3428 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3429 <text>%tw_fm_text2%</text>
3430 </object>
3431
3432 <object type="text" color="%text_color%">
3433 <font resource="font" />
3434 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3435 <text>%tw_fm_text3%</text>
3436 </object>
3437
3438 <object type="text" color="%text_color%">
3439 <font resource="font" />
3440 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3441 <text>Press back button to cancel.</text>
3442 </object>
3443
3444 <object type="slider">
3445 <placement x="%slider_x%" y="%slider_y%" />
3446 <resource base="slider" used="slider-used" touch="slider-touch" />
3447 <action function="page">filemanageracction</action>
3448 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003449
Dees_Troy51a0e822012-09-05 15:24:24 -04003450 <object type="text" color="%text_color%">
3451 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003452 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003453 <text>Swipe to Confirm</text>
3454 </object>
3455
3456 <object type="action">
3457 <touch key="back" />
3458 <action function="page">%tw_back%</action>
3459 </object>
3460
3461 <object type="action">
3462 <touch key="home" />
3463 <action function="page">main</action>
3464 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003465
Dees_Troy51a0e822012-09-05 15:24:24 -04003466 <object type="template" name="footer" />
3467 </page>
3468
3469 <page name="filemanageracction">
3470 <object type="template" name="header" />
3471
3472 <object type="text" color="%text_color%">
3473
3474 <font resource="font" />
3475 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3476 <text>%tw_fm_text1%</text>
3477 </object>
3478
3479 <object type="template" name="action_page_console" />
3480
3481 <object type="template" name="progress_bar" />
3482
3483 <object type="action">
3484 <conditions>
3485 <condition var1="tw_operation_state" var2="1" />
3486 <condition var1="tw_operation_status" var2="0" />
3487 </conditions>
3488 <actions>
3489 <action function="set">tw_back=filemanagerlist</action>
3490 <action function="set">tw_complete_text1=File Operation Complete</action>
3491 <action function="page">action_complete</action>
3492 </actions>
3493 </object>
3494
3495 <object type="action">
3496 <conditions>
3497 <condition var1="tw_operation_state" var2="1" />
3498 <condition var1="tw_operation_status" op="!=" var2="0" />
3499 </conditions>
3500 <actions>
3501 <action function="set">tw_complete_text1=File Operation Complete</action>
3502 <action function="page">action_complete</action>
3503 </actions>
3504 </object>
3505
3506 <object type="action">
3507 <condition var1="tw_include_text3" var2="0" />
3508 <actions>
3509 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3510 </actions>
3511 </object>
3512
3513 <object type="action">
3514 <condition var1="tw_include_text3" var2="1" />
3515 <actions>
3516 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3517 </actions>
3518 </object>
3519 </page>
3520
3521 <page name="decrypt">
3522 <object type="template" name="header" />
3523
3524 <object type="text" color="%text_color%">
3525 <font resource="font" />
3526 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3527 <text>Please Enter Your Password</text>
3528 </object>
3529
3530 <object type="input">
3531 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3532 <background color="%input_background_color%" />
3533 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3534 <font resource="font" color="%text_color%" />
3535 <text>%tw_crypto_display%</text>
3536 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3537 <restrict minlen="1" maxlen="254" />
3538 <actions>
3539 <action function="page">trydecrypt</action>
3540 </actions>
3541 </object>
3542
3543 <object type="text" color="%text_fail_color%">
3544 <condition var1="tw_password_fail" var2="1" />
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3547 <text>Password Failed, Please Try Again</text>
3548 </object>
3549
3550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003551 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003552 <placement x="%col_center_x%" y="%row2_y%" />
3553 <font resource="font" color="%button_text_color%" />
3554 <text>Cancel</text>
3555 <image resource="main_button" />
3556 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003557 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003558 <action function="page">main</action>
3559 </actions>
3560 </object>
3561
3562 <object type="template" name="keyboardtemplate" />
3563
Dees_Troy51a0e822012-09-05 15:24:24 -04003564 <object type="template" name="footer" />
3565 </page>
3566
3567 <page name="trydecrypt">
3568 <object type="template" name="header" />
3569
3570 <object type="text" color="%text_color%">
3571 <font resource="font" />
3572 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3573 <text>Trying Decryption with Your Password</text>
3574 </object>
3575
3576 <object type="template" name="action_page_console" />
3577
3578 <object type="template" name="progress_bar" />
3579
3580 <object type="action">
3581 <action function="decrypt"></action>
3582 </object>
3583
3584 <object type="action">
3585 <conditions>
3586 <condition var1="tw_operation_state" var2="1" />
3587 <condition var1="tw_operation_status" op="!=" var2="0" />
3588 </conditions>
3589 <actions>
3590 <action function="set">tw_password_fail=1</action>
3591 <action function="page">decrypt</action>
3592 </actions>
3593 </object>
3594
3595 <object type="action">
3596 <conditions>
3597 <condition var1="tw_operation_state" var2="1" />
3598 <condition var1="tw_operation_status" op="=" var2="0" />
3599 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003600 <actions>
3601 <action function="set">tw_page_done=1</action>
3602 <action function="page">main</action>
3603 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003604 </object>
3605 </page>
3606
3607 <page name="terminalfolder">
3608 <object type="template" name="header" />
3609
3610 <object type="text" color="%text_color%">
3611 <font resource="font" />
3612 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3613 <text>Browse to Starting Folder</text>
3614 </object>
3615
3616 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003617 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003618 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3619 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003620 <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 -04003621 <text>%tw_terminal_location%</text>
3622 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3623 <sort name="tw_gui_sort_order" />
3624 <icon folder="folder_icon" file="file_icon" />
3625 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003626 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003627 <filter folders="1" files="0" />
3628 <path name="tw_terminal_location" default="/" />
3629 <data name="tw_terminal" />
3630 <selection name="tw_terminal_selection" />
3631 </object>
3632
3633 <object type="template" name="sort_options" />
3634
3635 <object type="action">
3636 <touch key="home" />
3637 <action function="page">main</action>
3638 </object>
3639
3640 <object type="action">
3641 <touch key="back" />
3642 <action function="page">advanced</action>
3643 </object>
3644
3645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003647 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3648 <font resource="font" color="%button_text_color%" />
3649 <text>Select</text>
3650 <image resource="medium_button" />
3651 <actions>
3652 <action function="page">terminalcommand</action>
3653 </actions>
3654 </object>
3655
3656 <object type="template" name="footer" />
3657 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003658
Dees_Troy51a0e822012-09-05 15:24:24 -04003659 <page name="terminalcommand">
3660 <object type="template" name="header" />
3661
3662 <object type="console">
3663 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3664 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3665 <font resource="fixed" />
3666 </object>
3667
3668 <object type="text" color="%text_color%">
3669 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3670 <font resource="font" />
3671 <text>Starting Path: %tw_terminal_location%</text>
3672 </object>
3673
3674 <object type="input">
3675 <condition var1="tw_terminal_state" var2="0" />
3676 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3677 <background color="%input_background_color%" />
3678 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3679 <font resource="font" color="%text_color%" />
3680 <text>%tw_terminal_command%</text>
3681 <data name="tw_terminal_command" />
3682 <restrict minlen="1" />
3683 <action function="terminalcommand">%tw_terminal_command%</action>
3684 </object>
3685
3686 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003687 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003688 <condition var1="tw_terminal_state" var2="1" />
3689 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3690 <font resource="font" color="%button_text_color%" />
3691 <text>KILL</text>
3692 <image resource="medium_button" />
3693 <action function="killterminal"></action>
3694 </object>
3695
3696 <object type="template" name="keyboardtemplate" />
3697
3698 <object type="action">
3699 <touch key="home" />
3700 <action function="page">main</action>
3701 </object>
3702
3703 <object type="action">
3704 <touch key="back" />
3705 <action function="page">terminalfolder</action>
3706 </object>
3707 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003708
3709 <page name="sideload">
3710 <object type="template" name="header" />
3711
3712 <object type="text" color="%text_color%">
3713 <font resource="font" />
3714 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3715 <text>ADB Sideload</text>
3716 </object>
3717
3718 <object type="checkbox">
3719 <placement x="%col1_x%" y="%row2_text_y%" />
3720 <font resource="font" color="%text_color%" />
3721 <text>Wipe Dalvik Cache.</text>
3722 <data variable="tw_wipe_dalvik" />
3723 <image checked="checkbox_true" unchecked="checkbox_false" />
3724 </object>
3725
3726 <object type="checkbox">
3727 <placement x="%col1_x%" y="%row3_text_y%" />
3728 <font resource="font" color="%text_color%" />
3729 <text>Wipe Cache.</text>
3730 <data variable="tw_wipe_cache" />
3731 <image checked="checkbox_true" unchecked="checkbox_false" />
3732 </object>
3733
3734 <object type="slider">
3735 <placement x="%slider_x%" y="%slider_y%" />
3736 <resource base="slider" used="slider-used" touch="slider-touch" />
3737 <actions>
3738 <action function="set">tw_back=advanced</action>
3739 <action function="set">tw_action=adbsideload</action>
3740 <action function="set">tw_action_text1=ADB Sideload</action>
3741 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3742 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3743 <action function="set">tw_has_cancel=1</action>
3744 <action function="set">tw_show_reboot=1</action>
3745 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3746 <action function="page">action_page</action>
3747 </actions>
3748 </object>
3749
3750 <object type="text" color="%text_color%">
3751 <font resource="font" />
3752 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3753 <text>Swipe to Start Sideload</text>
3754 </object>
3755
3756 <object type="action">
3757 <touch key="home" />
3758 <action function="page">main</action>
3759 </object>
3760
3761 <object type="action">
3762 <touch key="back" />
3763 <action function="page">advanced</action>
3764 </object>
3765
3766 <object type="template" name="footer" />
3767 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003768
3769 <page name="installsu">
3770 <object type="template" name="header" />
3771
3772 <object type="text" color="%text_color%">
3773 <font resource="font" />
3774 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3775 <text>Install SuperSU?</text>
3776 </object>
3777
3778 <object type="text" color="%text_color%">
3779 <font resource="font" />
3780 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3781 <text>Your device does not appear to be rooted.</text>
3782 </object>
3783
3784 <object type="text" color="%text_color%">
3785 <font resource="font" />
3786 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3787 <text>Install SuperSU now?</text>
3788 </object>
3789
3790 <object type="text" color="%text_color%">
3791 <font resource="font" />
3792 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3793 <text>This will root your device.</text>
3794 </object>
3795
3796 <object type="button">
3797 <highlight color="%highlight_color%" />
3798 <placement x="%col_center_x%" y="%row3_y%" />
3799 <font resource="font" color="%button_text_color%" />
3800 <text>Do Not Install</text>
3801 <image resource="main_button" />
3802 <action function="set">tw_page_done=1</action>
3803 </object>
3804
3805 <object type="slider">
3806 <placement x="%slider_x%" y="%slider_y%" />
3807 <resource base="slider" used="slider-used" touch="slider-touch" />
3808 <actions>
3809 <action function="set">tw_action=installsu</action>
3810 <action function="set">tw_action_text1=Installing SuperSU</action>
3811 <action function="set">tw_action_text2=</action>
3812 <action function="page">singleaction_page</action>
3813 </actions>
3814 </object>
3815
3816 <object type="text" color="%text_color%">
3817 <font resource="font" />
3818 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3819 <text>Swipe to Install</text>
3820 </object>
3821 </page>
3822
3823 <page name="fixsu">
3824 <object type="template" name="header" />
3825
3826 <object type="text" color="%text_color%">
3827 <font resource="font" />
3828 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3829 <text>Fix Superuser Permissions?</text>
3830 </object>
3831
3832 <object type="text" color="%text_color%">
3833 <font resource="font" />
3834 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3835 <text>Root permissions appear to be lost.</text>
3836 </object>
3837
3838 <object type="text" color="%text_color%">
3839 <font resource="font" />
3840 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3841 <text>Fix root permissions now?</text>
3842 </object>
3843
3844 <object type="text" color="%text_color%">
3845 <font resource="font" />
3846 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3847 <text>(Fixes permissions on su binary & app)</text>
3848 </object>
3849
3850 <object type="button">
3851 <highlight color="%highlight_color%" />
3852 <placement x="%col_center_x%" y="%row3_y%" />
3853 <font resource="font" color="%button_text_color%" />
3854 <text>Do Not Fix</text>
3855 <image resource="main_button" />
3856 <action function="set">tw_page_done=1</action>
3857 </object>
3858
3859 <object type="slider">
3860 <placement x="%slider_x%" y="%slider_y%" />
3861 <resource base="slider" used="slider-used" touch="slider-touch" />
3862 <actions>
3863 <action function="set">tw_action=fixsu</action>
3864 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3865 <action function="set">tw_action_text2=</action>
3866 <action function="page">singleaction_page</action>
3867 </actions>
3868 </object>
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3873 <text>Swipe to Fix Root</text>
3874 </object>
3875 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003876 </pages>
3877</recovery>