blob: ce79ebf399b84c6b18f28fbc500dc4270200b8ec [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
49 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
67 <variable name="row12_text_y" value="480" />
68 <variable name="row13_text_y" value="510" />
69 <variable name="row14_text_y" value="540" />
70 <variable name="row15_text_y" value="570" />
71 <variable name="row16_text_y" value="600" />
72 <variable name="row17_text_y" value="630" />
73 <variable name="row18_text_y" value="660" />
74 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -060099 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="10" />
101 <variable name="home_button_y" value="820" />
102 <variable name="back_button_x" value="413" />
103 <variable name="back_button_y" value="820" />
104 <variable name="sort_asc_text_y" value="739" />
105 <variable name="sort_asc_button_y" value="739" />
106 <variable name="sort_desc_text_y" value="779" />
107 <variable name="sort_desc_button_y" value="779" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="240" />
110 <variable name="sort_col3_button_x" value="300" />
111 <variable name="input_width" value="460" />
112 <variable name="input_height" value="40" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="480" />
118 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500119 <variable name="warning" value="#F8F8A0" />
120 <variable name="error" value="#FF4040" />
121 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400122 <variable name="console_background" value="#303030" />
123 <variable name="console_scroll" value="#303030" />
124 <variable name="console_action_height" value="320" />
125 <variable name="console_install_height" value="440" />
126 <variable name="console_installdone_height" value="300" />
127 <variable name="fileselector_x" value="5" />
128 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500129 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400130 <variable name="fileselector_header_background" value="#202020" />
131 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
132 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
133 <variable name="fileselector_header_separatorheight" value="3" />
134 <variable name="fileselector_separatorcolor" value="#505050" />
135 <variable name="fileselector_separatorheight" value="2" />
136 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600137 <variable name="fileselector_highlight_color" value="#505050" />
138 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400139 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100140 <variable name="fastscroll_linecolor" value="#808080" />
141 <variable name="fastscroll_rectcolor" value="#808080" />
142 <variable name="fastscroll_w" value="40" />
143 <variable name="fastscroll_linew" value="2" />
144 <variable name="fastscroll_rectw" value="27" />
145 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="listbox_x" value="5" />
147 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600148 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400149 <variable name="listbox_background" value="#303030" />
150 <variable name="listbox_spacing" value="18" />
151 <variable name="sd_plus_x" value="280" />
152 <variable name="sdext_text_x" value="84" />
153 <variable name="sdext_text_y" value="150" />
154 <variable name="sdswap_button_y" value="185" />
155 <variable name="sdswap_text_x" value="84" />
156 <variable name="sdswap_text_y" value="195" />
157 <variable name="sdfilesystem_text_y" value="240" />
158 <variable name="sdfilesystem_button_y" value="280" />
159 <variable name="lock_x" value="40" />
160 <variable name="lock_y" value="200" />
161 <variable name="filemanager_select_x" value="365" />
162 <variable name="filemanager_select_y" value="744" />
163 <variable name="backup_name_y" value="350" />
164 <variable name="terminal_console_height" value="424" />
165 <variable name="terminal_text_y" value="444" />
166 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400167 <variable name="row_dst_text_y" value="440" />
168 <variable name="row_offset_text_y" value="480" />
169 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500170 <variable name="button_fill_color" value="#303030" />
171 <variable name="button_fill_full_width" value="455" />
172 <variable name="button_fill_main_width" value="225" />
173 <variable name="button_fill_main_height" value="135" />
174 <variable name="button_fill_half_height" value="67" />
175 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000176 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500177 <variable name="backup_button_row1" value="480" />
178 <variable name="backup_button_row2" value="520" />
179 <variable name="mount_list_height" value="380" />
180 <variable name="mount_storage_row" value="500" />
181 <variable name="storage_list_height" value="400" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500182 <variable name="wipe_list_height" value="460" />
183 <variable name="wipe_button_row1" value="600" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200185 <variable name="slidervalue_w" value="460" />
186 <variable name="slidervalue_line_clr" value="#FFFFFF" />
187 <variable name="slidervalue_slider_clr" value="#33B5E5" />
188 <variable name="slidervalue_lineh" value="1" />
189 <variable name="slidervalue_padding" value="13" />
190 <variable name="slidervalue_sliderw" value="7" />
191 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400192 </variables>
193
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100194 <mousecursor>
195 <placement w="15" h="15" />
196 <background color="#FFFF00FF" resource="cursor" />
197 <speed multiplier="1.5" />
198 </mousecursor>
199
Dees_Troy51a0e822012-09-05 15:24:24 -0400200 <templates>
201 <template name="header">
202 <background color="%backgroundcolor%" />
203
204 <object type="image">
205 <image resource="top_bar" />
206 <placement x="0" y="0" />
207 </object>
208
209 <object type="text" color="%text_color%">
210 <font resource="font" />
211 <placement x="100" y="10" />
212 <text>Team Win Recovery Project v%tw_version%</text>
213 </object>
214
215 <object type="text" color="%text_color%">
216 <condition var1="tw_simulate_actions" var2="1" />
217 <font resource="font" />
218 <placement x="100" y="40" />
219 <text>SIMULATING ACTIONS</text>
220 </object>
221
222 <object type="text" color="%text_color%">
223 <font resource="font" />
224 <placement x="100" y="70" />
225 <text>%tw_time%</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <font resource="font" />
230 <placement x="250" y="70" />
231 <conditions>
232 <condition var1="tw_no_battery_percent" var2="0" />
233 <condition var1="tw_battery" op=">" var2="0" />
234 <condition var1="tw_battery" op="<" var2="101" />
235 </conditions>
236 <text>Battery: %tw_battery%</text>
237 </object>
238
239 <object type="button">
240 <placement x="%home_button_x%" y="%home_button_y%" />
241 <font resource="font" color="%button_text_color%" />
242 <text></text>
243 <image resource="home_icon" />
244 <condition var1="tw_busy" var2="0" />
245 <action function="key">home</action>
246 </object>
247
248 <object type="button">
249 <placement x="%back_button_x%" y="%back_button_y%" />
250 <font resource="font" color="%button_text_color%" />
251 <text></text>
252 <image resource="back_icon" />
253 <condition var1="tw_busy" var2="0" />
254 <action function="key">back</action>
255 </object>
256
257 <object type="action">
258 <touch key="power" />
259 <action function="overlay">lock</action>
260 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100261
262 <object type="action">
263 <touch key="power+voldown" />
264 <action function="screenshot" />
265 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400266 </template>
267
268 <template name="progress_bar">
269 <object type="progressbar">
270 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500271 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400272 <data name="ui_progress" />
273 </object>
274
275 <object type="animation">
276 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
277 <resource name="progress" />
278 <speed fps="15" render="2" />
279 <loop frame="1" />
280 </object>
281 </template>
282
283 <template name="action_page_console">
284 <object type="console">
285 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
286 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
287 <font resource="fixed" />
288 </object>
289 </template>
290
291 <template name="sort_options">
292 <object type="text" color="%text_color%">
293 <font resource="font" />
294 <placement x="%col1_x%" y="%sort_asc_text_y%" />
295 <text>Sort Ascending:</text>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000300 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <text>Name</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=1</action>
304 </object>
305
306 <object type="button">
307 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000308 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400309 <text>Date</text>
310 <image resource="sort_button" />
311 <action function="set">tw_gui_sort_order=2</action>
312 </object>
313
314 <object type="button">
315 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000316 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400317 <text>Size</text>
318 <image resource="sort_button" />
319 <action function="set">tw_gui_sort_order=3</action>
320 </object>
321
322 <object type="text" color="%text_color%">
323 <font resource="font" />
324 <placement x="%col1_x%" y="%sort_desc_text_y%" />
325 <text>Sort Descending:</text>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000330 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400331 <text>Name</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-1</action>
334 </object>
335
336 <object type="button">
337 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000338 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400339 <text>Date</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=-2</action>
342 </object>
343
344 <object type="button">
345 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000346 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400347 <text>Size</text>
348 <image resource="sort_button" />
349 <action function="set">tw_gui_sort_order=-3</action>
350 </object>
351 </template>
352
353 <template name="footer">
354 <object type="console">
355 <slideout resource="slideout" x="210" y="814" />
356 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
357 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
358 <font resource="fixed" />
359 </object>
360 </template>
361
362 <template name="keyboardtemplate">
363 <object type="keyboard">
364 <placement x="0" y="504" />
365 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600366 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600367 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400368 <layout1>
369 <keysize height="78" width="48" />
370 <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" />
371 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
372 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
373 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
374 </layout1>
375 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600376 <keysize height="78" width="48" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400377 <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" />
378 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
379 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
380 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
381 </layout2>
382 <layout3>
383 <keysize height="78" width="48" />
384 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
385 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
386 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
387 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
388 </layout3>
389 <layout4>
390 <keysize height="78" width="48" />
391 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
392 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
393 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
394 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
395 </layout4>
396 </object>
397 </template>
398 </templates>
399
400 <pages>
401 <page name="main">
402 <object type="action">
403 <actions>
404 <action function="set">tw_clear_destination=main2</action>
405 <action function="page">clear_vars</action>
406 </actions>
407 </object>
408 </page>
409
410 <page name="main2">
411 <object type="template" name="header" />
412
413 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600414 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400415 <placement x="%col1_x%" y="%row1_y%" />
416 <font resource="font" color="%button_text_color%" />
417 <text>Install</text>
418 <image resource="main_button" />
419 <actions>
420 <action function="queueclear"></action>
421 <action function="page">install</action>
422 </actions>
423 </object>
424
425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400427 <placement x="%col2_x%" y="%row1_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Wipe</text>
430 <image resource="main_button" />
431 <action function="page">wipe</action>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col1_x%" y="%row2_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Backup</text>
439 <image resource="main_button" />
440 <action function="page">backup</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col2_x%" y="%row2_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Restore</text>
448 <image resource="main_button" />
449 <action function="page">restore</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col1_x%" y="%row3_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Mount</text>
457 <image resource="main_button" />
458 <action function="page">mount</action>
459 </object>
460
461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <placement x="%col2_x%" y="%row3_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Settings</text>
466 <image resource="main_button" />
467 <action function="page">settings</action>
468 </object>
469
470
471 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600472 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400473 <placement x="%col1_x%" y="%row4_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Advanced</text>
476 <image resource="main_button" />
477 <action function="page">advanced</action>
478 </object>
479
480 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600481 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <placement x="%col2_x%" y="%row4_y%" />
483 <font resource="font" color="%button_text_color%" />
484 <text>Reboot</text>
485 <image resource="main_button" />
486 <action function="page">reboot</action>
487 </object>
488
489 <object type="template" name="footer" />
490 </page>
491
492 <page name="install">
493 <object type="template" name="header" />
494
495 <object type="text" color="%text_color%">
496 <font resource="font" />
497 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
498 <text>Select Zip to Install</text>
499 </object>
500
501 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500502 <highlight color="%highlight_color%" />
503 <fill color="%button_fill_color%" />
504 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
505 <font resource="font" color="%button_text_color%" />
506 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
507 <actions>
508 <action function="set">tw_back=install</action>
509 <action function="page">selectstorage</action>
510 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400511 </object>
512
513 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600514 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500515 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400516 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100517 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400518 <text>%tw_zip_location%</text>
519 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
520 <sort name="tw_gui_sort_order" />
521 <icon folder="folder_icon" file="file_icon" />
522 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600523 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400524 <filter extn=".zip" folders="1" files="1" />
525 <path name="tw_zip_location" default="/sdcard" />
526 <data name="tw_filename" />
527 <selection name="tw_file" />
528 </object>
529
530 <object type="template" name="sort_options" />
531
532 <object type="action">
533 <condition var1="tw_filename" op="modified" />
534 <actions>
535 <action function="queuezip"></action>
536 <action function="page">flash_confirm</action>
537 </actions>
538 </object>
539
540 <object type="action">
541 <touch key="back" />
542 <action function="page">main</action>
543 </object>
544
545 <object type="action">
546 <touch key="home" />
547 <action function="page">main</action>
548 </object>
549
550 <object type="template" name="footer" />
551 </page>
552
553 <page name="flash_confirm">
554 <object type="template" name="header" />
555
556 <object type="text" color="%text_color%">
557 <font resource="font" />
558 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
559 <text>This operation may install incompatible</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
565 <text>software and render your device unusable.</text>
566 </object>
567
568 <object type="text" color="%text_color%">
569 <font resource="font" />
570 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
571 <text>Folder:</text>
572 </object>
573
574 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400575 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
577 <text>%tw_zip_location%</text>
578 </object>
579
580 <object type="text" color="%text_color%">
581 <font resource="font" />
582 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
583 <text>File to flash:</text>
584 </object>
585
586 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400587 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400588 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
589 <text>%tw_file%</text>
590 </object>
591
592 <object type="text" color="%text_color%">
593 <font resource="font" />
594 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
595 <text>Press back to cancel adding this zip.</text>
596 </object>
597
598 <object type="checkbox">
599 <placement x="%col1_x%" y="%row8_text_y%" />
600 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400601 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <data variable="tw_signed_zip_verify" />
603 <image checked="checkbox_true" unchecked="checkbox_false" />
604 </object>
605
606 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400607 <condition var1="tw_has_injecttwrp" var2="1" />
608 <placement x="%col1_x%" y="%row10_text_y%" />
609 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400610 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400611 <data variable="tw_inject_after_zip" />
612 <image checked="checkbox_true" unchecked="checkbox_false" />
613 </object>
614
615 <object type="text" color="%text_color%">
616 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400617 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <text>File %tw_zip_queue_count% of max of 10</text>
619 </object>
620
621 <object type="slider">
622 <placement x="%slider_x%" y="%slider_y%" placement="5" />
623 <resource base="slider" used="slider-used" touch="slider-touch" />
624 <action function="flash">flash_zip</action>
625 </object>
626
627 <object type="text" color="%text_color%">
628 <font resource="font" />
629 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
630 <text>Swipe to Confirm Flash</text>
631 </object>
632
633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400635 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
636 <placement x="%col1_x%" y="%row_queue_y%" />
637 <font resource="font" color="%button_text_color%" />
638 <text>Add More Zips</text>
639 <image resource="main_button" />
640 <action function="page">install</action>
641 </object>
642
643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400645 <placement x="%col2_x%" y="%row_queue_y%" />
646 <font resource="font" color="%button_text_color%" />
647 <text>Clear Zip Queue</text>
648 <image resource="main_button" />
649 <actions>
650 <action function="queueclear"></action>
651 <action function="page">install</action>
652 </actions>
653 </object>
654
655 <object type="action">
656 <touch key="back" />
657 <actions>
658 <action function="cancelzip"></action>
659 <action function="page">install</action>
660 </actions>
661 </object>
662
663 <object type="action">
664 <touch key="home" />
665 <action function="page">main</action>
666 </object>
667
668 <object type="template" name="footer" />
669 </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" />
682 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
683 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
684 </object>
685
686 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400687 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400688 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
689 <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">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600716 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400717 <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">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400738 <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>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <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>
Dees_Troya3f81542012-10-08 10:58:53 -0400749 <action function="set">tw_text3=</action>
750 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400752 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <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
759 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600760 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400761 <placement x="%col_center_x%" y="%row3_y%" />
762 <font resource="font" color="%button_text_color%" />
763 <text>Home</text>
764 <image resource="main_button" />
765 <actions>
766 <action function="set">tw_clear_destination=main2</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </object>
770
771 <object type="text" color="%text_fail_color%">
772 <condition var1="tw_operation_status" op="!=" var2="0" />
773 <font resource="font" />
774 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
775 <text>Failed</text>
776 </object>
777
778 <object type="text" color="%text_success_color%">
779 <condition var1="tw_operation_status" var2="0" />
780 <font resource="font" />
781 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
782 <text>Successful</text>
783 </object>
784
785 <object type="action">
786 <touch key="back" />
787 <actions>
788 <action function="set">tw_clear_destination=install</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </object>
792
793 <object type="action">
794 <touch key="home" />
795 <actions>
796 <action function="set">tw_clear_destination=main2</action>
797 <action function="page">clear_vars</action>
798 </actions>
799 </object>
800 </page>
801
802 <page name="clear_vars">
803 <object type="action">
804 <action function="set">tw_operation_state=0</action>
805 <action function="set">tw_text1=</action>
806 <action function="set">tw_text2=</action>
807 <action function="set">tw_text3=</action>
808 <action function="set">tw_text4=</action>
809 <action function="set">tw_action_text1=</action>
810 <action function="set">tw_action_text2=</action>
811 <action function="set">tw_action_param=</action>
812 <action function="set">tw_has_action2=0</action>
813 <action function="set">tw_action2=</action>
814 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400815 <action function="set">tw_has_cancel=0</action>
816 <action function="set">tw_cancel_action=</action>
817 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400818 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400819 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400820 <action function="page">%tw_clear_destination%</action>
821 </object>
822 </page>
823
824 <page name="confirm_action">
825 <object type="template" name="header" />
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
830 <text>%tw_text1%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
836 <text>%tw_text2%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
842 <text>%tw_text3%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
848 <text>%tw_text4%</text>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400853 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400854 <text>Press back button to cancel.</text>
855 </object>
856
857 <object type="slider">
858 <placement x="%slider_x%" y="%slider_y%" />
859 <resource base="slider" used="slider-used" touch="slider-touch" />
860 <action function="page">action_page</action>
861 </object>
862
863 <object type="text" color="%text_color%">
864 <font resource="font" />
865 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
866 <text>%tw_slider_text%</text>
867 </object>
868
869 <object type="action">
870 <touch key="back" />
871 <actions>
872 <action function="set">tw_clear_destination=%tw_back%</action>
873 <action function="page">clear_vars</action>
874 </actions>
875 </object>
876
877 <object type="action">
878 <touch key="home" />
879 <action function="page">main</action>
880 </object>
881
882 <object type="template" name="footer" />
883 </page>
884
885 <page name="action_page">
886 <object type="template" name="header" />
887
888 <object type="text" color="%text_color%">
889 <font resource="font" />
890 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
891 <text>%tw_action_text1%</text>
892 </object>
893
894 <object type="text" color="%text_color%">
895 <font resource="font" />
896 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
897 <text>%tw_action_text2%</text>
898 </object>
899
900 <object type="template" name="action_page_console" />
901
Dees_Troyb46a6842012-09-25 11:06:46 -0400902 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600903 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400904 <condition var1="tw_has_cancel" var2="1" />
905 <placement x="%col_center_medium_x%" y="%row4_y%" />
906 <font resource="font" color="%button_text_color%" />
907 <text>Cancel</text>
908 <image resource="medium_button" />
909 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
910 </object>
911
Dees_Troy51a0e822012-09-05 15:24:24 -0400912 <object type="template" name="progress_bar" />
913
914 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400915 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400916 <actions>
917 <action function="page">action_complete</action>
918 </actions>
919 </object>
920
921 <object type="action">
922 <condition var1="tw_has_action2" var2="0" />
923 <actions>
924 <action function="%tw_action%">%tw_action_param%</action>
925 </actions>
926 </object>
927
928 <object type="action">
929 <condition var1="tw_has_action2" var2="1" />
930 <actions>
931 <action function="%tw_action%">%tw_action_param%</action>
932 <action function="%tw_action2%">%tw_action2_param%</action>
933 </actions>
934 </object>
935 </page>
936
Dees_Troy6ef66352013-02-21 08:26:57 -0600937 <page name="singleaction_page">
938 <object type="template" name="header" />
939
940 <object type="text" color="%text_color%">
941 <font resource="font" />
942 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
943 <text>%tw_action_text1%</text>
944 </object>
945
946 <object type="text" color="%text_color%">
947 <font resource="font" />
948 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
949 <text>%tw_action_text2%</text>
950 </object>
951
952 <object type="template" name="action_page_console" />
953
954 <object type="template" name="progress_bar" />
955
956 <object type="action">
957 <condition var1="tw_operation_state" var2="1" />
958 <actions>
959 <action function="set">tw_page_done=1</action>
960 </actions>
961 </object>
962
963 <object type="action">
964 <condition var1="tw_has_action2" var2="0" />
965 <actions>
966 <action function="%tw_action%">%tw_action_param%</action>
967 </actions>
968 </object>
969
970 <object type="action">
971 <condition var1="tw_has_action2" var2="1" />
972 <actions>
973 <action function="%tw_action%">%tw_action_param%</action>
974 <action function="%tw_action2%">%tw_action2_param%</action>
975 </actions>
976 </object>
977 </page>
978
Dees_Troy51a0e822012-09-05 15:24:24 -0400979 <page name="action_complete">
980 <object type="template" name="header" />
981
982 <object type="text" color="%text_color%">
983 <font resource="font" />
984 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
985 <text>%tw_complete_text1%</text>
986 </object>
987
988 <object type="text" color="%text_fail_color%">
989 <condition var1="tw_operation_status" op="!=" var2="0" />
990 <font resource="font" />
991 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
992 <text>Failed</text>
993 </object>
994
995 <object type="text" color="%text_success_color%">
996 <condition var1="tw_operation_status" var2="0" />
997 <font resource="font" />
998 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
999 <text>Successful</text>
1000 </object>
1001
1002 <object type="template" name="action_page_console" />
1003
1004 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001005 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001006 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001007 <placement x="%col_center_x%" y="%row4_y%" />
1008 <font resource="font" color="%button_text_color%" />
1009 <text>Back</text>
1010 <image resource="main_button" />
1011 <actions>
1012 <action function="set">tw_clear_destination=%tw_back%</action>
1013 <action function="page">clear_vars</action>
1014 </actions>
1015 </object>
1016
Dees_Troya3f81542012-10-08 10:58:53 -04001017 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001018 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001019 <condition var1="tw_show_reboot" var2="1" />
1020 <placement x="%col_center_x%" y="%row4_y%" />
1021 <font resource="font" color="%button_text_color%" />
1022 <text>Reboot System</text>
1023 <image resource="main_button" />
1024 <actions>
1025 <action function="set">tw_back=main2</action>
1026 <action function="set">tw_action=reboot</action>
1027 <action function="set">tw_action_param=system</action>
1028 <action function="set">tw_has_action2=0</action>
1029 <action function="set">tw_text1=No OS Installed! Are you</action>
1030 <action function="set">tw_text2=sure you wish to reboot?</action>
1031 <action function="set">tw_text3=</action>
1032 <action function="set">tw_text4=</action>
1033 <action function="set">tw_action_text1=Rebooting...</action>
1034 <action function="set">tw_action_text2=</action>
1035 <action function="set">tw_complete_text1=Rebooting...</action>
1036 <action function="set">tw_slider_text=Swipe to Reboot</action>
1037 <action function="page">rebootcheck</action>
1038 </actions>
1039 </object>
1040
Dees_Troy51a0e822012-09-05 15:24:24 -04001041 <object type="action">
1042 <touch key="home" />
1043 <actions>
1044 <action function="set">tw_clear_destination=main2</action>
1045 <action function="page">clear_vars</action>
1046 </actions>
1047 </object>
1048
1049 <object type="action">
1050 <touch key="back" />
1051 <actions>
1052 <action function="set">tw_clear_destination=%tw_back%</action>
1053 <action function="page">clear_vars</action>
1054 </actions>
1055 </object>
1056 </page>
1057
1058 <page name="filecheck">
1059 <object type="action">
1060 <action function="fileexists">%tw_filecheck%</action>
1061 </object>
1062
1063 <object type="action">
1064 <conditions>
1065 <condition var1="tw_operation_state" var2="1" />
1066 <condition var1="tw_operation_status" var2="0" />
1067 </conditions>
1068 <actions>
1069 <action function="set">tw_fileexists=1</action>
1070 <action function="page">%tw_existpage%</action>
1071 </actions>
1072 </object>
1073
1074 <object type="action">
1075 <conditions>
1076 <condition var1="tw_operation_state" var2="1" />
1077 <condition var1="tw_operation_status" var2="1" />
1078 </conditions>
1079 <actions>
1080 <action function="set">tw_fileexists=0</action>
1081 <action function="page">%tw_notexistpage%</action>
1082 </actions>
1083 </object>
1084 </page>
1085
1086 <page name="rebootcheck">
1087 <object type="action">
1088 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1089 <action function="reboot">%tw_action_param%</action>
1090 </object>
1091
1092 <object type="action">
1093 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1094 <action function="page">confirm_action</action>
1095 </object>
1096 </page>
1097
1098 <page name="wipe">
1099 <object type="template" name="header" />
1100
1101 <object type="text" color="%text_color%">
1102 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001103 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001104 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001105 </object>
1106
1107 <object type="text" color="%text_color%">
1108 <font resource="font" />
1109 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1110 <text>Wipes Data, Cache, and Dalvik</text>
1111 </object>
1112
1113 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001114 <conditions>
1115 <condition var1="tw_has_android_secure" var2="1" />
1116 <condition var1="fileexists" var2="/and-sec" />
1117 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001118 <font resource="font" />
1119 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1120 <text>.android_secure</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <condition var1="tw_has_data_media" var2="1" />
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1127 <text>(not including internal storage)</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <condition var1="tw_has_sdext_partition" var2="1" />
1132 <font resource="font" />
1133 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1134 <text>SD-EXT</text>
1135 </object>
1136
1137 <object type="text" color="%text_color%">
1138 <font resource="font" />
1139 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1140 <text>Most of the time this is</text>
1141 </object>
1142
1143 <object type="text" color="%text_color%">
1144 <font resource="font" />
1145 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1146 <text>the only wipe that you need.</text>
1147 </object>
1148
1149 <object type="text" color="%text_color%">
1150 <font resource="font" />
1151 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1152 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 </object>
1154
1155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001156 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001157 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001159 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001161 <actions>
1162 <action function="set">partitionlisterror=0</action>
1163 <action function="page">advancedwipe</action>
1164 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 </object>
1166
1167 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001168 <conditions>
1169 <condition var1="tw_has_internal" var2="1" />
1170 <condition var1="tw_has_data_media" var2="1" />
1171 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <highlight color="%highlight_color%" />
1173 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001174 <font resource="font" color="%button_text_color%" />
1175 <text>Format Data</text>
1176 <image resource="main_button" />
1177 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001179 </actions>
1180 </object>
1181
Dees_Troya13d74f2013-03-24 08:54:55 -05001182 <object type="slider">
1183 <placement x="%slider_x%" y="%slider_y%" />
1184 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001185 <actions>
1186 <action function="set">tw_back=wipe</action>
1187 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001188 <action function="set">tw_action_param=data</action>
1189 <action function="set">tw_action_text1=Factory Reset...</action>
1190 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1191 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001192 </actions>
1193 </object>
1194
Dees_Troya13d74f2013-03-24 08:54:55 -05001195 <object type="text" color="%text_color%">
1196 <font resource="font" />
1197 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1198 <text>Swipe to Factory Reset</text>
1199 </object>
1200
1201 <object type="action">
1202 <touch key="back" />
1203 <action function="page">main</action>
1204 </object>
1205
1206 <object type="action">
1207 <touch key="home" />
1208 <action function="page">main</action>
1209 </object>
1210
1211 <object type="template" name="footer" />
1212 </page>
1213
1214 <page name="advancedwipe">
1215 <object type="template" name="header" />
1216
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001217 <object type="action">
1218 <action function="set">tw_wipe_list=</action>
1219 </object>
1220
Dees_Troya13d74f2013-03-24 08:54:55 -05001221 <object type="text" color="%text_color%">
1222 <font resource="font" />
1223 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1224 <text>Wipe Menu</text>
1225 </object>
1226
1227 <object type="partitionlist">
1228 <highlight color="%fileselector_highlight_color%" />
1229 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1230 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1231 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1232 <text>Select Partitions to Wipe:</text>
1233 <icon selected="checkbox_true" unselected="checkbox_false" />
1234 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1235 <background color="%listbox_background%" />
1236 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1237 <data name="tw_wipe_list" />
1238 <listtype name="wipe" />
1239 </object>
1240
1241 <object type="slider">
1242 <placement x="%slider_x%" y="%slider_y%" />
1243 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001244 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001245 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001246 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001247 <action function="set">tw_action_param=LIST</action>
1248 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1249 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1250 <action function="set">tw_complete_text1=Wipe Complete</action>
1251 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001252 </actions>
1253 </object>
1254
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001255 <object type="button">
1256 <highlight color="%highlight_color%" />
1257 <fill color="%button_fill_color%" />
1258 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1259 <font resource="font" color="%button_text_color%" />
1260 <text>Repair or Change File System</text>
1261 <actions>
1262 <action function="checkpartitionlist"></action>
1263 <action function="page">checkpartitionlist</action>
1264 </actions>
1265 </object>
1266
1267 <object type="text" color="%text_fail_color%">
1268 <condition var1="partitionlisterror" var2="1" />
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1271 <text>Invalid partition selection</text>
1272 </object>
1273
Dees_Troya13d74f2013-03-24 08:54:55 -05001274 <object type="text" color="%text_color%">
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1277 <text>Swipe to Wipe</text>
1278 </object>
1279
Dees_Troy51a0e822012-09-05 15:24:24 -04001280 <object type="action">
1281 <touch key="home" />
1282 <action function="page">main</action>
1283 </object>
1284
1285 <object type="action">
1286 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001287 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001288 </object>
1289
1290 <object type="template" name="footer" />
1291 </page>
1292
Dees_Troya13d74f2013-03-24 08:54:55 -05001293 <page name="formatdata">
1294 <object type="template" name="header" />
1295
1296 <object type="text" color="%text_color%">
1297 <font resource="font" />
1298 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1299 <text>Format Data will wipe all of your apps,</text>
1300 </object>
1301
1302 <object type="text" color="%text_color%">
1303 <font resource="font" />
1304 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1305 <text>backups, pictures, videos, media, and</text>
1306 </object>
1307
1308 <object type="text" color="%text_color%">
1309 <font resource="font" />
1310 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1311 <text>removes encryption on internal storage.</text>
1312 </object>
1313
1314 <object type="text" color="%text_color%">
1315 <font resource="font" />
1316 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1317 <text>This cannot be undone. Press back to cancel.</text>
1318 </object>
1319
1320 <object type="text" color="%text_color%">
1321 <font resource="font" />
1322 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1323 <text>Type yes to continue.</text>
1324 </object>
1325
1326 <object type="input">
1327 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1328 <background color="%input_background_color%" />
1329 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1330 <font resource="font" color="%text_color%" />
1331 <text>%tw_confirm_formatdata%</text>
1332 <data name="tw_confirm_formatdata" />
1333 <restrict minlen="3" maxlen="3" allow="yes" />
1334 <action function="page">formatdata_confirm</action>
1335 </object>
1336
1337 <object type="template" name="keyboardtemplate" />
1338
1339 <object type="action">
1340 <touch key="home" />
1341 <action function="page">main</action>
1342 </object>
1343
1344 <object type="action">
1345 <touch key="back" />
1346 <action function="page">wipe</action>
1347 </object>
1348
1349 <object type="template" name="footer" />
1350 </page>
1351
1352 <page name="formatdata_confirm">
1353 <object type="action">
1354 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1355 <actions>
1356 <action function="set">tw_back=formatdata</action>
1357 <action function="set">tw_action=wipe</action>
1358 <action function="set">tw_action_param=DATAMEDIA</action>
1359 <action function="set">tw_action_text1=Formatting Data...</action>
1360 <action function="set">tw_complete_text1=Data Format Complete</action>
1361 <action function="page">action_page</action>
1362 </actions>
1363 </object>
1364
1365 <object type="action">
1366 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1367 <action function="page">formatdata</function>
1368 </object>
1369 </page>
1370
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001371 <page name="checkpartitionlist">
1372 <object type="action">
1373 <condition var1="tw_check_partition_list" op="=" var2="1" />
1374 <actions>
1375 <action function="set">partitionlisterror=0</action>
1376 <action function="getpartitiondetails"></action>
1377 <action function="page">partitionoptions</action>
1378 </actions>
1379 </object>
1380
1381 <object type="action">
1382 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1383 <actions>
1384 <action function="set">partitionlisterror=1</action>
1385 <action function="set">tw_wipe_list=</action>
1386 <action function="page">advancedwipe</action>
1387 </actions>
1388 </object>
1389 </page>
1390
1391 <page name="partitionoptions">
1392 <object type="template" name="header" />
1393
1394 <object type="text" color="%text_color%">
1395 <font resource="font" />
1396 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1397 <text>Partition Options for: %tw_partition_name%</text>
1398 </object>
1399
1400 <object type="text" color="%text_color%">
1401 <font resource="font" />
1402 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1403 <text>Mount Point: %tw_partition_mount_point%</text>
1404 </object>
1405
1406 <object type="text" color="%text_color%">
1407 <font resource="font" />
1408 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1409 <text>Current file system: %tw_partition_file_system%</text>
1410 </object>
1411
1412 <object type="text" color="%text_color%">
1413 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1414 <font resource="font" />
1415 <placement x="%col1_x%" y="%row3_text_y%" />
1416 <text>Present: Yes</text>
1417 </object>
1418
1419 <object type="text" color="%text_color%">
1420 <condition var1="tw_partition_is_present" op="=" var2="0" />
1421 <font resource="font" />
1422 <placement x="%col1_x%" y="%row3_text_y%" />
1423 <text>Present: No</text>
1424 </object>
1425
1426 <object type="text" color="%text_color%">
1427 <condition var1="tw_partition_removable" op="!=" var2="0" />
1428 <font resource="font" />
1429 <placement x="%col2_x%" y="%row3_text_y%" />
1430 <text>Removable: Yes</text>
1431 </object>
1432
1433 <object type="text" color="%text_color%">
1434 <condition var1="tw_partition_removable" op="=" var2="0" />
1435 <font resource="font" />
1436 <placement x="%col2_x%" y="%row3_text_y%" />
1437 <text>Removable: No</text>
1438 </object>
1439
1440 <object type="text" color="%text_color%">
1441 <font resource="font" />
1442 <placement x="%col1_x%" y="%row4_text_y%" />
1443 <text>Size: %tw_partition_size%MB</text>
1444 </object>
1445
1446 <object type="text" color="%text_color%">
1447 <font resource="font" />
1448 <placement x="%col2_x%" y="%row4_text_y%" />
1449 <text>Used: %tw_partition_used%MB</text>
1450 </object>
1451
1452 <object type="text" color="%text_color%">
1453 <font resource="font" />
1454 <placement x="%col1_x%" y="%row5_text_y%" />
1455 <text>Free: %tw_partition_free%MB</text>
1456 </object>
1457
1458 <object type="text" color="%text_color%">
1459 <font resource="font" />
1460 <placement x="%col2_x%" y="%row5_text_y%" />
1461 <text>Backup Size: %tw_partition_backup_size%MB</text>
1462 </object>
1463
1464 <object type="button">
1465 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1466 <highlight color="%highlight_color%" />
1467 <placement x="%col1_x%" y="%row4_y%" />
1468 <font resource="font" color="%button_text_color%" />
1469 <text>Repair</text>
1470 <image resource="main_button" />
1471 <actions>
1472 <action function="set">tw_back=partitionoptions</action>
1473 <action function="set">tw_action=repair</action>
1474 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1475 <action function="set">tw_has_action2=0</action>
1476 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1477 <action function="set">tw_text2=</action>
1478 <action function="set">tw_action_text1=Repairing...</action>
1479 <action function="set">tw_complete_text1=Repair Complete</action>
1480 <action function="set">tw_slider_text=Swipe to Repair</action>
1481 <action function="page">confirm_action</action>
1482 </actions>
1483 </object>
1484
1485 <object type="button">
1486 <highlight color="%highlight_color%" />
1487 <placement x="%col2_x%" y="%row4_y%" />
1488 <font resource="font" color="%button_text_color%" />
1489 <text>Change File System</text>
1490 <image resource="main_button" />
1491 <action function="page">selectfilesystem</action>
1492 </object>
1493
1494 <object type="action">
1495 <touch key="home" />
1496 <action function="page">main</action>
1497 </object>
1498
1499 <object type="action">
1500 <touch key="back" />
1501 <action function="page">advancedwipe</action>
1502 </object>
1503
1504 <object type="template" name="footer" />
1505 </page>
1506
1507 <page name="selectfilesystem">
1508 <object type="template" name="header" />
1509
1510 <object type="text" color="%text_color%">
1511 <font resource="font" />
1512 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1513 <text>Change file system for: %tw_partition_name%</text>
1514 </object>
1515
1516 <object type="text" color="%text_color%">
1517 <font resource="font" />
1518 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1519 <text>Mount Point: %tw_partition_mount_point%</text>
1520 </object>
1521
1522 <object type="text" color="%text_color%">
1523 <font resource="font" />
1524 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1525 <text>Current file system: %tw_partition_file_system%</text>
1526 </object>
1527
1528 <object type="text" color="%text_color%">
1529 <font resource="font" />
1530 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1531 <text>Some ROMs or kernels may not support some</text>
1532 </object>
1533
1534 <object type="text" color="%text_color%">
1535 <font resource="font" />
1536 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1537 <text>file systems. Proceed with caution!</text>
1538 </object>
1539
1540 <object type="button">
1541 <condition var1="tw_partition_ext" op="=" var2="1" />
1542 <highlight color="%highlight_color%" />
1543 <placement x="%col1_x%" y="%row2_y%" />
1544 <font resource="font" color="%button_text_color%" />
1545 <text>EXT2</text>
1546 <image resource="main_button" />
1547 <actions>
1548 <action function="set">tw_back=selectfilesystem</action>
1549 <action function="set">tw_action=changefilesystem</action>
1550 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1551 <action function="set">tw_action_new_file_system=ext2</action>
1552 <action function="set">tw_has_action2=0</action>
1553 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1554 <action function="set">tw_text2=</action>
1555 <action function="set">tw_action_text1=Formatting...</action>
1556 <action function="set">tw_complete_text1=Format Complete</action>
1557 <action function="set">tw_slider_text=Swipe to Change</action>
1558 <action function="page">confirm_action</action>
1559 </actions>
1560 </object>
1561
1562 <object type="button">
1563 <condition var1="tw_partition_ext" op="=" var2="1" />
1564 <highlight color="%highlight_color%" />
1565 <placement x="%col2_x%" y="%row2_y%" />
1566 <font resource="font" color="%button_text_color%" />
1567 <text>EXT3</text>
1568 <image resource="main_button" />
1569 <actions>
1570 <action function="set">tw_back=selectfilesystem</action>
1571 <action function="set">tw_action=changefilesystem</action>
1572 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1573 <action function="set">tw_action_new_file_system=ext3</action>
1574 <action function="set">tw_has_action2=0</action>
1575 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1576 <action function="set">tw_text2=</action>
1577 <action function="set">tw_action_text1=Formatting...</action>
1578 <action function="set">tw_complete_text1=Format Complete</action>
1579 <action function="set">tw_slider_text=Swipe to Change</action>
1580 <action function="page">confirm_action</action>
1581 </actions>
1582 </object>
1583
1584 <object type="button">
1585 <condition var1="tw_partition_ext" op="=" var2="1" />
1586 <highlight color="%highlight_color%" />
1587 <placement x="%col1_x%" y="%row3_y%" />
1588 <font resource="font" color="%button_text_color%" />
1589 <text>EXT4</text>
1590 <image resource="main_button" />
1591 <actions>
1592 <action function="set">tw_back=selectfilesystem</action>
1593 <action function="set">tw_action=changefilesystem</action>
1594 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1595 <action function="set">tw_action_new_file_system=ext4</action>
1596 <action function="set">tw_has_action2=0</action>
1597 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1598 <action function="set">tw_text2=</action>
1599 <action function="set">tw_action_text1=Formatting...</action>
1600 <action function="set">tw_complete_text1=Format Complete</action>
1601 <action function="set">tw_slider_text=Swipe to Change</action>
1602 <action function="page">confirm_action</action>
1603 </actions>
1604 </object>
1605
1606 <object type="button">
1607 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1608 <highlight color="%highlight_color%" />
1609 <placement x="%col2_x%" y="%row3_y%" />
1610 <font resource="font" color="%button_text_color%" />
1611 <text>F2FS</text>
1612 <image resource="main_button" />
1613 <actions>
1614 <action function="set">tw_back=selectfilesystem</action>
1615 <action function="set">tw_action=changefilesystem</action>
1616 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1617 <action function="set">tw_action_new_file_system=f2fs</action>
1618 <action function="set">tw_has_action2=0</action>
1619 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1620 <action function="set">tw_text2=</action>
1621 <action function="set">tw_action_text1=Formatting...</action>
1622 <action function="set">tw_complete_text1=Format Complete</action>
1623 <action function="set">tw_slider_text=Swipe to Change</action>
1624 <action function="page">confirm_action</action>
1625 </actions>
1626 </object>
1627
1628 <object type="button">
1629 <condition var1="tw_partition_vfat" op="=" var2="1" />
1630 <highlight color="%highlight_color%" />
1631 <placement x="%col1_x%" y="%row4_y%" />
1632 <font resource="font" color="%button_text_color%" />
1633 <text>FAT</text>
1634 <image resource="main_button" />
1635 <actions>
1636 <action function="set">tw_back=selectfilesystem</action>
1637 <action function="set">tw_action=changefilesystem</action>
1638 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1639 <action function="set">tw_action_new_file_system=vfat</action>
1640 <action function="set">tw_has_action2=0</action>
1641 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1642 <action function="set">tw_text2=</action>
1643 <action function="set">tw_action_text1=Formatting...</action>
1644 <action function="set">tw_complete_text1=Format Complete</action>
1645 <action function="set">tw_slider_text=Swipe to Change</action>
1646 <action function="page">confirm_action</action>
1647 </actions>
1648 </object>
1649
1650 <object type="button">
1651 <condition var1="tw_partition_exfat" op="=" var2="1" />
1652 <highlight color="%highlight_color%" />
1653 <placement x="%col2_x%" y="%row4_y%" />
1654 <font resource="font" color="%button_text_color%" />
1655 <text>exFAT</text>
1656 <image resource="main_button" />
1657 <actions>
1658 <action function="set">tw_back=selectfilesystem</action>
1659 <action function="set">tw_action=changefilesystem</action>
1660 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1661 <action function="set">tw_action_new_file_system=exfat</action>
1662 <action function="set">tw_has_action2=0</action>
1663 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1664 <action function="set">tw_text2=</action>
1665 <action function="set">tw_action_text1=Formatting...</action>
1666 <action function="set">tw_complete_text1=Format Complete</action>
1667 <action function="set">tw_slider_text=Swipe to Change</action>
1668 <action function="page">confirm_action</action>
1669 </actions>
1670 </object>
1671
1672 <object type="action">
1673 <touch key="home" />
1674 <action function="page">main</action>
1675 </object>
1676
1677 <object type="action">
1678 <touch key="back" />
1679 <action function="page">partitionoptions</action>
1680 </object>
1681
1682 <object type="template" name="footer" />
1683 </page>
1684
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <page name="backup">
1686 <object type="template" name="header" />
1687
Dees_Troy83bd4832013-05-04 12:39:56 +00001688 <object type="button">
1689 <highlight color="%highlight_color%" />
1690 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001691 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001692 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001694 <actions>
1695 <action function="set">tw_fileexists=0</action>
1696 <action function="page">backupname1</action>
1697 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001698 </object>
1699
Dees_Troya13d74f2013-03-24 08:54:55 -05001700 <object type="partitionlist">
1701 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001702 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001703 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1704 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1705 <text>Select Partitions to Back Up:</text>
1706 <icon selected="checkbox_true" unselected="checkbox_false" />
1707 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1708 <background color="%listbox_background%" />
1709 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1710 <data name="tw_backup_list" />
1711 <listtype name="backup" />
1712 </object>
1713
1714 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001715 <conditions>
1716 <condition var1="tw_include_encrypted_backup" var2="1" />
1717 <condition var1="tw_encrypt_backup" var2="0" />
1718 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001719 <highlight color="%highlight_color%" />
1720 <fill color="%button_fill_color%" />
1721 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1722 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001723 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001724 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001725 <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="%backup_button_row1%" 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>
Dees_Troya13d74f2013-03-24 08:54:55 -05001742 </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="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1749 <font resource="font" color="%button_text_color%" />
1750 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001751 <actions>
1752 <action function="refreshsizes"></action>
1753 <action function="page">backup</action>
1754 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001755 </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=backup</action>
1765 <action function="page">selectstorage</action>
1766 </actions>
1767 </object>
1768
1769 <object type="checkbox">
1770 <placement x="%col1_x%" y="%row15_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="%row16_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" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001783 </object>
1784
1785 <object type="slider">
1786 <placement x="%slider_x%" y="slider_y" />
1787 <resource base="slider" used="slider-used" touch="slider-touch" />
1788 <action function="page">backup_run</action>
1789 </object>
1790
1791 <object type="text" color="%text_color%">
1792 <font resource="font" />
1793 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1794 <text>Swipe to Back Up</text>
1795 </object>
1796
Dees_Troy51a0e822012-09-05 15:24:24 -04001797 <object type="action">
1798 <touch key="home" />
1799 <action function="page">main</action>
1800 </object>
1801
1802 <object type="action">
1803 <touch key="back" />
1804 <action function="page">main</action>
1805 </object>
1806
1807 <object type="template" name="footer" />
1808 </page>
1809
1810 <page name="backupname1">
1811 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001812 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1813 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001814 </object>
1815
1816 <object type="action">
1817 <action function="page">backupname2</function>
1818 </object>
1819 </page>
1820
1821 <page name="backupname2">
1822 <object type="template" name="header" />
1823
1824 <object type="text" color="%text_color%">
1825 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1826 <font resource="font" />
1827 <text>Please Enter a Backup Name</text>
1828 </object>
1829
1830 <object type="input">
1831 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1832 <background color="%input_background_color%" />
1833 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1834 <font resource="font" color="%text_color%" />
1835 <text>%tw_backup_name%</text>
1836 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001837 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001838 <actions>
1839 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1840 <action function="set">tw_existpage=backupname2</action>
1841 <action function="set">tw_notexistpage=backup</action>
1842 <action function="page">filecheck</action>
1843 </actions>
1844 </object>
1845
1846 <object type="text" color="%text_fail_color%">
1847 <condition var1="tw_fileexists" var2="1" />
1848 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1849 <font resource="font" />
1850 <text>A backup with that name already exists!</text>
1851 </object>
1852
1853 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001854 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001855 <placement x="%col1_x%" y="%row2_y%" />
1856 <font resource="font" color="%button_text_color%" />
1857 <text>Append Date</text>
1858 <image resource="main_button" />
1859 <action function="appenddatetobackupname"></action>
1860 </object>
1861
1862 <object type="button">
1863 <highlight color="%highlight_color%" />
1864 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001865 <font resource="font" color="%button_text_color%" />
1866 <text>Cancel</text>
1867 <image resource="main_button" />
1868 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001869 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001870 <action function="page">backup</action>
1871 </actions>
1872 </object>
1873
1874 <object type="template" name="keyboardtemplate" />
1875
1876 <object type="action">
1877 <touch key="home" />
1878 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001879 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001880 <action function="page">main</action>
1881 </actions>
1882 </object>
1883
1884 <object type="action">
1885 <touch key="back" />
1886 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001887 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001888 <action function="page">backup</action>
1889 </actions>
1890 </object>
1891
1892 <object type="template" name="footer" />
1893 </page>
1894
Dees_Troy83bd4832013-05-04 12:39:56 +00001895 <page name="backupencryption">
1896 <object type="template" name="header" />
1897
1898 <object type="text" color="%text_color%">
1899 <font resource="font" />
1900 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1901 <text>Encrypt your backup?</text>
1902 </object>
1903
1904 <object type="text" color="%text_color%">
1905 <font resource="font" />
1906 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1907 <text>Please Enter A Password:</text>
1908 </object>
1909
1910 <object type="input">
1911 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1912 <background color="%input_background_color%" />
1913 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1914 <font resource="font" color="%text_color%" />
1915 <text>%tw_backup_encrypt_display%</text>
1916 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1917 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1918 <action function="page">backupencryption2</action>
1919 </object>
1920
1921 <object type="text" color="%text_fail_color%">
1922 <condition var1="tw_password_not_match" var2="1" />
1923 <font resource="font" />
1924 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1925 <text>Passwords Do Not Match</text>
1926 </object>
1927
1928 <object type="button">
1929 <highlight color="%highlight_color%" />
1930 <placement x="%col_center_x%" y="%row2_y%" />
1931 <font resource="font" color="%button_text_color%" />
1932 <text>Cancel</text>
1933 <image resource="main_button" />
1934 <actions>
1935 <action function="set">tw_encrypt_backup=0</action>
1936 <action function="set">tw_backup_password=</action>
1937 <action function="set">tw_backup_password2=</action>
1938 <action function="set">tw_backup_encrypt_display=</action>
1939 <action function="set">tw_backup_encrypt_display2=</action>
1940 <action function="page">backup</action>
1941 </actions>
1942 </object>
1943
1944 <object type="template" name="keyboardtemplate" />
1945
1946 <object type="action">
1947 <touch key="home" />
1948 <action function="page">main</action>
1949 </object>
1950
1951 <object type="action">
1952 <touch key="back" />
1953 <action function="page">backup</action>
1954 </object>
1955
1956 <object type="template" name="footer" />
1957 </page>
1958
1959 <page name="backupencryption2">
1960 <object type="template" name="header" />
1961
1962 <object type="text" color="%text_color%">
1963 <font resource="font" />
1964 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1965 <text>Encrypt your backup?</text>
1966 </object>
1967
1968 <object type="text" color="%text_color%">
1969 <font resource="font" />
1970 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1971 <text>Please Enter Password Again:</text>
1972 </object>
1973
1974 <object type="input">
1975 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1976 <background color="%input_background_color%" />
1977 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1978 <font resource="font" color="%text_color%" />
1979 <text>%tw_backup_encrypt_display2%</text>
1980 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1981 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1982 <actions>
1983 <action function="page">checkbackuppassword</action>
1984 </actions>
1985 </object>
1986
1987 <object type="button">
1988 <highlight color="%highlight_color%" />
1989 <placement x="%col_center_x%" y="%row2_y%" />
1990 <font resource="font" color="%button_text_color%" />
1991 <text>Cancel</text>
1992 <image resource="main_button" />
1993 <actions>
1994 <action function="set">tw_encrypt_backup=0</action>
1995 <action function="set">tw_backup_password=</action>
1996 <action function="set">tw_backup_password2=</action>
1997 <action function="set">tw_backup_encrypt_display=</action>
1998 <action function="set">tw_backup_encrypt_display2=</action>
1999 <action function="page">backup</action>
2000 </actions>
2001 </object>
2002
2003 <object type="template" name="keyboardtemplate" />
2004
2005 <object type="action">
2006 <touch key="home" />
2007 <action function="page">main</action>
2008 </object>
2009
2010 <object type="action">
2011 <touch key="back" />
2012 <action function="page">backup</action>
2013 </object>
2014
2015 <object type="template" name="footer" />
2016 </page>
2017
2018 <page name="checkbackuppassword">
2019 <object type="action">
2020 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2021 <actions>
2022 <action function="set">tw_encrypt_backup=1</action>
2023 <action function="page">backup</action>
2024 </actions>
2025 </object>
2026
2027 <object type="action">
2028 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2029 <actions>
2030 <action function="set">tw_encrypt_backup=0</action>
2031 <action function="set">tw_password_not_match=1</action>
2032 <action function="set">tw_backup_password=</action>
2033 <action function="set">tw_backup_password2=</action>
2034 <action function="set">tw_backup_encrypt_display=</action>
2035 <action function="set">tw_backup_encrypt_display2=</action>
2036 <action function="page">backupencryption</action>
2037 </actions>
2038 </object>
2039 </page>
2040
Dees_Troy51a0e822012-09-05 15:24:24 -04002041 <page name="backup_run">
2042 <object type="template" name="header" />
2043
2044 <object type="text" color="%text_color%">
2045 <font resource="font" />
2046 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2047 <text>%tw_operation% %tw_partition%</text>
2048 </object>
2049
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002050 <object type="text" color="%text_color%">
2051 <font resource="font" />
2052 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2053 <text>%tw_file_progress%</text>
2054 </object>
2055
2056 <object type="text" color="%text_color%">
2057 <font resource="font" />
2058 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2059 <text>%tw_size_progress%</text>
2060 </object>
2061
Dees_Troy51a0e822012-09-05 15:24:24 -04002062 <object type="template" name="action_page_console" />
2063
2064 <object type="template" name="progress_bar" />
2065
2066 <object type="action">
2067 <action function="nandroid">backup</action>
2068 </object>
2069
2070 <object type="action">
2071 <condition var1="tw_operation_state" var2="1" />
2072 <actions>
2073 <action function="set">tw_back=backup</action>
2074 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002075 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002076 <action function="page">action_complete</action>
2077 </actions>
2078 </object>
2079 </page>
2080
2081 <page name="restore">
2082 <object type="template" name="header" />
2083
2084 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002085 <highlight color="%highlight_color%" />
2086 <fill color="%button_fill_color%" />
2087 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2088 <font resource="font" color="%button_text_color%" />
2089 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2090 <actions>
2091 <action function="set">tw_back=restore</action>
2092 <action function="page">selectstorage</action>
2093 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002094 </object>
2095
2096 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002097 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002098 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002099 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002100 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002101 <text>Select Package to Restore:</text>
2102 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2103 <sort name="tw_gui_sort_order" />
2104 <icon folder="folder_icon" file="file_icon" />
2105 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002106 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002107 <filter folders="1" files="0" nav="0" />
2108 <path name="tw_backups_folder" />
2109 <data name="tw_restore" default="" />
2110 <selection name="tw_restore_name" />
2111 </object>
2112
2113 <object type="template" name="sort_options" />
2114
2115 <object type="action">
2116 <condition var1="tw_restore" op="modified" />
2117 <actions>
2118 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002119 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002120 </actions>
2121 </object>
2122
2123 <object type="action">
2124 <touch key="home" />
2125 <action function="page">main</action>
2126 </object>
2127
2128 <object type="action">
2129 <touch key="back" />
2130 <action function="page">main</action>
2131 </object>
2132
2133 <object type="template" name="footer" />
2134 </page>
2135
Dees_Troy83bd4832013-05-04 12:39:56 +00002136 <page name="restore_read">
2137 <object type="action">
2138 <condition var1="tw_restore_encrypted" var2="1" />
2139 <actions>
2140 <action function="set">tw_password_fail=0</action>
2141 <action function="page">restore_decrypt</action>
2142 </actions>
2143 </object>
2144
2145 <object type="action">
2146 <condition var1="tw_restore_encrypted" var2="0" />
2147 <actions>
2148 <action function="page">restore_select</action>
2149 </actions>
2150 </object>
2151 </page>
2152
2153 <page name="restore_decrypt">
2154 <object type="template" name="header" />
2155
2156 <object type="text" color="%text_color%">
2157 <font resource="font" />
2158 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2159 <text>Backup Encrypted</text>
2160 </object>
2161
2162 <object type="text" color="%text_color%">
2163 <font resource="font" />
2164 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2165 <text>Please Enter Your Password:</text>
2166 </object>
2167
2168 <object type="input">
2169 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2170 <background color="%input_background_color%" />
2171 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2172 <font resource="font" color="%text_color%" />
2173 <text>%tw_restore_display%</text>
2174 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2175 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2176 <actions>
2177 <action function="page">try_restore_decrypt</action>
2178 </actions>
2179 </object>
2180
2181 <object type="text" color="%text_fail_color%">
2182 <condition var1="tw_password_fail" var2="1" />
2183 <font resource="font" />
2184 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2185 <text>Password Failed, Please Try Again</text>
2186 </object>
2187
2188 <object type="button">
2189 <highlight color="%highlight_color%" />
2190 <placement x="%col1_x%" y="%row2_y%" />
2191 <font resource="font" color="%button_text_color%" />
2192 <text>Cancel</text>
2193 <image resource="main_button" />
2194 <actions>
2195 <action function="set">tw_page_done=1</action>
2196 <action function="page">restore</action>
2197 </actions>
2198 </object>
2199
2200 <object type="button">
2201 <highlight color="%highlight_color%" />
2202 <placement x="%col2_x%" y="%row2_y%" />
2203 <font resource="font" color="%button_text_color%" />
2204 <text>Delete</text>
2205 <image resource="main_button" />
2206 <actions>
2207 <action function="set">tw_back=restore</action>
2208 <action function="set">tw_action=cmd</action>
2209 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2210 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2211 <action function="set">tw_text2=This cannot be undone!</action>
2212 <action function="set">tw_action_text1=Deleting Backup...</action>
2213 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2214 <action function="set">tw_slider_text=Swipe to Delete</action>
2215 <action function="page">confirm_action</action>
2216 </actions>
2217 </object>
2218
2219 <object type="template" name="keyboardtemplate" />
2220
2221 <object type="action">
2222 <touch key="home" />
2223 <action function="page">main</action>
2224 </object>
2225
2226 <object type="action">
2227 <touch key="back" />
2228 <action function="page">restore</action>
2229 </object>
2230
2231 <object type="template" name="footer" />
2232 </page>
2233
2234 <page name="try_restore_decrypt">
2235 <object type="template" name="header" />
2236
2237 <object type="text" color="%text_color%">
2238 <font resource="font" />
2239 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2240 <text>Trying Decryption with Your Password</text>
2241 </object>
2242
2243 <object type="template" name="action_page_console" />
2244
2245 <object type="template" name="progress_bar" />
2246
2247 <object type="action">
2248 <action function="decrypt_backup"></action>
2249 </object>
2250
2251 <object type="action">
2252 <conditions>
2253 <condition var1="tw_operation_state" var2="1" />
2254 <condition var1="tw_operation_status" op="!=" var2="0" />
2255 </conditions>
2256 <actions>
2257 <action function="set">tw_password_fail=1</action>
2258 <action function="page">restore_decrypt</action>
2259 </actions>
2260 </object>
2261
2262 <object type="action">
2263 <conditions>
2264 <condition var1="tw_operation_state" var2="1" />
2265 <condition var1="tw_operation_status" op="=" var2="0" />
2266 </conditions>
2267 <actions>
2268 <action function="set">tw_page_done=1</action>
2269 <action function="page">restore_select</action>
2270 </actions>
2271 </object>
2272 </page>
2273
Dees_Troy51a0e822012-09-05 15:24:24 -04002274 <page name="restore_select">
2275 <object type="template" name="header" />
2276
Dees_Troya13d74f2013-03-24 08:54:55 -05002277 <object type="partitionlist">
2278 <highlight color="%fileselector_highlight_color%" />
2279 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2280 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2281 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002282 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002283 <icon selected="checkbox_true" unselected="checkbox_false" />
2284 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2285 <background color="%listbox_background%" />
2286 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2287 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2288 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002289 </object>
2290
2291 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002292 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002293 <fill color="%button_fill_color%" />
2294 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002295 <font resource="font" color="%button_text_color%" />
2296 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002297 <actions>
2298 <action function="set">tw_backup_rename=</action>
2299 <action function="set">tw_fileexists=0</action>
2300 <action function="page">renamebackup</action>
2301 </actions>
2302 </object>
2303
2304 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002305 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002306 <fill color="%button_fill_color%" />
2307 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <font resource="font" color="%button_text_color%" />
2309 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002310 <actions>
2311 <action function="set">tw_back=restore</action>
2312 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002313 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002314 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2315 <action function="set">tw_text2=This cannot be undone!</action>
2316 <action function="set">tw_action_text1=Deleting Backup...</action>
2317 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2318 <action function="set">tw_slider_text=Swipe to Delete</action>
2319 <action function="page">confirm_action</action>
2320 </actions>
2321 </object>
2322
Dees_Troya13d74f2013-03-24 08:54:55 -05002323 <object type="checkbox">
2324 <placement x="%col1_x%" y="%row15_text_y%" />
2325 <font resource="font" color="%text_color%" />
2326 <text>Enable MD5 verification of backup files.</text>
2327 <data variable="tw_skip_md5_check" />
2328 <image checked="checkbox_true" unchecked="checkbox_false" />
2329 </object>
2330
2331 <object type="text" color="%text_color%">
2332 <font resource="font" />
2333 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2334 <text>Package Date: %tw_restore_file_date%</text>
2335 </object>
2336
Dees_Troy51a0e822012-09-05 15:24:24 -04002337 <object type="slider">
2338 <placement x="%slider_x%" y="%slider_y%" />
2339 <resource base="slider" used="slider-used" touch="slider-touch" />
2340 <action function="page">restore_run</action>
2341 </object>
2342
2343 <object type="text" color="%text_color%">
2344 <font resource="font" />
2345 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2346 <text>Swipe to Restore</text>
2347 </object>
2348
Dees_Troy51a0e822012-09-05 15:24:24 -04002349 <object type="action">
2350 <touch key="home" />
2351 <action function="page">main</action>
2352 </object>
2353
2354 <object type="action">
2355 <touch key="back" />
2356 <action function="page">restore</action>
2357 </object>
2358
2359 <object type="template" name="footer" />
2360 </page>
2361
2362 <page name="renamebackup">
2363 <object type="template" name="header" />
2364
2365 <object type="text" color="%text_color%">
2366 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2367 <font resource="font" />
2368 <text>Please Enter a New Backup Name</text>
2369 </object>
2370
2371 <object type="input">
2372 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2373 <background color="%input_background_color%" />
2374 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2375 <font resource="font" color="%text_color%" />
2376 <text>%tw_backup_rename%</text>
2377 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002378 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002379 <actions>
2380 <action function="set">tw_back=restore</action>
2381 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002382 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <action function="set">tw_text1=Rename Backup?</action>
2384 <action function="set">tw_text2=This cannot be undone!</action>
2385 <action function="set">tw_action_text1=Renaming Backup...</action>
2386 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2387 <action function="set">tw_slider_text=Swipe to Rename</action>
2388 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2389 <action function="set">tw_existpage=renamebackup</action>
2390 <action function="set">tw_notexistpage=confirm_action</action>
2391 <action function="page">filecheck</action>
2392 </actions>
2393 </object>
2394
2395 <object type="text" color="%text_fail_color%">
2396 <condition var1="tw_fileexists" var2="1" />
2397 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2398 <font resource="font" />
2399 <text>A backup with that name already exists!</text>
2400 </object>
2401
2402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002403 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <placement x="%col_center_x%" y="%row2_y%" />
2405 <font resource="font" color="%button_text_color%" />
2406 <text>Cancel</text>
2407 <image resource="main_button" />
2408 <action function="page">restore_select</action>
2409 </object>
2410
2411 <object type="template" name="keyboardtemplate" />
2412
2413 <object type="action">
2414 <touch key="home" />
2415 <action function="page">main</action>
2416 </object>
2417
2418 <object type="action">
2419 <touch key="back" />
2420 <action function="page">restore_select</action>
2421 </object>
2422
2423 <object type="template" name="footer" />
2424 </page>
2425
2426 <page name="restore_run">
2427 <object type="template" name="header" />
2428
2429 <object type="text" color="%text_color%">
2430 <font resource="font" />
2431 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2432 <text>%tw_operation% %tw_partition%</text>
2433 </object>
2434
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002435 <object type="text" color="%text_color%">
2436 <font resource="font" />
2437 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2438 <text>%tw_size_progress%</text>
2439 </object>
2440
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <object type="template" name="action_page_console" />
2442
2443 <object type="template" name="progress_bar" />
2444
2445 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002446 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <actions>
2448 <action function="set">tw_back=restore_select</action>
2449 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002450 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002451 <action function="page">action_complete</action>
2452 </actions>
2453 </object>
2454
2455 <object type="action">
2456 <action function="nandroid">restore</action>
2457 </object>
2458 </page>
2459
Dees_Troya13d74f2013-03-24 08:54:55 -05002460 <page name="selectstorage">
2461 <object type="template" name="header" />
2462
2463 <object type="partitionlist">
2464 <highlight color="%fileselector_highlight_color%" />
2465 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2466 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2467 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2468 <text>Select Storage:</text>
2469 <icon selected="radio_true" unselected="radio_false" />
2470 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2471 <background color="%listbox_background%" />
2472 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2473 <data name="tw_storage_path" />
2474 <listtype name="storage" />
2475 </object>
2476
Dees_Troye7e0ae82013-07-05 14:46:07 +00002477 <object type="button">
2478 <highlight color="%highlight_color%" />
2479 <placement x="%col_center_x%" y="%row4_y%" />
2480 <font resource="font" color="%button_text_color%" />
2481 <text>OK</text>
2482 <image resource="main_button" />
2483 <actions>
2484 <action function="set">tw_clear_destination=%tw_back%</action>
2485 <action function="page">clear_vars</action>
2486 </actions>
2487 </object>
2488
Dees_Troya13d74f2013-03-24 08:54:55 -05002489 <object type="action">
2490 <touch key="home" />
2491 <action function="page">main</action>
2492 </object>
2493
2494 <object type="action">
2495 <touch key="back" />
2496 <actions>
2497 <action function="page">%tw_back%</action>
2498 </actions>
2499 </object>
2500
2501 <object type="template" name="footer" />
2502 </page>
2503
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <page name="mount">
2505 <object type="template" name="header" />
2506
Dees_Troya13d74f2013-03-24 08:54:55 -05002507 <object type="partitionlist">
2508 <highlight color="%fileselector_highlight_color%" />
2509 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2511 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2512 <text>Select Partitions to Mount:</text>
2513 <icon selected="checkbox_true" unselected="checkbox_false" />
2514 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2515 <background color="%listbox_background%" />
2516 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2517 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002518 </object>
2519
2520 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002521 <highlight color="%highlight_color%" />
2522 <fill color="%button_fill_color%" />
2523 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2524 <font resource="font" color="%button_text_color%" />
2525 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2526 <actions>
2527 <action function="set">tw_back=mount</action>
2528 <action function="page">selectstorage</action>
2529 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002530 </object>
2531
2532 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002533 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002534 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002535 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002536 <font resource="font" color="%button_text_color%" />
2537 <text>Mount USB Storage</text>
2538 <image resource="main_button" />
2539 <action function="page">usb_mount</action>
2540 </object>
2541
Gary Peckffdc6ae2012-11-21 18:02:02 -08002542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002543 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002544 <conditions>
2545 <condition var1="tw_is_encrypted" var2="1" />
2546 <condition var1="tw_is_decrypted" var2="0" />
2547 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002548 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002549 <font resource="font" color="%button_text_color%" />
2550 <text>Decrypt Data</text>
2551 <image resource="main_button" />
2552 <action function="page">decrypt</action>
2553 </object>
2554
Dees_Troy51a0e822012-09-05 15:24:24 -04002555 <object type="action">
2556 <touch key="home" />
2557 <action function="page">main</action>
2558 </object>
2559
2560 <object type="action">
2561 <touch key="back" />
2562 <action function="page">main</action>
2563 </object>
2564
2565 <object type="template" name="footer" />
2566 </page>
2567
2568 <page name="usb_mount">
2569 <object type="template" name="header" />
2570
2571 <object type="text" color="%text_color%">
2572 <font resource="font" />
2573 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2574 <text>USB Storage Mounted</text>
2575 </object>
2576
2577 <object type="text" color="%text_color%">
2578 <placement x="%col1_x%" y="%row1_text_y%" />
2579 <font resource="font" />
2580 <text>Be sure to safely remove your device</text>
2581 </object>
2582
2583 <object type="text" color="%text_color%">
2584 <placement x="%col1_x%" y="%row2_text_y%" />
2585 <font resource="font" />
2586 <text>from your computer before unmounting!</text>
2587 </object>
2588
2589 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002590 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002591 <placement x="%col1_x%" y="%row3_y%" />
2592 <font resource="font" color="%button_text_color%" />
2593 <text>Unmount</text>
2594 <image resource="main_button" />
2595 <action function="page">usb_umount</action>
2596 </object>
2597
2598 <object type="action">
2599 <action function="mount">usb</action>
2600 </object>
2601
2602 <object type="template" name="footer" />
2603 </page>
2604
2605 <page name="usb_umount">
2606 <object type="action">
2607 <action function="unmount">usb</action>
2608 </object>
2609
2610 <object type="action">
2611 <action function="page">mount</action>
2612 </object>
2613 </page>
2614
2615 <page name="reboot">
2616 <object type="template" name="header" />
2617
2618 <object type="text" color="%text_color%">
2619 <font resource="font" />
2620 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2621 <text>Reboot Menu</text>
2622 </object>
2623
2624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002625 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002626 <condition var1="tw_reboot_system" var2="1" />
2627 <placement x="%col1_x%" y="%row1_y%" />
2628 <font resource="font" color="%button_text_color%" />
2629 <text>System</text>
2630 <image resource="main_button" />
2631 <actions>
2632 <action function="set">tw_back=reboot</action>
2633 <action function="set">tw_action=reboot</action>
2634 <action function="set">tw_action_param=system</action>
2635 <action function="set">tw_has_action2=0</action>
2636 <action function="set">tw_text1=No OS Installed! Are you</action>
2637 <action function="set">tw_text2=sure you wish to reboot?</action>
2638 <action function="set">tw_action_text1=Rebooting...</action>
2639 <action function="set">tw_complete_text1=Rebooting...</action>
2640 <action function="set">tw_slider_text=Swipe to Reboot</action>
2641 <action function="page">rebootcheck</action>
2642 </actions>
2643 </object>
2644
2645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002647 <condition var1="tw_reboot_poweroff" var2="1" />
2648 <placement x="%col2_x%" y="%row1_y%" />
2649 <font resource="font" color="%button_text_color%" />
2650 <text>Power Off</text>
2651 <image resource="main_button" />
2652 <actions>
2653 <action function="set">tw_back=reboot</action>
2654 <action function="set">tw_action=reboot</action>
2655 <action function="set">tw_action_param=poweroff</action>
2656 <action function="set">tw_has_action2=0</action>
2657 <action function="set">tw_text1=No OS Installed! Are you</action>
2658 <action function="set">tw_text2=sure you wish to power off?</action>
2659 <action function="set">tw_action_text1=Turning Off...</action>
2660 <action function="set">tw_complete_text1=Turning Off...</action>
2661 <action function="set">tw_slider_text=Swipe to Power Off</action>
2662 <action function="page">rebootcheck</action>
2663 </actions>
2664 </object>
2665
2666 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002667 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002668 <condition var1="tw_reboot_recovery" var2="1" />
2669 <placement x="%col1_x%" y="%row2_y%" />
2670 <font resource="font" color="%button_text_color%" />
2671 <text>Recovery</text>
2672 <image resource="main_button" />
2673 <actions>
2674 <action function="set">tw_back=reboot</action>
2675 <action function="set">tw_action=reboot</action>
2676 <action function="set">tw_action_param=recovery</action>
2677 <action function="set">tw_has_action2=0</action>
2678 <action function="set">tw_text1=No OS Installed! Are you</action>
2679 <action function="set">tw_text2=sure you wish to reboot?</action>
2680 <action function="set">tw_action_text1=Rebooting...</action>
2681 <action function="set">tw_complete_text1=Rebooting...</action>
2682 <action function="set">tw_slider_text=Swipe to Reboot</action>
2683 <action function="page">rebootcheck</action>
2684 </actions>
2685 </object>
2686
2687 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002688 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002689 <condition var1="tw_reboot_bootloader" var2="1" />
2690 <placement x="%col2_x%" y="%row2_y%" />
2691 <font resource="font" color="%button_text_color%" />
2692 <text>Bootloader</text>
2693 <image resource="main_button" />
2694 <actions>
2695 <action function="set">tw_back=reboot</action>
2696 <action function="set">tw_action=reboot</action>
2697 <action function="set">tw_action_param=bootloader</action>
2698 <action function="set">tw_has_action2=0</action>
2699 <action function="set">tw_text1=No OS Installed! Are you</action>
2700 <action function="set">tw_text2=sure you wish to reboot?</action>
2701 <action function="set">tw_action_text1=Rebooting...</action>
2702 <action function="set">tw_complete_text1=Rebooting...</action>
2703 <action function="set">tw_slider_text=Swipe to Reboot</action>
2704 <action function="page">rebootcheck</action>
2705 </actions>
2706 </object>
2707
2708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002710 <condition var1="tw_download_mode" var2="1" />
2711 <placement x="%col1_x%" y="%row3_y%" />
2712 <font resource="font" color="%button_text_color%" />
2713 <text>Download</text>
2714 <image resource="main_button" />
2715 <actions>
2716 <action function="set">tw_back=reboot</action>
2717 <action function="set">tw_action=reboot</action>
2718 <action function="set">tw_action_param=download</action>
2719 <action function="set">tw_has_action2=0</action>
2720 <action function="set">tw_text1=No OS Installed! Are you</action>
2721 <action function="set">tw_text2=sure you wish to reboot?</action>
2722 <action function="set">tw_action_text1=Rebooting...</action>
2723 <action function="set">tw_complete_text1=Rebooting...</action>
2724 <action function="set">tw_slider_text=Swipe to Reboot</action>
2725 <action function="page">rebootcheck</action>
2726 </actions>
2727 </object>
2728
2729 <object type="action">
2730 <touch key="home" />
2731 <action function="page">main</action>
2732 </object>
2733
2734 <object type="action">
2735 <touch key="back" />
2736 <action function="page">main</action>
2737 </object>
2738
2739 <object type="template" name="footer" />
2740 </page>
2741
2742 <page name="settings">
2743 <object type="template" name="header" />
2744
2745 <object type="text" color="%text_color%">
2746 <font resource="font" />
2747 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2748 <text>Settings</text>
2749 </object>
2750
2751 <object type="checkbox">
2752 <placement x="%col1_x%" y="%row1_text_y%" />
2753 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002754 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <data variable="tw_signed_zip_verify" />
2756 <image checked="checkbox_true" unchecked="checkbox_false" />
2757 </object>
2758
2759 <object type="checkbox">
2760 <placement x="%col1_x%" y="%row2_text_y%" />
2761 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002762 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <data variable="tw_rm_rf" />
2764 <image checked="checkbox_true" unchecked="checkbox_false" />
2765 </object>
2766
2767 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002768 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002770 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <data variable="tw_skip_md5_generate" />
2772 <image checked="checkbox_true" unchecked="checkbox_false" />
2773 </object>
2774
2775 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002776 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002778 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <data variable="tw_skip_md5_check" />
2780 <image checked="checkbox_true" unchecked="checkbox_false" />
2781 </object>
2782
2783 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002784 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002785 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002786 <text>Use Military Time.</text>
2787 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <image checked="checkbox_true" unchecked="checkbox_false" />
2789 </object>
2790
2791 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002792 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002793 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002794 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <data variable="tw_simulate_actions" />
2796 <image checked="checkbox_true" unchecked="checkbox_false" />
2797 </object>
2798
2799 <object type="checkbox">
2800 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002801 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002802 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002803 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <data variable="tw_simulate_fail" />
2805 <image checked="checkbox_true" unchecked="checkbox_false" />
2806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002810 <placement x="%col1_x%" y="%row3_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>Time Zone</text>
2813 <image resource="main_button" />
2814 <action function="page">timezone</action>
2815 </object>
2816
2817 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002818 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002819 <placement x="%col2_x%" y="%row3_y%" />
2820 <font resource="font" color="%button_text_color%" />
2821 <text>Screen</text>
2822 <image resource="main_button" />
2823 <action function="page">screen</action>
2824 </object>
2825
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002826 <object type="button">
2827 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002828 <placement x="%col1_x%" y="%row4_y%" />
2829 <font resource="font" color="%button_text_color%" />
2830 <text>Restore Defaults</text>
2831 <image resource="main_button" />
2832 <action function="restoredefaultsettings"></action>
2833 </object>
2834
Dees_Troy2f9117a2013-02-17 19:52:09 -06002835 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002836 <highlight color="%highlight_color%" />
2837 <placement x="%col2_x%" y="%row4_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>Vibration Duration</text>
2840 <image resource="main_button" />
2841 <action function="page">Vibrate</action>
2842 </object>
2843
Dees_Troy51a0e822012-09-05 15:24:24 -04002844 <object type="action">
2845 <touch key="home" />
2846 <action function="page">main</action>
2847 </object>
2848
2849 <object type="action">
2850 <touch key="back" />
2851 <action function="page">main</action>
2852 </object>
2853
2854 <object type="template" name="footer" />
2855 </page>
2856
2857 <page name="timezone">
2858 <object type="template" name="header" />
2859
Dees_Troy51a0e822012-09-05 15:24:24 -04002860 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002861 <highlight color="%fileselector_highlight_color%" />
2862 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2863 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002864 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002865 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002867 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002869 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002870 <data name="tw_time_zone_guisel" />
2871 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2872 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2873 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2874 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2875 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2876 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2877 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2878 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2879 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2880 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2881 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2882 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2883 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2884 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2885 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2886 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2887 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2888 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2889 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2890 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2891 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2892 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2893 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2894 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2895 </object>
2896
2897 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002898 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <font resource="font" color="%text_color%" />
2900 <text>Do you use daylight savings time (DST)?</text>
2901 <data variable="tw_time_zone_guidst" />
2902 <image checked="checkbox_true" unchecked="checkbox_false" />
2903 </object>
2904
2905 <object type="text" color="%text_color%">
2906 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002907 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2909 </object>
2910
2911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002912 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002913 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002914 <font resource="font" color="%button_text_color%" />
2915 <text>None</text>
2916 <image resource="medium_button" />
2917 <action function="set">tw_time_zone_guioffset=0</action>
2918 </object>
2919
2920 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002921 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002922 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002923 <font resource="font" color="%button_text_color%" />
2924 <text>15</text>
2925 <image resource="medium_button" />
2926 <action function="set">tw_time_zone_guioffset=15</action>
2927 </object>
2928
2929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002930 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002931 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002932 <font resource="font" color="%button_text_color%" />
2933 <text>30</text>
2934 <image resource="medium_button" />
2935 <action function="set">tw_time_zone_guioffset=30</action>
2936 </object>
2937
2938 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002939 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002940 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002941 <font resource="font" color="%button_text_color%" />
2942 <text>45</text>
2943 <image resource="medium_button" />
2944 <action function="set">tw_time_zone_guioffset=45</action>
2945 </object>
2946
2947 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002948 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002949 <placement x="%col_center_x%" y="%tz_set_y%" />
2950 <font resource="font" color="%button_text_color%" />
2951 <text>Set Time Zone</text>
2952 <image resource="main_button" />
2953 <action function="setguitimezone"></action>
2954 </object>
2955
2956 <object type="text" color="%text_color%">
2957 <font resource="font" />
2958 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2959 <text>Current Time Zone: %tw_time_zone%</text>
2960 </object>
2961
2962 <object type="action">
2963 <touch key="home" />
2964 <action function="page">main</action>
2965 </object>
2966
2967 <object type="action">
2968 <touch key="back" />
2969 <action function="page">settings</action>
2970 </object>
2971
2972 <object type="template" name="footer" />
2973 </page>
2974
Dees_Troy2f9117a2013-02-17 19:52:09 -06002975 <page name="screen">
2976 <object type="template" name="header" />
2977
2978 <object type="text" color="%text_color%">
2979 <font resource="font" />
2980 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2981 <text>Screen Settings</text>
2982 </object>
2983
Dees_Troy2f9117a2013-02-17 19:52:09 -06002984 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002985 <placement x="%col1_x%" y="%row2_text_y%" />
2986 <font resource="font" color="%text_color%" />
2987 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002988 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002989 <text>Enable screen timeout.</text>
2990 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002991 <action function="set">tw_screen_timeout_secs=60</action>
2992 </object>
2993
2994 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002995 <placement x="%col1_x%" y="%row2_text_y%" />
2996 <font resource="font" color="%text_color%" />
2997 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002998 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002999 <text>Enable screen timeout.</text>
3000 <image resource="checkbox_true" />
3001 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003002 </object>
3003
Vojtech Bocek85932342013-04-01 22:11:33 +02003004 <object type="slidervalue">
3005 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003006 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003007 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3008 <font resource="font" color="%text_color%" />
3009 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3010 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3011 <text>Screen timeout in seconds:</text>
3012 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003013 </object>
3014
Vojtech Bocek85932342013-04-01 22:11:33 +02003015 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003016 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003017 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3018 <font resource="font" color="%text_color%" />
3019 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3020 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3021 <text>Brightness: %tw_brightness_pct%%</text>
3022 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003023 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003024 <action function="set">tw_brightness=%tw_brightness_max%</action>
3025 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3026 <action function="compute">tw_brightness/100</action>
3027 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003028 </actions>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="home" />
3033 <action function="page">main</action>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="back" />
3038 <action function="page">settings</action>
3039 </object>
3040
3041 <object type="template" name="footer" />
3042 </page>
3043
Ethan Yonker03db3262014-02-05 08:02:06 -06003044 <page name="Vibrate">
3045 <object type="template" name="header" />
3046
3047 <object type="text" color="%text_color%">
3048 <font resource="font" />
3049 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3050 <text>Vibration Settings :</text>
3051 </object>
3052
3053 <object type="slidervalue">
3054 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3055 <font resource="font" color="%text_color%" />
3056 <text>Button Vibration:</text>
3057 <data variable="tw_button_vibrate" min="0" max="300" />
3058 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3059 </object>
3060
3061 <object type="slidervalue">
3062 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3063 <font resource="font" color="%text_color%" />
3064 <text>Keyboard Vibration:</text>
3065 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3066 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3067 </object>
3068
3069 <object type="slidervalue">
3070 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3071 <font resource="font" color="%text_color%" />
3072 <text>Action Vibration:</text>
3073 <data variable="tw_action_vibrate" min="0" max="500" />
3074 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3075 </object>
3076
3077 <object type="action">
3078 <touch key="home" />
3079 <action function="page">main</action>
3080 </object>
3081
3082 <object type="action">
3083 <touch key="back" />
3084 <action function="page">settings</action>
3085 </object>
3086
3087 <object type="template" name="footer" />
3088 </page>
3089
Dees_Troy51a0e822012-09-05 15:24:24 -04003090 <page name="advanced">
3091 <object type="template" name="header" />
3092
3093 <object type="text" color="%text_color%">
3094 <font resource="font" />
3095 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3096 <text>Advanced</text>
3097 </object>
3098
3099 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003100 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003101 <placement x="%col1_x%" y="%row1_y%" />
3102 <font resource="font" color="%button_text_color%" />
3103 <text>Copy Log to SD</text>
3104 <image resource="main_button" />
3105 <actions>
3106 <action function="set">tw_back=advanced</action>
3107 <action function="set">tw_action=copylog</action>
3108 <action function="set">tw_text1=Copy Log to SD Card?</action>
3109 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3110 <action function="set">tw_complete_text1=Log Copy Complete</action>
3111 <action function="set">tw_slider_text=Swipe to Confirm</action>
3112 <action function="page">confirm_action</action>
3113 </actions>
3114 </object>
3115
3116 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003117 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003118 <placement x="%col2_x%" y="%row1_y%" />
3119 <font resource="font" color="%button_text_color%" />
3120 <text>Fix Permissions</text>
3121 <image resource="main_button" />
3122 <actions>
3123 <action function="set">tw_back=advanced</action>
3124 <action function="set">tw_action=fixpermissions</action>
3125 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003126 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3128 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003129 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003130 <action function="page">confirm_action</action>
3131 </actions>
3132 </object>
3133
3134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003136 <condition var1="tw_allow_partition_sdcard" var2="1" />
3137 <placement x="%col1_x%" y="%row2_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>Partition SD Card</text>
3140 <image resource="main_button" />
3141 <action function="page">partsdcard</action>
3142 </object>
3143
3144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003145 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003146 <placement x="%col2_x%" y="%row2_y%" />
3147 <font resource="font" color="%button_text_color%" />
3148 <text>File Manager</text>
3149 <image resource="main_button" />
3150 <action function="page">filemanagerlist</action>
3151 </object>
3152
3153 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003154 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003155 <placement x="%col1_x%" y="%row3_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>Terminal Command</text>
3158 <image resource="main_button" />
3159 <action function="page">terminalfolder</action>
3160 </object>
3161
3162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003163 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003164 <placement x="%col2_x%" y="%row3_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Reload Theme</text>
3167 <image resource="main_button" />
3168 <action function="reload"></action>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003173 <placement x="%col1_x%" y="%row4_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>ADB Sideload</text>
3176 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003177 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04003178 </object>
3179
3180 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003181 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003182 <condition var1="tw_show_dumlock" var2="1" />
3183 <placement x="%col2_x%" y="%row4_y%" />
3184 <font resource="font" color="%button_text_color%" />
3185 <text>HTC Dumlock</text>
3186 <image resource="main_button" />
3187 <action function="page">htcdumlock</action>
3188 </object>
3189
3190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003192 <condition var1="tw_has_injecttwrp" var2="1" />
3193 <placement x="%col2_x%" y="%row4_y%" />
3194 <font resource="font" color="%button_text_color%" />
3195 <text>Re-Inject TWRP</text>
3196 <image resource="main_button" />
3197 <actions>
3198 <action function="set">tw_back=advanced</action>
3199 <action function="set">tw_action=reinjecttwrp</action>
3200 <action function="set">tw_text1=Re-Inject TWRP?</action>
3201 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3202 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3203 <action function="set">tw_slider_text=Swipe to Confirm</action>
3204 <action function="page">confirm_action</action>
3205 </actions>
3206 </object>
3207
3208 <object type="action">
3209 <touch key="home" />
3210 <action function="page">main</action>
3211 </object>
3212
3213 <object type="action">
3214 <touch key="back" />
3215 <action function="page">main</action>
3216 </object>
3217
3218 <object type="template" name="footer" />
3219 </page>
3220
3221 <page name="partsdcard">
3222 <object type="template" name="header" />
3223
3224 <object type="text" color="%text_color%">
3225 <font resource="font" />
3226 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3227 <text>Partition SD Card</text>
3228 </object>
3229
3230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <placement x="%col1_x%" y="%row1_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text></text>
3235 <image resource="minus_button" />
3236 <action function="addsubtract">tw_sdext_size-128</action>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%sd_plus_x%" y="%row1_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text></text>
3244 <image resource="plus_button" />
3245 <action function="addsubtract">tw_sdext_size+128</action>
3246 </object>
3247
3248 <object type="text" color="%text_color%">
3249 <font resource="font" />
3250 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3251 <text>EXT Size: %tw_sdext_size%</text>
3252 </object>
3253
3254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003256 <placement x="%col1_x%" y="%sdswap_button_y%" />
3257 <font resource="font" color="%button_text_color%" />
3258 <text></text>
3259 <image resource="minus_button" />
3260 <action function="addsubtract">tw_swap_size-32</action>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3266 <font resource="font" color="%button_text_color%" />
3267 <text></text>
3268 <image resource="plus_button" />
3269 <action function="addsubtract">tw_swap_size+32</action>
3270 </object>
3271
3272 <object type="text" color="%text_color%">
3273 <font resource="font" />
3274 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3275 <text>Swap Size: %tw_swap_size%</text>
3276 </object>
3277
3278 <object type="text" color="%text_color%">
3279 <font resource="font" />
3280 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3281 <text>File system: %tw_sdpart_file_system%</text>
3282 </object>
3283
3284 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003285 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003286 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3287 <font resource="font" color="%button_text_color%" />
3288 <text>EXT3</text>
3289 <image resource="main_button" />
3290 <action function="set">tw_sdpart_file_system=ext3</action>
3291 </object>
3292
3293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003295 <condition var1="tw_sdext_disable_ext4" var2="0" />
3296 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3297 <font resource="font" color="%button_text_color%" />
3298 <text>EXT4</text>
3299 <image resource="main_button" />
3300 <action function="set">tw_sdpart_file_system=ext4</action>
3301 </object>
3302
3303 <object type="text" color="%text_color%">
3304 <font resource="font" />
3305 <placement x="%col1_x%" y="%row12_text_y%" />
3306 <text>You will lose all files on your SD card!</text>
3307 </object>
3308
3309 <object type="text" color="%text_color%">
3310 <font resource="font" />
3311 <placement x="%col1_x%" y="%row13_text_y%" />
3312 <text>This action cannot be undone!</text>
3313 </object>
3314
3315 <object type="slider">
3316 <placement x="%slider_x%" y="%slider_y%" />
3317 <resource base="slider" used="slider-used" touch="slider-touch" />
3318 <action function="page">partsdcardaction</action>
3319 <actions>
3320 <action function="set">tw_back=partsdcard</action>
3321 <action function="set">tw_action=partitionsd</action>
3322 <action function="set">tw_has_action2=1</action>
3323 <action function="set">tw_action2=set</action>
3324 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3325 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3326 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003327 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003328 <action function="page">action_page</action>
3329 </actions>
3330 </object>
3331
3332 <object type="text" color="%text_color%">
3333 <font resource="font" />
3334 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3335 <text>Swipe to Partition</text>
3336 </object>
3337
3338 <object type="action">
3339 <touch key="home" />
3340 <action function="page">main</action>
3341 </object>
3342
3343 <object type="action">
3344 <touch key="back" />
3345 <action function="page">advanced</action>
3346 </object>
3347
3348 <object type="template" name="footer" />
3349 </page>
3350
3351 <page name="htcdumlock">
3352 <object type="template" name="header" />
3353
3354 <object type="text" color="%text_color%">
3355 <font resource="font" />
3356 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3357 <text>HTC Dumlock</text>
3358 </object>
3359
3360 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003361 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003362 <condition var1="tw_show_dumlock" var2="1" />
3363 <placement x="%col1_x%" y="%row1_y%" />
3364 <font resource="font" color="%button_text_color%" />
3365 <text>Restore Original Boot</text>
3366 <image resource="main_button" />
3367 <actions>
3368 <action function="set">tw_back=htcdumlock</action>
3369 <action function="set">tw_action=htcdumlockrestoreboot</action>
3370 <action function="set">tw_text1=Restore original boot image?</action>
3371 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3372 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3373 <action function="set">tw_slider_text=Swipe to Confirm</action>
3374 <action function="page">confirm_action</action>
3375 </actions>
3376 </object>
3377
3378 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003379 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003380 <condition var1="tw_show_dumlock" var2="1" />
3381 <placement x="%col2_x%" y="%row1_y%" />
3382 <font resource="font" color="%button_text_color%" />
3383 <text>Reflash Recovery</text>
3384 <image resource="main_button" />
3385 <actions>
3386 <action function="set">tw_back=htcdumlock</action>
3387 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3388 <action function="set">tw_text1=Reflash recovery to boot?</action>
3389 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3390 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3391 <action function="set">tw_slider_text=Swipe to Confirm</action>
3392 <action function="page">confirm_action</action>
3393 </actions>
3394 </object>
3395
3396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003398 <condition var1="tw_show_dumlock" var2="1" />
3399 <placement x="%col1_x%" y="%row2_y%" />
3400 <font resource="font" color="%button_text_color%" />
3401 <text>Install HTC Dumlock</text>
3402 <image resource="main_button" />
3403 <actions>
3404 <action function="set">tw_back=htcdumlock</action>
3405 <action function="set">tw_action=installhtcdumlock</action>
3406 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3407 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3408 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3409 <action function="set">tw_slider_text=Swipe to Confirm</action>
3410 <action function="page">confirm_action</action>
3411 </actions>
3412 </object>
3413
3414 <object type="action">
3415 <touch key="home" />
3416 <action function="page">main</action>
3417 </object>
3418
3419 <object type="action">
3420 <touch key="back" />
3421 <action function="page">advanced</action>
3422 </object>
3423
3424 <object type="template" name="footer" />
3425 </page>
3426
3427 <page name="lock">
3428 <background color="#000000A0" />
3429
3430 <object type="image">
3431 <image resource="unlock-icon" />
3432 <placement x="%lock_x%" y="%lock_y%" />
3433 </object>
3434
3435 <object type="slider">
3436 <placement x="%slider_x%" y="%slider_y%" />
3437 <resource base="slider" used="slider-used" touch="slider-touch" />
3438 <action function="overlay"></action>
3439 </object>
3440
3441 <object type="text" color="%text_color%">
3442 <font resource="font" />
3443 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3444 <text>Swipe to Unlock</text>
3445 </object>
3446 </page>
3447
3448 <page name="filemanagerlist">
3449 <object type="template" name="header" />
3450
3451 <object type="text" color="%text_color%">
3452 <font resource="font" />
3453 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3454 <text>File Manager: Select a File or Folder</text>
3455 </object>
3456
3457 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003458 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003459 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3460 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003461 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003462 <text>%tw_file_location1%</text>
3463 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3464 <sort name="tw_gui_sort_order" />
3465 <icon folder="folder_icon" file="file_icon" />
3466 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003467 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003468 <folders="1" files="1" />
3469 <path name="tw_file_location1" default="/" />
3470 <data name="tw_filename1" />
3471 <selection name="tw_selection1" />
3472 </object>
3473
3474 <object type="template" name="sort_options" />
3475
3476 <object type="action">
3477 <actions>
3478 <action function="set">tw_fm_type=File</action>
3479 <action function="set">tw_fm_isfolder=0</action>
3480 </actions>
3481 </object>
3482
3483 <object type="action">
3484 <touch key="home" />
3485 <action function="page">main</action>
3486 </object>
3487
3488 <object type="action">
3489 <touch key="back" />
3490 <action function="page">advanced</action>
3491 </object>
3492
3493 <object type="action">
3494 <condition var1="tw_filename1" op="modified" />
3495 <actions>
3496 <action function="page">filemanageroptions</action>
3497 </actions>
3498 </object>
3499
3500 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003501 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003502 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3503 <font resource="font" color="%button_text_color%" />
3504 <text>Select</text>
3505 <image resource="medium_button" />
3506 <actions>
3507 <action function="set">tw_filename1=tw_file_location1</action>
3508 <action function="set">tw_fm_isfolder=1</action>
3509 <action function="set">tw_fm_type=Folder</action>
3510 <action function="page">filemanageroptions</action>
3511 </actions>
3512 </object>
3513
3514 <object type="template" name="footer" />
3515 </page>
3516
3517 <page name="filemanageroptions">
3518 <object type="template" name="header" />
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3523 <text>%tw_fm_type% Selected:</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3529 <text>%tw_filename1%</text>
3530 </object>
3531
3532 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003533 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003534 <condition var1="tw_fm_isfolder" var2="0" />
3535 <placement x="%col1_x%" y="%row2_y%" />
3536 <font resource="font" color="%button_text_color%" />
3537 <text>Copy File</text>
3538 <image resource="main_button" />
3539 <actions>
3540 <action function="set">tw_filemanager_command=cp</action>
3541 <action function="set">tw_fm_text1=Copying</action>
3542 <action function="page">choosedestinationfolder</action>
3543 </actions>
3544 </object>
3545
3546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003547 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003548 <condition var1="tw_fm_isfolder" var2="1" />
3549 <placement x="%col1_x%" y="%row2_y%" />
3550 <font resource="font" color="%button_text_color%" />
3551 <text>Copy Folder</text>
3552 <image resource="main_button" />
3553 <actions>
3554 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3555 <action function="set">tw_fm_text1=Copying</action>
3556 <action function="page">choosedestinationfolder</action>
3557 </actions>
3558 </object>
3559
3560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003561 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003562 <placement x="%col2_x%" y="%row2_y%" />
3563 <font resource="font" color="%button_text_color%" />
3564 <text>Move</text>
3565 <image resource="main_button" />
3566 <actions>
3567 <action function="set">tw_filemanager_command=mv</action>
3568 <action function="set">tw_fm_text1=Moving</action>
3569 <action function="page">choosedestinationfolder</action>
3570 </actions>
3571 </object>
3572
3573 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003574 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003575 <placement x="%col1_x%" y="%row3_y%" />
3576 <font resource="font" color="%button_text_color%" />
3577 <text>chmod 755</text>
3578 <image resource="main_button" />
3579 <actions>
3580 <action function="set">tw_filemanager_command=chmod 755</action>
3581 <action function="set">tw_fm_text1=chmod 755</action>
3582 <action function="set">tw_fm_text2=</action>
3583 <action function="set">tw_fm_text3=</action>
3584 <action function="set">tw_include_text3=0</action>
3585 <action function="set">tw_back=filemanageroptions</action>
3586 <action function="page">filemanagerconfirm</action>
3587 </actions>
3588 </object>
3589
3590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003592 <placement x="%col2_x%" y="%row3_y%" />
3593 <font resource="font" color="%button_text_color%" />
3594 <text>chmod</text>
3595 <image resource="main_button" />
3596 <actions>
3597 <action function="set">tw_filemanager_rename=0000</action>
3598 <action function="set">tw_fm_text2=</action>
3599 <action function="set">tw_fm_text3=</action>
3600 <action function="set">tw_include_text3=0</action>
3601 <action function="set">tw_back=filemanageroptions</action>
3602 <action function="page">filemanagerchmod</action>
3603 </actions>
3604 </object>
3605
3606 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003607 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003608 <placement x="%col1_x%" y="%row4_y%" />
3609 <font resource="font" color="%button_text_color%" />
3610 <text>Delete</text>
3611 <image resource="main_button" />
3612 <actions>
3613 <action function="set">tw_filemanager_command=rm -rf</action>
3614 <action function="set">tw_fm_text1=Deleting</action>
3615 <action function="set">tw_fm_text2=</action>
3616 <action function="set">tw_fm_text3=</action>
3617 <action function="set">tw_include_text3=0</action>
3618 <action function="set">tw_back=filemanageroptions</action>
3619 <action function="page">filemanagerconfirm</action>
3620 </actions>
3621 </object>
3622
3623 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003624 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003625 <condition var1="tw_fm_isfolder" var2="0" />
3626 <placement x="%col2_x%" y="%row4_y%" />
3627 <font resource="font" color="%button_text_color%" />
3628 <text>Rename File</text>
3629 <image resource="main_button" />
3630 <actions>
3631 <action function="set">tw_filemanager_rename=tw_selection1</action>
3632 <action function="set">tw_fm_text1=Renaming</action>
3633 <action function="set">tw_filemanager_command=mv</action>
3634 <action function="page">filemanagerrenamefile</action>
3635 </actions>
3636 </object>
3637
3638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003640 <condition var1="tw_fm_isfolder" var2="1" />
3641 <placement x="%col2_x%" y="%row4_y%" />
3642 <font resource="font" color="%button_text_color%" />
3643 <text>Rename Folder</text>
3644 <image resource="main_button" />
3645 <actions>
3646 <action function="set">tw_filemanager_rename=tw_selection1</action>
3647 <action function="set">tw_fm_text1=Renaming</action>
3648 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3649 <action function="page">filemanagerrenamefolder</action>
3650 </actions>
3651 </object>
3652
3653 <object type="action">
3654 <touch key="home" />
3655 <action function="page">main</action>
3656 </object>
3657
3658 <object type="action">
3659 <touch key="back" />
3660 <action function="page">filemanagerlist</action>
3661 </object>
3662
3663 <object type="template" name="footer" />
3664 </page>
3665
3666 <page name="choosedestinationfolder">
3667 <object type="template" name="header" />
3668
3669 <object type="text" color="%text_color%">
3670 <font resource="font" />
3671 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3672 <text>Browse to Destination Folder & Press Select</text>
3673 </object>
3674
3675 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003676 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003677 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3678 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003679 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003680 <text>%tw_file_location2%</text>
3681 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3682 <sort name="tw_gui_sort_order" />
3683 <icon folder="folder_icon" file="file_icon" />
3684 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003685 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003686 <filter folders="1" files="0" />
3687 <path name="tw_file_location2" default="/" />
3688 <data name="tw_filename2" />
3689 <selection name="tw_selection2" />
3690 </object>
3691
3692 <object type="template" name="sort_options" />
3693
3694 <object type="action">
3695 <touch key="home" />
3696 <action function="page">main</action>
3697 </object>
3698
3699 <object type="action">
3700 <touch key="back" />
3701 <action function="page">filemanageroptions</action>
3702 </object>
3703
3704 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003705 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003706 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3707 <font resource="font" color="%button_text_color%" />
3708 <text>Select</text>
3709 <image resource="medium_button" />
3710 <actions>
3711 <action function="set">tw_fm_text2=to</action>
3712 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3713 <action function="set">tw_include_text3=1</action>
3714 <action function="set">tw_back=filemanageroptions</action>
3715 <action function="page">filemanagerconfirm</action>
3716 </actions>
3717 </object>
3718
3719 <object type="template" name="footer" />
3720 </page>
3721
3722 <page name="filemanagerrenamefile">
3723 <object type="template" name="header" />
3724
3725 <object type="text" color="%text_color%">
3726 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3727 <font resource="font" />
3728 <text>Please Enter a New %tw_fm_type% Name</text>
3729 </object>
3730
3731 <object type="input">
3732 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3733 <background color="%input_background_color%" />
3734 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3735 <font resource="font" color="%text_color%" />
3736 <text>%tw_filemanager_rename%</text>
3737 <data name="tw_filemanager_rename" />
3738 <restrict minlen="1" maxlen="128" />
3739 <actions>
3740 <action function="set">tw_fm_text2=to</action>
3741 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3742 <action function="set">tw_include_text3=1</action>
3743 <action function="set">tw_back=filemanageroptions</action>
3744 <action function="page">filemanagerconfirm</action>
3745 </actions>
3746 </object>
3747
3748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003749 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003750 <placement x="%col_center_x%" y="%row2_y%" />
3751 <font resource="font" color="%button_text_color%" />
3752 <text>Cancel</text>
3753 <image resource="main_button" />
3754 <action function="page">filemanageroptions</action>
3755 </object>
3756
3757 <object type="template" name="keyboardtemplate" />
3758
3759 <object type="action">
3760 <touch key="home" />
3761 <action function="page">main</action>
3762 </object>
3763
3764 <object type="action">
3765 <touch key="back" />
3766 <action function="page">filemanageroptions</action>
3767 </object>
3768
3769 <object type="template" name="footer" />
3770 </page>
3771
3772 <page name="filemanagerrenamefolder">
3773 <object type="template" name="header" />
3774
3775 <object type="text" color="%text_color%">
3776 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3777 <font resource="font" />
3778 <text>Please Enter a New %tw_fm_type% Name</text>
3779 </object>
3780
3781 <object type="input">
3782 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3783 <background color="%input_background_color%" />
3784 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3785 <font resource="font" color="%text_color%" />
3786 <text>%tw_filemanager_rename%</text>
3787 <data name="tw_filemanager_rename" />
3788 <restrict minlen="1" maxlen="128" />
3789 <actions>
3790 <action function="set">tw_fm_text2=to</action>
3791 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3792 <action function="set">tw_include_text3=1</action>
3793 <action function="set">tw_back=filemanageroptions</action>
3794 <action function="page">filemanagerconfirm</action>
3795 </actions>
3796 </object>
3797
3798 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003799 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003800 <placement x="%col_center_x%" y="%row2_y%" />
3801 <font resource="font" color="%button_text_color%" />
3802 <text>Cancel</text>
3803 <image resource="main_button" />
3804 <action function="page">filemanageroptions</action>
3805 </object>
3806
3807 <object type="template" name="keyboardtemplate" />
3808
3809 <object type="action">
3810 <touch key="home" />
3811 <action function="page">main</action>
3812 </object>
3813
3814 <object type="action">
3815 <touch key="back" />
3816 <action function="page">filemanageroptions</action>
3817 </object>
3818
3819 <object type="template" name="footer" />
3820 </page>
3821
3822 <page name="filemanagerchmod">
3823 <object type="template" name="header" />
3824
3825 <object type="text" color="%text_color%">
3826 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3827 <font resource="font" />
3828 <text>Please Enter New Permissions</text>
3829 </object>
3830
3831 <object type="input">
3832 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3833 <background color="%input_background_color%" />
3834 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3835 <font resource="font" color="%text_color%" />
3836 <text>%tw_filemanager_rename%</text>
3837 <data name="tw_filemanager_rename" />
3838 <restrict minlen="3" maxlen="4" allow="0123456789" />
3839 <actions>
3840 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3841 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3842 <action function="set">tw_back=filemanageroptions</action>
3843 <action function="page">filemanagerconfirm</action>
3844 </actions>
3845 </object>
3846
3847 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003848 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003849 <placement x="%col_center_x%" y="%row2_y%" />
3850 <font resource="font" color="%button_text_color%" />
3851 <text>Cancel</text>
3852 <image resource="main_button" />
3853 <action function="page">filemanageroptions</action>
3854 </object>
3855
3856 <object type="template" name="keyboardtemplate" />
3857
3858 <object type="action">
3859 <touch key="home" />
3860 <action function="page">main</action>
3861 </object>
3862
3863 <object type="action">
3864 <touch key="back" />
3865 <action function="page">filemanageroptions</action>
3866 </object>
3867
3868 <object type="template" name="footer" />
3869 </page>
3870
3871 <page name="filemanagerconfirm">
3872 <object type="template" name="header" />
3873
3874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3877 <text>%tw_fm_text1%</text>
3878 </object>
3879
3880 <object type="text" color="%text_color%">
3881 <font resource="font" />
3882 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3883 <text>%tw_filename1%</text>
3884 </object>
3885
3886 <object type="text" color="%text_color%">
3887 <font resource="font" />
3888 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3889 <text>%tw_fm_text2%</text>
3890 </object>
3891
3892 <object type="text" color="%text_color%">
3893 <font resource="font" />
3894 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3895 <text>%tw_fm_text3%</text>
3896 </object>
3897
3898 <object type="text" color="%text_color%">
3899 <font resource="font" />
3900 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3901 <text>Press back button to cancel.</text>
3902 </object>
3903
3904 <object type="slider">
3905 <placement x="%slider_x%" y="%slider_y%" />
3906 <resource base="slider" used="slider-used" touch="slider-touch" />
3907 <action function="page">filemanageracction</action>
3908 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003909
Dees_Troy51a0e822012-09-05 15:24:24 -04003910 <object type="text" color="%text_color%">
3911 <font resource="font" />
3912 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3913 <text>Swipe to Confirm</text>
3914 </object>
3915
3916 <object type="action">
3917 <touch key="back" />
3918 <action function="page">%tw_back%</action>
3919 </object>
3920
3921 <object type="action">
3922 <touch key="home" />
3923 <action function="page">main</action>
3924 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003925
Dees_Troy51a0e822012-09-05 15:24:24 -04003926 <object type="template" name="footer" />
3927 </page>
3928
3929 <page name="filemanageracction">
3930 <object type="template" name="header" />
3931
3932 <object type="text" color="%text_color%">
3933
3934 <font resource="font" />
3935 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3936 <text>%tw_fm_text1%</text>
3937 </object>
3938
3939 <object type="template" name="action_page_console" />
3940
3941 <object type="template" name="progress_bar" />
3942
3943 <object type="action">
3944 <conditions>
3945 <condition var1="tw_operation_state" var2="1" />
3946 <condition var1="tw_operation_status" var2="0" />
3947 </conditions>
3948 <actions>
3949 <action function="set">tw_back=filemanagerlist</action>
3950 <action function="set">tw_complete_text1=File Operation Complete</action>
3951 <action function="page">action_complete</action>
3952 </actions>
3953 </object>
3954
3955 <object type="action">
3956 <conditions>
3957 <condition var1="tw_operation_state" var2="1" />
3958 <condition var1="tw_operation_status" op="!=" var2="0" />
3959 </conditions>
3960 <actions>
3961 <action function="set">tw_complete_text1=File Operation Complete</action>
3962 <action function="page">action_complete</action>
3963 </actions>
3964 </object>
3965
3966 <object type="action">
3967 <condition var1="tw_include_text3" var2="0" />
3968 <actions>
3969 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3970 </actions>
3971 </object>
3972
3973 <object type="action">
3974 <condition var1="tw_include_text3" var2="1" />
3975 <actions>
3976 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3977 </actions>
3978 </object>
3979 </page>
3980
3981 <page name="decrypt">
3982 <object type="template" name="header" />
3983
3984 <object type="text" color="%text_color%">
3985 <font resource="font" />
3986 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3987 <text>Please Enter Your Password</text>
3988 </object>
3989
3990 <object type="input">
3991 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3992 <background color="%input_background_color%" />
3993 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3994 <font resource="font" color="%text_color%" />
3995 <text>%tw_crypto_display%</text>
3996 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3997 <restrict minlen="1" maxlen="254" />
3998 <actions>
3999 <action function="page">trydecrypt</action>
4000 </actions>
4001 </object>
4002
4003 <object type="text" color="%text_fail_color%">
4004 <condition var1="tw_password_fail" var2="1" />
4005 <font resource="font" />
4006 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
4007 <text>Password Failed, Please Try Again</text>
4008 </object>
4009
4010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004011 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004012 <placement x="%col_center_x%" y="%row2_y%" />
4013 <font resource="font" color="%button_text_color%" />
4014 <text>Cancel</text>
4015 <image resource="main_button" />
4016 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004017 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004018 <action function="page">main</action>
4019 </actions>
4020 </object>
4021
4022 <object type="template" name="keyboardtemplate" />
4023
Dees_Troy51a0e822012-09-05 15:24:24 -04004024 <object type="template" name="footer" />
4025 </page>
4026
4027 <page name="trydecrypt">
4028 <object type="template" name="header" />
4029
4030 <object type="text" color="%text_color%">
4031 <font resource="font" />
4032 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4033 <text>Trying Decryption with Your Password</text>
4034 </object>
4035
4036 <object type="template" name="action_page_console" />
4037
4038 <object type="template" name="progress_bar" />
4039
4040 <object type="action">
4041 <action function="decrypt"></action>
4042 </object>
4043
4044 <object type="action">
4045 <conditions>
4046 <condition var1="tw_operation_state" var2="1" />
4047 <condition var1="tw_operation_status" op="!=" var2="0" />
4048 </conditions>
4049 <actions>
4050 <action function="set">tw_password_fail=1</action>
4051 <action function="page">decrypt</action>
4052 </actions>
4053 </object>
4054
4055 <object type="action">
4056 <conditions>
4057 <condition var1="tw_operation_state" var2="1" />
4058 <condition var1="tw_operation_status" op="=" var2="0" />
4059 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004060 <actions>
4061 <action function="set">tw_page_done=1</action>
4062 <action function="page">main</action>
4063 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004064 </object>
4065 </page>
4066
4067 <page name="terminalfolder">
4068 <object type="template" name="header" />
4069
4070 <object type="text" color="%text_color%">
4071 <font resource="font" />
4072 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4073 <text>Browse to Starting Folder</text>
4074 </object>
4075
4076 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004077 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004078 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4079 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004080 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004081 <text>%tw_terminal_location%</text>
4082 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4083 <sort name="tw_gui_sort_order" />
4084 <icon folder="folder_icon" file="file_icon" />
4085 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004086 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004087 <filter folders="1" files="0" />
4088 <path name="tw_terminal_location" default="/" />
4089 <data name="tw_terminal" />
4090 <selection name="tw_terminal_selection" />
4091 </object>
4092
4093 <object type="template" name="sort_options" />
4094
4095 <object type="action">
4096 <touch key="home" />
4097 <action function="page">main</action>
4098 </object>
4099
4100 <object type="action">
4101 <touch key="back" />
4102 <action function="page">advanced</action>
4103 </object>
4104
4105 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004106 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004107 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4108 <font resource="font" color="%button_text_color%" />
4109 <text>Select</text>
4110 <image resource="medium_button" />
4111 <actions>
4112 <action function="page">terminalcommand</action>
4113 </actions>
4114 </object>
4115
4116 <object type="template" name="footer" />
4117 </page>
4118
4119 <page name="terminalcommand">
4120 <object type="template" name="header" />
4121
4122 <object type="console">
4123 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4124 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4125 <font resource="fixed" />
4126 </object>
4127
4128 <object type="text" color="%text_color%">
4129 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4130 <font resource="font" />
4131 <text>Starting Path: %tw_terminal_location%</text>
4132 </object>
4133
4134 <object type="input">
4135 <condition var1="tw_terminal_state" var2="0" />
4136 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4137 <background color="%input_background_color%" />
4138 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4139 <font resource="font" color="%text_color%" />
4140 <text>%tw_terminal_command%</text>
4141 <data name="tw_terminal_command" />
4142 <restrict minlen="1" />
4143 <action function="terminalcommand">%tw_terminal_command%</action>
4144 </object>
4145
4146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004148 <condition var1="tw_terminal_state" var2="1" />
4149 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4150 <font resource="font" color="%button_text_color%" />
4151 <text>KILL</text>
4152 <image resource="medium_button" />
4153 <action function="killterminal"></action>
4154 </object>
4155
4156 <object type="template" name="keyboardtemplate" />
4157
4158 <object type="action">
4159 <touch key="home" />
4160 <action function="page">main</action>
4161 </object>
4162
4163 <object type="action">
4164 <touch key="back" />
4165 <action function="page">terminalfolder</action>
4166 </object>
4167 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004168
4169 <page name="sideload">
4170 <object type="template" name="header" />
4171
4172 <object type="text" color="%text_color%">
4173 <font resource="font" />
4174 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4175 <text>ADB Sideload</text>
4176 </object>
4177
4178 <object type="checkbox">
4179 <placement x="%col1_x%" y="%row2_text_y%" />
4180 <font resource="font" color="%text_color%" />
4181 <text>Wipe Dalvik Cache.</text>
4182 <data variable="tw_wipe_dalvik" />
4183 <image checked="checkbox_true" unchecked="checkbox_false" />
4184 </object>
4185
4186 <object type="checkbox">
4187 <placement x="%col1_x%" y="%row3_text_y%" />
4188 <font resource="font" color="%text_color%" />
4189 <text>Wipe Cache.</text>
4190 <data variable="tw_wipe_cache" />
4191 <image checked="checkbox_true" unchecked="checkbox_false" />
4192 </object>
4193
4194 <object type="slider">
4195 <placement x="%slider_x%" y="%slider_y%" />
4196 <resource base="slider" used="slider-used" touch="slider-touch" />
4197 <actions>
4198 <action function="set">tw_back=advanced</action>
4199 <action function="set">tw_action=adbsideload</action>
4200 <action function="set">tw_action_text1=ADB Sideload</action>
4201 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4202 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4203 <action function="set">tw_has_cancel=1</action>
4204 <action function="set">tw_show_reboot=1</action>
4205 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4206 <action function="page">action_page</action>
4207 </actions>
4208 </object>
4209
4210 <object type="text" color="%text_color%">
4211 <font resource="font" />
4212 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4213 <text>Swipe to Start Sideload</text>
4214 </object>
4215
4216 <object type="action">
4217 <touch key="home" />
4218 <action function="page">main</action>
4219 </object>
4220
4221 <object type="action">
4222 <touch key="back" />
4223 <action function="page">advanced</action>
4224 </object>
4225
4226 <object type="template" name="footer" />
4227 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004228
4229 <page name="installsu">
4230 <object type="template" name="header" />
4231
4232 <object type="text" color="%text_color%">
4233 <font resource="font" />
4234 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4235 <text>Install SuperSU?</text>
4236 </object>
4237
4238 <object type="text" color="%text_color%">
4239 <font resource="font" />
4240 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4241 <text>Your device does not appear to be rooted.</text>
4242 </object>
4243
4244 <object type="text" color="%text_color%">
4245 <font resource="font" />
4246 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4247 <text>Install SuperSU now?</text>
4248 </object>
4249
4250 <object type="text" color="%text_color%">
4251 <font resource="font" />
4252 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4253 <text>This will root your device.</text>
4254 </object>
4255
4256 <object type="button">
4257 <highlight color="%highlight_color%" />
4258 <placement x="%col_center_x%" y="%row3_y%" />
4259 <font resource="font" color="%button_text_color%" />
4260 <text>Do Not Install</text>
4261 <image resource="main_button" />
4262 <action function="set">tw_page_done=1</action>
4263 </object>
4264
4265 <object type="slider">
4266 <placement x="%slider_x%" y="%slider_y%" />
4267 <resource base="slider" used="slider-used" touch="slider-touch" />
4268 <actions>
4269 <action function="set">tw_action=installsu</action>
4270 <action function="set">tw_action_text1=Installing SuperSU</action>
4271 <action function="set">tw_action_text2=</action>
4272 <action function="page">singleaction_page</action>
4273 </actions>
4274 </object>
4275
4276 <object type="text" color="%text_color%">
4277 <font resource="font" />
4278 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4279 <text>Swipe to Install</text>
4280 </object>
4281 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004282 </pages>
4283</recovery>