blob: 32b8ab9e483ef934937398acfa428f6f4b1a127d [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
49 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
67 <variable name="row12_text_y" value="480" />
68 <variable name="row13_text_y" value="510" />
69 <variable name="row14_text_y" value="540" />
70 <variable name="row15_text_y" value="570" />
71 <variable name="row16_text_y" value="600" />
72 <variable name="row17_text_y" value="630" />
73 <variable name="row18_text_y" value="660" />
74 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -060099 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="10" />
101 <variable name="home_button_y" value="820" />
102 <variable name="back_button_x" value="413" />
103 <variable name="back_button_y" value="820" />
104 <variable name="sort_asc_text_y" value="739" />
105 <variable name="sort_asc_button_y" value="739" />
106 <variable name="sort_desc_text_y" value="779" />
107 <variable name="sort_desc_button_y" value="779" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="240" />
110 <variable name="sort_col3_button_x" value="300" />
111 <variable name="input_width" value="460" />
112 <variable name="input_height" value="40" />
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="480" />
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="320" />
122 <variable name="console_install_height" value="440" />
123 <variable name="console_installdone_height" value="300" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500126 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400127 <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="18" />
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="40" />
140 <variable name="fastscroll_linew" value="2" />
141 <variable name="fastscroll_rectw" value="27" />
142 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="listbox_x" value="5" />
144 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600145 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="listbox_background" value="#303030" />
147 <variable name="listbox_spacing" value="18" />
148 <variable name="sd_plus_x" value="280" />
149 <variable name="sdext_text_x" value="84" />
150 <variable name="sdext_text_y" value="150" />
151 <variable name="sdswap_button_y" value="185" />
152 <variable name="sdswap_text_x" value="84" />
153 <variable name="sdswap_text_y" value="195" />
154 <variable name="sdfilesystem_text_y" value="240" />
155 <variable name="sdfilesystem_button_y" value="280" />
156 <variable name="lock_x" value="40" />
157 <variable name="lock_y" value="200" />
158 <variable name="filemanager_select_x" value="365" />
159 <variable name="filemanager_select_y" value="744" />
160 <variable name="backup_name_y" value="350" />
161 <variable name="terminal_console_height" value="424" />
162 <variable name="terminal_text_y" value="444" />
163 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400164 <variable name="row_dst_text_y" value="440" />
165 <variable name="row_offset_text_y" value="480" />
166 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500167 <variable name="button_fill_color" value="#303030" />
168 <variable name="button_fill_full_width" value="455" />
169 <variable name="button_fill_main_width" value="225" />
170 <variable name="button_fill_main_height" value="135" />
171 <variable name="button_fill_half_height" value="67" />
172 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000173 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500174 <variable name="backup_button_row1" value="480" />
175 <variable name="backup_button_row2" value="520" />
176 <variable name="mount_list_height" value="380" />
177 <variable name="mount_storage_row" value="500" />
178 <variable name="storage_list_height" value="400" />
179 <variable name="wipe_list_height" value="550" />
180 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200181 <variable name="slidervalue_w" value="460" />
182 <variable name="slidervalue_line_clr" value="#FFFFFF" />
183 <variable name="slidervalue_slider_clr" value="#33B5E5" />
184 <variable name="slidervalue_lineh" value="1" />
185 <variable name="slidervalue_padding" value="13" />
186 <variable name="slidervalue_sliderw" value="7" />
187 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400188 </variables>
189
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100190 <mousecursor>
191 <placement w="15" h="15" />
192 <background color="#FFFF00FF" resource="cursor" />
193 <speed multiplier="1.5" />
194 </mousecursor>
195
Dees_Troy51a0e822012-09-05 15:24:24 -0400196 <templates>
197 <template name="header">
198 <background color="%backgroundcolor%" />
199
200 <object type="image">
201 <image resource="top_bar" />
202 <placement x="0" y="0" />
203 </object>
204
205 <object type="text" color="%text_color%">
206 <font resource="font" />
207 <placement x="100" y="10" />
208 <text>Team Win Recovery Project v%tw_version%</text>
209 </object>
210
211 <object type="text" color="%text_color%">
212 <condition var1="tw_simulate_actions" var2="1" />
213 <font resource="font" />
214 <placement x="100" y="40" />
215 <text>SIMULATING ACTIONS</text>
216 </object>
217
218 <object type="text" color="%text_color%">
219 <font resource="font" />
220 <placement x="100" y="70" />
221 <text>%tw_time%</text>
222 </object>
223
224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="250" y="70" />
227 <conditions>
228 <condition var1="tw_no_battery_percent" var2="0" />
229 <condition var1="tw_battery" op=">" var2="0" />
230 <condition var1="tw_battery" op="<" var2="101" />
231 </conditions>
232 <text>Battery: %tw_battery%</text>
233 </object>
234
235 <object type="button">
236 <placement x="%home_button_x%" y="%home_button_y%" />
237 <font resource="font" color="%button_text_color%" />
238 <text></text>
239 <image resource="home_icon" />
240 <condition var1="tw_busy" var2="0" />
241 <action function="key">home</action>
242 </object>
243
244 <object type="button">
245 <placement x="%back_button_x%" y="%back_button_y%" />
246 <font resource="font" color="%button_text_color%" />
247 <text></text>
248 <image resource="back_icon" />
249 <condition var1="tw_busy" var2="0" />
250 <action function="key">back</action>
251 </object>
252
253 <object type="action">
254 <touch key="power" />
255 <action function="overlay">lock</action>
256 </object>
257 </template>
258
259 <template name="progress_bar">
260 <object type="progressbar">
261 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
262 <resource empty="progress_empty" full="progress_full" />
263 <data name="ui_progress" />
264 </object>
265
266 <object type="animation">
267 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
268 <resource name="progress" />
269 <speed fps="15" render="2" />
270 <loop frame="1" />
271 </object>
272 </template>
273
274 <template name="action_page_console">
275 <object type="console">
276 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
277 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
278 <font resource="fixed" />
279 </object>
280 </template>
281
282 <template name="sort_options">
283 <object type="text" color="%text_color%">
284 <font resource="font" />
285 <placement x="%col1_x%" y="%sort_asc_text_y%" />
286 <text>Sort Ascending:</text>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000291 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=1</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000299 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400300 <text>Date</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=2</action>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000307 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400308 <text>Size</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=3</action>
311 </object>
312
313 <object type="text" color="%text_color%">
314 <font resource="font" />
315 <placement x="%col1_x%" y="%sort_desc_text_y%" />
316 <text>Sort Descending:</text>
317 </object>
318
319 <object type="button">
320 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000321 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400322 <text>Name</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=-1</action>
325 </object>
326
327 <object type="button">
328 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000329 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400330 <text>Date</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-2</action>
333 </object>
334
335 <object type="button">
336 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000337 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400338 <text>Size</text>
339 <image resource="sort_button" />
340 <action function="set">tw_gui_sort_order=-3</action>
341 </object>
342 </template>
343
344 <template name="footer">
345 <object type="console">
346 <slideout resource="slideout" x="210" y="814" />
347 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
348 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
349 <font resource="fixed" />
350 </object>
351 </template>
352
353 <template name="keyboardtemplate">
354 <object type="keyboard">
355 <placement x="0" y="504" />
356 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600357 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600358 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400359 <layout1>
360 <keysize height="78" width="48" />
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" />
362 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
363 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
364 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
365 </layout1>
366 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600367 <keysize height="78" width="48" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400368 <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" />
369 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
370 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
371 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
372 </layout2>
373 <layout3>
374 <keysize height="78" width="48" />
375 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
376 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
377 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
378 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
379 </layout3>
380 <layout4>
381 <keysize height="78" width="48" />
382 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
383 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
384 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
385 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
386 </layout4>
387 </object>
388 </template>
389 </templates>
390
391 <pages>
392 <page name="main">
393 <object type="action">
394 <actions>
395 <action function="set">tw_clear_destination=main2</action>
396 <action function="page">clear_vars</action>
397 </actions>
398 </object>
399 </page>
400
401 <page name="main2">
402 <object type="template" name="header" />
403
404 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600405 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400406 <placement x="%col1_x%" y="%row1_y%" />
407 <font resource="font" color="%button_text_color%" />
408 <text>Install</text>
409 <image resource="main_button" />
410 <actions>
411 <action function="queueclear"></action>
412 <action function="page">install</action>
413 </actions>
414 </object>
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col2_x%" y="%row1_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Wipe</text>
421 <image resource="main_button" />
422 <action function="page">wipe</action>
423 </object>
424
425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400427 <placement x="%col1_x%" y="%row2_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Backup</text>
430 <image resource="main_button" />
431 <action function="page">backup</action>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col2_x%" y="%row2_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Restore</text>
439 <image resource="main_button" />
440 <action function="page">restore</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row3_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Mount</text>
448 <image resource="main_button" />
449 <action function="page">mount</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row3_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Settings</text>
457 <image resource="main_button" />
458 <action function="page">settings</action>
459 </object>
460
461
462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col1_x%" y="%row4_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Advanced</text>
467 <image resource="main_button" />
468 <action function="page">advanced</action>
469 </object>
470
471 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600472 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400473 <placement x="%col2_x%" y="%row4_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Reboot</text>
476 <image resource="main_button" />
477 <action function="page">reboot</action>
478 </object>
479
480 <object type="template" name="footer" />
481 </page>
482
483 <page name="install">
484 <object type="template" name="header" />
485
486 <object type="text" color="%text_color%">
487 <font resource="font" />
488 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
489 <text>Select Zip to Install</text>
490 </object>
491
492 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500493 <highlight color="%highlight_color%" />
494 <fill color="%button_fill_color%" />
495 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
496 <font resource="font" color="%button_text_color%" />
497 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
498 <actions>
499 <action function="set">tw_back=install</action>
500 <action function="page">selectstorage</action>
501 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400502 </object>
503
504 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600505 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500506 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100508 <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 -0400509 <text>%tw_zip_location%</text>
510 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
511 <sort name="tw_gui_sort_order" />
512 <icon folder="folder_icon" file="file_icon" />
513 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600514 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400515 <filter extn=".zip" folders="1" files="1" />
516 <path name="tw_zip_location" default="/sdcard" />
517 <data name="tw_filename" />
518 <selection name="tw_file" />
519 </object>
520
521 <object type="template" name="sort_options" />
522
523 <object type="action">
524 <condition var1="tw_filename" op="modified" />
525 <actions>
526 <action function="queuezip"></action>
527 <action function="page">flash_confirm</action>
528 </actions>
529 </object>
530
531 <object type="action">
532 <touch key="back" />
533 <action function="page">main</action>
534 </object>
535
536 <object type="action">
537 <touch key="home" />
538 <action function="page">main</action>
539 </object>
540
541 <object type="template" name="footer" />
542 </page>
543
544 <page name="flash_confirm">
545 <object type="template" name="header" />
546
547 <object type="text" color="%text_color%">
548 <font resource="font" />
549 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
550 <text>This operation may install incompatible</text>
551 </object>
552
553 <object type="text" color="%text_color%">
554 <font resource="font" />
555 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
556 <text>software and render your device unusable.</text>
557 </object>
558
559 <object type="text" color="%text_color%">
560 <font resource="font" />
561 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
562 <text>Folder:</text>
563 </object>
564
565 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400566 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400567 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
568 <text>%tw_zip_location%</text>
569 </object>
570
571 <object type="text" color="%text_color%">
572 <font resource="font" />
573 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
574 <text>File to flash:</text>
575 </object>
576
577 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400578 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400579 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
580 <text>%tw_file%</text>
581 </object>
582
583 <object type="text" color="%text_color%">
584 <font resource="font" />
585 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
586 <text>Press back to cancel adding this zip.</text>
587 </object>
588
589 <object type="checkbox">
590 <placement x="%col1_x%" y="%row8_text_y%" />
591 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400592 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <data variable="tw_signed_zip_verify" />
594 <image checked="checkbox_true" unchecked="checkbox_false" />
595 </object>
596
597 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400598 <condition var1="tw_has_injecttwrp" var2="1" />
599 <placement x="%col1_x%" y="%row10_text_y%" />
600 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400601 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <data variable="tw_inject_after_zip" />
603 <image checked="checkbox_true" unchecked="checkbox_false" />
604 </object>
605
606 <object type="text" color="%text_color%">
607 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400608 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <text>File %tw_zip_queue_count% of max of 10</text>
610 </object>
611
612 <object type="slider">
613 <placement x="%slider_x%" y="%slider_y%" placement="5" />
614 <resource base="slider" used="slider-used" touch="slider-touch" />
615 <action function="flash">flash_zip</action>
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
620 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
621 <text>Swipe to Confirm Flash</text>
622 </object>
623
624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600625 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400626 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
627 <placement x="%col1_x%" y="%row_queue_y%" />
628 <font resource="font" color="%button_text_color%" />
629 <text>Add More Zips</text>
630 <image resource="main_button" />
631 <action function="page">install</action>
632 </object>
633
634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400636 <placement x="%col2_x%" y="%row_queue_y%" />
637 <font resource="font" color="%button_text_color%" />
638 <text>Clear Zip Queue</text>
639 <image resource="main_button" />
640 <actions>
641 <action function="queueclear"></action>
642 <action function="page">install</action>
643 </actions>
644 </object>
645
646 <object type="action">
647 <touch key="back" />
648 <actions>
649 <action function="cancelzip"></action>
650 <action function="page">install</action>
651 </actions>
652 </object>
653
654 <object type="action">
655 <touch key="home" />
656 <action function="page">main</action>
657 </object>
658
659 <object type="template" name="footer" />
660 </page>
661
662 <page name="flash_zip">
663 <object type="template" name="header" />
664
665 <object type="console">
666 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
667 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
668 <font resource="fixed" />
669 </object>
670
671 <object type="text" color="%text_color%">
672 <font resource="font" />
673 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
674 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
675 </object>
676
677 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400678 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400679 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
680 <text>%tw_filename%</text>
681 </object>
682
683 <object type="template" name="progress_bar" />
684
685 <object type="action">
686 <condition var1="tw_operation_state" var2="1" />
687 <action function="page">flash_done</action>
688 </object>
689 </page>
690
691 <page name="flash_done">
692 <object type="template" name="header" />
693
694 <object type="text" color="%text_color%">
695 <font resource="font" />
696 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
697 <text>Zip Install Complete</text>
698 </object>
699
700 <object type="console">
701 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
702 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
703 <font resource="fixed" />
704 </object>
705
706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400708 <placement x="%col1_x%" y="%row4_y%" />
709 <font resource="font" color="%button_text_color%" />
710 <text>Wipe cache/dalvik</text>
711 <image resource="main_button" />
712 <actions>
713 <action function="set">tw_back=flash_done</action>
714 <action function="set">tw_action=wipe</action>
715 <action function="set">tw_action_param=/cache</action>
716 <action function="set">tw_has_action2=1</action>
717 <action function="set">tw_action2=wipe</action>
718 <action function="set">tw_action2_param=dalvik</action>
719 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
720 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
721 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
722 <action function="set">tw_slider_text=Swipe to Wipe</action>
723 <action function="page">confirm_action</action>
724 </actions>
725 </object>
726
727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400729 <placement x="%col2_x%" y="%row4_y%" />
730 <font resource="font" color="%button_text_color%" />
731 <text>Reboot System</text>
732 <image resource="main_button" />
733 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400734 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_action=reboot</action>
736 <action function="set">tw_action_param=system</action>
737 <action function="set">tw_has_action2=0</action>
738 <action function="set">tw_text1=No OS Installed! Are you</action>
739 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400740 <action function="set">tw_text3=</action>
741 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400742 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <action function="set">tw_complete_text1=Rebooting...</action>
745 <action function="set">tw_slider_text=Swipe to Reboot</action>
746 <action function="page">rebootcheck</action>
747 </actions>
748 </object>
749
750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400752 <placement x="%col_center_x%" y="%row3_y%" />
753 <font resource="font" color="%button_text_color%" />
754 <text>Home</text>
755 <image resource="main_button" />
756 <actions>
757 <action function="set">tw_clear_destination=main2</action>
758 <action function="page">clear_vars</action>
759 </actions>
760 </object>
761
762 <object type="text" color="%text_fail_color%">
763 <condition var1="tw_operation_status" op="!=" var2="0" />
764 <font resource="font" />
765 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
766 <text>Failed</text>
767 </object>
768
769 <object type="text" color="%text_success_color%">
770 <condition var1="tw_operation_status" var2="0" />
771 <font resource="font" />
772 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
773 <text>Successful</text>
774 </object>
775
776 <object type="action">
777 <touch key="back" />
778 <actions>
779 <action function="set">tw_clear_destination=install</action>
780 <action function="page">clear_vars</action>
781 </actions>
782 </object>
783
784 <object type="action">
785 <touch key="home" />
786 <actions>
787 <action function="set">tw_clear_destination=main2</action>
788 <action function="page">clear_vars</action>
789 </actions>
790 </object>
791 </page>
792
793 <page name="clear_vars">
794 <object type="action">
795 <action function="set">tw_operation_state=0</action>
796 <action function="set">tw_text1=</action>
797 <action function="set">tw_text2=</action>
798 <action function="set">tw_text3=</action>
799 <action function="set">tw_text4=</action>
800 <action function="set">tw_action_text1=</action>
801 <action function="set">tw_action_text2=</action>
802 <action function="set">tw_action_param=</action>
803 <action function="set">tw_has_action2=0</action>
804 <action function="set">tw_action2=</action>
805 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400806 <action function="set">tw_has_cancel=0</action>
807 <action function="set">tw_cancel_action=</action>
808 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400809 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400810 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400811 <action function="page">%tw_clear_destination%</action>
812 </object>
813 </page>
814
815 <page name="confirm_action">
816 <object type="template" name="header" />
817
818 <object type="text" color="%text_color%">
819 <font resource="font" />
820 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
821 <text>%tw_text1%</text>
822 </object>
823
824 <object type="text" color="%text_color%">
825 <font resource="font" />
826 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
827 <text>%tw_text2%</text>
828 </object>
829
830 <object type="text" color="%text_color%">
831 <font resource="font" />
832 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
833 <text>%tw_text3%</text>
834 </object>
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
839 <text>%tw_text4%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400844 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400845 <text>Press back button to cancel.</text>
846 </object>
847
848 <object type="slider">
849 <placement x="%slider_x%" y="%slider_y%" />
850 <resource base="slider" used="slider-used" touch="slider-touch" />
851 <action function="page">action_page</action>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
857 <text>%tw_slider_text%</text>
858 </object>
859
860 <object type="action">
861 <touch key="back" />
862 <actions>
863 <action function="set">tw_clear_destination=%tw_back%</action>
864 <action function="page">clear_vars</action>
865 </actions>
866 </object>
867
868 <object type="action">
869 <touch key="home" />
870 <action function="page">main</action>
871 </object>
872
873 <object type="template" name="footer" />
874 </page>
875
876 <page name="action_page">
877 <object type="template" name="header" />
878
879 <object type="text" color="%text_color%">
880 <font resource="font" />
881 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
882 <text>%tw_action_text1%</text>
883 </object>
884
885 <object type="text" color="%text_color%">
886 <font resource="font" />
887 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
888 <text>%tw_action_text2%</text>
889 </object>
890
891 <object type="template" name="action_page_console" />
892
Dees_Troyb46a6842012-09-25 11:06:46 -0400893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600894 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400895 <condition var1="tw_has_cancel" var2="1" />
896 <placement x="%col_center_medium_x%" y="%row4_y%" />
897 <font resource="font" color="%button_text_color%" />
898 <text>Cancel</text>
899 <image resource="medium_button" />
900 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
901 </object>
902
Dees_Troy51a0e822012-09-05 15:24:24 -0400903 <object type="template" name="progress_bar" />
904
905 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400906 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400907 <actions>
908 <action function="page">action_complete</action>
909 </actions>
910 </object>
911
912 <object type="action">
913 <condition var1="tw_has_action2" var2="0" />
914 <actions>
915 <action function="%tw_action%">%tw_action_param%</action>
916 </actions>
917 </object>
918
919 <object type="action">
920 <condition var1="tw_has_action2" var2="1" />
921 <actions>
922 <action function="%tw_action%">%tw_action_param%</action>
923 <action function="%tw_action2%">%tw_action2_param%</action>
924 </actions>
925 </object>
926 </page>
927
Dees_Troy6ef66352013-02-21 08:26:57 -0600928 <page name="singleaction_page">
929 <object type="template" name="header" />
930
931 <object type="text" color="%text_color%">
932 <font resource="font" />
933 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
934 <text>%tw_action_text1%</text>
935 </object>
936
937 <object type="text" color="%text_color%">
938 <font resource="font" />
939 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
940 <text>%tw_action_text2%</text>
941 </object>
942
943 <object type="template" name="action_page_console" />
944
945 <object type="template" name="progress_bar" />
946
947 <object type="action">
948 <condition var1="tw_operation_state" var2="1" />
949 <actions>
950 <action function="set">tw_page_done=1</action>
951 </actions>
952 </object>
953
954 <object type="action">
955 <condition var1="tw_has_action2" var2="0" />
956 <actions>
957 <action function="%tw_action%">%tw_action_param%</action>
958 </actions>
959 </object>
960
961 <object type="action">
962 <condition var1="tw_has_action2" var2="1" />
963 <actions>
964 <action function="%tw_action%">%tw_action_param%</action>
965 <action function="%tw_action2%">%tw_action2_param%</action>
966 </actions>
967 </object>
968 </page>
969
Dees_Troy51a0e822012-09-05 15:24:24 -0400970 <page name="action_complete">
971 <object type="template" name="header" />
972
973 <object type="text" color="%text_color%">
974 <font resource="font" />
975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
976 <text>%tw_complete_text1%</text>
977 </object>
978
979 <object type="text" color="%text_fail_color%">
980 <condition var1="tw_operation_status" op="!=" var2="0" />
981 <font resource="font" />
982 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
983 <text>Failed</text>
984 </object>
985
986 <object type="text" color="%text_success_color%">
987 <condition var1="tw_operation_status" var2="0" />
988 <font resource="font" />
989 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
990 <text>Successful</text>
991 </object>
992
993 <object type="template" name="action_page_console" />
994
995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600996 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400997 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400998 <placement x="%col_center_x%" y="%row4_y%" />
999 <font resource="font" color="%button_text_color%" />
1000 <text>Back</text>
1001 <image resource="main_button" />
1002 <actions>
1003 <action function="set">tw_clear_destination=%tw_back%</action>
1004 <action function="page">clear_vars</action>
1005 </actions>
1006 </object>
1007
Dees_Troya3f81542012-10-08 10:58:53 -04001008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001009 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001010 <condition var1="tw_show_reboot" var2="1" />
1011 <placement x="%col_center_x%" y="%row4_y%" />
1012 <font resource="font" color="%button_text_color%" />
1013 <text>Reboot System</text>
1014 <image resource="main_button" />
1015 <actions>
1016 <action function="set">tw_back=main2</action>
1017 <action function="set">tw_action=reboot</action>
1018 <action function="set">tw_action_param=system</action>
1019 <action function="set">tw_has_action2=0</action>
1020 <action function="set">tw_text1=No OS Installed! Are you</action>
1021 <action function="set">tw_text2=sure you wish to reboot?</action>
1022 <action function="set">tw_text3=</action>
1023 <action function="set">tw_text4=</action>
1024 <action function="set">tw_action_text1=Rebooting...</action>
1025 <action function="set">tw_action_text2=</action>
1026 <action function="set">tw_complete_text1=Rebooting...</action>
1027 <action function="set">tw_slider_text=Swipe to Reboot</action>
1028 <action function="page">rebootcheck</action>
1029 </actions>
1030 </object>
1031
Dees_Troy51a0e822012-09-05 15:24:24 -04001032 <object type="action">
1033 <touch key="home" />
1034 <actions>
1035 <action function="set">tw_clear_destination=main2</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039
1040 <object type="action">
1041 <touch key="back" />
1042 <actions>
1043 <action function="set">tw_clear_destination=%tw_back%</action>
1044 <action function="page">clear_vars</action>
1045 </actions>
1046 </object>
1047 </page>
1048
1049 <page name="filecheck">
1050 <object type="action">
1051 <action function="fileexists">%tw_filecheck%</action>
1052 </object>
1053
1054 <object type="action">
1055 <conditions>
1056 <condition var1="tw_operation_state" var2="1" />
1057 <condition var1="tw_operation_status" var2="0" />
1058 </conditions>
1059 <actions>
1060 <action function="set">tw_fileexists=1</action>
1061 <action function="page">%tw_existpage%</action>
1062 </actions>
1063 </object>
1064
1065 <object type="action">
1066 <conditions>
1067 <condition var1="tw_operation_state" var2="1" />
1068 <condition var1="tw_operation_status" var2="1" />
1069 </conditions>
1070 <actions>
1071 <action function="set">tw_fileexists=0</action>
1072 <action function="page">%tw_notexistpage%</action>
1073 </actions>
1074 </object>
1075 </page>
1076
1077 <page name="rebootcheck">
1078 <object type="action">
1079 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1080 <action function="reboot">%tw_action_param%</action>
1081 </object>
1082
1083 <object type="action">
1084 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1085 <action function="page">confirm_action</action>
1086 </object>
1087 </page>
1088
1089 <page name="wipe">
1090 <object type="template" name="header" />
1091
1092 <object type="text" color="%text_color%">
1093 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001094 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001095 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001096 </object>
1097
1098 <object type="text" color="%text_color%">
1099 <font resource="font" />
1100 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1101 <text>Wipes Data, Cache, and Dalvik</text>
1102 </object>
1103
1104 <object type="text" color="%text_color%">
1105 <condition var1="tw_has_data_media" var2="0" />
1106 <font resource="font" />
1107 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1108 <text>.android_secure</text>
1109 </object>
1110
1111 <object type="text" color="%text_color%">
1112 <condition var1="tw_has_data_media" var2="1" />
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1115 <text>(not including internal storage)</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <condition var1="tw_has_sdext_partition" var2="1" />
1120 <font resource="font" />
1121 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1122 <text>SD-EXT</text>
1123 </object>
1124
1125 <object type="text" color="%text_color%">
1126 <font resource="font" />
1127 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1128 <text>Most of the time this is</text>
1129 </object>
1130
1131 <object type="text" color="%text_color%">
1132 <font resource="font" />
1133 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1134 <text>the only wipe that you need.</text>
1135 </object>
1136
1137 <object type="text" color="%text_color%">
1138 <font resource="font" />
1139 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1140 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 </object>
1142
1143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001144 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001145 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001147 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001149 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 </object>
1151
1152 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <conditions>
1154 <condition var1="tw_has_internal" var2="1" />
1155 <condition var1="tw_has_data_media" var2="1" />
1156 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001157 <highlight color="%highlight_color%" />
1158 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001159 <font resource="font" color="%button_text_color%" />
1160 <text>Format Data</text>
1161 <image resource="main_button" />
1162 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001163 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 </actions>
1165 </object>
1166
Dees_Troya13d74f2013-03-24 08:54:55 -05001167 <object type="slider">
1168 <placement x="%slider_x%" y="%slider_y%" />
1169 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001170 <actions>
1171 <action function="set">tw_back=wipe</action>
1172 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <action function="set">tw_action_param=data</action>
1174 <action function="set">tw_action_text1=Factory Reset...</action>
1175 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1176 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001177 </actions>
1178 </object>
1179
Dees_Troya13d74f2013-03-24 08:54:55 -05001180 <object type="text" color="%text_color%">
1181 <font resource="font" />
1182 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1183 <text>Swipe to Factory Reset</text>
1184 </object>
1185
1186 <object type="action">
1187 <touch key="back" />
1188 <action function="page">main</action>
1189 </object>
1190
1191 <object type="action">
1192 <touch key="home" />
1193 <action function="page">main</action>
1194 </object>
1195
1196 <object type="template" name="footer" />
1197 </page>
1198
1199 <page name="advancedwipe">
1200 <object type="template" name="header" />
1201
1202 <object type="text" color="%text_color%">
1203 <font resource="font" />
1204 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1205 <text>Wipe Menu</text>
1206 </object>
1207
1208 <object type="partitionlist">
1209 <highlight color="%fileselector_highlight_color%" />
1210 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1211 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1212 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1213 <text>Select Partitions to Wipe:</text>
1214 <icon selected="checkbox_true" unselected="checkbox_false" />
1215 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1216 <background color="%listbox_background%" />
1217 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1218 <data name="tw_wipe_list" />
1219 <listtype name="wipe" />
1220 </object>
1221
1222 <object type="slider">
1223 <placement x="%slider_x%" y="%slider_y%" />
1224 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001226 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001227 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001228 <action function="set">tw_action_param=LIST</action>
1229 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1230 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1231 <action function="set">tw_complete_text1=Wipe Complete</action>
1232 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001233 </actions>
1234 </object>
1235
Dees_Troya13d74f2013-03-24 08:54:55 -05001236 <object type="text" color="%text_color%">
1237 <font resource="font" />
1238 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1239 <text>Swipe to Wipe</text>
1240 </object>
1241
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 <object type="action">
1243 <touch key="home" />
1244 <action function="page">main</action>
1245 </object>
1246
1247 <object type="action">
1248 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001249 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001250 </object>
1251
1252 <object type="template" name="footer" />
1253 </page>
1254
Dees_Troya13d74f2013-03-24 08:54:55 -05001255 <page name="formatdata">
1256 <object type="template" name="header" />
1257
1258 <object type="text" color="%text_color%">
1259 <font resource="font" />
1260 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1261 <text>Format Data will wipe all of your apps,</text>
1262 </object>
1263
1264 <object type="text" color="%text_color%">
1265 <font resource="font" />
1266 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1267 <text>backups, pictures, videos, media, and</text>
1268 </object>
1269
1270 <object type="text" color="%text_color%">
1271 <font resource="font" />
1272 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1273 <text>removes encryption on internal storage.</text>
1274 </object>
1275
1276 <object type="text" color="%text_color%">
1277 <font resource="font" />
1278 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1279 <text>This cannot be undone. Press back to cancel.</text>
1280 </object>
1281
1282 <object type="text" color="%text_color%">
1283 <font resource="font" />
1284 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1285 <text>Type yes to continue.</text>
1286 </object>
1287
1288 <object type="input">
1289 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1290 <background color="%input_background_color%" />
1291 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1292 <font resource="font" color="%text_color%" />
1293 <text>%tw_confirm_formatdata%</text>
1294 <data name="tw_confirm_formatdata" />
1295 <restrict minlen="3" maxlen="3" allow="yes" />
1296 <action function="page">formatdata_confirm</action>
1297 </object>
1298
1299 <object type="template" name="keyboardtemplate" />
1300
1301 <object type="action">
1302 <touch key="home" />
1303 <action function="page">main</action>
1304 </object>
1305
1306 <object type="action">
1307 <touch key="back" />
1308 <action function="page">wipe</action>
1309 </object>
1310
1311 <object type="template" name="footer" />
1312 </page>
1313
1314 <page name="formatdata_confirm">
1315 <object type="action">
1316 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1317 <actions>
1318 <action function="set">tw_back=formatdata</action>
1319 <action function="set">tw_action=wipe</action>
1320 <action function="set">tw_action_param=DATAMEDIA</action>
1321 <action function="set">tw_action_text1=Formatting Data...</action>
1322 <action function="set">tw_complete_text1=Data Format Complete</action>
1323 <action function="page">action_page</action>
1324 </actions>
1325 </object>
1326
1327 <object type="action">
1328 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1329 <action function="page">formatdata</function>
1330 </object>
1331 </page>
1332
Dees_Troy51a0e822012-09-05 15:24:24 -04001333 <page name="backup">
1334 <object type="template" name="header" />
1335
Dees_Troy83bd4832013-05-04 12:39:56 +00001336 <object type="button">
1337 <highlight color="%highlight_color%" />
1338 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001339 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001340 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001341 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001342 <actions>
1343 <action function="set">tw_fileexists=0</action>
1344 <action function="page">backupname1</action>
1345 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001346 </object>
1347
Dees_Troya13d74f2013-03-24 08:54:55 -05001348 <object type="partitionlist">
1349 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001350 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001351 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1352 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1353 <text>Select Partitions to Back Up:</text>
1354 <icon selected="checkbox_true" unselected="checkbox_false" />
1355 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1356 <background color="%listbox_background%" />
1357 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1358 <data name="tw_backup_list" />
1359 <listtype name="backup" />
1360 </object>
1361
1362 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001363 <conditions>
1364 <condition var1="tw_include_encrypted_backup" var2="1" />
1365 <condition var1="tw_encrypt_backup" var2="0" />
1366 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001367 <highlight color="%highlight_color%" />
1368 <fill color="%button_fill_color%" />
1369 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1370 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001371 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001372 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001373 <action function="page">backupencryption</action>
1374 </actions>
1375 </object>
1376
1377 <object type="button">
1378 <conditions>
1379 <condition var1="tw_include_encrypted_backup" var2="1" />
1380 <condition var1="tw_encrypt_backup" var2="1" />
1381 </conditions>
1382 <highlight color="%highlight_color%" />
1383 <fill color="%button_fill_color%" />
1384 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1385 <font resource="font" color="%button_text_color%" />
1386 <text>Using Encryption</text>
1387 <actions>
1388 <action function="set">tw_password_not_match=0</action>
1389 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001390 </actions>
1391 </object>
1392
1393 <object type="button">
1394 <highlight color="%highlight_color%" />
1395 <fill color="%button_fill_color%" />
1396 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1397 <font resource="font" color="%button_text_color%" />
1398 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001399 <actions>
1400 <action function="refreshsizes"></action>
1401 <action function="page">backup</action>
1402 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001403 </object>
1404
1405 <object type="button">
1406 <highlight color="%highlight_color%" />
1407 <fill color="%button_fill_color%" />
1408 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1409 <font resource="font" color="%button_text_color%" />
1410 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1411 <actions>
1412 <action function="set">tw_back=backup</action>
1413 <action function="page">selectstorage</action>
1414 </actions>
1415 </object>
1416
1417 <object type="checkbox">
1418 <placement x="%col1_x%" y="%row15_text_y%" />
1419 <font resource="font" color="%text_color%" />
1420 <text>Enable compression.</text>
1421 <data variable="tw_use_compression" />
1422 <image checked="checkbox_true" unchecked="checkbox_false" />
1423 </object>
1424
1425 <object type="checkbox">
1426 <placement x="%col1_x%" y="%row16_text_y%" />
1427 <font resource="font" color="%text_color%" />
1428 <text>Skip MD5 generation during backup.</text>
1429 <data variable="tw_skip_md5_generate" />
1430 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001431 </object>
1432
1433 <object type="slider">
1434 <placement x="%slider_x%" y="slider_y" />
1435 <resource base="slider" used="slider-used" touch="slider-touch" />
1436 <action function="page">backup_run</action>
1437 </object>
1438
1439 <object type="text" color="%text_color%">
1440 <font resource="font" />
1441 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1442 <text>Swipe to Back Up</text>
1443 </object>
1444
Dees_Troy51a0e822012-09-05 15:24:24 -04001445 <object type="action">
1446 <touch key="home" />
1447 <action function="page">main</action>
1448 </object>
1449
1450 <object type="action">
1451 <touch key="back" />
1452 <action function="page">main</action>
1453 </object>
1454
1455 <object type="template" name="footer" />
1456 </page>
1457
1458 <page name="backupname1">
1459 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001460 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1461 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001462 </object>
1463
1464 <object type="action">
1465 <action function="page">backupname2</function>
1466 </object>
1467 </page>
1468
1469 <page name="backupname2">
1470 <object type="template" name="header" />
1471
1472 <object type="text" color="%text_color%">
1473 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1474 <font resource="font" />
1475 <text>Please Enter a Backup Name</text>
1476 </object>
1477
1478 <object type="input">
1479 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1480 <background color="%input_background_color%" />
1481 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1482 <font resource="font" color="%text_color%" />
1483 <text>%tw_backup_name%</text>
1484 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001485 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001486 <actions>
1487 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1488 <action function="set">tw_existpage=backupname2</action>
1489 <action function="set">tw_notexistpage=backup</action>
1490 <action function="page">filecheck</action>
1491 </actions>
1492 </object>
1493
1494 <object type="text" color="%text_fail_color%">
1495 <condition var1="tw_fileexists" var2="1" />
1496 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1497 <font resource="font" />
1498 <text>A backup with that name already exists!</text>
1499 </object>
1500
1501 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001502 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001503 <placement x="%col1_x%" y="%row2_y%" />
1504 <font resource="font" color="%button_text_color%" />
1505 <text>Append Date</text>
1506 <image resource="main_button" />
1507 <action function="appenddatetobackupname"></action>
1508 </object>
1509
1510 <object type="button">
1511 <highlight color="%highlight_color%" />
1512 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001513 <font resource="font" color="%button_text_color%" />
1514 <text>Cancel</text>
1515 <image resource="main_button" />
1516 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001517 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001518 <action function="page">backup</action>
1519 </actions>
1520 </object>
1521
1522 <object type="template" name="keyboardtemplate" />
1523
1524 <object type="action">
1525 <touch key="home" />
1526 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001527 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001528 <action function="page">main</action>
1529 </actions>
1530 </object>
1531
1532 <object type="action">
1533 <touch key="back" />
1534 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001535 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001536 <action function="page">backup</action>
1537 </actions>
1538 </object>
1539
1540 <object type="template" name="footer" />
1541 </page>
1542
Dees_Troy83bd4832013-05-04 12:39:56 +00001543 <page name="backupencryption">
1544 <object type="template" name="header" />
1545
1546 <object type="text" color="%text_color%">
1547 <font resource="font" />
1548 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1549 <text>Encrypt your backup?</text>
1550 </object>
1551
1552 <object type="text" color="%text_color%">
1553 <font resource="font" />
1554 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1555 <text>Please Enter A Password:</text>
1556 </object>
1557
1558 <object type="input">
1559 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1560 <background color="%input_background_color%" />
1561 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1562 <font resource="font" color="%text_color%" />
1563 <text>%tw_backup_encrypt_display%</text>
1564 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1565 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1566 <action function="page">backupencryption2</action>
1567 </object>
1568
1569 <object type="text" color="%text_fail_color%">
1570 <condition var1="tw_password_not_match" var2="1" />
1571 <font resource="font" />
1572 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1573 <text>Passwords Do Not Match</text>
1574 </object>
1575
1576 <object type="button">
1577 <highlight color="%highlight_color%" />
1578 <placement x="%col_center_x%" y="%row2_y%" />
1579 <font resource="font" color="%button_text_color%" />
1580 <text>Cancel</text>
1581 <image resource="main_button" />
1582 <actions>
1583 <action function="set">tw_encrypt_backup=0</action>
1584 <action function="set">tw_backup_password=</action>
1585 <action function="set">tw_backup_password2=</action>
1586 <action function="set">tw_backup_encrypt_display=</action>
1587 <action function="set">tw_backup_encrypt_display2=</action>
1588 <action function="page">backup</action>
1589 </actions>
1590 </object>
1591
1592 <object type="template" name="keyboardtemplate" />
1593
1594 <object type="action">
1595 <touch key="home" />
1596 <action function="page">main</action>
1597 </object>
1598
1599 <object type="action">
1600 <touch key="back" />
1601 <action function="page">backup</action>
1602 </object>
1603
1604 <object type="template" name="footer" />
1605 </page>
1606
1607 <page name="backupencryption2">
1608 <object type="template" name="header" />
1609
1610 <object type="text" color="%text_color%">
1611 <font resource="font" />
1612 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1613 <text>Encrypt your backup?</text>
1614 </object>
1615
1616 <object type="text" color="%text_color%">
1617 <font resource="font" />
1618 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1619 <text>Please Enter Password Again:</text>
1620 </object>
1621
1622 <object type="input">
1623 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1624 <background color="%input_background_color%" />
1625 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1626 <font resource="font" color="%text_color%" />
1627 <text>%tw_backup_encrypt_display2%</text>
1628 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1629 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1630 <actions>
1631 <action function="page">checkbackuppassword</action>
1632 </actions>
1633 </object>
1634
1635 <object type="button">
1636 <highlight color="%highlight_color%" />
1637 <placement x="%col_center_x%" y="%row2_y%" />
1638 <font resource="font" color="%button_text_color%" />
1639 <text>Cancel</text>
1640 <image resource="main_button" />
1641 <actions>
1642 <action function="set">tw_encrypt_backup=0</action>
1643 <action function="set">tw_backup_password=</action>
1644 <action function="set">tw_backup_password2=</action>
1645 <action function="set">tw_backup_encrypt_display=</action>
1646 <action function="set">tw_backup_encrypt_display2=</action>
1647 <action function="page">backup</action>
1648 </actions>
1649 </object>
1650
1651 <object type="template" name="keyboardtemplate" />
1652
1653 <object type="action">
1654 <touch key="home" />
1655 <action function="page">main</action>
1656 </object>
1657
1658 <object type="action">
1659 <touch key="back" />
1660 <action function="page">backup</action>
1661 </object>
1662
1663 <object type="template" name="footer" />
1664 </page>
1665
1666 <page name="checkbackuppassword">
1667 <object type="action">
1668 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1669 <actions>
1670 <action function="set">tw_encrypt_backup=1</action>
1671 <action function="page">backup</action>
1672 </actions>
1673 </object>
1674
1675 <object type="action">
1676 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1677 <actions>
1678 <action function="set">tw_encrypt_backup=0</action>
1679 <action function="set">tw_password_not_match=1</action>
1680 <action function="set">tw_backup_password=</action>
1681 <action function="set">tw_backup_password2=</action>
1682 <action function="set">tw_backup_encrypt_display=</action>
1683 <action function="set">tw_backup_encrypt_display2=</action>
1684 <action function="page">backupencryption</action>
1685 </actions>
1686 </object>
1687 </page>
1688
Dees_Troy51a0e822012-09-05 15:24:24 -04001689 <page name="backup_run">
1690 <object type="template" name="header" />
1691
1692 <object type="text" color="%text_color%">
1693 <font resource="font" />
1694 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1695 <text>%tw_operation% %tw_partition%</text>
1696 </object>
1697
1698 <object type="template" name="action_page_console" />
1699
1700 <object type="template" name="progress_bar" />
1701
1702 <object type="action">
1703 <action function="nandroid">backup</action>
1704 </object>
1705
1706 <object type="action">
1707 <condition var1="tw_operation_state" var2="1" />
1708 <actions>
1709 <action function="set">tw_back=backup</action>
1710 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001711 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001712 <action function="page">action_complete</action>
1713 </actions>
1714 </object>
1715 </page>
1716
1717 <page name="restore">
1718 <object type="template" name="header" />
1719
1720 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001721 <highlight color="%highlight_color%" />
1722 <fill color="%button_fill_color%" />
1723 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1724 <font resource="font" color="%button_text_color%" />
1725 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1726 <actions>
1727 <action function="set">tw_back=restore</action>
1728 <action function="page">selectstorage</action>
1729 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001730 </object>
1731
1732 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001733 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001734 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001735 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001736 <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 -04001737 <text>Select Package to Restore:</text>
1738 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1739 <sort name="tw_gui_sort_order" />
1740 <icon folder="folder_icon" file="file_icon" />
1741 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001742 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001743 <filter folders="1" files="0" nav="0" />
1744 <path name="tw_backups_folder" />
1745 <data name="tw_restore" default="" />
1746 <selection name="tw_restore_name" />
1747 </object>
1748
1749 <object type="template" name="sort_options" />
1750
1751 <object type="action">
1752 <condition var1="tw_restore" op="modified" />
1753 <actions>
1754 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001755 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001756 </actions>
1757 </object>
1758
1759 <object type="action">
1760 <touch key="home" />
1761 <action function="page">main</action>
1762 </object>
1763
1764 <object type="action">
1765 <touch key="back" />
1766 <action function="page">main</action>
1767 </object>
1768
1769 <object type="template" name="footer" />
1770 </page>
1771
Dees_Troy83bd4832013-05-04 12:39:56 +00001772 <page name="restore_read">
1773 <object type="action">
1774 <condition var1="tw_restore_encrypted" var2="1" />
1775 <actions>
1776 <action function="set">tw_password_fail=0</action>
1777 <action function="page">restore_decrypt</action>
1778 </actions>
1779 </object>
1780
1781 <object type="action">
1782 <condition var1="tw_restore_encrypted" var2="0" />
1783 <actions>
1784 <action function="page">restore_select</action>
1785 </actions>
1786 </object>
1787 </page>
1788
1789 <page name="restore_decrypt">
1790 <object type="template" name="header" />
1791
1792 <object type="text" color="%text_color%">
1793 <font resource="font" />
1794 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1795 <text>Backup Encrypted</text>
1796 </object>
1797
1798 <object type="text" color="%text_color%">
1799 <font resource="font" />
1800 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1801 <text>Please Enter Your Password:</text>
1802 </object>
1803
1804 <object type="input">
1805 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1806 <background color="%input_background_color%" />
1807 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1808 <font resource="font" color="%text_color%" />
1809 <text>%tw_restore_display%</text>
1810 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1811 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1812 <actions>
1813 <action function="page">try_restore_decrypt</action>
1814 </actions>
1815 </object>
1816
1817 <object type="text" color="%text_fail_color%">
1818 <condition var1="tw_password_fail" var2="1" />
1819 <font resource="font" />
1820 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1821 <text>Password Failed, Please Try Again</text>
1822 </object>
1823
1824 <object type="button">
1825 <highlight color="%highlight_color%" />
1826 <placement x="%col1_x%" y="%row2_y%" />
1827 <font resource="font" color="%button_text_color%" />
1828 <text>Cancel</text>
1829 <image resource="main_button" />
1830 <actions>
1831 <action function="set">tw_page_done=1</action>
1832 <action function="page">restore</action>
1833 </actions>
1834 </object>
1835
1836 <object type="button">
1837 <highlight color="%highlight_color%" />
1838 <placement x="%col2_x%" y="%row2_y%" />
1839 <font resource="font" color="%button_text_color%" />
1840 <text>Delete</text>
1841 <image resource="main_button" />
1842 <actions>
1843 <action function="set">tw_back=restore</action>
1844 <action function="set">tw_action=cmd</action>
1845 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1846 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1847 <action function="set">tw_text2=This cannot be undone!</action>
1848 <action function="set">tw_action_text1=Deleting Backup...</action>
1849 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1850 <action function="set">tw_slider_text=Swipe to Delete</action>
1851 <action function="page">confirm_action</action>
1852 </actions>
1853 </object>
1854
1855 <object type="template" name="keyboardtemplate" />
1856
1857 <object type="action">
1858 <touch key="home" />
1859 <action function="page">main</action>
1860 </object>
1861
1862 <object type="action">
1863 <touch key="back" />
1864 <action function="page">restore</action>
1865 </object>
1866
1867 <object type="template" name="footer" />
1868 </page>
1869
1870 <page name="try_restore_decrypt">
1871 <object type="template" name="header" />
1872
1873 <object type="text" color="%text_color%">
1874 <font resource="font" />
1875 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1876 <text>Trying Decryption with Your Password</text>
1877 </object>
1878
1879 <object type="template" name="action_page_console" />
1880
1881 <object type="template" name="progress_bar" />
1882
1883 <object type="action">
1884 <action function="decrypt_backup"></action>
1885 </object>
1886
1887 <object type="action">
1888 <conditions>
1889 <condition var1="tw_operation_state" var2="1" />
1890 <condition var1="tw_operation_status" op="!=" var2="0" />
1891 </conditions>
1892 <actions>
1893 <action function="set">tw_password_fail=1</action>
1894 <action function="page">restore_decrypt</action>
1895 </actions>
1896 </object>
1897
1898 <object type="action">
1899 <conditions>
1900 <condition var1="tw_operation_state" var2="1" />
1901 <condition var1="tw_operation_status" op="=" var2="0" />
1902 </conditions>
1903 <actions>
1904 <action function="set">tw_page_done=1</action>
1905 <action function="page">restore_select</action>
1906 </actions>
1907 </object>
1908 </page>
1909
Dees_Troy51a0e822012-09-05 15:24:24 -04001910 <page name="restore_select">
1911 <object type="template" name="header" />
1912
Dees_Troya13d74f2013-03-24 08:54:55 -05001913 <object type="partitionlist">
1914 <highlight color="%fileselector_highlight_color%" />
1915 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1916 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1917 <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 -04001918 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001919 <icon selected="checkbox_true" unselected="checkbox_false" />
1920 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1921 <background color="%listbox_background%" />
1922 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1923 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1924 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001925 </object>
1926
1927 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001928 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001929 <fill color="%button_fill_color%" />
1930 <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 -04001931 <font resource="font" color="%button_text_color%" />
1932 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001933 <actions>
1934 <action function="set">tw_backup_rename=</action>
1935 <action function="set">tw_fileexists=0</action>
1936 <action function="page">renamebackup</action>
1937 </actions>
1938 </object>
1939
1940 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001941 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001942 <fill color="%button_fill_color%" />
1943 <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 -04001944 <font resource="font" color="%button_text_color%" />
1945 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001946 <actions>
1947 <action function="set">tw_back=restore</action>
1948 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001949 <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 -04001950 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1951 <action function="set">tw_text2=This cannot be undone!</action>
1952 <action function="set">tw_action_text1=Deleting Backup...</action>
1953 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1954 <action function="set">tw_slider_text=Swipe to Delete</action>
1955 <action function="page">confirm_action</action>
1956 </actions>
1957 </object>
1958
Dees_Troya13d74f2013-03-24 08:54:55 -05001959 <object type="checkbox">
1960 <placement x="%col1_x%" y="%row15_text_y%" />
1961 <font resource="font" color="%text_color%" />
1962 <text>Enable MD5 verification of backup files.</text>
1963 <data variable="tw_skip_md5_check" />
1964 <image checked="checkbox_true" unchecked="checkbox_false" />
1965 </object>
1966
1967 <object type="text" color="%text_color%">
1968 <font resource="font" />
1969 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1970 <text>Package Date: %tw_restore_file_date%</text>
1971 </object>
1972
Dees_Troy51a0e822012-09-05 15:24:24 -04001973 <object type="slider">
1974 <placement x="%slider_x%" y="%slider_y%" />
1975 <resource base="slider" used="slider-used" touch="slider-touch" />
1976 <action function="page">restore_run</action>
1977 </object>
1978
1979 <object type="text" color="%text_color%">
1980 <font resource="font" />
1981 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1982 <text>Swipe to Restore</text>
1983 </object>
1984
Dees_Troy51a0e822012-09-05 15:24:24 -04001985 <object type="action">
1986 <touch key="home" />
1987 <action function="page">main</action>
1988 </object>
1989
1990 <object type="action">
1991 <touch key="back" />
1992 <action function="page">restore</action>
1993 </object>
1994
1995 <object type="template" name="footer" />
1996 </page>
1997
1998 <page name="renamebackup">
1999 <object type="template" name="header" />
2000
2001 <object type="text" color="%text_color%">
2002 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2003 <font resource="font" />
2004 <text>Please Enter a New Backup Name</text>
2005 </object>
2006
2007 <object type="input">
2008 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2009 <background color="%input_background_color%" />
2010 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2011 <font resource="font" color="%text_color%" />
2012 <text>%tw_backup_rename%</text>
2013 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002014 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002015 <actions>
2016 <action function="set">tw_back=restore</action>
2017 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002018 <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 -04002019 <action function="set">tw_text1=Rename Backup?</action>
2020 <action function="set">tw_text2=This cannot be undone!</action>
2021 <action function="set">tw_action_text1=Renaming Backup...</action>
2022 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2023 <action function="set">tw_slider_text=Swipe to Rename</action>
2024 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2025 <action function="set">tw_existpage=renamebackup</action>
2026 <action function="set">tw_notexistpage=confirm_action</action>
2027 <action function="page">filecheck</action>
2028 </actions>
2029 </object>
2030
2031 <object type="text" color="%text_fail_color%">
2032 <condition var1="tw_fileexists" var2="1" />
2033 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2034 <font resource="font" />
2035 <text>A backup with that name already exists!</text>
2036 </object>
2037
2038 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002039 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002040 <placement x="%col_center_x%" y="%row2_y%" />
2041 <font resource="font" color="%button_text_color%" />
2042 <text>Cancel</text>
2043 <image resource="main_button" />
2044 <action function="page">restore_select</action>
2045 </object>
2046
2047 <object type="template" name="keyboardtemplate" />
2048
2049 <object type="action">
2050 <touch key="home" />
2051 <action function="page">main</action>
2052 </object>
2053
2054 <object type="action">
2055 <touch key="back" />
2056 <action function="page">restore_select</action>
2057 </object>
2058
2059 <object type="template" name="footer" />
2060 </page>
2061
2062 <page name="restore_run">
2063 <object type="template" name="header" />
2064
2065 <object type="text" color="%text_color%">
2066 <font resource="font" />
2067 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2068 <text>%tw_operation% %tw_partition%</text>
2069 </object>
2070
2071 <object type="template" name="action_page_console" />
2072
2073 <object type="template" name="progress_bar" />
2074
2075 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002076 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002077 <actions>
2078 <action function="set">tw_back=restore_select</action>
2079 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002080 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002081 <action function="page">action_complete</action>
2082 </actions>
2083 </object>
2084
2085 <object type="action">
2086 <action function="nandroid">restore</action>
2087 </object>
2088 </page>
2089
Dees_Troya13d74f2013-03-24 08:54:55 -05002090 <page name="selectstorage">
2091 <object type="template" name="header" />
2092
2093 <object type="partitionlist">
2094 <highlight color="%fileselector_highlight_color%" />
2095 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2096 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2097 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2098 <text>Select Storage:</text>
2099 <icon selected="radio_true" unselected="radio_false" />
2100 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2101 <background color="%listbox_background%" />
2102 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2103 <data name="tw_storage_path" />
2104 <listtype name="storage" />
2105 </object>
2106
Dees_Troye7e0ae82013-07-05 14:46:07 +00002107 <object type="button">
2108 <highlight color="%highlight_color%" />
2109 <placement x="%col_center_x%" y="%row4_y%" />
2110 <font resource="font" color="%button_text_color%" />
2111 <text>OK</text>
2112 <image resource="main_button" />
2113 <actions>
2114 <action function="set">tw_clear_destination=%tw_back%</action>
2115 <action function="page">clear_vars</action>
2116 </actions>
2117 </object>
2118
Dees_Troya13d74f2013-03-24 08:54:55 -05002119 <object type="action">
2120 <touch key="home" />
2121 <action function="page">main</action>
2122 </object>
2123
2124 <object type="action">
2125 <touch key="back" />
2126 <actions>
2127 <action function="page">%tw_back%</action>
2128 </actions>
2129 </object>
2130
2131 <object type="template" name="footer" />
2132 </page>
2133
Dees_Troy51a0e822012-09-05 15:24:24 -04002134 <page name="mount">
2135 <object type="template" name="header" />
2136
Dees_Troya13d74f2013-03-24 08:54:55 -05002137 <object type="partitionlist">
2138 <highlight color="%fileselector_highlight_color%" />
2139 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2140 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2141 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2142 <text>Select Partitions to Mount:</text>
2143 <icon selected="checkbox_true" unselected="checkbox_false" />
2144 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2145 <background color="%listbox_background%" />
2146 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2147 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002148 </object>
2149
2150 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002151 <highlight color="%highlight_color%" />
2152 <fill color="%button_fill_color%" />
2153 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2154 <font resource="font" color="%button_text_color%" />
2155 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2156 <actions>
2157 <action function="set">tw_back=mount</action>
2158 <action function="page">selectstorage</action>
2159 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002160 </object>
2161
2162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002163 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002164 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002165 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002166 <font resource="font" color="%button_text_color%" />
2167 <text>Mount USB Storage</text>
2168 <image resource="main_button" />
2169 <action function="page">usb_mount</action>
2170 </object>
2171
Gary Peckffdc6ae2012-11-21 18:02:02 -08002172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002173 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002174 <conditions>
2175 <condition var1="tw_is_encrypted" var2="1" />
2176 <condition var1="tw_is_decrypted" var2="0" />
2177 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002178 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002179 <font resource="font" color="%button_text_color%" />
2180 <text>Decrypt Data</text>
2181 <image resource="main_button" />
2182 <action function="page">decrypt</action>
2183 </object>
2184
Dees_Troy51a0e822012-09-05 15:24:24 -04002185 <object type="action">
2186 <touch key="home" />
2187 <action function="page">main</action>
2188 </object>
2189
2190 <object type="action">
2191 <touch key="back" />
2192 <action function="page">main</action>
2193 </object>
2194
2195 <object type="template" name="footer" />
2196 </page>
2197
2198 <page name="usb_mount">
2199 <object type="template" name="header" />
2200
2201 <object type="text" color="%text_color%">
2202 <font resource="font" />
2203 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2204 <text>USB Storage Mounted</text>
2205 </object>
2206
2207 <object type="text" color="%text_color%">
2208 <placement x="%col1_x%" y="%row1_text_y%" />
2209 <font resource="font" />
2210 <text>Be sure to safely remove your device</text>
2211 </object>
2212
2213 <object type="text" color="%text_color%">
2214 <placement x="%col1_x%" y="%row2_text_y%" />
2215 <font resource="font" />
2216 <text>from your computer before unmounting!</text>
2217 </object>
2218
2219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002221 <placement x="%col1_x%" y="%row3_y%" />
2222 <font resource="font" color="%button_text_color%" />
2223 <text>Unmount</text>
2224 <image resource="main_button" />
2225 <action function="page">usb_umount</action>
2226 </object>
2227
2228 <object type="action">
2229 <action function="mount">usb</action>
2230 </object>
2231
2232 <object type="template" name="footer" />
2233 </page>
2234
2235 <page name="usb_umount">
2236 <object type="action">
2237 <action function="unmount">usb</action>
2238 </object>
2239
2240 <object type="action">
2241 <action function="page">mount</action>
2242 </object>
2243 </page>
2244
2245 <page name="reboot">
2246 <object type="template" name="header" />
2247
2248 <object type="text" color="%text_color%">
2249 <font resource="font" />
2250 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2251 <text>Reboot Menu</text>
2252 </object>
2253
2254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002256 <condition var1="tw_reboot_system" var2="1" />
2257 <placement x="%col1_x%" y="%row1_y%" />
2258 <font resource="font" color="%button_text_color%" />
2259 <text>System</text>
2260 <image resource="main_button" />
2261 <actions>
2262 <action function="set">tw_back=reboot</action>
2263 <action function="set">tw_action=reboot</action>
2264 <action function="set">tw_action_param=system</action>
2265 <action function="set">tw_has_action2=0</action>
2266 <action function="set">tw_text1=No OS Installed! Are you</action>
2267 <action function="set">tw_text2=sure you wish to reboot?</action>
2268 <action function="set">tw_action_text1=Rebooting...</action>
2269 <action function="set">tw_complete_text1=Rebooting...</action>
2270 <action function="set">tw_slider_text=Swipe to Reboot</action>
2271 <action function="page">rebootcheck</action>
2272 </actions>
2273 </object>
2274
2275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002277 <condition var1="tw_reboot_poweroff" var2="1" />
2278 <placement x="%col2_x%" y="%row1_y%" />
2279 <font resource="font" color="%button_text_color%" />
2280 <text>Power Off</text>
2281 <image resource="main_button" />
2282 <actions>
2283 <action function="set">tw_back=reboot</action>
2284 <action function="set">tw_action=reboot</action>
2285 <action function="set">tw_action_param=poweroff</action>
2286 <action function="set">tw_has_action2=0</action>
2287 <action function="set">tw_text1=No OS Installed! Are you</action>
2288 <action function="set">tw_text2=sure you wish to power off?</action>
2289 <action function="set">tw_action_text1=Turning Off...</action>
2290 <action function="set">tw_complete_text1=Turning Off...</action>
2291 <action function="set">tw_slider_text=Swipe to Power Off</action>
2292 <action function="page">rebootcheck</action>
2293 </actions>
2294 </object>
2295
2296 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002297 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002298 <condition var1="tw_reboot_recovery" var2="1" />
2299 <placement x="%col1_x%" y="%row2_y%" />
2300 <font resource="font" color="%button_text_color%" />
2301 <text>Recovery</text>
2302 <image resource="main_button" />
2303 <actions>
2304 <action function="set">tw_back=reboot</action>
2305 <action function="set">tw_action=reboot</action>
2306 <action function="set">tw_action_param=recovery</action>
2307 <action function="set">tw_has_action2=0</action>
2308 <action function="set">tw_text1=No OS Installed! Are you</action>
2309 <action function="set">tw_text2=sure you wish to reboot?</action>
2310 <action function="set">tw_action_text1=Rebooting...</action>
2311 <action function="set">tw_complete_text1=Rebooting...</action>
2312 <action function="set">tw_slider_text=Swipe to Reboot</action>
2313 <action function="page">rebootcheck</action>
2314 </actions>
2315 </object>
2316
2317 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002318 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002319 <condition var1="tw_reboot_bootloader" var2="1" />
2320 <placement x="%col2_x%" y="%row2_y%" />
2321 <font resource="font" color="%button_text_color%" />
2322 <text>Bootloader</text>
2323 <image resource="main_button" />
2324 <actions>
2325 <action function="set">tw_back=reboot</action>
2326 <action function="set">tw_action=reboot</action>
2327 <action function="set">tw_action_param=bootloader</action>
2328 <action function="set">tw_has_action2=0</action>
2329 <action function="set">tw_text1=No OS Installed! Are you</action>
2330 <action function="set">tw_text2=sure you wish to reboot?</action>
2331 <action function="set">tw_action_text1=Rebooting...</action>
2332 <action function="set">tw_complete_text1=Rebooting...</action>
2333 <action function="set">tw_slider_text=Swipe to Reboot</action>
2334 <action function="page">rebootcheck</action>
2335 </actions>
2336 </object>
2337
2338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002340 <condition var1="tw_download_mode" var2="1" />
2341 <placement x="%col1_x%" y="%row3_y%" />
2342 <font resource="font" color="%button_text_color%" />
2343 <text>Download</text>
2344 <image resource="main_button" />
2345 <actions>
2346 <action function="set">tw_back=reboot</action>
2347 <action function="set">tw_action=reboot</action>
2348 <action function="set">tw_action_param=download</action>
2349 <action function="set">tw_has_action2=0</action>
2350 <action function="set">tw_text1=No OS Installed! Are you</action>
2351 <action function="set">tw_text2=sure you wish to reboot?</action>
2352 <action function="set">tw_action_text1=Rebooting...</action>
2353 <action function="set">tw_complete_text1=Rebooting...</action>
2354 <action function="set">tw_slider_text=Swipe to Reboot</action>
2355 <action function="page">rebootcheck</action>
2356 </actions>
2357 </object>
2358
2359 <object type="action">
2360 <touch key="home" />
2361 <action function="page">main</action>
2362 </object>
2363
2364 <object type="action">
2365 <touch key="back" />
2366 <action function="page">main</action>
2367 </object>
2368
2369 <object type="template" name="footer" />
2370 </page>
2371
2372 <page name="settings">
2373 <object type="template" name="header" />
2374
2375 <object type="text" color="%text_color%">
2376 <font resource="font" />
2377 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2378 <text>Settings</text>
2379 </object>
2380
2381 <object type="checkbox">
2382 <placement x="%col1_x%" y="%row1_text_y%" />
2383 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002384 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <data variable="tw_signed_zip_verify" />
2386 <image checked="checkbox_true" unchecked="checkbox_false" />
2387 </object>
2388
2389 <object type="checkbox">
2390 <placement x="%col1_x%" y="%row2_text_y%" />
2391 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002392 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <data variable="tw_rm_rf" />
2394 <image checked="checkbox_true" unchecked="checkbox_false" />
2395 </object>
2396
2397 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002398 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002400 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <data variable="tw_skip_md5_generate" />
2402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002406 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002408 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <data variable="tw_skip_md5_check" />
2410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002414 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002416 <text>Use Military Time.</text>
2417 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <image checked="checkbox_true" unchecked="checkbox_false" />
2419 </object>
2420
2421 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002422 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002424 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <data variable="tw_simulate_actions" />
2426 <image checked="checkbox_true" unchecked="checkbox_false" />
2427 </object>
2428
2429 <object type="checkbox">
2430 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002431 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002433 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <data variable="tw_simulate_fail" />
2435 <image checked="checkbox_true" unchecked="checkbox_false" />
2436 </object>
2437
2438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002440 <placement x="%col1_x%" y="%row3_y%" />
2441 <font resource="font" color="%button_text_color%" />
2442 <text>Time Zone</text>
2443 <image resource="main_button" />
2444 <action function="page">timezone</action>
2445 </object>
2446
2447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002448 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002449 <placement x="%col2_x%" y="%row3_y%" />
2450 <font resource="font" color="%button_text_color%" />
2451 <text>Screen</text>
2452 <image resource="main_button" />
2453 <action function="page">screen</action>
2454 </object>
2455
Kra1o5781e6892014-03-10 00:37:26 +01002456 <object type="button">
2457 <placement x="%col1_x%" y="%row4_y%" />
2458 <font resource="font" color="%button_text_color%" />
2459 <text>Restore Defaults</text>
2460 <image resource="main_button" />
2461 <action function="restoredefaultsettings"></action>
2462 </object>
2463
Dees_Troy2f9117a2013-02-17 19:52:09 -06002464 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002465 <highlight color="%highlight_color%" />
2466 <placement x="%col2_x%" y="%row4_y%" />
2467 <font resource="font" color="%button_text_color%" />
2468 <text>Vibration Duration</text>
2469 <image resource="main_button" />
2470 <action function="page">Vibrate</action>
2471 </object>
2472
Dees_Troy51a0e822012-09-05 15:24:24 -04002473 <object type="action">
2474 <touch key="home" />
2475 <action function="page">main</action>
2476 </object>
2477
2478 <object type="action">
2479 <touch key="back" />
2480 <action function="page">main</action>
2481 </object>
2482
2483 <object type="template" name="footer" />
2484 </page>
2485
2486 <page name="timezone">
2487 <object type="template" name="header" />
2488
Dees_Troy51a0e822012-09-05 15:24:24 -04002489 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002490 <highlight color="%fileselector_highlight_color%" />
2491 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2492 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002493 <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 -06002494 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002496 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <data name="tw_time_zone_guisel" />
2500 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2501 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2502 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2503 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2504 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2505 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2506 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2507 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2508 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2509 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2510 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2511 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2512 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2513 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2514 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2515 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2516 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2517 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2518 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2519 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2520 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2521 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2522 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2523 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2524 </object>
2525
2526 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002527 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002528 <font resource="font" color="%text_color%" />
2529 <text>Do you use daylight savings time (DST)?</text>
2530 <data variable="tw_time_zone_guidst" />
2531 <image checked="checkbox_true" unchecked="checkbox_false" />
2532 </object>
2533
2534 <object type="text" color="%text_color%">
2535 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002536 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2538 </object>
2539
2540 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002541 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002542 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002543 <font resource="font" color="%button_text_color%" />
2544 <text>None</text>
2545 <image resource="medium_button" />
2546 <action function="set">tw_time_zone_guioffset=0</action>
2547 </object>
2548
2549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002550 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002551 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <font resource="font" color="%button_text_color%" />
2553 <text>15</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=15</action>
2556 </object>
2557
2558 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002559 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002560 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002561 <font resource="font" color="%button_text_color%" />
2562 <text>30</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=30</action>
2565 </object>
2566
2567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002568 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002569 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <font resource="font" color="%button_text_color%" />
2571 <text>45</text>
2572 <image resource="medium_button" />
2573 <action function="set">tw_time_zone_guioffset=45</action>
2574 </object>
2575
2576 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002577 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002578 <placement x="%col_center_x%" y="%tz_set_y%" />
2579 <font resource="font" color="%button_text_color%" />
2580 <text>Set Time Zone</text>
2581 <image resource="main_button" />
2582 <action function="setguitimezone"></action>
2583 </object>
2584
2585 <object type="text" color="%text_color%">
2586 <font resource="font" />
2587 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2588 <text>Current Time Zone: %tw_time_zone%</text>
2589 </object>
2590
2591 <object type="action">
2592 <touch key="home" />
2593 <action function="page">main</action>
2594 </object>
2595
2596 <object type="action">
2597 <touch key="back" />
2598 <action function="page">settings</action>
2599 </object>
2600
2601 <object type="template" name="footer" />
2602 </page>
2603
Dees_Troy2f9117a2013-02-17 19:52:09 -06002604 <page name="screen">
2605 <object type="template" name="header" />
2606
2607 <object type="text" color="%text_color%">
2608 <font resource="font" />
2609 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2610 <text>Screen Settings</text>
2611 </object>
2612
Dees_Troy2f9117a2013-02-17 19:52:09 -06002613 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002614 <placement x="%col1_x%" y="%row2_text_y%" />
2615 <font resource="font" color="%text_color%" />
2616 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002617 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002618 <text>Enable screen timeout.</text>
2619 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002620 <action function="set">tw_screen_timeout_secs=60</action>
2621 </object>
2622
2623 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <placement x="%col1_x%" y="%row2_text_y%" />
2625 <font resource="font" color="%text_color%" />
2626 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002627 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002628 <text>Enable screen timeout.</text>
2629 <image resource="checkbox_true" />
2630 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002631 </object>
2632
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <object type="slidervalue">
2634 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002635 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002636 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2637 <font resource="font" color="%text_color%" />
2638 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2639 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2640 <text>Screen timeout in seconds:</text>
2641 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002642 </object>
2643
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002645 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002646 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2647 <font resource="font" color="%text_color%" />
2648 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2649 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2650 <text>Brightness: %tw_brightness_pct%%</text>
2651 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002652 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002653 <action function="set">tw_brightness=%tw_brightness_max%</action>
2654 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2655 <action function="compute">tw_brightness/100</action>
2656 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002657 </actions>
2658 </object>
2659
2660 <object type="action">
2661 <touch key="home" />
2662 <action function="page">main</action>
2663 </object>
2664
2665 <object type="action">
2666 <touch key="back" />
2667 <action function="page">settings</action>
2668 </object>
2669
2670 <object type="template" name="footer" />
2671 </page>
2672
Ethan Yonker03db3262014-02-05 08:02:06 -06002673 <page name="Vibrate">
2674 <object type="template" name="header" />
2675
2676 <object type="text" color="%text_color%">
2677 <font resource="font" />
2678 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2679 <text>Vibration Settings :</text>
2680 </object>
2681
2682 <object type="slidervalue">
2683 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2684 <font resource="font" color="%text_color%" />
2685 <text>Button Vibration:</text>
2686 <data variable="tw_button_vibrate" min="0" max="300" />
2687 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2688 </object>
2689
2690 <object type="slidervalue">
2691 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2692 <font resource="font" color="%text_color%" />
2693 <text>Keyboard Vibration:</text>
2694 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2695 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2696 </object>
2697
2698 <object type="slidervalue">
2699 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2700 <font resource="font" color="%text_color%" />
2701 <text>Action Vibration:</text>
2702 <data variable="tw_action_vibrate" min="0" max="500" />
2703 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2704 </object>
2705
2706 <object type="action">
2707 <touch key="home" />
2708 <action function="page">main</action>
2709 </object>
2710
2711 <object type="action">
2712 <touch key="back" />
2713 <action function="page">settings</action>
2714 </object>
2715
2716 <object type="template" name="footer" />
2717 </page>
2718
Dees_Troy51a0e822012-09-05 15:24:24 -04002719 <page name="advanced">
2720 <object type="template" name="header" />
2721
2722 <object type="text" color="%text_color%">
2723 <font resource="font" />
2724 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2725 <text>Advanced</text>
2726 </object>
2727
2728 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002729 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002730 <placement x="%col1_x%" y="%row1_y%" />
2731 <font resource="font" color="%button_text_color%" />
2732 <text>Copy Log to SD</text>
2733 <image resource="main_button" />
2734 <actions>
2735 <action function="set">tw_back=advanced</action>
2736 <action function="set">tw_action=copylog</action>
2737 <action function="set">tw_text1=Copy Log to SD Card?</action>
2738 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2739 <action function="set">tw_complete_text1=Log Copy Complete</action>
2740 <action function="set">tw_slider_text=Swipe to Confirm</action>
2741 <action function="page">confirm_action</action>
2742 </actions>
2743 </object>
2744
2745 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002746 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <placement x="%col2_x%" y="%row1_y%" />
2748 <font resource="font" color="%button_text_color%" />
2749 <text>Fix Permissions</text>
2750 <image resource="main_button" />
2751 <actions>
2752 <action function="set">tw_back=advanced</action>
2753 <action function="set">tw_action=fixpermissions</action>
2754 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2757 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002758 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <action function="page">confirm_action</action>
2760 </actions>
2761 </object>
2762
2763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002764 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <condition var1="tw_allow_partition_sdcard" var2="1" />
2766 <placement x="%col1_x%" y="%row2_y%" />
2767 <font resource="font" color="%button_text_color%" />
2768 <text>Partition SD Card</text>
2769 <image resource="main_button" />
2770 <action function="page">partsdcard</action>
2771 </object>
2772
2773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <placement x="%col2_x%" y="%row2_y%" />
2776 <font resource="font" color="%button_text_color%" />
2777 <text>File Manager</text>
2778 <image resource="main_button" />
2779 <action function="page">filemanagerlist</action>
2780 </object>
2781
2782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002783 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002784 <placement x="%col1_x%" y="%row3_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>Terminal Command</text>
2787 <image resource="main_button" />
2788 <action function="page">terminalfolder</action>
2789 </object>
2790
2791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002792 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002793 <placement x="%col2_x%" y="%row3_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>Reload Theme</text>
2796 <image resource="main_button" />
2797 <action function="reload"></action>
2798 </object>
2799
2800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002801 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002802 <placement x="%col1_x%" y="%row4_y%" />
2803 <font resource="font" color="%button_text_color%" />
2804 <text>ADB Sideload</text>
2805 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002806 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002807 </object>
2808
2809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <condition var1="tw_show_dumlock" var2="1" />
2812 <placement x="%col2_x%" y="%row4_y%" />
2813 <font resource="font" color="%button_text_color%" />
2814 <text>HTC Dumlock</text>
2815 <image resource="main_button" />
2816 <action function="page">htcdumlock</action>
2817 </object>
2818
2819 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002820 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002821 <condition var1="tw_has_injecttwrp" var2="1" />
2822 <placement x="%col2_x%" y="%row4_y%" />
2823 <font resource="font" color="%button_text_color%" />
2824 <text>Re-Inject TWRP</text>
2825 <image resource="main_button" />
2826 <actions>
2827 <action function="set">tw_back=advanced</action>
2828 <action function="set">tw_action=reinjecttwrp</action>
2829 <action function="set">tw_text1=Re-Inject TWRP?</action>
2830 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2831 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2832 <action function="set">tw_slider_text=Swipe to Confirm</action>
2833 <action function="page">confirm_action</action>
2834 </actions>
2835 </object>
2836
2837 <object type="action">
2838 <touch key="home" />
2839 <action function="page">main</action>
2840 </object>
2841
2842 <object type="action">
2843 <touch key="back" />
2844 <action function="page">main</action>
2845 </object>
2846
2847 <object type="template" name="footer" />
2848 </page>
2849
2850 <page name="partsdcard">
2851 <object type="template" name="header" />
2852
2853 <object type="text" color="%text_color%">
2854 <font resource="font" />
2855 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2856 <text>Partition SD Card</text>
2857 </object>
2858
2859 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002860 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002861 <placement x="%col1_x%" y="%row1_y%" />
2862 <font resource="font" color="%button_text_color%" />
2863 <text></text>
2864 <image resource="minus_button" />
2865 <action function="addsubtract">tw_sdext_size-128</action>
2866 </object>
2867
2868 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002869 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002870 <placement x="%sd_plus_x%" y="%row1_y%" />
2871 <font resource="font" color="%button_text_color%" />
2872 <text></text>
2873 <image resource="plus_button" />
2874 <action function="addsubtract">tw_sdext_size+128</action>
2875 </object>
2876
2877 <object type="text" color="%text_color%">
2878 <font resource="font" />
2879 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2880 <text>EXT Size: %tw_sdext_size%</text>
2881 </object>
2882
2883 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002884 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002885 <placement x="%col1_x%" y="%sdswap_button_y%" />
2886 <font resource="font" color="%button_text_color%" />
2887 <text></text>
2888 <image resource="minus_button" />
2889 <action function="addsubtract">tw_swap_size-32</action>
2890 </object>
2891
2892 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002893 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002894 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2895 <font resource="font" color="%button_text_color%" />
2896 <text></text>
2897 <image resource="plus_button" />
2898 <action function="addsubtract">tw_swap_size+32</action>
2899 </object>
2900
2901 <object type="text" color="%text_color%">
2902 <font resource="font" />
2903 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2904 <text>Swap Size: %tw_swap_size%</text>
2905 </object>
2906
2907 <object type="text" color="%text_color%">
2908 <font resource="font" />
2909 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2910 <text>File system: %tw_sdpart_file_system%</text>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2916 <font resource="font" color="%button_text_color%" />
2917 <text>EXT3</text>
2918 <image resource="main_button" />
2919 <action function="set">tw_sdpart_file_system=ext3</action>
2920 </object>
2921
2922 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002923 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002924 <condition var1="tw_sdext_disable_ext4" var2="0" />
2925 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2926 <font resource="font" color="%button_text_color%" />
2927 <text>EXT4</text>
2928 <image resource="main_button" />
2929 <action function="set">tw_sdpart_file_system=ext4</action>
2930 </object>
2931
2932 <object type="text" color="%text_color%">
2933 <font resource="font" />
2934 <placement x="%col1_x%" y="%row12_text_y%" />
2935 <text>You will lose all files on your SD card!</text>
2936 </object>
2937
2938 <object type="text" color="%text_color%">
2939 <font resource="font" />
2940 <placement x="%col1_x%" y="%row13_text_y%" />
2941 <text>This action cannot be undone!</text>
2942 </object>
2943
2944 <object type="slider">
2945 <placement x="%slider_x%" y="%slider_y%" />
2946 <resource base="slider" used="slider-used" touch="slider-touch" />
2947 <action function="page">partsdcardaction</action>
2948 <actions>
2949 <action function="set">tw_back=partsdcard</action>
2950 <action function="set">tw_action=partitionsd</action>
2951 <action function="set">tw_has_action2=1</action>
2952 <action function="set">tw_action2=set</action>
2953 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2954 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2955 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002956 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002957 <action function="page">action_page</action>
2958 </actions>
2959 </object>
2960
2961 <object type="text" color="%text_color%">
2962 <font resource="font" />
2963 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2964 <text>Swipe to Partition</text>
2965 </object>
2966
2967 <object type="action">
2968 <touch key="home" />
2969 <action function="page">main</action>
2970 </object>
2971
2972 <object type="action">
2973 <touch key="back" />
2974 <action function="page">advanced</action>
2975 </object>
2976
2977 <object type="template" name="footer" />
2978 </page>
2979
2980 <page name="htcdumlock">
2981 <object type="template" name="header" />
2982
2983 <object type="text" color="%text_color%">
2984 <font resource="font" />
2985 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2986 <text>HTC Dumlock</text>
2987 </object>
2988
2989 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002990 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002991 <condition var1="tw_show_dumlock" var2="1" />
2992 <placement x="%col1_x%" y="%row1_y%" />
2993 <font resource="font" color="%button_text_color%" />
2994 <text>Restore Original Boot</text>
2995 <image resource="main_button" />
2996 <actions>
2997 <action function="set">tw_back=htcdumlock</action>
2998 <action function="set">tw_action=htcdumlockrestoreboot</action>
2999 <action function="set">tw_text1=Restore original boot image?</action>
3000 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3001 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3002 <action function="set">tw_slider_text=Swipe to Confirm</action>
3003 <action function="page">confirm_action</action>
3004 </actions>
3005 </object>
3006
3007 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003008 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003009 <condition var1="tw_show_dumlock" var2="1" />
3010 <placement x="%col2_x%" y="%row1_y%" />
3011 <font resource="font" color="%button_text_color%" />
3012 <text>Reflash Recovery</text>
3013 <image resource="main_button" />
3014 <actions>
3015 <action function="set">tw_back=htcdumlock</action>
3016 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3017 <action function="set">tw_text1=Reflash recovery to boot?</action>
3018 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3019 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3020 <action function="set">tw_slider_text=Swipe to Confirm</action>
3021 <action function="page">confirm_action</action>
3022 </actions>
3023 </object>
3024
3025 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003026 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003027 <condition var1="tw_show_dumlock" var2="1" />
3028 <placement x="%col1_x%" y="%row2_y%" />
3029 <font resource="font" color="%button_text_color%" />
3030 <text>Install HTC Dumlock</text>
3031 <image resource="main_button" />
3032 <actions>
3033 <action function="set">tw_back=htcdumlock</action>
3034 <action function="set">tw_action=installhtcdumlock</action>
3035 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3036 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3037 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3038 <action function="set">tw_slider_text=Swipe to Confirm</action>
3039 <action function="page">confirm_action</action>
3040 </actions>
3041 </object>
3042
3043 <object type="action">
3044 <touch key="home" />
3045 <action function="page">main</action>
3046 </object>
3047
3048 <object type="action">
3049 <touch key="back" />
3050 <action function="page">advanced</action>
3051 </object>
3052
3053 <object type="template" name="footer" />
3054 </page>
3055
3056 <page name="lock">
3057 <background color="#000000A0" />
3058
3059 <object type="image">
3060 <image resource="unlock-icon" />
3061 <placement x="%lock_x%" y="%lock_y%" />
3062 </object>
3063
3064 <object type="slider">
3065 <placement x="%slider_x%" y="%slider_y%" />
3066 <resource base="slider" used="slider-used" touch="slider-touch" />
3067 <action function="overlay"></action>
3068 </object>
3069
3070 <object type="text" color="%text_color%">
3071 <font resource="font" />
3072 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3073 <text>Swipe to Unlock</text>
3074 </object>
3075 </page>
3076
3077 <page name="filemanagerlist">
3078 <object type="template" name="header" />
3079
3080 <object type="text" color="%text_color%">
3081 <font resource="font" />
3082 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3083 <text>File Manager: Select a File or Folder</text>
3084 </object>
3085
3086 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003087 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003088 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3089 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003090 <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 -04003091 <text>%tw_file_location1%</text>
3092 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3093 <sort name="tw_gui_sort_order" />
3094 <icon folder="folder_icon" file="file_icon" />
3095 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003096 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003097 <folders="1" files="1" />
3098 <path name="tw_file_location1" default="/" />
3099 <data name="tw_filename1" />
3100 <selection name="tw_selection1" />
3101 </object>
3102
3103 <object type="template" name="sort_options" />
3104
3105 <object type="action">
3106 <actions>
3107 <action function="set">tw_fm_type=File</action>
3108 <action function="set">tw_fm_isfolder=0</action>
3109 </actions>
3110 </object>
3111
3112 <object type="action">
3113 <touch key="home" />
3114 <action function="page">main</action>
3115 </object>
3116
3117 <object type="action">
3118 <touch key="back" />
3119 <action function="page">advanced</action>
3120 </object>
3121
3122 <object type="action">
3123 <condition var1="tw_filename1" op="modified" />
3124 <actions>
3125 <action function="page">filemanageroptions</action>
3126 </actions>
3127 </object>
3128
3129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3132 <font resource="font" color="%button_text_color%" />
3133 <text>Select</text>
3134 <image resource="medium_button" />
3135 <actions>
3136 <action function="set">tw_filename1=tw_file_location1</action>
3137 <action function="set">tw_fm_isfolder=1</action>
3138 <action function="set">tw_fm_type=Folder</action>
3139 <action function="page">filemanageroptions</action>
3140 </actions>
3141 </object>
3142
3143 <object type="template" name="footer" />
3144 </page>
3145
3146 <page name="filemanageroptions">
3147 <object type="template" name="header" />
3148
3149 <object type="text" color="%text_color%">
3150 <font resource="font" />
3151 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3152 <text>%tw_fm_type% Selected:</text>
3153 </object>
3154
3155 <object type="text" color="%text_color%">
3156 <font resource="font" />
3157 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3158 <text>%tw_filename1%</text>
3159 </object>
3160
3161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003163 <condition var1="tw_fm_isfolder" var2="0" />
3164 <placement x="%col1_x%" y="%row2_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Copy File</text>
3167 <image resource="main_button" />
3168 <actions>
3169 <action function="set">tw_filemanager_command=cp</action>
3170 <action function="set">tw_fm_text1=Copying</action>
3171 <action function="page">choosedestinationfolder</action>
3172 </actions>
3173 </object>
3174
3175 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003176 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003177 <condition var1="tw_fm_isfolder" var2="1" />
3178 <placement x="%col1_x%" y="%row2_y%" />
3179 <font resource="font" color="%button_text_color%" />
3180 <text>Copy Folder</text>
3181 <image resource="main_button" />
3182 <actions>
3183 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3184 <action function="set">tw_fm_text1=Copying</action>
3185 <action function="page">choosedestinationfolder</action>
3186 </actions>
3187 </object>
3188
3189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003191 <placement x="%col2_x%" y="%row2_y%" />
3192 <font resource="font" color="%button_text_color%" />
3193 <text>Move</text>
3194 <image resource="main_button" />
3195 <actions>
3196 <action function="set">tw_filemanager_command=mv</action>
3197 <action function="set">tw_fm_text1=Moving</action>
3198 <action function="page">choosedestinationfolder</action>
3199 </actions>
3200 </object>
3201
3202 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003203 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003204 <placement x="%col1_x%" y="%row3_y%" />
3205 <font resource="font" color="%button_text_color%" />
3206 <text>chmod 755</text>
3207 <image resource="main_button" />
3208 <actions>
3209 <action function="set">tw_filemanager_command=chmod 755</action>
3210 <action function="set">tw_fm_text1=chmod 755</action>
3211 <action function="set">tw_fm_text2=</action>
3212 <action function="set">tw_fm_text3=</action>
3213 <action function="set">tw_include_text3=0</action>
3214 <action function="set">tw_back=filemanageroptions</action>
3215 <action function="page">filemanagerconfirm</action>
3216 </actions>
3217 </object>
3218
3219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003221 <placement x="%col2_x%" y="%row3_y%" />
3222 <font resource="font" color="%button_text_color%" />
3223 <text>chmod</text>
3224 <image resource="main_button" />
3225 <actions>
3226 <action function="set">tw_filemanager_rename=0000</action>
3227 <action function="set">tw_fm_text2=</action>
3228 <action function="set">tw_fm_text3=</action>
3229 <action function="set">tw_include_text3=0</action>
3230 <action function="set">tw_back=filemanageroptions</action>
3231 <action function="page">filemanagerchmod</action>
3232 </actions>
3233 </object>
3234
3235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003236 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003237 <placement x="%col1_x%" y="%row4_y%" />
3238 <font resource="font" color="%button_text_color%" />
3239 <text>Delete</text>
3240 <image resource="main_button" />
3241 <actions>
3242 <action function="set">tw_filemanager_command=rm -rf</action>
3243 <action function="set">tw_fm_text1=Deleting</action>
3244 <action function="set">tw_fm_text2=</action>
3245 <action function="set">tw_fm_text3=</action>
3246 <action function="set">tw_include_text3=0</action>
3247 <action function="set">tw_back=filemanageroptions</action>
3248 <action function="page">filemanagerconfirm</action>
3249 </actions>
3250 </object>
3251
3252 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003253 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003254 <condition var1="tw_fm_isfolder" var2="0" />
3255 <placement x="%col2_x%" y="%row4_y%" />
3256 <font resource="font" color="%button_text_color%" />
3257 <text>Rename File</text>
3258 <image resource="main_button" />
3259 <actions>
3260 <action function="set">tw_filemanager_rename=tw_selection1</action>
3261 <action function="set">tw_fm_text1=Renaming</action>
3262 <action function="set">tw_filemanager_command=mv</action>
3263 <action function="page">filemanagerrenamefile</action>
3264 </actions>
3265 </object>
3266
3267 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003268 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003269 <condition var1="tw_fm_isfolder" var2="1" />
3270 <placement x="%col2_x%" y="%row4_y%" />
3271 <font resource="font" color="%button_text_color%" />
3272 <text>Rename Folder</text>
3273 <image resource="main_button" />
3274 <actions>
3275 <action function="set">tw_filemanager_rename=tw_selection1</action>
3276 <action function="set">tw_fm_text1=Renaming</action>
3277 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3278 <action function="page">filemanagerrenamefolder</action>
3279 </actions>
3280 </object>
3281
3282 <object type="action">
3283 <touch key="home" />
3284 <action function="page">main</action>
3285 </object>
3286
3287 <object type="action">
3288 <touch key="back" />
3289 <action function="page">filemanagerlist</action>
3290 </object>
3291
3292 <object type="template" name="footer" />
3293 </page>
3294
3295 <page name="choosedestinationfolder">
3296 <object type="template" name="header" />
3297
3298 <object type="text" color="%text_color%">
3299 <font resource="font" />
3300 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3301 <text>Browse to Destination Folder & Press Select</text>
3302 </object>
3303
3304 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003305 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003306 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3307 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003308 <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 -04003309 <text>%tw_file_location2%</text>
3310 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3311 <sort name="tw_gui_sort_order" />
3312 <icon folder="folder_icon" file="file_icon" />
3313 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003314 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003315 <filter folders="1" files="0" />
3316 <path name="tw_file_location2" default="/" />
3317 <data name="tw_filename2" />
3318 <selection name="tw_selection2" />
3319 </object>
3320
3321 <object type="template" name="sort_options" />
3322
3323 <object type="action">
3324 <touch key="home" />
3325 <action function="page">main</action>
3326 </object>
3327
3328 <object type="action">
3329 <touch key="back" />
3330 <action function="page">filemanageroptions</action>
3331 </object>
3332
3333 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003334 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003335 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3336 <font resource="font" color="%button_text_color%" />
3337 <text>Select</text>
3338 <image resource="medium_button" />
3339 <actions>
3340 <action function="set">tw_fm_text2=to</action>
3341 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3342 <action function="set">tw_include_text3=1</action>
3343 <action function="set">tw_back=filemanageroptions</action>
3344 <action function="page">filemanagerconfirm</action>
3345 </actions>
3346 </object>
3347
3348 <object type="template" name="footer" />
3349 </page>
3350
3351 <page name="filemanagerrenamefile">
3352 <object type="template" name="header" />
3353
3354 <object type="text" color="%text_color%">
3355 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3356 <font resource="font" />
3357 <text>Please Enter a New %tw_fm_type% Name</text>
3358 </object>
3359
3360 <object type="input">
3361 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3362 <background color="%input_background_color%" />
3363 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3364 <font resource="font" color="%text_color%" />
3365 <text>%tw_filemanager_rename%</text>
3366 <data name="tw_filemanager_rename" />
3367 <restrict minlen="1" maxlen="128" />
3368 <actions>
3369 <action function="set">tw_fm_text2=to</action>
3370 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3371 <action function="set">tw_include_text3=1</action>
3372 <action function="set">tw_back=filemanageroptions</action>
3373 <action function="page">filemanagerconfirm</action>
3374 </actions>
3375 </object>
3376
3377 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003379 <placement x="%col_center_x%" y="%row2_y%" />
3380 <font resource="font" color="%button_text_color%" />
3381 <text>Cancel</text>
3382 <image resource="main_button" />
3383 <action function="page">filemanageroptions</action>
3384 </object>
3385
3386 <object type="template" name="keyboardtemplate" />
3387
3388 <object type="action">
3389 <touch key="home" />
3390 <action function="page">main</action>
3391 </object>
3392
3393 <object type="action">
3394 <touch key="back" />
3395 <action function="page">filemanageroptions</action>
3396 </object>
3397
3398 <object type="template" name="footer" />
3399 </page>
3400
3401 <page name="filemanagerrenamefolder">
3402 <object type="template" name="header" />
3403
3404 <object type="text" color="%text_color%">
3405 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3406 <font resource="font" />
3407 <text>Please Enter a New %tw_fm_type% Name</text>
3408 </object>
3409
3410 <object type="input">
3411 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3412 <background color="%input_background_color%" />
3413 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3414 <font resource="font" color="%text_color%" />
3415 <text>%tw_filemanager_rename%</text>
3416 <data name="tw_filemanager_rename" />
3417 <restrict minlen="1" maxlen="128" />
3418 <actions>
3419 <action function="set">tw_fm_text2=to</action>
3420 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3421 <action function="set">tw_include_text3=1</action>
3422 <action function="set">tw_back=filemanageroptions</action>
3423 <action function="page">filemanagerconfirm</action>
3424 </actions>
3425 </object>
3426
3427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003429 <placement x="%col_center_x%" y="%row2_y%" />
3430 <font resource="font" color="%button_text_color%" />
3431 <text>Cancel</text>
3432 <image resource="main_button" />
3433 <action function="page">filemanageroptions</action>
3434 </object>
3435
3436 <object type="template" name="keyboardtemplate" />
3437
3438 <object type="action">
3439 <touch key="home" />
3440 <action function="page">main</action>
3441 </object>
3442
3443 <object type="action">
3444 <touch key="back" />
3445 <action function="page">filemanageroptions</action>
3446 </object>
3447
3448 <object type="template" name="footer" />
3449 </page>
3450
3451 <page name="filemanagerchmod">
3452 <object type="template" name="header" />
3453
3454 <object type="text" color="%text_color%">
3455 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3456 <font resource="font" />
3457 <text>Please Enter New Permissions</text>
3458 </object>
3459
3460 <object type="input">
3461 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3462 <background color="%input_background_color%" />
3463 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3464 <font resource="font" color="%text_color%" />
3465 <text>%tw_filemanager_rename%</text>
3466 <data name="tw_filemanager_rename" />
3467 <restrict minlen="3" maxlen="4" allow="0123456789" />
3468 <actions>
3469 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3470 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3471 <action function="set">tw_back=filemanageroptions</action>
3472 <action function="page">filemanagerconfirm</action>
3473 </actions>
3474 </object>
3475
3476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003478 <placement x="%col_center_x%" y="%row2_y%" />
3479 <font resource="font" color="%button_text_color%" />
3480 <text>Cancel</text>
3481 <image resource="main_button" />
3482 <action function="page">filemanageroptions</action>
3483 </object>
3484
3485 <object type="template" name="keyboardtemplate" />
3486
3487 <object type="action">
3488 <touch key="home" />
3489 <action function="page">main</action>
3490 </object>
3491
3492 <object type="action">
3493 <touch key="back" />
3494 <action function="page">filemanageroptions</action>
3495 </object>
3496
3497 <object type="template" name="footer" />
3498 </page>
3499
3500 <page name="filemanagerconfirm">
3501 <object type="template" name="header" />
3502
3503 <object type="text" color="%text_color%">
3504 <font resource="font" />
3505 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3506 <text>%tw_fm_text1%</text>
3507 </object>
3508
3509 <object type="text" color="%text_color%">
3510 <font resource="font" />
3511 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3512 <text>%tw_filename1%</text>
3513 </object>
3514
3515 <object type="text" color="%text_color%">
3516 <font resource="font" />
3517 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3518 <text>%tw_fm_text2%</text>
3519 </object>
3520
3521 <object type="text" color="%text_color%">
3522 <font resource="font" />
3523 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3524 <text>%tw_fm_text3%</text>
3525 </object>
3526
3527 <object type="text" color="%text_color%">
3528 <font resource="font" />
3529 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3530 <text>Press back button to cancel.</text>
3531 </object>
3532
3533 <object type="slider">
3534 <placement x="%slider_x%" y="%slider_y%" />
3535 <resource base="slider" used="slider-used" touch="slider-touch" />
3536 <action function="page">filemanageracction</action>
3537 </object>
3538
3539 <object type="text" color="%text_color%">
3540 <font resource="font" />
3541 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3542 <text>Swipe to Confirm</text>
3543 </object>
3544
3545 <object type="action">
3546 <touch key="back" />
3547 <action function="page">%tw_back%</action>
3548 </object>
3549
3550 <object type="action">
3551 <touch key="home" />
3552 <action function="page">main</action>
3553 </object>
3554
3555 <object type="template" name="footer" />
3556 </page>
3557
3558 <page name="filemanageracction">
3559 <object type="template" name="header" />
3560
3561 <object type="text" color="%text_color%">
3562
3563 <font resource="font" />
3564 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3565 <text>%tw_fm_text1%</text>
3566 </object>
3567
3568 <object type="template" name="action_page_console" />
3569
3570 <object type="template" name="progress_bar" />
3571
3572 <object type="action">
3573 <conditions>
3574 <condition var1="tw_operation_state" var2="1" />
3575 <condition var1="tw_operation_status" var2="0" />
3576 </conditions>
3577 <actions>
3578 <action function="set">tw_back=filemanagerlist</action>
3579 <action function="set">tw_complete_text1=File Operation Complete</action>
3580 <action function="page">action_complete</action>
3581 </actions>
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_complete_text1=File Operation Complete</action>
3591 <action function="page">action_complete</action>
3592 </actions>
3593 </object>
3594
3595 <object type="action">
3596 <condition var1="tw_include_text3" var2="0" />
3597 <actions>
3598 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3599 </actions>
3600 </object>
3601
3602 <object type="action">
3603 <condition var1="tw_include_text3" var2="1" />
3604 <actions>
3605 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3606 </actions>
3607 </object>
3608 </page>
3609
3610 <page name="decrypt">
3611 <object type="template" name="header" />
3612
3613 <object type="text" color="%text_color%">
3614 <font resource="font" />
3615 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3616 <text>Please Enter Your Password</text>
3617 </object>
3618
3619 <object type="input">
3620 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3621 <background color="%input_background_color%" />
3622 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3623 <font resource="font" color="%text_color%" />
3624 <text>%tw_crypto_display%</text>
3625 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3626 <restrict minlen="1" maxlen="254" />
3627 <actions>
3628 <action function="page">trydecrypt</action>
3629 </actions>
3630 </object>
3631
3632 <object type="text" color="%text_fail_color%">
3633 <condition var1="tw_password_fail" var2="1" />
3634 <font resource="font" />
3635 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3636 <text>Password Failed, Please Try Again</text>
3637 </object>
3638
3639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003641 <placement x="%col_center_x%" y="%row2_y%" />
3642 <font resource="font" color="%button_text_color%" />
3643 <text>Cancel</text>
3644 <image resource="main_button" />
3645 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003646 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003647 <action function="page">main</action>
3648 </actions>
3649 </object>
3650
3651 <object type="template" name="keyboardtemplate" />
3652
Dees_Troy51a0e822012-09-05 15:24:24 -04003653 <object type="template" name="footer" />
3654 </page>
3655
3656 <page name="trydecrypt">
3657 <object type="template" name="header" />
3658
3659 <object type="text" color="%text_color%">
3660 <font resource="font" />
3661 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3662 <text>Trying Decryption with Your Password</text>
3663 </object>
3664
3665 <object type="template" name="action_page_console" />
3666
3667 <object type="template" name="progress_bar" />
3668
3669 <object type="action">
3670 <action function="decrypt"></action>
3671 </object>
3672
3673 <object type="action">
3674 <conditions>
3675 <condition var1="tw_operation_state" var2="1" />
3676 <condition var1="tw_operation_status" op="!=" var2="0" />
3677 </conditions>
3678 <actions>
3679 <action function="set">tw_password_fail=1</action>
3680 <action function="page">decrypt</action>
3681 </actions>
3682 </object>
3683
3684 <object type="action">
3685 <conditions>
3686 <condition var1="tw_operation_state" var2="1" />
3687 <condition var1="tw_operation_status" op="=" var2="0" />
3688 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003689 <actions>
3690 <action function="set">tw_page_done=1</action>
3691 <action function="page">main</action>
3692 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003693 </object>
3694 </page>
3695
3696 <page name="terminalfolder">
3697 <object type="template" name="header" />
3698
3699 <object type="text" color="%text_color%">
3700 <font resource="font" />
3701 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3702 <text>Browse to Starting Folder</text>
3703 </object>
3704
3705 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003706 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003707 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3708 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003709 <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 -04003710 <text>%tw_terminal_location%</text>
3711 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3712 <sort name="tw_gui_sort_order" />
3713 <icon folder="folder_icon" file="file_icon" />
3714 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003715 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 <filter folders="1" files="0" />
3717 <path name="tw_terminal_location" default="/" />
3718 <data name="tw_terminal" />
3719 <selection name="tw_terminal_selection" />
3720 </object>
3721
3722 <object type="template" name="sort_options" />
3723
3724 <object type="action">
3725 <touch key="home" />
3726 <action function="page">main</action>
3727 </object>
3728
3729 <object type="action">
3730 <touch key="back" />
3731 <action function="page">advanced</action>
3732 </object>
3733
3734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003736 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3737 <font resource="font" color="%button_text_color%" />
3738 <text>Select</text>
3739 <image resource="medium_button" />
3740 <actions>
3741 <action function="page">terminalcommand</action>
3742 </actions>
3743 </object>
3744
3745 <object type="template" name="footer" />
3746 </page>
3747
3748 <page name="terminalcommand">
3749 <object type="template" name="header" />
3750
3751 <object type="console">
3752 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3753 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3754 <font resource="fixed" />
3755 </object>
3756
3757 <object type="text" color="%text_color%">
3758 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3759 <font resource="font" />
3760 <text>Starting Path: %tw_terminal_location%</text>
3761 </object>
3762
3763 <object type="input">
3764 <condition var1="tw_terminal_state" var2="0" />
3765 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3766 <background color="%input_background_color%" />
3767 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3768 <font resource="font" color="%text_color%" />
3769 <text>%tw_terminal_command%</text>
3770 <data name="tw_terminal_command" />
3771 <restrict minlen="1" />
3772 <action function="terminalcommand">%tw_terminal_command%</action>
3773 </object>
3774
3775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003777 <condition var1="tw_terminal_state" var2="1" />
3778 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3779 <font resource="font" color="%button_text_color%" />
3780 <text>KILL</text>
3781 <image resource="medium_button" />
3782 <action function="killterminal"></action>
3783 </object>
3784
3785 <object type="template" name="keyboardtemplate" />
3786
3787 <object type="action">
3788 <touch key="home" />
3789 <action function="page">main</action>
3790 </object>
3791
3792 <object type="action">
3793 <touch key="back" />
3794 <action function="page">terminalfolder</action>
3795 </object>
3796 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003797
3798 <page name="sideload">
3799 <object type="template" name="header" />
3800
3801 <object type="text" color="%text_color%">
3802 <font resource="font" />
3803 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3804 <text>ADB Sideload</text>
3805 </object>
3806
3807 <object type="checkbox">
3808 <placement x="%col1_x%" y="%row2_text_y%" />
3809 <font resource="font" color="%text_color%" />
3810 <text>Wipe Dalvik Cache.</text>
3811 <data variable="tw_wipe_dalvik" />
3812 <image checked="checkbox_true" unchecked="checkbox_false" />
3813 </object>
3814
3815 <object type="checkbox">
3816 <placement x="%col1_x%" y="%row3_text_y%" />
3817 <font resource="font" color="%text_color%" />
3818 <text>Wipe Cache.</text>
3819 <data variable="tw_wipe_cache" />
3820 <image checked="checkbox_true" unchecked="checkbox_false" />
3821 </object>
3822
3823 <object type="slider">
3824 <placement x="%slider_x%" y="%slider_y%" />
3825 <resource base="slider" used="slider-used" touch="slider-touch" />
3826 <actions>
3827 <action function="set">tw_back=advanced</action>
3828 <action function="set">tw_action=adbsideload</action>
3829 <action function="set">tw_action_text1=ADB Sideload</action>
3830 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3831 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3832 <action function="set">tw_has_cancel=1</action>
3833 <action function="set">tw_show_reboot=1</action>
3834 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3835 <action function="page">action_page</action>
3836 </actions>
3837 </object>
3838
3839 <object type="text" color="%text_color%">
3840 <font resource="font" />
3841 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3842 <text>Swipe to Start Sideload</text>
3843 </object>
3844
3845 <object type="action">
3846 <touch key="home" />
3847 <action function="page">main</action>
3848 </object>
3849
3850 <object type="action">
3851 <touch key="back" />
3852 <action function="page">advanced</action>
3853 </object>
3854
3855 <object type="template" name="footer" />
3856 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003857
3858 <page name="installsu">
3859 <object type="template" name="header" />
3860
3861 <object type="text" color="%text_color%">
3862 <font resource="font" />
3863 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3864 <text>Install SuperSU?</text>
3865 </object>
3866
3867 <object type="text" color="%text_color%">
3868 <font resource="font" />
3869 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3870 <text>Your device does not appear to be rooted.</text>
3871 </object>
3872
3873 <object type="text" color="%text_color%">
3874 <font resource="font" />
3875 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3876 <text>Install SuperSU now?</text>
3877 </object>
3878
3879 <object type="text" color="%text_color%">
3880 <font resource="font" />
3881 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3882 <text>This will root your device.</text>
3883 </object>
3884
3885 <object type="button">
3886 <highlight color="%highlight_color%" />
3887 <placement x="%col_center_x%" y="%row3_y%" />
3888 <font resource="font" color="%button_text_color%" />
3889 <text>Do Not Install</text>
3890 <image resource="main_button" />
3891 <action function="set">tw_page_done=1</action>
3892 </object>
3893
3894 <object type="slider">
3895 <placement x="%slider_x%" y="%slider_y%" />
3896 <resource base="slider" used="slider-used" touch="slider-touch" />
3897 <actions>
3898 <action function="set">tw_action=installsu</action>
3899 <action function="set">tw_action_text1=Installing SuperSU</action>
3900 <action function="set">tw_action_text2=</action>
3901 <action function="page">singleaction_page</action>
3902 </actions>
3903 </object>
3904
3905 <object type="text" color="%text_color%">
3906 <font resource="font" />
3907 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3908 <text>Swipe to Install</text>
3909 </object>
3910 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003911 </pages>
3912</recovery>