blob: 4f5a7c98a4ff18e5edaf25f8ff33ae69da368c23 [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>
261 </template>
262
263 <template name="progress_bar">
264 <object type="progressbar">
265 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500266 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400267 <data name="ui_progress" />
268 </object>
269
270 <object type="animation">
271 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
272 <resource name="progress" />
273 <speed fps="15" render="2" />
274 <loop frame="1" />
275 </object>
276 </template>
277
278 <template name="action_page_console">
279 <object type="console">
280 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
281 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
282 <font resource="fixed" />
283 </object>
284 </template>
285
286 <template name="sort_options">
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%col1_x%" y="%sort_asc_text_y%" />
290 <text>Sort Ascending:</text>
291 </object>
292
293 <object type="button">
294 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000295 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400296 <text>Name</text>
297 <image resource="sort_button" />
298 <action function="set">tw_gui_sort_order=1</action>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000303 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400304 <text>Date</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=2</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000311 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=3</action>
315 </object>
316
317 <object type="text" color="%text_color%">
318 <font resource="font" />
319 <placement x="%col1_x%" y="%sort_desc_text_y%" />
320 <text>Sort Descending:</text>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000325 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400326 <text>Name</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=-1</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000333 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000341 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400342 <text>Size</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=-3</action>
345 </object>
346 </template>
347
348 <template name="footer">
349 <object type="console">
350 <slideout resource="slideout" x="210" y="814" />
351 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="keyboardtemplate">
358 <object type="keyboard">
359 <placement x="0" y="504" />
360 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600361 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600362 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400363 <layout1>
364 <keysize height="78" width="48" />
365 <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" />
366 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
367 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
368 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
369 </layout1>
370 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600371 <keysize height="78" width="48" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400372 <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" />
373 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
374 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
375 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
376 </layout2>
377 <layout3>
378 <keysize height="78" width="48" />
379 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
380 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
381 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
382 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
383 </layout3>
384 <layout4>
385 <keysize height="78" width="48" />
386 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
387 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
388 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
389 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
390 </layout4>
391 </object>
392 </template>
393 </templates>
394
395 <pages>
396 <page name="main">
397 <object type="action">
398 <actions>
399 <action function="set">tw_clear_destination=main2</action>
400 <action function="page">clear_vars</action>
401 </actions>
402 </object>
403 </page>
404
405 <page name="main2">
406 <object type="template" name="header" />
407
408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400410 <placement x="%col1_x%" y="%row1_y%" />
411 <font resource="font" color="%button_text_color%" />
412 <text>Install</text>
413 <image resource="main_button" />
414 <actions>
415 <action function="queueclear"></action>
416 <action function="page">install</action>
417 </actions>
418 </object>
419
420 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600421 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400422 <placement x="%col2_x%" y="%row1_y%" />
423 <font resource="font" color="%button_text_color%" />
424 <text>Wipe</text>
425 <image resource="main_button" />
426 <action function="page">wipe</action>
427 </object>
428
429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400431 <placement x="%col1_x%" y="%row2_y%" />
432 <font resource="font" color="%button_text_color%" />
433 <text>Backup</text>
434 <image resource="main_button" />
435 <action function="page">backup</action>
436 </object>
437
438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400440 <placement x="%col2_x%" y="%row2_y%" />
441 <font resource="font" color="%button_text_color%" />
442 <text>Restore</text>
443 <image resource="main_button" />
444 <action function="page">restore</action>
445 </object>
446
447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600448 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400449 <placement x="%col1_x%" y="%row3_y%" />
450 <font resource="font" color="%button_text_color%" />
451 <text>Mount</text>
452 <image resource="main_button" />
453 <action function="page">mount</action>
454 </object>
455
456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400458 <placement x="%col2_x%" y="%row3_y%" />
459 <font resource="font" color="%button_text_color%" />
460 <text>Settings</text>
461 <image resource="main_button" />
462 <action function="page">settings</action>
463 </object>
464
465
466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400468 <placement x="%col1_x%" y="%row4_y%" />
469 <font resource="font" color="%button_text_color%" />
470 <text>Advanced</text>
471 <image resource="main_button" />
472 <action function="page">advanced</action>
473 </object>
474
475 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600476 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400477 <placement x="%col2_x%" y="%row4_y%" />
478 <font resource="font" color="%button_text_color%" />
479 <text>Reboot</text>
480 <image resource="main_button" />
481 <action function="page">reboot</action>
482 </object>
483
484 <object type="template" name="footer" />
485 </page>
486
487 <page name="install">
488 <object type="template" name="header" />
489
490 <object type="text" color="%text_color%">
491 <font resource="font" />
492 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
493 <text>Select Zip to Install</text>
494 </object>
495
496 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500497 <highlight color="%highlight_color%" />
498 <fill color="%button_fill_color%" />
499 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
500 <font resource="font" color="%button_text_color%" />
501 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
502 <actions>
503 <action function="set">tw_back=install</action>
504 <action function="page">selectstorage</action>
505 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 </object>
507
508 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600509 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500510 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400511 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100512 <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 -0400513 <text>%tw_zip_location%</text>
514 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
515 <sort name="tw_gui_sort_order" />
516 <icon folder="folder_icon" file="file_icon" />
517 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600518 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400519 <filter extn=".zip" folders="1" files="1" />
520 <path name="tw_zip_location" default="/sdcard" />
521 <data name="tw_filename" />
522 <selection name="tw_file" />
523 </object>
524
525 <object type="template" name="sort_options" />
526
527 <object type="action">
528 <condition var1="tw_filename" op="modified" />
529 <actions>
530 <action function="queuezip"></action>
531 <action function="page">flash_confirm</action>
532 </actions>
533 </object>
534
535 <object type="action">
536 <touch key="back" />
537 <action function="page">main</action>
538 </object>
539
540 <object type="action">
541 <touch key="home" />
542 <action function="page">main</action>
543 </object>
544
545 <object type="template" name="footer" />
546 </page>
547
548 <page name="flash_confirm">
549 <object type="template" name="header" />
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
554 <text>This operation may install incompatible</text>
555 </object>
556
557 <object type="text" color="%text_color%">
558 <font resource="font" />
559 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
560 <text>software and render your device unusable.</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
566 <text>Folder:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
572 <text>%tw_zip_location%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
578 <text>File to flash:</text>
579 </object>
580
581 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400582 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
584 <text>%tw_file%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
590 <text>Press back to cancel adding this zip.</text>
591 </object>
592
593 <object type="checkbox">
594 <placement x="%col1_x%" y="%row8_text_y%" />
595 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400596 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400597 <data variable="tw_signed_zip_verify" />
598 <image checked="checkbox_true" unchecked="checkbox_false" />
599 </object>
600
601 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <condition var1="tw_has_injecttwrp" var2="1" />
603 <placement x="%col1_x%" y="%row10_text_y%" />
604 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400605 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400606 <data variable="tw_inject_after_zip" />
607 <image checked="checkbox_true" unchecked="checkbox_false" />
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400612 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <text>File %tw_zip_queue_count% of max of 10</text>
614 </object>
615
616 <object type="slider">
617 <placement x="%slider_x%" y="%slider_y%" placement="5" />
618 <resource base="slider" used="slider-used" touch="slider-touch" />
619 <action function="flash">flash_zip</action>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
625 <text>Swipe to Confirm Flash</text>
626 </object>
627
628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400630 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
631 <placement x="%col1_x%" y="%row_queue_y%" />
632 <font resource="font" color="%button_text_color%" />
633 <text>Add More Zips</text>
634 <image resource="main_button" />
635 <action function="page">install</action>
636 </object>
637
638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400640 <placement x="%col2_x%" y="%row_queue_y%" />
641 <font resource="font" color="%button_text_color%" />
642 <text>Clear Zip Queue</text>
643 <image resource="main_button" />
644 <actions>
645 <action function="queueclear"></action>
646 <action function="page">install</action>
647 </actions>
648 </object>
649
650 <object type="action">
651 <touch key="back" />
652 <actions>
653 <action function="cancelzip"></action>
654 <action function="page">install</action>
655 </actions>
656 </object>
657
658 <object type="action">
659 <touch key="home" />
660 <action function="page">main</action>
661 </object>
662
663 <object type="template" name="footer" />
664 </page>
665
666 <page name="flash_zip">
667 <object type="template" name="header" />
668
669 <object type="console">
670 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
671 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
672 <font resource="fixed" />
673 </object>
674
675 <object type="text" color="%text_color%">
676 <font resource="font" />
677 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
678 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
679 </object>
680
681 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400682 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400683 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
684 <text>%tw_filename%</text>
685 </object>
686
687 <object type="template" name="progress_bar" />
688
689 <object type="action">
690 <condition var1="tw_operation_state" var2="1" />
691 <action function="page">flash_done</action>
692 </object>
693 </page>
694
695 <page name="flash_done">
696 <object type="template" name="header" />
697
698 <object type="text" color="%text_color%">
699 <font resource="font" />
700 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
701 <text>Zip Install Complete</text>
702 </object>
703
704 <object type="console">
705 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
706 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
707 <font resource="fixed" />
708 </object>
709
710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400712 <placement x="%col1_x%" y="%row4_y%" />
713 <font resource="font" color="%button_text_color%" />
714 <text>Wipe cache/dalvik</text>
715 <image resource="main_button" />
716 <actions>
717 <action function="set">tw_back=flash_done</action>
718 <action function="set">tw_action=wipe</action>
719 <action function="set">tw_action_param=/cache</action>
720 <action function="set">tw_has_action2=1</action>
721 <action function="set">tw_action2=wipe</action>
722 <action function="set">tw_action2_param=dalvik</action>
723 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
724 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
725 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
726 <action function="set">tw_slider_text=Swipe to Wipe</action>
727 <action function="page">confirm_action</action>
728 </actions>
729 </object>
730
731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <placement x="%col2_x%" y="%row4_y%" />
734 <font resource="font" color="%button_text_color%" />
735 <text>Reboot System</text>
736 <image resource="main_button" />
737 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400738 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400739 <action function="set">tw_action=reboot</action>
740 <action function="set">tw_action_param=system</action>
741 <action function="set">tw_has_action2=0</action>
742 <action function="set">tw_text1=No OS Installed! Are you</action>
743 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_text3=</action>
745 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400747 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400748 <action function="set">tw_complete_text1=Rebooting...</action>
749 <action function="set">tw_slider_text=Swipe to Reboot</action>
750 <action function="page">rebootcheck</action>
751 </actions>
752 </object>
753
754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <placement x="%col_center_x%" y="%row3_y%" />
757 <font resource="font" color="%button_text_color%" />
758 <text>Home</text>
759 <image resource="main_button" />
760 <actions>
761 <action function="set">tw_clear_destination=main2</action>
762 <action function="page">clear_vars</action>
763 </actions>
764 </object>
765
766 <object type="text" color="%text_fail_color%">
767 <condition var1="tw_operation_status" op="!=" var2="0" />
768 <font resource="font" />
769 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
770 <text>Failed</text>
771 </object>
772
773 <object type="text" color="%text_success_color%">
774 <condition var1="tw_operation_status" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Successful</text>
778 </object>
779
780 <object type="action">
781 <touch key="back" />
782 <actions>
783 <action function="set">tw_clear_destination=install</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </object>
787
788 <object type="action">
789 <touch key="home" />
790 <actions>
791 <action function="set">tw_clear_destination=main2</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795 </page>
796
797 <page name="clear_vars">
798 <object type="action">
799 <action function="set">tw_operation_state=0</action>
800 <action function="set">tw_text1=</action>
801 <action function="set">tw_text2=</action>
802 <action function="set">tw_text3=</action>
803 <action function="set">tw_text4=</action>
804 <action function="set">tw_action_text1=</action>
805 <action function="set">tw_action_text2=</action>
806 <action function="set">tw_action_param=</action>
807 <action function="set">tw_has_action2=0</action>
808 <action function="set">tw_action2=</action>
809 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400810 <action function="set">tw_has_cancel=0</action>
811 <action function="set">tw_cancel_action=</action>
812 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400813 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400814 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400815 <action function="page">%tw_clear_destination%</action>
816 </object>
817 </page>
818
819 <page name="confirm_action">
820 <object type="template" name="header" />
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
825 <text>%tw_text1%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
831 <text>%tw_text2%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
836 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
837 <text>%tw_text3%</text>
838 </object>
839
840 <object type="text" color="%text_color%">
841 <font resource="font" />
842 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
843 <text>%tw_text4%</text>
844 </object>
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400848 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400849 <text>Press back button to cancel.</text>
850 </object>
851
852 <object type="slider">
853 <placement x="%slider_x%" y="%slider_y%" />
854 <resource base="slider" used="slider-used" touch="slider-touch" />
855 <action function="page">action_page</action>
856 </object>
857
858 <object type="text" color="%text_color%">
859 <font resource="font" />
860 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
861 <text>%tw_slider_text%</text>
862 </object>
863
864 <object type="action">
865 <touch key="back" />
866 <actions>
867 <action function="set">tw_clear_destination=%tw_back%</action>
868 <action function="page">clear_vars</action>
869 </actions>
870 </object>
871
872 <object type="action">
873 <touch key="home" />
874 <action function="page">main</action>
875 </object>
876
877 <object type="template" name="footer" />
878 </page>
879
880 <page name="action_page">
881 <object type="template" name="header" />
882
883 <object type="text" color="%text_color%">
884 <font resource="font" />
885 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
886 <text>%tw_action_text1%</text>
887 </object>
888
889 <object type="text" color="%text_color%">
890 <font resource="font" />
891 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
892 <text>%tw_action_text2%</text>
893 </object>
894
895 <object type="template" name="action_page_console" />
896
Dees_Troyb46a6842012-09-25 11:06:46 -0400897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600898 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400899 <condition var1="tw_has_cancel" var2="1" />
900 <placement x="%col_center_medium_x%" y="%row4_y%" />
901 <font resource="font" color="%button_text_color%" />
902 <text>Cancel</text>
903 <image resource="medium_button" />
904 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
905 </object>
906
Dees_Troy51a0e822012-09-05 15:24:24 -0400907 <object type="template" name="progress_bar" />
908
909 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400910 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400911 <actions>
912 <action function="page">action_complete</action>
913 </actions>
914 </object>
915
916 <object type="action">
917 <condition var1="tw_has_action2" var2="0" />
918 <actions>
919 <action function="%tw_action%">%tw_action_param%</action>
920 </actions>
921 </object>
922
923 <object type="action">
924 <condition var1="tw_has_action2" var2="1" />
925 <actions>
926 <action function="%tw_action%">%tw_action_param%</action>
927 <action function="%tw_action2%">%tw_action2_param%</action>
928 </actions>
929 </object>
930 </page>
931
Dees_Troy6ef66352013-02-21 08:26:57 -0600932 <page name="singleaction_page">
933 <object type="template" name="header" />
934
935 <object type="text" color="%text_color%">
936 <font resource="font" />
937 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
938 <text>%tw_action_text1%</text>
939 </object>
940
941 <object type="text" color="%text_color%">
942 <font resource="font" />
943 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
944 <text>%tw_action_text2%</text>
945 </object>
946
947 <object type="template" name="action_page_console" />
948
949 <object type="template" name="progress_bar" />
950
951 <object type="action">
952 <condition var1="tw_operation_state" var2="1" />
953 <actions>
954 <action function="set">tw_page_done=1</action>
955 </actions>
956 </object>
957
958 <object type="action">
959 <condition var1="tw_has_action2" var2="0" />
960 <actions>
961 <action function="%tw_action%">%tw_action_param%</action>
962 </actions>
963 </object>
964
965 <object type="action">
966 <condition var1="tw_has_action2" var2="1" />
967 <actions>
968 <action function="%tw_action%">%tw_action_param%</action>
969 <action function="%tw_action2%">%tw_action2_param%</action>
970 </actions>
971 </object>
972 </page>
973
Dees_Troy51a0e822012-09-05 15:24:24 -0400974 <page name="action_complete">
975 <object type="template" name="header" />
976
977 <object type="text" color="%text_color%">
978 <font resource="font" />
979 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
980 <text>%tw_complete_text1%</text>
981 </object>
982
983 <object type="text" color="%text_fail_color%">
984 <condition var1="tw_operation_status" op="!=" var2="0" />
985 <font resource="font" />
986 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
987 <text>Failed</text>
988 </object>
989
990 <object type="text" color="%text_success_color%">
991 <condition var1="tw_operation_status" var2="0" />
992 <font resource="font" />
993 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
994 <text>Successful</text>
995 </object>
996
997 <object type="template" name="action_page_console" />
998
999 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001000 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001002 <placement x="%col_center_x%" y="%row4_y%" />
1003 <font resource="font" color="%button_text_color%" />
1004 <text>Back</text>
1005 <image resource="main_button" />
1006 <actions>
1007 <action function="set">tw_clear_destination=%tw_back%</action>
1008 <action function="page">clear_vars</action>
1009 </actions>
1010 </object>
1011
Dees_Troya3f81542012-10-08 10:58:53 -04001012 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001013 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001014 <condition var1="tw_show_reboot" var2="1" />
1015 <placement x="%col_center_x%" y="%row4_y%" />
1016 <font resource="font" color="%button_text_color%" />
1017 <text>Reboot System</text>
1018 <image resource="main_button" />
1019 <actions>
1020 <action function="set">tw_back=main2</action>
1021 <action function="set">tw_action=reboot</action>
1022 <action function="set">tw_action_param=system</action>
1023 <action function="set">tw_has_action2=0</action>
1024 <action function="set">tw_text1=No OS Installed! Are you</action>
1025 <action function="set">tw_text2=sure you wish to reboot?</action>
1026 <action function="set">tw_text3=</action>
1027 <action function="set">tw_text4=</action>
1028 <action function="set">tw_action_text1=Rebooting...</action>
1029 <action function="set">tw_action_text2=</action>
1030 <action function="set">tw_complete_text1=Rebooting...</action>
1031 <action function="set">tw_slider_text=Swipe to Reboot</action>
1032 <action function="page">rebootcheck</action>
1033 </actions>
1034 </object>
1035
Dees_Troy51a0e822012-09-05 15:24:24 -04001036 <object type="action">
1037 <touch key="home" />
1038 <actions>
1039 <action function="set">tw_clear_destination=main2</action>
1040 <action function="page">clear_vars</action>
1041 </actions>
1042 </object>
1043
1044 <object type="action">
1045 <touch key="back" />
1046 <actions>
1047 <action function="set">tw_clear_destination=%tw_back%</action>
1048 <action function="page">clear_vars</action>
1049 </actions>
1050 </object>
1051 </page>
1052
1053 <page name="filecheck">
1054 <object type="action">
1055 <action function="fileexists">%tw_filecheck%</action>
1056 </object>
1057
1058 <object type="action">
1059 <conditions>
1060 <condition var1="tw_operation_state" var2="1" />
1061 <condition var1="tw_operation_status" var2="0" />
1062 </conditions>
1063 <actions>
1064 <action function="set">tw_fileexists=1</action>
1065 <action function="page">%tw_existpage%</action>
1066 </actions>
1067 </object>
1068
1069 <object type="action">
1070 <conditions>
1071 <condition var1="tw_operation_state" var2="1" />
1072 <condition var1="tw_operation_status" var2="1" />
1073 </conditions>
1074 <actions>
1075 <action function="set">tw_fileexists=0</action>
1076 <action function="page">%tw_notexistpage%</action>
1077 </actions>
1078 </object>
1079 </page>
1080
1081 <page name="rebootcheck">
1082 <object type="action">
1083 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1084 <action function="reboot">%tw_action_param%</action>
1085 </object>
1086
1087 <object type="action">
1088 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1089 <action function="page">confirm_action</action>
1090 </object>
1091 </page>
1092
1093 <page name="wipe">
1094 <object type="template" name="header" />
1095
1096 <object type="text" color="%text_color%">
1097 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001098 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001099 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <font resource="font" />
1104 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1105 <text>Wipes Data, Cache, and Dalvik</text>
1106 </object>
1107
1108 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001109 <conditions>
1110 <condition var1="tw_has_android_secure" var2="1" />
1111 <condition var1="fileexists" var2="/and-sec" />
1112 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001113 <font resource="font" />
1114 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1115 <text>.android_secure</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <condition var1="tw_has_data_media" var2="1" />
1120 <font resource="font" />
1121 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1122 <text>(not including internal storage)</text>
1123 </object>
1124
1125 <object type="text" color="%text_color%">
1126 <condition var1="tw_has_sdext_partition" var2="1" />
1127 <font resource="font" />
1128 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1129 <text>SD-EXT</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <font resource="font" />
1134 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1135 <text>Most of the time this is</text>
1136 </object>
1137
1138 <object type="text" color="%text_color%">
1139 <font resource="font" />
1140 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1141 <text>the only wipe that you need.</text>
1142 </object>
1143
1144 <object type="text" color="%text_color%">
1145 <font resource="font" />
1146 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1147 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 </object>
1149
1150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001151 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001152 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001156 <actions>
1157 <action function="set">partitionlisterror=0</action>
1158 <action function="page">advancedwipe</action>
1159 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 </object>
1161
1162 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 <conditions>
1164 <condition var1="tw_has_internal" var2="1" />
1165 <condition var1="tw_has_data_media" var2="1" />
1166 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001167 <highlight color="%highlight_color%" />
1168 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 <font resource="font" color="%button_text_color%" />
1170 <text>Format Data</text>
1171 <image resource="main_button" />
1172 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001174 </actions>
1175 </object>
1176
Dees_Troya13d74f2013-03-24 08:54:55 -05001177 <object type="slider">
1178 <placement x="%slider_x%" y="%slider_y%" />
1179 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001180 <actions>
1181 <action function="set">tw_back=wipe</action>
1182 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001183 <action function="set">tw_action_param=data</action>
1184 <action function="set">tw_action_text1=Factory Reset...</action>
1185 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1186 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001187 </actions>
1188 </object>
1189
Dees_Troya13d74f2013-03-24 08:54:55 -05001190 <object type="text" color="%text_color%">
1191 <font resource="font" />
1192 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1193 <text>Swipe to Factory Reset</text>
1194 </object>
1195
1196 <object type="action">
1197 <touch key="back" />
1198 <action function="page">main</action>
1199 </object>
1200
1201 <object type="action">
1202 <touch key="home" />
1203 <action function="page">main</action>
1204 </object>
1205
1206 <object type="template" name="footer" />
1207 </page>
1208
1209 <page name="advancedwipe">
1210 <object type="template" name="header" />
1211
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001212 <object type="action">
1213 <action function="set">tw_wipe_list=</action>
1214 </object>
1215
Dees_Troya13d74f2013-03-24 08:54:55 -05001216 <object type="text" color="%text_color%">
1217 <font resource="font" />
1218 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1219 <text>Wipe Menu</text>
1220 </object>
1221
1222 <object type="partitionlist">
1223 <highlight color="%fileselector_highlight_color%" />
1224 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1225 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1226 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1227 <text>Select Partitions to Wipe:</text>
1228 <icon selected="checkbox_true" unselected="checkbox_false" />
1229 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1230 <background color="%listbox_background%" />
1231 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1232 <data name="tw_wipe_list" />
1233 <listtype name="wipe" />
1234 </object>
1235
1236 <object type="slider">
1237 <placement x="%slider_x%" y="%slider_y%" />
1238 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001239 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001240 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001242 <action function="set">tw_action_param=LIST</action>
1243 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1244 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1245 <action function="set">tw_complete_text1=Wipe Complete</action>
1246 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 </actions>
1248 </object>
1249
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001250 <object type="button">
1251 <highlight color="%highlight_color%" />
1252 <fill color="%button_fill_color%" />
1253 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1254 <font resource="font" color="%button_text_color%" />
1255 <text>Repair or Change File System</text>
1256 <actions>
1257 <action function="checkpartitionlist"></action>
1258 <action function="page">checkpartitionlist</action>
1259 </actions>
1260 </object>
1261
1262 <object type="text" color="%text_fail_color%">
1263 <condition var1="partitionlisterror" var2="1" />
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1266 <text>Invalid partition selection</text>
1267 </object>
1268
Dees_Troya13d74f2013-03-24 08:54:55 -05001269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1272 <text>Swipe to Wipe</text>
1273 </object>
1274
Dees_Troy51a0e822012-09-05 15:24:24 -04001275 <object type="action">
1276 <touch key="home" />
1277 <action function="page">main</action>
1278 </object>
1279
1280 <object type="action">
1281 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001282 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001283 </object>
1284
1285 <object type="template" name="footer" />
1286 </page>
1287
Dees_Troya13d74f2013-03-24 08:54:55 -05001288 <page name="formatdata">
1289 <object type="template" name="header" />
1290
1291 <object type="text" color="%text_color%">
1292 <font resource="font" />
1293 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1294 <text>Format Data will wipe all of your apps,</text>
1295 </object>
1296
1297 <object type="text" color="%text_color%">
1298 <font resource="font" />
1299 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1300 <text>backups, pictures, videos, media, and</text>
1301 </object>
1302
1303 <object type="text" color="%text_color%">
1304 <font resource="font" />
1305 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1306 <text>removes encryption on internal storage.</text>
1307 </object>
1308
1309 <object type="text" color="%text_color%">
1310 <font resource="font" />
1311 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1312 <text>This cannot be undone. Press back to cancel.</text>
1313 </object>
1314
1315 <object type="text" color="%text_color%">
1316 <font resource="font" />
1317 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1318 <text>Type yes to continue.</text>
1319 </object>
1320
1321 <object type="input">
1322 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1323 <background color="%input_background_color%" />
1324 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1325 <font resource="font" color="%text_color%" />
1326 <text>%tw_confirm_formatdata%</text>
1327 <data name="tw_confirm_formatdata" />
1328 <restrict minlen="3" maxlen="3" allow="yes" />
1329 <action function="page">formatdata_confirm</action>
1330 </object>
1331
1332 <object type="template" name="keyboardtemplate" />
1333
1334 <object type="action">
1335 <touch key="home" />
1336 <action function="page">main</action>
1337 </object>
1338
1339 <object type="action">
1340 <touch key="back" />
1341 <action function="page">wipe</action>
1342 </object>
1343
1344 <object type="template" name="footer" />
1345 </page>
1346
1347 <page name="formatdata_confirm">
1348 <object type="action">
1349 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1350 <actions>
1351 <action function="set">tw_back=formatdata</action>
1352 <action function="set">tw_action=wipe</action>
1353 <action function="set">tw_action_param=DATAMEDIA</action>
1354 <action function="set">tw_action_text1=Formatting Data...</action>
1355 <action function="set">tw_complete_text1=Data Format Complete</action>
1356 <action function="page">action_page</action>
1357 </actions>
1358 </object>
1359
1360 <object type="action">
1361 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1362 <action function="page">formatdata</function>
1363 </object>
1364 </page>
1365
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001366 <page name="checkpartitionlist">
1367 <object type="action">
1368 <condition var1="tw_check_partition_list" op="=" var2="1" />
1369 <actions>
1370 <action function="set">partitionlisterror=0</action>
1371 <action function="getpartitiondetails"></action>
1372 <action function="page">partitionoptions</action>
1373 </actions>
1374 </object>
1375
1376 <object type="action">
1377 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1378 <actions>
1379 <action function="set">partitionlisterror=1</action>
1380 <action function="set">tw_wipe_list=</action>
1381 <action function="page">advancedwipe</action>
1382 </actions>
1383 </object>
1384 </page>
1385
1386 <page name="partitionoptions">
1387 <object type="template" name="header" />
1388
1389 <object type="text" color="%text_color%">
1390 <font resource="font" />
1391 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1392 <text>Partition Options for: %tw_partition_name%</text>
1393 </object>
1394
1395 <object type="text" color="%text_color%">
1396 <font resource="font" />
1397 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1398 <text>Mount Point: %tw_partition_mount_point%</text>
1399 </object>
1400
1401 <object type="text" color="%text_color%">
1402 <font resource="font" />
1403 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1404 <text>Current file system: %tw_partition_file_system%</text>
1405 </object>
1406
1407 <object type="text" color="%text_color%">
1408 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1409 <font resource="font" />
1410 <placement x="%col1_x%" y="%row3_text_y%" />
1411 <text>Present: Yes</text>
1412 </object>
1413
1414 <object type="text" color="%text_color%">
1415 <condition var1="tw_partition_is_present" op="=" var2="0" />
1416 <font resource="font" />
1417 <placement x="%col1_x%" y="%row3_text_y%" />
1418 <text>Present: No</text>
1419 </object>
1420
1421 <object type="text" color="%text_color%">
1422 <condition var1="tw_partition_removable" op="!=" var2="0" />
1423 <font resource="font" />
1424 <placement x="%col2_x%" y="%row3_text_y%" />
1425 <text>Removable: Yes</text>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <condition var1="tw_partition_removable" op="=" var2="0" />
1430 <font resource="font" />
1431 <placement x="%col2_x%" y="%row3_text_y%" />
1432 <text>Removable: No</text>
1433 </object>
1434
1435 <object type="text" color="%text_color%">
1436 <font resource="font" />
1437 <placement x="%col1_x%" y="%row4_text_y%" />
1438 <text>Size: %tw_partition_size%MB</text>
1439 </object>
1440
1441 <object type="text" color="%text_color%">
1442 <font resource="font" />
1443 <placement x="%col2_x%" y="%row4_text_y%" />
1444 <text>Used: %tw_partition_used%MB</text>
1445 </object>
1446
1447 <object type="text" color="%text_color%">
1448 <font resource="font" />
1449 <placement x="%col1_x%" y="%row5_text_y%" />
1450 <text>Free: %tw_partition_free%MB</text>
1451 </object>
1452
1453 <object type="text" color="%text_color%">
1454 <font resource="font" />
1455 <placement x="%col2_x%" y="%row5_text_y%" />
1456 <text>Backup Size: %tw_partition_backup_size%MB</text>
1457 </object>
1458
1459 <object type="button">
1460 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1461 <highlight color="%highlight_color%" />
1462 <placement x="%col1_x%" y="%row4_y%" />
1463 <font resource="font" color="%button_text_color%" />
1464 <text>Repair</text>
1465 <image resource="main_button" />
1466 <actions>
1467 <action function="set">tw_back=partitionoptions</action>
1468 <action function="set">tw_action=repair</action>
1469 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1470 <action function="set">tw_has_action2=0</action>
1471 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1472 <action function="set">tw_text2=</action>
1473 <action function="set">tw_action_text1=Repairing...</action>
1474 <action function="set">tw_complete_text1=Repair Complete</action>
1475 <action function="set">tw_slider_text=Swipe to Repair</action>
1476 <action function="page">confirm_action</action>
1477 </actions>
1478 </object>
1479
1480 <object type="button">
1481 <highlight color="%highlight_color%" />
1482 <placement x="%col2_x%" y="%row4_y%" />
1483 <font resource="font" color="%button_text_color%" />
1484 <text>Change File System</text>
1485 <image resource="main_button" />
1486 <action function="page">selectfilesystem</action>
1487 </object>
1488
1489 <object type="action">
1490 <touch key="home" />
1491 <action function="page">main</action>
1492 </object>
1493
1494 <object type="action">
1495 <touch key="back" />
1496 <action function="page">advancedwipe</action>
1497 </object>
1498
1499 <object type="template" name="footer" />
1500 </page>
1501
1502 <page name="selectfilesystem">
1503 <object type="template" name="header" />
1504
1505 <object type="text" color="%text_color%">
1506 <font resource="font" />
1507 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1508 <text>Change file system for: %tw_partition_name%</text>
1509 </object>
1510
1511 <object type="text" color="%text_color%">
1512 <font resource="font" />
1513 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1514 <text>Mount Point: %tw_partition_mount_point%</text>
1515 </object>
1516
1517 <object type="text" color="%text_color%">
1518 <font resource="font" />
1519 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1520 <text>Current file system: %tw_partition_file_system%</text>
1521 </object>
1522
1523 <object type="text" color="%text_color%">
1524 <font resource="font" />
1525 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1526 <text>Some ROMs or kernels may not support some</text>
1527 </object>
1528
1529 <object type="text" color="%text_color%">
1530 <font resource="font" />
1531 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1532 <text>file systems. Proceed with caution!</text>
1533 </object>
1534
1535 <object type="button">
1536 <condition var1="tw_partition_ext" op="=" var2="1" />
1537 <highlight color="%highlight_color%" />
1538 <placement x="%col1_x%" y="%row2_y%" />
1539 <font resource="font" color="%button_text_color%" />
1540 <text>EXT2</text>
1541 <image resource="main_button" />
1542 <actions>
1543 <action function="set">tw_back=selectfilesystem</action>
1544 <action function="set">tw_action=changefilesystem</action>
1545 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1546 <action function="set">tw_action_new_file_system=ext2</action>
1547 <action function="set">tw_has_action2=0</action>
1548 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1549 <action function="set">tw_text2=</action>
1550 <action function="set">tw_action_text1=Formatting...</action>
1551 <action function="set">tw_complete_text1=Format Complete</action>
1552 <action function="set">tw_slider_text=Swipe to Change</action>
1553 <action function="page">confirm_action</action>
1554 </actions>
1555 </object>
1556
1557 <object type="button">
1558 <condition var1="tw_partition_ext" op="=" var2="1" />
1559 <highlight color="%highlight_color%" />
1560 <placement x="%col2_x%" y="%row2_y%" />
1561 <font resource="font" color="%button_text_color%" />
1562 <text>EXT3</text>
1563 <image resource="main_button" />
1564 <actions>
1565 <action function="set">tw_back=selectfilesystem</action>
1566 <action function="set">tw_action=changefilesystem</action>
1567 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1568 <action function="set">tw_action_new_file_system=ext3</action>
1569 <action function="set">tw_has_action2=0</action>
1570 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1571 <action function="set">tw_text2=</action>
1572 <action function="set">tw_action_text1=Formatting...</action>
1573 <action function="set">tw_complete_text1=Format Complete</action>
1574 <action function="set">tw_slider_text=Swipe to Change</action>
1575 <action function="page">confirm_action</action>
1576 </actions>
1577 </object>
1578
1579 <object type="button">
1580 <condition var1="tw_partition_ext" op="=" var2="1" />
1581 <highlight color="%highlight_color%" />
1582 <placement x="%col1_x%" y="%row3_y%" />
1583 <font resource="font" color="%button_text_color%" />
1584 <text>EXT4</text>
1585 <image resource="main_button" />
1586 <actions>
1587 <action function="set">tw_back=selectfilesystem</action>
1588 <action function="set">tw_action=changefilesystem</action>
1589 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1590 <action function="set">tw_action_new_file_system=ext4</action>
1591 <action function="set">tw_has_action2=0</action>
1592 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1593 <action function="set">tw_text2=</action>
1594 <action function="set">tw_action_text1=Formatting...</action>
1595 <action function="set">tw_complete_text1=Format Complete</action>
1596 <action function="set">tw_slider_text=Swipe to Change</action>
1597 <action function="page">confirm_action</action>
1598 </actions>
1599 </object>
1600
1601 <object type="button">
1602 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1603 <highlight color="%highlight_color%" />
1604 <placement x="%col2_x%" y="%row3_y%" />
1605 <font resource="font" color="%button_text_color%" />
1606 <text>F2FS</text>
1607 <image resource="main_button" />
1608 <actions>
1609 <action function="set">tw_back=selectfilesystem</action>
1610 <action function="set">tw_action=changefilesystem</action>
1611 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1612 <action function="set">tw_action_new_file_system=f2fs</action>
1613 <action function="set">tw_has_action2=0</action>
1614 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1615 <action function="set">tw_text2=</action>
1616 <action function="set">tw_action_text1=Formatting...</action>
1617 <action function="set">tw_complete_text1=Format Complete</action>
1618 <action function="set">tw_slider_text=Swipe to Change</action>
1619 <action function="page">confirm_action</action>
1620 </actions>
1621 </object>
1622
1623 <object type="button">
1624 <condition var1="tw_partition_vfat" op="=" var2="1" />
1625 <highlight color="%highlight_color%" />
1626 <placement x="%col1_x%" y="%row4_y%" />
1627 <font resource="font" color="%button_text_color%" />
1628 <text>FAT</text>
1629 <image resource="main_button" />
1630 <actions>
1631 <action function="set">tw_back=selectfilesystem</action>
1632 <action function="set">tw_action=changefilesystem</action>
1633 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1634 <action function="set">tw_action_new_file_system=vfat</action>
1635 <action function="set">tw_has_action2=0</action>
1636 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1637 <action function="set">tw_text2=</action>
1638 <action function="set">tw_action_text1=Formatting...</action>
1639 <action function="set">tw_complete_text1=Format Complete</action>
1640 <action function="set">tw_slider_text=Swipe to Change</action>
1641 <action function="page">confirm_action</action>
1642 </actions>
1643 </object>
1644
1645 <object type="button">
1646 <condition var1="tw_partition_exfat" op="=" var2="1" />
1647 <highlight color="%highlight_color%" />
1648 <placement x="%col2_x%" y="%row4_y%" />
1649 <font resource="font" color="%button_text_color%" />
1650 <text>exFAT</text>
1651 <image resource="main_button" />
1652 <actions>
1653 <action function="set">tw_back=selectfilesystem</action>
1654 <action function="set">tw_action=changefilesystem</action>
1655 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1656 <action function="set">tw_action_new_file_system=exfat</action>
1657 <action function="set">tw_has_action2=0</action>
1658 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1659 <action function="set">tw_text2=</action>
1660 <action function="set">tw_action_text1=Formatting...</action>
1661 <action function="set">tw_complete_text1=Format Complete</action>
1662 <action function="set">tw_slider_text=Swipe to Change</action>
1663 <action function="page">confirm_action</action>
1664 </actions>
1665 </object>
1666
1667 <object type="action">
1668 <touch key="home" />
1669 <action function="page">main</action>
1670 </object>
1671
1672 <object type="action">
1673 <touch key="back" />
1674 <action function="page">partitionoptions</action>
1675 </object>
1676
1677 <object type="template" name="footer" />
1678 </page>
1679
Dees_Troy51a0e822012-09-05 15:24:24 -04001680 <page name="backup">
1681 <object type="template" name="header" />
1682
Dees_Troy83bd4832013-05-04 12:39:56 +00001683 <object type="button">
1684 <highlight color="%highlight_color%" />
1685 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001686 <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 +00001687 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001688 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001689 <actions>
1690 <action function="set">tw_fileexists=0</action>
1691 <action function="page">backupname1</action>
1692 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 </object>
1694
Dees_Troya13d74f2013-03-24 08:54:55 -05001695 <object type="partitionlist">
1696 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001697 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001698 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1699 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1700 <text>Select Partitions to Back Up:</text>
1701 <icon selected="checkbox_true" unselected="checkbox_false" />
1702 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1703 <background color="%listbox_background%" />
1704 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1705 <data name="tw_backup_list" />
1706 <listtype name="backup" />
1707 </object>
1708
1709 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001710 <conditions>
1711 <condition var1="tw_include_encrypted_backup" var2="1" />
1712 <condition var1="tw_encrypt_backup" var2="0" />
1713 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001714 <highlight color="%highlight_color%" />
1715 <fill color="%button_fill_color%" />
1716 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1717 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001718 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001719 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001720 <action function="page">backupencryption</action>
1721 </actions>
1722 </object>
1723
1724 <object type="button">
1725 <conditions>
1726 <condition var1="tw_include_encrypted_backup" var2="1" />
1727 <condition var1="tw_encrypt_backup" var2="1" />
1728 </conditions>
1729 <highlight color="%highlight_color%" />
1730 <fill color="%button_fill_color%" />
1731 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1732 <font resource="font" color="%button_text_color%" />
1733 <text>Using Encryption</text>
1734 <actions>
1735 <action function="set">tw_password_not_match=0</action>
1736 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001737 </actions>
1738 </object>
1739
1740 <object type="button">
1741 <highlight color="%highlight_color%" />
1742 <fill color="%button_fill_color%" />
1743 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1744 <font resource="font" color="%button_text_color%" />
1745 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001746 <actions>
1747 <action function="refreshsizes"></action>
1748 <action function="page">backup</action>
1749 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001750 </object>
1751
1752 <object type="button">
1753 <highlight color="%highlight_color%" />
1754 <fill color="%button_fill_color%" />
1755 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1756 <font resource="font" color="%button_text_color%" />
1757 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1758 <actions>
1759 <action function="set">tw_back=backup</action>
1760 <action function="page">selectstorage</action>
1761 </actions>
1762 </object>
1763
1764 <object type="checkbox">
1765 <placement x="%col1_x%" y="%row15_text_y%" />
1766 <font resource="font" color="%text_color%" />
1767 <text>Enable compression.</text>
1768 <data variable="tw_use_compression" />
1769 <image checked="checkbox_true" unchecked="checkbox_false" />
1770 </object>
1771
1772 <object type="checkbox">
1773 <placement x="%col1_x%" y="%row16_text_y%" />
1774 <font resource="font" color="%text_color%" />
1775 <text>Skip MD5 generation during backup.</text>
1776 <data variable="tw_skip_md5_generate" />
1777 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001778 </object>
1779
1780 <object type="slider">
1781 <placement x="%slider_x%" y="slider_y" />
1782 <resource base="slider" used="slider-used" touch="slider-touch" />
1783 <action function="page">backup_run</action>
1784 </object>
1785
1786 <object type="text" color="%text_color%">
1787 <font resource="font" />
1788 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1789 <text>Swipe to Back Up</text>
1790 </object>
1791
Dees_Troy51a0e822012-09-05 15:24:24 -04001792 <object type="action">
1793 <touch key="home" />
1794 <action function="page">main</action>
1795 </object>
1796
1797 <object type="action">
1798 <touch key="back" />
1799 <action function="page">main</action>
1800 </object>
1801
1802 <object type="template" name="footer" />
1803 </page>
1804
1805 <page name="backupname1">
1806 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001807 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1808 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001809 </object>
1810
1811 <object type="action">
1812 <action function="page">backupname2</function>
1813 </object>
1814 </page>
1815
1816 <page name="backupname2">
1817 <object type="template" name="header" />
1818
1819 <object type="text" color="%text_color%">
1820 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1821 <font resource="font" />
1822 <text>Please Enter a Backup Name</text>
1823 </object>
1824
1825 <object type="input">
1826 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1827 <background color="%input_background_color%" />
1828 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1829 <font resource="font" color="%text_color%" />
1830 <text>%tw_backup_name%</text>
1831 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001832 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001833 <actions>
1834 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1835 <action function="set">tw_existpage=backupname2</action>
1836 <action function="set">tw_notexistpage=backup</action>
1837 <action function="page">filecheck</action>
1838 </actions>
1839 </object>
1840
1841 <object type="text" color="%text_fail_color%">
1842 <condition var1="tw_fileexists" var2="1" />
1843 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1844 <font resource="font" />
1845 <text>A backup with that name already exists!</text>
1846 </object>
1847
1848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001849 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001850 <placement x="%col1_x%" y="%row2_y%" />
1851 <font resource="font" color="%button_text_color%" />
1852 <text>Append Date</text>
1853 <image resource="main_button" />
1854 <action function="appenddatetobackupname"></action>
1855 </object>
1856
1857 <object type="button">
1858 <highlight color="%highlight_color%" />
1859 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001860 <font resource="font" color="%button_text_color%" />
1861 <text>Cancel</text>
1862 <image resource="main_button" />
1863 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001864 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001865 <action function="page">backup</action>
1866 </actions>
1867 </object>
1868
1869 <object type="template" name="keyboardtemplate" />
1870
1871 <object type="action">
1872 <touch key="home" />
1873 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001874 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001875 <action function="page">main</action>
1876 </actions>
1877 </object>
1878
1879 <object type="action">
1880 <touch key="back" />
1881 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001882 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001883 <action function="page">backup</action>
1884 </actions>
1885 </object>
1886
1887 <object type="template" name="footer" />
1888 </page>
1889
Dees_Troy83bd4832013-05-04 12:39:56 +00001890 <page name="backupencryption">
1891 <object type="template" name="header" />
1892
1893 <object type="text" color="%text_color%">
1894 <font resource="font" />
1895 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1896 <text>Encrypt your backup?</text>
1897 </object>
1898
1899 <object type="text" color="%text_color%">
1900 <font resource="font" />
1901 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1902 <text>Please Enter A Password:</text>
1903 </object>
1904
1905 <object type="input">
1906 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1907 <background color="%input_background_color%" />
1908 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1909 <font resource="font" color="%text_color%" />
1910 <text>%tw_backup_encrypt_display%</text>
1911 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1912 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1913 <action function="page">backupencryption2</action>
1914 </object>
1915
1916 <object type="text" color="%text_fail_color%">
1917 <condition var1="tw_password_not_match" var2="1" />
1918 <font resource="font" />
1919 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1920 <text>Passwords Do Not Match</text>
1921 </object>
1922
1923 <object type="button">
1924 <highlight color="%highlight_color%" />
1925 <placement x="%col_center_x%" y="%row2_y%" />
1926 <font resource="font" color="%button_text_color%" />
1927 <text>Cancel</text>
1928 <image resource="main_button" />
1929 <actions>
1930 <action function="set">tw_encrypt_backup=0</action>
1931 <action function="set">tw_backup_password=</action>
1932 <action function="set">tw_backup_password2=</action>
1933 <action function="set">tw_backup_encrypt_display=</action>
1934 <action function="set">tw_backup_encrypt_display2=</action>
1935 <action function="page">backup</action>
1936 </actions>
1937 </object>
1938
1939 <object type="template" name="keyboardtemplate" />
1940
1941 <object type="action">
1942 <touch key="home" />
1943 <action function="page">main</action>
1944 </object>
1945
1946 <object type="action">
1947 <touch key="back" />
1948 <action function="page">backup</action>
1949 </object>
1950
1951 <object type="template" name="footer" />
1952 </page>
1953
1954 <page name="backupencryption2">
1955 <object type="template" name="header" />
1956
1957 <object type="text" color="%text_color%">
1958 <font resource="font" />
1959 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1960 <text>Encrypt your backup?</text>
1961 </object>
1962
1963 <object type="text" color="%text_color%">
1964 <font resource="font" />
1965 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1966 <text>Please Enter Password Again:</text>
1967 </object>
1968
1969 <object type="input">
1970 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1971 <background color="%input_background_color%" />
1972 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1973 <font resource="font" color="%text_color%" />
1974 <text>%tw_backup_encrypt_display2%</text>
1975 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1976 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1977 <actions>
1978 <action function="page">checkbackuppassword</action>
1979 </actions>
1980 </object>
1981
1982 <object type="button">
1983 <highlight color="%highlight_color%" />
1984 <placement x="%col_center_x%" y="%row2_y%" />
1985 <font resource="font" color="%button_text_color%" />
1986 <text>Cancel</text>
1987 <image resource="main_button" />
1988 <actions>
1989 <action function="set">tw_encrypt_backup=0</action>
1990 <action function="set">tw_backup_password=</action>
1991 <action function="set">tw_backup_password2=</action>
1992 <action function="set">tw_backup_encrypt_display=</action>
1993 <action function="set">tw_backup_encrypt_display2=</action>
1994 <action function="page">backup</action>
1995 </actions>
1996 </object>
1997
1998 <object type="template" name="keyboardtemplate" />
1999
2000 <object type="action">
2001 <touch key="home" />
2002 <action function="page">main</action>
2003 </object>
2004
2005 <object type="action">
2006 <touch key="back" />
2007 <action function="page">backup</action>
2008 </object>
2009
2010 <object type="template" name="footer" />
2011 </page>
2012
2013 <page name="checkbackuppassword">
2014 <object type="action">
2015 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2016 <actions>
2017 <action function="set">tw_encrypt_backup=1</action>
2018 <action function="page">backup</action>
2019 </actions>
2020 </object>
2021
2022 <object type="action">
2023 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2024 <actions>
2025 <action function="set">tw_encrypt_backup=0</action>
2026 <action function="set">tw_password_not_match=1</action>
2027 <action function="set">tw_backup_password=</action>
2028 <action function="set">tw_backup_password2=</action>
2029 <action function="set">tw_backup_encrypt_display=</action>
2030 <action function="set">tw_backup_encrypt_display2=</action>
2031 <action function="page">backupencryption</action>
2032 </actions>
2033 </object>
2034 </page>
2035
Dees_Troy51a0e822012-09-05 15:24:24 -04002036 <page name="backup_run">
2037 <object type="template" name="header" />
2038
2039 <object type="text" color="%text_color%">
2040 <font resource="font" />
2041 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2042 <text>%tw_operation% %tw_partition%</text>
2043 </object>
2044
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002045 <object type="text" color="%text_color%">
2046 <font resource="font" />
2047 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2048 <text>%tw_file_progress%</text>
2049 </object>
2050
2051 <object type="text" color="%text_color%">
2052 <font resource="font" />
2053 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2054 <text>%tw_size_progress%</text>
2055 </object>
2056
Dees_Troy51a0e822012-09-05 15:24:24 -04002057 <object type="template" name="action_page_console" />
2058
2059 <object type="template" name="progress_bar" />
2060
2061 <object type="action">
2062 <action function="nandroid">backup</action>
2063 </object>
2064
2065 <object type="action">
2066 <condition var1="tw_operation_state" var2="1" />
2067 <actions>
2068 <action function="set">tw_back=backup</action>
2069 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002070 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002071 <action function="page">action_complete</action>
2072 </actions>
2073 </object>
2074 </page>
2075
2076 <page name="restore">
2077 <object type="template" name="header" />
2078
2079 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002080 <highlight color="%highlight_color%" />
2081 <fill color="%button_fill_color%" />
2082 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2083 <font resource="font" color="%button_text_color%" />
2084 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2085 <actions>
2086 <action function="set">tw_back=restore</action>
2087 <action function="page">selectstorage</action>
2088 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002089 </object>
2090
2091 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002092 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002093 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002094 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002095 <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 -04002096 <text>Select Package to Restore:</text>
2097 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2098 <sort name="tw_gui_sort_order" />
2099 <icon folder="folder_icon" file="file_icon" />
2100 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002101 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002102 <filter folders="1" files="0" nav="0" />
2103 <path name="tw_backups_folder" />
2104 <data name="tw_restore" default="" />
2105 <selection name="tw_restore_name" />
2106 </object>
2107
2108 <object type="template" name="sort_options" />
2109
2110 <object type="action">
2111 <condition var1="tw_restore" op="modified" />
2112 <actions>
2113 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002114 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002115 </actions>
2116 </object>
2117
2118 <object type="action">
2119 <touch key="home" />
2120 <action function="page">main</action>
2121 </object>
2122
2123 <object type="action">
2124 <touch key="back" />
2125 <action function="page">main</action>
2126 </object>
2127
2128 <object type="template" name="footer" />
2129 </page>
2130
Dees_Troy83bd4832013-05-04 12:39:56 +00002131 <page name="restore_read">
2132 <object type="action">
2133 <condition var1="tw_restore_encrypted" var2="1" />
2134 <actions>
2135 <action function="set">tw_password_fail=0</action>
2136 <action function="page">restore_decrypt</action>
2137 </actions>
2138 </object>
2139
2140 <object type="action">
2141 <condition var1="tw_restore_encrypted" var2="0" />
2142 <actions>
2143 <action function="page">restore_select</action>
2144 </actions>
2145 </object>
2146 </page>
2147
2148 <page name="restore_decrypt">
2149 <object type="template" name="header" />
2150
2151 <object type="text" color="%text_color%">
2152 <font resource="font" />
2153 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2154 <text>Backup Encrypted</text>
2155 </object>
2156
2157 <object type="text" color="%text_color%">
2158 <font resource="font" />
2159 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2160 <text>Please Enter Your Password:</text>
2161 </object>
2162
2163 <object type="input">
2164 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2165 <background color="%input_background_color%" />
2166 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2167 <font resource="font" color="%text_color%" />
2168 <text>%tw_restore_display%</text>
2169 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2170 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2171 <actions>
2172 <action function="page">try_restore_decrypt</action>
2173 </actions>
2174 </object>
2175
2176 <object type="text" color="%text_fail_color%">
2177 <condition var1="tw_password_fail" var2="1" />
2178 <font resource="font" />
2179 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2180 <text>Password Failed, Please Try Again</text>
2181 </object>
2182
2183 <object type="button">
2184 <highlight color="%highlight_color%" />
2185 <placement x="%col1_x%" y="%row2_y%" />
2186 <font resource="font" color="%button_text_color%" />
2187 <text>Cancel</text>
2188 <image resource="main_button" />
2189 <actions>
2190 <action function="set">tw_page_done=1</action>
2191 <action function="page">restore</action>
2192 </actions>
2193 </object>
2194
2195 <object type="button">
2196 <highlight color="%highlight_color%" />
2197 <placement x="%col2_x%" y="%row2_y%" />
2198 <font resource="font" color="%button_text_color%" />
2199 <text>Delete</text>
2200 <image resource="main_button" />
2201 <actions>
2202 <action function="set">tw_back=restore</action>
2203 <action function="set">tw_action=cmd</action>
2204 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2205 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2206 <action function="set">tw_text2=This cannot be undone!</action>
2207 <action function="set">tw_action_text1=Deleting Backup...</action>
2208 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2209 <action function="set">tw_slider_text=Swipe to Delete</action>
2210 <action function="page">confirm_action</action>
2211 </actions>
2212 </object>
2213
2214 <object type="template" name="keyboardtemplate" />
2215
2216 <object type="action">
2217 <touch key="home" />
2218 <action function="page">main</action>
2219 </object>
2220
2221 <object type="action">
2222 <touch key="back" />
2223 <action function="page">restore</action>
2224 </object>
2225
2226 <object type="template" name="footer" />
2227 </page>
2228
2229 <page name="try_restore_decrypt">
2230 <object type="template" name="header" />
2231
2232 <object type="text" color="%text_color%">
2233 <font resource="font" />
2234 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2235 <text>Trying Decryption with Your Password</text>
2236 </object>
2237
2238 <object type="template" name="action_page_console" />
2239
2240 <object type="template" name="progress_bar" />
2241
2242 <object type="action">
2243 <action function="decrypt_backup"></action>
2244 </object>
2245
2246 <object type="action">
2247 <conditions>
2248 <condition var1="tw_operation_state" var2="1" />
2249 <condition var1="tw_operation_status" op="!=" var2="0" />
2250 </conditions>
2251 <actions>
2252 <action function="set">tw_password_fail=1</action>
2253 <action function="page">restore_decrypt</action>
2254 </actions>
2255 </object>
2256
2257 <object type="action">
2258 <conditions>
2259 <condition var1="tw_operation_state" var2="1" />
2260 <condition var1="tw_operation_status" op="=" var2="0" />
2261 </conditions>
2262 <actions>
2263 <action function="set">tw_page_done=1</action>
2264 <action function="page">restore_select</action>
2265 </actions>
2266 </object>
2267 </page>
2268
Dees_Troy51a0e822012-09-05 15:24:24 -04002269 <page name="restore_select">
2270 <object type="template" name="header" />
2271
Dees_Troya13d74f2013-03-24 08:54:55 -05002272 <object type="partitionlist">
2273 <highlight color="%fileselector_highlight_color%" />
2274 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2275 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2276 <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 -04002277 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002278 <icon selected="checkbox_true" unselected="checkbox_false" />
2279 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2280 <background color="%listbox_background%" />
2281 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2282 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2283 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002284 </object>
2285
2286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002287 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002288 <fill color="%button_fill_color%" />
2289 <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 -04002290 <font resource="font" color="%button_text_color%" />
2291 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002292 <actions>
2293 <action function="set">tw_backup_rename=</action>
2294 <action function="set">tw_fileexists=0</action>
2295 <action function="page">renamebackup</action>
2296 </actions>
2297 </object>
2298
2299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002300 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002301 <fill color="%button_fill_color%" />
2302 <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 -04002303 <font resource="font" color="%button_text_color%" />
2304 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002305 <actions>
2306 <action function="set">tw_back=restore</action>
2307 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002308 <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 -04002309 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2310 <action function="set">tw_text2=This cannot be undone!</action>
2311 <action function="set">tw_action_text1=Deleting Backup...</action>
2312 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2313 <action function="set">tw_slider_text=Swipe to Delete</action>
2314 <action function="page">confirm_action</action>
2315 </actions>
2316 </object>
2317
Dees_Troya13d74f2013-03-24 08:54:55 -05002318 <object type="checkbox">
2319 <placement x="%col1_x%" y="%row15_text_y%" />
2320 <font resource="font" color="%text_color%" />
2321 <text>Enable MD5 verification of backup files.</text>
2322 <data variable="tw_skip_md5_check" />
2323 <image checked="checkbox_true" unchecked="checkbox_false" />
2324 </object>
2325
2326 <object type="text" color="%text_color%">
2327 <font resource="font" />
2328 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2329 <text>Package Date: %tw_restore_file_date%</text>
2330 </object>
2331
Dees_Troy51a0e822012-09-05 15:24:24 -04002332 <object type="slider">
2333 <placement x="%slider_x%" y="%slider_y%" />
2334 <resource base="slider" used="slider-used" touch="slider-touch" />
2335 <action function="page">restore_run</action>
2336 </object>
2337
2338 <object type="text" color="%text_color%">
2339 <font resource="font" />
2340 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2341 <text>Swipe to Restore</text>
2342 </object>
2343
Dees_Troy51a0e822012-09-05 15:24:24 -04002344 <object type="action">
2345 <touch key="home" />
2346 <action function="page">main</action>
2347 </object>
2348
2349 <object type="action">
2350 <touch key="back" />
2351 <action function="page">restore</action>
2352 </object>
2353
2354 <object type="template" name="footer" />
2355 </page>
2356
2357 <page name="renamebackup">
2358 <object type="template" name="header" />
2359
2360 <object type="text" color="%text_color%">
2361 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2362 <font resource="font" />
2363 <text>Please Enter a New Backup Name</text>
2364 </object>
2365
2366 <object type="input">
2367 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2368 <background color="%input_background_color%" />
2369 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2370 <font resource="font" color="%text_color%" />
2371 <text>%tw_backup_rename%</text>
2372 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002373 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002374 <actions>
2375 <action function="set">tw_back=restore</action>
2376 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002377 <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 -04002378 <action function="set">tw_text1=Rename Backup?</action>
2379 <action function="set">tw_text2=This cannot be undone!</action>
2380 <action function="set">tw_action_text1=Renaming Backup...</action>
2381 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2382 <action function="set">tw_slider_text=Swipe to Rename</action>
2383 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2384 <action function="set">tw_existpage=renamebackup</action>
2385 <action function="set">tw_notexistpage=confirm_action</action>
2386 <action function="page">filecheck</action>
2387 </actions>
2388 </object>
2389
2390 <object type="text" color="%text_fail_color%">
2391 <condition var1="tw_fileexists" var2="1" />
2392 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2393 <font resource="font" />
2394 <text>A backup with that name already exists!</text>
2395 </object>
2396
2397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <placement x="%col_center_x%" y="%row2_y%" />
2400 <font resource="font" color="%button_text_color%" />
2401 <text>Cancel</text>
2402 <image resource="main_button" />
2403 <action function="page">restore_select</action>
2404 </object>
2405
2406 <object type="template" name="keyboardtemplate" />
2407
2408 <object type="action">
2409 <touch key="home" />
2410 <action function="page">main</action>
2411 </object>
2412
2413 <object type="action">
2414 <touch key="back" />
2415 <action function="page">restore_select</action>
2416 </object>
2417
2418 <object type="template" name="footer" />
2419 </page>
2420
2421 <page name="restore_run">
2422 <object type="template" name="header" />
2423
2424 <object type="text" color="%text_color%">
2425 <font resource="font" />
2426 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2427 <text>%tw_operation% %tw_partition%</text>
2428 </object>
2429
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002430 <object type="text" color="%text_color%">
2431 <font resource="font" />
2432 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2433 <text>%tw_size_progress%</text>
2434 </object>
2435
Dees_Troy51a0e822012-09-05 15:24:24 -04002436 <object type="template" name="action_page_console" />
2437
2438 <object type="template" name="progress_bar" />
2439
2440 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002441 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <actions>
2443 <action function="set">tw_back=restore_select</action>
2444 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002445 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <action function="page">action_complete</action>
2447 </actions>
2448 </object>
2449
2450 <object type="action">
2451 <action function="nandroid">restore</action>
2452 </object>
2453 </page>
2454
Dees_Troya13d74f2013-03-24 08:54:55 -05002455 <page name="selectstorage">
2456 <object type="template" name="header" />
2457
2458 <object type="partitionlist">
2459 <highlight color="%fileselector_highlight_color%" />
2460 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2461 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2462 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2463 <text>Select Storage:</text>
2464 <icon selected="radio_true" unselected="radio_false" />
2465 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2466 <background color="%listbox_background%" />
2467 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2468 <data name="tw_storage_path" />
2469 <listtype name="storage" />
2470 </object>
2471
Dees_Troye7e0ae82013-07-05 14:46:07 +00002472 <object type="button">
2473 <highlight color="%highlight_color%" />
2474 <placement x="%col_center_x%" y="%row4_y%" />
2475 <font resource="font" color="%button_text_color%" />
2476 <text>OK</text>
2477 <image resource="main_button" />
2478 <actions>
2479 <action function="set">tw_clear_destination=%tw_back%</action>
2480 <action function="page">clear_vars</action>
2481 </actions>
2482 </object>
2483
Dees_Troya13d74f2013-03-24 08:54:55 -05002484 <object type="action">
2485 <touch key="home" />
2486 <action function="page">main</action>
2487 </object>
2488
2489 <object type="action">
2490 <touch key="back" />
2491 <actions>
2492 <action function="page">%tw_back%</action>
2493 </actions>
2494 </object>
2495
2496 <object type="template" name="footer" />
2497 </page>
2498
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <page name="mount">
2500 <object type="template" name="header" />
2501
Dees_Troya13d74f2013-03-24 08:54:55 -05002502 <object type="partitionlist">
2503 <highlight color="%fileselector_highlight_color%" />
2504 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2505 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2506 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2507 <text>Select Partitions to Mount:</text>
2508 <icon selected="checkbox_true" unselected="checkbox_false" />
2509 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2510 <background color="%listbox_background%" />
2511 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2512 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 </object>
2514
2515 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002516 <highlight color="%highlight_color%" />
2517 <fill color="%button_fill_color%" />
2518 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2519 <font resource="font" color="%button_text_color%" />
2520 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2521 <actions>
2522 <action function="set">tw_back=mount</action>
2523 <action function="page">selectstorage</action>
2524 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002525 </object>
2526
2527 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002528 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002529 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002530 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 <font resource="font" color="%button_text_color%" />
2532 <text>Mount USB Storage</text>
2533 <image resource="main_button" />
2534 <action function="page">usb_mount</action>
2535 </object>
2536
Gary Peckffdc6ae2012-11-21 18:02:02 -08002537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002538 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002539 <conditions>
2540 <condition var1="tw_is_encrypted" var2="1" />
2541 <condition var1="tw_is_decrypted" var2="0" />
2542 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002543 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002544 <font resource="font" color="%button_text_color%" />
2545 <text>Decrypt Data</text>
2546 <image resource="main_button" />
2547 <action function="page">decrypt</action>
2548 </object>
2549
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <object type="action">
2551 <touch key="home" />
2552 <action function="page">main</action>
2553 </object>
2554
2555 <object type="action">
2556 <touch key="back" />
2557 <action function="page">main</action>
2558 </object>
2559
2560 <object type="template" name="footer" />
2561 </page>
2562
2563 <page name="usb_mount">
2564 <object type="template" name="header" />
2565
2566 <object type="text" color="%text_color%">
2567 <font resource="font" />
2568 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2569 <text>USB Storage Mounted</text>
2570 </object>
2571
2572 <object type="text" color="%text_color%">
2573 <placement x="%col1_x%" y="%row1_text_y%" />
2574 <font resource="font" />
2575 <text>Be sure to safely remove your device</text>
2576 </object>
2577
2578 <object type="text" color="%text_color%">
2579 <placement x="%col1_x%" y="%row2_text_y%" />
2580 <font resource="font" />
2581 <text>from your computer before unmounting!</text>
2582 </object>
2583
2584 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002585 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002586 <placement x="%col1_x%" y="%row3_y%" />
2587 <font resource="font" color="%button_text_color%" />
2588 <text>Unmount</text>
2589 <image resource="main_button" />
2590 <action function="page">usb_umount</action>
2591 </object>
2592
2593 <object type="action">
2594 <action function="mount">usb</action>
2595 </object>
2596
2597 <object type="template" name="footer" />
2598 </page>
2599
2600 <page name="usb_umount">
2601 <object type="action">
2602 <action function="unmount">usb</action>
2603 </object>
2604
2605 <object type="action">
2606 <action function="page">mount</action>
2607 </object>
2608 </page>
2609
2610 <page name="reboot">
2611 <object type="template" name="header" />
2612
2613 <object type="text" color="%text_color%">
2614 <font resource="font" />
2615 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2616 <text>Reboot Menu</text>
2617 </object>
2618
2619 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002620 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002621 <condition var1="tw_reboot_system" var2="1" />
2622 <placement x="%col1_x%" y="%row1_y%" />
2623 <font resource="font" color="%button_text_color%" />
2624 <text>System</text>
2625 <image resource="main_button" />
2626 <actions>
2627 <action function="set">tw_back=reboot</action>
2628 <action function="set">tw_action=reboot</action>
2629 <action function="set">tw_action_param=system</action>
2630 <action function="set">tw_has_action2=0</action>
2631 <action function="set">tw_text1=No OS Installed! Are you</action>
2632 <action function="set">tw_text2=sure you wish to reboot?</action>
2633 <action function="set">tw_action_text1=Rebooting...</action>
2634 <action function="set">tw_complete_text1=Rebooting...</action>
2635 <action function="set">tw_slider_text=Swipe to Reboot</action>
2636 <action function="page">rebootcheck</action>
2637 </actions>
2638 </object>
2639
2640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002642 <condition var1="tw_reboot_poweroff" var2="1" />
2643 <placement x="%col2_x%" y="%row1_y%" />
2644 <font resource="font" color="%button_text_color%" />
2645 <text>Power Off</text>
2646 <image resource="main_button" />
2647 <actions>
2648 <action function="set">tw_back=reboot</action>
2649 <action function="set">tw_action=reboot</action>
2650 <action function="set">tw_action_param=poweroff</action>
2651 <action function="set">tw_has_action2=0</action>
2652 <action function="set">tw_text1=No OS Installed! Are you</action>
2653 <action function="set">tw_text2=sure you wish to power off?</action>
2654 <action function="set">tw_action_text1=Turning Off...</action>
2655 <action function="set">tw_complete_text1=Turning Off...</action>
2656 <action function="set">tw_slider_text=Swipe to Power Off</action>
2657 <action function="page">rebootcheck</action>
2658 </actions>
2659 </object>
2660
2661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002662 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002663 <condition var1="tw_reboot_recovery" var2="1" />
2664 <placement x="%col1_x%" y="%row2_y%" />
2665 <font resource="font" color="%button_text_color%" />
2666 <text>Recovery</text>
2667 <image resource="main_button" />
2668 <actions>
2669 <action function="set">tw_back=reboot</action>
2670 <action function="set">tw_action=reboot</action>
2671 <action function="set">tw_action_param=recovery</action>
2672 <action function="set">tw_has_action2=0</action>
2673 <action function="set">tw_text1=No OS Installed! Are you</action>
2674 <action function="set">tw_text2=sure you wish to reboot?</action>
2675 <action function="set">tw_action_text1=Rebooting...</action>
2676 <action function="set">tw_complete_text1=Rebooting...</action>
2677 <action function="set">tw_slider_text=Swipe to Reboot</action>
2678 <action function="page">rebootcheck</action>
2679 </actions>
2680 </object>
2681
2682 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002683 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002684 <condition var1="tw_reboot_bootloader" var2="1" />
2685 <placement x="%col2_x%" y="%row2_y%" />
2686 <font resource="font" color="%button_text_color%" />
2687 <text>Bootloader</text>
2688 <image resource="main_button" />
2689 <actions>
2690 <action function="set">tw_back=reboot</action>
2691 <action function="set">tw_action=reboot</action>
2692 <action function="set">tw_action_param=bootloader</action>
2693 <action function="set">tw_has_action2=0</action>
2694 <action function="set">tw_text1=No OS Installed! Are you</action>
2695 <action function="set">tw_text2=sure you wish to reboot?</action>
2696 <action function="set">tw_action_text1=Rebooting...</action>
2697 <action function="set">tw_complete_text1=Rebooting...</action>
2698 <action function="set">tw_slider_text=Swipe to Reboot</action>
2699 <action function="page">rebootcheck</action>
2700 </actions>
2701 </object>
2702
2703 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002704 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002705 <condition var1="tw_download_mode" var2="1" />
2706 <placement x="%col1_x%" y="%row3_y%" />
2707 <font resource="font" color="%button_text_color%" />
2708 <text>Download</text>
2709 <image resource="main_button" />
2710 <actions>
2711 <action function="set">tw_back=reboot</action>
2712 <action function="set">tw_action=reboot</action>
2713 <action function="set">tw_action_param=download</action>
2714 <action function="set">tw_has_action2=0</action>
2715 <action function="set">tw_text1=No OS Installed! Are you</action>
2716 <action function="set">tw_text2=sure you wish to reboot?</action>
2717 <action function="set">tw_action_text1=Rebooting...</action>
2718 <action function="set">tw_complete_text1=Rebooting...</action>
2719 <action function="set">tw_slider_text=Swipe to Reboot</action>
2720 <action function="page">rebootcheck</action>
2721 </actions>
2722 </object>
2723
2724 <object type="action">
2725 <touch key="home" />
2726 <action function="page">main</action>
2727 </object>
2728
2729 <object type="action">
2730 <touch key="back" />
2731 <action function="page">main</action>
2732 </object>
2733
2734 <object type="template" name="footer" />
2735 </page>
2736
2737 <page name="settings">
2738 <object type="template" name="header" />
2739
2740 <object type="text" color="%text_color%">
2741 <font resource="font" />
2742 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2743 <text>Settings</text>
2744 </object>
2745
2746 <object type="checkbox">
2747 <placement x="%col1_x%" y="%row1_text_y%" />
2748 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002749 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002750 <data variable="tw_signed_zip_verify" />
2751 <image checked="checkbox_true" unchecked="checkbox_false" />
2752 </object>
2753
2754 <object type="checkbox">
2755 <placement x="%col1_x%" y="%row2_text_y%" />
2756 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002757 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <data variable="tw_rm_rf" />
2759 <image checked="checkbox_true" unchecked="checkbox_false" />
2760 </object>
2761
2762 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002763 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002765 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <data variable="tw_skip_md5_generate" />
2767 <image checked="checkbox_true" unchecked="checkbox_false" />
2768 </object>
2769
2770 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002771 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002773 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <data variable="tw_skip_md5_check" />
2775 <image checked="checkbox_true" unchecked="checkbox_false" />
2776 </object>
2777
2778 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002779 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002781 <text>Use Military Time.</text>
2782 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <image checked="checkbox_true" unchecked="checkbox_false" />
2784 </object>
2785
2786 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002787 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002789 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002790 <data variable="tw_simulate_actions" />
2791 <image checked="checkbox_true" unchecked="checkbox_false" />
2792 </object>
2793
2794 <object type="checkbox">
2795 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002796 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002797 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002798 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <data variable="tw_simulate_fail" />
2800 <image checked="checkbox_true" unchecked="checkbox_false" />
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002805 <placement x="%col1_x%" y="%row3_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Time Zone</text>
2808 <image resource="main_button" />
2809 <action function="page">timezone</action>
2810 </object>
2811
2812 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002813 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002814 <placement x="%col2_x%" y="%row3_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text>Screen</text>
2817 <image resource="main_button" />
2818 <action function="page">screen</action>
2819 </object>
2820
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002821 <object type="button">
2822 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002823 <placement x="%col1_x%" y="%row4_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>Restore Defaults</text>
2826 <image resource="main_button" />
2827 <action function="restoredefaultsettings"></action>
2828 </object>
2829
Dees_Troy2f9117a2013-02-17 19:52:09 -06002830 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002831 <highlight color="%highlight_color%" />
2832 <placement x="%col2_x%" y="%row4_y%" />
2833 <font resource="font" color="%button_text_color%" />
2834 <text>Vibration Duration</text>
2835 <image resource="main_button" />
2836 <action function="page">Vibrate</action>
2837 </object>
2838
Dees_Troy51a0e822012-09-05 15:24:24 -04002839 <object type="action">
2840 <touch key="home" />
2841 <action function="page">main</action>
2842 </object>
2843
2844 <object type="action">
2845 <touch key="back" />
2846 <action function="page">main</action>
2847 </object>
2848
2849 <object type="template" name="footer" />
2850 </page>
2851
2852 <page name="timezone">
2853 <object type="template" name="header" />
2854
Dees_Troy51a0e822012-09-05 15:24:24 -04002855 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002856 <highlight color="%fileselector_highlight_color%" />
2857 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2858 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002859 <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 -06002860 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002861 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002862 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002863 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002864 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002865 <data name="tw_time_zone_guisel" />
2866 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2867 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2868 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2869 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2870 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2871 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2872 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2873 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2874 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2875 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2876 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2877 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2878 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2879 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2880 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2881 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2882 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2883 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2884 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2885 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2886 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2887 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2888 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2889 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2890 </object>
2891
2892 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002893 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002894 <font resource="font" color="%text_color%" />
2895 <text>Do you use daylight savings time (DST)?</text>
2896 <data variable="tw_time_zone_guidst" />
2897 <image checked="checkbox_true" unchecked="checkbox_false" />
2898 </object>
2899
2900 <object type="text" color="%text_color%">
2901 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002902 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002903 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2904 </object>
2905
2906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002907 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002908 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002909 <font resource="font" color="%button_text_color%" />
2910 <text>None</text>
2911 <image resource="medium_button" />
2912 <action function="set">tw_time_zone_guioffset=0</action>
2913 </object>
2914
2915 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002916 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002917 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002918 <font resource="font" color="%button_text_color%" />
2919 <text>15</text>
2920 <image resource="medium_button" />
2921 <action function="set">tw_time_zone_guioffset=15</action>
2922 </object>
2923
2924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002925 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002926 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002927 <font resource="font" color="%button_text_color%" />
2928 <text>30</text>
2929 <image resource="medium_button" />
2930 <action function="set">tw_time_zone_guioffset=30</action>
2931 </object>
2932
2933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002934 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002935 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <font resource="font" color="%button_text_color%" />
2937 <text>45</text>
2938 <image resource="medium_button" />
2939 <action function="set">tw_time_zone_guioffset=45</action>
2940 </object>
2941
2942 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002943 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <placement x="%col_center_x%" y="%tz_set_y%" />
2945 <font resource="font" color="%button_text_color%" />
2946 <text>Set Time Zone</text>
2947 <image resource="main_button" />
2948 <action function="setguitimezone"></action>
2949 </object>
2950
2951 <object type="text" color="%text_color%">
2952 <font resource="font" />
2953 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2954 <text>Current Time Zone: %tw_time_zone%</text>
2955 </object>
2956
2957 <object type="action">
2958 <touch key="home" />
2959 <action function="page">main</action>
2960 </object>
2961
2962 <object type="action">
2963 <touch key="back" />
2964 <action function="page">settings</action>
2965 </object>
2966
2967 <object type="template" name="footer" />
2968 </page>
2969
Dees_Troy2f9117a2013-02-17 19:52:09 -06002970 <page name="screen">
2971 <object type="template" name="header" />
2972
2973 <object type="text" color="%text_color%">
2974 <font resource="font" />
2975 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2976 <text>Screen Settings</text>
2977 </object>
2978
Dees_Troy2f9117a2013-02-17 19:52:09 -06002979 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002980 <placement x="%col1_x%" y="%row2_text_y%" />
2981 <font resource="font" color="%text_color%" />
2982 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002983 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002984 <text>Enable screen timeout.</text>
2985 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002986 <action function="set">tw_screen_timeout_secs=60</action>
2987 </object>
2988
2989 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002990 <placement x="%col1_x%" y="%row2_text_y%" />
2991 <font resource="font" color="%text_color%" />
2992 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002993 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002994 <text>Enable screen timeout.</text>
2995 <image resource="checkbox_true" />
2996 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002997 </object>
2998
Vojtech Bocek85932342013-04-01 22:11:33 +02002999 <object type="slidervalue">
3000 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003001 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003002 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3003 <font resource="font" color="%text_color%" />
3004 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3005 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3006 <text>Screen timeout in seconds:</text>
3007 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003008 </object>
3009
Vojtech Bocek85932342013-04-01 22:11:33 +02003010 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003011 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003012 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3013 <font resource="font" color="%text_color%" />
3014 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3015 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3016 <text>Brightness: %tw_brightness_pct%%</text>
3017 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003018 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003019 <action function="set">tw_brightness=%tw_brightness_max%</action>
3020 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3021 <action function="compute">tw_brightness/100</action>
3022 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003023 </actions>
3024 </object>
3025
3026 <object type="action">
3027 <touch key="home" />
3028 <action function="page">main</action>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="back" />
3033 <action function="page">settings</action>
3034 </object>
3035
3036 <object type="template" name="footer" />
3037 </page>
3038
Ethan Yonker03db3262014-02-05 08:02:06 -06003039 <page name="Vibrate">
3040 <object type="template" name="header" />
3041
3042 <object type="text" color="%text_color%">
3043 <font resource="font" />
3044 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3045 <text>Vibration Settings :</text>
3046 </object>
3047
3048 <object type="slidervalue">
3049 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3050 <font resource="font" color="%text_color%" />
3051 <text>Button Vibration:</text>
3052 <data variable="tw_button_vibrate" min="0" max="300" />
3053 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3054 </object>
3055
3056 <object type="slidervalue">
3057 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3058 <font resource="font" color="%text_color%" />
3059 <text>Keyboard Vibration:</text>
3060 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3061 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3062 </object>
3063
3064 <object type="slidervalue">
3065 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3066 <font resource="font" color="%text_color%" />
3067 <text>Action Vibration:</text>
3068 <data variable="tw_action_vibrate" min="0" max="500" />
3069 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3070 </object>
3071
3072 <object type="action">
3073 <touch key="home" />
3074 <action function="page">main</action>
3075 </object>
3076
3077 <object type="action">
3078 <touch key="back" />
3079 <action function="page">settings</action>
3080 </object>
3081
3082 <object type="template" name="footer" />
3083 </page>
3084
Dees_Troy51a0e822012-09-05 15:24:24 -04003085 <page name="advanced">
3086 <object type="template" name="header" />
3087
3088 <object type="text" color="%text_color%">
3089 <font resource="font" />
3090 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3091 <text>Advanced</text>
3092 </object>
3093
3094 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003095 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <placement x="%col1_x%" y="%row1_y%" />
3097 <font resource="font" color="%button_text_color%" />
3098 <text>Copy Log to SD</text>
3099 <image resource="main_button" />
3100 <actions>
3101 <action function="set">tw_back=advanced</action>
3102 <action function="set">tw_action=copylog</action>
3103 <action function="set">tw_text1=Copy Log to SD Card?</action>
3104 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3105 <action function="set">tw_complete_text1=Log Copy Complete</action>
3106 <action function="set">tw_slider_text=Swipe to Confirm</action>
3107 <action function="page">confirm_action</action>
3108 </actions>
3109 </object>
3110
3111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <placement x="%col2_x%" y="%row1_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Fix Permissions</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_back=advanced</action>
3119 <action function="set">tw_action=fixpermissions</action>
3120 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003121 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003122 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3123 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003124 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003125 <action function="page">confirm_action</action>
3126 </actions>
3127 </object>
3128
3129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <condition var1="tw_allow_partition_sdcard" var2="1" />
3132 <placement x="%col1_x%" y="%row2_y%" />
3133 <font resource="font" color="%button_text_color%" />
3134 <text>Partition SD Card</text>
3135 <image resource="main_button" />
3136 <action function="page">partsdcard</action>
3137 </object>
3138
3139 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003140 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003141 <placement x="%col2_x%" y="%row2_y%" />
3142 <font resource="font" color="%button_text_color%" />
3143 <text>File Manager</text>
3144 <image resource="main_button" />
3145 <action function="page">filemanagerlist</action>
3146 </object>
3147
3148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003150 <placement x="%col1_x%" y="%row3_y%" />
3151 <font resource="font" color="%button_text_color%" />
3152 <text>Terminal Command</text>
3153 <image resource="main_button" />
3154 <action function="page">terminalfolder</action>
3155 </object>
3156
3157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003158 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003159 <placement x="%col2_x%" y="%row3_y%" />
3160 <font resource="font" color="%button_text_color%" />
3161 <text>Reload Theme</text>
3162 <image resource="main_button" />
3163 <action function="reload"></action>
3164 </object>
3165
3166 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003167 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003168 <placement x="%col1_x%" y="%row4_y%" />
3169 <font resource="font" color="%button_text_color%" />
3170 <text>ADB Sideload</text>
3171 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003172 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04003173 </object>
3174
3175 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003176 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003177 <condition var1="tw_show_dumlock" var2="1" />
3178 <placement x="%col2_x%" y="%row4_y%" />
3179 <font resource="font" color="%button_text_color%" />
3180 <text>HTC Dumlock</text>
3181 <image resource="main_button" />
3182 <action function="page">htcdumlock</action>
3183 </object>
3184
3185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <condition var1="tw_has_injecttwrp" var2="1" />
3188 <placement x="%col2_x%" y="%row4_y%" />
3189 <font resource="font" color="%button_text_color%" />
3190 <text>Re-Inject TWRP</text>
3191 <image resource="main_button" />
3192 <actions>
3193 <action function="set">tw_back=advanced</action>
3194 <action function="set">tw_action=reinjecttwrp</action>
3195 <action function="set">tw_text1=Re-Inject TWRP?</action>
3196 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3197 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3198 <action function="set">tw_slider_text=Swipe to Confirm</action>
3199 <action function="page">confirm_action</action>
3200 </actions>
3201 </object>
3202
3203 <object type="action">
3204 <touch key="home" />
3205 <action function="page">main</action>
3206 </object>
3207
3208 <object type="action">
3209 <touch key="back" />
3210 <action function="page">main</action>
3211 </object>
3212
3213 <object type="template" name="footer" />
3214 </page>
3215
3216 <page name="partsdcard">
3217 <object type="template" name="header" />
3218
3219 <object type="text" color="%text_color%">
3220 <font resource="font" />
3221 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3222 <text>Partition SD Card</text>
3223 </object>
3224
3225 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003226 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003227 <placement x="%col1_x%" y="%row1_y%" />
3228 <font resource="font" color="%button_text_color%" />
3229 <text></text>
3230 <image resource="minus_button" />
3231 <action function="addsubtract">tw_sdext_size-128</action>
3232 </object>
3233
3234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003236 <placement x="%sd_plus_x%" y="%row1_y%" />
3237 <font resource="font" color="%button_text_color%" />
3238 <text></text>
3239 <image resource="plus_button" />
3240 <action function="addsubtract">tw_sdext_size+128</action>
3241 </object>
3242
3243 <object type="text" color="%text_color%">
3244 <font resource="font" />
3245 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3246 <text>EXT Size: %tw_sdext_size%</text>
3247 </object>
3248
3249 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003250 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003251 <placement x="%col1_x%" y="%sdswap_button_y%" />
3252 <font resource="font" color="%button_text_color%" />
3253 <text></text>
3254 <image resource="minus_button" />
3255 <action function="addsubtract">tw_swap_size-32</action>
3256 </object>
3257
3258 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003259 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003260 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3261 <font resource="font" color="%button_text_color%" />
3262 <text></text>
3263 <image resource="plus_button" />
3264 <action function="addsubtract">tw_swap_size+32</action>
3265 </object>
3266
3267 <object type="text" color="%text_color%">
3268 <font resource="font" />
3269 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3270 <text>Swap Size: %tw_swap_size%</text>
3271 </object>
3272
3273 <object type="text" color="%text_color%">
3274 <font resource="font" />
3275 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3276 <text>File system: %tw_sdpart_file_system%</text>
3277 </object>
3278
3279 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003280 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003281 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3282 <font resource="font" color="%button_text_color%" />
3283 <text>EXT3</text>
3284 <image resource="main_button" />
3285 <action function="set">tw_sdpart_file_system=ext3</action>
3286 </object>
3287
3288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003290 <condition var1="tw_sdext_disable_ext4" var2="0" />
3291 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3292 <font resource="font" color="%button_text_color%" />
3293 <text>EXT4</text>
3294 <image resource="main_button" />
3295 <action function="set">tw_sdpart_file_system=ext4</action>
3296 </object>
3297
3298 <object type="text" color="%text_color%">
3299 <font resource="font" />
3300 <placement x="%col1_x%" y="%row12_text_y%" />
3301 <text>You will lose all files on your SD card!</text>
3302 </object>
3303
3304 <object type="text" color="%text_color%">
3305 <font resource="font" />
3306 <placement x="%col1_x%" y="%row13_text_y%" />
3307 <text>This action cannot be undone!</text>
3308 </object>
3309
3310 <object type="slider">
3311 <placement x="%slider_x%" y="%slider_y%" />
3312 <resource base="slider" used="slider-used" touch="slider-touch" />
3313 <action function="page">partsdcardaction</action>
3314 <actions>
3315 <action function="set">tw_back=partsdcard</action>
3316 <action function="set">tw_action=partitionsd</action>
3317 <action function="set">tw_has_action2=1</action>
3318 <action function="set">tw_action2=set</action>
3319 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3320 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3321 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003322 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003323 <action function="page">action_page</action>
3324 </actions>
3325 </object>
3326
3327 <object type="text" color="%text_color%">
3328 <font resource="font" />
3329 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3330 <text>Swipe to Partition</text>
3331 </object>
3332
3333 <object type="action">
3334 <touch key="home" />
3335 <action function="page">main</action>
3336 </object>
3337
3338 <object type="action">
3339 <touch key="back" />
3340 <action function="page">advanced</action>
3341 </object>
3342
3343 <object type="template" name="footer" />
3344 </page>
3345
3346 <page name="htcdumlock">
3347 <object type="template" name="header" />
3348
3349 <object type="text" color="%text_color%">
3350 <font resource="font" />
3351 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3352 <text>HTC Dumlock</text>
3353 </object>
3354
3355 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003356 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003357 <condition var1="tw_show_dumlock" var2="1" />
3358 <placement x="%col1_x%" y="%row1_y%" />
3359 <font resource="font" color="%button_text_color%" />
3360 <text>Restore Original Boot</text>
3361 <image resource="main_button" />
3362 <actions>
3363 <action function="set">tw_back=htcdumlock</action>
3364 <action function="set">tw_action=htcdumlockrestoreboot</action>
3365 <action function="set">tw_text1=Restore original boot image?</action>
3366 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3367 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3368 <action function="set">tw_slider_text=Swipe to Confirm</action>
3369 <action function="page">confirm_action</action>
3370 </actions>
3371 </object>
3372
3373 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003374 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003375 <condition var1="tw_show_dumlock" var2="1" />
3376 <placement x="%col2_x%" y="%row1_y%" />
3377 <font resource="font" color="%button_text_color%" />
3378 <text>Reflash Recovery</text>
3379 <image resource="main_button" />
3380 <actions>
3381 <action function="set">tw_back=htcdumlock</action>
3382 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3383 <action function="set">tw_text1=Reflash recovery to boot?</action>
3384 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3385 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3386 <action function="set">tw_slider_text=Swipe to Confirm</action>
3387 <action function="page">confirm_action</action>
3388 </actions>
3389 </object>
3390
3391 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003392 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003393 <condition var1="tw_show_dumlock" var2="1" />
3394 <placement x="%col1_x%" y="%row2_y%" />
3395 <font resource="font" color="%button_text_color%" />
3396 <text>Install HTC Dumlock</text>
3397 <image resource="main_button" />
3398 <actions>
3399 <action function="set">tw_back=htcdumlock</action>
3400 <action function="set">tw_action=installhtcdumlock</action>
3401 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3402 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3403 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3404 <action function="set">tw_slider_text=Swipe to Confirm</action>
3405 <action function="page">confirm_action</action>
3406 </actions>
3407 </object>
3408
3409 <object type="action">
3410 <touch key="home" />
3411 <action function="page">main</action>
3412 </object>
3413
3414 <object type="action">
3415 <touch key="back" />
3416 <action function="page">advanced</action>
3417 </object>
3418
3419 <object type="template" name="footer" />
3420 </page>
3421
3422 <page name="lock">
3423 <background color="#000000A0" />
3424
3425 <object type="image">
3426 <image resource="unlock-icon" />
3427 <placement x="%lock_x%" y="%lock_y%" />
3428 </object>
3429
3430 <object type="slider">
3431 <placement x="%slider_x%" y="%slider_y%" />
3432 <resource base="slider" used="slider-used" touch="slider-touch" />
3433 <action function="overlay"></action>
3434 </object>
3435
3436 <object type="text" color="%text_color%">
3437 <font resource="font" />
3438 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3439 <text>Swipe to Unlock</text>
3440 </object>
3441 </page>
3442
3443 <page name="filemanagerlist">
3444 <object type="template" name="header" />
3445
3446 <object type="text" color="%text_color%">
3447 <font resource="font" />
3448 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3449 <text>File Manager: Select a File or Folder</text>
3450 </object>
3451
3452 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003453 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003454 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3455 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003456 <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 -04003457 <text>%tw_file_location1%</text>
3458 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3459 <sort name="tw_gui_sort_order" />
3460 <icon folder="folder_icon" file="file_icon" />
3461 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003462 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003463 <folders="1" files="1" />
3464 <path name="tw_file_location1" default="/" />
3465 <data name="tw_filename1" />
3466 <selection name="tw_selection1" />
3467 </object>
3468
3469 <object type="template" name="sort_options" />
3470
3471 <object type="action">
3472 <actions>
3473 <action function="set">tw_fm_type=File</action>
3474 <action function="set">tw_fm_isfolder=0</action>
3475 </actions>
3476 </object>
3477
3478 <object type="action">
3479 <touch key="home" />
3480 <action function="page">main</action>
3481 </object>
3482
3483 <object type="action">
3484 <touch key="back" />
3485 <action function="page">advanced</action>
3486 </object>
3487
3488 <object type="action">
3489 <condition var1="tw_filename1" op="modified" />
3490 <actions>
3491 <action function="page">filemanageroptions</action>
3492 </actions>
3493 </object>
3494
3495 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003496 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003497 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3498 <font resource="font" color="%button_text_color%" />
3499 <text>Select</text>
3500 <image resource="medium_button" />
3501 <actions>
3502 <action function="set">tw_filename1=tw_file_location1</action>
3503 <action function="set">tw_fm_isfolder=1</action>
3504 <action function="set">tw_fm_type=Folder</action>
3505 <action function="page">filemanageroptions</action>
3506 </actions>
3507 </object>
3508
3509 <object type="template" name="footer" />
3510 </page>
3511
3512 <page name="filemanageroptions">
3513 <object type="template" name="header" />
3514
3515 <object type="text" color="%text_color%">
3516 <font resource="font" />
3517 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3518 <text>%tw_fm_type% Selected:</text>
3519 </object>
3520
3521 <object type="text" color="%text_color%">
3522 <font resource="font" />
3523 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3524 <text>%tw_filename1%</text>
3525 </object>
3526
3527 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003528 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003529 <condition var1="tw_fm_isfolder" var2="0" />
3530 <placement x="%col1_x%" y="%row2_y%" />
3531 <font resource="font" color="%button_text_color%" />
3532 <text>Copy File</text>
3533 <image resource="main_button" />
3534 <actions>
3535 <action function="set">tw_filemanager_command=cp</action>
3536 <action function="set">tw_fm_text1=Copying</action>
3537 <action function="page">choosedestinationfolder</action>
3538 </actions>
3539 </object>
3540
3541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003542 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003543 <condition var1="tw_fm_isfolder" var2="1" />
3544 <placement x="%col1_x%" y="%row2_y%" />
3545 <font resource="font" color="%button_text_color%" />
3546 <text>Copy Folder</text>
3547 <image resource="main_button" />
3548 <actions>
3549 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3550 <action function="set">tw_fm_text1=Copying</action>
3551 <action function="page">choosedestinationfolder</action>
3552 </actions>
3553 </object>
3554
3555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003557 <placement x="%col2_x%" y="%row2_y%" />
3558 <font resource="font" color="%button_text_color%" />
3559 <text>Move</text>
3560 <image resource="main_button" />
3561 <actions>
3562 <action function="set">tw_filemanager_command=mv</action>
3563 <action function="set">tw_fm_text1=Moving</action>
3564 <action function="page">choosedestinationfolder</action>
3565 </actions>
3566 </object>
3567
3568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003569 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003570 <placement x="%col1_x%" y="%row3_y%" />
3571 <font resource="font" color="%button_text_color%" />
3572 <text>chmod 755</text>
3573 <image resource="main_button" />
3574 <actions>
3575 <action function="set">tw_filemanager_command=chmod 755</action>
3576 <action function="set">tw_fm_text1=chmod 755</action>
3577 <action function="set">tw_fm_text2=</action>
3578 <action function="set">tw_fm_text3=</action>
3579 <action function="set">tw_include_text3=0</action>
3580 <action function="set">tw_back=filemanageroptions</action>
3581 <action function="page">filemanagerconfirm</action>
3582 </actions>
3583 </object>
3584
3585 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003586 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003587 <placement x="%col2_x%" y="%row3_y%" />
3588 <font resource="font" color="%button_text_color%" />
3589 <text>chmod</text>
3590 <image resource="main_button" />
3591 <actions>
3592 <action function="set">tw_filemanager_rename=0000</action>
3593 <action function="set">tw_fm_text2=</action>
3594 <action function="set">tw_fm_text3=</action>
3595 <action function="set">tw_include_text3=0</action>
3596 <action function="set">tw_back=filemanageroptions</action>
3597 <action function="page">filemanagerchmod</action>
3598 </actions>
3599 </object>
3600
3601 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003602 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003603 <placement x="%col1_x%" y="%row4_y%" />
3604 <font resource="font" color="%button_text_color%" />
3605 <text>Delete</text>
3606 <image resource="main_button" />
3607 <actions>
3608 <action function="set">tw_filemanager_command=rm -rf</action>
3609 <action function="set">tw_fm_text1=Deleting</action>
3610 <action function="set">tw_fm_text2=</action>
3611 <action function="set">tw_fm_text3=</action>
3612 <action function="set">tw_include_text3=0</action>
3613 <action function="set">tw_back=filemanageroptions</action>
3614 <action function="page">filemanagerconfirm</action>
3615 </actions>
3616 </object>
3617
3618 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003619 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003620 <condition var1="tw_fm_isfolder" var2="0" />
3621 <placement x="%col2_x%" y="%row4_y%" />
3622 <font resource="font" color="%button_text_color%" />
3623 <text>Rename File</text>
3624 <image resource="main_button" />
3625 <actions>
3626 <action function="set">tw_filemanager_rename=tw_selection1</action>
3627 <action function="set">tw_fm_text1=Renaming</action>
3628 <action function="set">tw_filemanager_command=mv</action>
3629 <action function="page">filemanagerrenamefile</action>
3630 </actions>
3631 </object>
3632
3633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003635 <condition var1="tw_fm_isfolder" var2="1" />
3636 <placement x="%col2_x%" y="%row4_y%" />
3637 <font resource="font" color="%button_text_color%" />
3638 <text>Rename Folder</text>
3639 <image resource="main_button" />
3640 <actions>
3641 <action function="set">tw_filemanager_rename=tw_selection1</action>
3642 <action function="set">tw_fm_text1=Renaming</action>
3643 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3644 <action function="page">filemanagerrenamefolder</action>
3645 </actions>
3646 </object>
3647
3648 <object type="action">
3649 <touch key="home" />
3650 <action function="page">main</action>
3651 </object>
3652
3653 <object type="action">
3654 <touch key="back" />
3655 <action function="page">filemanagerlist</action>
3656 </object>
3657
3658 <object type="template" name="footer" />
3659 </page>
3660
3661 <page name="choosedestinationfolder">
3662 <object type="template" name="header" />
3663
3664 <object type="text" color="%text_color%">
3665 <font resource="font" />
3666 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3667 <text>Browse to Destination Folder & Press Select</text>
3668 </object>
3669
3670 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003671 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003672 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3673 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003674 <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 -04003675 <text>%tw_file_location2%</text>
3676 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3677 <sort name="tw_gui_sort_order" />
3678 <icon folder="folder_icon" file="file_icon" />
3679 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003680 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003681 <filter folders="1" files="0" />
3682 <path name="tw_file_location2" default="/" />
3683 <data name="tw_filename2" />
3684 <selection name="tw_selection2" />
3685 </object>
3686
3687 <object type="template" name="sort_options" />
3688
3689 <object type="action">
3690 <touch key="home" />
3691 <action function="page">main</action>
3692 </object>
3693
3694 <object type="action">
3695 <touch key="back" />
3696 <action function="page">filemanageroptions</action>
3697 </object>
3698
3699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003701 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3702 <font resource="font" color="%button_text_color%" />
3703 <text>Select</text>
3704 <image resource="medium_button" />
3705 <actions>
3706 <action function="set">tw_fm_text2=to</action>
3707 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3708 <action function="set">tw_include_text3=1</action>
3709 <action function="set">tw_back=filemanageroptions</action>
3710 <action function="page">filemanagerconfirm</action>
3711 </actions>
3712 </object>
3713
3714 <object type="template" name="footer" />
3715 </page>
3716
3717 <page name="filemanagerrenamefile">
3718 <object type="template" name="header" />
3719
3720 <object type="text" color="%text_color%">
3721 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3722 <font resource="font" />
3723 <text>Please Enter a New %tw_fm_type% Name</text>
3724 </object>
3725
3726 <object type="input">
3727 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3728 <background color="%input_background_color%" />
3729 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3730 <font resource="font" color="%text_color%" />
3731 <text>%tw_filemanager_rename%</text>
3732 <data name="tw_filemanager_rename" />
3733 <restrict minlen="1" maxlen="128" />
3734 <actions>
3735 <action function="set">tw_fm_text2=to</action>
3736 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3737 <action function="set">tw_include_text3=1</action>
3738 <action function="set">tw_back=filemanageroptions</action>
3739 <action function="page">filemanagerconfirm</action>
3740 </actions>
3741 </object>
3742
3743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003745 <placement x="%col_center_x%" y="%row2_y%" />
3746 <font resource="font" color="%button_text_color%" />
3747 <text>Cancel</text>
3748 <image resource="main_button" />
3749 <action function="page">filemanageroptions</action>
3750 </object>
3751
3752 <object type="template" name="keyboardtemplate" />
3753
3754 <object type="action">
3755 <touch key="home" />
3756 <action function="page">main</action>
3757 </object>
3758
3759 <object type="action">
3760 <touch key="back" />
3761 <action function="page">filemanageroptions</action>
3762 </object>
3763
3764 <object type="template" name="footer" />
3765 </page>
3766
3767 <page name="filemanagerrenamefolder">
3768 <object type="template" name="header" />
3769
3770 <object type="text" color="%text_color%">
3771 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3772 <font resource="font" />
3773 <text>Please Enter a New %tw_fm_type% Name</text>
3774 </object>
3775
3776 <object type="input">
3777 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3778 <background color="%input_background_color%" />
3779 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3780 <font resource="font" color="%text_color%" />
3781 <text>%tw_filemanager_rename%</text>
3782 <data name="tw_filemanager_rename" />
3783 <restrict minlen="1" maxlen="128" />
3784 <actions>
3785 <action function="set">tw_fm_text2=to</action>
3786 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3787 <action function="set">tw_include_text3=1</action>
3788 <action function="set">tw_back=filemanageroptions</action>
3789 <action function="page">filemanagerconfirm</action>
3790 </actions>
3791 </object>
3792
3793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003795 <placement x="%col_center_x%" y="%row2_y%" />
3796 <font resource="font" color="%button_text_color%" />
3797 <text>Cancel</text>
3798 <image resource="main_button" />
3799 <action function="page">filemanageroptions</action>
3800 </object>
3801
3802 <object type="template" name="keyboardtemplate" />
3803
3804 <object type="action">
3805 <touch key="home" />
3806 <action function="page">main</action>
3807 </object>
3808
3809 <object type="action">
3810 <touch key="back" />
3811 <action function="page">filemanageroptions</action>
3812 </object>
3813
3814 <object type="template" name="footer" />
3815 </page>
3816
3817 <page name="filemanagerchmod">
3818 <object type="template" name="header" />
3819
3820 <object type="text" color="%text_color%">
3821 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3822 <font resource="font" />
3823 <text>Please Enter New Permissions</text>
3824 </object>
3825
3826 <object type="input">
3827 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3828 <background color="%input_background_color%" />
3829 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3830 <font resource="font" color="%text_color%" />
3831 <text>%tw_filemanager_rename%</text>
3832 <data name="tw_filemanager_rename" />
3833 <restrict minlen="3" maxlen="4" allow="0123456789" />
3834 <actions>
3835 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3836 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3837 <action function="set">tw_back=filemanageroptions</action>
3838 <action function="page">filemanagerconfirm</action>
3839 </actions>
3840 </object>
3841
3842 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003843 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003844 <placement x="%col_center_x%" y="%row2_y%" />
3845 <font resource="font" color="%button_text_color%" />
3846 <text>Cancel</text>
3847 <image resource="main_button" />
3848 <action function="page">filemanageroptions</action>
3849 </object>
3850
3851 <object type="template" name="keyboardtemplate" />
3852
3853 <object type="action">
3854 <touch key="home" />
3855 <action function="page">main</action>
3856 </object>
3857
3858 <object type="action">
3859 <touch key="back" />
3860 <action function="page">filemanageroptions</action>
3861 </object>
3862
3863 <object type="template" name="footer" />
3864 </page>
3865
3866 <page name="filemanagerconfirm">
3867 <object type="template" name="header" />
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3872 <text>%tw_fm_text1%</text>
3873 </object>
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3878 <text>%tw_filename1%</text>
3879 </object>
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3884 <text>%tw_fm_text2%</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3890 <text>%tw_fm_text3%</text>
3891 </object>
3892
3893 <object type="text" color="%text_color%">
3894 <font resource="font" />
3895 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3896 <text>Press back button to cancel.</text>
3897 </object>
3898
3899 <object type="slider">
3900 <placement x="%slider_x%" y="%slider_y%" />
3901 <resource base="slider" used="slider-used" touch="slider-touch" />
3902 <action function="page">filemanageracction</action>
3903 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003904
Dees_Troy51a0e822012-09-05 15:24:24 -04003905 <object type="text" color="%text_color%">
3906 <font resource="font" />
3907 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3908 <text>Swipe to Confirm</text>
3909 </object>
3910
3911 <object type="action">
3912 <touch key="back" />
3913 <action function="page">%tw_back%</action>
3914 </object>
3915
3916 <object type="action">
3917 <touch key="home" />
3918 <action function="page">main</action>
3919 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003920
Dees_Troy51a0e822012-09-05 15:24:24 -04003921 <object type="template" name="footer" />
3922 </page>
3923
3924 <page name="filemanageracction">
3925 <object type="template" name="header" />
3926
3927 <object type="text" color="%text_color%">
3928
3929 <font resource="font" />
3930 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3931 <text>%tw_fm_text1%</text>
3932 </object>
3933
3934 <object type="template" name="action_page_console" />
3935
3936 <object type="template" name="progress_bar" />
3937
3938 <object type="action">
3939 <conditions>
3940 <condition var1="tw_operation_state" var2="1" />
3941 <condition var1="tw_operation_status" var2="0" />
3942 </conditions>
3943 <actions>
3944 <action function="set">tw_back=filemanagerlist</action>
3945 <action function="set">tw_complete_text1=File Operation Complete</action>
3946 <action function="page">action_complete</action>
3947 </actions>
3948 </object>
3949
3950 <object type="action">
3951 <conditions>
3952 <condition var1="tw_operation_state" var2="1" />
3953 <condition var1="tw_operation_status" op="!=" var2="0" />
3954 </conditions>
3955 <actions>
3956 <action function="set">tw_complete_text1=File Operation Complete</action>
3957 <action function="page">action_complete</action>
3958 </actions>
3959 </object>
3960
3961 <object type="action">
3962 <condition var1="tw_include_text3" var2="0" />
3963 <actions>
3964 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3965 </actions>
3966 </object>
3967
3968 <object type="action">
3969 <condition var1="tw_include_text3" var2="1" />
3970 <actions>
3971 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3972 </actions>
3973 </object>
3974 </page>
3975
3976 <page name="decrypt">
3977 <object type="template" name="header" />
3978
3979 <object type="text" color="%text_color%">
3980 <font resource="font" />
3981 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3982 <text>Please Enter Your Password</text>
3983 </object>
3984
3985 <object type="input">
3986 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3987 <background color="%input_background_color%" />
3988 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3989 <font resource="font" color="%text_color%" />
3990 <text>%tw_crypto_display%</text>
3991 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3992 <restrict minlen="1" maxlen="254" />
3993 <actions>
3994 <action function="page">trydecrypt</action>
3995 </actions>
3996 </object>
3997
3998 <object type="text" color="%text_fail_color%">
3999 <condition var1="tw_password_fail" var2="1" />
4000 <font resource="font" />
4001 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
4002 <text>Password Failed, Please Try Again</text>
4003 </object>
4004
4005 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004006 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004007 <placement x="%col_center_x%" y="%row2_y%" />
4008 <font resource="font" color="%button_text_color%" />
4009 <text>Cancel</text>
4010 <image resource="main_button" />
4011 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004012 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004013 <action function="page">main</action>
4014 </actions>
4015 </object>
4016
4017 <object type="template" name="keyboardtemplate" />
4018
Dees_Troy51a0e822012-09-05 15:24:24 -04004019 <object type="template" name="footer" />
4020 </page>
4021
4022 <page name="trydecrypt">
4023 <object type="template" name="header" />
4024
4025 <object type="text" color="%text_color%">
4026 <font resource="font" />
4027 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4028 <text>Trying Decryption with Your Password</text>
4029 </object>
4030
4031 <object type="template" name="action_page_console" />
4032
4033 <object type="template" name="progress_bar" />
4034
4035 <object type="action">
4036 <action function="decrypt"></action>
4037 </object>
4038
4039 <object type="action">
4040 <conditions>
4041 <condition var1="tw_operation_state" var2="1" />
4042 <condition var1="tw_operation_status" op="!=" var2="0" />
4043 </conditions>
4044 <actions>
4045 <action function="set">tw_password_fail=1</action>
4046 <action function="page">decrypt</action>
4047 </actions>
4048 </object>
4049
4050 <object type="action">
4051 <conditions>
4052 <condition var1="tw_operation_state" var2="1" />
4053 <condition var1="tw_operation_status" op="=" var2="0" />
4054 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004055 <actions>
4056 <action function="set">tw_page_done=1</action>
4057 <action function="page">main</action>
4058 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004059 </object>
4060 </page>
4061
4062 <page name="terminalfolder">
4063 <object type="template" name="header" />
4064
4065 <object type="text" color="%text_color%">
4066 <font resource="font" />
4067 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4068 <text>Browse to Starting Folder</text>
4069 </object>
4070
4071 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004072 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004073 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4074 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004075 <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 -04004076 <text>%tw_terminal_location%</text>
4077 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4078 <sort name="tw_gui_sort_order" />
4079 <icon folder="folder_icon" file="file_icon" />
4080 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004081 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004082 <filter folders="1" files="0" />
4083 <path name="tw_terminal_location" default="/" />
4084 <data name="tw_terminal" />
4085 <selection name="tw_terminal_selection" />
4086 </object>
4087
4088 <object type="template" name="sort_options" />
4089
4090 <object type="action">
4091 <touch key="home" />
4092 <action function="page">main</action>
4093 </object>
4094
4095 <object type="action">
4096 <touch key="back" />
4097 <action function="page">advanced</action>
4098 </object>
4099
4100 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004101 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004102 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4103 <font resource="font" color="%button_text_color%" />
4104 <text>Select</text>
4105 <image resource="medium_button" />
4106 <actions>
4107 <action function="page">terminalcommand</action>
4108 </actions>
4109 </object>
4110
4111 <object type="template" name="footer" />
4112 </page>
4113
4114 <page name="terminalcommand">
4115 <object type="template" name="header" />
4116
4117 <object type="console">
4118 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4119 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4120 <font resource="fixed" />
4121 </object>
4122
4123 <object type="text" color="%text_color%">
4124 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4125 <font resource="font" />
4126 <text>Starting Path: %tw_terminal_location%</text>
4127 </object>
4128
4129 <object type="input">
4130 <condition var1="tw_terminal_state" var2="0" />
4131 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4132 <background color="%input_background_color%" />
4133 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4134 <font resource="font" color="%text_color%" />
4135 <text>%tw_terminal_command%</text>
4136 <data name="tw_terminal_command" />
4137 <restrict minlen="1" />
4138 <action function="terminalcommand">%tw_terminal_command%</action>
4139 </object>
4140
4141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004143 <condition var1="tw_terminal_state" var2="1" />
4144 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4145 <font resource="font" color="%button_text_color%" />
4146 <text>KILL</text>
4147 <image resource="medium_button" />
4148 <action function="killterminal"></action>
4149 </object>
4150
4151 <object type="template" name="keyboardtemplate" />
4152
4153 <object type="action">
4154 <touch key="home" />
4155 <action function="page">main</action>
4156 </object>
4157
4158 <object type="action">
4159 <touch key="back" />
4160 <action function="page">terminalfolder</action>
4161 </object>
4162 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004163
4164 <page name="sideload">
4165 <object type="template" name="header" />
4166
4167 <object type="text" color="%text_color%">
4168 <font resource="font" />
4169 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4170 <text>ADB Sideload</text>
4171 </object>
4172
4173 <object type="checkbox">
4174 <placement x="%col1_x%" y="%row2_text_y%" />
4175 <font resource="font" color="%text_color%" />
4176 <text>Wipe Dalvik Cache.</text>
4177 <data variable="tw_wipe_dalvik" />
4178 <image checked="checkbox_true" unchecked="checkbox_false" />
4179 </object>
4180
4181 <object type="checkbox">
4182 <placement x="%col1_x%" y="%row3_text_y%" />
4183 <font resource="font" color="%text_color%" />
4184 <text>Wipe Cache.</text>
4185 <data variable="tw_wipe_cache" />
4186 <image checked="checkbox_true" unchecked="checkbox_false" />
4187 </object>
4188
4189 <object type="slider">
4190 <placement x="%slider_x%" y="%slider_y%" />
4191 <resource base="slider" used="slider-used" touch="slider-touch" />
4192 <actions>
4193 <action function="set">tw_back=advanced</action>
4194 <action function="set">tw_action=adbsideload</action>
4195 <action function="set">tw_action_text1=ADB Sideload</action>
4196 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4197 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4198 <action function="set">tw_has_cancel=1</action>
4199 <action function="set">tw_show_reboot=1</action>
4200 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4201 <action function="page">action_page</action>
4202 </actions>
4203 </object>
4204
4205 <object type="text" color="%text_color%">
4206 <font resource="font" />
4207 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4208 <text>Swipe to Start Sideload</text>
4209 </object>
4210
4211 <object type="action">
4212 <touch key="home" />
4213 <action function="page">main</action>
4214 </object>
4215
4216 <object type="action">
4217 <touch key="back" />
4218 <action function="page">advanced</action>
4219 </object>
4220
4221 <object type="template" name="footer" />
4222 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004223
4224 <page name="installsu">
4225 <object type="template" name="header" />
4226
4227 <object type="text" color="%text_color%">
4228 <font resource="font" />
4229 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4230 <text>Install SuperSU?</text>
4231 </object>
4232
4233 <object type="text" color="%text_color%">
4234 <font resource="font" />
4235 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4236 <text>Your device does not appear to be rooted.</text>
4237 </object>
4238
4239 <object type="text" color="%text_color%">
4240 <font resource="font" />
4241 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4242 <text>Install SuperSU now?</text>
4243 </object>
4244
4245 <object type="text" color="%text_color%">
4246 <font resource="font" />
4247 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4248 <text>This will root your device.</text>
4249 </object>
4250
4251 <object type="button">
4252 <highlight color="%highlight_color%" />
4253 <placement x="%col_center_x%" y="%row3_y%" />
4254 <font resource="font" color="%button_text_color%" />
4255 <text>Do Not Install</text>
4256 <image resource="main_button" />
4257 <action function="set">tw_page_done=1</action>
4258 </object>
4259
4260 <object type="slider">
4261 <placement x="%slider_x%" y="%slider_y%" />
4262 <resource base="slider" used="slider-used" touch="slider-touch" />
4263 <actions>
4264 <action function="set">tw_action=installsu</action>
4265 <action function="set">tw_action_text1=Installing SuperSU</action>
4266 <action function="set">tw_action_text2=</action>
4267 <action function="page">singleaction_page</action>
4268 </actions>
4269 </object>
4270
4271 <object type="text" color="%text_color%">
4272 <font resource="font" />
4273 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4274 <text>Swipe to Install</text>
4275 </object>
4276 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004277 </pages>
4278</recovery>