blob: 7e197fc8107e34af271268feaff73c85b26a6a05 [file] [log] [blame]
masteroftimeb58e6d22014-01-15 20:16:17 +00001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="240" height="240" />
6 <author>masteroftime</author>
7 <title>TWRP x201</title>
8 <description>tDPI Smartwatch Theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-12" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-12" />
15 <resource name="filelist" type="font" filename="Roboto-Condensed-12" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -050028 <resource name="medium_button" type="image" filename="medium-button" />
masteroftimeb58e6d22014-01-15 20:16:17 +000029 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
45 <variable name="col1_x" value="6" />
46 <variable name="col2_x" value="126" />
47 <variable name="col3_x" value="180" />
48 <variable name="col_center_x" value="62" />
49 <variable name="col_center_medium_x" value="122" />
50 <variable name="center_x" value="120" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -050051 <variable name="row1_home_y" value="40" />
52 <variable name="row2_home_y" value="80" />
53 <variable name="row3_home_y" value="120" />
54 <variable name="row4_home_y" value="160" />
55 <variable name="row1_y" value="20" />
56 <variable name="row2_y" value="65" />
57 <variable name="row3_y" value="110" />
58 <variable name="row4_y" value="155" />
masteroftimeb58e6d22014-01-15 20:16:17 +000059 <variable name="row5_y" value="200" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -050060 <variable name="row_queue_y" value="134" />
61 <variable name="row1_header_y" value="0" />
62 <variable name="row1_text_y" value="16" />
63 <variable name="row2_text_y" value="32" />
64 <variable name="row3_text_y" value="48" />
65 <variable name="row4_text_y" value="64" />
66 <variable name="row5_text_y" value="80" />
67 <variable name="row6_text_y" value="96" />
68 <variable name="row7_text_y" value="112" />
69 <variable name="row8_text_y" value="128" />
70 <variable name="row9_text_y" value="144" />
71 <variable name="row10_text_y" value="160" />
72 <variable name="row11_text_y" value="176" />
73 <variable name="row12_text_y" value="192" />
74 <variable name="row13_text_y" value="208" />
75 <variable name="zip_status_y" value="224" />
masteroftimeb58e6d22014-01-15 20:16:17 +000076 <variable name="backup_text_y" value="60" />
77 <variable name="tz_selected_y" value="44" />
78 <variable name="tz_set_y" value="200" />
79 <variable name="tz_current_y" value="184" />
80 <variable name="col_progressbar_x" value="25" />
81 <variable name="row_progressbar_y" value="200" />
82 <variable name="col1_medium_x" value="6" />
83 <variable name="col2_medium_x" value="70" />
84 <variable name="col3_medium_x" value="134" />
85 <variable name="col4_medium_x" value="198" />
86 <variable name="row1_medium_y" value="24" />
87 <variable name="row2_medium_y" value="40" />
88 <variable name="row3_medium_y" value="56" />
89 <variable name="row4_medium_y" value="72" />
90 <variable name="row5_medium_y" value="88" />
91 <variable name="row6_medium_y" value="104" />
92 <variable name="row7_medium_y" value="120" />
93 <variable name="slider_x" value="34" />
94 <variable name="slider_y" value="200" />
95 <variable name="slider_text_y" value="218" />
96 <variable name="button_text_color" value="#AAAAAA" />
97 <variable name="text_color" value="#FFFFFF" />
98 <variable name="text_success_color" value="#33B5E5" />
99 <variable name="text_fail_color" value="#FF0101" />
100 <variable name="highlight_color" value="#90909080" />
Dees Troy54a69f42014-03-06 14:22:28 +0000101 <variable name="caps_highlight_color" value="#33B5E580" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000102 <variable name="home_button_x" value="3" />
103 <variable name="home_button_y" value="220" />
104 <variable name="back_button_x" value="209" />
105 <variable name="back_button_y" value="220" />
106 <variable name="sort_text_x" value="8" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500107 <variable name="sort_asc_text_y" value="174" />
108 <variable name="sort_asc_button_y" value="173" />
109 <variable name="sort_desc_text_y" value="198" />
110 <variable name="sort_desc_button_y" value="197" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000111 <variable name="sort_col1_button_x" value="120" />
112 <variable name="sort_col2_button_x" value="160" />
113 <variable name="sort_col3_button_x" value="200" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500114 <variable name="input_width" value="228" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000115 <variable name="input_width_conf" value="10" />
116 <variable name="input_height" value="18" />
117 <variable name="input_background_color" value="#303030" />
118 <variable name="input_cursor_color" value="#33B5E5" />
119 <variable name="input_cursor_width" value="2" />
120 <variable name="console_x" value="0" />
121 <variable name="console_width" value="240" />
122 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500123 <variable name="warning" value="#F8F8A0" />
124 <variable name="error" value="#FF4040" />
125 <variable name="highlight" value="#33B5E5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000126 <variable name="console_background" value="#303030" />
127 <variable name="console_scroll" value="#303030" />
128 <variable name="console_action_height" value="120" />
129 <variable name="console_install_height" value="120" />
130 <variable name="console_installdone_height" value="120" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500131 <variable name="fileselector_x" value="0" />
132 <variable name="fileselector_y" value="38" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000133 <variable name="fileselector_width" value="240" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500134 <variable name="fileselector_install_height" value="132" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000135 <variable name="fileselector_header_background" value="#202020" />
136 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
137 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
138 <variable name="fileselector_header_separatorheight" value="2" />
139 <variable name="fileselector_separatorcolor" value="#505050" />
140 <variable name="fileselector_separatorheight" value="1" />
141 <variable name="fileselector_background" value="#303030" />
142 <variable name="fileselector_highlight_color" value="#505050" />
143 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
144 <variable name="fileselector_spacing" value="12" />
145 <variable name="fastscroll_linecolor" value="#808080" />
146 <variable name="fastscroll_rectcolor" value="#808080" />
147 <variable name="fastscroll_w" value="32" />
148 <variable name="fastscroll_linew" value="1" />
149 <variable name="fastscroll_rectw" value="18" />
150 <variable name="fastscroll_recth" value="31" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500151 <variable name="listbox_x" value="0" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000152 <variable name="listbox_width" value="240" />
153 <variable name="listbox_tz_height" value="114" />
154 <variable name="listbox_background" value="#303030" />
155 <variable name="listbox_spacing" value="12" />
156 <variable name="sd_plus_x" value="174" />
157 <variable name="sdext_text_x" value="56" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500158 <variable name="sdext_text_y" value="18" />
159 <variable name="sdswap_button_y" value="45" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000160 <variable name="sdswap_text_x" value="56" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500161 <variable name="sdswap_text_y" value="47" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000162 <variable name="sdfilesystem_text_y" value="92" />
163 <variable name="sdfilesystem_button_y" value="120" />
164 <variable name="lock_x" value="72" />
165 <variable name="lock_y" value="46" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500166 <variable name="filemanager_select_x" value="98" />
167 <variable name="filemanager_select_y" value="210" />
168 <variable name="terminal_console_height" value="71" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000169 <variable name="terminal_text_y" value="72" />
170 <variable name="terminal_button_y" value="220" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500171 <variable name="row_dst_text_y" value="116" />
172 <variable name="row_offset_text_y" value="132" />
173 <variable name="row_offset_medium_y" value="148" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000174 <variable name="button_fill_color" value="#303030" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500175 <variable name="button_fill_full_width" value="228" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000176 <variable name="button_fill_main_width" value="110" />
177 <variable name="button_fill_med_width" value="72" />
178 <variable name="button_fill_small_width" value="24" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500179 <variable name="button_fill_main_height" value="38" />
180 <variable name="button_fill_half_height" value="19" />
181 <variable name="button_fill_quarter_height" value="19" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000182 <variable name="button_refresh_x" value="152" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500183 <variable name="backup_list_y" value="26" />
184 <variable name="backup_list_height" value="129" />
185 <variable name="restore_list_height" value="155" />
186 <variable name="backup_button_row1" value="159" />
187 <variable name="backup_button_row2" value="180" />
188 <variable name="mount_list_height" value="146" />
189 <variable name="mount_storage_row" value="195" />
190 <variable name="storage_list_height" value="134" />
191 <variable name="wipe_list_height" value="170" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000192 <variable name="wipe_button_y" value="136" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500193 <variable name="slidervalue_w" value="228" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000194 <variable name="slidervalue_line_clr" value="#FFFFFF" />
195 <variable name="slidervalue_slider_clr" value="#33B5E5" />
196 <variable name="slidervalue_lineh" value="1" />
197 <variable name="slidervalue_padding" value="8" />
198 <variable name="slidervalue_sliderw" value="4" />
199 <variable name="slidervalue_sliderh" value="20" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500200 <variable name="wipe_button_row1" value="180" />
201 <variable name="invalid_partition_y" value="167" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000202 </variables>
203
204 <templates>
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500205 <template name="twrpheader">
masteroftimeb58e6d22014-01-15 20:16:17 +0000206 <object type="image">
207 <image resource="top_bar" />
208 <placement x="0" y="0" />
209 </object>
210
211 <object type="text" color="%text_color%">
212 <font resource="font" />
213 <placement x="3" y="3" />
214 <text>TWRP v%tw_version%</text>
215 </object>
216
217 <object type="text" color="%text_fail_color%">
218 <condition var1="tw_simulate_actions" var2="1" />
219 <font resource="font" />
220 <placement x="3" y="21" />
221 <text>SIMULATION</text>
222 </object>
223
224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="100" y="3" />
227 <text>%tw_time%</text>
228 </object>
229
230 <object type="text" color="%text_color%">
231 <font resource="font" />
232 <placement x="170" y="3" />
233 <conditions>
234 <condition var1="tw_no_battery_percent" var2="0" />
235 <condition var1="tw_battery" op=">" var2="0" />
236 <condition var1="tw_battery" op="<" var2="101" />
237 </conditions>
238 <text>%tw_battery%</text>
239 </object>
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500240 </template>
241
242 <template name="header">
243 <background color="#000000FF" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000244
245 <object type="button">
246 <placement x="%home_button_x%" y="%home_button_y%" />
247 <font resource="font" color="%button_text_color%" />
248 <text></text>
249 <image resource="home_icon" />
250 <condition var1="tw_busy" var2="0" />
251 <action function="key">home</action>
252 </object>
253
254 <object type="button">
255 <placement x="%back_button_x%" y="%back_button_y%" />
256 <font resource="font" color="%button_text_color%" />
257 <text></text>
258 <image resource="back_icon" />
259 <condition var1="tw_busy" var2="0" />
260 <action function="key">back</action>
261 </object>
262
263 <object type="action">
264 <touch key="power" />
265 <action function="overlay">lock</action>
266 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100267
268 <object type="action">
269 <touch key="power+voldown" />
270 <action function="screenshot" />
271 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +0000272 </template>
273
274 <template name="progress_bar">
275 <object type="progressbar">
276 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500277 <resource empty="progress_empty" full="progress_full" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000278 <data name="ui_progress" />
279 </object>
280
281 <object type="animation">
282 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
283 <resource name="progress" />
284 <speed fps="15" render="2" />
285 <loop frame="1" />
286 </object>
287 </template>
288
289 <template name="action_page_console">
290 <object type="console">
291 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
292 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
293 <font resource="fixed" />
294 </object>
295 </template>
296
297 <template name="sort_options">
298 <object type="text" color="%text_color%">
299 <font resource="mediumfont" />
300 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
301 <text>Sort Ascending:</text>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
306 <font resource="mediumfont" color="%button_text_color%" />
307 <text>Name</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=1</action>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
314 <font resource="mediumfont" color="%button_text_color%" />
315 <text>Date</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=2</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
322 <font resource="mediumfont" color="%button_text_color%" />
323 <text>Size</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=3</action>
326 </object>
327
328 <object type="text" color="%text_color%">
329 <font resource="mediumfont" />
330 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
331 <text>Sort Descending:</text>
332 </object>
333
334 <object type="button">
335 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
336 <font resource="mediumfont" color="%button_text_color%" />
337 <text>Name</text>
338 <image resource="sort_button" />
339 <action function="set">tw_gui_sort_order=-1</action>
340 </object>
341
342 <object type="button">
343 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
344 <font resource="mediumfont" color="%button_text_color%" />
345 <text>Date</text>
346 <image resource="sort_button" />
347 <action function="set">tw_gui_sort_order=-2</action>
348 </object>
349
350 <object type="button">
351 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
352 <font resource="mediumfont" color="%button_text_color%" />
353 <text>Size</text>
354 <image resource="sort_button" />
355 <action function="set">tw_gui_sort_order=-3</action>
356 </object>
357 </template>
358
359 <template name="footer">
360 <object type="console">
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500361 <slideout resource="slideout" x="97" y="220" />
362 <placement x="%console_x%" y="0" w="%console_width%" h="220" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000363 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
364 <font resource="fixed" />
365 </object>
366 </template>
367
368 <template name="keyboardtemplate">
369 <object type="keyboard">
370 <placement x="0" y="90" />
371 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
372 <highlight color="%highlight_color%" />
Dees Troy54a69f42014-03-06 14:22:28 +0000373 <capshighlight color="%caps_highlight_color%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000374 <layout1>
375 <keysize height="32" width="24" />
376 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
377 <row2 key01="36:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="36:l" />
378 <row3 key01="36:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="36:c:8" />
379 <row4 key01="36:layout3" key02="24:" key03="120: " key04="24:." key05="36:a:action" />
380 </layout1>
381 <layout2>
Dees Troy54a69f42014-03-06 14:22:28 +0000382 <keysize height="32" width="24" capslock="0" revert_layout="1" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000383 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
384 <row2 key01="36:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="36:L" />
385 <row3 key01="36:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="36:c:8" />
386 <row4 key01="36:layout3" key02="32:" key03="120: " key04="32:." key05="36:action" />
387 </layout2>
388 <layout3>
389 <keysize height="32" width="24" />
390 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
391 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
392 <row3 key01="36:layout4" key02="!" key03="24:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="36:c:8" />
393 <row4 key01="36:layout1" key02="24:," key03="120: " key04="24:." key05="36:action" />
394 </layout3>
395 <layout4>
396 <keysize height="32" width="24" />
397 <row1 key01="~" key02="`" key03="|" key04="24:" key05="24:" key06="24:" key07="%" key08="24:" key09="{" key10="}" />
398 <row2 key01="24:" key02="24:" key03="24:" key04="24:" key05="24:" key06="^" key07="_" key08="=" key09="[" key10="]" />
399 <row3 key01="36:layout3" key02="24:" key03="24:" key04="24:" key05="24:" key06="\" key07="<" key08=">" key09="36:c:8" />
400 <row4 key01="36:layout1" key02="24:c:34" key03="120: " key04="24:." key05="36:action" />
401 </layout4>
402 </object>
403 </template>
404 </templates>
405
406 <pages>
407 <page name="main">
408 <object type="action">
409 <actions>
410 <action function="set">tw_clear_destination=main2</action>
411 <action function="page">clear_vars</action>
412 </actions>
413 </object>
414 </page>
415
416 <page name="main2">
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500417 <object type="template" name="twrpheader" />
418
masteroftimeb58e6d22014-01-15 20:16:17 +0000419 <object type="template" name="header" />
420
421 <object type="button">
422 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500423 <placement x="%col1_x%" y="%row1_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000424 <font resource="font" color="%button_text_color%" />
425 <text>Install</text>
426 <image resource="main_button" />
427 <actions>
428 <action function="queueclear"></action>
429 <action function="page">install</action>
430 </actions>
431 </object>
432
433 <object type="button">
434 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500435 <placement x="%col2_x%" y="%row1_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000436 <font resource="font" color="%button_text_color%" />
437 <text>Wipe</text>
438 <image resource="main_button" />
439 <action function="page">wipe</action>
440 </object>
441
442 <object type="button">
443 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500444 <placement x="%col1_x%" y="%row2_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000445 <font resource="font" color="%button_text_color%" />
446 <text>Backup</text>
447 <image resource="main_button" />
448 <action function="page">backup</action>
449 </object>
450
451 <object type="button">
452 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500453 <placement x="%col2_x%" y="%row2_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000454 <font resource="font" color="%button_text_color%" />
455 <text>Restore</text>
456 <image resource="main_button" />
457 <action function="page">restore</action>
458 </object>
459
460 <object type="button">
461 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500462 <placement x="%col1_x%" y="%row3_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000463 <font resource="font" color="%button_text_color%" />
464 <text>Mount</text>
465 <image resource="main_button" />
466 <action function="page">mount</action>
467 </object>
468
469 <object type="button">
470 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500471 <placement x="%col2_x%" y="%row3_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000472 <font resource="font" color="%button_text_color%" />
473 <text>Settings</text>
474 <image resource="main_button" />
475 <action function="page">settings</action>
476 </object>
477
478
479 <object type="button">
480 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500481 <placement x="%col1_x%" y="%row4_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000482 <font resource="font" color="%button_text_color%" />
483 <text>Advanced</text>
484 <image resource="main_button" />
485 <action function="page">advanced</action>
486 </object>
487
488 <object type="button">
489 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500490 <placement x="%col2_x%" y="%row4_home_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000491 <font resource="font" color="%button_text_color%" />
492 <text>Reboot</text>
493 <image resource="main_button" />
494 <action function="page">reboot</action>
495 </object>
496
497 <object type="template" name="footer" />
498 </page>
499
500 <page name="install">
501 <object type="template" name="header" />
502
503 <object type="text" color="%text_color%">
504 <font resource="font" />
505 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
506 <text>Select Zip to Install</text>
507 </object>
508
509 <object type="button">
510 <highlight color="%highlight_color%" />
511 <fill color="%button_fill_color%" />
512 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
513 <font resource="font" color="%button_text_color%" />
514 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
515 <actions>
516 <action function="set">tw_back=install</action>
517 <action function="page">selectstorage</action>
518 </actions>
519 </object>
520
521 <object type="fileselector">
522 <highlight color="%fileselector_highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500523 <placement x="%fileselector_x%" y="%fileselector_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000524 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
525 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
526 <text>%tw_zip_location%</text>
527 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
528 <sort name="tw_gui_sort_order" />
529 <icon folder="folder_icon" file="file_icon" />
530 <background color="%fileselector_background%" />
531 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
532 <filter extn=".zip" folders="1" files="1" />
533 <path name="tw_zip_location" default="/sdcard" />
534 <data name="tw_filename" />
535 <selection name="tw_file" />
536 </object>
537
538 <object type="template" name="sort_options" />
539
540 <object type="action">
541 <condition var1="tw_filename" op="modified" />
542 <actions>
543 <action function="queuezip"></action>
544 <action function="page">flash_confirm</action>
545 </actions>
546 </object>
547
548 <object type="action">
549 <touch key="back" />
550 <action function="page">main</action>
551 </object>
552
553 <object type="action">
554 <touch key="home" />
555 <action function="page">main</action>
556 </object>
557
558 <object type="template" name="footer" />
559 </page>
560
561 <page name="flash_confirm">
562 <object type="template" name="header" />
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500566 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000567 <text>This operation may install incompatible</text>
568 </object>
569
570 <object type="text" color="%text_color%">
571 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500572 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000573 <text>software and render your device unusable.</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500578 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
579 <text>Folder and File:</text>
masteroftimeb58e6d22014-01-15 20:16:17 +0000580 </object>
581
582 <object type="text" color="%text_color%">
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500583 <font resource="mediumfont" />
584 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
585 <text>%tw_zip_location%</text>
586 </object>
587
588 <object type="text" color="%text_color%">
589 <font resource="mediumfont" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000590 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500591 <text>%tw_file%</text>
masteroftimeb58e6d22014-01-15 20:16:17 +0000592 </object>
593
594 <object type="text" color="%text_color%">
595 <font resource="font" />
596 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
597 <text>Press back to cancel adding this zip.</text>
598 </object>
599
600 <object type="checkbox">
601 <placement x="%col1_x%" y="%row6_text_y%" />
602 <font resource="font" color="%text_color%" />
603 <text>Zip file signature verification.</text>
604 <data variable="tw_signed_zip_verify" />
605 <image checked="checkbox_true" unchecked="checkbox_false" />
606 </object>
607
608 <object type="checkbox">
609 <condition var1="tw_has_injecttwrp" var2="1" />
610 <placement x="%col1_x%" y="%row7_text_y%" />
611 <font resource="font" color="%text_color%" />
612 <text>Inject TWRP after install.</text>
613 <data variable="tw_inject_after_zip" />
614 <image checked="checkbox_true" unchecked="checkbox_false" />
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500619 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000620 <text>File %tw_zip_queue_count% of max of 10</text>
621 </object>
622
623 <object type="slider">
624 <placement x="%slider_x%" y="%slider_y%" placement="5" />
625 <resource base="slider" used="slider-used" touch="slider-touch" />
626 <action function="flash">flash_zip</action>
627 </object>
628
629 <object type="text" color="%text_color%">
630 <font resource="font" />
631 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
632 <text>Swipe to Confirm Flash</text>
633 </object>
634
635 <object type="button">
636 <highlight color="%highlight_color%" />
637 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
638 <placement x="%col1_x%" y="%row_queue_y%" />
639 <font resource="font" color="%button_text_color%" />
640 <text>Add More Zips</text>
641 <image resource="main_button" />
642 <action function="page">install</action>
643 </object>
644
645 <object type="button">
646 <highlight color="%highlight_color%" />
647 <placement x="%col2_x%" y="%row_queue_y%" />
648 <font resource="font" color="%button_text_color%" />
649 <text>Clear Zip Queue</text>
650 <image resource="main_button" />
651 <actions>
652 <action function="queueclear"></action>
653 <action function="page">install</action>
654 </actions>
655 </object>
656
657 <object type="action">
658 <touch key="back" />
659 <actions>
660 <action function="cancelzip"></action>
661 <action function="page">install</action>
662 </actions>
663 </object>
664
665 <object type="action">
666 <touch key="home" />
667 <action function="page">main</action>
668 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +0000669 </page>
670
671 <page name="flash_zip">
672 <object type="template" name="header" />
673
674 <object type="console">
675 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
676 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
677 <font resource="fixed" />
678 </object>
679
680 <object type="text" color="%text_color%">
681 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500682 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000683 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
684 </object>
685
686 <object type="text" color="%text_color%">
687 <font resource="mediumfont" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500688 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000689 <text>%tw_filename%</text>
690 </object>
691
692 <object type="template" name="progress_bar" />
693
694 <object type="action">
695 <condition var1="tw_operation_state" var2="1" />
696 <action function="page">flash_done</action>
697 </object>
698 </page>
699
700 <page name="flash_done">
701 <object type="template" name="header" />
702
703 <object type="text" color="%text_color%">
704 <font resource="font" />
705 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
706 <text>Zip Install Complete</text>
707 </object>
708
709 <object type="console">
710 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
711 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
712 <font resource="fixed" />
713 </object>
714
715 <object type="button">
716 <highlight color="%highlight_color%" />
717 <placement x="%col1_x%" y="%row4_y%" />
718 <font resource="font" color="%button_text_color%" />
719 <text>Wipe cache/dalvik</text>
720 <image resource="main_button" />
721 <actions>
722 <action function="set">tw_back=flash_done</action>
723 <action function="set">tw_action=wipe</action>
724 <action function="set">tw_action_param=/cache</action>
725 <action function="set">tw_has_action2=1</action>
726 <action function="set">tw_action2=wipe</action>
727 <action function="set">tw_action2_param=dalvik</action>
728 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
729 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
730 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
731 <action function="set">tw_slider_text=Swipe to Wipe</action>
732 <action function="page">confirm_action</action>
733 </actions>
734 </object>
735
736 <object type="button">
737 <highlight color="%highlight_color%" />
738 <placement x="%col2_x%" y="%row4_y%" />
739 <font resource="font" color="%button_text_color%" />
740 <text>Reboot System</text>
741 <image resource="main_button" />
742 <actions>
743 <action function="set">tw_back=main2</action>
744 <action function="set">tw_action=reboot</action>
745 <action function="set">tw_action_param=system</action>
746 <action function="set">tw_has_action2=0</action>
747 <action function="set">tw_text1=No OS Installed! Are you</action>
748 <action function="set">tw_text2=sure you wish to reboot?</action>
749 <action function="set">tw_text3=</action>
750 <action function="set">tw_text4=</action>
751 <action function="set">tw_action_text1=Rebooting...</action>
752 <action function="set">tw_action_text2=</action>
753 <action function="set">tw_complete_text1=Rebooting...</action>
754 <action function="set">tw_slider_text=Swipe to Reboot</action>
755 <action function="page">rebootcheck</action>
756 </actions>
757 </object>
758
masteroftimeb58e6d22014-01-15 20:16:17 +0000759 <object type="text" color="%text_fail_color%">
760 <condition var1="tw_operation_status" op="!=" var2="0" />
761 <font resource="font" />
762 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
763 <text>Failed</text>
764 </object>
765
766 <object type="text" color="%text_success_color%">
767 <condition var1="tw_operation_status" var2="0" />
768 <font resource="font" />
769 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
770 <text>Successful</text>
771 </object>
772
773 <object type="action">
774 <touch key="back" />
775 <actions>
776 <action function="set">tw_clear_destination=install</action>
777 <action function="page">clear_vars</action>
778 </actions>
779 </object>
780
781 <object type="action">
782 <touch key="home" />
783 <actions>
784 <action function="set">tw_clear_destination=main2</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </object>
788 </page>
789
790 <page name="clear_vars">
791 <object type="action">
792 <action function="set">tw_operation_state=0</action>
793 <action function="set">tw_text1=</action>
794 <action function="set">tw_text2=</action>
795 <action function="set">tw_text3=</action>
796 <action function="set">tw_text4=</action>
797 <action function="set">tw_action_text1=</action>
798 <action function="set">tw_action_text2=</action>
799 <action function="set">tw_action_param=</action>
800 <action function="set">tw_has_action2=0</action>
801 <action function="set">tw_action2=</action>
802 <action function="set">tw_action2_param=</action>
803 <action function="set">tw_has_cancel=0</action>
804 <action function="set">tw_cancel_action=</action>
805 <action function="set">tw_cancel_param=</action>
806 <action function="set">tw_show_exclamation=0</action>
807 <action function="set">tw_show_reboot=0</action>
808 <action function="page">%tw_clear_destination%</action>
809 </object>
810 </page>
811
812 <page name="confirm_action">
813 <object type="template" name="header" />
814
815 <object type="text" color="%text_color%">
816 <font resource="font" />
817 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
818 <text>%tw_text1%</text>
819 </object>
820
821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
824 <text>%tw_text2%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
830 <text>%tw_text3%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
836 <text>%tw_text4%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500841 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000842 <text>Press back button to cancel.</text>
843 </object>
844
845 <object type="slider">
846 <placement x="%slider_x%" y="%slider_y%" />
847 <resource base="slider" used="slider-used" touch="slider-touch" />
848 <action function="page">action_page</action>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
854 <text>%tw_slider_text%</text>
855 </object>
856
857 <object type="action">
858 <touch key="back" />
859 <actions>
860 <action function="set">tw_clear_destination=%tw_back%</action>
861 <action function="page">clear_vars</action>
862 </actions>
863 </object>
864
865 <object type="action">
866 <touch key="home" />
867 <action function="page">main</action>
868 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +0000869 </page>
870
871 <page name="action_page">
872 <object type="template" name="header" />
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
876 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
877 <text>%tw_action_text1%</text>
878 </object>
879
880 <object type="text" color="%text_color%">
881 <font resource="font" />
882 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
883 <text>%tw_action_text2%</text>
884 </object>
885
886 <object type="template" name="action_page_console" />
887
888 <object type="button">
889 <highlight color="%highlight_color%" />
890 <condition var1="tw_has_cancel" var2="1" />
891 <placement x="%col_center_medium_x%" y="%row4_y%" />
892 <font resource="font" color="%button_text_color%" />
893 <text>Cancel</text>
894 <image resource="medium_button" />
895 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
896 </object>
897
898 <object type="template" name="progress_bar" />
899
900 <object type="action">
901 <condition var1="tw_operation_state" var2="1" />
902 <actions>
903 <action function="page">action_complete</action>
904 </actions>
905 </object>
906
907 <object type="action">
908 <condition var1="tw_has_action2" var2="0" />
909 <actions>
910 <action function="%tw_action%">%tw_action_param%</action>
911 </actions>
912 </object>
913
914 <object type="action">
915 <condition var1="tw_has_action2" var2="1" />
916 <actions>
917 <action function="%tw_action%">%tw_action_param%</action>
918 <action function="%tw_action2%">%tw_action2_param%</action>
919 </actions>
920 </object>
921 </page>
922
923 <page name="singleaction_page">
924 <object type="template" name="header" />
925
926 <object type="text" color="%text_color%">
927 <font resource="font" />
928 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
929 <text>%tw_action_text1%</text>
930 </object>
931
932 <object type="text" color="%text_color%">
933 <font resource="font" />
934 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
935 <text>%tw_action_text2%</text>
936 </object>
937
938 <object type="template" name="action_page_console" />
939
940 <object type="template" name="progress_bar" />
941
942 <object type="action">
943 <condition var1="tw_operation_state" var2="1" />
944 <actions>
945 <action function="set">tw_page_done=1</action>
946 </actions>
947 </object>
948
949 <object type="action">
950 <condition var1="tw_has_action2" var2="0" />
951 <actions>
952 <action function="%tw_action%">%tw_action_param%</action>
953 </actions>
954 </object>
955
956 <object type="action">
957 <condition var1="tw_has_action2" var2="1" />
958 <actions>
959 <action function="%tw_action%">%tw_action_param%</action>
960 <action function="%tw_action2%">%tw_action2_param%</action>
961 </actions>
962 </object>
963 </page>
964
965 <page name="action_complete">
966 <object type="template" name="header" />
967
968 <object type="text" color="%text_color%">
969 <font resource="font" />
970 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
971 <text>%tw_complete_text1%</text>
972 </object>
973
974 <object type="text" color="%text_fail_color%">
975 <condition var1="tw_operation_status" op="!=" var2="0" />
976 <font resource="font" />
977 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
978 <text>Failed</text>
979 </object>
980
981 <object type="text" color="%text_success_color%">
982 <condition var1="tw_operation_status" var2="0" />
983 <font resource="font" />
984 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
985 <text>Successful</text>
986 </object>
987
988 <object type="template" name="action_page_console" />
989
masteroftimeb58e6d22014-01-15 20:16:17 +0000990 <object type="action">
991 <touch key="home" />
992 <actions>
993 <action function="set">tw_clear_destination=main2</action>
994 <action function="page">clear_vars</action>
995 </actions>
996 </object>
997
998 <object type="action">
999 <touch key="back" />
1000 <actions>
1001 <action function="set">tw_clear_destination=%tw_back%</action>
1002 <action function="page">clear_vars</action>
1003 </actions>
1004 </object>
1005 </page>
1006
1007 <page name="filecheck">
1008 <object type="action">
1009 <action function="fileexists">%tw_filecheck%</action>
1010 </object>
1011
1012 <object type="action">
1013 <conditions>
1014 <condition var1="tw_operation_state" var2="1" />
1015 <condition var1="tw_operation_status" var2="0" />
1016 </conditions>
1017 <actions>
1018 <action function="set">tw_fileexists=1</action>
1019 <action function="page">%tw_existpage%</action>
1020 </actions>
1021 </object>
1022
1023 <object type="action">
1024 <conditions>
1025 <condition var1="tw_operation_state" var2="1" />
1026 <condition var1="tw_operation_status" var2="1" />
1027 </conditions>
1028 <actions>
1029 <action function="set">tw_fileexists=0</action>
1030 <action function="page">%tw_notexistpage%</action>
1031 </actions>
1032 </object>
1033 </page>
1034
1035 <page name="rebootcheck">
1036 <object type="action">
1037 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1038 <action function="reboot">%tw_action_param%</action>
1039 </object>
1040
1041 <object type="action">
1042 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1043 <action function="page">confirm_action</action>
1044 </object>
1045 </page>
1046
1047 <page name="wipe">
1048 <object type="template" name="header" />
1049
1050 <object type="text" color="%text_color%">
1051 <font resource="font" />
1052 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1053 <text>Factory Reset</text>
1054 </object>
1055
1056 <object type="text" color="%text_color%">
1057 <font resource="font" />
1058 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1059 <text>Wipes Data, Cache, and Dalvik</text>
1060 </object>
1061
1062 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001063 <conditions>
1064 <condition var1="tw_has_android_secure" var2="1" />
1065 <condition var1="fileexists" var2="/and-sec" />
1066 </conditions>
masteroftimeb58e6d22014-01-15 20:16:17 +00001067 <font resource="font" />
1068 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1069 <text>.android_secure</text>
1070 </object>
1071
1072 <object type="text" color="%text_color%">
1073 <condition var1="tw_has_data_media" var2="1" />
1074 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001075 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001076 <text>(not including internal storage)</text>
1077 </object>
1078
1079 <object type="text" color="%text_color%">
1080 <condition var1="tw_has_sdext_partition" var2="1" />
1081 <font resource="font" />
1082 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1083 <text>SD-EXT</text>
1084 </object>
1085
1086 <object type="text" color="%text_color%">
1087 <font resource="font" />
1088 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1089 <text>Most of the time this is</text>
1090 </object>
1091
1092 <object type="text" color="%text_color%">
1093 <font resource="font" />
1094 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1095 <text>the only wipe that you need.</text>
1096 </object>
1097
1098 <object type="text" color="%text_color%">
1099 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001100 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001101 <text>Press back button to cancel.</text>
1102 </object>
1103
1104 <object type="button">
1105 <highlight color="%highlight_color%" />
1106 <placement x="%col1_x%" y="%wipe_button_y%" />
1107 <font resource="font" color="%button_text_color%" />
1108 <text>Advanced Wipe</text>
1109 <image resource="main_button" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001110 <actions>
1111 <action function="set">partitionlisterror=0</action>
1112 <action function="page">advancedwipe</action>
1113 </actions>
masteroftimeb58e6d22014-01-15 20:16:17 +00001114 </object>
1115
1116 <object type="button">
1117 <conditions>
1118 <condition var1="tw_has_internal" var2="1" />
1119 <condition var1="tw_has_data_media" var2="1" />
1120 </conditions>
1121 <highlight color="%highlight_color%" />
1122 <placement x="%col2_x%" y="%wipe_button_y%" />
1123 <font resource="font" color="%button_text_color%" />
1124 <text>Format Data</text>
1125 <image resource="main_button" />
1126 <actions>
1127 <action function="page">formatdata</action>
1128 </actions>
1129 </object>
1130
1131 <object type="slider">
1132 <placement x="%slider_x%" y="%slider_y%" />
1133 <resource base="slider" used="slider-used" touch="slider-touch" />
1134 <actions>
1135 <action function="set">tw_back=wipe</action>
1136 <action function="set">tw_action=wipe</action>
1137 <action function="set">tw_action_param=data</action>
1138 <action function="set">tw_action_text1=Factory Reset...</action>
1139 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1140 <action function="page">action_page</action>
1141 </actions>
1142 </object>
1143
1144 <object type="text" color="%text_color%">
1145 <font resource="font" />
1146 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1147 <text>Swipe to Factory Reset</text>
1148 </object>
1149
1150 <object type="action">
1151 <touch key="back" />
1152 <action function="page">main</action>
1153 </object>
1154
1155 <object type="action">
1156 <touch key="home" />
1157 <action function="page">main</action>
1158 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00001159 </page>
1160
1161 <page name="advancedwipe">
1162 <object type="template" name="header" />
1163
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001164 <object type="action">
1165 <action function="set">tw_wipe_list=</action>
1166 </object>
1167
masteroftimeb58e6d22014-01-15 20:16:17 +00001168 <object type="text" color="%text_color%">
1169 <font resource="font" />
1170 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1171 <text>Wipe Menu</text>
1172 </object>
1173
1174 <object type="partitionlist">
1175 <highlight color="%fileselector_highlight_color%" />
1176 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1177 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1178 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1179 <text>Select Partitions to Wipe:</text>
1180 <icon selected="checkbox_true" unselected="checkbox_false" />
1181 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1182 <background color="%listbox_background%" />
1183 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1184 <data name="tw_wipe_list" />
1185 <listtype name="wipe" />
1186 </object>
1187
1188 <object type="slider">
1189 <placement x="%slider_x%" y="%slider_y%" />
1190 <resource base="slider" used="slider-used" touch="slider-touch" />
1191 <actions>
1192 <action function="set">tw_back=advancedwipe</action>
1193 <action function="set">tw_action=wipe</action>
1194 <action function="set">tw_action_param=LIST</action>
1195 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1196 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1197 <action function="set">tw_complete_text1=Wipe Complete</action>
1198 <action function="page">action_page</action>
1199 </actions>
1200 </object>
1201
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001202 <object type="button">
1203 <highlight color="%highlight_color%" />
1204 <fill color="%button_fill_color%" />
1205 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1206 <font resource="font" color="%button_text_color%" />
1207 <text>Repair or Change File System</text>
1208 <actions>
1209 <action function="checkpartitionlist"></action>
1210 <action function="page">checkpartitionlist</action>
1211 </actions>
1212 </object>
1213
1214 <object type="text" color="%text_fail_color%">
1215 <condition var1="partitionlisterror" var2="1" />
1216 <font resource="font" />
1217 <placement x="%center_x%" y="%invalid_partition_y%" placement="5" />
1218 <text>Invalid partition selection</text>
1219 </object>
1220
masteroftimeb58e6d22014-01-15 20:16:17 +00001221 <object type="text" color="%text_color%">
1222 <font resource="font" />
1223 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1224 <text>Swipe to Wipe</text>
1225 </object>
1226
1227 <object type="action">
1228 <touch key="home" />
1229 <action function="page">main</action>
1230 </object>
1231
1232 <object type="action">
1233 <touch key="back" />
1234 <action function="page">wipe</action>
1235 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00001236 </page>
1237
1238 <page name="formatdata">
1239 <object type="template" name="header" />
1240
1241 <object type="text" color="%text_color%">
1242 <font resource="font" />
1243 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001244 <text>Format Data will wipe all of your apps,</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00001245 </object>
1246
1247 <object type="text" color="%text_color%">
1248 <font resource="font" />
1249 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001250 <text>backups, pictures, videos, media, and</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00001251 </object>
1252
1253 <object type="text" color="%text_color%">
1254 <font resource="font" />
1255 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001256 <text>removes encryption on internal storage.</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00001257 </object>
1258
1259 <object type="text" color="%text_color%">
1260 <font resource="font" />
1261 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001262 <text>This cannot be undone. Press back to cancel.</text>
1263 </object>
1264
1265 <object type="text" color="%text_color%">
1266 <font resource="font" />
1267 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001268 <text>Type yes to continue.</text>
1269 </object>
1270
1271 <object type="input">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001272 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001273 <background color="%input_background_color%" />
1274 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1275 <font resource="font" color="%text_color%" />
1276 <text>%tw_confirm_formatdata%</text>
1277 <data name="tw_confirm_formatdata" />
1278 <restrict minlen="3" maxlen="3" allow="yes" />
1279 <action function="page">formatdata_confirm</action>
1280 </object>
1281
1282 <object type="template" name="keyboardtemplate" />
1283
1284 <object type="action">
1285 <touch key="home" />
1286 <action function="page">main</action>
1287 </object>
1288
1289 <object type="action">
1290 <touch key="back" />
1291 <action function="page">wipe</action>
1292 </object>
1293
1294 <object type="template" name="footer" />
1295 </page>
1296
1297 <page name="formatdata_confirm">
1298 <object type="action">
1299 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1300 <actions>
1301 <action function="set">tw_back=formatdata</action>
1302 <action function="set">tw_action=wipe</action>
1303 <action function="set">tw_action_param=DATAMEDIA</action>
1304 <action function="set">tw_action_text1=Formatting Data...</action>
1305 <action function="set">tw_complete_text1=Data Format Complete</action>
1306 <action function="page">action_page</action>
1307 </actions>
1308 </object>
1309
1310 <object type="action">
1311 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1312 <action function="page">formatdata</function>
1313 </object>
1314 </page>
1315
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001316 <page name="checkpartitionlist">
1317 <object type="action">
1318 <condition var1="tw_check_partition_list" op="=" var2="1" />
1319 <actions>
1320 <action function="set">partitionlisterror=0</action>
1321 <action function="getpartitiondetails"></action>
1322 <action function="page">partitionoptions</action>
1323 </actions>
1324 </object>
1325
1326 <object type="action">
1327 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1328 <actions>
1329 <action function="set">partitionlisterror=1</action>
1330 <action function="set">tw_wipe_list=</action>
1331 <action function="page">advancedwipe</action>
1332 </actions>
1333 </object>
1334 </page>
1335
1336 <page name="partitionoptions">
1337 <object type="template" name="header" />
1338
1339 <object type="text" color="%text_color%">
1340 <font resource="font" />
1341 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1342 <text>Partition Options for: %tw_partition_name%</text>
1343 </object>
1344
1345 <object type="text" color="%text_color%">
1346 <font resource="font" />
1347 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1348 <text>Mount Point: %tw_partition_mount_point%</text>
1349 </object>
1350
1351 <object type="text" color="%text_color%">
1352 <font resource="font" />
1353 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1354 <text>Current file system: %tw_partition_file_system%</text>
1355 </object>
1356
1357 <object type="text" color="%text_color%">
1358 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1359 <font resource="font" />
1360 <placement x="%col1_x%" y="%row3_text_y%" />
1361 <text>Present: Yes</text>
1362 </object>
1363
1364 <object type="text" color="%text_color%">
1365 <condition var1="tw_partition_is_present" op="=" var2="0" />
1366 <font resource="font" />
1367 <placement x="%col1_x%" y="%row3_text_y%" />
1368 <text>Present: No</text>
1369 </object>
1370
1371 <object type="text" color="%text_color%">
1372 <condition var1="tw_partition_removable" op="!=" var2="0" />
1373 <font resource="font" />
1374 <placement x="%col2_x%" y="%row3_text_y%" />
1375 <text>Removable: Yes</text>
1376 </object>
1377
1378 <object type="text" color="%text_color%">
1379 <condition var1="tw_partition_removable" op="=" var2="0" />
1380 <font resource="font" />
1381 <placement x="%col2_x%" y="%row3_text_y%" />
1382 <text>Removable: No</text>
1383 </object>
1384
1385 <object type="text" color="%text_color%">
1386 <font resource="font" />
1387 <placement x="%col1_x%" y="%row4_text_y%" />
1388 <text>Size: %tw_partition_size%MB</text>
1389 </object>
1390
1391 <object type="text" color="%text_color%">
1392 <font resource="font" />
1393 <placement x="%col2_x%" y="%row4_text_y%" />
1394 <text>Used: %tw_partition_used%MB</text>
1395 </object>
1396
1397 <object type="text" color="%text_color%">
1398 <font resource="font" />
1399 <placement x="%col1_x%" y="%row5_text_y%" />
1400 <text>Free: %tw_partition_free%MB</text>
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <font resource="font" />
1405 <placement x="%col2_x%" y="%row5_text_y%" />
1406 <text>Backup Size: %tw_partition_backup_size%MB</text>
1407 </object>
1408
1409 <object type="button">
1410 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1411 <highlight color="%highlight_color%" />
1412 <placement x="%col1_x%" y="%row4_y%" />
1413 <font resource="font" color="%button_text_color%" />
1414 <text>Repair</text>
1415 <image resource="main_button" />
1416 <actions>
1417 <action function="set">tw_back=partitionoptions</action>
1418 <action function="set">tw_action=repair</action>
1419 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1420 <action function="set">tw_has_action2=0</action>
1421 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1422 <action function="set">tw_text2=</action>
1423 <action function="set">tw_action_text1=Repairing...</action>
1424 <action function="set">tw_complete_text1=Repair Complete</action>
1425 <action function="set">tw_slider_text=Swipe to Repair</action>
1426 <action function="page">confirm_action</action>
1427 </actions>
1428 </object>
1429
1430 <object type="button">
1431 <highlight color="%highlight_color%" />
1432 <placement x="%col2_x%" y="%row4_y%" />
1433 <font resource="font" color="%button_text_color%" />
1434 <text>Change File Sys</text>
1435 <image resource="main_button" />
1436 <action function="page">selectfilesystem</action>
1437 </object>
1438
1439 <object type="action">
1440 <touch key="home" />
1441 <action function="page">main</action>
1442 </object>
1443
1444 <object type="action">
1445 <touch key="back" />
1446 <action function="page">advancedwipe</action>
1447 </object>
1448
1449 <object type="template" name="footer" />
1450 </page>
1451
1452 <page name="selectfilesystem">
1453 <object type="template" name="header" />
1454
1455 <object type="text" color="%text_color%">
1456 <font resource="font" />
1457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1458 <text>Change file system for: %tw_partition_name%</text>
1459 </object>
1460
1461 <object type="text" color="%text_color%">
1462 <font resource="font" />
1463 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1464 <text>Mount Point: %tw_partition_mount_point%</text>
1465 </object>
1466
1467 <object type="text" color="%text_color%">
1468 <font resource="font" />
1469 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1470 <text>Current file system: %tw_partition_file_system%</text>
1471 </object>
1472
1473 <object type="text" color="%text_color%">
1474 <font resource="font" />
1475 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1476 <text>Proceed with caution!</text>
1477 </object>
1478
1479 <object type="button">
1480 <condition var1="tw_partition_ext" op="=" var2="1" />
1481 <highlight color="%highlight_color%" />
1482 <placement x="%col1_x%" y="%row2_y%" />
1483 <font resource="font" color="%button_text_color%" />
1484 <text>EXT2</text>
1485 <image resource="main_button" />
1486 <actions>
1487 <action function="set">tw_back=selectfilesystem</action>
1488 <action function="set">tw_action=changefilesystem</action>
1489 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1490 <action function="set">tw_action_new_file_system=ext2</action>
1491 <action function="set">tw_has_action2=0</action>
1492 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1493 <action function="set">tw_text2=</action>
1494 <action function="set">tw_action_text1=Formatting...</action>
1495 <action function="set">tw_complete_text1=Format Complete</action>
1496 <action function="set">tw_slider_text=Swipe to Change</action>
1497 <action function="page">confirm_action</action>
1498 </actions>
1499 </object>
1500
1501 <object type="button">
1502 <condition var1="tw_partition_ext" op="=" var2="1" />
1503 <highlight color="%highlight_color%" />
1504 <placement x="%col2_x%" y="%row2_y%" />
1505 <font resource="font" color="%button_text_color%" />
1506 <text>EXT3</text>
1507 <image resource="main_button" />
1508 <actions>
1509 <action function="set">tw_back=selectfilesystem</action>
1510 <action function="set">tw_action=changefilesystem</action>
1511 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1512 <action function="set">tw_action_new_file_system=ext3</action>
1513 <action function="set">tw_has_action2=0</action>
1514 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1515 <action function="set">tw_text2=</action>
1516 <action function="set">tw_action_text1=Formatting...</action>
1517 <action function="set">tw_complete_text1=Format Complete</action>
1518 <action function="set">tw_slider_text=Swipe to Change</action>
1519 <action function="page">confirm_action</action>
1520 </actions>
1521 </object>
1522
1523 <object type="button">
1524 <condition var1="tw_partition_ext" op="=" var2="1" />
1525 <highlight color="%highlight_color%" />
1526 <placement x="%col1_x%" y="%row3_y%" />
1527 <font resource="font" color="%button_text_color%" />
1528 <text>EXT4</text>
1529 <image resource="main_button" />
1530 <actions>
1531 <action function="set">tw_back=selectfilesystem</action>
1532 <action function="set">tw_action=changefilesystem</action>
1533 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1534 <action function="set">tw_action_new_file_system=ext4</action>
1535 <action function="set">tw_has_action2=0</action>
1536 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1537 <action function="set">tw_text2=</action>
1538 <action function="set">tw_action_text1=Formatting...</action>
1539 <action function="set">tw_complete_text1=Format Complete</action>
1540 <action function="set">tw_slider_text=Swipe to Change</action>
1541 <action function="page">confirm_action</action>
1542 </actions>
1543 </object>
1544
1545 <object type="button">
1546 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1547 <highlight color="%highlight_color%" />
1548 <placement x="%col2_x%" y="%row3_y%" />
1549 <font resource="font" color="%button_text_color%" />
1550 <text>F2FS</text>
1551 <image resource="main_button" />
1552 <actions>
1553 <action function="set">tw_back=selectfilesystem</action>
1554 <action function="set">tw_action=changefilesystem</action>
1555 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1556 <action function="set">tw_action_new_file_system=f2fs</action>
1557 <action function="set">tw_has_action2=0</action>
1558 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1559 <action function="set">tw_text2=</action>
1560 <action function="set">tw_action_text1=Formatting...</action>
1561 <action function="set">tw_complete_text1=Format Complete</action>
1562 <action function="set">tw_slider_text=Swipe to Change</action>
1563 <action function="page">confirm_action</action>
1564 </actions>
1565 </object>
1566
1567 <object type="button">
1568 <condition var1="tw_partition_vfat" op="=" var2="1" />
1569 <highlight color="%highlight_color%" />
1570 <placement x="%col1_x%" y="%row4_y%" />
1571 <font resource="font" color="%button_text_color%" />
1572 <text>FAT</text>
1573 <image resource="main_button" />
1574 <actions>
1575 <action function="set">tw_back=selectfilesystem</action>
1576 <action function="set">tw_action=changefilesystem</action>
1577 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1578 <action function="set">tw_action_new_file_system=vfat</action>
1579 <action function="set">tw_has_action2=0</action>
1580 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1581 <action function="set">tw_text2=</action>
1582 <action function="set">tw_action_text1=Formatting...</action>
1583 <action function="set">tw_complete_text1=Format Complete</action>
1584 <action function="set">tw_slider_text=Swipe to Change</action>
1585 <action function="page">confirm_action</action>
1586 </actions>
1587 </object>
1588
1589 <object type="button">
1590 <condition var1="tw_partition_exfat" op="=" var2="1" />
1591 <highlight color="%highlight_color%" />
1592 <placement x="%col2_x%" y="%row4_y%" />
1593 <font resource="font" color="%button_text_color%" />
1594 <text>exFAT</text>
1595 <image resource="main_button" />
1596 <actions>
1597 <action function="set">tw_back=selectfilesystem</action>
1598 <action function="set">tw_action=changefilesystem</action>
1599 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1600 <action function="set">tw_action_new_file_system=exfat</action>
1601 <action function="set">tw_has_action2=0</action>
1602 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1603 <action function="set">tw_text2=</action>
1604 <action function="set">tw_action_text1=Formatting...</action>
1605 <action function="set">tw_complete_text1=Format Complete</action>
1606 <action function="set">tw_slider_text=Swipe to Change</action>
1607 <action function="page">confirm_action</action>
1608 </actions>
1609 </object>
1610
1611 <object type="action">
1612 <touch key="home" />
1613 <action function="page">main</action>
1614 </object>
1615
1616 <object type="action">
1617 <touch key="back" />
1618 <action function="page">partitionoptions</action>
1619 </object>
1620
1621 <object type="template" name="footer" />
1622 </page>
1623
masteroftimeb58e6d22014-01-15 20:16:17 +00001624 <page name="backup">
1625 <object type="template" name="header" />
1626
1627 <object type="button">
1628 <highlight color="%highlight_color%" />
1629 <fill color="%button_fill_color%" />
1630 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
1631 <font resource="font" color="%button_text_color%" />
1632 <text>Backup Name: %tw_backup_name%</text>
1633 <actions>
1634 <action function="set">tw_fileexists=0</action>
1635 <action function="page">backupname1</action>
1636 </actions>
1637 </object>
1638
1639 <object type="partitionlist">
1640 <highlight color="%fileselector_highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001641 <placement x="%listbox_x%" y="%backup_list_y%" w="%listbox_width%" h="%backup_list_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001642 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1643 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1644 <text>Select Partitions to Back Up:</text>
1645 <icon selected="checkbox_true" unselected="checkbox_false" />
1646 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1647 <background color="%listbox_background%" />
1648 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1649 <data name="tw_backup_list" />
1650 <listtype name="backup" />
1651 </object>
1652
1653 <object type="button">
masteroftimeb58e6d22014-01-15 20:16:17 +00001654 <highlight color="%highlight_color%" />
1655 <fill color="%button_fill_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001656 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001657 <font resource="font" color="%button_text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001658 <text>More...</text>
1659 <action function="page">backupoptions</action>
masteroftimeb58e6d22014-01-15 20:16:17 +00001660 </object>
1661
1662 <object type="button">
1663 <highlight color="%highlight_color%" />
1664 <fill color="%button_fill_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001665 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001666 <font resource="font" color="%button_text_color%" />
1667 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1668 <actions>
1669 <action function="set">tw_back=backup</action>
1670 <action function="page">selectstorage</action>
1671 </actions>
1672 </object>
1673
1674 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001675 <placement x="%col1_x%" y="%backup_button_row1%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001676 <font resource="font" color="%text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001677 <text>Compression</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00001678 <data variable="tw_use_compression" />
1679 <image checked="checkbox_true" unchecked="checkbox_false" />
1680 </object>
1681
masteroftimeb58e6d22014-01-15 20:16:17 +00001682 <object type="slider">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001683 <placement x="%slider_x%" y="%slider_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001684 <resource base="slider" used="slider-used" touch="slider-touch" />
1685 <action function="page">backup_run</action>
1686 </object>
1687
1688 <object type="text" color="%text_color%">
1689 <font resource="font" />
1690 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1691 <text>Swipe to Back Up</text>
1692 </object>
1693
1694 <object type="action">
1695 <touch key="home" />
1696 <action function="page">main</action>
1697 </object>
1698
1699 <object type="action">
1700 <touch key="back" />
1701 <action function="page">main</action>
1702 </object>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001703 </page>
masteroftimeb58e6d22014-01-15 20:16:17 +00001704
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001705 <page name="backupoptions">
1706 <object type="template" name="header" />
1707
1708 <object type="text" color="%text_color%">
1709 <font resource="font" />
1710 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1711 <text>More Backup Options</text>
1712 </object>
1713
1714 <object type="button">
1715 <conditions>
1716 <condition var1="tw_include_encrypted_backup" var2="1" />
1717 <condition var1="tw_encrypt_backup" var2="0" />
1718 </conditions>
1719 <highlight color="%highlight_color%" />
1720 <fill color="%button_fill_color%" />
1721 <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1722 <font resource="font" color="%button_text_color%" />
1723 <text>No Encryption</text>
1724 <actions>
1725 <action function="page">backupencryption</action>
1726 </actions>
1727 </object>
1728
1729 <object type="button">
1730 <conditions>
1731 <condition var1="tw_include_encrypted_backup" var2="1" />
1732 <condition var1="tw_encrypt_backup" var2="1" />
1733 </conditions>
1734 <highlight color="%highlight_color%" />
1735 <fill color="%button_fill_color%" />
1736 <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1737 <font resource="font" color="%button_text_color%" />
1738 <text>Using Encryption</text>
1739 <actions>
1740 <action function="set">tw_password_not_match=0</action>
1741 <action function="page">backupencryption</action>
1742 </actions>
1743 </object>
1744
1745 <object type="button">
1746 <highlight color="%highlight_color%" />
1747 <fill color="%button_fill_color%" />
1748 <placement x="%col2_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1749 <font resource="font" color="%button_text_color%" />
1750 <text>Refresh Sizes</text>
1751 <actions>
1752 <action function="refreshsizes"></action>
1753 <action function="page">backupoptions</action>
1754 </actions>
1755 </object>
1756
1757 <object type="button">
1758 <highlight color="%highlight_color%" />
1759 <fill color="%button_fill_color%" />
1760 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1761 <font resource="font" color="%button_text_color%" />
1762 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1763 <actions>
1764 <action function="set">tw_back=backupotions</action>
1765 <action function="page">selectstorage</action>
1766 </actions>
1767 </object>
1768
1769 <object type="checkbox">
1770 <placement x="%col1_x%" y="%row2_text_y%" />
1771 <font resource="font" color="%text_color%" />
1772 <text>Enable compression.</text>
1773 <data variable="tw_use_compression" />
1774 <image checked="checkbox_true" unchecked="checkbox_false" />
1775 </object>
1776
1777 <object type="checkbox">
1778 <placement x="%col1_x%" y="%row4_text_y%" />
1779 <font resource="font" color="%text_color%" />
1780 <text>Skip MD5 generation during backup.</text>
1781 <data variable="tw_skip_md5_generate" />
1782 <image checked="checkbox_true" unchecked="checkbox_false" />
1783 </object>
1784
1785 <object type="action">
1786 <touch key="home" />
1787 <action function="page">main</action>
1788 </object>
1789
1790 <object type="action">
1791 <touch key="back" />
1792 <action function="page">backup</action>
1793 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00001794 </page>
1795
1796 <page name="backupname1">
1797 <object type="action">
1798 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1799 <action function="generatebackupname"></function>
1800 </object>
1801
1802 <object type="action">
1803 <action function="page">backupname2</function>
1804 </object>
1805 </page>
1806
1807 <page name="backupname2">
1808 <object type="template" name="header" />
1809
1810 <object type="text" color="%text_color%">
1811 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1812 <font resource="font" />
1813 <text>Please Enter a Backup Name</text>
1814 </object>
1815
1816 <object type="input">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001817 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001818 <background color="%input_background_color%" />
1819 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1820 <font resource="font" color="%text_color%" />
1821 <text>%tw_backup_name%</text>
1822 <data name="tw_backup_name" />
1823 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1824 <actions>
1825 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1826 <action function="set">tw_existpage=backupname2</action>
1827 <action function="set">tw_notexistpage=backup</action>
1828 <action function="page">filecheck</action>
1829 </actions>
1830 </object>
1831
1832 <object type="text" color="%text_fail_color%">
1833 <condition var1="tw_fileexists" var2="1" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001834 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001835 <font resource="font" />
1836 <text>A backup with that name already exists!</text>
1837 </object>
1838
1839 <object type="button">
1840 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001841 <placement x="%col1_x%" y="%row2_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001842 <font resource="font" color="%button_text_color%" />
1843 <text>Append Date</text>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001844 <image resource="main_button" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001845 <action function="appenddatetobackupname"></action>
1846 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05001847
masteroftimeb58e6d22014-01-15 20:16:17 +00001848 <object type="button">
1849 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001850 <placement x="%col2_x%" y="%row2_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001851 <font resource="font" color="%button_text_color%" />
1852 <text>Cancel</text>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001853 <image resource="main_button" />
1854 <actions>
1855 <action function="set">tw_backup_name=(Auto Generate)</action>
1856 <action function="page">backup</action>
1857 </actions>
masteroftimeb58e6d22014-01-15 20:16:17 +00001858 </object>
1859
1860 <object type="template" name="keyboardtemplate" />
1861
1862 <object type="action">
1863 <touch key="home" />
1864 <actions>
1865 <action function="set">tw_backup_name=(Auto Generate)</action>
1866 <action function="page">main</action>
1867 </actions>
1868 </object>
1869
1870 <object type="action">
1871 <touch key="back" />
1872 <actions>
1873 <action function="set">tw_backup_name=(Auto Generate)</action>
1874 <action function="page">backup</action>
1875 </actions>
1876 </object>
1877
1878 <object type="template" name="footer" />
1879 </page>
1880
1881 <page name="backupencryption">
1882 <object type="template" name="header" />
1883
1884 <object type="text" color="%text_color%">
1885 <font resource="font" />
1886 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1887 <text>Encrypt your backup?</text>
1888 </object>
1889
1890 <object type="text" color="%text_color%">
1891 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001892 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001893 <text>Please Enter A Password:</text>
1894 </object>
1895
1896 <object type="input">
1897 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1898 <background color="%input_background_color%" />
1899 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1900 <font resource="font" color="%text_color%" />
1901 <text>%tw_backup_encrypt_display%</text>
1902 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1903 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1904 <action function="page">backupencryption2</action>
1905 </object>
1906
1907 <object type="text" color="%text_fail_color%">
1908 <condition var1="tw_password_not_match" var2="1" />
1909 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001910 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001911 <text>Passwords Do Not Match</text>
1912 </object>
1913
1914 <object type="button">
1915 <highlight color="%highlight_color%" />
1916 <placement x="%col_center_x%" y="%row2_y%" />
1917 <font resource="font" color="%button_text_color%" />
1918 <text>Cancel</text>
1919 <image resource="main_button" />
1920 <actions>
1921 <action function="set">tw_encrypt_backup=0</action>
1922 <action function="set">tw_backup_password=</action>
1923 <action function="set">tw_backup_password2=</action>
1924 <action function="set">tw_backup_encrypt_display=</action>
1925 <action function="set">tw_backup_encrypt_display2=</action>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001926 <action function="page">backupoptions</action>
masteroftimeb58e6d22014-01-15 20:16:17 +00001927 </actions>
1928 </object>
1929
1930 <object type="template" name="keyboardtemplate" />
1931
1932 <object type="action">
1933 <touch key="home" />
1934 <action function="page">main</action>
1935 </object>
1936
1937 <object type="action">
1938 <touch key="back" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001939 <action function="page">backupoptions</action>
masteroftimeb58e6d22014-01-15 20:16:17 +00001940 </object>
1941
1942 <object type="template" name="footer" />
1943 </page>
1944
1945 <page name="backupencryption2">
1946 <object type="template" name="header" />
1947
1948 <object type="text" color="%text_color%">
1949 <font resource="font" />
1950 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1951 <text>Encrypt your backup?</text>
1952 </object>
1953
1954 <object type="text" color="%text_color%">
1955 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001956 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00001957 <text>Please Enter Password Again:</text>
1958 </object>
1959
1960 <object type="input">
1961 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1962 <background color="%input_background_color%" />
1963 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1964 <font resource="font" color="%text_color%" />
1965 <text>%tw_backup_encrypt_display2%</text>
1966 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1967 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1968 <actions>
1969 <action function="page">checkbackuppassword</action>
1970 </actions>
1971 </object>
1972
1973 <object type="button">
1974 <highlight color="%highlight_color%" />
1975 <placement x="%col_center_x%" y="%row2_y%" />
1976 <font resource="font" color="%button_text_color%" />
1977 <text>Cancel</text>
1978 <image resource="main_button" />
1979 <actions>
1980 <action function="set">tw_encrypt_backup=0</action>
1981 <action function="set">tw_backup_password=</action>
1982 <action function="set">tw_backup_password2=</action>
1983 <action function="set">tw_backup_encrypt_display=</action>
1984 <action function="set">tw_backup_encrypt_display2=</action>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001985 <action function="page">backupoptions</action>
masteroftimeb58e6d22014-01-15 20:16:17 +00001986 </actions>
1987 </object>
1988
1989 <object type="template" name="keyboardtemplate" />
1990
1991 <object type="action">
1992 <touch key="home" />
1993 <action function="page">main</action>
1994 </object>
1995
1996 <object type="action">
1997 <touch key="back" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05001998 <action function="page">backupoptions</action>
masteroftimeb58e6d22014-01-15 20:16:17 +00001999 </object>
2000
2001 <object type="template" name="footer" />
2002 </page>
2003
2004 <page name="checkbackuppassword">
2005 <object type="action">
2006 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2007 <actions>
2008 <action function="set">tw_encrypt_backup=1</action>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002009 <action function="page">backupoptions</action>
masteroftimeb58e6d22014-01-15 20:16:17 +00002010 </actions>
2011 </object>
2012
2013 <object type="action">
2014 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2015 <actions>
2016 <action function="set">tw_encrypt_backup=0</action>
2017 <action function="set">tw_password_not_match=1</action>
2018 <action function="set">tw_backup_password=</action>
2019 <action function="set">tw_backup_password2=</action>
2020 <action function="set">tw_backup_encrypt_display=</action>
2021 <action function="set">tw_backup_encrypt_display2=</action>
2022 <action function="page">backupencryption</action>
2023 </actions>
2024 </object>
2025 </page>
2026
2027 <page name="backup_run">
2028 <object type="template" name="header" />
2029
2030 <object type="text" color="%text_color%">
2031 <font resource="font" />
2032 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2033 <text>%tw_operation% %tw_partition%</text>
2034 </object>
2035
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002036 <object type="text" color="%text_color%">
2037 <font resource="font" />
2038 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2039 <text>%tw_file_progress%</text>
2040 </object>
2041
2042 <object type="text" color="%text_color%">
2043 <font resource="font" />
2044 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2045 <text>%tw_size_progress%</text>
2046 </object>
2047
masteroftimeb58e6d22014-01-15 20:16:17 +00002048 <object type="template" name="action_page_console" />
2049
2050 <object type="template" name="progress_bar" />
2051
2052 <object type="action">
2053 <action function="nandroid">backup</action>
2054 </object>
2055
2056 <object type="action">
2057 <condition var1="tw_operation_state" var2="1" />
2058 <actions>
2059 <action function="set">tw_back=backup</action>
2060 <action function="set">tw_complete_text1=Backup Complete</action>
2061 <action function="set">tw_show_reboot=1</action>
2062 <action function="page">action_complete</action>
2063 </actions>
2064 </object>
2065 </page>
2066
2067 <page name="restore">
2068 <object type="template" name="header" />
2069
2070 <object type="button">
2071 <highlight color="%highlight_color%" />
2072 <fill color="%button_fill_color%" />
2073 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2074 <font resource="font" color="%button_text_color%" />
2075 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2076 <actions>
2077 <action function="set">tw_back=restore</action>
2078 <action function="page">selectstorage</action>
2079 </actions>
2080 </object>
2081
2082 <object type="fileselector">
2083 <highlight color="%fileselector_highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002084 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002085 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2086 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2087 <text>Select Package to Restore:</text>
2088 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2089 <sort name="tw_gui_sort_order" />
2090 <icon folder="folder_icon" file="file_icon" />
2091 <background color="%fileselector_background%" />
2092 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2093 <filter folders="1" files="0" nav="0" />
2094 <path name="tw_backups_folder" />
2095 <data name="tw_restore" default="" />
2096 <selection name="tw_restore_name" />
2097 </object>
2098
2099 <object type="template" name="sort_options" />
2100
2101 <object type="action">
2102 <condition var1="tw_restore" op="modified" />
2103 <actions>
2104 <action function="readBackup"></action>
2105 <action function="page">restore_read</action>
2106 </actions>
2107 </object>
2108
2109 <object type="action">
2110 <touch key="home" />
2111 <action function="page">main</action>
2112 </object>
2113
2114 <object type="action">
2115 <touch key="back" />
2116 <action function="page">main</action>
2117 </object>
2118
2119 <object type="template" name="footer" />
2120 </page>
2121
2122 <page name="restore_read">
2123 <object type="action">
2124 <condition var1="tw_restore_encrypted" var2="1" />
2125 <actions>
2126 <action function="set">tw_password_fail=0</action>
2127 <action function="page">restore_decrypt</action>
2128 </actions>
2129 </object>
2130
2131 <object type="action">
2132 <condition var1="tw_restore_encrypted" var2="0" />
2133 <actions>
2134 <action function="page">restore_select</action>
2135 </actions>
2136 </object>
2137 </page>
2138
2139 <page name="restore_decrypt">
2140 <object type="template" name="header" />
2141
2142 <object type="text" color="%text_color%">
2143 <font resource="font" />
2144 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2145 <text>Backup Encrypted</text>
2146 </object>
2147
2148 <object type="text" color="%text_color%">
2149 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002150 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002151 <text>Please Enter Your Password:</text>
2152 </object>
2153
2154 <object type="input">
2155 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2156 <background color="%input_background_color%" />
2157 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2158 <font resource="font" color="%text_color%" />
2159 <text>%tw_restore_display%</text>
2160 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2161 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2162 <actions>
2163 <action function="page">try_restore_decrypt</action>
2164 </actions>
2165 </object>
2166
2167 <object type="text" color="%text_fail_color%">
2168 <condition var1="tw_password_fail" var2="1" />
2169 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002170 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002171 <text>Password Failed, Please Try Again</text>
2172 </object>
2173
2174 <object type="button">
2175 <highlight color="%highlight_color%" />
2176 <placement x="%col1_x%" y="%row2_y%" />
2177 <font resource="font" color="%button_text_color%" />
2178 <text>Cancel</text>
2179 <image resource="main_button" />
2180 <actions>
2181 <action function="set">tw_page_done=1</action>
2182 <action function="page">restore</action>
2183 </actions>
2184 </object>
2185
2186 <object type="button">
2187 <highlight color="%highlight_color%" />
2188 <placement x="%col2_x%" y="%row2_y%" />
2189 <font resource="font" color="%button_text_color%" />
2190 <text>Delete</text>
2191 <image resource="main_button" />
2192 <actions>
2193 <action function="set">tw_back=restore</action>
2194 <action function="set">tw_action=cmd</action>
2195 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2196 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2197 <action function="set">tw_text2=This cannot be undone!</action>
2198 <action function="set">tw_action_text1=Deleting Backup...</action>
2199 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2200 <action function="set">tw_slider_text=Swipe to Delete</action>
2201 <action function="page">confirm_action</action>
2202 </actions>
2203 </object>
2204
2205 <object type="template" name="keyboardtemplate" />
2206
2207 <object type="action">
2208 <touch key="home" />
2209 <action function="page">main</action>
2210 </object>
2211
2212 <object type="action">
2213 <touch key="back" />
2214 <action function="page">restore</action>
2215 </object>
2216
2217 <object type="template" name="footer" />
2218 </page>
2219
2220 <page name="try_restore_decrypt">
2221 <object type="template" name="header" />
2222
2223 <object type="text" color="%text_color%">
2224 <font resource="font" />
2225 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2226 <text>Trying Decryption with Your Password</text>
2227 </object>
2228
2229 <object type="template" name="action_page_console" />
2230
2231 <object type="template" name="progress_bar" />
2232
2233 <object type="action">
2234 <action function="decrypt_backup"></action>
2235 </object>
2236
2237 <object type="action">
2238 <conditions>
2239 <condition var1="tw_operation_state" var2="1" />
2240 <condition var1="tw_operation_status" op="!=" var2="0" />
2241 </conditions>
2242 <actions>
2243 <action function="set">tw_password_fail=1</action>
2244 <action function="page">restore_decrypt</action>
2245 </actions>
2246 </object>
2247
2248 <object type="action">
2249 <conditions>
2250 <condition var1="tw_operation_state" var2="1" />
2251 <condition var1="tw_operation_status" op="=" var2="0" />
2252 </conditions>
2253 <actions>
2254 <action function="set">tw_page_done=1</action>
2255 <action function="page">restore_select</action>
2256 </actions>
2257 </object>
2258 </page>
2259
2260 <page name="restore_select">
2261 <object type="template" name="header" />
2262
2263 <object type="partitionlist">
2264 <highlight color="%fileselector_highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002265 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%restore_list_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002266 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2267 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2268 <text>Restoring: %tw_restore_name%</text>
2269 <icon selected="checkbox_true" unselected="checkbox_false" />
2270 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2271 <background color="%listbox_background%" />
2272 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2273 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2274 <listtype name="restore" />
2275 </object>
2276
2277 <object type="button">
2278 <highlight color="%highlight_color%" />
2279 <fill color="%button_fill_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002280 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002281 <font resource="font" color="%button_text_color%" />
2282 <text>Rename Backup</text>
2283 <actions>
2284 <action function="set">tw_backup_rename=</action>
2285 <action function="set">tw_fileexists=0</action>
2286 <action function="page">renamebackup</action>
2287 </actions>
2288 </object>
2289
2290 <object type="button">
2291 <highlight color="%highlight_color%" />
2292 <fill color="%button_fill_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002293 <placement x="%col2_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002294 <font resource="font" color="%button_text_color%" />
2295 <text>Delete Backup</text>
2296 <actions>
2297 <action function="set">tw_back=restore</action>
2298 <action function="set">tw_action=cmd</action>
2299 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2300 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2301 <action function="set">tw_text2=This cannot be undone!</action>
2302 <action function="set">tw_action_text1=Deleting Backup...</action>
2303 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2304 <action function="set">tw_slider_text=Swipe to Delete</action>
2305 <action function="page">confirm_action</action>
2306 </actions>
2307 </object>
2308
2309 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002310 <placement x="%col1_x%" y="%backup_button_row1%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002311 <font resource="font" color="%text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002312 <text>Enable MD5 verification of backup.</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00002313 <data variable="tw_skip_md5_check" />
2314 <image checked="checkbox_true" unchecked="checkbox_false" />
2315 </object>
2316
masteroftimeb58e6d22014-01-15 20:16:17 +00002317 <object type="slider">
2318 <placement x="%slider_x%" y="%slider_y%" />
2319 <resource base="slider" used="slider-used" touch="slider-touch" />
2320 <action function="page">restore_run</action>
2321 </object>
2322
2323 <object type="text" color="%text_color%">
2324 <font resource="font" />
2325 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2326 <text>Swipe to Restore</text>
2327 </object>
2328
2329 <object type="action">
2330 <touch key="home" />
2331 <action function="page">main</action>
2332 </object>
2333
2334 <object type="action">
2335 <touch key="back" />
2336 <action function="page">restore</action>
2337 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00002338 </page>
2339
2340 <page name="renamebackup">
2341 <object type="template" name="header" />
2342
2343 <object type="text" color="%text_color%">
2344 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2345 <font resource="font" />
2346 <text>Please Enter a New Backup Name</text>
2347 </object>
2348
2349 <object type="input">
2350 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2351 <background color="%input_background_color%" />
2352 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2353 <font resource="font" color="%text_color%" />
2354 <text>%tw_backup_rename%</text>
2355 <data name="tw_backup_rename" />
2356 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2357 <actions>
2358 <action function="set">tw_back=restore</action>
2359 <action function="set">tw_action=cmd</action>
2360 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2361 <action function="set">tw_text1=Rename Backup?</action>
2362 <action function="set">tw_text2=This cannot be undone!</action>
2363 <action function="set">tw_action_text1=Renaming Backup...</action>
2364 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2365 <action function="set">tw_slider_text=Swipe to Rename</action>
2366 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2367 <action function="set">tw_existpage=renamebackup</action>
2368 <action function="set">tw_notexistpage=confirm_action</action>
2369 <action function="page">filecheck</action>
2370 </actions>
2371 </object>
2372
2373 <object type="text" color="%text_fail_color%">
2374 <condition var1="tw_fileexists" var2="1" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002375 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002376 <font resource="font" />
2377 <text>A backup with that name already exists!</text>
2378 </object>
2379
2380 <object type="button">
2381 <highlight color="%highlight_color%" />
2382 <placement x="%col_center_x%" y="%row2_y%" />
2383 <font resource="font" color="%button_text_color%" />
2384 <text>Cancel</text>
2385 <image resource="main_button" />
2386 <action function="page">restore_select</action>
2387 </object>
2388
2389 <object type="template" name="keyboardtemplate" />
2390
2391 <object type="action">
2392 <touch key="home" />
2393 <action function="page">main</action>
2394 </object>
2395
2396 <object type="action">
2397 <touch key="back" />
2398 <action function="page">restore_select</action>
2399 </object>
2400
2401 <object type="template" name="footer" />
2402 </page>
2403
2404 <page name="restore_run">
2405 <object type="template" name="header" />
2406
2407 <object type="text" color="%text_color%">
2408 <font resource="font" />
2409 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2410 <text>%tw_operation% %tw_partition%</text>
2411 </object>
2412
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002413 <object type="text" color="%text_color%">
2414 <font resource="font" />
2415 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2416 <text>%tw_size_progress%</text>
2417 </object>
2418
masteroftimeb58e6d22014-01-15 20:16:17 +00002419 <object type="template" name="action_page_console" />
2420
2421 <object type="template" name="progress_bar" />
2422
2423 <object type="action">
2424 <condition var1="tw_operation_state" var2="1" />
2425 <actions>
2426 <action function="set">tw_back=restore_select</action>
2427 <action function="set">tw_complete_text1=Restore Complete</action>
2428 <action function="set">tw_show_reboot=1</action>
2429 <action function="page">action_complete</action>
2430 </actions>
2431 </object>
2432
2433 <object type="action">
2434 <action function="nandroid">restore</action>
2435 </object>
2436 </page>
2437
2438 <page name="selectstorage">
2439 <object type="template" name="header" />
2440
2441 <object type="partitionlist">
2442 <highlight color="%fileselector_highlight_color%" />
2443 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2444 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2445 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2446 <text>Select Storage:</text>
2447 <icon selected="radio_true" unselected="radio_false" />
2448 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2449 <background color="%listbox_background%" />
2450 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2451 <data name="tw_storage_path" />
2452 <listtype name="storage" />
2453 </object>
2454
2455 <object type="button">
2456 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002457 <placement x="%col_center_x%" y="%row4_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002458 <font resource="font" color="%button_text_color%" />
2459 <text>OK</text>
2460 <image resource="main_button" />
2461 <actions>
2462 <action function="set">tw_clear_destination=%tw_back%</action>
2463 <action function="page">clear_vars</action>
2464 </actions>
2465 </object>
2466
2467 <object type="action">
2468 <touch key="home" />
2469 <action function="page">main</action>
2470 </object>
2471
2472 <object type="action">
2473 <touch key="back" />
2474 <actions>
2475 <action function="page">%tw_back%</action>
2476 </actions>
2477 </object>
2478
2479 <object type="template" name="footer" />
2480 </page>
2481
2482 <page name="mount">
2483 <object type="template" name="header" />
2484
2485 <object type="partitionlist">
2486 <highlight color="%fileselector_highlight_color%" />
2487 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2488 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2489 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2490 <text>Select Partitions to Mount:</text>
2491 <icon selected="checkbox_true" unselected="checkbox_false" />
2492 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2493 <background color="%listbox_background%" />
2494 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2495 <listtype name="mount" />
2496 </object>
2497
2498 <object type="button">
2499 <highlight color="%highlight_color%" />
2500 <fill color="%button_fill_color%" />
2501 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2502 <font resource="font" color="%button_text_color%" />
2503 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2504 <actions>
2505 <action function="set">tw_back=mount</action>
2506 <action function="page">selectstorage</action>
2507 </actions>
2508 </object>
2509
2510 <object type="button">
2511 <highlight color="%highlight_color%" />
2512 <condition var1="tw_has_usb_storage" var2="1" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002513 <placement x="%col1_x%" y="row4_y" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002514 <font resource="font" color="%button_text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002515 <text>USB Storage</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00002516 <image resource="main_button" />
2517 <action function="page">usb_mount</action>
2518 </object>
2519
2520 <object type="button">
2521 <highlight color="%highlight_color%" />
2522 <conditions>
2523 <condition var1="tw_is_encrypted" var2="1" />
2524 <condition var1="tw_is_decrypted" var2="0" />
2525 </conditions>
2526 <placement x="%col2_x%" y="row4_y" />
2527 <font resource="font" color="%button_text_color%" />
2528 <text>Decrypt Data</text>
2529 <image resource="main_button" />
2530 <action function="page">decrypt</action>
2531 </object>
2532
2533 <object type="action">
2534 <touch key="home" />
2535 <action function="page">main</action>
2536 </object>
2537
2538 <object type="action">
2539 <touch key="back" />
2540 <action function="page">main</action>
2541 </object>
2542
2543 <object type="template" name="footer" />
2544 </page>
2545
2546 <page name="usb_mount">
2547 <object type="template" name="header" />
2548
2549 <object type="text" color="%text_color%">
2550 <font resource="font" />
2551 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2552 <text>USB Storage Mounted</text>
2553 </object>
2554
2555 <object type="text" color="%text_color%">
2556 <placement x="%col1_x%" y="%row1_text_y%" />
2557 <font resource="font" />
2558 <text>Be sure to safely remove your device</text>
2559 </object>
2560
2561 <object type="text" color="%text_color%">
2562 <placement x="%col1_x%" y="%row2_text_y%" />
2563 <font resource="font" />
2564 <text>from your computer before unmounting!</text>
2565 </object>
2566
2567 <object type="button">
2568 <highlight color="%highlight_color%" />
2569 <placement x="%col1_x%" y="%row3_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>Unmount</text>
2572 <image resource="main_button" />
2573 <action function="page">usb_umount</action>
2574 </object>
2575
2576 <object type="action">
2577 <action function="mount">usb</action>
2578 </object>
2579
2580 <object type="template" name="footer" />
2581 </page>
2582
2583 <page name="usb_umount">
2584 <object type="action">
2585 <action function="unmount">usb</action>
2586 </object>
2587
2588 <object type="action">
2589 <action function="page">mount</action>
2590 </object>
2591 </page>
2592
2593 <page name="reboot">
2594 <object type="template" name="header" />
2595
2596 <object type="text" color="%text_color%">
2597 <font resource="font" />
2598 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2599 <text>Reboot Menu</text>
2600 </object>
2601
2602 <object type="button">
2603 <highlight color="%highlight_color%" />
2604 <condition var1="tw_reboot_system" var2="1" />
2605 <placement x="%col1_x%" y="%row1_y%" />
2606 <font resource="font" color="%button_text_color%" />
2607 <text>System</text>
2608 <image resource="main_button" />
2609 <actions>
2610 <action function="set">tw_back=reboot</action>
2611 <action function="set">tw_action=reboot</action>
2612 <action function="set">tw_action_param=system</action>
2613 <action function="set">tw_has_action2=0</action>
2614 <action function="set">tw_text1=No OS Installed! Are you</action>
2615 <action function="set">tw_text2=sure you wish to reboot?</action>
2616 <action function="set">tw_action_text1=Rebooting...</action>
2617 <action function="set">tw_complete_text1=Rebooting...</action>
2618 <action function="set">tw_slider_text=Swipe to Reboot</action>
2619 <action function="page">rebootcheck</action>
2620 </actions>
2621 </object>
2622
2623 <object type="button">
2624 <highlight color="%highlight_color%" />
2625 <condition var1="tw_reboot_poweroff" var2="1" />
2626 <placement x="%col2_x%" y="%row1_y%" />
2627 <font resource="font" color="%button_text_color%" />
2628 <text>Power Off</text>
2629 <image resource="main_button" />
2630 <actions>
2631 <action function="set">tw_back=reboot</action>
2632 <action function="set">tw_action=reboot</action>
2633 <action function="set">tw_action_param=poweroff</action>
2634 <action function="set">tw_has_action2=0</action>
2635 <action function="set">tw_text1=No OS Installed! Are you</action>
2636 <action function="set">tw_text2=sure you wish to power off?</action>
2637 <action function="set">tw_action_text1=Turning Off...</action>
2638 <action function="set">tw_complete_text1=Turning Off...</action>
2639 <action function="set">tw_slider_text=Swipe to Power Off</action>
2640 <action function="page">rebootcheck</action>
2641 </actions>
2642 </object>
2643
2644 <object type="button">
2645 <highlight color="%highlight_color%" />
2646 <condition var1="tw_reboot_recovery" var2="1" />
2647 <placement x="%col1_x%" y="%row2_y%" />
2648 <font resource="font" color="%button_text_color%" />
2649 <text>Recovery</text>
2650 <image resource="main_button" />
2651 <actions>
2652 <action function="set">tw_back=reboot</action>
2653 <action function="set">tw_action=reboot</action>
2654 <action function="set">tw_action_param=recovery</action>
2655 <action function="set">tw_has_action2=0</action>
2656 <action function="set">tw_text1=No OS Installed! Are you</action>
2657 <action function="set">tw_text2=sure you wish to reboot?</action>
2658 <action function="set">tw_action_text1=Rebooting...</action>
2659 <action function="set">tw_complete_text1=Rebooting...</action>
2660 <action function="set">tw_slider_text=Swipe to Reboot</action>
2661 <action function="page">rebootcheck</action>
2662 </actions>
2663 </object>
2664
2665 <object type="button">
2666 <highlight color="%highlight_color%" />
2667 <condition var1="tw_reboot_bootloader" var2="1" />
2668 <placement x="%col2_x%" y="%row2_y%" />
2669 <font resource="font" color="%button_text_color%" />
2670 <text>Bootloader</text>
2671 <image resource="main_button" />
2672 <actions>
2673 <action function="set">tw_back=reboot</action>
2674 <action function="set">tw_action=reboot</action>
2675 <action function="set">tw_action_param=bootloader</action>
2676 <action function="set">tw_has_action2=0</action>
2677 <action function="set">tw_text1=No OS Installed! Are you</action>
2678 <action function="set">tw_text2=sure you wish to reboot?</action>
2679 <action function="set">tw_action_text1=Rebooting...</action>
2680 <action function="set">tw_complete_text1=Rebooting...</action>
2681 <action function="set">tw_slider_text=Swipe to Reboot</action>
2682 <action function="page">rebootcheck</action>
2683 </actions>
2684 </object>
2685
2686 <object type="button">
2687 <highlight color="%highlight_color%" />
2688 <condition var1="tw_download_mode" var2="1" />
2689 <placement x="%col1_x%" y="%row3_y%" />
2690 <font resource="font" color="%button_text_color%" />
2691 <text>Download</text>
2692 <image resource="main_button" />
2693 <actions>
2694 <action function="set">tw_back=reboot</action>
2695 <action function="set">tw_action=reboot</action>
2696 <action function="set">tw_action_param=download</action>
2697 <action function="set">tw_has_action2=0</action>
2698 <action function="set">tw_text1=No OS Installed! Are you</action>
2699 <action function="set">tw_text2=sure you wish to reboot?</action>
2700 <action function="set">tw_action_text1=Rebooting...</action>
2701 <action function="set">tw_complete_text1=Rebooting...</action>
2702 <action function="set">tw_slider_text=Swipe to Reboot</action>
2703 <action function="page">rebootcheck</action>
2704 </actions>
2705 </object>
2706
2707 <object type="action">
2708 <touch key="home" />
2709 <action function="page">main</action>
2710 </object>
2711
2712 <object type="action">
2713 <touch key="back" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="template" name="footer" />
2718 </page>
2719
2720 <page name="settings">
2721 <object type="template" name="header" />
2722
masteroftimeb58e6d22014-01-15 20:16:17 +00002723 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002724 <placement x="%col1_x%" y="%row1_header_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002725 <font resource="font" color="%text_color%" />
2726 <text>Zip file signature verification.</text>
2727 <data variable="tw_signed_zip_verify" />
2728 <image checked="checkbox_true" unchecked="checkbox_false" />
2729 </object>
2730
2731 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002732 <placement x="%col1_x%" y="%row1_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002733 <font resource="font" color="%text_color%" />
2734 <text>Use rm -rf instead of formatting.</text>
2735 <data variable="tw_rm_rf" />
2736 <image checked="checkbox_true" unchecked="checkbox_false" />
2737 </object>
2738
2739 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002740 <placement x="%col1_x%" y="%row2_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002741 <font resource="font" color="%text_color%" />
2742 <text>Skip MD5 generation during backup.</text>
2743 <data variable="tw_skip_md5_generate" />
2744 <image checked="checkbox_true" unchecked="checkbox_false" />
2745 </object>
2746
2747 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002748 <placement x="%col1_x%" y="%row3_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002749 <font resource="font" color="%text_color%" />
2750 <text>Enable MD5 verification of backup files.</text>
2751 <data variable="tw_skip_md5_check" />
2752 <image checked="checkbox_true" unchecked="checkbox_false" />
2753 </object>
2754
2755 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002756 <placement x="%col1_x%" y="%row4_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002757 <font resource="font" color="%text_color%" />
2758 <text>Use Military Time.</text>
2759 <data variable="tw_military_time" />
2760 <image checked="checkbox_true" unchecked="checkbox_false" />
2761 </object>
2762
2763 <object type="checkbox">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002764 <placement x="%col1_x%" y="%row5_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002765 <font resource="font" color="%text_color%" />
2766 <text>Simulate actions for theme testing.</text>
2767 <data variable="tw_simulate_actions" />
2768 <image checked="checkbox_true" unchecked="checkbox_false" />
2769 </object>
2770
2771 <object type="checkbox">
2772 <condition var1="tw_simulate_actions" var2="1" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002773 <placement x="%col1_x%" y="%row6_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002774 <font resource="font" color="%text_color%" />
2775 <text>Simulate failure for actions.</text>
2776 <data variable="tw_simulate_fail" />
2777 <image checked="checkbox_true" unchecked="checkbox_false" />
2778 </object>
2779
2780 <object type="button">
2781 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002782 <placement x="%col1_x%" y="%row3_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002783 <font resource="font" color="%button_text_color%" />
2784 <text>Time Zone</text>
2785 <image resource="main_button" />
2786 <action function="page">timezone</action>
2787 </object>
2788
2789 <object type="button">
2790 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002791 <placement x="%col2_x%" y="%row3_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002792 <font resource="font" color="%button_text_color%" />
2793 <text>Screen</text>
2794 <image resource="main_button" />
2795 <action function="page">screen</action>
2796 </object>
2797
2798 <object type="button">
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002799 <highlight color="%highlight_color%" />
2800 <placement x="%col1_x%" y="%row4_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002801 <font resource="font" color="%button_text_color%" />
2802 <text>Restore Defaults</text>
2803 <image resource="main_button" />
2804 <action function="restoredefaultsettings"></action>
2805 </object>
2806
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002807 <object type="button">
2808 <highlight color="%highlight_color%" />
2809 <placement x="%col2_x%" y="%row4_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text>Vibration</text>
2812 <image resource="main_button" />
2813 <action function="page">vibrate</action>
2814 </object>
2815
masteroftimeb58e6d22014-01-15 20:16:17 +00002816 <object type="action">
2817 <touch key="home" />
2818 <action function="page">main</action>
2819 </object>
2820
2821 <object type="action">
2822 <touch key="back" />
2823 <action function="page">main</action>
2824 </object>
2825
2826 <object type="template" name="footer" />
2827 </page>
2828
2829 <page name="timezone">
2830 <object type="template" name="header" />
2831
2832 <object type="listbox">
2833 <highlight color="%fileselector_highlight_color%" />
2834 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2835 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2836 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002837 <text>Select Time Zone:</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00002838 <icon selected="radio_true" unselected="radio_false" />
2839 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2840 <background color="%listbox_background%" />
2841 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2842 <data name="tw_time_zone_guisel" />
2843 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2844 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2845 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2846 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2847 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2848 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2849 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2850 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2851 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2852 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2853 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2854 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2855 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2856 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2857 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2858 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2859 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2860 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2861 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2862 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2863 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2864 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2865 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2866 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2867 </object>
2868
2869 <object type="checkbox">
2870 <placement x="%col1_x%" y="%row_dst_text_y%" />
2871 <font resource="font" color="%text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002872 <text>Do you use daylight savings time (DST)?</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00002873 <data variable="tw_time_zone_guidst" />
2874 <image checked="checkbox_true" unchecked="checkbox_false" />
2875 </object>
2876
2877 <object type="text" color="%text_color%">
2878 <font resource="font" />
2879 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2880 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2881 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002882
masteroftimeb58e6d22014-01-15 20:16:17 +00002883 <object type="button">
2884 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002885 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002886 <font resource="font" color="%button_text_color%" />
2887 <text>None</text>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002888 <image resource="medium_button" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002889 <action function="set">tw_time_zone_guioffset=0</action>
2890 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002891
masteroftimeb58e6d22014-01-15 20:16:17 +00002892 <object type="button">
2893 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002894 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002895 <font resource="font" color="%button_text_color%" />
2896 <text>15</text>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002897 <image resource="medium_button" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002898 <action function="set">tw_time_zone_guioffset=15</action>
2899 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002900
masteroftimeb58e6d22014-01-15 20:16:17 +00002901 <object type="button">
2902 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002903 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002904 <font resource="font" color="%button_text_color%" />
2905 <text>30</text>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002906 <image resource="medium_button" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002907 <action function="set">tw_time_zone_guioffset=30</action>
2908 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002909
masteroftimeb58e6d22014-01-15 20:16:17 +00002910 <object type="button">
2911 <highlight color="%highlight_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002912 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002913 <font resource="font" color="%button_text_color%" />
2914 <text>45</text>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002915 <image resource="medium_button" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002916 <action function="set">tw_time_zone_guioffset=45</action>
2917 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002918
masteroftimeb58e6d22014-01-15 20:16:17 +00002919 <object type="button">
2920 <highlight color="%highlight_color%" />
2921 <placement x="%col_center_x%" y="%tz_set_y%" />
2922 <font resource="font" color="%button_text_color%" />
2923 <text>Set Time Zone</text>
2924 <image resource="main_button" />
2925 <action function="setguitimezone"></action>
2926 </object>
2927
Ethan Yonkerc49a3662014-07-29 11:40:07 -05002928 <object type="text" color="%text_color%">
2929 <font resource="font" />
2930 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2931 <text>Current Time Zone: %tw_time_zone%</text>
2932 </object>
2933
masteroftimeb58e6d22014-01-15 20:16:17 +00002934 <object type="action">
2935 <touch key="home" />
2936 <action function="page">main</action>
2937 </object>
2938
2939 <object type="action">
2940 <touch key="back" />
2941 <action function="page">settings</action>
2942 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00002943 </page>
2944
2945 <page name="screen">
2946 <object type="template" name="header" />
2947
2948 <object type="text" color="%text_color%">
2949 <font resource="font" />
2950 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2951 <text>Screen Settings</text>
2952 </object>
2953
2954 <object type="button">
2955 <placement x="%col1_x%" y="%row2_text_y%" />
2956 <font resource="font" color="%text_color%" />
2957 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2958 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2959 <text>Enable screen timeout.</text>
2960 <image resource="checkbox_false" />
2961 <action function="set">tw_screen_timeout_secs=60</action>
2962 </object>
2963
2964 <object type="button">
2965 <placement x="%col1_x%" y="%row2_text_y%" />
2966 <font resource="font" color="%text_color%" />
2967 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2968 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2969 <text>Enable screen timeout.</text>
2970 <image resource="checkbox_true" />
2971 <action function="set">tw_screen_timeout_secs=0</action>
2972 </object>
2973
2974 <object type="slidervalue">
2975 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2976 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2977 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2978 <font resource="font" color="%text_color%" />
2979 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2980 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2981 <text>Screen timeout in seconds:</text>
2982 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2983 </object>
2984
2985 <object type="slidervalue">
2986 <condition var1="tw_has_brightnesss_file" var2="1" />
Dees Troy54a69f42014-03-06 14:22:28 +00002987 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002988 <font resource="font" color="%text_color%" />
2989 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2990 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2991 <text>Brightness: %tw_brightness_pct%%</text>
2992 <data variable="tw_brightness_pct" min="10" max="100" />
2993 <actions>
2994 <action function="set">tw_brightness=%tw_brightness_max%</action>
2995 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2996 <action function="compute">tw_brightness/100</action>
2997 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
2998 </actions>
2999 </object>
3000
3001 <object type="action">
3002 <touch key="home" />
3003 <action function="page">main</action>
3004 </object>
3005
3006 <object type="action">
3007 <touch key="back" />
3008 <action function="page">settings</action>
3009 </object>
3010
3011 <object type="template" name="footer" />
3012 </page>
3013
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003014 <page name="vibrate">
3015 <object type="template" name="header" />
3016
3017 <object type="text" color="%text_color%">
3018 <font resource="font" />
3019 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3020 <text>Vibration Settings :</text>
3021 </object>
3022
3023 <object type="slidervalue">
3024 <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" />
3025 <font resource="font" color="%text_color%" />
3026 <text>Button Vibration:</text>
3027 <data variable="tw_button_vibrate" min="0" max="300" />
3028 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3029 </object>
3030
3031 <object type="slidervalue">
3032 <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" />
3033 <font resource="font" color="%text_color%" />
3034 <text>Keyboard Vibration:</text>
3035 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3036 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3037 </object>
3038
3039 <object type="slidervalue">
3040 <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" />
3041 <font resource="font" color="%text_color%" />
3042 <text>Action Vibration:</text>
3043 <data variable="tw_action_vibrate" min="0" max="500" />
3044 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3045 </object>
3046
3047 <object type="action">
3048 <touch key="home" />
3049 <action function="page">main</action>
3050 </object>
3051
3052 <object type="action">
3053 <touch key="back" />
3054 <action function="page">settings</action>
3055 </object>
3056
3057 <object type="template" name="footer" />
3058 </page>
3059
masteroftimeb58e6d22014-01-15 20:16:17 +00003060 <page name="advanced">
3061 <object type="template" name="header" />
3062
3063 <object type="text" color="%text_color%">
3064 <font resource="font" />
3065 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3066 <text>Advanced</text>
3067 </object>
3068
3069 <object type="button">
3070 <highlight color="%highlight_color%" />
3071 <placement x="%col1_x%" y="%row1_y%" />
3072 <font resource="font" color="%button_text_color%" />
3073 <text>Copy Log to SD</text>
3074 <image resource="main_button" />
3075 <actions>
3076 <action function="set">tw_back=advanced</action>
3077 <action function="set">tw_action=copylog</action>
3078 <action function="set">tw_text1=Copy Log to SD Card?</action>
3079 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3080 <action function="set">tw_complete_text1=Log Copy Complete</action>
3081 <action function="set">tw_slider_text=Swipe to Confirm</action>
3082 <action function="page">confirm_action</action>
3083 </actions>
3084 </object>
3085
3086 <object type="button">
3087 <highlight color="%highlight_color%" />
3088 <placement x="%col2_x%" y="%row1_y%" />
3089 <font resource="font" color="%button_text_color%" />
3090 <text>Fix Permissions</text>
3091 <image resource="main_button" />
3092 <actions>
3093 <action function="set">tw_back=advanced</action>
3094 <action function="set">tw_action=fixpermissions</action>
3095 <action function="set">tw_text1=Fix Permissions?</action>
3096 <action function="set">tw_action_text1=Fixing Permissions...</action>
3097 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3098 <action function="set">tw_slider_text=Swipe to Confirm</action>
3099 <action function="set">tw_show_reboot=1</action>
3100 <action function="page">confirm_action</action>
3101 </actions>
3102 </object>
3103
3104 <object type="button">
3105 <highlight color="%highlight_color%" />
3106 <condition var1="tw_allow_partition_sdcard" var2="1" />
3107 <placement x="%col1_x%" y="%row2_y%" />
3108 <font resource="font" color="%button_text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003109 <text>Partition SD Card</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00003110 <image resource="main_button" />
3111 <action function="page">partsdcard</action>
3112 </object>
3113
3114 <object type="button">
3115 <highlight color="%highlight_color%" />
3116 <placement x="%col2_x%" y="%row2_y%" />
3117 <font resource="font" color="%button_text_color%" />
3118 <text>File Manager</text>
3119 <image resource="main_button" />
3120 <action function="page">filemanagerlist</action>
3121 </object>
3122
3123 <object type="button">
3124 <highlight color="%highlight_color%" />
3125 <placement x="%col1_x%" y="%row3_y%" />
3126 <font resource="font" color="%button_text_color%" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003127 <text>Terminal Command</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00003128 <image resource="main_button" />
3129 <action function="page">terminalfolder</action>
3130 </object>
3131
3132 <object type="button">
3133 <highlight color="%highlight_color%" />
3134 <placement x="%col2_x%" y="%row3_y%" />
3135 <font resource="font" color="%button_text_color%" />
3136 <text>Reload Theme</text>
3137 <image resource="main_button" />
3138 <action function="reload"></action>
3139 </object>
3140
3141 <object type="button">
3142 <highlight color="%highlight_color%" />
3143 <placement x="%col1_x%" y="%row4_y%" />
3144 <font resource="font" color="%button_text_color%" />
3145 <text>ADB Sideload</text>
3146 <image resource="main_button" />
3147 <action function="page">sideload</action>
3148 </object>
3149
3150 <object type="button">
3151 <highlight color="%highlight_color%" />
3152 <condition var1="tw_show_dumlock" var2="1" />
3153 <placement x="%col2_x%" y="%row4_y%" />
3154 <font resource="font" color="%button_text_color%" />
3155 <text>HTC Dumlock</text>
3156 <image resource="main_button" />
3157 <action function="page">htcdumlock</action>
3158 </object>
3159
3160 <object type="button">
3161 <highlight color="%highlight_color%" />
3162 <condition var1="tw_has_injecttwrp" var2="1" />
3163 <placement x="%col2_x%" y="%row4_y%" />
3164 <font resource="font" color="%button_text_color%" />
3165 <text>Re-Inject TWRP</text>
3166 <image resource="main_button" />
3167 <actions>
3168 <action function="set">tw_back=advanced</action>
3169 <action function="set">tw_action=reinjecttwrp</action>
3170 <action function="set">tw_text1=Re-Inject TWRP?</action>
3171 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3172 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3173 <action function="set">tw_slider_text=Swipe to Confirm</action>
3174 <action function="page">confirm_action</action>
3175 </actions>
3176 </object>
3177
3178 <object type="action">
3179 <touch key="home" />
3180 <action function="page">main</action>
3181 </object>
3182
3183 <object type="action">
3184 <touch key="back" />
3185 <action function="page">main</action>
3186 </object>
3187
3188 <object type="template" name="footer" />
3189 </page>
3190
3191 <page name="partsdcard">
3192 <object type="template" name="header" />
3193
3194 <object type="text" color="%text_color%">
3195 <font resource="font" />
3196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3197 <text>Partition SD Card</text>
3198 </object>
3199
3200 <object type="button">
3201 <highlight color="%highlight_color%" />
3202 <placement x="%col1_x%" y="%row1_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text></text>
3205 <image resource="minus_button" />
3206 <action function="addsubtract">tw_sdext_size-128</action>
3207 </object>
3208
3209 <object type="button">
3210 <highlight color="%highlight_color%" />
3211 <placement x="%sd_plus_x%" y="%row1_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text></text>
3214 <image resource="plus_button" />
3215 <action function="addsubtract">tw_sdext_size+128</action>
3216 </object>
3217
3218 <object type="text" color="%text_color%">
3219 <font resource="font" />
3220 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3221 <text>EXT Size: %tw_sdext_size%</text>
3222 </object>
3223
3224 <object type="button">
3225 <highlight color="%highlight_color%" />
3226 <placement x="%col1_x%" y="%sdswap_button_y%" />
3227 <font resource="font" color="%button_text_color%" />
3228 <text></text>
3229 <image resource="minus_button" />
3230 <action function="addsubtract">tw_swap_size-32</action>
3231 </object>
3232
3233 <object type="button">
3234 <highlight color="%highlight_color%" />
3235 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3236 <font resource="font" color="%button_text_color%" />
3237 <text></text>
3238 <image resource="plus_button" />
3239 <action function="addsubtract">tw_swap_size+32</action>
3240 </object>
3241
3242 <object type="text" color="%text_color%">
3243 <font resource="font" />
3244 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3245 <text>Swap Size: %tw_swap_size%</text>
3246 </object>
3247
3248 <object type="text" color="%text_color%">
3249 <font resource="font" />
3250 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3251 <text>File system: %tw_sdpart_file_system%</text>
3252 </object>
3253
3254 <object type="button">
3255 <highlight color="%highlight_color%" />
3256 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3257 <font resource="font" color="%button_text_color%" />
3258 <text>EXT3</text>
3259 <image resource="main_button" />
3260 <action function="set">tw_sdpart_file_system=ext3</action>
3261 </object>
3262
3263 <object type="button">
3264 <highlight color="%highlight_color%" />
3265 <condition var1="tw_sdext_disable_ext4" var2="0" />
3266 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>EXT4</text>
3269 <image resource="main_button" />
3270 <action function="set">tw_sdpart_file_system=ext4</action>
3271 </object>
3272
3273 <object type="text" color="%text_color%">
3274 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003275 <placement x="%col1_x%" y="%row10_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00003276 <text>You will lose all files on your SD card!</text>
3277 </object>
3278
3279 <object type="text" color="%text_color%">
3280 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003281 <placement x="%col1_x%" y="%row11_text_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00003282 <text>This action cannot be undone!</text>
3283 </object>
3284
3285 <object type="slider">
3286 <placement x="%slider_x%" y="%slider_y%" />
3287 <resource base="slider" used="slider-used" touch="slider-touch" />
3288 <action function="page">partsdcardaction</action>
3289 <actions>
3290 <action function="set">tw_back=partsdcard</action>
3291 <action function="set">tw_action=partitionsd</action>
3292 <action function="set">tw_has_action2=1</action>
3293 <action function="set">tw_action2=set</action>
3294 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3295 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3296 <action function="set">tw_action_text2=This will take a few minutes.</action>
3297 <action function="set">tw_complete_text1=Partitioning Complete</action>
3298 <action function="page">action_page</action>
3299 </actions>
3300 </object>
3301
3302 <object type="text" color="%text_color%">
3303 <font resource="font" />
3304 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3305 <text>Swipe to Partition</text>
3306 </object>
3307
3308 <object type="action">
3309 <touch key="home" />
3310 <action function="page">main</action>
3311 </object>
3312
3313 <object type="action">
3314 <touch key="back" />
3315 <action function="page">advanced</action>
3316 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00003317 </page>
3318
3319 <page name="htcdumlock">
3320 <object type="template" name="header" />
3321
3322 <object type="text" color="%text_color%">
3323 <font resource="font" />
3324 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3325 <text>HTC Dumlock</text>
3326 </object>
3327
3328 <object type="button">
3329 <highlight color="%highlight_color%" />
3330 <condition var1="tw_show_dumlock" var2="1" />
3331 <placement x="%col1_x%" y="%row1_y%" />
3332 <font resource="font" color="%button_text_color%" />
3333 <text>Restore Original Boot</text>
3334 <image resource="main_button" />
3335 <actions>
3336 <action function="set">tw_back=htcdumlock</action>
3337 <action function="set">tw_action=htcdumlockrestoreboot</action>
3338 <action function="set">tw_text1=Restore original boot image?</action>
3339 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3340 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3341 <action function="set">tw_slider_text=Swipe to Confirm</action>
3342 <action function="page">confirm_action</action>
3343 </actions>
3344 </object>
3345
3346 <object type="button">
3347 <highlight color="%highlight_color%" />
3348 <condition var1="tw_show_dumlock" var2="1" />
3349 <placement x="%col2_x%" y="%row1_y%" />
3350 <font resource="font" color="%button_text_color%" />
3351 <text>Reflash Recovery</text>
3352 <image resource="main_button" />
3353 <actions>
3354 <action function="set">tw_back=htcdumlock</action>
3355 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3356 <action function="set">tw_text1=Reflash recovery to boot?</action>
3357 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3358 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3359 <action function="set">tw_slider_text=Swipe to Confirm</action>
3360 <action function="page">confirm_action</action>
3361 </actions>
3362 </object>
3363
3364 <object type="button">
3365 <highlight color="%highlight_color%" />
3366 <condition var1="tw_show_dumlock" var2="1" />
3367 <placement x="%col1_x%" y="%row2_y%" />
3368 <font resource="font" color="%button_text_color%" />
3369 <text>Install HTC Dumlock</text>
3370 <image resource="main_button" />
3371 <actions>
3372 <action function="set">tw_back=htcdumlock</action>
3373 <action function="set">tw_action=installhtcdumlock</action>
3374 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3375 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3376 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3377 <action function="set">tw_slider_text=Swipe to Confirm</action>
3378 <action function="page">confirm_action</action>
3379 </actions>
3380 </object>
3381
3382 <object type="action">
3383 <touch key="home" />
3384 <action function="page">main</action>
3385 </object>
3386
3387 <object type="action">
3388 <touch key="back" />
3389 <action function="page">advanced</action>
3390 </object>
3391
3392 <object type="template" name="footer" />
3393 </page>
3394
3395 <page name="lock">
3396 <background color="#000000A0" />
3397
3398 <object type="image">
3399 <image resource="unlock-icon" />
3400 <placement x="%lock_x%" y="%lock_y%" />
3401 </object>
3402
3403 <object type="slider">
3404 <placement x="%slider_x%" y="%slider_y%" />
3405 <resource base="slider" used="slider-used" touch="slider-touch" />
3406 <action function="overlay"></action>
3407 </object>
3408
3409 <object type="text" color="%text_color%">
3410 <font resource="font" />
3411 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3412 <text>Swipe to Unlock</text>
3413 </object>
3414 </page>
3415
3416 <page name="filemanagerlist">
3417 <object type="template" name="header" />
3418
3419 <object type="text" color="%text_color%">
3420 <font resource="font" />
3421 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3422 <text>File Manager: Select a File or Folder</text>
3423 </object>
3424
3425 <object type="fileselector">
3426 <highlight color="%fileselector_highlight_color%" />
3427 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3428 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3429 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3430 <text>%tw_file_location1%</text>
3431 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3432 <sort name="tw_gui_sort_order" />
3433 <icon folder="folder_icon" file="file_icon" />
3434 <background color="%fileselector_background%" />
3435 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3436 <folders="1" files="1" />
3437 <path name="tw_file_location1" default="/" />
3438 <data name="tw_filename1" />
3439 <selection name="tw_selection1" />
3440 </object>
3441
3442 <object type="template" name="sort_options" />
3443
3444 <object type="action">
3445 <actions>
3446 <action function="set">tw_fm_type=File</action>
3447 <action function="set">tw_fm_isfolder=0</action>
3448 </actions>
3449 </object>
3450
3451 <object type="action">
3452 <touch key="home" />
3453 <action function="page">main</action>
3454 </object>
3455
3456 <object type="action">
3457 <touch key="back" />
3458 <action function="page">advanced</action>
3459 </object>
3460
3461 <object type="action">
3462 <condition var1="tw_filename1" op="modified" />
3463 <actions>
3464 <action function="page">filemanageroptions</action>
3465 </actions>
3466 </object>
3467
3468 <object type="button">
3469 <highlight color="%highlight_color%" />
3470 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3471 <font resource="font" color="%button_text_color%" />
3472 <text>Select</text>
3473 <image resource="medium_button" />
3474 <actions>
3475 <action function="set">tw_filename1=tw_file_location1</action>
3476 <action function="set">tw_fm_isfolder=1</action>
3477 <action function="set">tw_fm_type=Folder</action>
3478 <action function="page">filemanageroptions</action>
3479 </actions>
3480 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00003481 </page>
3482
3483 <page name="filemanageroptions">
3484 <object type="template" name="header" />
3485
3486 <object type="text" color="%text_color%">
3487 <font resource="font" />
3488 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3489 <text>%tw_fm_type% Selected:</text>
3490 </object>
3491
3492 <object type="text" color="%text_color%">
3493 <font resource="font" />
3494 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3495 <text>%tw_filename1%</text>
3496 </object>
3497
3498 <object type="button">
3499 <highlight color="%highlight_color%" />
3500 <condition var1="tw_fm_isfolder" var2="0" />
3501 <placement x="%col1_x%" y="%row2_y%" />
3502 <font resource="font" color="%button_text_color%" />
3503 <text>Copy File</text>
3504 <image resource="main_button" />
3505 <actions>
3506 <action function="set">tw_filemanager_command=cp</action>
3507 <action function="set">tw_fm_text1=Copying</action>
3508 <action function="page">choosedestinationfolder</action>
3509 </actions>
3510 </object>
3511
3512 <object type="button">
3513 <highlight color="%highlight_color%" />
3514 <condition var1="tw_fm_isfolder" var2="1" />
3515 <placement x="%col1_x%" y="%row2_y%" />
3516 <font resource="font" color="%button_text_color%" />
3517 <text>Copy Folder</text>
3518 <image resource="main_button" />
3519 <actions>
3520 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3521 <action function="set">tw_fm_text1=Copying</action>
3522 <action function="page">choosedestinationfolder</action>
3523 </actions>
3524 </object>
3525
3526 <object type="button">
3527 <highlight color="%highlight_color%" />
3528 <placement x="%col2_x%" y="%row2_y%" />
3529 <font resource="font" color="%button_text_color%" />
3530 <text>Move</text>
3531 <image resource="main_button" />
3532 <actions>
3533 <action function="set">tw_filemanager_command=mv</action>
3534 <action function="set">tw_fm_text1=Moving</action>
3535 <action function="page">choosedestinationfolder</action>
3536 </actions>
3537 </object>
3538
3539 <object type="button">
3540 <highlight color="%highlight_color%" />
3541 <placement x="%col1_x%" y="%row3_y%" />
3542 <font resource="font" color="%button_text_color%" />
3543 <text>chmod 755</text>
3544 <image resource="main_button" />
3545 <actions>
3546 <action function="set">tw_filemanager_command=chmod 755</action>
3547 <action function="set">tw_fm_text1=chmod 755</action>
3548 <action function="set">tw_fm_text2=</action>
3549 <action function="set">tw_fm_text3=</action>
3550 <action function="set">tw_include_text3=0</action>
3551 <action function="set">tw_back=filemanageroptions</action>
3552 <action function="page">filemanagerconfirm</action>
3553 </actions>
3554 </object>
3555
3556 <object type="button">
3557 <highlight color="%highlight_color%" />
3558 <placement x="%col2_x%" y="%row3_y%" />
3559 <font resource="font" color="%button_text_color%" />
3560 <text>chmod</text>
3561 <image resource="main_button" />
3562 <actions>
3563 <action function="set">tw_filemanager_rename=0000</action>
3564 <action function="set">tw_fm_text2=</action>
3565 <action function="set">tw_fm_text3=</action>
3566 <action function="set">tw_include_text3=0</action>
3567 <action function="set">tw_back=filemanageroptions</action>
3568 <action function="page">filemanagerchmod</action>
3569 </actions>
3570 </object>
3571
3572 <object type="button">
3573 <highlight color="%highlight_color%" />
3574 <placement x="%col1_x%" y="%row4_y%" />
3575 <font resource="font" color="%button_text_color%" />
3576 <text>Delete</text>
3577 <image resource="main_button" />
3578 <actions>
3579 <action function="set">tw_filemanager_command=rm -rf</action>
3580 <action function="set">tw_fm_text1=Deleting</action>
3581 <action function="set">tw_fm_text2=</action>
3582 <action function="set">tw_fm_text3=</action>
3583 <action function="set">tw_include_text3=0</action>
3584 <action function="set">tw_back=filemanageroptions</action>
3585 <action function="page">filemanagerconfirm</action>
3586 </actions>
3587 </object>
3588
3589 <object type="button">
3590 <highlight color="%highlight_color%" />
3591 <condition var1="tw_fm_isfolder" var2="0" />
3592 <placement x="%col2_x%" y="%row4_y%" />
3593 <font resource="font" color="%button_text_color%" />
3594 <text>Rename File</text>
3595 <image resource="main_button" />
3596 <actions>
3597 <action function="set">tw_filemanager_rename=tw_selection1</action>
3598 <action function="set">tw_fm_text1=Renaming</action>
3599 <action function="set">tw_filemanager_command=mv</action>
3600 <action function="page">filemanagerrenamefile</action>
3601 </actions>
3602 </object>
3603
3604 <object type="button">
3605 <highlight color="%highlight_color%" />
3606 <condition var1="tw_fm_isfolder" var2="1" />
3607 <placement x="%col2_x%" y="%row4_y%" />
3608 <font resource="font" color="%button_text_color%" />
3609 <text>Rename Folder</text>
3610 <image resource="main_button" />
3611 <actions>
3612 <action function="set">tw_filemanager_rename=tw_selection1</action>
3613 <action function="set">tw_fm_text1=Renaming</action>
3614 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3615 <action function="page">filemanagerrenamefolder</action>
3616 </actions>
3617 </object>
3618
3619 <object type="action">
3620 <touch key="home" />
3621 <action function="page">main</action>
3622 </object>
3623
3624 <object type="action">
3625 <touch key="back" />
3626 <action function="page">filemanagerlist</action>
3627 </object>
3628
3629 <object type="template" name="footer" />
3630 </page>
3631
3632 <page name="choosedestinationfolder">
3633 <object type="template" name="header" />
3634
3635 <object type="text" color="%text_color%">
3636 <font resource="font" />
3637 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003638 <text>Browse to Destination & Press Select</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00003639 </object>
3640
3641 <object type="fileselector">
3642 <highlight color="%fileselector_highlight_color%" />
3643 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3644 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3645 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3646 <text>%tw_file_location2%</text>
3647 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3648 <sort name="tw_gui_sort_order" />
3649 <icon folder="folder_icon" file="file_icon" />
3650 <background color="%fileselector_background%" />
3651 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3652 <filter folders="1" files="0" />
3653 <path name="tw_file_location2" default="/" />
3654 <data name="tw_filename2" />
3655 <selection name="tw_selection2" />
3656 </object>
3657
3658 <object type="template" name="sort_options" />
3659
3660 <object type="action">
3661 <touch key="home" />
3662 <action function="page">main</action>
3663 </object>
3664
3665 <object type="action">
3666 <touch key="back" />
3667 <action function="page">filemanageroptions</action>
3668 </object>
3669
3670 <object type="button">
3671 <highlight color="%highlight_color%" />
3672 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3673 <font resource="font" color="%button_text_color%" />
3674 <text>Select</text>
3675 <image resource="medium_button" />
3676 <actions>
3677 <action function="set">tw_fm_text2=to</action>
3678 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3679 <action function="set">tw_include_text3=1</action>
3680 <action function="set">tw_back=filemanageroptions</action>
3681 <action function="page">filemanagerconfirm</action>
3682 </actions>
3683 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00003684 </page>
3685
3686 <page name="filemanagerrenamefile">
3687 <object type="template" name="header" />
3688
3689 <object type="text" color="%text_color%">
3690 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3691 <font resource="font" />
3692 <text>Please Enter a New %tw_fm_type% Name</text>
3693 </object>
3694
3695 <object type="input">
3696 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3697 <background color="%input_background_color%" />
3698 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3699 <font resource="font" color="%text_color%" />
3700 <text>%tw_filemanager_rename%</text>
3701 <data name="tw_filemanager_rename" />
3702 <restrict minlen="1" maxlen="128" />
3703 <actions>
3704 <action function="set">tw_fm_text2=to</action>
3705 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3706 <action function="set">tw_include_text3=1</action>
3707 <action function="set">tw_back=filemanageroptions</action>
3708 <action function="page">filemanagerconfirm</action>
3709 </actions>
3710 </object>
3711
3712 <object type="button">
3713 <highlight color="%highlight_color%" />
3714 <placement x="%col_center_x%" y="%row2_y%" />
3715 <font resource="font" color="%button_text_color%" />
3716 <text>Cancel</text>
3717 <image resource="main_button" />
3718 <action function="page">filemanageroptions</action>
3719 </object>
3720
3721 <object type="template" name="keyboardtemplate" />
3722
3723 <object type="action">
3724 <touch key="home" />
3725 <action function="page">main</action>
3726 </object>
3727
3728 <object type="action">
3729 <touch key="back" />
3730 <action function="page">filemanageroptions</action>
3731 </object>
3732
3733 <object type="template" name="footer" />
3734 </page>
3735
3736 <page name="filemanagerrenamefolder">
3737 <object type="template" name="header" />
3738
3739 <object type="text" color="%text_color%">
3740 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3741 <font resource="font" />
3742 <text>Please Enter a New %tw_fm_type% Name</text>
3743 </object>
3744
3745 <object type="input">
3746 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3747 <background color="%input_background_color%" />
3748 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3749 <font resource="font" color="%text_color%" />
3750 <text>%tw_filemanager_rename%</text>
3751 <data name="tw_filemanager_rename" />
3752 <restrict minlen="1" maxlen="128" />
3753 <actions>
3754 <action function="set">tw_fm_text2=to</action>
3755 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3756 <action function="set">tw_include_text3=1</action>
3757 <action function="set">tw_back=filemanageroptions</action>
3758 <action function="page">filemanagerconfirm</action>
3759 </actions>
3760 </object>
3761
3762 <object type="button">
3763 <highlight color="%highlight_color%" />
3764 <placement x="%col_center_x%" y="%row2_y%" />
3765 <font resource="font" color="%button_text_color%" />
3766 <text>Cancel</text>
3767 <image resource="main_button" />
3768 <action function="page">filemanageroptions</action>
3769 </object>
3770
3771 <object type="template" name="keyboardtemplate" />
3772
3773 <object type="action">
3774 <touch key="home" />
3775 <action function="page">main</action>
3776 </object>
3777
3778 <object type="action">
3779 <touch key="back" />
3780 <action function="page">filemanageroptions</action>
3781 </object>
3782
3783 <object type="template" name="footer" />
3784 </page>
3785
3786 <page name="filemanagerchmod">
3787 <object type="template" name="header" />
3788
3789 <object type="text" color="%text_color%">
3790 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3791 <font resource="font" />
3792 <text>Please Enter New Permissions</text>
3793 </object>
3794
3795 <object type="input">
3796 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3797 <background color="%input_background_color%" />
3798 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3799 <font resource="font" color="%text_color%" />
3800 <text>%tw_filemanager_rename%</text>
3801 <data name="tw_filemanager_rename" />
3802 <restrict minlen="3" maxlen="4" allow="0123456789" />
3803 <actions>
3804 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3805 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3806 <action function="set">tw_back=filemanageroptions</action>
3807 <action function="page">filemanagerconfirm</action>
3808 </actions>
3809 </object>
3810
3811 <object type="button">
3812 <highlight color="%highlight_color%" />
3813 <placement x="%col_center_x%" y="%row2_y%" />
3814 <font resource="font" color="%button_text_color%" />
3815 <text>Cancel</text>
3816 <image resource="main_button" />
3817 <action function="page">filemanageroptions</action>
3818 </object>
3819
3820 <object type="template" name="keyboardtemplate" />
3821
3822 <object type="action">
3823 <touch key="home" />
3824 <action function="page">main</action>
3825 </object>
3826
3827 <object type="action">
3828 <touch key="back" />
3829 <action function="page">filemanageroptions</action>
3830 </object>
3831
3832 <object type="template" name="footer" />
3833 </page>
3834
3835 <page name="filemanagerconfirm">
3836 <object type="template" name="header" />
3837
3838 <object type="text" color="%text_color%">
3839 <font resource="font" />
3840 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3841 <text>%tw_fm_text1%</text>
3842 </object>
3843
3844 <object type="text" color="%text_color%">
3845 <font resource="font" />
3846 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3847 <text>%tw_filename1%</text>
3848 </object>
3849
3850 <object type="text" color="%text_color%">
3851 <font resource="font" />
3852 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3853 <text>%tw_fm_text2%</text>
3854 </object>
3855
3856 <object type="text" color="%text_color%">
3857 <font resource="font" />
3858 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3859 <text>%tw_fm_text3%</text>
3860 </object>
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3865 <text>Press back button to cancel.</text>
3866 </object>
3867
3868 <object type="slider">
3869 <placement x="%slider_x%" y="%slider_y%" />
3870 <resource base="slider" used="slider-used" touch="slider-touch" />
3871 <action function="page">filemanageracction</action>
3872 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003873
masteroftimeb58e6d22014-01-15 20:16:17 +00003874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3877 <text>Swipe to Confirm</text>
3878 </object>
3879
3880 <object type="action">
3881 <touch key="back" />
3882 <action function="page">%tw_back%</action>
3883 </object>
3884
3885 <object type="action">
3886 <touch key="home" />
3887 <action function="page">main</action>
3888 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00003889 </page>
3890
3891 <page name="filemanageracction">
3892 <object type="template" name="header" />
3893
3894 <object type="text" color="%text_color%">
3895
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3898 <text>%tw_fm_text1%</text>
3899 </object>
3900
3901 <object type="template" name="action_page_console" />
3902
3903 <object type="template" name="progress_bar" />
3904
3905 <object type="action">
3906 <conditions>
3907 <condition var1="tw_operation_state" var2="1" />
3908 <condition var1="tw_operation_status" var2="0" />
3909 </conditions>
3910 <actions>
3911 <action function="set">tw_back=filemanagerlist</action>
3912 <action function="set">tw_complete_text1=File Operation Complete</action>
3913 <action function="page">action_complete</action>
3914 </actions>
3915 </object>
3916
3917 <object type="action">
3918 <conditions>
3919 <condition var1="tw_operation_state" var2="1" />
3920 <condition var1="tw_operation_status" op="!=" var2="0" />
3921 </conditions>
3922 <actions>
3923 <action function="set">tw_complete_text1=File Operation Complete</action>
3924 <action function="page">action_complete</action>
3925 </actions>
3926 </object>
3927
3928 <object type="action">
3929 <condition var1="tw_include_text3" var2="0" />
3930 <actions>
3931 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3932 </actions>
3933 </object>
3934
3935 <object type="action">
3936 <condition var1="tw_include_text3" var2="1" />
3937 <actions>
3938 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3939 </actions>
3940 </object>
3941 </page>
3942
3943 <page name="decrypt">
3944 <object type="template" name="header" />
3945
3946 <object type="text" color="%text_color%">
3947 <font resource="font" />
3948 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3949 <text>Please Enter Your Password</text>
3950 </object>
3951
3952 <object type="input">
3953 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3954 <background color="%input_background_color%" />
3955 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3956 <font resource="font" color="%text_color%" />
3957 <text>%tw_crypto_display%</text>
3958 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3959 <restrict minlen="1" maxlen="254" />
3960 <actions>
3961 <action function="page">trydecrypt</action>
3962 </actions>
3963 </object>
3964
3965 <object type="text" color="%text_fail_color%">
3966 <condition var1="tw_password_fail" var2="1" />
3967 <font resource="font" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -05003968 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
masteroftimeb58e6d22014-01-15 20:16:17 +00003969 <text>Password Failed, Please Try Again</text>
3970 </object>
3971
3972 <object type="button">
3973 <highlight color="%highlight_color%" />
3974 <placement x="%col_center_x%" y="%row2_y%" />
3975 <font resource="font" color="%button_text_color%" />
3976 <text>Cancel</text>
3977 <image resource="main_button" />
3978 <actions>
3979 <action function="set">tw_page_done=1</action>
3980 <action function="page">main</action>
3981 </actions>
3982 </object>
3983
3984 <object type="template" name="keyboardtemplate" />
3985
3986 <object type="template" name="footer" />
3987 </page>
3988
3989 <page name="trydecrypt">
3990 <object type="template" name="header" />
3991
3992 <object type="text" color="%text_color%">
3993 <font resource="font" />
3994 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3995 <text>Trying Decryption with Your Password</text>
3996 </object>
3997
3998 <object type="template" name="action_page_console" />
3999
4000 <object type="template" name="progress_bar" />
4001
4002 <object type="action">
4003 <action function="decrypt"></action>
4004 </object>
4005
4006 <object type="action">
4007 <conditions>
4008 <condition var1="tw_operation_state" var2="1" />
4009 <condition var1="tw_operation_status" op="!=" var2="0" />
4010 </conditions>
4011 <actions>
4012 <action function="set">tw_password_fail=1</action>
4013 <action function="page">decrypt</action>
4014 </actions>
4015 </object>
4016
4017 <object type="action">
4018 <conditions>
4019 <condition var1="tw_operation_state" var2="1" />
4020 <condition var1="tw_operation_status" op="=" var2="0" />
4021 </conditions>
4022 <actions>
4023 <action function="set">tw_page_done=1</action>
4024 <action function="page">main</action>
4025 </actions>
4026 </object>
4027 </page>
4028
4029 <page name="terminalfolder">
4030 <object type="template" name="header" />
4031
4032 <object type="text" color="%text_color%">
4033 <font resource="font" />
4034 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4035 <text>Browse to Starting Folder</text>
4036 </object>
4037
4038 <object type="fileselector">
4039 <highlight color="%fileselector_highlight_color%" />
4040 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4041 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
4042 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
4043 <text>%tw_terminal_location%</text>
4044 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4045 <sort name="tw_gui_sort_order" />
4046 <icon folder="folder_icon" file="file_icon" />
4047 <background color="%fileselector_background%" />
4048 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
4049 <filter folders="1" files="0" />
4050 <path name="tw_terminal_location" default="/" />
4051 <data name="tw_terminal" />
4052 <selection name="tw_terminal_selection" />
4053 </object>
4054
4055 <object type="template" name="sort_options" />
4056
4057 <object type="action">
4058 <touch key="home" />
4059 <action function="page">main</action>
4060 </object>
4061
4062 <object type="action">
4063 <touch key="back" />
4064 <action function="page">advanced</action>
4065 </object>
4066
4067 <object type="button">
4068 <highlight color="%highlight_color%" />
4069 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4070 <font resource="font" color="%button_text_color%" />
4071 <text>Select</text>
4072 <image resource="medium_button" />
4073 <actions>
4074 <action function="page">terminalcommand</action>
4075 </actions>
4076 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00004077 </page>
4078
4079 <page name="terminalcommand">
4080 <object type="template" name="header" />
4081
4082 <object type="console">
4083 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4084 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4085 <font resource="fixed" />
4086 </object>
4087
4088 <object type="text" color="%text_color%">
4089 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4090 <font resource="font" />
4091 <text>Starting Path: %tw_terminal_location%</text>
4092 </object>
4093
4094 <object type="input">
4095 <condition var1="tw_terminal_state" var2="0" />
4096 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4097 <background color="%input_background_color%" />
4098 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4099 <font resource="font" color="%text_color%" />
4100 <text>%tw_terminal_command%</text>
4101 <data name="tw_terminal_command" />
4102 <restrict minlen="1" />
4103 <action function="terminalcommand">%tw_terminal_command%</action>
4104 </object>
4105
4106 <object type="button">
4107 <highlight color="%highlight_color%" />
4108 <condition var1="tw_terminal_state" var2="1" />
4109 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4110 <font resource="font" color="%button_text_color%" />
4111 <text>KILL</text>
4112 <image resource="medium_button" />
4113 <action function="killterminal"></action>
4114 </object>
4115
4116 <object type="template" name="keyboardtemplate" />
4117
4118 <object type="action">
4119 <touch key="home" />
4120 <action function="page">main</action>
4121 </object>
4122
4123 <object type="action">
4124 <touch key="back" />
4125 <action function="page">terminalfolder</action>
4126 </object>
4127 </page>
4128
4129 <page name="sideload">
4130 <object type="template" name="header" />
4131
4132 <object type="text" color="%text_color%">
4133 <font resource="font" />
4134 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4135 <text>ADB Sideload</text>
4136 </object>
4137
4138 <object type="checkbox">
4139 <placement x="%col1_x%" y="%row2_text_y%" />
4140 <font resource="font" color="%text_color%" />
4141 <text>Wipe Dalvik Cache.</text>
4142 <data variable="tw_wipe_dalvik" />
4143 <image checked="checkbox_true" unchecked="checkbox_false" />
4144 </object>
4145
4146 <object type="checkbox">
4147 <placement x="%col1_x%" y="%row3_text_y%" />
4148 <font resource="font" color="%text_color%" />
4149 <text>Wipe Cache.</text>
4150 <data variable="tw_wipe_cache" />
4151 <image checked="checkbox_true" unchecked="checkbox_false" />
4152 </object>
4153
4154 <object type="slider">
4155 <placement x="%slider_x%" y="%slider_y%" />
4156 <resource base="slider" used="slider-used" touch="slider-touch" />
4157 <actions>
4158 <action function="set">tw_back=advanced</action>
4159 <action function="set">tw_action=adbsideload</action>
4160 <action function="set">tw_action_text1=ADB Sideload</action>
4161 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4162 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4163 <action function="set">tw_has_cancel=1</action>
4164 <action function="set">tw_show_reboot=1</action>
4165 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4166 <action function="page">action_page</action>
4167 </actions>
4168 </object>
4169
4170 <object type="text" color="%text_color%">
4171 <font resource="font" />
4172 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4173 <text>Swipe to Start Sideload</text>
4174 </object>
4175
4176 <object type="action">
4177 <touch key="home" />
4178 <action function="page">main</action>
4179 </object>
4180
4181 <object type="action">
4182 <touch key="back" />
4183 <action function="page">advanced</action>
4184 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +00004185 </page>
4186
4187 <page name="installsu">
4188 <object type="template" name="header" />
4189
4190 <object type="text" color="%text_color%">
4191 <font resource="font" />
4192 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4193 <text>Install SuperSU?</text>
4194 </object>
4195
4196 <object type="text" color="%text_color%">
4197 <font resource="font" />
4198 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4199 <text>Your device does not appear to be rooted.</text>
4200 </object>
4201
4202 <object type="text" color="%text_color%">
4203 <font resource="font" />
4204 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4205 <text>Install SuperSU now?</text>
4206 </object>
4207
4208 <object type="text" color="%text_color%">
4209 <font resource="font" />
4210 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4211 <text>This will root your device.</text>
4212 </object>
4213
4214 <object type="button">
4215 <highlight color="%highlight_color%" />
4216 <placement x="%col_center_x%" y="%row3_y%" />
4217 <font resource="font" color="%button_text_color%" />
4218 <text>Do Not Install</text>
4219 <image resource="main_button" />
4220 <action function="set">tw_page_done=1</action>
4221 </object>
4222
4223 <object type="slider">
4224 <placement x="%slider_x%" y="%slider_y%" />
4225 <resource base="slider" used="slider-used" touch="slider-touch" />
4226 <actions>
4227 <action function="set">tw_action=installsu</action>
4228 <action function="set">tw_action_text1=Installing SuperSU</action>
4229 <action function="set">tw_action_text2=</action>
4230 <action function="page">singleaction_page</action>
4231 </actions>
4232 </object>
4233
4234 <object type="text" color="%text_color%">
4235 <font resource="font" />
4236 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4237 <text>Swipe to Install</text>
4238 </object>
4239 </page>
4240 </pages>
4241</recovery>