blob: f201c679e9e24cd4b00bdc38f4dfdb12d948a4ed [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1024" height="600" />
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" />
14 <resource name="base" type="image" filename="background.jpg" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="main_button" type="image" filename="button" />
16 <resource name="file_icon" type="image" filename="file" />
17 <resource name="folder_icon" type="image" filename="folder" />
18 <resource name="progress" type="animation" filename="indeterminate" />
19 <resource name="progress_empty" type="image" filename="progress_empty" />
20 <resource name="progress_full" type="image" filename="progress_fill" />
21 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
22 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
23 <resource name="radio_false" type="image" filename="radio_empty" />
24 <resource name="radio_true" type="image" filename="radio_selected" />
25 <resource name="medium_button" type="image" filename="medium-button" />
26 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
27 <resource name="sort_button" type="image" filename="sort-button" />
28 <resource name="minus_button" type="image" filename="minus-button" />
29 <resource name="plus_button" type="image" filename="plus-button" />
30 <resource name="home_icon" type="image" filename="home-icon" />
31 <resource name="back_icon" type="image" filename="back-icon" />
32 <resource name="console_button" type="image" filename="console-toggle" />
33 <resource name="slider" type="image" filename="slider" />
34 <resource name="slider-used" type="image" filename="slider-used" />
35 <resource name="slider-touch" type="image" filename="slider-touch" />
36 <resource name="unlock-icon" type="image" filename="unlock" />
37 <resource name="keyboard1" type="image" filename="keyboard1" />
38 <resource name="keyboard2" type="image" filename="keyboard2" />
39 <resource name="keyboard3" type="image" filename="keyboard3" />
40 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010041 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040042 </resources>
43
44 <variables>
45 <variable name="col1_x" value="23" />
46 <variable name="col2_x" value="269" />
47 <variable name="col3_x" value="515" />
48 <variable name="col4_x" value="761" />
49 <variable name="row1_y" value="127" />
50 <variable name="row2_y" value="388" />
51 <variable name="col_center_x" value="392" />
52 <variable name="center_x" value="512" />
53 <variable name="screen_width" value="1024" />
54 <variable name="screen_height" value="600" />
55 <variable name="col_progressbar_x" value="386" />
56 <variable name="row_progressbar_y" value="540" />
57 <variable name="col1_medium_x" value="257" />
58 <variable name="col2_medium_x" value="387" />
59 <variable name="col3_medium_x" value="517" />
60 <variable name="col4_medium_x" value="647" />
61 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060062 <variable name="row2_medium_y" value="200" />
Dees_Troy51a0e822012-09-05 15:24:24 -040063 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row4_medium_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040065 <variable name="row5_medium_y" value="405" />
66 <variable name="row1_text_y" value="58" />
67 <variable name="row2_text_y" value="105" />
68 <variable name="row3_text_y" value="140" />
69 <variable name="row4_text_y" value="170" />
70 <variable name="row5_text_y" value="200" />
71 <variable name="row6_text_y" value="230" />
72 <variable name="row7_text_y" value="260" />
73 <variable name="row8_text_y" value="290" />
74 <variable name="row9_text_y" value="320" />
75 <variable name="row10_text_y" value="350" />
76 <variable name="row11_text_y" value="380" />
77 <variable name="row12_text_y" value="410" />
78 <variable name="row13_text_y" value="440" />
79 <variable name="row14_text_y" value="470" />
80 <variable name="row15_text_y" value="500" />
81 <variable name="row16_text_y" value="530" />
82 <variable name="row17_text_y" value="560" />
83 <variable name="row18_text_y" value="590" />
84 <variable name="row_offsetmedium_y" value="465" />
85 <variable name="home_button_x" value="813" />
86 <variable name="home_button_y" value="5" />
87 <variable name="back_button_x" value="883" />
88 <variable name="back_button_y" value="5" />
89 <variable name="console_button_x" value="953" />
90 <variable name="console_button_y" value="5" />
91 <variable name="nandcheck_col1" value="150" />
92 <variable name="nandcheck_col2" value="450" />
93 <variable name="nandcheck_row1" value="150" />
94 <variable name="nandcheck_row2" value="195" />
95 <variable name="nandcheck_row3" value="240" />
96 <variable name="nandcheck_row4" value="285" />
97 <variable name="nandcheck_row5" value="330" />
98 <variable name="nandcheck_row6" value="375" />
99 <variable name="nandcheck_row7" value="410" />
100 <variable name="button_text_color" value="#AAAAAA" />
101 <variable name="text_color" value="#A0A0A0" />
102 <variable name="text_success_color" value="#33B5E5" />
103 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600104 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600105 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400106 <variable name="slider_x" value="307" />
107 <variable name="slider_y" value="470" />
108 <variable name="slider_text_y" value="520" />
109 <variable name="sort_text_x" value="270" />
110 <variable name="sort_asc_text_y" value="510" />
111 <variable name="sort_asc_button_y" value="505" />
112 <variable name="sort_desc_text_y" value="545" />
113 <variable name="sort_desc_button_y" value="542" />
114 <variable name="sort_col1_button_x" value="440" />
115 <variable name="sort_col2_button_x" value="510" />
116 <variable name="sort_col3_button_x" value="580" />
117 <variable name="col1_sdext_x" value="370" />
118 <variable name="col2_sdext_x" value="600" />
119 <variable name="row1_sdext_y" value="115" />
120 <variable name="row2_sdext_y" value="180" />
121 <variable name="row_extsize_y" value="115" />
122 <variable name="row_swapsize_y" value="180" />
123 <variable name="input_x" value="28" />
124 <variable name="input_width" value="944" />
125 <variable name="input_height" value="30" />
126 <variable name="input_background_color" value="#303030" />
127 <variable name="input_cursor_color" value="#33B5E5" />
128 <variable name="input_cursor_width" value="3" />
129 <variable name="console_x" value="25" />
130 <variable name="console_width" value="974" />
131 <variable name="console_foreground" value="#A0A0A0" />
132 <variable name="console_background" value="#303030" />
133 <variable name="console_scroll" value="#303030" />
134 <variable name="console_action_height" value="320" />
135 <variable name="console_install_height" value="440" />
136 <variable name="console_installdone_height" value="300" />
137 <variable name="fileselector_folder_x" value="28" />
138 <variable name="fileselector_folder_width" value="282" />
139 <variable name="fileselector_folderonly_width" value="460" />
140 <variable name="fileselector_file_x" value="317" />
141 <variable name="fileselector_file_width" value="682" />
142 <variable name="fileselector_install_y" value="120" />
143 <variable name="fileselector_install_height" value="382" />
144 <variable name="fileselector_header_background" value="#202020" />
145 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
146 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
147 <variable name="fileselector_header_separatorheight" value="3" />
148 <variable name="fileselector_separatorcolor" value="#505050" />
149 <variable name="fileselector_separatorheight" value="2" />
150 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600151 <variable name="fileselector_highlight_color" value="#505050" />
152 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="fileselector_spacing" value="18" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500154 <variable name="fastscroll_linecolor" value="#808080" />
155 <variable name="fastscroll_rectcolor" value="#808080" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100156 <variable name="fastscroll_w" value="32" />
157 <variable name="fastscroll_linew" value="2" />
158 <variable name="fastscroll_rectw" value="24" />
159 <variable name="fastscroll_recth" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400160 <variable name="zipstorage_text_y" value="88" />
161 <variable name="listbox_x" value="269" />
162 <variable name="listbox_y" value="90" />
163 <variable name="listbox_width" value="460" />
164 <variable name="listbox_tz_height" value="290" />
165 <variable name="listbox_background" value="#303030" />
166 <variable name="listbox_spacing" value="18" />
167 <variable name="sd_plus_x" value="280" />
168 <variable name="lock_x" value="312" />
169 <variable name="lock_y" value="184" />
170 <variable name="filemanager_select_x" value="761" />
171 <variable name="filemanager_select_y" value="495" />
172 <variable name="backup_name_text_y" value="440" />
173 <variable name="backup_name_button_y" value="240" />
174 <variable name="col_right_x" value="996" />
175 <variable name="cancel_button_y" value="220" />
176 <variable name="terminal_console_y" value="0" />
177 <variable name="terminal_console_height" value="300" />
178 <variable name="terminal_text_y" value="307" />
179 <variable name="terminal_button_y" value="298" />
180 <variable name="terminal_input_width" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500181 <variable name="button_fill_color" value="#303030" />
182 <variable name="button_fill_full_width" value="512" />
183 <variable name="button_fill_main_width" value="486" />
184 <variable name="button_fill_main_height" value="150" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000185 <variable name="button_fill_half_height" value="50" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500186 <variable name="button_fill_quarter_height" value="30" />
187 <variable name="button_full_center_x" value="256" />
188 <variable name="backup_list_x" value="23" />
189 <variable name="backup_list_y" value="105" />
190 <variable name="backup_list_width" value="486" />
191 <variable name="backup_list_height" value="360" />
192 <variable name="backup_storage_y" value="250" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000193 <variable name="backup_encrypt_y" value="310" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500194 <variable name="restore_list_y" value="140" />
195 <variable name="restore_list_height" value="320" />
196 <variable name="mount_list_height" value="400" />
197 <variable name="mount_storage_row" value="500" />
198 <variable name="wipe_list_height" value="300" />
199 <variable name="wipe_button_y" value="190" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200200 <variable name="slidervalue_x" value="256" />
201 <variable name="slidervalue_w" value="512" />
202 <variable name="slidervalue_line_clr" value="#FFFFFF" />
203 <variable name="slidervalue_slider_clr" value="#33B5E5" />
204 <variable name="slidervalue_lineh" value="2" />
205 <variable name="slidervalue_padding" value="0" />
206 <variable name="slidervalue_sliderw" value="10" />
207 <variable name="slidervalue_sliderh" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400208 </variables>
209
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100210 <mousecursor>
211 <placement w="15" h="15" />
212 <background color="#FFFF00FF" resource="cursor" />
213 <speed multiplier="2" />
214 </mousecursor>
215
Dees_Troy51a0e822012-09-05 15:24:24 -0400216 <templates>
217 <template name="header">
218 <background color="#000000FF" />
219
220 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <image resource="base" />
222 <placement x="0" y="0" />
223 </object>
224
Dees_Troy51a0e822012-09-05 15:24:24 -0400225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000228 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
233 <placement x="250" y="30" />
234 <conditions>
235 <condition var1="tw_no_battery_percent" var2="0" />
236 <condition var1="tw_battery" op=">" var2="0" />
237 <condition var1="tw_battery" op="<" var2="101" />
238 </conditions>
239 <text>Battery Level: %tw_battery%</text>
240 </object>
241
242 <object type="text" color="%text_color%">
243 <font resource="font" />
244 <placement x="450" y="30" />
245 <text>%tw_time%</text>
246 </object>
247
248 <object type="text" color="%text_color%">
249 <condition var1="tw_simulate_actions" var2="1" />
250 <font resource="font" />
251 <placement x="550" y="30" />
252 <text>SIMULATING ACTIONS</text>
253 </object>
254
255 <object type="button">
256 <placement x="%home_button_x%" y="%home_button_y%" />
257 <font resource="font" color="%button_text_color%" />
258 <text></text>
259 <image resource="home_icon" />
260 <condition var1="tw_busy" var2="0" />
261 <action function="key">home</action>
262 </object>
263
264 <object type="button">
265 <placement x="%back_button_x%" y="%back_button_y%" />
266 <font resource="font" color="%button_text_color%" />
267 <text></text>
268 <image resource="back_icon" />
269 <condition var1="tw_busy" var2="0" />
270 <action function="key">back</action>
271 </object>
272
273 <object type="action">
274 <touch key="power" />
275 <action function="overlay">lock</action>
276 </object>
277 </template>
278
279 <template name="progress_bar">
280 <object type="progressbar">
281 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
282 <resource empty="progress_empty" full="progress_full" />
283 <data name="ui_progress" />
284 </object>
285
286 <object type="animation">
287 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
288 <resource name="progress" />
289 <speed fps="15" render="2" />
290 <loop frame="1" />
291 </object>
292 </template>
293
294 <template name="sort_options">
295 <object type="text" color="%text_color%">
296 <font resource="font" />
297 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
298 <text>Sort Ascending:</text>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
303 <font resource="font" color="%button_text_color%" />
304 <text>Name</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=1</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Date</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=2</action>
315 </object>
316
317 <object type="button">
318 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
319 <font resource="font" color="%button_text_color%" />
320 <text>Size</text>
321 <image resource="sort_button" />
322 <action function="set">tw_gui_sort_order=3</action>
323 </object>
324
325 <object type="text" color="%text_color%">
326 <font resource="font" />
327 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
328 <text>Sort Descending:</text>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Name</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-1</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
341 <font resource="font" color="%button_text_color%" />
342 <text>Date</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=-2</action>
345 </object>
346
347 <object type="button">
348 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
349 <font resource="font" color="%button_text_color%" />
350 <text>Size</text>
351 <image resource="sort_button" />
352 <action function="set">tw_gui_sort_order=-3</action>
353 </object>
354 </template>
355
356 <template name="flash_zip_console">
357 <object type="console">
358 <placement x="%console_x%" y="85" w="%console_width%" h="340" />
359 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
360 <font resource="fixed" />
361 </object>
362 </template>
363
364 <template name="action_page_console">
365 <object type="console">
366 <placement x="%console_x%" y="200" w="%console_width%" h="265" />
367 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
368 <font resource="fixed" />
369 </object>
370 </template>
371
372 <template name="footer">
373 <object type="console">
374 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
375 <placement x="%console_x%" y="75" w="%console_width%" h="497" />
376 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
377 <font resource="fixed" />
378 </object>
379 </template>
380
381 <template name="keyboardtemplate">
382 <object type="keyboard">
383 <placement x="0" y="341" />
384 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600385 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600386 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <layout1>
388 <keysize height="65" width="92" />
389 <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" key11="104:c:8" />
390 <row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" />
391 <row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
392 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
393 </layout1>
394 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600395 <keysize height="65" width="92" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400396 <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" key11="104:c:8" />
397 <row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" />
398 <row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
399 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
400 </layout2>
401 <layout3>
402 <keysize height="65" width="92" />
403 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" />
404 <row2 key01="138:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" />
405 <row3 key01="102:layout4" key02="91:<" key03="91:>" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" />
406 <row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" />
407 </layout3>
408 <layout4>
409 <keysize height="65" width="92" />
410 <row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" />
411 <row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" />
412 <row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" />
413 <row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " />
414 </layout4>
415 </object>
416 </template>
417 </templates>
418
419 <pages>
420 <page name="main">
421 <object type="action">
422 <actions>
423 <action function="set">tw_clear_destination=main2</action>
424 <action function="page">clear_vars</action>
425 </actions>
426 </object>
427 </page>
428
429 <page name="main2">
430 <object type="template" name="header" />
431
432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400434 <placement x="%col1_x%" y="%row1_y%" />
435 <font resource="font" color="%button_text_color%" />
436 <text>Install</text>
437 <image resource="main_button" />
438 <actions>
439 <action function="queueclear"></action>
440 <action function="page">install</action>
441 </actions>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row1_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Backup</text>
449 <image resource="main_button" />
450 <action function="page">backup</action>
451 </object>
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col3_x%" y="%row1_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Restore</text>
458 <image resource="main_button" />
459 <action function="page">restore</action>
460 </object>
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="%col4_x%" y="%row1_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Wipe</text>
467 <image resource="main_button" />
468 <action function="page">wipe</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="%col1_x%" y="%row2_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Mount</text>
476 <image resource="main_button" />
477 <action function="page">mount</action>
478 </object>
479
480 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600481 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <placement x="%col2_x%" y="%row2_y%" />
483 <font resource="font" color="%button_text_color%" />
484 <text>Settings</text>
485 <image resource="main_button" />
486 <action function="page">settings</action>
487 </object>
488
489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400491 <placement x="%col3_x%" y="%row2_y%" />
492 <font resource="font" color="%button_text_color%" />
493 <text>Advanced</text>
494 <image resource="main_button" />
495 <action function="page">advanced</action>
496 </object>
497
498 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600499 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <placement x="%col4_x%" y="%row2_y%" />
501 <font resource="font" color="%button_text_color%" />
502 <text>Reboot</text>
503 <image resource="main_button" />
504 <action function="page">reboot</action>
505 </object>
506
507 <object type="template" name="footer" />
508 </page>
509
510 <page name="install">
511 <object type="template" name="header" />
512
513 <object type="text" color="%text_color%">
514 <font resource="font" />
515 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
516 <text>Select Zip to Install</text>
517 </object>
518
519 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500520 <highlight color="%highlight_color%" />
521 <fill color="%button_fill_color%" />
522 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
523 <font resource="font" color="%button_text_color%" />
524 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
525 <actions>
526 <action function="set">tw_back=install</action>
527 <action function="page">selectstorage</action>
528 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400529 </object>
530
531 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600532 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400533 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
534 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100535 <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 -0400536 <text>Folders:</text>
537 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
538 <sort name="tw_gui_sort_order" />
539 <icon folder="folder_icon" file="file_icon" />
540 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600541 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400542 <filter folders="1" files="0" />
543 <path name="tw_zip_location" default="/sdcard" />
544 <data name="select" />
545 </object>
546
547 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600548 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400549 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
550 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100551 <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 -0400552 <text>%tw_zip_location%</text>
553 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
554 <sort name="tw_gui_sort_order" />
555 <icon folder="folder_icon" file="file_icon" />
556 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600557 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400558 <filter extn=".zip" folders="0" files="1" />
559 <path name="tw_zip_location" />
560 <data name="tw_filename" />
561 <selection name="tw_file" />
562 </object>
563
564 <object type="template" name="sort_options" />
565
566 <object type="action">
567 <condition var1="tw_filename" op="modified" />
568 <actions>
569 <action function="queuezip"></action>
570 <action function="page">flash_confirm</action>
571 </actions>
572 </object>
573
574 <object type="action">
575 <touch key="back" />
576 <action function="page">main</action>
577 </object>
578
579 <object type="action">
580 <touch key="home" />
581 <action function="page">main</action>
582 </object>
583
584 <object type="template" name="footer" />
585 </page>
586
587 <page name="flash_confirm">
588 <object type="template" name="header" />
589
590 <object type="text" color="%text_color%">
591 <font resource="font" />
592 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
593 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
594 </object>
595
596 <object type="text" color="%text_color%">
597 <font resource="font" />
598 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
599 <text>Folder:</text>
600 </object>
601
602 <object type="text" color="%text_color%">
603 <font resource="font" />
604 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
605 <text>%tw_zip_location%</text>
606 </object>
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
611 <text>File to flash:</text>
612 </object>
613
614 <object type="text" color="%text_color%">
615 <font resource="font" />
616 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
617 <text>%tw_file%</text>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
623 <text>Press back to cancel adding this zip.</text>
624 </object>
625
626 <object type="checkbox">
627 <placement x="%col2_x%" y="%row7_text_y%" />
628 <font resource="font" color="%text_color%" />
629 <text>Zip file signature verification?</text>
630 <data variable="tw_signed_zip_verify" />
631 <image checked="checkbox_true" unchecked="checkbox_false" />
632 </object>
633
Dees_Troy51a0e822012-09-05 15:24:24 -0400634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
637 <text>File %tw_zip_queue_count% of max of 10</text>
638 </object>
639
640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
643 <placement x="%col2_x%" y="%row5_medium_y%" />
644 <font resource="font" color="%button_text_color%" />
645 <text>Add More Zips</text>
646 <image resource="mediumwide_button" />
647 <action function="page">install</action>
648 </object>
649
650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600651 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <placement x="%col3_x%" y="%row5_medium_y%" />
653 <font resource="font" color="%button_text_color%" />
654 <text>Clear Queue</text>
655 <image resource="mediumwide_button" />
656 <actions>
657 <action function="queueclear"></action>
658 <action function="page">install</action>
659 </actions>
660 </object>
661
662 <object type="slider">
663 <placement x="%slider_x%" y="%slider_y%" />
664 <resource base="slider" used="slider-used" touch="slider-touch" />
665 <action function="flash">flash_zip</action>
666 </object>
667
668 <object type="text" color="%text_color%">
669 <font resource="font" />
670 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
671 <text>Swipe to Confirm Flash</text>
672 </object>
673
674 <object type="action">
675 <touch key="back" />
676 <actions>
677 <action function="cancelzip"></action>
678 <action function="page">install</action>
679 </actions>
680 </object>
681
682 <object type="action">
683 <touch key="home" />
684 <action function="page">main</action>
685 </object>
686
687 <object type="template" name="footer" />
688 </page>
689
690 <page name="flash_zip">
691 <object type="template" name="header" />
692
693 <object type="template" name="flash_zip_console" />
694
695 <object type="text" color="%text_color%">
696 <font resource="font" />
697 <placement x="%col1_x%" y="%row16_text_y%" />
698 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
699 </object>
700
701 <object type="text" color="%text_color%">
702 <font resource="font" />
703 <placement x="%col1_x%" y="%row17_text_y%" />
704 <text>%tw_filename%</text>
705 </object>
706
707 <object type="template" name="progress_bar" />
708
709 <object type="action">
710 <condition var1="tw_operation_state" var2="1" />
711 <action function="page">flash_done</action>
712 </object>
713 </page>
714
715 <page name="flash_done">
716 <object type="template" name="header" />
717
718 <object type="template" name="flash_zip_console" />
719
720 <object type="text" color="%text_fail_color%">
721 <condition var1="tw_operation_status" op="!=" var2="0" />
722 <font resource="font" />
723 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
724 <text>Failed</text>
725 </object>
726
727 <object type="text" color="%text_success_color%">
728 <condition var1="tw_operation_status" var2="0" />
729 <font resource="font" />
730 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
731 <text>Successful</text>
732 </object>
733
734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <placement x="%col1_x%" y="%slider_y%" />
737 <font resource="font" color="%button_text_color%" />
738 <text>Wipe Cache/Dalvik</text>
739 <image resource="main_button" />
740 <actions>
741 <action function="set">tw_back=flash_done</action>
742 <action function="set">tw_action=wipe</action>
743 <action function="set">tw_action_param=/cache</action>
744 <action function="set">tw_has_action2=1</action>
745 <action function="set">tw_action2=wipe</action>
746 <action function="set">tw_action2_param=dalvik</action>
747 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
748 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
749 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
750 <action function="set">tw_slider_text=Swipe to Wipe</action>
751 <action function="page">confirm_action</action>
752 </actions>
753 </object>
754
755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <condition var1="tw_reboot_system" var2="1" />
758 <placement x="%col4_x%" y="%slider_y%" />
759 <font resource="font" color="%button_text_color%" />
760 <text>Reboot System</text>
761 <image resource="main_button" />
762 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400763 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400764 <action function="set">tw_action=reboot</action>
765 <action function="set">tw_action_param=system</action>
766 <action function="set">tw_has_action2=0</action>
767 <action function="set">tw_text1=No OS Installed! Are you</action>
768 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400769 <action function="set">tw_text3=</action>
770 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400771 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400772 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400773 <action function="set">tw_complete_text1=Rebooting...</action>
774 <action function="set">tw_slider_text=Swipe to Reboot</action>
775 <action function="page">rebootcheck</action>
776 </actions>
777 </object>
778
779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400781 <placement x="%col_center_x%" y="%slider_y%" />
782 <font resource="font" color="%button_text_color%" />
783 <text>Home</text>
784 <image resource="main_button" />
785 <actions>
786 <action function="set">tw_clear_destination=main2</action>
787 <action function="page">clear_vars</action>
788 </actions>
789 </object>
790
791 <object type="action">
792 <touch key="back" />
793 <actions>
794 <action function="set">tw_clear_destination=install</action>
795 <action function="page">clear_vars</action>
796 </actions>
797 </object>
798
799 <object type="action">
800 <touch key="home" />
801 <actions>
802 <action function="set">tw_clear_destination=main2</action>
803 <action function="page">clear_vars</action>
804 </actions>
805 </object>
806 </page>
807
808 <page name="clear_vars">
809 <object type="action">
810 <action function="set">tw_operation_state=0</action>
811 <action function="set">tw_text1=</action>
812 <action function="set">tw_text2=</action>
813 <action function="set">tw_text3=</action>
814 <action function="set">tw_text4=</action>
815 <action function="set">tw_action_text1=</action>
816 <action function="set">tw_action_text2=</action>
817 <action function="set">tw_action_param=</action>
818 <action function="set">tw_has_action2=0</action>
819 <action function="set">tw_action2=</action>
820 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400821 <action function="set">tw_has_cancel=0</action>
822 <action function="set">tw_cancel_action=</action>
823 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400824 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400825 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400826 <action function="page">%tw_clear_destination%</action>
827 </object>
828 </page>
829
830 <page name="confirm_action">
831 <object type="template" name="header" />
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
836 <text>%tw_text1%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
842 <text>%tw_text2%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
848 <text>%tw_text3%</text>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
854 <text>%tw_text4%</text>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400859 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <text>Press back button to cancel.</text>
861 </object>
862
863 <object type="slider">
864 <placement x="%slider_x%" y="%slider_y%" />
865 <resource base="slider" used="slider-used" touch="slider-touch" />
866 <action function="page">action_page</action>
867 </object>
868
869 <object type="text" color="%text_color%">
870 <font resource="font" />
871 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
872 <text>%tw_slider_text%</text>
873 </object>
874
875 <object type="action">
876 <touch key="back" />
877 <actions>
878 <action function="set">tw_clear_destination=%tw_back%</action>
879 <action function="page">clear_vars</action>
880 </actions>
881 </object>
882
883 <object type="action">
884 <touch key="home" />
885 <action function="page">main</action>
886 </object>
887
888 <object type="template" name="footer" />
889 </page>
890
891 <page name="action_page">
892 <object type="template" name="header" />
893
894 <object type="text" color="%text_color%">
895 <font resource="font" />
896 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
897 <text>%tw_action_text1%</text>
898 </object>
899
900 <object type="text" color="%text_color%">
901 <font resource="font" />
902 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
903 <text>%tw_action_text2%</text>
904 </object>
905
906 <object type="template" name="action_page_console" />
907
Dees_Troy2691f9d2012-09-24 11:15:49 -0400908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600909 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400910 <condition var1="tw_has_cancel" var2="1" />
911 <placement x="%col4_x%" y="%slider_y%" />
912 <font resource="font" color="%button_text_color%" />
913 <text>Cancel</text>
914 <image resource="main_button" />
915 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
916 </object>
917
Dees_Troy51a0e822012-09-05 15:24:24 -0400918 <object type="template" name="progress_bar" />
919
920 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400921 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400922 <actions>
923 <action function="page">action_complete</action>
924 </actions>
925 </object>
926
927 <object type="action">
928 <condition var1="tw_has_action2" var2="0" />
929 <actions>
930 <action function="%tw_action%">%tw_action_param%</action>
931 </actions>
932 </object>
933
934 <object type="action">
935 <condition var1="tw_has_action2" var2="1" />
936 <actions>
937 <action function="%tw_action%">%tw_action_param%</action>
938 <action function="%tw_action2%">%tw_action2_param%</action>
939 </actions>
940 </object>
941 </page>
942
Dees_Troy6ef66352013-02-21 08:26:57 -0600943 <page name="singleaction_page">
944 <object type="template" name="header" />
945
946 <object type="text" color="%text_color%">
947 <font resource="font" />
948 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
949 <text>%tw_action_text1%</text>
950 </object>
951
952 <object type="text" color="%text_color%">
953 <font resource="font" />
954 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
955 <text>%tw_action_text2%</text>
956 </object>
957
958 <object type="template" name="action_page_console" />
959
960 <object type="template" name="progress_bar" />
961
962 <object type="action">
963 <condition var1="tw_operation_state" var2="1" />
964 <actions>
965 <action function="set">tw_page_done=1</action>
966 </actions>
967 </object>
968
969 <object type="action">
970 <condition var1="tw_has_action2" var2="0" />
971 <actions>
972 <action function="%tw_action%">%tw_action_param%</action>
973 </actions>
974 </object>
975
976 <object type="action">
977 <condition var1="tw_has_action2" var2="1" />
978 <actions>
979 <action function="%tw_action%">%tw_action_param%</action>
980 <action function="%tw_action2%">%tw_action2_param%</action>
981 </actions>
982 </object>
983 </page>
984
Dees_Troy51a0e822012-09-05 15:24:24 -0400985 <page name="action_complete">
986 <object type="template" name="header" />
987
988 <object type="text" color="%text_color%">
989 <font resource="font" />
990 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
991 <text>%tw_complete_text1%</text>
992 </object>
993
994 <object type="text" color="%text_fail_color%">
995 <condition var1="tw_operation_status" op="!=" var2="0" />
996 <font resource="font" />
997 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
998 <text>Failed</text>
999 </object>
1000
1001 <object type="text" color="%text_success_color%">
1002 <condition var1="tw_operation_status" var2="0" />
1003 <font resource="font" />
1004 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1005 <text>Successful</text>
1006 </object>
1007
1008 <object type="template" name="action_page_console" />
1009
1010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001011 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001012 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001013 <placement x="%col_center_x%" y="%slider_y%" />
1014 <font resource="font" color="%button_text_color%" />
1015 <text>Back</text>
1016 <image resource="main_button" />
1017 <actions>
1018 <action function="set">tw_clear_destination=%tw_back%</action>
1019 <action function="page">clear_vars</action>
1020 </actions>
1021 </object>
1022
Dees_Troya3f81542012-10-08 10:58:53 -04001023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001024 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001025 <condition var1="tw_show_reboot" var2="1" />
1026 <placement x="%col_center_x%" y="%slider_y%" />
1027 <font resource="font" color="%button_text_color%" />
1028 <text>Reboot System</text>
1029 <image resource="main_button" />
1030 <actions>
1031 <action function="set">tw_back=main2</action>
1032 <action function="set">tw_action=reboot</action>
1033 <action function="set">tw_action_param=system</action>
1034 <action function="set">tw_has_action2=0</action>
1035 <action function="set">tw_text1=No OS Installed! Are you</action>
1036 <action function="set">tw_text2=sure you wish to reboot?</action>
1037 <action function="set">tw_text3=</action>
1038 <action function="set">tw_text4=</action>
1039 <action function="set">tw_action_text1=Rebooting...</action>
1040 <action function="set">tw_action_text2=</action>
1041 <action function="set">tw_complete_text1=Rebooting...</action>
1042 <action function="set">tw_slider_text=Swipe to Reboot</action>
1043 <action function="page">rebootcheck</action>
1044 </actions>
1045 </object>
1046
Dees_Troy51a0e822012-09-05 15:24:24 -04001047 <object type="action">
1048 <touch key="home" />
1049 <actions>
1050 <action function="set">tw_clear_destination=main2</action>
1051 <action function="page">clear_vars</action>
1052 </actions>
1053 </object>
1054
1055 <object type="action">
1056 <touch key="back" />
1057 <actions>
1058 <action function="set">tw_clear_destination=%tw_back%</action>
1059 <action function="page">clear_vars</action>
1060 </actions>
1061 </object>
1062 </page>
1063
1064 <page name="filecheck">
1065 <object type="action">
1066 <action function="fileexists">%tw_filecheck%</action>
1067 </object>
1068
1069 <object type="action">
1070 <conditions>
1071 <condition var1="tw_operation_state" var2="1" />
1072 <condition var1="tw_operation_status" var2="0" />
1073 </conditions>
1074 <actions>
1075 <action function="set">tw_fileexists=1</action>
1076 <action function="page">%tw_existpage%</action>
1077 </actions>
1078 </object>
1079
1080 <object type="action">
1081 <conditions>
1082 <condition var1="tw_operation_state" var2="1" />
1083 <condition var1="tw_operation_status" var2="1" />
1084 </conditions>
1085 <actions>
1086 <action function="set">tw_fileexists=0</action>
1087 <action function="page">%tw_notexistpage%</action>
1088 </actions>
1089 </object>
1090 </page>
1091
1092 <page name="rebootcheck">
1093 <object type="action">
1094 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1095 <action function="reboot">%tw_action_param%</action>
1096 </object>
1097
1098 <object type="action">
1099 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1100 <action function="page">confirm_action</action>
1101 </object>
1102 </page>
1103
1104 <page name="reboot">
1105 <object type="template" name="header" />
1106
1107 <object type="text" color="%text_color%">
1108 <font resource="font" />
1109 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1110 <text>Reboot Menu</text>
1111 </object>
1112
1113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001115 <condition var1="tw_reboot_system" var2="1" />
1116 <placement x="%col1_x%" y="%row1_y%" />
1117 <font resource="font" color="%button_text_color%" />
1118 <text>System</text>
1119 <image resource="main_button" />
1120 <actions>
1121 <action function="set">tw_back=reboot</action>
1122 <action function="set">tw_action=reboot</action>
1123 <action function="set">tw_action_param=system</action>
1124 <action function="set">tw_has_action2=0</action>
1125 <action function="set">tw_text1=No OS Installed! Are you</action>
1126 <action function="set">tw_text2=sure you wish to reboot?</action>
1127 <action function="set">tw_action_text1=Rebooting...</action>
1128 <action function="set">tw_complete_text1=Rebooting...</action>
1129 <action function="set">tw_slider_text=Swipe to Reboot</action>
1130 <action function="page">rebootcheck</action>
1131 </actions>
1132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001136 <condition var1="tw_reboot_poweroff" var2="1" />
1137 <placement x="%col2_x%" y="%row1_y%" />
1138 <font resource="font" color="%button_text_color%" />
1139 <text>Power Off</text>
1140 <image resource="main_button" />
1141 <actions>
1142 <action function="set">tw_back=reboot</action>
1143 <action function="set">tw_action=reboot</action>
1144 <action function="set">tw_action_param=poweroff</action>
1145 <action function="set">tw_has_action2=0</action>
1146 <action function="set">tw_text1=No OS Installed! Are you</action>
1147 <action function="set">tw_text2=sure you wish to power off?</action>
1148 <action function="set">tw_action_text1=Turning Off...</action>
1149 <action function="set">tw_complete_text1=Turning Off...</action>
1150 <action function="set">tw_slider_text=Swipe to Power Off</action>
1151 <action function="page">rebootcheck</action>
1152 </actions>
1153 </object>
1154
1155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <condition var1="tw_reboot_recovery" var2="1" />
1158 <placement x="%col1_x%" y="%row2_y%" />
1159 <font resource="font" color="%button_text_color%" />
1160 <text>Recovery</text>
1161 <image resource="main_button" />
1162 <actions>
1163 <action function="set">tw_back=reboot</action>
1164 <action function="set">tw_action=reboot</action>
1165 <action function="set">tw_action_param=recovery</action>
1166 <action function="set">tw_has_action2=0</action>
1167 <action function="set">tw_text1=No OS Installed! Are you</action>
1168 <action function="set">tw_text2=sure you wish to reboot?</action>
1169 <action function="set">tw_action_text1=Rebooting...</action>
1170 <action function="set">tw_complete_text1=Rebooting...</action>
1171 <action function="set">tw_slider_text=Swipe to Reboot</action>
1172 <action function="page">rebootcheck</action>
1173 </actions>
1174 </object>
1175
1176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001178 <condition var1="tw_reboot_bootloader" var2="1" />
1179 <placement x="%col2_x%" y="%row2_y%" />
1180 <font resource="font" color="%button_text_color%" />
1181 <text>Bootloader</text>
1182 <image resource="main_button" />
1183 <actions>
1184 <action function="set">tw_back=reboot</action>
1185 <action function="set">tw_action=reboot</action>
1186 <action function="set">tw_action_param=bootloader</action>
1187 <action function="set">tw_has_action2=0</action>
1188 <action function="set">tw_text1=No OS Installed! Are you</action>
1189 <action function="set">tw_text2=sure you wish to reboot?</action>
1190 <action function="set">tw_action_text1=Rebooting...</action>
1191 <action function="set">tw_complete_text1=Rebooting...</action>
1192 <action function="set">tw_slider_text=Swipe to Reboot</action>
1193 <action function="page">rebootcheck</action>
1194 </actions>
1195 </object>
1196
1197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001199 <condition var1="tw_download_mode" var2="1" />
1200 <placement x="%col3_x%" y="%row2_y%" />
1201 <font resource="font" color="%button_text_color%" />
1202 <text>Download</text>
1203 <image resource="main_button" />
1204 <actions>
1205 <action function="set">tw_back=reboot</action>
1206 <action function="set">tw_action=reboot</action>
1207 <action function="set">tw_action_param=download</action>
1208 <action function="set">tw_has_action2=0</action>
1209 <action function="set">tw_text1=No OS Installed! Are you</action>
1210 <action function="set">tw_text2=sure you wish to reboot?</action>
1211 <action function="set">tw_action_text1=Rebooting...</action>
1212 <action function="set">tw_complete_text1=Rebooting...</action>
1213 <action function="set">tw_slider_text=Swipe to Reboot</action>
1214 <action function="page">rebootcheck</action>
1215 </actions>
1216 </object>
1217
1218 <object type="action">
1219 <touch key="home" />
1220 <action function="page">main</action>
1221 </object>
1222
1223 <object type="action">
1224 <touch key="back" />
1225 <action function="page">main</action>
1226 </object>
1227
1228 <object type="template" name="footer" />
1229 </page>
1230
Dees_Troya13d74f2013-03-24 08:54:55 -05001231 <page name="selectstorage">
1232 <object type="template" name="header" />
1233
1234 <object type="partitionlist">
1235 <highlight color="%fileselector_highlight_color%" />
1236 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1237 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1238 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1239 <text>Select Storage:</text>
1240 <icon selected="radio_true" unselected="radio_false" />
1241 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1242 <background color="%listbox_background%" />
1243 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1244 <data name="tw_storage_path" />
1245 <listtype name="storage" />
1246 </object>
1247
Dees_Troye7e0ae82013-07-05 14:46:07 +00001248 <object type="button">
1249 <highlight color="%highlight_color%" />
1250 <placement x="%filemanager_select_x%" y="%row2_y%" />
1251 <font resource="font" color="%button_text_color%" />
1252 <text>OK</text>
1253 <image resource="main_button" />
1254 <actions>
1255 <action function="set">tw_clear_destination=%tw_back%</action>
1256 <action function="page">clear_vars</action>
1257 </actions>
1258 </object>
1259
Dees_Troya13d74f2013-03-24 08:54:55 -05001260 <object type="action">
1261 <touch key="home" />
1262 <action function="page">main</action>
1263 </object>
1264
1265 <object type="action">
1266 <touch key="back" />
1267 <actions>
1268 <action function="page">%tw_back%</action>
1269 </actions>
1270 </object>
1271
1272 <object type="template" name="footer" />
1273 </page>
1274
Dees_Troy51a0e822012-09-05 15:24:24 -04001275 <page name="mount">
1276 <object type="template" name="header" />
1277
1278 <object type="text" color="%text_color%">
1279 <font resource="font" />
1280 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1281 <text>Mount Menu</text>
1282 </object>
1283
Dees_Troya13d74f2013-03-24 08:54:55 -05001284 <object type="partitionlist">
1285 <highlight color="%fileselector_highlight_color%" />
1286 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1287 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1288 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1289 <text>Select Partitions to Mount:</text>
1290 <icon selected="checkbox_true" unselected="checkbox_false" />
1291 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1292 <background color="%listbox_background%" />
1293 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1294 <listtype name="mount" />
1295 </object>
1296
1297 <object type="button">
1298 <highlight color="%highlight_color%" />
1299 <conditions>
1300 <condition var1="tw_is_encrypted" var2="1" />
1301 <condition var1="tw_is_decrypted" var2="0" />
1302 </conditions>
1303 <placement x="%col3_x%" y="row1_y" />
1304 <font resource="font" color="%button_text_color%" />
1305 <text>Decrypt Data</text>
1306 <image resource="main_button" />
1307 <action function="page">decrypt</action>
1308 </object>
1309
Dees_Troy51a0e822012-09-05 15:24:24 -04001310 <object type="button">
1311 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001312 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001313 <font resource="font" color="%button_text_color%" />
1314 <text>Mount USB Storage</text>
1315 <image resource="main_button" />
1316 <action function="page">usb_mount</action>
1317 </object>
1318
1319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001320 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001321 <fill color="%button_fill_color%" />
1322 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1323 <font resource="font" color="%button_text_color%" />
1324 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1325 <actions>
1326 <action function="set">tw_back=mount</action>
1327 <action function="page">selectstorage</action>
1328 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001329 </object>
1330
1331 <object type="action">
1332 <touch key="home" />
1333 <action function="page">main</action>
1334 </object>
1335
1336 <object type="action">
1337 <touch key="back" />
1338 <action function="page">main</action>
1339 </object>
1340
1341 <object type="template" name="footer" />
1342 </page>
1343
1344 <page name="usb_mount">
1345 <object type="template" name="header" />
1346
1347 <object type="text" color="%text_color%">
1348 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1349 <font resource="font" />
1350 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1351 </object>
1352
1353 <object type="text" color="%text_color%">
1354 <placement x="%col1_x%" y="%row2_text_y%" />
1355 <font resource="font" />
1356 <text></text>
1357 </object>
1358
1359 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001360 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001361 <placement x="%col_center_x%" y="%row1_y%" />
1362 <font resource="font" color="%button_text_color%" />
1363 <text>Unmount</text>
1364 <image resource="main_button" />
1365 <action function="page">usb_umount</action>
1366 </object>
1367
1368 <object type="action">
1369 <action function="mount">usb</action>
1370 </object>
1371
1372 <object type="template" name="footer" />
1373 </page>
1374
1375 <page name="usb_umount">
1376 <object type="action">
1377 <action function="unmount">usb</action>
1378 </object>
1379
1380 <object type="action">
1381 <action function="page">mount</action>
1382 </object>
1383
1384 <object type="template" name="footer" />
1385 </page>
1386
1387 <page name="wipe">
1388 <object type="template" name="header" />
1389
1390 <object type="text" color="%text_color%">
1391 <font resource="font" />
1392 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001393 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1394 </object>
1395
1396 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001397 <conditions>
1398 <condition var1="tw_has_android_secure" var2="1" />
1399 <condition var1="fileexists" var2="/and-sec" />
1400 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001401 <font resource="font" />
1402 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1403 <text>.android_secure</text>
1404 </object>
1405
1406 <object type="text" color="%text_color%">
1407 <condition var1="tw_has_data_media" var2="1" />
1408 <font resource="font" />
1409 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1410 <text>(not including internal storage)</text>
1411 </object>
1412
1413 <object type="text" color="%text_color%">
1414 <condition var1="tw_has_sdext_partition" var2="1" />
1415 <font resource="font" />
1416 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1417 <text>SD-EXT</text>
1418 </object>
1419
1420 <object type="text" color="%text_color%">
1421 <font resource="font" />
1422 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1423 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001424 </object>
1425
1426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001427 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001428 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001430 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001431 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001432 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 </object>
1434
1435 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001436 <conditions>
1437 <condition var1="tw_has_internal" var2="1" />
1438 <condition var1="tw_has_data_media" var2="1" />
1439 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001440 <highlight color="%highlight_color%" />
1441 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 <font resource="font" color="%button_text_color%" />
1443 <text>Format Data</text>
1444 <image resource="main_button" />
1445 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001446 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 </actions>
1448 </object>
1449
Dees_Troya13d74f2013-03-24 08:54:55 -05001450 <object type="text" color="%text_color%">
1451 <font resource="font" />
1452 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1453 <text>Press back button to cancel.</text>
1454 </object>
1455
1456 <object type="slider">
1457 <placement x="%slider_x%" y="%slider_y%" />
1458 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001459 <actions>
1460 <action function="set">tw_back=wipe</action>
1461 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001462 <action function="set">tw_action_param=data</action>
1463 <action function="set">tw_action_text1=Factory Reset...</action>
1464 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1465 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001466 </actions>
1467 </object>
1468
Dees_Troya13d74f2013-03-24 08:54:55 -05001469 <object type="text" color="%text_color%">
1470 <font resource="font" />
1471 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1472 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001473 </object>
1474
1475 <object type="action">
1476 <touch key="home" />
1477 <action function="page">main</action>
1478 </object>
1479
1480 <object type="action">
1481 <touch key="back" />
1482 <action function="page">main</action>
1483 </object>
1484
1485 <object type="template" name="footer" />
1486 </page>
1487
Dees_Troya13d74f2013-03-24 08:54:55 -05001488 <page name="advancedwipe">
1489 <object type="template" name="header" />
1490
1491 <object type="partitionlist">
1492 <highlight color="%fileselector_highlight_color%" />
1493 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1494 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1495 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1496 <text>Select Partitions to Wipe:</text>
1497 <icon selected="checkbox_true" unselected="checkbox_false" />
1498 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1499 <background color="%listbox_background%" />
1500 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1501 <data name="tw_wipe_list" />
1502 <listtype name="wipe" />
1503 </object>
1504
1505 <object type="slider">
1506 <placement x="%slider_x%" y="%slider_y%" />
1507 <resource base="slider" used="slider-used" touch="slider-touch" />
1508 <actions>
1509 <action function="set">tw_back=advancedwipe</action>
1510 <action function="set">tw_action=wipe</action>
1511 <action function="set">tw_action_param=LIST</action>
1512 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1513 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1514 <action function="set">tw_complete_text1=Wipe Complete</action>
1515 <action function="page">action_page</action>
1516 </actions>
1517 </object>
1518
1519 <object type="text" color="%text_color%">
1520 <font resource="font" />
1521 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1522 <text>Swipe to Wipe</text>
1523 </object>
1524
1525 <object type="action">
1526 <touch key="home" />
1527 <action function="page">main</action>
1528 </object>
1529
1530 <object type="action">
1531 <touch key="back" />
1532 <action function="page">wipe</action>
1533 </object>
1534
1535 <object type="template" name="footer" />
1536 </page>
1537
1538 <page name="formatdata">
1539 <object type="template" name="header" />
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1544 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1545 </object>
1546
1547 <object type="text" color="%text_color%">
1548 <font resource="font" />
1549 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1550 <text>videos, media, and removes encryption on internal storage.</text>
1551 </object>
1552
1553 <object type="text" color="%text_color%">
1554 <font resource="font" />
1555 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1556 <text>This cannot be undone. Press back to cancel.</text>
1557 </object>
1558
1559 <object type="text" color="%text_color%">
1560 <font resource="font" />
1561 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1562 <text>Type yes to continue.</text>
1563 </object>
1564
1565 <object type="input">
1566 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1567 <background color="%input_background_color%" />
1568 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1569 <font resource="font" color="%text_color%" />
1570 <text>%tw_confirm_formatdata%</text>
1571 <data name="tw_confirm_formatdata" />
1572 <restrict minlen="3" maxlen="3" allow="yes" />
1573 <action function="page">formatdata_confirm</action>
1574 </object>
1575
1576 <object type="template" name="keyboardtemplate" />
1577
1578 <object type="action">
1579 <touch key="home" />
1580 <action function="page">main</action>
1581 </object>
1582
1583 <object type="action">
1584 <touch key="back" />
1585 <action function="page">wipe</action>
1586 </object>
1587
1588 <object type="template" name="footer" />
1589 </page>
1590
1591 <page name="formatdata_confirm">
1592 <object type="action">
1593 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1594 <actions>
1595 <action function="set">tw_back=formatdata</action>
1596 <action function="set">tw_action=wipe</action>
1597 <action function="set">tw_action_param=DATAMEDIA</action>
1598 <action function="set">tw_action_text1=Formatting Data...</action>
1599 <action function="set">tw_complete_text1=Data Format Complete</action>
1600 <action function="page">action_page</action>
1601 </actions>
1602 </object>
1603
1604 <object type="action">
1605 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1606 <action function="page">formatdata</function>
1607 </object>
1608 </page>
1609
Dees_Troy51a0e822012-09-05 15:24:24 -04001610 <page name="backup">
1611 <object type="template" name="header" />
1612
1613 <object type="text" color="%text_color%">
1614 <font resource="font" />
1615 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1616 <text>Back Up Device</text>
1617 </object>
1618
Dees_Troya13d74f2013-03-24 08:54:55 -05001619 <object type="partitionlist">
1620 <highlight color="%fileselector_highlight_color%" />
1621 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1622 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1623 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1624 <text>Select Partitions to Back Up:</text>
1625 <icon selected="checkbox_true" unselected="checkbox_false" />
1626 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1627 <background color="%listbox_background%" />
1628 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1629 <data name="tw_backup_list" />
1630 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001631 </object>
1632
1633 <object type="text" color="%text_color%">
1634 <font resource="font" />
1635 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1636 <text>Backup Name: %tw_backup_name%</text>
1637 </object>
1638
Dees_Troya13d74f2013-03-24 08:54:55 -05001639 <object type="button">
1640 <highlight color="%highlight_color%" />
1641 <placement x="%col3_x%" y="%row1_y%" />
1642 <font resource="font" color="%button_text_color%" />
1643 <text>Refresh Sizes</text>
1644 <image resource="main_button" />
Matt Mowercd8169c2014-04-02 04:24:08 -05001645 <actions>
1646 <action function="refreshsizes"></action>
1647 <action function="page">backup</action>
1648 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001649 </object>
1650
1651 <object type="button">
1652 <highlight color="%highlight_color%" />
1653 <placement x="%col4_x%" y="%row1_y%" />
1654 <font resource="font" color="%button_text_color%" />
1655 <text>Set Backup Name</text>
1656 <image resource="main_button" />
1657 <actions>
1658 <action function="set">tw_fileexists=0</action>
1659 <action function="page">backupname1</action>
1660 </actions>
1661 </object>
1662
1663 <object type="button">
1664 <highlight color="%highlight_color%" />
1665 <fill color="%button_fill_color%" />
1666 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1667 <font resource="font" color="%button_text_color%" />
1668 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1669 <actions>
1670 <action function="set">tw_back=backup</action>
1671 <action function="page">selectstorage</action>
1672 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001673 </object>
1674
Dees_Troy83bd4832013-05-04 12:39:56 +00001675 <object type="button">
1676 <conditions>
1677 <condition var1="tw_include_encrypted_backup" var2="1" />
1678 <condition var1="tw_encrypt_backup" var2="0" />
1679 </conditions>
1680 <highlight color="%highlight_color%" />
1681 <fill color="%button_fill_color%" />
1682 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1683 <font resource="font" color="%button_text_color%" />
1684 <text>No Encryption</text>
1685 <actions>
1686 <action function="page">backupencryption</action>
1687 </actions>
1688 </object>
1689
1690 <object type="button">
1691 <conditions>
1692 <condition var1="tw_include_encrypted_backup" var2="1" />
1693 <condition var1="tw_encrypt_backup" var2="1" />
1694 </conditions>
1695 <highlight color="%highlight_color%" />
1696 <fill color="%button_fill_color%" />
1697 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1698 <font resource="font" color="%button_text_color%" />
1699 <text>Using Encryption</text>
1700 <actions>
1701 <action function="page">backupencryption</action>
1702 </actions>
1703 </object>
1704
Dees_Troy51a0e822012-09-05 15:24:24 -04001705 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001706 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 <font resource="font" color="%text_color%" />
1708 <text>Enable Compression (Requires more time)</text>
1709 <data variable="tw_use_compression" />
1710 <image checked="checkbox_true" unchecked="checkbox_false" />
1711 </object>
1712
1713 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001714 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001715 <font resource="font" color="%text_color%" />
1716 <text>Skip MD5 generation on backups</text>
1717 <data variable="tw_skip_md5_generate" />
1718 <image checked="checkbox_true" unchecked="checkbox_false" />
1719 </object>
1720
Dees_Troy51a0e822012-09-05 15:24:24 -04001721 <object type="slider">
1722 <placement x="%slider_x%" y="%slider_y%" />
1723 <resource base="slider" used="slider-used" touch="slider-touch" />
1724 <actions>
1725 <action function="set">tw_operation_state=0</action>
1726 <action function="page">backup_run</action>
1727 </actions>
1728 </object>
1729
1730 <object type="text" color="%text_color%">
1731 <font resource="font" />
1732 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1733 <text>Swipe to Back Up</text>
1734 </object>
1735
Dees_Troy51a0e822012-09-05 15:24:24 -04001736 <object type="action">
1737 <touch key="home" />
1738 <action function="page">main</action>
1739 </object>
1740
1741 <object type="action">
1742 <touch key="back" />
1743 <action function="page">main</action>
1744 </object>
1745
1746 <object type="template" name="footer" />
1747 </page>
1748
1749 <page name="backupname1">
1750 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001751 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1752 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001753 </object>
1754
1755 <object type="action">
1756 <action function="page">backupname2</function>
1757 </object>
1758 </page>
1759
1760 <page name="backupname2">
1761 <object type="template" name="header" />
1762
1763 <object type="text" color="%text_color%">
1764 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1765 <font resource="font" />
1766 <text>Please Enter a Backup Name</text>
1767 </object>
1768
1769 <object type="input">
1770 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1771 <background color="%input_background_color%" />
1772 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1773 <font resource="font" color="%text_color%" />
1774 <text>%tw_backup_name%</text>
1775 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001776 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001777 <actions>
1778 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1779 <action function="set">tw_existpage=backupname2</action>
1780 <action function="set">tw_notexistpage=backup</action>
1781 <action function="page">filecheck</action>
1782 </actions>
1783 </object>
1784
1785 <object type="text" color="%text_fail_color%">
1786 <condition var1="tw_fileexists" var2="1" />
1787 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1788 <font resource="font" />
1789 <text>A backup with that name already exists!</text>
1790 </object>
1791
1792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001793 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001794 <placement x="%col2_x%" y="%cancel_button_y%" />
1795 <font resource="font" color="%button_text_color%" />
1796 <text>Append Date</text>
1797 <image resource="main_button" />
1798 <action function="appenddatetobackupname"></action>
1799 </object>
1800
1801 <object type="button">
1802 <highlight color="%highlight_color%" />
1803 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001804 <font resource="font" color="%button_text_color%" />
1805 <text>Cancel / Clear</text>
1806 <image resource="main_button" />
1807 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001808 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001809 <action function="page">backup</action>
1810 </actions>
1811 </object>
1812
1813 <object type="template" name="keyboardtemplate" />
1814
1815 <object type="action">
1816 <touch key="home" />
1817 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001818 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001819 <action function="page">main</action>
1820 </actions>
1821 </object>
1822
1823 <object type="action">
1824 <touch key="back" />
1825 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001826 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001827 <action function="page">backup</action>
1828 </actions>
1829 </object>
1830
1831 <object type="template" name="footer" />
1832 </page>
1833
Dees_Troy83bd4832013-05-04 12:39:56 +00001834 <page name="backupencryption">
1835 <object type="template" name="header" />
1836
1837 <object type="text" color="%text_color%">
1838 <font resource="font" />
1839 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1840 <text>Encrypt your backup? Please enter a password:</text>
1841 </object>
1842
1843 <object type="input">
1844 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1845 <background color="%input_background_color%" />
1846 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1847 <font resource="font" color="%text_color%" />
1848 <text>%tw_backup_encrypt_display%</text>
1849 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1850 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1851 <action function="page">backupencryption2</action>
1852 </object>
1853
1854 <object type="text" color="%text_fail_color%">
1855 <condition var1="tw_password_not_match" var2="1" />
1856 <font resource="font" />
1857 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1858 <text>Passwords Do Not Match</text>
1859 </object>
1860
1861 <object type="button">
1862 <highlight color="%highlight_color%" />
1863 <placement x="%col_center_x%" y="%cancel_button_y%" />
1864 <font resource="font" color="%button_text_color%" />
1865 <text>Cancel</text>
1866 <image resource="main_button" />
1867 <actions>
1868 <action function="set">tw_encrypt_backup=0</action>
1869 <action function="set">tw_backup_password=</action>
1870 <action function="set">tw_backup_password2=</action>
1871 <action function="set">tw_backup_encrypt_display=</action>
1872 <action function="set">tw_backup_encrypt_display2=</action>
1873 <action function="page">backup</action>
1874 </actions>
1875 </object>
1876
1877 <object type="template" name="keyboardtemplate" />
1878
1879 <object type="action">
1880 <touch key="home" />
1881 <action function="page">main</action>
1882 </object>
1883
1884 <object type="action">
1885 <touch key="back" />
1886 <action function="page">backup</action>
1887 </object>
1888
1889 <object type="template" name="footer" />
1890 </page>
1891
1892 <page name="backupencryption2">
1893 <object type="template" name="header" />
1894
1895 <object type="text" color="%text_color%">
1896 <font resource="font" />
1897 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1898 <text>Encrypt your backup? Please Enter Password Again:</text>
1899 </object>
1900
1901 <object type="input">
1902 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1903 <background color="%input_background_color%" />
1904 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1905 <font resource="font" color="%text_color%" />
1906 <text>%tw_backup_encrypt_display2%</text>
1907 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1908 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1909 <actions>
1910 <action function="page">checkbackuppassword</action>
1911 </actions>
1912 </object>
1913
1914 <object type="button">
1915 <highlight color="%highlight_color%" />
1916 <placement x="%col_center_x%" y="%cancel_button_y%" />
1917 <font resource="font" color="%button_text_color%" />
1918 <text>Cancel</text>
1919 <image resource="main_button" />
1920 <actions>
1921 <action function="set">tw_encrypt_backup=0</action>
1922 <action function="set">tw_backup_password=</action>
1923 <action function="set">tw_backup_password2=</action>
1924 <action function="set">tw_backup_encrypt_display=</action>
1925 <action function="set">tw_backup_encrypt_display2=</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </object>
1929
1930 <object type="template" name="keyboardtemplate" />
1931
1932 <object type="action">
1933 <touch key="home" />
1934 <action function="page">main</action>
1935 </object>
1936
1937 <object type="action">
1938 <touch key="back" />
1939 <action function="page">backup</action>
1940 </object>
1941
1942 <object type="template" name="footer" />
1943 </page>
1944
1945 <page name="checkbackuppassword">
1946 <object type="action">
1947 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1948 <actions>
1949 <action function="set">tw_encrypt_backup=1</action>
1950 <action function="page">backup</action>
1951 </actions>
1952 </object>
1953
1954 <object type="action">
1955 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1956 <actions>
1957 <action function="set">tw_encrypt_backup=0</action>
1958 <action function="set">tw_password_not_match=1</action>
1959 <action function="set">tw_backup_password=</action>
1960 <action function="set">tw_backup_password2=</action>
1961 <action function="set">tw_backup_encrypt_display=</action>
1962 <action function="set">tw_backup_encrypt_display2=</action>
1963 <action function="page">backupencryption</action>
1964 </actions>
1965 </object>
1966 </page>
1967
Dees_Troy51a0e822012-09-05 15:24:24 -04001968 <page name="backup_run">
1969 <object type="template" name="header" />
1970
1971 <object type="text" color="%text_color%">
1972 <font resource="font" />
1973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1974 <text>%tw_operation% %tw_partition%</text>
1975 </object>
1976
1977 <object type="template" name="action_page_console" />
1978
1979 <object type="template" name="progress_bar" />
1980
1981 <object type="action">
1982 <action function="nandroid">backup</action>
1983 </object>
1984
1985 <object type="action">
1986 <condition var1="tw_operation_state" var2="1" />
1987 <actions>
1988 <action function="set">tw_back=backup</action>
1989 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001990 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001991 <action function="page">action_complete</action>
1992 </actions>
1993 </object>
1994
1995 <object type="template" name="footer" />
1996 </page>
1997
1998 <page name="restore">
1999 <object type="template" name="header" />
2000
2001 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002002 <highlight color="%highlight_color%" />
2003 <fill color="%button_fill_color%" />
2004 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2005 <font resource="font" color="%button_text_color%" />
2006 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2007 <actions>
2008 <action function="set">tw_back=restore</action>
2009 <action function="page">selectstorage</action>
2010 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002011 </object>
2012
2013 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002014 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002015 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2016 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002017 <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 -04002018 <text>Select Package to Restore:</text>
2019 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2020 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002021 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002022 <icon folder="folder_icon" file="file_icon" />
2023 <background color="%fileselector_background%" />
2024 <filter folders="1" files="0" nav="0" />
2025 <path name="tw_backups_folder" />
2026 <data name="tw_restore" default="" />
2027 <selection name="tw_restore_name" />
2028 </object>
2029
2030 <object type="template" name="sort_options" />
2031
2032 <object type="action">
2033 <condition var1="tw_restore" op="modified" />
2034 <actions>
2035 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002036 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 </actions>
2038 </object>
2039
2040 <object type="action">
2041 <touch key="home" />
2042 <action function="page">main</action>
2043 </object>
2044
2045 <object type="action">
2046 <touch key="back" />
2047 <action function="page">main</action>
2048 </object>
2049
2050 <object type="template" name="footer" />
2051 </page>
2052
Dees_Troy83bd4832013-05-04 12:39:56 +00002053 <page name="restore_read">
2054 <object type="action">
2055 <condition var1="tw_restore_encrypted" var2="1" />
2056 <actions>
2057 <action function="set">tw_password_fail=0</action>
2058 <action function="page">restore_decrypt</action>
2059 </actions>
2060 </object>
2061
2062 <object type="action">
2063 <condition var1="tw_restore_encrypted" var2="0" />
2064 <actions>
2065 <action function="page">restore_select</action>
2066 </actions>
2067 </object>
2068 </page>
2069
2070 <page name="restore_decrypt">
2071 <object type="template" name="header" />
2072
2073 <object type="text" color="%text_color%">
2074 <font resource="font" />
2075 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2076 <text>Backup encrypted. Please enter your password:</text>
2077 </object>
2078
2079 <object type="input">
2080 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2081 <background color="%input_background_color%" />
2082 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2083 <font resource="font" color="%text_color%" />
2084 <text>%tw_restore_display%</text>
2085 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2086 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2087 <actions>
2088 <action function="page">try_restore_decrypt</action>
2089 </actions>
2090 </object>
2091
2092 <object type="text" color="%text_fail_color%">
2093 <condition var1="tw_password_fail" var2="1" />
2094 <font resource="font" />
2095 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2096 <text>Password Failed, Please Try Again</text>
2097 </object>
2098
2099 <object type="button">
2100 <highlight color="%highlight_color%" />
2101 <placement x="%col2_x%" y="%cancel_button_y%" />
2102 <font resource="font" color="%button_text_color%" />
2103 <text>Cancel</text>
2104 <image resource="main_button" />
2105 <actions>
2106 <action function="set">tw_page_done=1</action>
2107 <action function="page">restore</action>
2108 </actions>
2109 </object>
2110
2111 <object type="button">
2112 <highlight color="%highlight_color%" />
2113 <placement x="%col3_x%" y="%cancel_button_y%" />
2114 <font resource="font" color="%button_text_color%" />
2115 <text>Delete</text>
2116 <image resource="main_button" />
2117 <actions>
2118 <action function="set">tw_back=restore</action>
2119 <action function="set">tw_action=cmd</action>
2120 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2121 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2122 <action function="set">tw_text2=This cannot be undone!</action>
2123 <action function="set">tw_action_text1=Deleting Backup...</action>
2124 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2125 <action function="set">tw_slider_text=Swipe to Delete</action>
2126 <action function="page">confirm_action</action>
2127 </actions>
2128 </object>
2129
2130 <object type="template" name="keyboardtemplate" />
2131
2132 <object type="action">
2133 <touch key="home" />
2134 <action function="page">main</action>
2135 </object>
2136
2137 <object type="action">
2138 <touch key="back" />
2139 <action function="page">restore</action>
2140 </object>
2141
2142 <object type="template" name="footer" />
2143 </page>
2144
2145 <page name="try_restore_decrypt">
2146 <object type="template" name="header" />
2147
2148 <object type="text" color="%text_color%">
2149 <font resource="font" />
2150 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2151 <text>Trying Decryption with Your Password</text>
2152 </object>
2153
2154 <object type="template" name="action_page_console" />
2155
2156 <object type="template" name="progress_bar" />
2157
2158 <object type="action">
2159 <action function="decrypt_backup"></action>
2160 </object>
2161
2162 <object type="action">
2163 <conditions>
2164 <condition var1="tw_operation_state" var2="1" />
2165 <condition var1="tw_operation_status" op="!=" var2="0" />
2166 </conditions>
2167 <actions>
2168 <action function="set">tw_password_fail=1</action>
2169 <action function="page">restore_decrypt</action>
2170 </actions>
2171 </object>
2172
2173 <object type="action">
2174 <conditions>
2175 <condition var1="tw_operation_state" var2="1" />
2176 <condition var1="tw_operation_status" op="=" var2="0" />
2177 </conditions>
2178 <actions>
2179 <action function="set">tw_page_done=1</action>
2180 <action function="page">restore_select</action>
2181 </actions>
2182 </object>
2183 </page>
2184
Dees_Troy51a0e822012-09-05 15:24:24 -04002185 <page name="restore_select">
2186 <object type="template" name="header" />
2187
2188 <object type="text" color="%text_color%">
2189 <font resource="font" />
2190 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2191 <text>Package to Restore: %tw_restore_name%</text>
2192 </object>
2193
2194 <object type="text" color="%text_color%">
2195 <font resource="font" />
2196 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2197 <text>Package Date: %tw_restore_file_date%</text>
2198 </object>
2199
Dees_Troya13d74f2013-03-24 08:54:55 -05002200 <object type="partitionlist">
2201 <highlight color="%fileselector_highlight_color%" />
2202 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2203 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2204 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2205 <text>Select Partitions to Restore:</text>
2206 <icon selected="checkbox_true" unselected="checkbox_false" />
2207 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2208 <background color="%listbox_background%" />
2209 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2210 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2211 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002212 </object>
2213
2214 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002215 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002216 <font resource="font" color="%text_color%" />
2217 <text>Enable MD5 checking of backup files</text>
2218 <data variable="tw_skip_md5_check" />
2219 <image checked="checkbox_true" unchecked="checkbox_false" />
2220 </object>
2221
2222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002223 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002224 <placement x="%col4_x%" y="%row1_y%" />
2225 <font resource="font" color="%button_text_color%" />
2226 <text>Rename Backup</text>
2227 <image resource="main_button" />
2228 <actions>
2229 <action function="set">tw_backup_rename=</action>
2230 <action function="set">tw_fileexists=0</action>
2231 <action function="page">renamebackup</action>
2232 </actions>
2233 </object>
2234
2235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002236 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002237 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002238 <font resource="font" color="%button_text_color%" />
2239 <text>Delete Backup</text>
2240 <image resource="main_button" />
2241 <actions>
2242 <action function="set">tw_back=restore</action>
2243 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002244 <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 -04002245 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2246 <action function="set">tw_text2=This cannot be undone!</action>
2247 <action function="set">tw_action_text1=Deleting Backup...</action>
2248 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2249 <action function="set">tw_slider_text=Swipe to Delete</action>
2250 <action function="page">confirm_action</action>
2251 </actions>
2252 </object>
2253
2254 <object type="slider">
2255 <placement x="%slider_x%" y="%slider_y%" />
2256 <resource base="slider" used="slider-used" touch="slider-touch" />
2257 <action function="page">restore_run</action>
2258 </object>
2259
2260 <object type="text" color="%text_color%">
2261 <font resource="font" />
2262 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2263 <text>Swipe to Restore</text>
2264 </object>
2265
2266 <object type="action">
2267 <touch key="home" />
2268 <action function="page">main</action>
2269 </object>
2270
2271 <object type="action">
2272 <touch key="back" />
2273 <action function="page">restore</action>
2274 </object>
2275
2276 <object type="template" name="footer" />
2277 </page>
2278
2279 <page name="renamebackup">
2280 <object type="template" name="header" />
2281
2282 <object type="text" color="%text_color%">
2283 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2284 <font resource="font" />
2285 <text>Please Enter a New Backup Name</text>
2286 </object>
2287
2288 <object type="input">
2289 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2290 <background color="%input_background_color%" />
2291 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2292 <font resource="font" color="%text_color%" />
2293 <text>%tw_backup_rename%</text>
2294 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002295 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002296 <actions>
2297 <action function="set">tw_back=restore</action>
2298 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002299 <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 -04002300 <action function="set">tw_text1=Rename Backup?</action>
2301 <action function="set">tw_text2=This cannot be undone!</action>
2302 <action function="set">tw_action_text1=Renaming Backup...</action>
2303 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2304 <action function="set">tw_slider_text=Swipe to Rename</action>
2305 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2306 <action function="set">tw_existpage=renamebackup</action>
2307 <action function="set">tw_notexistpage=confirm_action</action>
2308 <action function="page">filecheck</action>
2309 </actions>
2310 </object>
2311
2312 <object type="text" color="%text_fail_color%">
2313 <condition var1="tw_fileexists" var2="1" />
2314 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2315 <font resource="font" />
2316 <text>A backup with that name already exists!</text>
2317 </object>
2318
2319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002320 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <placement x="%col_center_x%" y="%cancel_button_y%" />
2322 <font resource="font" color="%button_text_color%" />
2323 <text>Cancel</text>
2324 <image resource="main_button" />
2325 <action function="page">restore_select</action>
2326 </object>
2327
2328 <object type="template" name="keyboardtemplate" />
2329
2330 <object type="action">
2331 <touch key="home" />
2332 <action function="page">main</action>
2333 </object>
2334
2335 <object type="action">
2336 <touch key="back" />
2337 <action function="page">restore_select</action>
2338 </object>
2339
2340 <object type="template" name="footer" />
2341 </page>
2342
2343 <page name="restore_run">
2344 <object type="template" name="header" />
2345
2346 <object type="text" color="%text_color%">
2347 <font resource="font" />
2348 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2349 <text>%tw_operation% %tw_partition%</text>
2350 </object>
2351
2352 <object type="template" name="action_page_console" />
2353
2354 <object type="template" name="progress_bar" />
2355
2356 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002357 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <actions>
2359 <action function="set">tw_back=restore_select</action>
2360 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002361 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002362 <action function="page">action_complete</action>
2363 </actions>
2364 </object>
2365
2366 <object type="action">
2367 <action function="nandroid">restore</action>
2368 </object>
2369 </page>
2370
2371 <page name="settings">
2372 <object type="template" name="header" />
2373
2374 <object type="text" color="%text_color%">
2375 <font resource="font" />
2376 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2377 <text>Settings</text>
2378 </object>
2379
2380 <object type="checkbox">
2381 <placement x="%col1_x%" y="%row2_text_y%" />
2382 <font resource="font" color="%text_color%" />
2383 <text>Zip file signature verification?</text>
2384 <data variable="tw_signed_zip_verify" />
2385 <image checked="checkbox_true" unchecked="checkbox_false" />
2386 </object>
2387
2388 <object type="checkbox">
2389 <placement x="%col1_x%" y="%row3_text_y%" />
2390 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <text>Use rm -rf instead of formatting?</text>
2392 <data variable="tw_rm_rf" />
2393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002397 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <font resource="font" color="%text_color%" />
2399 <text>Skip MD5 generation on backups</text>
2400 <data variable="tw_skip_md5_generate" />
2401 <image checked="checkbox_true" unchecked="checkbox_false" />
2402 </object>
2403
2404 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002405 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <font resource="font" color="%text_color%" />
2407 <text>Enable MD5 checking of backup files</text>
2408 <data variable="tw_skip_md5_check" />
2409 <image checked="checkbox_true" unchecked="checkbox_false" />
2410 </object>
2411
2412 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002413 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002415 <text>Use Military Time</text>
2416 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <image checked="checkbox_true" unchecked="checkbox_false" />
2418 </object>
2419
2420 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002421 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <font resource="font" color="%text_color%" />
2423 <text>Simulate most actions for theme testing</text>
2424 <data variable="tw_simulate_actions" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
2429 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002430 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <font resource="font" color="%text_color%" />
2432 <text>Simulate failure for actions</text>
2433 <data variable="tw_simulate_fail" />
2434 <image checked="checkbox_true" unchecked="checkbox_false" />
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <placement x="%col1_x%" y="%row2_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>Time Zone</text>
2442 <image resource="main_button" />
2443 <action function="page">timezone</action>
2444 </object>
2445
2446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002447 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002448 <placement x="%col2_x%" y="%row2_y%" />
2449 <font resource="font" color="%button_text_color%" />
2450 <text>Restore Defaults</text>
2451 <image resource="main_button" />
2452 <action function="restoredefaultsettings"></action>
2453 </object>
2454
2455 <object type="button">
2456 <highlight color="%highlight_color%" />
2457 <placement x="%col3_x%" y="%row2_y%" />
2458 <font resource="font" color="%button_text_color%" />
2459 <text>Vibration Duration</text>
2460 <image resource="main_button" />
2461 <action function="page">Vibrate</action>
2462 </object>
2463
2464 <object type="button">
2465 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002466 <placement x="%col4_x%" y="%row2_y%" />
2467 <font resource="font" color="%button_text_color%" />
2468 <text>Screen</text>
2469 <image resource="main_button" />
2470 <action function="page">screen</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
2489 <object type="text" color="%text_color%">
2490 <font resource="font" />
2491 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2492 <text>Select Time Zone</text>
2493 </object>
2494
2495 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002496 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002499 <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 -06002500 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002504 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <data name="tw_time_zone_guisel" />
2506 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2507 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2508 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2509 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2510 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2511 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2512 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2513 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2514 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2515 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2516 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2517 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2518 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2519 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2520 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2521 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2522 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2523 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2524 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2525 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2526 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2527 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2528 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2529 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2530 </object>
2531
2532 <object type="checkbox">
2533 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2534 <font resource="font" color="%text_color%" />
2535 <text>Do you use daylight savings time (DST)?</text>
2536 <data variable="tw_time_zone_guidst" />
2537 <image checked="checkbox_true" unchecked="checkbox_false" />
2538 </object>
2539
2540 <object type="text" color="%text_color%">
2541 <font resource="font" />
2542 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2543 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2544 </object>
2545
2546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002547 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2549 <font resource="font" color="%button_text_color%" />
2550 <text>0</text>
2551 <image resource="medium_button" />
2552 <action function="set">tw_time_zone_guioffset=0</action>
2553 </object>
2554
2555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2558 <font resource="font" color="%button_text_color%" />
2559 <text>15</text>
2560 <image resource="medium_button" />
2561 <action function="set">tw_time_zone_guioffset=15</action>
2562 </object>
2563
2564 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002565 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002566 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2567 <font resource="font" color="%button_text_color%" />
2568 <text>30</text>
2569 <image resource="medium_button" />
2570 <action function="set">tw_time_zone_guioffset=30</action>
2571 </object>
2572
2573 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002574 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002575 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2576 <font resource="font" color="%button_text_color%" />
2577 <text>45</text>
2578 <image resource="medium_button" />
2579 <action function="set">tw_time_zone_guioffset=45</action>
2580 </object>
2581
2582 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002583 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002584 <placement x="%col4_x%" y="%row2_y%" />
2585 <font resource="font" color="%button_text_color%" />
2586 <text>Set Time Zone</text>
2587 <image resource="main_button" />
2588 <action function="setguitimezone"></action>
2589 </object>
2590
2591 <object type="text" color="%text_color%">
2592 <font resource="font" />
2593 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2594 <text>Current Time Zone: %tw_time_zone%</text>
2595 </object>
2596
2597 <object type="action">
2598 <touch key="home" />
2599 <action function="page">main</action>
2600 </object>
2601
2602 <object type="action">
2603 <touch key="back" />
2604 <action function="page">settings</action>
2605 </object>
2606
2607 <object type="template" name="footer" />
2608 </page>
2609
Dees_Troy2f9117a2013-02-17 19:52:09 -06002610 <page name="screen">
2611 <object type="template" name="header" />
2612
2613 <object type="text" color="%text_color%">
2614 <font resource="font" />
2615 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2616 <text>Screen Settings</text>
2617 </object>
2618
Dees_Troy2f9117a2013-02-17 19:52:09 -06002619 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002620 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2621 <font resource="font" color="%text_color%" />
2622 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002623 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <text>Enable screen timeout.</text>
2625 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002626 <action function="set">tw_screen_timeout_secs=60</action>
2627 </object>
2628
2629 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002630 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2631 <font resource="font" color="%text_color%" />
2632 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002633 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <text>Enable screen timeout.</text>
2635 <image resource="checkbox_true" />
2636 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002637 </object>
2638
Vojtech Bocek85932342013-04-01 22:11:33 +02002639 <object type="slidervalue">
2640 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002641 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2643 <font resource="font" color="%text_color%" />
2644 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2645 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2646 <text>Screen timeout in seconds:</text>
2647 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002648 </object>
2649
Vojtech Bocek85932342013-04-01 22:11:33 +02002650 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002651 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002652 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2653 <font resource="font" color="%text_color%" />
2654 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2655 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2656 <text>Brightness: %tw_brightness_pct%%</text>
2657 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002658 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002659 <action function="set">tw_brightness=%tw_brightness_max%</action>
2660 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2661 <action function="compute">tw_brightness/100</action>
2662 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002663 </actions>
2664 </object>
2665
2666 <object type="action">
2667 <touch key="home" />
2668 <action function="page">main</action>
2669 </object>
2670
2671 <object type="action">
2672 <touch key="back" />
2673 <action function="page">settings</action>
2674 </object>
2675
2676 <object type="template" name="footer" />
2677 </page>
2678
Ethan Yonker03db3262014-02-05 08:02:06 -06002679 <page name="Vibrate">
2680 <object type="template" name="header" />
2681
2682 <object type="text" color="%text_color%">
2683 <font resource="font" />
2684 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2685 <text>Vibration Settings :</text>
2686 </object>
2687
2688 <object type="slidervalue">
2689 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2690 <font resource="font" color="%text_color%" />
2691 <text>Button Vibration:</text>
2692 <data variable="tw_button_vibrate" min="0" max="300" />
2693 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2694 </object>
2695
2696 <object type="slidervalue">
2697 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2698 <font resource="font" color="%text_color%" />
2699 <text>Keyboard Vibration:</text>
2700 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2701 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2702 </object>
2703
2704 <object type="slidervalue">
2705 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2706 <font resource="font" color="%text_color%" />
2707 <text>Action Vibration:</text>
2708 <data variable="tw_action_vibrate" min="0" max="500" />
2709 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2710 </object>
2711
2712 <object type="action">
2713 <touch key="home" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="action">
2718 <touch key="back" />
2719 <action function="page">settings</action>
2720 </object>
2721
2722 <object type="template" name="footer" />
2723 </page>
2724
Dees_Troy51a0e822012-09-05 15:24:24 -04002725 <page name="advanced">
2726 <object type="template" name="header" />
2727
2728 <object type="text" color="%text_color%">
2729 <font resource="font" />
2730 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2731 <text>Advanced</text>
2732 </object>
2733
2734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <placement x="%col1_x%" y="%row1_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>Copy Log to SD</text>
2739 <image resource="main_button" />
2740 <actions>
2741 <action function="set">tw_back=advanced</action>
2742 <action function="set">tw_action=copylog</action>
2743 <action function="set">tw_text1=Copy Log to SD Card?</action>
2744 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2745 <action function="set">tw_complete_text1=Log Copy Complete</action>
2746 <action function="set">tw_slider_text=Swipe to Confirm</action>
2747 <action function="page">confirm_action</action>
2748 </actions>
2749 </object>
2750
2751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <placement x="%col2_x%" y="%row1_y%" />
2754 <font resource="font" color="%button_text_color%" />
2755 <text>Fix Permissions</text>
2756 <image resource="main_button" />
2757 <actions>
2758 <action function="set">tw_back=advanced</action>
2759 <action function="set">tw_action=fixpermissions</action>
2760 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002762 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2763 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002764 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <action function="page">confirm_action</action>
2766 </actions>
2767 </object>
2768
2769 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002770 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <placement x="%col3_x%" y="%row1_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>Terminal Command</text>
2774 <image resource="main_button" />
2775 <action function="page">terminalfolder</action>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002780 <placement x="%col4_x%" y="%row1_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>ADB Sideload</text>
2783 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002784 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <condition var1="tw_allow_partition_sdcard" var2="1" />
2790 <placement x="%col1_x%" y="%row2_y%" />
2791 <font resource="font" color="%button_text_color%" />
2792 <text>Partition SD Card</text>
2793 <image resource="main_button" />
2794 <action function="page">partsdcard</action>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <placement x="%col2_x%" y="%row2_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>File Manager</text>
2802 <image resource="main_button" />
2803 <action function="page">filemanagerlist</action>
2804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002808 <placement x="%col3_x%" y="%row2_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text>Reload Theme</text>
2811 <image resource="main_button" />
2812 <action function="reload"></action>
2813 </object>
2814
2815 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002816 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002817 <condition var1="tw_show_dumlock" var2="1" />
2818 <placement x="%col4_x%" y="%row2_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>HTC Dumlock</text>
2821 <image resource="main_button" />
2822 <action function="page">htcdumlock</action>
2823 </object>
2824
2825 <object type="action">
2826 <touch key="home" />
2827 <action function="page">main</action>
2828 </object>
2829
2830 <object type="action">
2831 <touch key="back" />
2832 <action function="page">main</action>
2833 </object>
2834
2835 <object type="template" name="footer" />
2836 </page>
2837
2838 <page name="partsdcard">
2839 <object type="template" name="header" />
2840
2841 <object type="text" color="%text_color%">
2842 <font resource="font" />
2843 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2844 <text>Partition SD Card</text>
2845 </object>
2846
2847 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002848 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002849 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2850 <font resource="font" color="%button_text_color%" />
2851 <text></text>
2852 <image resource="minus_button" />
2853 <action function="addsubtract">tw_sdext_size-128</action>
2854 </object>
2855
2856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002857 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text></text>
2861 <image resource="plus_button" />
2862 <action function="addsubtract">tw_sdext_size+128</action>
2863 </object>
2864
2865 <object type="text" color="%text_color%">
2866 <font resource="font" />
2867 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2868 <text>EXT Size: %tw_sdext_size%</text>
2869 </object>
2870
2871 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002872 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002873 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2874 <font resource="font" color="%button_text_color%" />
2875 <text></text>
2876 <image resource="minus_button" />
2877 <action function="addsubtract">tw_swap_size-32</action>
2878 </object>
2879
2880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002882 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text></text>
2885 <image resource="plus_button" />
2886 <action function="addsubtract">tw_swap_size+32</action>
2887 </object>
2888
2889 <object type="text" color="%text_color%">
2890 <font resource="font" />
2891 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2892 <text>Swap Size: %tw_swap_size%</text>
2893 </object>
2894
2895 <object type="text" color="%text_color%">
2896 <font resource="font" />
2897 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2898 <text>File system: %tw_sdpart_file_system%</text>
2899 </object>
2900
2901 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002902 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002903 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2904 <font resource="font" color="%button_text_color%" />
2905 <text>EXT3</text>
2906 <image resource="medium_button" />
2907 <action function="set">tw_sdpart_file_system=ext3</action>
2908 </object>
2909
2910 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002911 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002912 <condition var1="tw_sdext_disable_ext4" var2="0" />
2913 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text>EXT4</text>
2916 <image resource="medium_button" />
2917 <action function="set">tw_sdpart_file_system=ext4</action>
2918 </object>
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2923 <text>You will lose all files on your SD card!</text>
2924 </object>
2925
2926 <object type="text" color="%text_color%">
2927 <font resource="font" />
2928 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2929 <text>This action cannot be undone!</text>
2930 </object>
2931
2932 <object type="slider">
2933 <placement x="%slider_x%" y="%slider_y%" />
2934 <resource base="slider" used="slider-used" touch="slider-touch" />
2935 <actions>
2936 <action function="set">tw_back=partsdcard</action>
2937 <action function="set">tw_action=partitionsd</action>
2938 <action function="set">tw_has_action2=1</action>
2939 <action function="set">tw_action2=set</action>
2940 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2941 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2942 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002943 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <action function="page">action_page</action>
2945 </actions>
2946 </object>
2947
2948 <object type="text" color="%text_color%">
2949 <font resource="font" />
2950 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2951 <text>Swipe to Confirm Partition</text>
2952 </object>
2953
2954 <object type="action">
2955 <touch key="home" />
2956 <action function="page">main</action>
2957 </object>
2958
2959 <object type="action">
2960 <touch key="back" />
2961 <action function="page">advanced</action>
2962 </object>
2963
2964 <object type="template" name="footer" />
2965 </page>
2966
2967
2968 <page name="htcdumlock">
2969 <object type="template" name="header" />
2970
2971 <object type="text" color="%text_color%">
2972 <font resource="font" />
2973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2974 <text>HTC Dumlock</text>
2975 </object>
2976
2977 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002978 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002979 <condition var1="tw_show_dumlock" var2="1" />
2980 <placement x="%col1_x%" y="%row1_y%" />
2981 <font resource="font" color="%button_text_color%" />
2982 <text>Restore Original Boot</text>
2983 <image resource="main_button" />
2984 <actions>
2985 <action function="set">tw_back=htcdumlock</action>
2986 <action function="set">tw_action=htcdumlockrestoreboot</action>
2987 <action function="set">tw_text1=Restore original boot image?</action>
2988 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2989 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2990 <action function="set">tw_slider_text=Swipe to Confirm</action>
2991 <action function="page">confirm_action</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002996 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002997 <condition var1="tw_show_dumlock" var2="1" />
2998 <placement x="%col2_x%" y="%row1_y%" />
2999 <font resource="font" color="%button_text_color%" />
3000 <text>Reflash Recovery->Boot</text>
3001 <image resource="main_button" />
3002 <actions>
3003 <action function="set">tw_back=htcdumlock</action>
3004 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3005 <action function="set">tw_text1=Reflash recovery to boot?</action>
3006 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3007 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3008 <action function="set">tw_slider_text=Swipe to Confirm</action>
3009 <action function="page">confirm_action</action>
3010 </actions>
3011 </object>
3012
3013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003014 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003015 <condition var1="tw_show_dumlock" var2="1" />
3016 <placement x="%col1_x%" y="%row2_y%" />
3017 <font resource="font" color="%button_text_color%" />
3018 <text>Install HTC Dumlock</text>
3019 <image resource="main_button" />
3020 <actions>
3021 <action function="set">tw_back=htcdumlock</action>
3022 <action function="set">tw_action=installhtcdumlock</action>
3023 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3024 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3025 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3026 <action function="set">tw_slider_text=Swipe to Confirm</action>
3027 <action function="page">confirm_action</action>
3028 </actions>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="home" />
3033 <action function="page">main</action>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="back" />
3038 <action function="page">advanced</action>
3039 </object>
3040
3041 <object type="template" name="footer" />
3042 </page>
3043
3044 <page name="lock">
3045 <background color="#000000A0" />
3046
3047 <object type="image">
3048 <image resource="unlock-icon" />
3049 <placement x="%lock_x%" y="%lock_y%" />
3050 </object>
3051
3052 <object type="slider">
3053 <placement x="%slider_x%" y="%slider_y%" />
3054 <resource base="slider" used="slider-used" touch="slider-touch" />
3055 <action function="overlay"></action>
3056 </object>
3057
3058 <object type="text" color="%text_color%">
3059 <font resource="font" />
3060 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3061 <text>Swipe to Unlock</text>
3062 </object>
3063 </page>
3064
3065
3066 <page name="filemanagerlist">
3067 <object type="template" name="header" />
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3072 <text>File Manager: Select a File or Folder</text>
3073 </object>
3074
3075 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003076 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3078 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003079 <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 -04003080 <text>Folders:</text>
3081 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3082 <sort name="tw_gui_sort_order" />
3083 <icon folder="folder_icon" file="file_icon" />
3084 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003085 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <filter folders="1" files="0" />
3087 <path name="tw_file_location1" default="/sdcard" />
3088 <data name="select" />
3089 <selection name="tw_selection1" />
3090 </object>
3091
3092 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003093 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3095 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003096 <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 -04003097 <text>%tw_file_location1%</text>
3098 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3099 <sort name="tw_gui_sort_order" />
3100 <icon folder="folder_icon" file="file_icon" />
3101 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003102 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003103 <filter folders="0" files="1" />
3104 <path name="tw_file_location1" default="/" />
3105 <data name="tw_filename1" />
3106 <selection name="tw_selection1" />
3107 </object>
3108
3109 <object type="template" name="sort_options" />
3110
3111 <object type="action">
3112 <actions>
3113 <action function="set">tw_fm_type=File</action>
3114 <action function="set">tw_fm_isfolder=0</action>
3115 </actions>
3116 </object>
3117
3118 <object type="action">
3119 <touch key="home" />
3120 <action function="page">main</action>
3121 </object>
3122
3123 <object type="action">
3124 <touch key="back" />
3125 <action function="page">advanced</action>
3126 </object>
3127
3128 <object type="action">
3129 <condition var1="tw_filename1" op="modified" />
3130 <actions>
3131 <action function="page">filemanageroptions</action>
3132 </actions>
3133 </object>
3134
3135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003137 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>Select Folder</text>
3140 <image resource="main_button" />
3141 <actions>
3142 <action function="set">tw_filename1=tw_file_location1</action>
3143 <action function="set">tw_fm_isfolder=1</action>
3144 <action function="set">tw_fm_type=Folder</action>
3145 <action function="page">filemanageroptions</action>
3146 </actions>
3147 </object>
3148
3149 <object type="template" name="footer" />
3150 </page>
3151
3152 <page name="filemanageroptions">
3153 <object type="template" name="header" />
3154
3155 <object type="text" color="%text_color%">
3156 <font resource="font" />
3157 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3158 <text>%tw_fm_type% Selected:</text>
3159 </object>
3160
3161 <object type="text" color="%text_color%">
3162 <font resource="font" />
3163 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3164 <text>%tw_filename1%</text>
3165 </object>
3166
3167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003169 <condition var1="tw_fm_isfolder" var2="0" />
3170 <placement x="%col1_x%" y="%row2_y%" />
3171 <font resource="font" color="%button_text_color%" />
3172 <text>Copy File</text>
3173 <image resource="main_button" />
3174 <actions>
3175 <action function="set">tw_filemanager_command=cp</action>
3176 <action function="set">tw_fm_text1=Copying</action>
3177 <action function="page">choosedestinationfolder</action>
3178 </actions>
3179 </object>
3180
3181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003183 <condition var1="tw_fm_isfolder" var2="1" />
3184 <placement x="%col1_x%" y="%row2_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Copy Folder</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3190 <action function="set">tw_fm_text1=Copying</action>
3191 <action function="page">choosedestinationfolder</action>
3192 </actions>
3193 </object>
3194
3195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003197 <placement x="%col2_x%" y="%row2_y%" />
3198 <font resource="font" color="%button_text_color%" />
3199 <text>Move</text>
3200 <image resource="main_button" />
3201 <actions>
3202 <action function="set">tw_filemanager_command=mv</action>
3203 <action function="set">tw_fm_text1=Moving</action>
3204 <action function="page">choosedestinationfolder</action>
3205 </actions>
3206 </object>
3207
3208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003209 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003210 <placement x="%col3_x%" y="%row2_y%" />
3211 <font resource="font" color="%button_text_color%" />
3212 <text>chmod 755</text>
3213 <image resource="main_button" />
3214 <actions>
3215 <action function="set">tw_filemanager_command=chmod 755</action>
3216 <action function="set">tw_fm_text1=chmod 755</action>
3217 <action function="set">tw_fm_text2=</action>
3218 <action function="set">tw_fm_text3=</action>
3219 <action function="set">tw_include_text3=0</action>
3220 <action function="set">tw_back=filemanageroptions</action>
3221 <action function="page">filemanagerconfirm</action>
3222 </actions>
3223 </object>
3224
3225 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003226 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003227 <placement x="%col4_x%" y="%row2_y%" />
3228 <font resource="font" color="%button_text_color%" />
3229 <text>chmod</text>
3230 <image resource="main_button" />
3231 <actions>
3232 <action function="set">tw_filemanager_rename=0000</action>
3233 <action function="set">tw_fm_text2=</action>
3234 <action function="set">tw_fm_text3=</action>
3235 <action function="set">tw_include_text3=0</action>
3236 <action function="set">tw_back=filemanageroptions</action>
3237 <action function="page">filemanagerchmod</action>
3238 </actions>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <placement x="%col1_x%" y="%row1_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text>Delete</text>
3246 <image resource="main_button" />
3247 <actions>
3248 <action function="set">tw_filemanager_command=rm -rf</action>
3249 <action function="set">tw_fm_text1=Deleting</action>
3250 <action function="set">tw_fm_text2=</action>
3251 <action function="set">tw_fm_text3=</action>
3252 <action function="set">tw_include_text3=0</action>
3253 <action function="set">tw_back=filemanageroptions</action>
3254 <action function="page">filemanagerconfirm</action>
3255 </actions>
3256 </object>
3257
3258 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003259 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003260 <condition var1="tw_fm_isfolder" var2="0" />
3261 <placement x="%col4_x%" y="%row1_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text>Rename File</text>
3264 <image resource="main_button" />
3265 <actions>
3266 <action function="set">tw_filemanager_rename=tw_selection1</action>
3267 <action function="set">tw_fm_text1=Renaming</action>
3268 <action function="set">tw_filemanager_command=mv</action>
3269 <action function="page">filemanagerrenamefile</action>
3270 </actions>
3271 </object>
3272
3273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003275 <condition var1="tw_fm_isfolder" var2="1" />
3276 <placement x="%col4_x%" y="%row1_y%" />
3277 <font resource="font" color="%button_text_color%" />
3278 <text>Rename Folder</text>
3279 <image resource="main_button" />
3280 <actions>
3281 <action function="set">tw_filemanager_rename=tw_selection1</action>
3282 <action function="set">tw_fm_text1=Renaming</action>
3283 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3284 <action function="page">filemanagerrenamefolder</action>
3285 </actions>
3286 </object>
3287
3288 <object type="action">
3289 <touch key="home" />
3290 <action function="page">main</action>
3291 </object>
3292
3293 <object type="action">
3294 <touch key="back" />
3295 <action function="page">filemanagerlist</action>
3296 </object>
3297
3298 <object type="template" name="footer" />
3299 </page>
3300
3301 <page name="choosedestinationfolder">
3302 <object type="template" name="header" />
3303
3304 <object type="text" color="%text_color%">
3305 <font resource="font" />
3306 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3307 <text>Browse to Destination Folder & Press Select</text>
3308 </object>
3309
3310 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003311 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003312 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3313 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003314 <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 -04003315 <text>%tw_file_location2%</text>
3316 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3317 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003318 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003319 <icon folder="folder_icon" file="file_icon" />
3320 <background color="%fileselector_background%" />
3321 <filter folders="1" files="0" />
3322 <path name="tw_file_location2" default="/sdcard" />
3323 <data name="tw_filename2" />
3324 </object>
3325
3326 <object type="template" name="sort_options" />
3327
3328 <object type="action">
3329 <touch key="home" />
3330 <action function="page">main</action>
3331 </object>
3332
3333 <object type="action">
3334 <touch key="back" />
3335 <action function="page">filemanageroptions</action>
3336 </object>
3337
3338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3341 <font resource="font" color="%button_text_color%" />
3342 <text>Select Folder</text>
3343 <image resource="main_button" />
3344 <actions>
3345 <action function="set">tw_fm_text2=to</action>
3346 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3347 <action function="set">tw_include_text3=1</action>
3348 <action function="set">tw_back=filemanageroptions</action>
3349 <action function="page">filemanagerconfirm</action>
3350 </actions>
3351 </object>
3352
3353 <object type="template" name="footer" />
3354 </page>
3355
3356 <page name="filemanagerrenamefile">
3357 <object type="template" name="header" />
3358
3359 <object type="text" color="%text_color%">
3360 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3361 <font resource="font" />
3362 <text>Please Enter a New %tw_fm_type% Name</text>
3363 </object>
3364
3365 <object type="input">
3366 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3367 <background color="%input_background_color%" />
3368 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3369 <font resource="font" color="%text_color%" />
3370 <text>%tw_filemanager_rename%</text>
3371 <data name="tw_filemanager_rename" />
3372 <restrict minlen="1" maxlen="128" />
3373 <actions>
3374 <action function="set">tw_fm_text2=to</action>
3375 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3376 <action function="set">tw_include_text3=1</action>
3377 <action function="set">tw_back=filemanageroptions</action>
3378 <action function="page">filemanagerconfirm</action>
3379 </actions>
3380 </object>
3381
3382 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003383 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003384 <placement x="%col_center_x%" y="%cancel_button_y%" />
3385 <font resource="font" color="%button_text_color%" />
3386 <text>Cancel</text>
3387 <image resource="main_button" />
3388 <action function="page">filemanageroptions</action>
3389 </object>
3390
3391 <object type="template" name="keyboardtemplate" />
3392
3393 <object type="action">
3394 <touch key="home" />
3395 <action function="page">main</action>
3396 </object>
3397
3398 <object type="action">
3399 <touch key="back" />
3400 <action function="page">filemanageroptions</action>
3401 </object>
3402
3403 <object type="template" name="footer" />
3404 </page>
3405
3406 <page name="filemanagerrenamefolder">
3407 <object type="template" name="header" />
3408
3409 <object type="text" color="%text_color%">
3410 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3411 <font resource="font" />
3412 <text>Please Enter a New %tw_fm_type% Name</text>
3413 </object>
3414
3415 <object type="input">
3416 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3417 <background color="%input_background_color%" />
3418 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3419 <font resource="font" color="%text_color%" />
3420 <text>%tw_filemanager_rename%</text>
3421 <data name="tw_filemanager_rename" />
3422 <restrict minlen="1" maxlen="128" />
3423 <actions>
3424 <action function="set">tw_fm_text2=to</action>
3425 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3426 <action function="set">tw_include_text3=1</action>
3427 <action function="set">tw_back=filemanageroptions</action>
3428 <action function="page">filemanagerconfirm</action>
3429 </actions>
3430 </object>
3431
3432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003434 <placement x="%col_center_x%" y="%cancel_button_y%" />
3435 <font resource="font" color="%button_text_color%" />
3436 <text>Cancel</text>
3437 <image resource="main_button" />
3438 <action function="page">filemanageroptions</action>
3439 </object>
3440
3441 <object type="template" name="keyboardtemplate" />
3442
3443 <object type="action">
3444 <touch key="home" />
3445 <action function="page">main</action>
3446 </object>
3447
3448 <object type="action">
3449 <touch key="back" />
3450 <action function="page">filemanageroptions</action>
3451 </object>
3452
3453 <object type="template" name="footer" />
3454 </page>
3455
3456 <page name="filemanagerchmod">
3457 <object type="template" name="header" />
3458
3459 <object type="text" color="%text_color%">
3460 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3461 <font resource="font" />
3462 <text>Please Enter New Permissions</text>
3463 </object>
3464
3465 <object type="input">
3466 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3467 <background color="%input_background_color%" />
3468 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3469 <font resource="font" color="%text_color%" />
3470 <text>%tw_filemanager_rename%</text>
3471 <data name="tw_filemanager_rename" />
3472 <restrict minlen="3" maxlen="4" allow="0123456789" />
3473 <actions>
3474 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3475 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3476 <action function="set">tw_back=filemanageroptions</action>
3477 <action function="page">filemanagerconfirm</action>
3478 </actions>
3479 </object>
3480
3481 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003482 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003483 <placement x="%col_center_x%" y="%cancel_button_y%" />
3484 <font resource="font" color="%button_text_color%" />
3485 <text>Cancel</text>
3486 <image resource="main_button" />
3487 <action function="page">filemanageroptions</action>
3488 </object>
3489
3490 <object type="template" name="keyboardtemplate" />
3491
3492 <object type="action">
3493 <touch key="home" />
3494 <action function="page">main</action>
3495 </object>
3496
3497 <object type="action">
3498 <touch key="back" />
3499 <action function="page">filemanageroptions</action>
3500 </object>
3501
3502 <object type="template" name="footer" />
3503 </page>
3504
3505 <page name="filemanagerconfirm">
3506 <object type="template" name="header" />
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3511 <text>%tw_fm_text1%</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3517 <text>%tw_filename1%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3523 <text>%tw_fm_text2%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3529 <text>%tw_fm_text3%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3535 <text>Press back button to cancel.</text>
3536 </object>
3537
3538 <object type="slider">
3539 <placement x="%slider_x%" y="%slider_y%" />
3540 <resource base="slider" used="slider-used" touch="slider-touch" />
3541 <action function="page">filemanageracction</action>
3542 </object>
3543
3544 <object type="text" color="%text_color%">
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3547 <text>Swipe to Confirm</text>
3548 </object>
3549
3550 <object type="action">
3551 <touch key="back" />
3552 <action function="page">%tw_back%</action>
3553 </object>
3554
3555 <object type="action">
3556 <touch key="home" />
3557 <action function="page">main</action>
3558 </object>
3559
3560 <object type="template" name="footer" />
3561 </page>
3562
3563 <page name="filemanageracction">
3564 <object type="template" name="header" />
3565
3566 <object type="text" color="%text_color%">
3567 <font resource="font" />
3568 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3569 <text>%tw_fm_text1%</text>
3570 </object>
3571
3572 <object type="template" name="action_page_console" />
3573
3574 <object type="template" name="progress_bar" />
3575
3576 <object type="action">
3577 <conditions>
3578 <condition var1="tw_operation_state" var2="1" />
3579 <condition var1="tw_operation_status" var2="0" />
3580 </conditions>
3581 <actions>
3582 <action function="set">tw_back=filemanagerlist</action>
3583 <action function="set">tw_complete_text1=File Operation Complete</action>
3584 <action function="page">action_complete</action>
3585 </actions>
3586 </object>
3587
3588 <object type="action">
3589 <conditions>
3590 <condition var1="tw_operation_state" var2="1" />
3591 <condition var1="tw_operation_status" op="!=" var2="0" />
3592 </conditions>
3593 <actions>
3594 <action function="set">tw_complete_text1=File Operation Complete</action>
3595 <action function="page">action_complete</action>
3596 </actions>
3597 </object>
3598
3599 <object type="action">
3600 <condition var1="tw_include_text3" var2="0" />
3601 <actions>
3602 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3603 </actions>
3604 </object>
3605
3606 <object type="action">
3607 <condition var1="tw_include_text3" var2="1" />
3608 <actions>
3609 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3610 </actions>
3611 </object>
3612 </page>
3613
3614 <page name="decrypt">
3615 <object type="template" name="header" />
3616
3617 <object type="text" color="%text_color%">
3618 <font resource="font" />
3619 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3620 <text>Please Enter Your Password</text>
3621 </object>
3622
3623 <object type="input">
3624 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3625 <background color="%input_background_color%" />
3626 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3627 <font resource="font" color="%text_color%" />
3628 <text>%tw_crypto_display%</text>
3629 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3630 <restrict minlen="1" maxlen="254" />
3631 <actions>
3632 <action function="page">trydecrypt</action>
3633 </actions>
3634 </object>
3635
3636 <object type="text" color="%text_fail_color%">
3637 <condition var1="tw_password_fail" var2="1" />
3638 <font resource="font" />
3639 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3640 <text>Password Failed, Please Try Again</text>
3641 </object>
3642
3643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003645 <placement x="%col_center_x%" y="%cancel_button_y%" />
3646 <font resource="font" color="%button_text_color%" />
3647 <text>Cancel</text>
3648 <image resource="main_button" />
3649 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003650 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003651 <action function="page">main</action>
3652 </actions>
3653 </object>
3654
3655 <object type="template" name="keyboardtemplate" />
3656
Dees_Troy51a0e822012-09-05 15:24:24 -04003657 <object type="template" name="footer" />
3658 </page>
3659
3660 <page name="trydecrypt">
3661 <object type="template" name="header" />
3662
3663 <object type="text" color="%text_color%">
3664 <font resource="font" />
3665 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3666 <text>Trying Decryption with Your Password</text>
3667 </object>
3668
3669 <object type="template" name="action_page_console" />
3670
3671 <object type="template" name="progress_bar" />
3672
3673 <object type="action">
3674 <action function="decrypt"></action>
3675 </object>
3676
3677 <object type="action">
3678 <conditions>
3679 <condition var1="tw_operation_state" var2="1" />
3680 <condition var1="tw_operation_status" op="!=" var2="0" />
3681 </conditions>
3682 <actions>
3683 <action function="set">tw_password_fail=1</action>
3684 <action function="page">decrypt</action>
3685 </actions>
3686 </object>
3687
3688 <object type="action">
3689 <conditions>
3690 <condition var1="tw_operation_state" var2="1" />
3691 <condition var1="tw_operation_status" op="=" var2="0" />
3692 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003693 <actions>
3694 <action function="set">tw_page_done=1</action>
3695 <action function="page">main</action>
3696 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003697 </object>
3698 </page>
3699
3700 <page name="terminalfolder">
3701 <object type="template" name="header" />
3702
3703 <object type="text" color="%text_color%">
3704 <font resource="font" />
3705 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3706 <text>Browse to Starting Folder</text>
3707 </object>
3708
3709 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003710 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003711 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3712 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003713 <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 -04003714 <text>%tw_terminal_location%</text>
3715 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3716 <sort name="tw_gui_sort_order" />
3717 <icon folder="folder_icon" file="file_icon" />
3718 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003719 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003720 <filter folders="1" files="0" />
3721 <path name="tw_terminal_location" default="/" />
3722 <data name="tw_terminal" />
3723 <selection name="tw_terminal_selection" />
3724 </object>
3725
3726 <object type="template" name="sort_options" />
3727
3728 <object type="action">
3729 <touch key="home" />
3730 <action function="page">main</action>
3731 </object>
3732
3733 <object type="action">
3734 <touch key="back" />
3735 <action function="page">advanced</action>
3736 </object>
3737
3738 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003739 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003740 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3741 <font resource="font" color="%button_text_color%" />
3742 <text>Select Folder</text>
3743 <image resource="main_button" />
3744 <actions>
3745 <action function="page">terminalcommand</action>
3746 </actions>
3747 </object>
3748
3749 <object type="template" name="footer" />
3750 </page>
3751
3752 <page name="terminalcommand">
3753 <background color="#000000FF" />
3754
3755 <object type="console">
3756 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3757 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3758 <font resource="fixed" />
3759 </object>
3760
3761 <object type="text" color="%text_color%">
3762 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3763 <font resource="font" />
3764 <text>Starting Path: %tw_terminal_location%</text>
3765 </object>
3766
3767 <object type="input">
3768 <condition var1="tw_terminal_state" var2="0" />
3769 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3770 <background color="%input_background_color%" />
3771 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3772 <font resource="font" color="%text_color%" />
3773 <text>%tw_terminal_command%</text>
3774 <data name="tw_terminal_command" />
3775 <restrict minlen="1" />
3776 <action function="terminalcommand">%tw_terminal_command%</action>
3777 </object>
3778
3779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003781 <condition var1="tw_terminal_state" var2="1" />
3782 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3783 <font resource="font" color="%button_text_color%" />
3784 <text>KILL</text>
3785 <image resource="medium_button" />
3786 <action function="killterminal"></action>
3787 </object>
3788
3789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003791 <placement x="%home_button_x%" y="%terminal_button_y%" />
3792 <font resource="font" color="%button_text_color%" />
3793 <text></text>
3794 <image resource="home_icon" />
3795 <condition var1="tw_busy" var2="0" />
3796 <action function="key">home</action>
3797 </object>
3798
3799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003800 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003801 <placement x="%back_button_x%" y="%terminal_button_y%" />
3802 <font resource="font" color="%button_text_color%" />
3803 <text></text>
3804 <image resource="back_icon" />
3805 <condition var1="tw_busy" var2="0" />
3806 <action function="key">back</action>
3807 </object>
3808
3809 <object type="action">
3810 <touch key="power" />
3811 <action function="overlay">lock</action>
3812 </object>
3813
3814 <object type="template" name="keyboardtemplate" />
3815
3816 <object type="action">
3817 <touch key="home" />
3818 <action function="page">main</action>
3819 </object>
3820
3821 <object type="action">
3822 <touch key="back" />
3823 <action function="page">terminalfolder</action>
3824 </object>
3825 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003826
3827 <page name="sideload">
3828 <object type="template" name="header" />
3829
3830 <object type="text" color="%text_color%">
3831 <font resource="font" />
3832 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3833 <text>ADB Sideload</text>
3834 </object>
3835
3836 <object type="checkbox">
3837 <placement x="%col1_x%" y="%row3_text_y%" />
3838 <font resource="font" color="%text_color%" />
3839 <text>Wipe Dalvik Cache.</text>
3840 <data variable="tw_wipe_dalvik" />
3841 <image checked="checkbox_true" unchecked="checkbox_false" />
3842 </object>
3843
3844 <object type="checkbox">
3845 <placement x="%col1_x%" y="%row4_text_y%" />
3846 <font resource="font" color="%text_color%" />
3847 <text>Wipe Cache.</text>
3848 <data variable="tw_wipe_cache" />
3849 <image checked="checkbox_true" unchecked="checkbox_false" />
3850 </object>
3851
3852 <object type="slider">
3853 <placement x="%slider_x%" y="%slider_y%" />
3854 <resource base="slider" used="slider-used" touch="slider-touch" />
3855 <actions>
3856 <action function="set">tw_back=advanced</action>
3857 <action function="set">tw_action=adbsideload</action>
3858 <action function="set">tw_action_text1=ADB Sideload</action>
3859 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3860 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3861 <action function="set">tw_has_cancel=1</action>
3862 <action function="set">tw_show_reboot=1</action>
3863 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3864 <action function="page">action_page</action>
3865 </actions>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3871 <text>Swipe to Start Sideload</text>
3872 </object>
3873
3874 <object type="action">
3875 <touch key="home" />
3876 <action function="page">main</action>
3877 </object>
3878
3879 <object type="action">
3880 <touch key="back" />
3881 <action function="page">advanced</action>
3882 </object>
3883
3884 <object type="template" name="footer" />
3885 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003886
3887 <page name="installsu">
3888 <object type="template" name="header" />
3889
3890 <object type="text" color="%text_color%">
3891 <font resource="font" />
3892 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3893 <text>Install SuperSU?</text>
3894 </object>
3895
3896 <object type="text" color="%text_color%">
3897 <font resource="font" />
3898 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3899 <text>Your device does not appear to be rooted.</text>
3900 </object>
3901
3902 <object type="text" color="%text_color%">
3903 <font resource="font" />
3904 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3905 <text>Install SuperSU now? This will root your device.</text>
3906 </object>
3907
3908 <object type="button">
3909 <highlight color="%highlight_color%" />
3910 <placement x="%col_center_x%" y="%row2_medium_y%" />
3911 <font resource="font" color="%button_text_color%" />
3912 <text>Do Not Install</text>
3913 <image resource="main_button" />
3914 <action function="set">tw_page_done=1</action>
3915 </object>
3916
3917 <object type="slider">
3918 <placement x="%slider_x%" y="%slider_y%" />
3919 <resource base="slider" used="slider-used" touch="slider-touch" />
3920 <actions>
3921 <action function="set">tw_action=installsu</action>
3922 <action function="set">tw_action_text1=Installing SuperSU</action>
3923 <action function="set">tw_action_text2=</action>
3924 <action function="page">singleaction_page</action>
3925 </actions>
3926 </object>
3927
3928 <object type="text" color="%text_color%">
3929 <font resource="font" />
3930 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3931 <text>Swipe to Install</text>
3932 </object>
3933 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003934 </pages>
3935</recovery>