blob: e3cdb8a8b3b4b5b238bc4d51ebfa97dea138e377 [file] [log] [blame]
Dees_Troy16b74352012-11-14 22:27:31 +00001<?xml version="1.0"?>
2
3<recovery>
4 <details>
Dees_Troy2effe652012-11-19 17:06:03 +00005 <resolution width="2560" height="1600" />
Dees_Troy16b74352012-11-14 22:27:31 +00006 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
Dees_Troy2effe652012-11-19 17:06:03 +000013 <resource name="font" type="font" filename="Roboto-Regular-40" />
Dees_Troy16b74352012-11-14 22:27:31 +000014 <resource name="base" type="image" filename="background.jpg" />
Dees_Troy16b74352012-11-14 22:27:31 +000015 <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_Troy16b74352012-11-14 22:27:31 +000042 </resources>
43
44 <variables>
Dees_Troy2effe652012-11-19 17:06:03 +000045 <variable name="col1_x" value="260" />
46 <variable name="col2_x" value="770" />
47 <variable name="col3_x" value="1310" />
48 <variable name="col4_x" value="1820" />
49 <variable name="row1_y" value="300" />
50 <variable name="row2_y" value="1000" />
51 <variable name="col_center_x" value="1040" />
52 <variable name="center_x" value="1280" />
Dees_Troy16b74352012-11-14 22:27:31 +000053 <variable name="screen_width" value="1920" />
54 <variable name="screen_height" value="1200" />
Dees_Troy2effe652012-11-19 17:06:03 +000055 <variable name="col_progressbar_x" value="1028" />
56 <variable name="row_progressbar_y" value="1500" />
57 <variable name="col1_medium_x" value="755" />
58 <variable name="col2_medium_x" value="1025" />
59 <variable name="col3_medium_x" value="1310" />
60 <variable name="col4_medium_x" value="1580" />
Dees_Troy16b74352012-11-14 22:27:31 +000061 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060062 <variable name="row2_medium_y" value="500" />
Dees_Troy16b74352012-11-14 22:27:31 +000063 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row4_medium_y" value="1000" />
Dees_Troy2effe652012-11-19 17:06:03 +000065 <variable name="row5_medium_y" value="950" />
66 <variable name="row1_text_y" value="120" />
67 <variable name="row2_text_y" value="195" />
68 <variable name="row3_text_y" value="270" />
69 <variable name="row4_text_y" value="345" />
70 <variable name="row5_text_y" value="420" />
71 <variable name="row6_text_y" value="495" />
72 <variable name="row7_text_y" value="570" />
73 <variable name="row8_text_y" value="645" />
74 <variable name="row9_text_y" value="720" />
75 <variable name="row10_text_y" value="795" />
76 <variable name="row11_text_y" value="870" />
77 <variable name="row12_text_y" value="945" />
78 <variable name="row13_text_y" value="1020" />
79 <variable name="row14_text_y" value="1095" />
80 <variable name="row15_text_y" value="1170" />
81 <variable name="row16_text_y" value="1240" />
82 <variable name="row17_text_y" value="1310" />
83 <variable name="row18_text_y" value="1395" />
84 <variable name="row_offsetmedium_y" value="1100" />
85 <variable name="home_button_x" value="2200" />
86 <variable name="home_button_y" value="15" />
87 <variable name="back_button_x" value="2320" />
88 <variable name="back_button_y" value="15" />
89 <variable name="console_button_x" value="2440" />
90 <variable name="console_button_y" value="15" />
Dees_Troy16b74352012-11-14 22:27:31 +000091 <variable name="nandcheck_col1" value="328" />
92 <variable name="nandcheck_col2" value="800" />
Dees_Troy2effe652012-11-19 17:06:03 +000093 <variable name="nandcheck_row1" value="260" />
94 <variable name="nandcheck_row2" value="360" />
95 <variable name="nandcheck_row3" value="460" />
96 <variable name="nandcheck_row4" value="560" />
97 <variable name="nandcheck_row5" value="660" />
98 <variable name="nandcheck_row6" value="760" />
99 <variable name="nandcheck_row7" value="860" />
Dees_Troy16b74352012-11-14 22:27:31 +0000100 <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_Troy2effe652012-11-19 17:06:03 +0000106 <variable name="slider_x" value="841" />
107 <variable name="slider_y" value="1335" />
108 <variable name="slider_text_y" value="1435" />
109 <variable name="sort_text_x" value="800" />
110 <variable name="sort_asc_text_y" value="1410" />
111 <variable name="sort_asc_button_y" value="1400" />
112 <variable name="sort_desc_text_y" value="1490" />
113 <variable name="sort_desc_button_y" value="1480" />
114 <variable name="sort_col1_button_x" value="1200" />
115 <variable name="sort_col2_button_x" value="1350" />
116 <variable name="sort_col3_button_x" value="1500" />
117 <variable name="col1_sdext_x" value="960" />
118 <variable name="col2_sdext_x" value="1600" />
Dees_Troy16b74352012-11-14 22:27:31 +0000119 <variable name="row1_sdext_y" value="180" />
120 <variable name="row2_sdext_y" value="265" />
121 <variable name="row_extsize_y" value="175" />
122 <variable name="row_swapsize_y" value="260" />
123 <variable name="input_x" value="50" />
Dees_Troy2effe652012-11-19 17:06:03 +0000124 <variable name="input_width" value="2460" />
125 <variable name="input_height" value="65" />
Dees_Troy16b74352012-11-14 22:27:31 +0000126 <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="50" />
Dees_Troy2effe652012-11-19 17:06:03 +0000130 <variable name="console_width" value="2460" />
Dees_Troy16b74352012-11-14 22:27:31 +0000131 <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" />
Dees_Troy2effe652012-11-19 17:06:03 +0000137 <variable name="fileselector_folder_x" value="70" />
138 <variable name="fileselector_folder_width" value="910" />
139 <variable name="fileselector_folderonly_width" value="1200" />
140 <variable name="fileselector_file_x" value="1000" />
141 <variable name="fileselector_file_width" value="1500" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500142 <variable name="fileselector_install_y" value="290" />
Dees_Troy2effe652012-11-19 17:06:03 +0000143 <variable name="fileselector_install_height" value="1100" />
Dees_Troy16b74352012-11-14 22:27:31 +0000144 <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_Troy16b74352012-11-14 22:27:31 +0000153 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100154 <variable name="fastscroll_linecolor" value="#808080" />
155 <variable name="fastscroll_rectcolor" value="#808080" />
156 <variable name="fastscroll_w" value="80" />
157 <variable name="fastscroll_linew" value="4" />
158 <variable name="fastscroll_rectw" value="60" />
159 <variable name="fastscroll_recth" value="100" />
Dees_Troy2effe652012-11-19 17:06:03 +0000160 <variable name="zipstorage_text_y" value="190" />
161 <variable name="listbox_x" value="680" />
162 <variable name="listbox_y" value="195" />
163 <variable name="listbox_width" value="1200" />
164 <variable name="listbox_tz_height" value="650" />
Dees_Troy16b74352012-11-14 22:27:31 +0000165 <variable name="listbox_background" value="#303030" />
166 <variable name="listbox_spacing" value="18" />
167 <variable name="sd_plus_x" value="408" />
Dees_Troy2f9117a2013-02-17 19:52:09 -0600168 <variable name="lock_x" value="880" />
Dees_Troy16b74352012-11-14 22:27:31 +0000169 <variable name="lock_y" value="300" />
Dees_Troy2effe652012-11-19 17:06:03 +0000170 <variable name="filemanager_select_x" value="2000" />
171 <variable name="filemanager_select_y" value="1360" />
Dees_Troy16b74352012-11-14 22:27:31 +0000172 <variable name="backup_name_text_y" value="440" />
Dees_Troy2effe652012-11-19 17:06:03 +0000173 <variable name="backup_name_button_y" value="950" />
Dees Troyb21cc642013-09-10 17:36:41 +0000174 <variable name="col_right_x" value="2510" />
Dees_Troy2effe652012-11-19 17:06:03 +0000175 <variable name="cancel_button_y" value="430" />
Dees_Troy16b74352012-11-14 22:27:31 +0000176 <variable name="terminal_console_y" value="0" />
Dees_Troy2effe652012-11-19 17:06:03 +0000177 <variable name="terminal_console_height" value="810" />
178 <variable name="terminal_text_y" value="837" />
179 <variable name="terminal_button_y" value="815" />
180 <variable name="terminal_input_width" value="2100" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500181 <variable name="button_fill_color" value="#303030" />
182 <variable name="button_fill_full_width" value="1280" />
183 <variable name="button_fill_main_width" value="1200" />
184 <variable name="button_fill_main_height" value="320" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000185 <variable name="button_fill_half_height" value="107" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500186 <variable name="button_fill_quarter_height" value="80" />
187 <variable name="button_full_center_x" value="640" />
188 <variable name="backup_list_x" value="50" />
189 <variable name="backup_list_y" value="210" />
190 <variable name="backup_list_width" value="1200" />
191 <variable name="backup_list_height" value="880" />
192 <variable name="backup_storage_y" value="540" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000193 <variable name="backup_encrypt_y" value="650" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500194 <variable name="restore_list_y" value="280" />
195 <variable name="restore_list_height" value="800" />
196 <variable name="mount_list_height" value="1200" />
197 <variable name="mount_storage_row" value="1100" />
198 <variable name="wipe_list_height" value="1100" />
199 <variable name="wipe_button_y" value="500" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200200 <variable name="slidervalue_x" value="640" />
201 <variable name="slidervalue_w" value="1280" />
202 <variable name="slidervalue_line_clr" value="#FFFFFF" />
203 <variable name="slidervalue_slider_clr" value="#33B5E5" />
204 <variable name="slidervalue_lineh" value="4" />
205 <variable name="slidervalue_padding" value="0" />
206 <variable name="slidervalue_sliderw" value="30" />
207 <variable name="slidervalue_sliderh" value="90" />
Dees_Troy16b74352012-11-14 22:27:31 +0000208 </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.5" />
214 </mousecursor>
215
Dees_Troy16b74352012-11-14 22:27:31 +0000216 <templates>
217 <template name="header">
218 <background color="#000000FF" />
219
220 <object type="image">
Dees_Troy16b74352012-11-14 22:27:31 +0000221 <image resource="base" />
222 <placement x="0" y="0" />
223 </object>
224
Dees_Troy16b74352012-11-14 22:27:31 +0000225 <object type="text" color="%text_color%">
226 <font resource="font" />
Dees_Troy2effe652012-11-19 17:06:03 +0000227 <placement x="400" y="8" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000228 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy16b74352012-11-14 22:27:31 +0000229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
Dees_Troy2effe652012-11-19 17:06:03 +0000233 <placement x="400" y="55" />
Dees_Troy16b74352012-11-14 22:27:31 +0000234 <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" />
Dees_Troy2effe652012-11-19 17:06:03 +0000244 <placement x="900" y="55" />
Dees_Troy16b74352012-11-14 22:27:31 +0000245 <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" />
Dees_Troy2effe652012-11-19 17:06:03 +0000251 <placement x="1100" y="55" />
Dees_Troy16b74352012-11-14 22:27:31 +0000252 <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" />
Dees_Troy2effe652012-11-19 17:06:03 +0000289 <speed fps="15" render="2" />
Dees_Troy16b74352012-11-14 22:27:31 +0000290 <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">
Dees_Troy2effe652012-11-19 17:06:03 +0000358 <placement x="%console_x%" y="195" w="%console_width%" h="950" />
Dees_Troy16b74352012-11-14 22:27:31 +0000359 <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">
Dees_Troy2effe652012-11-19 17:06:03 +0000366 <placement x="%console_x%" y="400" w="%console_width%" h="800" />
Dees_Troy16b74352012-11-14 22:27:31 +0000367 <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%" />
Dees_Troy2effe652012-11-19 17:06:03 +0000375 <placement x="%console_x%" y="195" w="%console_width%" h="1335" />
Dees_Troy16b74352012-11-14 22:27:31 +0000376 <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">
Dees_Troy2effe652012-11-19 17:06:03 +0000383 <placement x="0" y="912" />
Dees_Troy16b74352012-11-14 22:27:31 +0000384 <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_Troy16b74352012-11-14 22:27:31 +0000387 <layout1>
Dees_Troy2effe652012-11-19 17:06:03 +0000388 <keysize height="172" width="212" />
389 <row1 key01="204:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="236:c:8" />
390 <row2 key01="286:layout3" key02="208:a" key03="208:s" key04="208:d" key05="208:f" key06="208:g" key07="208:h" key08="208:j" key09="208:k" key10="208:l" key11="402:action" />
391 <row3 key01="354:layout2" key02="206:z" key03="206:x" key04="206:c" key05="206:v" key06="206:b" key07="206:n" key08="206:m" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout2" />
392 <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="212:-" long05="212:_" />
Dees_Troy16b74352012-11-14 22:27:31 +0000393 </layout1>
394 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600395 <keysize height="172" width="212" capslock="0" revert_layout="1" />
Dees_Troy2effe652012-11-19 17:06:03 +0000396 <row1 key01="204:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="236:c:8" />
397 <row2 key01="286:layout3" key02="208:A" key03="208:S" key04="208:D" key05="208:F" key06="208:G" key07="208:H" key08="208:J" key09="208:K" key10="208:L" key11="402:action" />
398 <row3 key01="354:layout1" key02="206:Z" key03="206:X" key04="206:C" key05="206:V" key06="206:B" key07="206:N" key08="206:M" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout1" />
399 <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="-" long05="_" />
Dees_Troy16b74352012-11-14 22:27:31 +0000400 </layout2>
401 <layout3>
Dees_Troy2effe652012-11-19 17:06:03 +0000402 <keysize height="172" width="212" />
403 <row1 key01="204:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="236:c:8" />
404 <row2 key01="286:layout1" key02="208:#" key03="208:$" key04="208:%" key05="208:&" key06="208:*" key07="208:-" key08="208:+" key09="208:(" key10="208:)" key11="402:action" />
405 <row3 key01="354:layout4" key02="206:<" key03="206:>" key04="206:=" key05="206:'" key06="206:;" key07="206:," key08="206:." key09="206:!" key10="206:?" key11="352:layout4" />
406 <row4 key01="354:" key02="206:/" key03="206:@" key04="1030: " key05="206:c:34" key06="206:_" />
Dees_Troy16b74352012-11-14 22:27:31 +0000407 </layout3>
408 <layout4>
Dees_Troy2effe652012-11-19 17:06:03 +0000409 <keysize height="172" width="212" />
410 <row1 key01="204:" key02="~" key03="`" key04="|" key05="212:" key06="212:" key07="212:" key08="212:" key09="212:" key10="212:" key11="212:" key12="236:c:8" />
411 <row2 key01="286:layout1" key02="208:" key03="208:" key04="208:" key05="208:" key06="208:^" key07="208:" key08="208:" key09="208:{" key10="208:}" key11="402:action" />
412 <row3 key01="354:layout3" key02="206:\" key03="206:" key04="206:" key05="206:" key06="206:" key07="206:[" key08="206:]" key09="206:!" key10="206:?" key11="352:layout3" />
413 <row4 key01="766:" key02="1030: " />
Dees_Troy16b74352012-11-14 22:27:31 +0000414 </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_Troy16b74352012-11-14 22:27:31 +0000434 <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_Troy16b74352012-11-14 22:27:31 +0000446 <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_Troy16b74352012-11-14 22:27:31 +0000455 <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_Troy16b74352012-11-14 22:27:31 +0000464 <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_Troy16b74352012-11-14 22:27:31 +0000473 <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_Troy16b74352012-11-14 22:27:31 +0000482 <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_Troy16b74352012-11-14 22:27:31 +0000491 <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_Troy16b74352012-11-14 22:27:31 +0000500 <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_Troy16b74352012-11-14 22:27:31 +0000529 </object>
530
531 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600532 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +0000533 <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_Troy16b74352012-11-14 22:27:31 +0000536 <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_Troy16b74352012-11-14 22:27:31 +0000542 <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_Troy16b74352012-11-14 22:27:31 +0000549 <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_Troy16b74352012-11-14 22:27:31 +0000552 <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_Troy16b74352012-11-14 22:27:31 +0000558 <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_Troy16b74352012-11-14 22:27:31 +0000634 <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_Troy16b74352012-11-14 22:27:31 +0000642 <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_Troy16b74352012-11-14 22:27:31 +0000652 <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_Troy16b74352012-11-14 22:27:31 +0000736 <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_Troy16b74352012-11-14 22:27:31 +0000757 <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>
763 <action function="set">tw_back=main2</action>
764 <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>
769 <action function="set">tw_text3=</action>
770 <action function="set">tw_text4=</action>
771 <action function="set">tw_action_text1=Rebooting...</action>
772 <action function="set">tw_action_text2=</action>
773 <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_Troy16b74352012-11-14 22:27:31 +0000781 <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>
821 <action function="set">tw_has_cancel=0</action>
822 <action function="set">tw_cancel_action=</action>
823 <action function="set">tw_cancel_param=</action>
824 <action function="set">tw_show_exclamation=0</action>
825 <action function="set">tw_show_reboot=0</action>
826 <action function="page">%tw_clear_destination%</action>
827 </object>
828 </page>
829
830 <page name="confirm_action">
831 <object type="template" name="header" />
832
Dees_Troy16b74352012-11-14 22:27:31 +0000833 <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" />
859 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
860 <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
908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600909 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +0000910 <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
918 <object type="template" name="progress_bar" />
919
920 <object type="action">
921 <condition var1="tw_operation_state" var2="1" />
922 <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_Troy16b74352012-11-14 22:27:31 +0000985 <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_Troy16b74352012-11-14 22:27:31 +00001012 <condition var1="tw_show_reboot" var2="0" />
1013 <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
1023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001024 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00001025 <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
1047 <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_Troy16b74352012-11-14 22:27:31 +00001115 <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_Troy16b74352012-11-14 22:27:31 +00001136 <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_Troy16b74352012-11-14 22:27:31 +00001157 <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_Troy16b74352012-11-14 22:27:31 +00001178 <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_Troy16b74352012-11-14 22:27:31 +00001199 <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_Troy16b74352012-11-14 22:27:31 +00001275 <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_Troy16b74352012-11-14 22:27:31 +00001310 <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_Troy16b74352012-11-14 22:27:31 +00001313 <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_Troy16b74352012-11-14 22:27:31 +00001329 </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_Troy16b74352012-11-14 22:27:31 +00001361 <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%">
1397 <condition var1="tw_has_data_media" var2="0" />
1398 <font resource="font" />
1399 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1400 <text>.android_secure</text>
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <condition var1="tw_has_data_media" var2="1" />
1405 <font resource="font" />
1406 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1407 <text>(not including internal storage)</text>
1408 </object>
1409
1410 <object type="text" color="%text_color%">
1411 <condition var1="tw_has_sdext_partition" var2="1" />
1412 <font resource="font" />
1413 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1414 <text>SD-EXT</text>
1415 </object>
1416
1417 <object type="text" color="%text_color%">
1418 <font resource="font" />
1419 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1420 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy16b74352012-11-14 22:27:31 +00001421 </object>
1422
1423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001424 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001425 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00001426 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001427 <text>Advanced Wipe</text>
Dees_Troy16b74352012-11-14 22:27:31 +00001428 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001429 <action function="page">advancedwipe</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001430 </object>
1431
1432 <object type="button">
Dees_Troy16b74352012-11-14 22:27:31 +00001433 <conditions>
1434 <condition var1="tw_has_internal" var2="1" />
1435 <condition var1="tw_has_data_media" var2="1" />
1436 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001437 <highlight color="%highlight_color%" />
1438 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00001439 <font resource="font" color="%button_text_color%" />
1440 <text>Format Data</text>
1441 <image resource="main_button" />
1442 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001443 <action function="page">formatdata</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001444 </actions>
1445 </object>
1446
Dees_Troya13d74f2013-03-24 08:54:55 -05001447 <object type="text" color="%text_color%">
1448 <font resource="font" />
1449 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1450 <text>Press back button to cancel.</text>
1451 </object>
1452
1453 <object type="slider">
1454 <placement x="%slider_x%" y="%slider_y%" />
1455 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy16b74352012-11-14 22:27:31 +00001456 <actions>
1457 <action function="set">tw_back=wipe</action>
1458 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001459 <action function="set">tw_action_param=data</action>
1460 <action function="set">tw_action_text1=Factory Reset...</action>
1461 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1462 <action function="page">action_page</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001463 </actions>
1464 </object>
1465
Dees_Troya13d74f2013-03-24 08:54:55 -05001466 <object type="text" color="%text_color%">
1467 <font resource="font" />
1468 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1469 <text>Swipe to Factory Reset</text>
Dees_Troy16b74352012-11-14 22:27:31 +00001470 </object>
1471
1472 <object type="action">
1473 <touch key="home" />
1474 <action function="page">main</action>
1475 </object>
1476
1477 <object type="action">
1478 <touch key="back" />
1479 <action function="page">main</action>
1480 </object>
1481
1482 <object type="template" name="footer" />
1483 </page>
1484
Dees_Troya13d74f2013-03-24 08:54:55 -05001485 <page name="advancedwipe">
1486 <object type="template" name="header" />
1487
1488 <object type="partitionlist">
1489 <highlight color="%fileselector_highlight_color%" />
1490 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1491 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1492 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1493 <text>Select Partitions to Wipe:</text>
1494 <icon selected="checkbox_true" unselected="checkbox_false" />
1495 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1496 <background color="%listbox_background%" />
1497 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1498 <data name="tw_wipe_list" />
1499 <listtype name="wipe" />
1500 </object>
1501
1502 <object type="slider">
1503 <placement x="%slider_x%" y="%slider_y%" />
1504 <resource base="slider" used="slider-used" touch="slider-touch" />
1505 <actions>
1506 <action function="set">tw_back=advancedwipe</action>
1507 <action function="set">tw_action=wipe</action>
1508 <action function="set">tw_action_param=LIST</action>
1509 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1510 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1511 <action function="set">tw_complete_text1=Wipe Complete</action>
1512 <action function="page">action_page</action>
1513 </actions>
1514 </object>
1515
1516 <object type="text" color="%text_color%">
1517 <font resource="font" />
1518 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1519 <text>Swipe to Wipe</text>
1520 </object>
1521
1522 <object type="action">
1523 <touch key="home" />
1524 <action function="page">main</action>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="back" />
1529 <action function="page">wipe</action>
1530 </object>
1531
1532 <object type="template" name="footer" />
1533 </page>
1534
1535 <page name="formatdata">
1536 <object type="template" name="header" />
1537
1538 <object type="text" color="%text_color%">
1539 <font resource="font" />
1540 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1541 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1542 </object>
1543
1544 <object type="text" color="%text_color%">
1545 <font resource="font" />
1546 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1547 <text>videos, media, and removes encryption on internal storage.</text>
1548 </object>
1549
1550 <object type="text" color="%text_color%">
1551 <font resource="font" />
1552 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1553 <text>This cannot be undone. Press back to cancel.</text>
1554 </object>
1555
1556 <object type="text" color="%text_color%">
1557 <font resource="font" />
1558 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1559 <text>Type yes to continue.</text>
1560 </object>
1561
1562 <object type="input">
1563 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1564 <background color="%input_background_color%" />
1565 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1566 <font resource="font" color="%text_color%" />
1567 <text>%tw_confirm_formatdata%</text>
1568 <data name="tw_confirm_formatdata" />
1569 <restrict minlen="3" maxlen="3" allow="yes" />
1570 <action function="page">formatdata_confirm</action>
1571 </object>
1572
1573 <object type="template" name="keyboardtemplate" />
1574
1575 <object type="action">
1576 <touch key="home" />
1577 <action function="page">main</action>
1578 </object>
1579
1580 <object type="action">
1581 <touch key="back" />
1582 <action function="page">wipe</action>
1583 </object>
1584
1585 <object type="template" name="footer" />
1586 </page>
1587
1588 <page name="formatdata_confirm">
1589 <object type="action">
1590 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1591 <actions>
1592 <action function="set">tw_back=formatdata</action>
1593 <action function="set">tw_action=wipe</action>
1594 <action function="set">tw_action_param=DATAMEDIA</action>
1595 <action function="set">tw_action_text1=Formatting Data...</action>
1596 <action function="set">tw_complete_text1=Data Format Complete</action>
1597 <action function="page">action_page</action>
1598 </actions>
1599 </object>
1600
1601 <object type="action">
1602 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1603 <action function="page">formatdata</function>
1604 </object>
1605 </page>
1606
Dees_Troy16b74352012-11-14 22:27:31 +00001607 <page name="backup">
1608 <object type="template" name="header" />
1609
1610 <object type="text" color="%text_color%">
1611 <font resource="font" />
1612 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1613 <text>Back Up Device</text>
1614 </object>
1615
Dees_Troya13d74f2013-03-24 08:54:55 -05001616 <object type="partitionlist">
1617 <highlight color="%fileselector_highlight_color%" />
1618 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1619 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1620 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1621 <text>Select Partitions to Back Up:</text>
1622 <icon selected="checkbox_true" unselected="checkbox_false" />
1623 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1624 <background color="%listbox_background%" />
1625 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1626 <data name="tw_backup_list" />
1627 <listtype name="backup" />
Dees_Troy16b74352012-11-14 22:27:31 +00001628 </object>
1629
1630 <object type="text" color="%text_color%">
1631 <font resource="font" />
1632 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1633 <text>Backup Name: %tw_backup_name%</text>
1634 </object>
1635
Dees_Troya13d74f2013-03-24 08:54:55 -05001636 <object type="button">
1637 <highlight color="%highlight_color%" />
1638 <placement x="%col3_x%" y="%row1_y%" />
1639 <font resource="font" color="%button_text_color%" />
1640 <text>Refresh Sizes</text>
1641 <image resource="main_button" />
Matt Mowercd8169c2014-04-02 04:24:08 -05001642 <actions>
1643 <action function="refreshsizes"></action>
1644 <action function="page">backup</action>
1645 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001646 </object>
1647
1648 <object type="button">
1649 <highlight color="%highlight_color%" />
1650 <placement x="%col4_x%" y="%row1_y%" />
1651 <font resource="font" color="%button_text_color%" />
1652 <text>Set Backup Name</text>
1653 <image resource="main_button" />
1654 <actions>
1655 <action function="set">tw_fileexists=0</action>
1656 <action function="page">backupname1</action>
1657 </actions>
1658 </object>
1659
1660 <object type="button">
1661 <highlight color="%highlight_color%" />
1662 <fill color="%button_fill_color%" />
1663 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1664 <font resource="font" color="%button_text_color%" />
1665 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1666 <actions>
1667 <action function="set">tw_back=backup</action>
1668 <action function="page">selectstorage</action>
1669 </actions>
Dees_Troy16b74352012-11-14 22:27:31 +00001670 </object>
1671
Dees_Troy83bd4832013-05-04 12:39:56 +00001672 <object type="button">
1673 <conditions>
1674 <condition var1="tw_include_encrypted_backup" var2="1" />
1675 <condition var1="tw_encrypt_backup" var2="0" />
1676 </conditions>
1677 <highlight color="%highlight_color%" />
1678 <fill color="%button_fill_color%" />
1679 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1680 <font resource="font" color="%button_text_color%" />
1681 <text>No Encryption</text>
1682 <actions>
1683 <action function="page">backupencryption</action>
1684 </actions>
1685 </object>
1686
1687 <object type="button">
1688 <conditions>
1689 <condition var1="tw_include_encrypted_backup" var2="1" />
1690 <condition var1="tw_encrypt_backup" var2="1" />
1691 </conditions>
1692 <highlight color="%highlight_color%" />
1693 <fill color="%button_fill_color%" />
1694 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1695 <font resource="font" color="%button_text_color%" />
1696 <text>Using Encryption</text>
1697 <actions>
1698 <action function="page">backupencryption</action>
1699 </actions>
1700 </object>
1701
Dees_Troy16b74352012-11-14 22:27:31 +00001702 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001703 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy16b74352012-11-14 22:27:31 +00001704 <font resource="font" color="%text_color%" />
1705 <text>Enable Compression (Requires more time)</text>
1706 <data variable="tw_use_compression" />
1707 <image checked="checkbox_true" unchecked="checkbox_false" />
1708 </object>
1709
1710 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001711 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy16b74352012-11-14 22:27:31 +00001712 <font resource="font" color="%text_color%" />
1713 <text>Skip MD5 generation on backups</text>
1714 <data variable="tw_skip_md5_generate" />
1715 <image checked="checkbox_true" unchecked="checkbox_false" />
1716 </object>
1717
Dees_Troy16b74352012-11-14 22:27:31 +00001718 <object type="slider">
1719 <placement x="%slider_x%" y="%slider_y%" />
1720 <resource base="slider" used="slider-used" touch="slider-touch" />
1721 <actions>
1722 <action function="set">tw_operation_state=0</action>
1723 <action function="page">backup_run</action>
1724 </actions>
1725 </object>
1726
1727 <object type="text" color="%text_color%">
1728 <font resource="font" />
1729 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1730 <text>Swipe to Back Up</text>
1731 </object>
1732
Dees_Troy16b74352012-11-14 22:27:31 +00001733 <object type="action">
1734 <touch key="home" />
1735 <action function="page">main</action>
1736 </object>
1737
1738 <object type="action">
1739 <touch key="back" />
1740 <action function="page">main</action>
1741 </object>
1742
1743 <object type="template" name="footer" />
1744 </page>
1745
1746 <page name="backupname1">
1747 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001748 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1749 <action function="generatebackupname"></function>
Dees_Troy16b74352012-11-14 22:27:31 +00001750 </object>
1751
1752 <object type="action">
1753 <action function="page">backupname2</function>
1754 </object>
1755 </page>
1756
1757 <page name="backupname2">
1758 <object type="template" name="header" />
1759
1760 <object type="text" color="%text_color%">
1761 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1762 <font resource="font" />
1763 <text>Please Enter a Backup Name</text>
1764 </object>
1765
1766 <object type="input">
1767 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1768 <background color="%input_background_color%" />
1769 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1770 <font resource="font" color="%text_color%" />
1771 <text>%tw_backup_name%</text>
1772 <data name="tw_backup_name" />
1773 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1774 <actions>
1775 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1776 <action function="set">tw_existpage=backupname2</action>
1777 <action function="set">tw_notexistpage=backup</action>
1778 <action function="page">filecheck</action>
1779 </actions>
1780 </object>
1781
1782 <object type="text" color="%text_fail_color%">
1783 <condition var1="tw_fileexists" var2="1" />
1784 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1785 <font resource="font" />
1786 <text>A backup with that name already exists!</text>
1787 </object>
1788
1789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001790 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001791 <placement x="%col2_x%" y="%cancel_button_y%" />
1792 <font resource="font" color="%button_text_color%" />
1793 <text>Append Date</text>
1794 <image resource="main_button" />
1795 <action function="appenddatetobackupname"></action>
1796 </object>
1797
1798 <object type="button">
1799 <highlight color="%highlight_color%" />
1800 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00001801 <font resource="font" color="%button_text_color%" />
1802 <text>Cancel / Clear</text>
1803 <image resource="main_button" />
1804 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001805 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001806 <action function="page">backup</action>
1807 </actions>
1808 </object>
1809
1810 <object type="template" name="keyboardtemplate" />
1811
1812 <object type="action">
1813 <touch key="home" />
1814 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001815 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001816 <action function="page">main</action>
1817 </actions>
1818 </object>
1819
1820 <object type="action">
1821 <touch key="back" />
1822 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001823 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001824 <action function="page">backup</action>
1825 </actions>
1826 </object>
1827
1828 <object type="template" name="footer" />
1829 </page>
1830
Dees_Troy83bd4832013-05-04 12:39:56 +00001831 <page name="backupencryption">
1832 <object type="template" name="header" />
1833
1834 <object type="text" color="%text_color%">
1835 <font resource="font" />
1836 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1837 <text>Encrypt your backup? Please enter a password:</text>
1838 </object>
1839
1840 <object type="input">
1841 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1842 <background color="%input_background_color%" />
1843 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1844 <font resource="font" color="%text_color%" />
1845 <text>%tw_backup_encrypt_display%</text>
1846 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1847 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1848 <action function="page">backupencryption2</action>
1849 </object>
1850
1851 <object type="text" color="%text_fail_color%">
1852 <condition var1="tw_password_not_match" var2="1" />
1853 <font resource="font" />
1854 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1855 <text>Passwords Do Not Match</text>
1856 </object>
1857
1858 <object type="button">
1859 <highlight color="%highlight_color%" />
1860 <placement x="%col_center_x%" y="%cancel_button_y%" />
1861 <font resource="font" color="%button_text_color%" />
1862 <text>Cancel</text>
1863 <image resource="main_button" />
1864 <actions>
1865 <action function="set">tw_encrypt_backup=0</action>
1866 <action function="set">tw_backup_password=</action>
1867 <action function="set">tw_backup_password2=</action>
1868 <action function="set">tw_backup_encrypt_display=</action>
1869 <action function="set">tw_backup_encrypt_display2=</action>
1870 <action function="page">backup</action>
1871 </actions>
1872 </object>
1873
1874 <object type="template" name="keyboardtemplate" />
1875
1876 <object type="action">
1877 <touch key="home" />
1878 <action function="page">main</action>
1879 </object>
1880
1881 <object type="action">
1882 <touch key="back" />
1883 <action function="page">backup</action>
1884 </object>
1885
1886 <object type="template" name="footer" />
1887 </page>
1888
1889 <page name="backupencryption2">
1890 <object type="template" name="header" />
1891
1892 <object type="text" color="%text_color%">
1893 <font resource="font" />
1894 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1895 <text>Encrypt your backup? Please Enter Password Again:</text>
1896 </object>
1897
1898 <object type="input">
1899 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1900 <background color="%input_background_color%" />
1901 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1902 <font resource="font" color="%text_color%" />
1903 <text>%tw_backup_encrypt_display2%</text>
1904 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1905 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1906 <actions>
1907 <action function="page">checkbackuppassword</action>
1908 </actions>
1909 </object>
1910
1911 <object type="button">
1912 <highlight color="%highlight_color%" />
1913 <placement x="%col_center_x%" y="%cancel_button_y%" />
1914 <font resource="font" color="%button_text_color%" />
1915 <text>Cancel</text>
1916 <image resource="main_button" />
1917 <actions>
1918 <action function="set">tw_encrypt_backup=0</action>
1919 <action function="set">tw_backup_password=</action>
1920 <action function="set">tw_backup_password2=</action>
1921 <action function="set">tw_backup_encrypt_display=</action>
1922 <action function="set">tw_backup_encrypt_display2=</action>
1923 <action function="page">backup</action>
1924 </actions>
1925 </object>
1926
1927 <object type="template" name="keyboardtemplate" />
1928
1929 <object type="action">
1930 <touch key="home" />
1931 <action function="page">main</action>
1932 </object>
1933
1934 <object type="action">
1935 <touch key="back" />
1936 <action function="page">backup</action>
1937 </object>
1938
1939 <object type="template" name="footer" />
1940 </page>
1941
1942 <page name="checkbackuppassword">
1943 <object type="action">
1944 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1945 <actions>
1946 <action function="set">tw_encrypt_backup=1</action>
1947 <action function="page">backup</action>
1948 </actions>
1949 </object>
1950
1951 <object type="action">
1952 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1953 <actions>
1954 <action function="set">tw_encrypt_backup=0</action>
1955 <action function="set">tw_password_not_match=1</action>
1956 <action function="set">tw_backup_password=</action>
1957 <action function="set">tw_backup_password2=</action>
1958 <action function="set">tw_backup_encrypt_display=</action>
1959 <action function="set">tw_backup_encrypt_display2=</action>
1960 <action function="page">backupencryption</action>
1961 </actions>
1962 </object>
1963 </page>
1964
Dees_Troy16b74352012-11-14 22:27:31 +00001965 <page name="backup_run">
1966 <object type="template" name="header" />
1967
1968 <object type="text" color="%text_color%">
1969 <font resource="font" />
1970 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1971 <text>%tw_operation% %tw_partition%</text>
1972 </object>
1973
1974 <object type="template" name="action_page_console" />
1975
1976 <object type="template" name="progress_bar" />
1977
1978 <object type="action">
1979 <action function="nandroid">backup</action>
1980 </object>
1981
1982 <object type="action">
1983 <condition var1="tw_operation_state" var2="1" />
1984 <actions>
1985 <action function="set">tw_back=backup</action>
1986 <action function="set">tw_complete_text1=Backup Complete</action>
1987 <action function="set">tw_show_reboot=1</action>
1988 <action function="page">action_complete</action>
1989 </actions>
1990 </object>
1991
1992 <object type="template" name="footer" />
1993 </page>
1994
1995 <page name="restore">
1996 <object type="template" name="header" />
1997
1998 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001999 <highlight color="%highlight_color%" />
2000 <fill color="%button_fill_color%" />
2001 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2002 <font resource="font" color="%button_text_color%" />
2003 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2004 <actions>
2005 <action function="set">tw_back=restore</action>
2006 <action function="page">selectstorage</action>
2007 </actions>
Dees_Troy16b74352012-11-14 22:27:31 +00002008 </object>
2009
2010 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002011 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002012 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2013 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002014 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002015 <text>Select Package to Restore:</text>
2016 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2017 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002018 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002019 <icon folder="folder_icon" file="file_icon" />
2020 <background color="%fileselector_background%" />
2021 <filter folders="1" files="0" nav="0" />
2022 <path name="tw_backups_folder" />
2023 <data name="tw_restore" default="" />
2024 <selection name="tw_restore_name" />
2025 </object>
2026
2027 <object type="template" name="sort_options" />
2028
2029 <object type="action">
2030 <condition var1="tw_restore" op="modified" />
2031 <actions>
2032 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002033 <action function="page">restore_read</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002034 </actions>
2035 </object>
2036
2037 <object type="action">
2038 <touch key="home" />
2039 <action function="page">main</action>
2040 </object>
2041
2042 <object type="action">
2043 <touch key="back" />
2044 <action function="page">main</action>
2045 </object>
2046
2047 <object type="template" name="footer" />
2048 </page>
2049
Dees_Troy83bd4832013-05-04 12:39:56 +00002050 <page name="restore_read">
2051 <object type="action">
2052 <condition var1="tw_restore_encrypted" var2="1" />
2053 <actions>
2054 <action function="set">tw_password_fail=0</action>
2055 <action function="page">restore_decrypt</action>
2056 </actions>
2057 </object>
2058
2059 <object type="action">
2060 <condition var1="tw_restore_encrypted" var2="0" />
2061 <actions>
2062 <action function="page">restore_select</action>
2063 </actions>
2064 </object>
2065 </page>
2066
2067 <page name="restore_decrypt">
2068 <object type="template" name="header" />
2069
2070 <object type="text" color="%text_color%">
2071 <font resource="font" />
2072 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2073 <text>Backup encrypted. Please enter your password:</text>
2074 </object>
2075
2076 <object type="input">
2077 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2078 <background color="%input_background_color%" />
2079 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2080 <font resource="font" color="%text_color%" />
2081 <text>%tw_restore_display%</text>
2082 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2083 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2084 <actions>
2085 <action function="page">try_restore_decrypt</action>
2086 </actions>
2087 </object>
2088
2089 <object type="text" color="%text_fail_color%">
2090 <condition var1="tw_password_fail" var2="1" />
2091 <font resource="font" />
2092 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2093 <text>Password Failed, Please Try Again</text>
2094 </object>
2095
2096 <object type="button">
2097 <highlight color="%highlight_color%" />
2098 <placement x="%col2_x%" y="%cancel_button_y%" />
2099 <font resource="font" color="%button_text_color%" />
2100 <text>Cancel</text>
2101 <image resource="main_button" />
2102 <actions>
2103 <action function="set">tw_page_done=1</action>
2104 <action function="page">restore</action>
2105 </actions>
2106 </object>
2107
2108 <object type="button">
2109 <highlight color="%highlight_color%" />
2110 <placement x="%col3_x%" y="%cancel_button_y%" />
2111 <font resource="font" color="%button_text_color%" />
2112 <text>Delete</text>
2113 <image resource="main_button" />
2114 <actions>
2115 <action function="set">tw_back=restore</action>
2116 <action function="set">tw_action=cmd</action>
2117 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2118 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2119 <action function="set">tw_text2=This cannot be undone!</action>
2120 <action function="set">tw_action_text1=Deleting Backup...</action>
2121 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2122 <action function="set">tw_slider_text=Swipe to Delete</action>
2123 <action function="page">confirm_action</action>
2124 </actions>
2125 </object>
2126
2127 <object type="template" name="keyboardtemplate" />
2128
2129 <object type="action">
2130 <touch key="home" />
2131 <action function="page">main</action>
2132 </object>
2133
2134 <object type="action">
2135 <touch key="back" />
2136 <action function="page">restore</action>
2137 </object>
2138
2139 <object type="template" name="footer" />
2140 </page>
2141
2142 <page name="try_restore_decrypt">
2143 <object type="template" name="header" />
2144
2145 <object type="text" color="%text_color%">
2146 <font resource="font" />
2147 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2148 <text>Trying Decryption with Your Password</text>
2149 </object>
2150
2151 <object type="template" name="action_page_console" />
2152
2153 <object type="template" name="progress_bar" />
2154
2155 <object type="action">
2156 <action function="decrypt_backup"></action>
2157 </object>
2158
2159 <object type="action">
2160 <conditions>
2161 <condition var1="tw_operation_state" var2="1" />
2162 <condition var1="tw_operation_status" op="!=" var2="0" />
2163 </conditions>
2164 <actions>
2165 <action function="set">tw_password_fail=1</action>
2166 <action function="page">restore_decrypt</action>
2167 </actions>
2168 </object>
2169
2170 <object type="action">
2171 <conditions>
2172 <condition var1="tw_operation_state" var2="1" />
2173 <condition var1="tw_operation_status" op="=" var2="0" />
2174 </conditions>
2175 <actions>
2176 <action function="set">tw_page_done=1</action>
2177 <action function="page">restore_select</action>
2178 </actions>
2179 </object>
2180 </page>
2181
Dees_Troy16b74352012-11-14 22:27:31 +00002182 <page name="restore_select">
2183 <object type="template" name="header" />
2184
2185 <object type="text" color="%text_color%">
2186 <font resource="font" />
2187 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2188 <text>Package to Restore: %tw_restore_name%</text>
2189 </object>
2190
2191 <object type="text" color="%text_color%">
2192 <font resource="font" />
2193 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2194 <text>Package Date: %tw_restore_file_date%</text>
2195 </object>
2196
Dees_Troya13d74f2013-03-24 08:54:55 -05002197 <object type="partitionlist">
2198 <highlight color="%fileselector_highlight_color%" />
2199 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2200 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2201 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2202 <text>Select Partitions to Restore:</text>
2203 <icon selected="checkbox_true" unselected="checkbox_false" />
2204 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2205 <background color="%listbox_background%" />
2206 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2207 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2208 <listtype name="restore" />
Dees_Troy16b74352012-11-14 22:27:31 +00002209 </object>
2210
2211 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002212 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002213 <font resource="font" color="%text_color%" />
2214 <text>Enable MD5 checking of backup files</text>
2215 <data variable="tw_skip_md5_check" />
2216 <image checked="checkbox_true" unchecked="checkbox_false" />
2217 </object>
2218
2219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002220 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002221 <placement x="%col4_x%" y="%row1_y%" />
2222 <font resource="font" color="%button_text_color%" />
2223 <text>Rename Backup</text>
2224 <image resource="main_button" />
2225 <actions>
2226 <action function="set">tw_backup_rename=</action>
2227 <action function="set">tw_fileexists=0</action>
2228 <action function="page">renamebackup</action>
2229 </actions>
2230 </object>
2231
2232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002233 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002234 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002235 <font resource="font" color="%button_text_color%" />
2236 <text>Delete Backup</text>
2237 <image resource="main_button" />
2238 <actions>
2239 <action function="set">tw_back=restore</action>
2240 <action function="set">tw_action=cmd</action>
2241 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2242 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2243 <action function="set">tw_text2=This cannot be undone!</action>
2244 <action function="set">tw_action_text1=Deleting Backup...</action>
2245 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2246 <action function="set">tw_slider_text=Swipe to Delete</action>
2247 <action function="page">confirm_action</action>
2248 </actions>
2249 </object>
2250
2251 <object type="slider">
2252 <placement x="%slider_x%" y="%slider_y%" />
2253 <resource base="slider" used="slider-used" touch="slider-touch" />
2254 <action function="page">restore_run</action>
2255 </object>
2256
2257 <object type="text" color="%text_color%">
2258 <font resource="font" />
2259 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2260 <text>Swipe to Restore</text>
2261 </object>
2262
2263 <object type="action">
2264 <touch key="home" />
2265 <action function="page">main</action>
2266 </object>
2267
2268 <object type="action">
2269 <touch key="back" />
2270 <action function="page">restore</action>
2271 </object>
2272
2273 <object type="template" name="footer" />
2274 </page>
2275
2276 <page name="renamebackup">
2277 <object type="template" name="header" />
2278
2279 <object type="text" color="%text_color%">
2280 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2281 <font resource="font" />
2282 <text>Please Enter a New Backup Name</text>
2283 </object>
2284
2285 <object type="input">
2286 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2287 <background color="%input_background_color%" />
2288 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2289 <font resource="font" color="%text_color%" />
2290 <text>%tw_backup_rename%</text>
2291 <data name="tw_backup_rename" />
2292 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2293 <actions>
2294 <action function="set">tw_back=restore</action>
2295 <action function="set">tw_action=cmd</action>
Dees_Troy2effe652012-11-19 17:06:03 +00002296 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002297 <action function="set">tw_text1=Rename Backup?</action>
2298 <action function="set">tw_text2=This cannot be undone!</action>
2299 <action function="set">tw_action_text1=Renaming Backup...</action>
2300 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2301 <action function="set">tw_slider_text=Swipe to Rename</action>
2302 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2303 <action function="set">tw_existpage=renamebackup</action>
2304 <action function="set">tw_notexistpage=confirm_action</action>
2305 <action function="page">filecheck</action>
2306 </actions>
2307 </object>
2308
2309 <object type="text" color="%text_fail_color%">
2310 <condition var1="tw_fileexists" var2="1" />
2311 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2312 <font resource="font" />
2313 <text>A backup with that name already exists!</text>
2314 </object>
2315
2316 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002317 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002318 <placement x="%col_center_x%" y="%cancel_button_y%" />
2319 <font resource="font" color="%button_text_color%" />
2320 <text>Cancel</text>
2321 <image resource="main_button" />
2322 <action function="page">restore_select</action>
2323 </object>
2324
2325 <object type="template" name="keyboardtemplate" />
2326
2327 <object type="action">
2328 <touch key="home" />
2329 <action function="page">main</action>
2330 </object>
2331
2332 <object type="action">
2333 <touch key="back" />
2334 <action function="page">restore_select</action>
2335 </object>
2336
2337 <object type="template" name="footer" />
2338 </page>
2339
2340 <page name="restore_run">
2341 <object type="template" name="header" />
2342
2343 <object type="text" color="%text_color%">
2344 <font resource="font" />
2345 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2346 <text>%tw_operation% %tw_partition%</text>
2347 </object>
2348
2349 <object type="template" name="action_page_console" />
2350
2351 <object type="template" name="progress_bar" />
2352
2353 <object type="action">
2354 <condition var1="tw_operation_state" var2="1" />
2355 <actions>
2356 <action function="set">tw_back=restore_select</action>
2357 <action function="set">tw_complete_text1=Restore Complete</action>
2358 <action function="set">tw_show_reboot=1</action>
2359 <action function="page">action_complete</action>
2360 </actions>
2361 </object>
2362
2363 <object type="action">
2364 <action function="nandroid">restore</action>
2365 </object>
2366 </page>
2367
2368 <page name="settings">
2369 <object type="template" name="header" />
2370
2371 <object type="text" color="%text_color%">
2372 <font resource="font" />
2373 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2374 <text>Settings</text>
2375 </object>
2376
2377 <object type="checkbox">
2378 <placement x="%col1_x%" y="%row2_text_y%" />
2379 <font resource="font" color="%text_color%" />
2380 <text>Zip file signature verification?</text>
2381 <data variable="tw_signed_zip_verify" />
2382 <image checked="checkbox_true" unchecked="checkbox_false" />
2383 </object>
2384
2385 <object type="checkbox">
2386 <placement x="%col1_x%" y="%row3_text_y%" />
2387 <font resource="font" color="%text_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002388 <text>Use rm -rf instead of formatting?</text>
2389 <data variable="tw_rm_rf" />
2390 <image checked="checkbox_true" unchecked="checkbox_false" />
2391 </object>
2392
2393 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002394 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002395 <font resource="font" color="%text_color%" />
2396 <text>Skip MD5 generation on backups</text>
2397 <data variable="tw_skip_md5_generate" />
2398 <image checked="checkbox_true" unchecked="checkbox_false" />
2399 </object>
2400
2401 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002402 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002403 <font resource="font" color="%text_color%" />
2404 <text>Enable MD5 checking of backup files</text>
2405 <data variable="tw_skip_md5_check" />
2406 <image checked="checkbox_true" unchecked="checkbox_false" />
2407 </object>
2408
2409 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002410 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002411 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002412 <text>Use Military Time</text>
2413 <data variable="tw_military_time" />
Dees_Troy16b74352012-11-14 22:27:31 +00002414 <image checked="checkbox_true" unchecked="checkbox_false" />
2415 </object>
2416
2417 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002418 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002419 <font resource="font" color="%text_color%" />
2420 <text>Simulate most actions for theme testing</text>
2421 <data variable="tw_simulate_actions" />
2422 <image checked="checkbox_true" unchecked="checkbox_false" />
2423 </object>
2424
2425 <object type="checkbox">
2426 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002427 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002428 <font resource="font" color="%text_color%" />
2429 <text>Simulate failure for actions</text>
2430 <data variable="tw_simulate_fail" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002435 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002436 <placement x="%col1_x%" y="%row2_y%" />
2437 <font resource="font" color="%button_text_color%" />
2438 <text>Time Zone</text>
2439 <image resource="main_button" />
2440 <action function="page">timezone</action>
2441 </object>
2442
2443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002444 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002445 <placement x="%col2_x%" y="%row2_y%" />
2446 <font resource="font" color="%button_text_color%" />
2447 <text>Restore Defaults</text>
2448 <image resource="main_button" />
2449 <action function="restoredefaultsettings"></action>
2450 </object>
2451
2452 <object type="button">
2453 <highlight color="%highlight_color%" />
2454 <placement x="%col3_x%" y="%row2_y%" />
2455 <font resource="font" color="%button_text_color%" />
2456 <text>Vibration Duration</text>
2457 <image resource="main_button" />
2458 <action function="page">Vibrate</action>
2459 </object>
2460
2461 <object type="button">
2462 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002463 <placement x="%col4_x%" y="%row2_y%" />
2464 <font resource="font" color="%button_text_color%" />
2465 <text>Screen</text>
2466 <image resource="main_button" />
2467 <action function="page">screen</action>
2468 </object>
2469
Dees_Troy16b74352012-11-14 22:27:31 +00002470 <object type="action">
2471 <touch key="home" />
2472 <action function="page">main</action>
2473 </object>
2474
2475 <object type="action">
2476 <touch key="back" />
2477 <action function="page">main</action>
2478 </object>
2479
2480 <object type="template" name="footer" />
2481 </page>
2482
2483 <page name="timezone">
2484 <object type="template" name="header" />
2485
2486 <object type="text" color="%text_color%">
2487 <font resource="font" />
2488 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2489 <text>Select Time Zone</text>
2490 </object>
2491
2492 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002493 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002494 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002495 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002496 <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 -06002497 <text>Select Time Zone:</text>
Dees_Troy16b74352012-11-14 22:27:31 +00002498 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002499 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002500 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002501 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002502 <data name="tw_time_zone_guisel" />
2503 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2504 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2505 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2506 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2507 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2508 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2509 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2510 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2511 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2512 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2513 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2514 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2515 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2516 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2517 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2518 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2519 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2520 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2521 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2522 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2523 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2524 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2525 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2526 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2527 </object>
2528
2529 <object type="checkbox">
2530 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2531 <font resource="font" color="%text_color%" />
2532 <text>Do you use daylight savings time (DST)?</text>
2533 <data variable="tw_time_zone_guidst" />
2534 <image checked="checkbox_true" unchecked="checkbox_false" />
2535 </object>
2536
2537 <object type="text" color="%text_color%">
2538 <font resource="font" />
2539 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2540 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2541 </object>
2542
2543 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002544 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002545 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2546 <font resource="font" color="%button_text_color%" />
2547 <text>0</text>
2548 <image resource="medium_button" />
2549 <action function="set">tw_time_zone_guioffset=0</action>
2550 </object>
2551
2552 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002553 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002554 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2555 <font resource="font" color="%button_text_color%" />
2556 <text>15</text>
2557 <image resource="medium_button" />
2558 <action function="set">tw_time_zone_guioffset=15</action>
2559 </object>
2560
2561 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002562 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002563 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2564 <font resource="font" color="%button_text_color%" />
2565 <text>30</text>
2566 <image resource="medium_button" />
2567 <action function="set">tw_time_zone_guioffset=30</action>
2568 </object>
2569
2570 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002571 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002572 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2573 <font resource="font" color="%button_text_color%" />
2574 <text>45</text>
2575 <image resource="medium_button" />
2576 <action function="set">tw_time_zone_guioffset=45</action>
2577 </object>
2578
2579 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002580 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002581 <placement x="%col4_x%" y="%row2_y%" />
2582 <font resource="font" color="%button_text_color%" />
2583 <text>Set Time Zone</text>
2584 <image resource="main_button" />
2585 <action function="setguitimezone"></action>
2586 </object>
2587
2588 <object type="text" color="%text_color%">
2589 <font resource="font" />
2590 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2591 <text>Current Time Zone: %tw_time_zone%</text>
2592 </object>
2593
2594 <object type="action">
2595 <touch key="home" />
2596 <action function="page">main</action>
2597 </object>
2598
2599 <object type="action">
2600 <touch key="back" />
2601 <action function="page">settings</action>
2602 </object>
2603
2604 <object type="template" name="footer" />
2605 </page>
2606
Dees_Troy2f9117a2013-02-17 19:52:09 -06002607 <page name="screen">
2608 <object type="template" name="header" />
2609
2610 <object type="text" color="%text_color%">
2611 <font resource="font" />
2612 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2613 <text>Screen Settings</text>
2614 </object>
2615
Dees_Troy2f9117a2013-02-17 19:52:09 -06002616 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00002617 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2618 <font resource="font" color="%text_color%" />
2619 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002620 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Dees_Troy83bd4832013-05-04 12:39:56 +00002621 <text>Enable screen timeout.</text>
2622 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002623 <action function="set">tw_screen_timeout_secs=60</action>
2624 </object>
2625
2626 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00002627 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2628 <font resource="font" color="%text_color%" />
2629 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002630 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Dees_Troy83bd4832013-05-04 12:39:56 +00002631 <text>Enable screen timeout.</text>
2632 <image resource="checkbox_true" />
2633 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002634 </object>
2635
Dees_Troy83bd4832013-05-04 12:39:56 +00002636 <object type="slidervalue">
2637 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002638 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Dees_Troy83bd4832013-05-04 12:39:56 +00002639 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2640 <font resource="font" color="%text_color%" />
2641 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2642 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2643 <text>Screen timeout in seconds:</text>
2644 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002645 </object>
2646
Dees_Troy83bd4832013-05-04 12:39:56 +00002647 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002648 <condition var1="tw_has_brightnesss_file" var2="1" />
Dees_Troy83bd4832013-05-04 12:39:56 +00002649 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2650 <font resource="font" color="%text_color%" />
2651 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2652 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2653 <text>Brightness: %tw_brightness_pct%%</text>
2654 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002655 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00002656 <action function="set">tw_brightness=%tw_brightness_max%</action>
2657 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2658 <action function="compute">tw_brightness/100</action>
2659 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002660 </actions>
2661 </object>
2662
2663 <object type="action">
2664 <touch key="home" />
2665 <action function="page">main</action>
2666 </object>
2667
2668 <object type="action">
2669 <touch key="back" />
2670 <action function="page">settings</action>
2671 </object>
2672
2673 <object type="template" name="footer" />
2674 </page>
2675
Ethan Yonker03db3262014-02-05 08:02:06 -06002676 <page name="Vibrate">
2677 <object type="template" name="header" />
2678
2679 <object type="text" color="%text_color%">
2680 <font resource="font" />
2681 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2682 <text>Vibration Settings :</text>
2683 </object>
2684
2685 <object type="slidervalue">
2686 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2687 <font resource="font" color="%text_color%" />
2688 <text>Button Vibration:</text>
2689 <data variable="tw_button_vibrate" min="0" max="300" />
2690 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2691 </object>
2692
2693 <object type="slidervalue">
2694 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2695 <font resource="font" color="%text_color%" />
2696 <text>Keyboard Vibration:</text>
2697 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2698 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2699 </object>
2700
2701 <object type="slidervalue">
2702 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2703 <font resource="font" color="%text_color%" />
2704 <text>Action Vibration:</text>
2705 <data variable="tw_action_vibrate" min="0" max="500" />
2706 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2707 </object>
2708
2709 <object type="action">
2710 <touch key="home" />
2711 <action function="page">main</action>
2712 </object>
2713
2714 <object type="action">
2715 <touch key="back" />
2716 <action function="page">settings</action>
2717 </object>
2718
2719 <object type="template" name="footer" />
2720 </page>
2721
Dees_Troy16b74352012-11-14 22:27:31 +00002722 <page name="advanced">
2723 <object type="template" name="header" />
2724
2725 <object type="text" color="%text_color%">
2726 <font resource="font" />
2727 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2728 <text>Advanced</text>
2729 </object>
2730
2731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002732 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002733 <placement x="%col1_x%" y="%row1_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text>Copy Log to SD</text>
2736 <image resource="main_button" />
2737 <actions>
2738 <action function="set">tw_back=advanced</action>
2739 <action function="set">tw_action=copylog</action>
2740 <action function="set">tw_text1=Copy Log to SD Card?</action>
2741 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2742 <action function="set">tw_complete_text1=Log Copy Complete</action>
2743 <action function="set">tw_slider_text=Swipe to Confirm</action>
2744 <action function="page">confirm_action</action>
2745 </actions>
2746 </object>
2747
2748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002749 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002750 <placement x="%col2_x%" y="%row1_y%" />
2751 <font resource="font" color="%button_text_color%" />
2752 <text>Fix Permissions</text>
2753 <image resource="main_button" />
2754 <actions>
2755 <action function="set">tw_back=advanced</action>
2756 <action function="set">tw_action=fixpermissions</action>
2757 <action function="set">tw_text1=Fix Permissions?</action>
2758 <action function="set">tw_action_text1=Fixing Permissions...</action>
2759 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2760 <action function="set">tw_slider_text=Swipe to Confirm</action>
2761 <action function="set">tw_show_reboot=1</action>
2762 <action function="page">confirm_action</action>
2763 </actions>
2764 </object>
2765
2766 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002767 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002768 <placement x="%col3_x%" y="%row1_y%" />
2769 <font resource="font" color="%button_text_color%" />
2770 <text>Terminal Command</text>
2771 <image resource="main_button" />
2772 <action function="page">terminalfolder</action>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002777 <placement x="%col4_x%" y="%row1_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>ADB Sideload</text>
2780 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002781 <action function="page">sideload</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002786 <condition var1="tw_allow_partition_sdcard" var2="1" />
2787 <placement x="%col1_x%" y="%row2_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>Partition SD Card</text>
2790 <image resource="main_button" />
2791 <action function="page">partsdcard</action>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002796 <placement x="%col2_x%" y="%row2_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text>File Manager</text>
2799 <image resource="main_button" />
2800 <action function="page">filemanagerlist</action>
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002805 <placement x="%col3_x%" y="%row2_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Reload Theme</text>
2808 <image resource="main_button" />
2809 <action function="reload"></action>
2810 </object>
2811
2812 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002813 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002814 <condition var1="tw_show_dumlock" var2="1" />
2815 <placement x="%col4_x%" y="%row2_y%" />
2816 <font resource="font" color="%button_text_color%" />
2817 <text>HTC Dumlock</text>
2818 <image resource="main_button" />
2819 <action function="page">htcdumlock</action>
2820 </object>
2821
2822 <object type="action">
2823 <touch key="home" />
2824 <action function="page">main</action>
2825 </object>
2826
2827 <object type="action">
2828 <touch key="back" />
2829 <action function="page">main</action>
2830 </object>
2831
2832 <object type="template" name="footer" />
2833 </page>
2834
2835 <page name="partsdcard">
2836 <object type="template" name="header" />
2837
2838 <object type="text" color="%text_color%">
2839 <font resource="font" />
2840 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2841 <text>Partition SD Card</text>
2842 </object>
2843
2844 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002845 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002846 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2847 <font resource="font" color="%button_text_color%" />
2848 <text></text>
2849 <image resource="minus_button" />
2850 <action function="addsubtract">tw_sdext_size-128</action>
2851 </object>
2852
2853 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002854 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002855 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2856 <font resource="font" color="%button_text_color%" />
2857 <text></text>
2858 <image resource="plus_button" />
2859 <action function="addsubtract">tw_sdext_size+128</action>
2860 </object>
2861
2862 <object type="text" color="%text_color%">
2863 <font resource="font" />
2864 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2865 <text>EXT Size: %tw_sdext_size%</text>
2866 </object>
2867
2868 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002869 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002870 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2871 <font resource="font" color="%button_text_color%" />
2872 <text></text>
2873 <image resource="minus_button" />
2874 <action function="addsubtract">tw_swap_size-32</action>
2875 </object>
2876
2877 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002878 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002879 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2880 <font resource="font" color="%button_text_color%" />
2881 <text></text>
2882 <image resource="plus_button" />
2883 <action function="addsubtract">tw_swap_size+32</action>
2884 </object>
2885
2886 <object type="text" color="%text_color%">
2887 <font resource="font" />
2888 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2889 <text>Swap Size: %tw_swap_size%</text>
2890 </object>
2891
2892 <object type="text" color="%text_color%">
2893 <font resource="font" />
2894 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2895 <text>File system: %tw_sdpart_file_system%</text>
2896 </object>
2897
2898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002899 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002900 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2901 <font resource="font" color="%button_text_color%" />
2902 <text>EXT3</text>
2903 <image resource="medium_button" />
2904 <action function="set">tw_sdpart_file_system=ext3</action>
2905 </object>
2906
2907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002908 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002909 <condition var1="tw_sdext_disable_ext4" var2="0" />
2910 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2911 <font resource="font" color="%button_text_color%" />
2912 <text>EXT4</text>
2913 <image resource="medium_button" />
2914 <action function="set">tw_sdpart_file_system=ext4</action>
2915 </object>
2916
2917 <object type="text" color="%text_color%">
2918 <font resource="font" />
2919 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2920 <text>You will lose all files on your SD card!</text>
2921 </object>
2922
2923 <object type="text" color="%text_color%">
2924 <font resource="font" />
2925 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2926 <text>This action cannot be undone!</text>
2927 </object>
2928
2929 <object type="slider">
2930 <placement x="%slider_x%" y="%slider_y%" />
2931 <resource base="slider" used="slider-used" touch="slider-touch" />
2932 <actions>
2933 <action function="set">tw_back=partsdcard</action>
2934 <action function="set">tw_action=partitionsd</action>
2935 <action function="set">tw_has_action2=1</action>
2936 <action function="set">tw_action2=set</action>
2937 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2938 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2939 <action function="set">tw_action_text2=This will take a few minutes.</action>
2940 <action function="set">tw_complete_text1=Partitioning Complete</action>
2941 <action function="page">action_page</action>
2942 </actions>
2943 </object>
2944
2945 <object type="text" color="%text_color%">
2946 <font resource="font" />
2947 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2948 <text>Swipe to Confirm Partition</text>
2949 </object>
2950
2951 <object type="action">
2952 <touch key="home" />
2953 <action function="page">main</action>
2954 </object>
2955
2956 <object type="action">
2957 <touch key="back" />
2958 <action function="page">advanced</action>
2959 </object>
2960
2961 <object type="template" name="footer" />
2962 </page>
2963
2964
2965 <page name="htcdumlock">
2966 <object type="template" name="header" />
2967
2968 <object type="text" color="%text_color%">
2969 <font resource="font" />
2970 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2971 <text>HTC Dumlock</text>
2972 </object>
2973
2974 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002975 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002976 <condition var1="tw_show_dumlock" var2="1" />
2977 <placement x="%col1_x%" y="%row1_y%" />
2978 <font resource="font" color="%button_text_color%" />
2979 <text>Restore Original Boot</text>
2980 <image resource="main_button" />
2981 <actions>
2982 <action function="set">tw_back=htcdumlock</action>
2983 <action function="set">tw_action=htcdumlockrestoreboot</action>
2984 <action function="set">tw_text1=Restore original boot image?</action>
2985 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2986 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2987 <action function="set">tw_slider_text=Swipe to Confirm</action>
2988 <action function="page">confirm_action</action>
2989 </actions>
2990 </object>
2991
2992 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002993 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00002994 <condition var1="tw_show_dumlock" var2="1" />
2995 <placement x="%col2_x%" y="%row1_y%" />
2996 <font resource="font" color="%button_text_color%" />
2997 <text>Reflash Recovery->Boot</text>
2998 <image resource="main_button" />
2999 <actions>
3000 <action function="set">tw_back=htcdumlock</action>
3001 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3002 <action function="set">tw_text1=Reflash recovery to boot?</action>
3003 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3004 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3005 <action function="set">tw_slider_text=Swipe to Confirm</action>
3006 <action function="page">confirm_action</action>
3007 </actions>
3008 </object>
3009
3010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003011 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003012 <condition var1="tw_show_dumlock" var2="1" />
3013 <placement x="%col1_x%" y="%row2_y%" />
3014 <font resource="font" color="%button_text_color%" />
3015 <text>Install HTC Dumlock</text>
3016 <image resource="main_button" />
3017 <actions>
3018 <action function="set">tw_back=htcdumlock</action>
3019 <action function="set">tw_action=installhtcdumlock</action>
3020 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3021 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3022 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3023 <action function="set">tw_slider_text=Swipe to Confirm</action>
3024 <action function="page">confirm_action</action>
3025 </actions>
3026 </object>
3027
3028 <object type="action">
3029 <touch key="home" />
3030 <action function="page">main</action>
3031 </object>
3032
3033 <object type="action">
3034 <touch key="back" />
3035 <action function="page">advanced</action>
3036 </object>
3037
3038 <object type="template" name="footer" />
3039 </page>
3040
3041 <page name="lock">
3042 <background color="#000000A0" />
3043
3044 <object type="image">
3045 <image resource="unlock-icon" />
3046 <placement x="%lock_x%" y="%lock_y%" />
3047 </object>
3048
3049 <object type="slider">
3050 <placement x="%slider_x%" y="%slider_y%" />
3051 <resource base="slider" used="slider-used" touch="slider-touch" />
3052 <action function="overlay"></action>
3053 </object>
3054
3055 <object type="text" color="%text_color%">
3056 <font resource="font" />
3057 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3058 <text>Swipe to Unlock</text>
3059 </object>
3060 </page>
3061
3062
3063 <page name="filemanagerlist">
3064 <object type="template" name="header" />
3065
3066 <object type="text" color="%text_color%">
3067 <font resource="font" />
3068 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3069 <text>File Manager: Select a File or Folder</text>
3070 </object>
3071
3072 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003073 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003074 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3075 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003076 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003077 <text>Folders:</text>
3078 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3079 <sort name="tw_gui_sort_order" />
3080 <icon folder="folder_icon" file="file_icon" />
3081 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003082 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003083 <filter folders="1" files="0" />
3084 <path name="tw_file_location1" default="/sdcard" />
3085 <data name="select" />
3086 <selection name="tw_selection1" />
3087 </object>
3088
3089 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003090 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003091 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3092 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003093 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003094 <text>%tw_file_location1%</text>
3095 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3096 <sort name="tw_gui_sort_order" />
3097 <icon folder="folder_icon" file="file_icon" />
3098 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003099 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003100 <filter folders="0" files="1" />
3101 <path name="tw_file_location1" default="/" />
3102 <data name="tw_filename1" />
3103 <selection name="tw_selection1" />
3104 </object>
3105
3106 <object type="template" name="sort_options" />
3107
3108 <object type="action">
3109 <actions>
3110 <action function="set">tw_fm_type=File</action>
3111 <action function="set">tw_fm_isfolder=0</action>
3112 </actions>
3113 </object>
3114
3115 <object type="action">
3116 <touch key="home" />
3117 <action function="page">main</action>
3118 </object>
3119
3120 <object type="action">
3121 <touch key="back" />
3122 <action function="page">advanced</action>
3123 </object>
3124
3125 <object type="action">
3126 <condition var1="tw_filename1" op="modified" />
3127 <actions>
3128 <action function="page">filemanageroptions</action>
3129 </actions>
3130 </object>
3131
3132 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003133 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003134 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3135 <font resource="font" color="%button_text_color%" />
3136 <text>Select Folder</text>
3137 <image resource="main_button" />
3138 <actions>
3139 <action function="set">tw_filename1=tw_file_location1</action>
3140 <action function="set">tw_fm_isfolder=1</action>
3141 <action function="set">tw_fm_type=Folder</action>
3142 <action function="page">filemanageroptions</action>
3143 </actions>
3144 </object>
3145
3146 <object type="template" name="footer" />
3147 </page>
3148
3149 <page name="filemanageroptions">
3150 <object type="template" name="header" />
3151
3152 <object type="text" color="%text_color%">
3153 <font resource="font" />
3154 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3155 <text>%tw_fm_type% Selected:</text>
3156 </object>
3157
3158 <object type="text" color="%text_color%">
3159 <font resource="font" />
3160 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3161 <text>%tw_filename1%</text>
3162 </object>
3163
3164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003165 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003166 <condition var1="tw_fm_isfolder" var2="0" />
3167 <placement x="%col1_x%" y="%row2_y%" />
3168 <font resource="font" color="%button_text_color%" />
3169 <text>Copy File</text>
3170 <image resource="main_button" />
3171 <actions>
3172 <action function="set">tw_filemanager_command=cp</action>
3173 <action function="set">tw_fm_text1=Copying</action>
3174 <action function="page">choosedestinationfolder</action>
3175 </actions>
3176 </object>
3177
3178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003179 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003180 <condition var1="tw_fm_isfolder" var2="1" />
3181 <placement x="%col1_x%" y="%row2_y%" />
3182 <font resource="font" color="%button_text_color%" />
3183 <text>Copy Folder</text>
3184 <image resource="main_button" />
3185 <actions>
3186 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3187 <action function="set">tw_fm_text1=Copying</action>
3188 <action function="page">choosedestinationfolder</action>
3189 </actions>
3190 </object>
3191
3192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003193 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003194 <placement x="%col2_x%" y="%row2_y%" />
3195 <font resource="font" color="%button_text_color%" />
3196 <text>Move</text>
3197 <image resource="main_button" />
3198 <actions>
3199 <action function="set">tw_filemanager_command=mv</action>
3200 <action function="set">tw_fm_text1=Moving</action>
3201 <action function="page">choosedestinationfolder</action>
3202 </actions>
3203 </object>
3204
3205 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003206 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003207 <placement x="%col3_x%" y="%row2_y%" />
3208 <font resource="font" color="%button_text_color%" />
3209 <text>chmod 755</text>
3210 <image resource="main_button" />
3211 <actions>
3212 <action function="set">tw_filemanager_command=chmod 755</action>
3213 <action function="set">tw_fm_text1=chmod 755</action>
3214 <action function="set">tw_fm_text2=</action>
3215 <action function="set">tw_fm_text3=</action>
3216 <action function="set">tw_include_text3=0</action>
3217 <action function="set">tw_back=filemanageroptions</action>
3218 <action function="page">filemanagerconfirm</action>
3219 </actions>
3220 </object>
3221
3222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003223 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003224 <placement x="%col4_x%" y="%row2_y%" />
3225 <font resource="font" color="%button_text_color%" />
3226 <text>chmod</text>
3227 <image resource="main_button" />
3228 <actions>
3229 <action function="set">tw_filemanager_rename=0000</action>
3230 <action function="set">tw_fm_text2=</action>
3231 <action function="set">tw_fm_text3=</action>
3232 <action function="set">tw_include_text3=0</action>
3233 <action function="set">tw_back=filemanageroptions</action>
3234 <action function="page">filemanagerchmod</action>
3235 </actions>
3236 </object>
3237
3238 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003239 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003240 <placement x="%col1_x%" y="%row1_y%" />
3241 <font resource="font" color="%button_text_color%" />
3242 <text>Delete</text>
3243 <image resource="main_button" />
3244 <actions>
3245 <action function="set">tw_filemanager_command=rm -rf</action>
3246 <action function="set">tw_fm_text1=Deleting</action>
3247 <action function="set">tw_fm_text2=</action>
3248 <action function="set">tw_fm_text3=</action>
3249 <action function="set">tw_include_text3=0</action>
3250 <action function="set">tw_back=filemanageroptions</action>
3251 <action function="page">filemanagerconfirm</action>
3252 </actions>
3253 </object>
3254
3255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003256 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003257 <condition var1="tw_fm_isfolder" var2="0" />
3258 <placement x="%col4_x%" y="%row1_y%" />
3259 <font resource="font" color="%button_text_color%" />
3260 <text>Rename File</text>
3261 <image resource="main_button" />
3262 <actions>
3263 <action function="set">tw_filemanager_rename=tw_selection1</action>
3264 <action function="set">tw_fm_text1=Renaming</action>
3265 <action function="set">tw_filemanager_command=mv</action>
3266 <action function="page">filemanagerrenamefile</action>
3267 </actions>
3268 </object>
3269
3270 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003271 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003272 <condition var1="tw_fm_isfolder" var2="1" />
3273 <placement x="%col4_x%" y="%row1_y%" />
3274 <font resource="font" color="%button_text_color%" />
3275 <text>Rename Folder</text>
3276 <image resource="main_button" />
3277 <actions>
3278 <action function="set">tw_filemanager_rename=tw_selection1</action>
3279 <action function="set">tw_fm_text1=Renaming</action>
3280 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3281 <action function="page">filemanagerrenamefolder</action>
3282 </actions>
3283 </object>
3284
3285 <object type="action">
3286 <touch key="home" />
3287 <action function="page">main</action>
3288 </object>
3289
3290 <object type="action">
3291 <touch key="back" />
3292 <action function="page">filemanagerlist</action>
3293 </object>
3294
3295 <object type="template" name="footer" />
3296 </page>
3297
3298 <page name="choosedestinationfolder">
3299 <object type="template" name="header" />
3300
3301 <object type="text" color="%text_color%">
3302 <font resource="font" />
3303 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3304 <text>Browse to Destination Folder & Press Select</text>
3305 </object>
3306
3307 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003308 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003309 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3310 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003311 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003312 <text>%tw_file_location2%</text>
3313 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3314 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003315 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003316 <icon folder="folder_icon" file="file_icon" />
3317 <background color="%fileselector_background%" />
3318 <filter folders="1" files="0" />
3319 <path name="tw_file_location2" default="/sdcard" />
3320 <data name="tw_filename2" />
3321 </object>
3322
3323 <object type="template" name="sort_options" />
3324
3325 <object type="action">
3326 <touch key="home" />
3327 <action function="page">main</action>
3328 </object>
3329
3330 <object type="action">
3331 <touch key="back" />
3332 <action function="page">filemanageroptions</action>
3333 </object>
3334
3335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003336 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003337 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3338 <font resource="font" color="%button_text_color%" />
3339 <text>Select Folder</text>
3340 <image resource="main_button" />
3341 <actions>
3342 <action function="set">tw_fm_text2=to</action>
3343 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3344 <action function="set">tw_include_text3=1</action>
3345 <action function="set">tw_back=filemanageroptions</action>
3346 <action function="page">filemanagerconfirm</action>
3347 </actions>
3348 </object>
3349
3350 <object type="template" name="footer" />
3351 </page>
3352
3353 <page name="filemanagerrenamefile">
3354 <object type="template" name="header" />
3355
3356 <object type="text" color="%text_color%">
3357 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3358 <font resource="font" />
3359 <text>Please Enter a New %tw_fm_type% Name</text>
3360 </object>
3361
3362 <object type="input">
3363 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3364 <background color="%input_background_color%" />
3365 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3366 <font resource="font" color="%text_color%" />
3367 <text>%tw_filemanager_rename%</text>
3368 <data name="tw_filemanager_rename" />
3369 <restrict minlen="1" maxlen="128" />
3370 <actions>
3371 <action function="set">tw_fm_text2=to</action>
3372 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3373 <action function="set">tw_include_text3=1</action>
3374 <action function="set">tw_back=filemanageroptions</action>
3375 <action function="page">filemanagerconfirm</action>
3376 </actions>
3377 </object>
3378
3379 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003380 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003381 <placement x="%col_center_x%" y="%cancel_button_y%" />
3382 <font resource="font" color="%button_text_color%" />
3383 <text>Cancel</text>
3384 <image resource="main_button" />
3385 <action function="page">filemanageroptions</action>
3386 </object>
3387
3388 <object type="template" name="keyboardtemplate" />
3389
3390 <object type="action">
3391 <touch key="home" />
3392 <action function="page">main</action>
3393 </object>
3394
3395 <object type="action">
3396 <touch key="back" />
3397 <action function="page">filemanageroptions</action>
3398 </object>
3399
3400 <object type="template" name="footer" />
3401 </page>
3402
3403 <page name="filemanagerrenamefolder">
3404 <object type="template" name="header" />
3405
3406 <object type="text" color="%text_color%">
3407 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3408 <font resource="font" />
3409 <text>Please Enter a New %tw_fm_type% Name</text>
3410 </object>
3411
3412 <object type="input">
3413 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3414 <background color="%input_background_color%" />
3415 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3416 <font resource="font" color="%text_color%" />
3417 <text>%tw_filemanager_rename%</text>
3418 <data name="tw_filemanager_rename" />
3419 <restrict minlen="1" maxlen="128" />
3420 <actions>
3421 <action function="set">tw_fm_text2=to</action>
3422 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3423 <action function="set">tw_include_text3=1</action>
3424 <action function="set">tw_back=filemanageroptions</action>
3425 <action function="page">filemanagerconfirm</action>
3426 </actions>
3427 </object>
3428
3429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003430 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003431 <placement x="%col_center_x%" y="%cancel_button_y%" />
3432 <font resource="font" color="%button_text_color%" />
3433 <text>Cancel</text>
3434 <image resource="main_button" />
3435 <action function="page">filemanageroptions</action>
3436 </object>
3437
3438 <object type="template" name="keyboardtemplate" />
3439
3440 <object type="action">
3441 <touch key="home" />
3442 <action function="page">main</action>
3443 </object>
3444
3445 <object type="action">
3446 <touch key="back" />
3447 <action function="page">filemanageroptions</action>
3448 </object>
3449
3450 <object type="template" name="footer" />
3451 </page>
3452
3453 <page name="filemanagerchmod">
3454 <object type="template" name="header" />
3455
3456 <object type="text" color="%text_color%">
3457 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3458 <font resource="font" />
3459 <text>Please Enter New Permissions</text>
3460 </object>
3461
3462 <object type="input">
3463 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3464 <background color="%input_background_color%" />
3465 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3466 <font resource="font" color="%text_color%" />
3467 <text>%tw_filemanager_rename%</text>
3468 <data name="tw_filemanager_rename" />
3469 <restrict minlen="3" maxlen="4" allow="0123456789" />
3470 <actions>
3471 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3472 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3473 <action function="set">tw_back=filemanageroptions</action>
3474 <action function="page">filemanagerconfirm</action>
3475 </actions>
3476 </object>
3477
3478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003479 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003480 <placement x="%col_center_x%" y="%cancel_button_y%" />
3481 <font resource="font" color="%button_text_color%" />
3482 <text>Cancel</text>
3483 <image resource="main_button" />
3484 <action function="page">filemanageroptions</action>
3485 </object>
3486
3487 <object type="template" name="keyboardtemplate" />
3488
3489 <object type="action">
3490 <touch key="home" />
3491 <action function="page">main</action>
3492 </object>
3493
3494 <object type="action">
3495 <touch key="back" />
3496 <action function="page">filemanageroptions</action>
3497 </object>
3498
3499 <object type="template" name="footer" />
3500 </page>
3501
3502 <page name="filemanagerconfirm">
3503 <object type="template" name="header" />
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3508 <text>%tw_fm_text1%</text>
3509 </object>
3510
3511 <object type="text" color="%text_color%">
3512 <font resource="font" />
3513 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3514 <text>%tw_filename1%</text>
3515 </object>
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3520 <text>%tw_fm_text2%</text>
3521 </object>
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3526 <text>%tw_fm_text3%</text>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3532 <text>Press back button to cancel.</text>
3533 </object>
3534
3535 <object type="slider">
3536 <placement x="%slider_x%" y="%slider_y%" />
3537 <resource base="slider" used="slider-used" touch="slider-touch" />
3538 <action function="page">filemanageracction</action>
3539 </object>
3540
3541 <object type="text" color="%text_color%">
3542 <font resource="font" />
3543 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3544 <text>Swipe to Confirm</text>
3545 </object>
3546
3547 <object type="action">
3548 <touch key="back" />
3549 <action function="page">%tw_back%</action>
3550 </object>
3551
3552 <object type="action">
3553 <touch key="home" />
3554 <action function="page">main</action>
3555 </object>
3556
3557 <object type="template" name="footer" />
3558 </page>
3559
3560 <page name="filemanageracction">
3561 <object type="template" name="header" />
3562
3563 <object type="text" color="%text_color%">
3564 <font resource="font" />
3565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3566 <text>%tw_fm_text1%</text>
3567 </object>
3568
3569 <object type="template" name="action_page_console" />
3570
3571 <object type="template" name="progress_bar" />
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" var2="0" />
3577 </conditions>
3578 <actions>
3579 <action function="set">tw_back=filemanagerlist</action>
3580 <action function="set">tw_complete_text1=File Operation Complete</action>
3581 <action function="page">action_complete</action>
3582 </actions>
3583 </object>
3584
3585 <object type="action">
3586 <conditions>
3587 <condition var1="tw_operation_state" var2="1" />
3588 <condition var1="tw_operation_status" op="!=" var2="0" />
3589 </conditions>
3590 <actions>
3591 <action function="set">tw_complete_text1=File Operation Complete</action>
3592 <action function="page">action_complete</action>
3593 </actions>
3594 </object>
3595
3596 <object type="action">
3597 <condition var1="tw_include_text3" var2="0" />
3598 <actions>
3599 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3600 </actions>
3601 </object>
3602
3603 <object type="action">
3604 <condition var1="tw_include_text3" var2="1" />
3605 <actions>
3606 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3607 </actions>
3608 </object>
3609 </page>
3610
3611 <page name="decrypt">
3612 <object type="template" name="header" />
3613
3614 <object type="text" color="%text_color%">
3615 <font resource="font" />
3616 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3617 <text>Please Enter Your Password</text>
3618 </object>
3619
3620 <object type="input">
3621 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3622 <background color="%input_background_color%" />
3623 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3624 <font resource="font" color="%text_color%" />
3625 <text>%tw_crypto_display%</text>
3626 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3627 <restrict minlen="1" maxlen="254" />
3628 <actions>
3629 <action function="page">trydecrypt</action>
3630 </actions>
3631 </object>
3632
3633 <object type="text" color="%text_fail_color%">
3634 <condition var1="tw_password_fail" var2="1" />
3635 <font resource="font" />
3636 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3637 <text>Password Failed, Please Try Again</text>
3638 </object>
3639
3640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003641 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003642 <placement x="%col_center_x%" y="%cancel_button_y%" />
3643 <font resource="font" color="%button_text_color%" />
3644 <text>Cancel</text>
3645 <image resource="main_button" />
3646 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003647 <action function="set">tw_page_done=1</action>
Dees_Troy16b74352012-11-14 22:27:31 +00003648 <action function="page">main</action>
3649 </actions>
3650 </object>
3651
3652 <object type="template" name="keyboardtemplate" />
3653
Dees_Troy16b74352012-11-14 22:27:31 +00003654 <object type="template" name="footer" />
3655 </page>
3656
3657 <page name="trydecrypt">
3658 <object type="template" name="header" />
3659
3660 <object type="text" color="%text_color%">
3661 <font resource="font" />
3662 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3663 <text>Trying Decryption with Your Password</text>
3664 </object>
3665
3666 <object type="template" name="action_page_console" />
3667
3668 <object type="template" name="progress_bar" />
3669
3670 <object type="action">
3671 <action function="decrypt"></action>
3672 </object>
3673
3674 <object type="action">
3675 <conditions>
3676 <condition var1="tw_operation_state" var2="1" />
3677 <condition var1="tw_operation_status" op="!=" var2="0" />
3678 </conditions>
3679 <actions>
3680 <action function="set">tw_password_fail=1</action>
3681 <action function="page">decrypt</action>
3682 </actions>
3683 </object>
3684
3685 <object type="action">
3686 <conditions>
3687 <condition var1="tw_operation_state" var2="1" />
3688 <condition var1="tw_operation_status" op="=" var2="0" />
3689 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003690 <actions>
3691 <action function="set">tw_page_done=1</action>
3692 <action function="page">main</action>
3693 </actions>
Dees_Troy16b74352012-11-14 22:27:31 +00003694 </object>
3695 </page>
3696
3697 <page name="terminalfolder">
3698 <object type="template" name="header" />
3699
3700 <object type="text" color="%text_color%">
3701 <font resource="font" />
3702 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3703 <text>Browse to Starting Folder</text>
3704 </object>
3705
3706 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003707 <highlight color="%fileselector_highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003708 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3709 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003710 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003711 <text>%tw_terminal_location%</text>
3712 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3713 <sort name="tw_gui_sort_order" />
3714 <icon folder="folder_icon" file="file_icon" />
3715 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003716 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003717 <filter folders="1" files="0" />
3718 <path name="tw_terminal_location" default="/" />
3719 <data name="tw_terminal" />
3720 <selection name="tw_terminal_selection" />
3721 </object>
3722
3723 <object type="template" name="sort_options" />
3724
3725 <object type="action">
3726 <touch key="home" />
3727 <action function="page">main</action>
3728 </object>
3729
3730 <object type="action">
3731 <touch key="back" />
3732 <action function="page">advanced</action>
3733 </object>
3734
3735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003736 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003737 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3738 <font resource="font" color="%button_text_color%" />
3739 <text>Select Folder</text>
3740 <image resource="main_button" />
3741 <actions>
3742 <action function="page">terminalcommand</action>
3743 </actions>
3744 </object>
3745
3746 <object type="template" name="footer" />
3747 </page>
3748
3749 <page name="terminalcommand">
3750 <background color="#000000FF" />
3751
3752 <object type="console">
3753 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3754 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3755 <font resource="fixed" />
3756 </object>
3757
3758 <object type="text" color="%text_color%">
3759 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3760 <font resource="font" />
3761 <text>Starting Path: %tw_terminal_location%</text>
3762 </object>
3763
3764 <object type="input">
3765 <condition var1="tw_terminal_state" var2="0" />
3766 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3767 <background color="%input_background_color%" />
3768 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3769 <font resource="font" color="%text_color%" />
3770 <text>%tw_terminal_command%</text>
3771 <data name="tw_terminal_command" />
3772 <restrict minlen="1" />
3773 <action function="terminalcommand">%tw_terminal_command%</action>
3774 </object>
3775
3776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003777 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003778 <condition var1="tw_terminal_state" var2="1" />
3779 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3780 <font resource="font" color="%button_text_color%" />
3781 <text>KILL</text>
3782 <image resource="medium_button" />
3783 <action function="killterminal"></action>
3784 </object>
3785
3786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003787 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003788 <placement x="%home_button_x%" y="%terminal_button_y%" />
3789 <font resource="font" color="%button_text_color%" />
3790 <text></text>
3791 <image resource="home_icon" />
3792 <condition var1="tw_busy" var2="0" />
3793 <action function="key">home</action>
3794 </object>
3795
3796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003797 <highlight color="%highlight_color%" />
Dees_Troy16b74352012-11-14 22:27:31 +00003798 <placement x="%back_button_x%" y="%terminal_button_y%" />
3799 <font resource="font" color="%button_text_color%" />
3800 <text></text>
3801 <image resource="back_icon" />
3802 <condition var1="tw_busy" var2="0" />
3803 <action function="key">back</action>
3804 </object>
3805
3806 <object type="action">
3807 <touch key="power" />
3808 <action function="overlay">lock</action>
3809 </object>
3810
3811 <object type="template" name="keyboardtemplate" />
3812
3813 <object type="action">
3814 <touch key="home" />
3815 <action function="page">main</action>
3816 </object>
3817
3818 <object type="action">
3819 <touch key="back" />
3820 <action function="page">terminalfolder</action>
3821 </object>
3822 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003823
3824 <page name="sideload">
3825 <object type="template" name="header" />
3826
3827 <object type="text" color="%text_color%">
3828 <font resource="font" />
3829 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3830 <text>ADB Sideload</text>
3831 </object>
3832
3833 <object type="checkbox">
3834 <placement x="%col1_x%" y="%row3_text_y%" />
3835 <font resource="font" color="%text_color%" />
3836 <text>Wipe Dalvik Cache.</text>
3837 <data variable="tw_wipe_dalvik" />
3838 <image checked="checkbox_true" unchecked="checkbox_false" />
3839 </object>
3840
3841 <object type="checkbox">
3842 <placement x="%col1_x%" y="%row4_text_y%" />
3843 <font resource="font" color="%text_color%" />
3844 <text>Wipe Cache.</text>
3845 <data variable="tw_wipe_cache" />
3846 <image checked="checkbox_true" unchecked="checkbox_false" />
3847 </object>
3848
3849 <object type="slider">
3850 <placement x="%slider_x%" y="%slider_y%" />
3851 <resource base="slider" used="slider-used" touch="slider-touch" />
3852 <actions>
3853 <action function="set">tw_back=advanced</action>
3854 <action function="set">tw_action=adbsideload</action>
3855 <action function="set">tw_action_text1=ADB Sideload</action>
3856 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3857 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3858 <action function="set">tw_has_cancel=1</action>
3859 <action function="set">tw_show_reboot=1</action>
3860 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3861 <action function="page">action_page</action>
3862 </actions>
3863 </object>
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3868 <text>Swipe to Start Sideload</text>
3869 </object>
3870
3871 <object type="action">
3872 <touch key="home" />
3873 <action function="page">main</action>
3874 </object>
3875
3876 <object type="action">
3877 <touch key="back" />
3878 <action function="page">advanced</action>
3879 </object>
3880
3881 <object type="template" name="footer" />
3882 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003883
3884 <page name="installsu">
3885 <object type="template" name="header" />
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3890 <text>Install SuperSU?</text>
3891 </object>
3892
3893 <object type="text" color="%text_color%">
3894 <font resource="font" />
3895 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3896 <text>Your device does not appear to be rooted.</text>
3897 </object>
3898
3899 <object type="text" color="%text_color%">
3900 <font resource="font" />
3901 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3902 <text>Install SuperSU now? This will root your device.</text>
3903 </object>
3904
3905 <object type="button">
3906 <highlight color="%highlight_color%" />
3907 <placement x="%col_center_x%" y="%row2_medium_y%" />
3908 <font resource="font" color="%button_text_color%" />
3909 <text>Do Not Install</text>
3910 <image resource="main_button" />
3911 <action function="set">tw_page_done=1</action>
3912 </object>
3913
3914 <object type="slider">
3915 <placement x="%slider_x%" y="%slider_y%" />
3916 <resource base="slider" used="slider-used" touch="slider-touch" />
3917 <actions>
3918 <action function="set">tw_action=installsu</action>
3919 <action function="set">tw_action_text1=Installing SuperSU</action>
3920 <action function="set">tw_action_text2=</action>
3921 <action function="page">singleaction_page</action>
3922 </actions>
3923 </object>
3924
3925 <object type="text" color="%text_color%">
3926 <font resource="font" />
3927 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3928 <text>Swipe to Install</text>
3929 </object>
3930 </page>
Dees_Troy16b74352012-11-14 22:27:31 +00003931 </pages>
3932</recovery>