blob: 6d9f061c4141082902bba5f280238a15344a3a44 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
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-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
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" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="383" />
48 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="360" />
51 <variable name="row1_y" value="170" />
52 <variable name="row2_y" value="410" />
53 <variable name="row3_y" value="650" />
54 <variable name="row4_y" value="890" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="760" />
60 <variable name="row1_header_y" value="120" />
61 <variable name="row1_text_y" value="170" />
62 <variable name="row2_text_y" value="220" />
63 <variable name="row3_text_y" value="270" />
64 <variable name="row4_text_y" value="320" />
65 <variable name="row5_text_y" value="370" />
66 <variable name="row6_text_y" value="420" />
67 <variable name="row7_text_y" value="470" />
68 <variable name="row8_text_y" value="520" />
69 <variable name="row9_text_y" value="570" />
70 <variable name="row10_text_y" value="620" />
71 <variable name="row11_text_y" value="670" />
72 <variable name="row12_text_y" value="720" />
73 <variable name="row13_text_y" value="770" />
74 <variable name="row14_text_y" value="820" />
75 <variable name="row15_text_y" value="870" />
76 <variable name="row16_text_y" value="920" />
77 <variable name="row17_text_y" value="970" />
78 <variable name="row18_text_y" value="1020" />
79 <variable name="zip_status_y" value="615" />
80 <variable name="tz_selected_y" value="160" />
81 <variable name="tz_set_y" value="950" />
82 <variable name="tz_current_y" value="1180" />
83 <variable name="col_progressbar_x" value="234" />
84 <variable name="row_progressbar_y" value="1100" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="185" />
87 <variable name="col3_medium_x" value="365" />
88 <variable name="col4_medium_x" value="540" />
89 <variable name="row1_medium_y" value="130" />
90 <variable name="row2_medium_y" value="230" />
91 <variable name="row3_medium_y" value="330" />
92 <variable name="row4_medium_y" value="430" />
93 <variable name="row5_medium_y" value="530" />
94 <variable name="row6_medium_y" value="840" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="68" />
97 <variable name="slider_y" value="1050" />
98 <variable name="slider_text_y" value="1117" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="home_button_x" value="10" />
105 <variable name="home_button_y" value="1226" />
106 <variable name="back_button_x" value="625" />
107 <variable name="back_button_y" value="1226" />
108 <variable name="sort_text_x" value="10" />
109 <variable name="sort_asc_text_y" value="1090" />
110 <variable name="sort_asc_button_y" value="1080" />
111 <variable name="sort_desc_text_y" value="1150" />
112 <variable name="sort_desc_button_y" value="1140" />
113 <variable name="sort_col1_button_x" value="260" />
114 <variable name="sort_col2_button_x" value="360" />
115 <variable name="sort_col3_button_x" value="460" />
116 <variable name="input_width" value="700" />
117 <variable name="input_height" value="50" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="3" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="720" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="470" />
127 <variable name="console_install_height" value="600" />
128 <variable name="console_installdone_height" value="440" />
129 <variable name="fileselector_x" value="5" />
130 <variable name="fileselector_width" value="710" />
131 <variable name="fileselector_install_height" value="840" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="3" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="2" />
138 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_spacing" value="36" />
142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="16" />
147 <variable name="sd_plus_x" value="350" />
148 <variable name="sdext_text_x" value="110" />
149 <variable name="sdext_text_y" value="180" />
150 <variable name="sdswap_button_y" value="260" />
151 <variable name="sdswap_text_x" value="110" />
152 <variable name="sdswap_text_y" value="270" />
153 <variable name="sdfilesystem_text_y" value="340" />
154 <variable name="sdfilesystem_button_y" value="380" />
155 <variable name="lock_x" value="160" />
156 <variable name="lock_y" value="400" />
157 <variable name="filemanager_select_x" value="560" />
158 <variable name="filemanager_select_y" value="1080" />
159 <variable name="backup_name_y" value="550" />
160 <variable name="terminal_console_height" value="700" />
161 <variable name="terminal_text_y" value="730" />
162 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="720" />
164 <variable name="row_offset_text_y" value="770" />
165 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400166 <variable name="exclamation_x" value="160" />
167 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400168 </variables>
169
170 <templates>
171 <template name="header">
172 <background color="#000000FF" />
173
174 <object type="image">
175 <image resource="top_bar" />
176 <placement x="0" y="0" />
177 </object>
178
179 <object type="text" color="%text_color%">
180 <font resource="font" />
181 <placement x="120" y="10" />
182 <text>Team Win Recovery Project v%tw_version%</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <condition var1="tw_simulate_actions" var2="1" />
187 <font resource="font" />
188 <placement x="120" y="45" />
189 <text>SIMULATING ACTIONS</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="120" y="76" />
195 <text>%tw_time%</text>
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="270" y="76" />
201 <conditions>
202 <condition var1="tw_no_battery_percent" var2="0" />
203 <condition var1="tw_battery" op=">" var2="0" />
204 <condition var1="tw_battery" op="<" var2="101" />
205 </conditions>
206 <text>Battery: %tw_battery%</text>
207 </object>
208
209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400211 <placement x="%home_button_x%" y="%home_button_y%" />
212 <font resource="font" color="%button_text_color%" />
213 <text></text>
214 <image resource="home_icon" />
215 <condition var1="tw_busy" var2="0" />
216 <action function="key">home</action>
217 </object>
218
219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <placement x="%back_button_x%" y="%back_button_y%" />
222 <font resource="font" color="%button_text_color%" />
223 <text></text>
224 <image resource="back_icon" />
225 <condition var1="tw_busy" var2="0" />
226 <action function="key">back</action>
227 </object>
228
229 <object type="action">
230 <touch key="power" />
231 <action function="overlay">lock</action>
232 </object>
233 </template>
234
235 <template name="progress_bar">
236 <object type="progressbar">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource empty="progress_empty" full="progress_full" />
239 <data name="ui_progress" />
240 </object>
241
242 <object type="animation">
243 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
244 <resource name="progress" />
245 <speed fps="15" render="2" />
246 <loop frame="1" />
247 </object>
248 </template>
249
250 <template name="sort_options">
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
254 <text>Sort Ascending:</text>
255 </object>
256
257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400259 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text>Name</text>
262 <image resource="sort_button" />
263 <action function="set">tw_gui_sort_order=1</action>
264 </object>
265
266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text>Date</text>
271 <image resource="sort_button" />
272 <action function="set">tw_gui_sort_order=2</action>
273 </object>
274
275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400277 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
278 <font resource="font" color="%button_text_color%" />
279 <text>Size</text>
280 <image resource="sort_button" />
281 <action function="set">tw_gui_sort_order=3</action>
282 </object>
283
284 <object type="text" color="%text_color%">
285 <font resource="font" />
286 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
287 <text>Sort Descending:</text>
288 </object>
289
290 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Name</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=-1</action>
297 </object>
298
299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=-2</action>
306 </object>
307
308 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600309 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400310 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=-3</action>
315 </object>
316 </template>
317
318 <template name="action_page_console">
319 <object type="console">
320 <placement x="0" y="%row2_y%" w="720" h="470" />
321 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
322 <font resource="fixed" />
323 </object>
324 </template>
325
326 <template name="footer">
327 <object type="console">
328 <slideout resource="slideout" x="325" y="1220" />
329 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
330 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
331 <font resource="fixed" />
332 </object>
333 </template>
334
335 <template name="keyboardtemplate">
336 <object type="keyboard">
337 <placement x="0" y="800" />
338 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 <layout1>
341 <keysize height="106" width="72" />
342 <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" />
343 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
344 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
345 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
346 </layout1>
347 <layout2>
348 <keysize height="106" width="72" />
349 <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" />
350 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
351 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
352 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
353 </layout2>
354 <layout3>
355 <keysize height="106" width="72" />
356 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
357 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
358 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
359 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
360 </layout3>
361 <layout4>
362 <keysize height="106" width="72" />
363 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
364 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
365 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
366 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
367 </layout4>
368 </object>
369 </template>
370 </templates>
371
372 <pages>
373 <page name="main">
374 <object type="action">
375 <actions>
376 <action function="set">tw_clear_destination=main2</action>
377 <action function="page">clear_vars</action>
378 </actions>
379 </object>
380 </page>
381
382 <page name="main2">
383 <object type="template" name="header" />
384
385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <placement x="%col1_x%" y="%row1_y%" />
388 <font resource="font" color="%button_text_color%" />
389 <text>Install</text>
390 <image resource="main_button" />
391 <actions>
392 <action function="queueclear"></action>
393 <action function="page">install</action>
394 </actions>
395 </object>
396
397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400399 <placement x="%col2_x%" y="%row1_y%" />
400 <font resource="font" color="%button_text_color%" />
401 <text>Wipe</text>
402 <image resource="main_button" />
403 <action function="page">wipe</action>
404 </object>
405
406 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <placement x="%col1_x%" y="%row2_y%" />
409 <font resource="font" color="%button_text_color%" />
410 <text>Backup</text>
411 <image resource="main_button" />
412 <action function="page">backup</action>
413 </object>
414
415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <placement x="%col2_x%" y="%row2_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Restore</text>
420 <image resource="main_button" />
421 <action function="page">restore</action>
422 </object>
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row3_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Mount</text>
429 <image resource="main_button" />
430 <action function="page">mount</action>
431 </object>
432
433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400435 <placement x="%col2_x%" y="%row3_y%" />
436 <font resource="font" color="%button_text_color%" />
437 <text>Settings</text>
438 <image resource="main_button" />
439 <action function="page">settings</action>
440 </object>
441
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row4_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Advanced</text>
448 <image resource="main_button" />
449 <action function="page">advanced</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row4_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Reboot</text>
457 <image resource="main_button" />
458 <action function="page">reboot</action>
459 </object>
460
461 <object type="template" name="footer" />
462 </page>
463
464 <page name="install">
465 <object type="template" name="header" />
466
467 <object type="text" color="%text_color%">
468 <font resource="font" />
469 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
470 <text>Select Zip to Install</text>
471 </object>
472
473 <object type="button">
474 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400475 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <conditions>
477 <condition var1="tw_has_dual_storage" var2="1" />
478 <condition var1="tw_use_external_storage" var2="1" />
479 </conditions>
480 <text>Use external SD</text>
481 <image resource="radio_true" />
482 <action function="togglestorage">external</action>
483 </object>
484
485 <object type="button">
486 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400487 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <conditions>
489 <condition var1="tw_has_dual_storage" var2="1" />
490 <condition var1="tw_use_external_storage" var2="0" />
491 </conditions>
492 <text>Use external SD</text>
493 <image resource="radio_false" />
494 <action function="togglestorage">external</action>
495 </object>
496
497 <object type="button">
498 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400499 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <conditions>
501 <condition var1="tw_has_dual_storage" var2="1" />
502 <condition var1="tw_use_external_storage" var2="1" />
503 </conditions>
504 <text>Use internal storage</text>
505 <image resource="radio_false" />
506 <action function="togglestorage">internal</action>
507 </object>
508
509 <object type="button">
510 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400511 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <conditions>
513 <condition var1="tw_has_dual_storage" var2="1" />
514 <condition var1="tw_use_external_storage" var2="0" />
515 </conditions>
516 <text>Use internal storage</text>
517 <image resource="radio_true" />
518 <action function="togglestorage">internal</action>
519 </object>
520
521 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600522 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400523 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
524 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
525 <text>%tw_zip_location%</text>
526 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
527 <sort name="tw_gui_sort_order" />
528 <icon folder="folder_icon" file="file_icon" />
529 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600530 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400531 <filter extn=".zip" folders="1" files="1" />
532 <path name="tw_zip_location" default="/sdcard" />
533 <data name="tw_filename" />
534 <selection name="tw_file" />
535 </object>
536
537 <object type="template" name="sort_options" />
538
539 <object type="action">
540 <condition var1="tw_filename" op="modified" />
541 <actions>
542 <action function="queuezip"></action>
543 <action function="page">flash_confirm</action>
544 </actions>
545 </object>
546
547 <object type="action">
548 <touch key="back" />
549 <action function="page">main</action>
550 </object>
551
552 <object type="action">
553 <touch key="home" />
554 <action function="page">main</action>
555 </object>
556
557 <object type="template" name="footer" />
558 </page>
559
560 <page name="flash_confirm">
561 <object type="template" name="header" />
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
566 <text>This operation may install incompatible</text>
567 </object>
568
569 <object type="text" color="%text_color%">
570 <font resource="font" />
571 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
572 <text>software and render your device unusable.</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
578 <text>Folder:</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="%row4_text_y%" placement="5" />
584 <text>%tw_zip_location%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
590 <text>File to flash:</text>
591 </object>
592
593 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
596 <text>%tw_file%</text>
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
602 <text>Press back to cancel adding this zip.</text>
603 </object>
604
605 <object type="checkbox">
606 <placement x="%col1_x%" y="%row8_text_y%" />
607 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400608 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <data variable="tw_signed_zip_verify" />
610 <image checked="checkbox_true" unchecked="checkbox_false" />
611 </object>
612
613 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <condition var1="tw_has_injecttwrp" var2="1" />
615 <placement x="%col1_x%" y="%row10_text_y%" />
616 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400617 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <data variable="tw_inject_after_zip" />
619 <image checked="checkbox_true" unchecked="checkbox_false" />
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400624 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <text>File %tw_zip_queue_count% of max of 10</text>
626 </object>
627
628 <object type="slider">
629 <placement x="%slider_x%" y="%slider_y%" placement="5" />
630 <resource base="slider" used="slider-used" touch="slider-touch" />
631 <action function="flash">flash_zip</action>
632 </object>
633
634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
637 <text>Swipe to Confirm Flash</text>
638 </object>
639
640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
643 <placement x="%col1_x%" y="%row_queue_y%" />
644 <font resource="font" color="%button_text_color%" />
645 <text>Add More Zips</text>
646 <image resource="main_button" />
647 <action function="page">install</action>
648 </object>
649
650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600651 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <placement x="%col2_x%" y="%row_queue_y%" />
653 <font resource="font" color="%button_text_color%" />
654 <text>Clear Zip Queue</text>
655 <image resource="main_button" />
656 <actions>
657 <action function="queueclear"></action>
658 <action function="page">install</action>
659 </actions>
660 </object>
661
662 <object type="action">
663 <touch key="back" />
664 <actions>
665 <action function="cancelzip"></action>
666 <action function="page">install</action>
667 </actions>
668 </object>
669
670 <object type="action">
671 <touch key="home" />
672 <action function="page">main</action>
673 </object>
674
675 <object type="template" name="footer" />
676 </page>
677
678 <page name="flash_zip">
679 <object type="template" name="header" />
680
681 <object type="console">
682 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
683 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
684 <font resource="fixed" />
685 </object>
686
687 <object type="text" color="%text_color%">
688 <font resource="font" />
689 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
690 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
691 </object>
692
693 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400694 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400695 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
696 <text>%tw_filename%</text>
697 </object>
698
699 <object type="template" name="progress_bar" />
700
701 <object type="action">
702 <condition var1="tw_operation_state" var2="1" />
703 <action function="page">flash_done</action>
704 </object>
705 </page>
706
707 <page name="flash_done">
708 <object type="template" name="header" />
709
710 <object type="text" color="%text_color%">
711 <font resource="font" />
712 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
713 <text>Zip Install Complete</text>
714 </object>
715
716 <object type="console">
717 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
718 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
719 <font resource="fixed" />
720 </object>
721
722 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600723 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400724 <placement x="%col1_x%" y="%row4_y%" />
725 <font resource="font" color="%button_text_color%" />
726 <text>Wipe cache/dalvik</text>
727 <image resource="main_button" />
728 <actions>
729 <action function="set">tw_back=flash_done</action>
730 <action function="set">tw_action=wipe</action>
731 <action function="set">tw_action_param=/cache</action>
732 <action function="set">tw_has_action2=1</action>
733 <action function="set">tw_action2=wipe</action>
734 <action function="set">tw_action2_param=dalvik</action>
735 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
736 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
737 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
738 <action function="set">tw_slider_text=Swipe to Wipe</action>
739 <action function="page">confirm_action</action>
740 </actions>
741 </object>
742
743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <placement x="%col2_x%" y="%row4_y%" />
746 <font resource="font" color="%button_text_color%" />
747 <text>Reboot System</text>
748 <image resource="main_button" />
749 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400750 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <action function="set">tw_action=reboot</action>
752 <action function="set">tw_action_param=system</action>
753 <action function="set">tw_has_action2=0</action>
754 <action function="set">tw_text1=No OS Installed! Are you</action>
755 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400756 <action function="set">tw_text3=</action>
757 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400758 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400759 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400760 <action function="set">tw_complete_text1=Rebooting...</action>
761 <action function="set">tw_slider_text=Swipe to Reboot</action>
762 <action function="page">rebootcheck</action>
763 </actions>
764 </object>
765
766 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600767 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400768 <placement x="%col_center_x%" y="%row3_y%" />
769 <font resource="font" color="%button_text_color%" />
770 <text>Home</text>
771 <image resource="main_button" />
772 <actions>
773 <action function="set">tw_clear_destination=main2</action>
774 <action function="page">clear_vars</action>
775 </actions>
776 </object>
777
778 <object type="text" color="%text_fail_color%">
779 <condition var1="tw_operation_status" op="!=" var2="0" />
780 <font resource="font" />
781 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
782 <text>Failed</text>
783 </object>
784
785 <object type="text" color="%text_success_color%">
786 <condition var1="tw_operation_status" var2="0" />
787 <font resource="font" />
788 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
789 <text>Successful</text>
790 </object>
791
792 <object type="action">
793 <touch key="back" />
794 <actions>
795 <action function="set">tw_clear_destination=install</action>
796 <action function="page">clear_vars</action>
797 </actions>
798 </object>
799
800 <object type="action">
801 <touch key="home" />
802 <actions>
803 <action function="set">tw_clear_destination=main2</action>
804 <action function="page">clear_vars</action>
805 </actions>
806 </object>
807 </page>
808
809 <page name="clear_vars">
810 <object type="action">
811 <action function="set">tw_operation_state=0</action>
812 <action function="set">tw_text1=</action>
813 <action function="set">tw_text2=</action>
814 <action function="set">tw_text3=</action>
815 <action function="set">tw_text4=</action>
816 <action function="set">tw_action_text1=</action>
817 <action function="set">tw_action_text2=</action>
818 <action function="set">tw_action_param=</action>
819 <action function="set">tw_has_action2=0</action>
820 <action function="set">tw_action2=</action>
821 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400822 <action function="set">tw_has_cancel=0</action>
823 <action function="set">tw_cancel_action=</action>
824 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400825 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400826 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400827 <action function="page">%tw_clear_destination%</action>
828 </object>
829 </page>
830
831 <page name="confirm_action">
832 <object type="template" name="header" />
833
Dees_Troye588d252012-10-08 10:28:52 -0400834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600835 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400836 <condition var1="tw_show_exclamation" var2="1" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400837 <placement x="%exclamation_x%" y="%exclamation_y%" />
Dees_Troye588d252012-10-08 10:28:52 -0400838 <font resource="font" color="%button_text_color%" />
839 <text></text>
840 <image resource="exclamation" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400841 </object>
842
Dees_Troy51a0e822012-09-05 15:24:24 -0400843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
846 <text>%tw_text1%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
852 <text>%tw_text2%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
858 <text>%tw_text3%</text>
859 </object>
860
861 <object type="text" color="%text_color%">
862 <font resource="font" />
863 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
864 <text>%tw_text4%</text>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400869 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400870 <text>Press back button to cancel.</text>
871 </object>
872
873 <object type="slider">
874 <placement x="%slider_x%" y="%slider_y%" />
875 <resource base="slider" used="slider-used" touch="slider-touch" />
876 <action function="page">action_page</action>
877 </object>
878
879 <object type="text" color="%text_color%">
880 <font resource="font" />
881 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
882 <text>%tw_slider_text%</text>
883 </object>
884
885 <object type="action">
886 <touch key="back" />
887 <actions>
888 <action function="set">tw_clear_destination=%tw_back%</action>
889 <action function="page">clear_vars</action>
890 </actions>
891 </object>
892
893 <object type="action">
894 <touch key="home" />
895 <action function="page">main</action>
896 </object>
897
898 <object type="template" name="footer" />
899 </page>
900
901 <page name="action_page">
902 <object type="template" name="header" />
903
904 <object type="text" color="%text_color%">
905 <font resource="font" />
906 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
907 <text>%tw_action_text1%</text>
908 </object>
909
910 <object type="text" color="%text_color%">
911 <font resource="font" />
912 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
913 <text>%tw_action_text2%</text>
914 </object>
915
916 <object type="template" name="action_page_console" />
917
Dees_Troybbb21012012-09-20 15:59:46 -0400918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600919 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400920 <condition var1="tw_has_cancel" var2="1" />
921 <placement x="%col_center_medium_x%" y="%row4_y%" />
922 <font resource="font" color="%button_text_color%" />
923 <text>Cancel</text>
924 <image resource="medium_button" />
925 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
926 </object>
927
Dees_Troy51a0e822012-09-05 15:24:24 -0400928 <object type="template" name="progress_bar" />
929
930 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400931 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400932 <actions>
933 <action function="page">action_complete</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="0" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 </actions>
942 </object>
943
944 <object type="action">
945 <condition var1="tw_has_action2" var2="1" />
946 <actions>
947 <action function="%tw_action%">%tw_action_param%</action>
948 <action function="%tw_action2%">%tw_action2_param%</action>
949 </actions>
950 </object>
951 </page>
952
Dees_Troy6ef66352013-02-21 08:26:57 -0600953 <page name="singleaction_page">
954 <object type="template" name="header" />
955
956 <object type="text" color="%text_color%">
957 <font resource="font" />
958 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
959 <text>%tw_action_text1%</text>
960 </object>
961
962 <object type="text" color="%text_color%">
963 <font resource="font" />
964 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
965 <text>%tw_action_text2%</text>
966 </object>
967
968 <object type="template" name="action_page_console" />
969
970 <object type="template" name="progress_bar" />
971
972 <object type="action">
973 <condition var1="tw_operation_state" var2="1" />
974 <actions>
975 <action function="set">tw_page_done=1</action>
976 </actions>
977 </object>
978
979 <object type="action">
980 <condition var1="tw_has_action2" var2="0" />
981 <actions>
982 <action function="%tw_action%">%tw_action_param%</action>
983 </actions>
984 </object>
985
986 <object type="action">
987 <condition var1="tw_has_action2" var2="1" />
988 <actions>
989 <action function="%tw_action%">%tw_action_param%</action>
990 <action function="%tw_action2%">%tw_action2_param%</action>
991 </actions>
992 </object>
993 </page>
994
Dees_Troy51a0e822012-09-05 15:24:24 -0400995 <page name="action_complete">
996 <object type="template" name="header" />
997
998 <object type="text" color="%text_color%">
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1001 <text>%tw_complete_text1%</text>
1002 </object>
1003
1004 <object type="text" color="%text_fail_color%">
1005 <condition var1="tw_operation_status" op="!=" var2="0" />
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1008 <text>Failed</text>
1009 </object>
1010
1011 <object type="text" color="%text_success_color%">
1012 <condition var1="tw_operation_status" var2="0" />
1013 <font resource="font" />
1014 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1015 <text>Successful</text>
1016 </object>
1017
1018 <object type="template" name="action_page_console" />
1019
1020 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001021 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001022 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001023 <placement x="%col_center_x%" y="%row4_y%" />
1024 <font resource="font" color="%button_text_color%" />
1025 <text>Back</text>
1026 <image resource="main_button" />
1027 <actions>
1028 <action function="set">tw_clear_destination=%tw_back%</action>
1029 <action function="page">clear_vars</action>
1030 </actions>
1031 </object>
1032
Dees_Troya3f81542012-10-08 10:58:53 -04001033 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001034 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001035 <condition var1="tw_show_reboot" var2="1" />
1036 <placement x="%col_center_x%" y="%row4_y%" />
1037 <font resource="font" color="%button_text_color%" />
1038 <text>Reboot System</text>
1039 <image resource="main_button" />
1040 <actions>
1041 <action function="set">tw_back=main2</action>
1042 <action function="set">tw_action=reboot</action>
1043 <action function="set">tw_action_param=system</action>
1044 <action function="set">tw_has_action2=0</action>
1045 <action function="set">tw_text1=No OS Installed! Are you</action>
1046 <action function="set">tw_text2=sure you wish to reboot?</action>
1047 <action function="set">tw_text3=</action>
1048 <action function="set">tw_text4=</action>
1049 <action function="set">tw_action_text1=Rebooting...</action>
1050 <action function="set">tw_action_text2=</action>
1051 <action function="set">tw_complete_text1=Rebooting...</action>
1052 <action function="set">tw_slider_text=Swipe to Reboot</action>
1053 <action function="page">rebootcheck</action>
1054 </actions>
1055 </object>
1056
Dees_Troy51a0e822012-09-05 15:24:24 -04001057 <object type="action">
1058 <touch key="home" />
1059 <actions>
1060 <action function="set">tw_clear_destination=main2</action>
1061 <action function="page">clear_vars</action>
1062 </actions>
1063 </object>
1064
1065 <object type="action">
1066 <touch key="back" />
1067 <actions>
1068 <action function="set">tw_clear_destination=%tw_back%</action>
1069 <action function="page">clear_vars</action>
1070 </actions>
1071 </object>
1072 </page>
1073
1074 <page name="filecheck">
1075 <object type="action">
1076 <action function="fileexists">%tw_filecheck%</action>
1077 </object>
1078
1079 <object type="action">
1080 <conditions>
1081 <condition var1="tw_operation_state" var2="1" />
1082 <condition var1="tw_operation_status" var2="0" />
1083 </conditions>
1084 <actions>
1085 <action function="set">tw_fileexists=1</action>
1086 <action function="page">%tw_existpage%</action>
1087 </actions>
1088 </object>
1089
1090 <object type="action">
1091 <conditions>
1092 <condition var1="tw_operation_state" var2="1" />
1093 <condition var1="tw_operation_status" var2="1" />
1094 </conditions>
1095 <actions>
1096 <action function="set">tw_fileexists=0</action>
1097 <action function="page">%tw_notexistpage%</action>
1098 </actions>
1099 </object>
1100 </page>
1101
1102 <page name="rebootcheck">
1103 <object type="action">
1104 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1105 <action function="reboot">%tw_action_param%</action>
1106 </object>
1107
1108 <object type="action">
1109 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1110 <action function="page">confirm_action</action>
1111 </object>
1112 </page>
1113
1114 <page name="wipe">
1115 <object type="template" name="header" />
1116
1117 <object type="text" color="%text_color%">
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1120 <text>Wipe Menu</text>
1121 </object>
1122
1123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001125 <placement x="%col1_x%" y="%row1_y%" />
1126 <font resource="font" color="%button_text_color%" />
1127 <text>Cache</text>
1128 <image resource="main_button" />
1129 <actions>
1130 <action function="set">tw_back=wipe</action>
1131 <action function="set">tw_action=wipe</action>
1132 <action function="set">tw_action_param=/cache</action>
1133 <action function="set">tw_text1=Wipe Cache?</action>
1134 <action function="set">tw_action_text1=Wiping Cache...</action>
1135 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1136 <action function="set">tw_slider_text=Swipe to Wipe</action>
1137 <action function="page">confirm_action</action>
1138 </actions>
1139 </object>
1140
1141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 <placement x="%col2_x%" y="%row1_y%" />
1144 <font resource="font" color="%button_text_color%" />
1145 <text>Dalvik Cache</text>
1146 <image resource="main_button" />
1147 <actions>
1148 <action function="set">tw_back=wipe</action>
1149 <action function="set">tw_action=wipe</action>
1150 <action function="set">tw_action_param=dalvik</action>
1151 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1152 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1153 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1154 <action function="set">tw_slider_text=Swipe to Wipe</action>
1155 <action function="page">confirm_action</action>
1156 </actions>
1157 </object>
1158
1159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001161 <placement x="%col1_x%" y="%row2_y%" />
1162 <font resource="font" color="%button_text_color%" />
1163 <text>Factory Reset</text>
1164 <image resource="main_button" />
1165 <actions>
1166 <action function="set">tw_back=wipe</action>
1167 <action function="set">tw_action=wipe</action>
1168 <action function="set">tw_action_param=data</action>
1169 <action function="set">tw_text1=Factory Reset?</action>
1170 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1171 <action function="set">tw_action_text1=Factory Reset...</action>
1172 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1173 <action function="set">tw_slider_text=Swipe to Wipe</action>
1174 <action function="page">confirm_action</action>
1175 </actions>
1176 </object>
1177
1178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001179 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001180 <placement x="%col2_x%" y="%row2_y%" />
1181 <font resource="font" color="%button_text_color%" />
1182 <text>System</text>
1183 <image resource="main_button" />
1184 <actions>
1185 <action function="set">tw_back=wipe</action>
1186 <action function="set">tw_action=wipe</action>
1187 <action function="set">tw_action_param=/system</action>
1188 <action function="set">tw_text1=Wipe System?</action>
1189 <action function="set">tw_text2=This will wipe your ROM</action>
1190 <action function="set">tw_action_text1=Wiping System...</action>
1191 <action function="set">tw_complete_text1=System Wipe Complete</action>
1192 <action function="set">tw_slider_text=Swipe to Wipe</action>
1193 <action function="page">confirm_action</action>
1194 </actions>
1195 </object>
1196
1197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001199 <condition var1="tw_has_external" var2="1" />
1200 <placement x="%col1_x%" y="%row3_y%" />
1201 <font resource="font" color="%button_text_color%" />
1202 <text>External Storage</text>
1203 <image resource="main_button" />
1204 <actions>
1205 <action function="set">tw_back=wipe</action>
1206 <action function="set">tw_action=wipe</action>
1207 <action function="set">tw_action_param=EXTERNAL</action>
1208 <action function="set">tw_has_action2=1</action>
1209 <action function="set">tw_action2=set</action>
1210 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001211 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001212 <action function="set">tw_action_text1=Wiping External Storage...</action>
1213 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1214 <action function="set">tw_slider_text=Swipe to Wipe</action>
1215 <action function="page">confirm_action</action>
1216 </actions>
1217 </object>
1218
1219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001221 <condition var1="tw_has_internal" var2="1" />
1222 <placement x="%col2_x%" y="%row3_y%" />
1223 <font resource="font" color="%button_text_color%" />
1224 <text>Internal Storage</text>
1225 <image resource="main_button" />
1226 <actions>
1227 <action function="set">tw_back=wipe</action>
1228 <action function="set">tw_action=wipe</action>
1229 <action function="set">tw_action_param=INTERNAL</action>
1230 <action function="set">tw_has_action2=1</action>
1231 <action function="set">tw_action2=set</action>
1232 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1233 <action function="set">tw_text1=Wipe Internal Storage?</action>
1234 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1235 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1236 <action function="set">tw_slider_text=Swipe to Wipe</action>
1237 <action function="page">confirm_action</action>
1238 </actions>
1239 </object>
1240
1241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 <conditions>
1244 <condition var1="tw_has_internal" var2="1" />
1245 <condition var1="tw_has_data_media" var2="1" />
1246 </conditions>
1247 <placement x="%col1_x%" y="%row4_y%" />
1248 <font resource="font" color="%button_text_color%" />
1249 <text>Format Data</text>
1250 <image resource="main_button" />
1251 <actions>
1252 <action function="set">tw_back=wipe</action>
1253 <action function="set">tw_action=wipe</action>
1254 <action function="set">tw_action_param=DATAMEDIA</action>
1255 <action function="set">tw_has_action2=1</action>
1256 <action function="set">tw_action2=set</action>
1257 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001258 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001259 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001260 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001261 <action function="set">tw_action_text1=Formatting Data...</action>
1262 <action function="set">tw_complete_text1=Data Format Complete</action>
1263 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001264 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001265 <action function="page">confirm_action</action>
1266 </actions>
1267 </object>
1268
1269 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001270 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001271 <condition var1="tw_has_data_media" var2="0" />
1272 <placement x="%col1_x%" y="%row4_y%" />
1273 <font resource="font" color="%button_text_color%" />
1274 <text>Android Secure</text>
1275 <image resource="main_button" />
1276 <actions>
1277 <action function="set">tw_back=wipe</action>
1278 <action function="set">tw_action=wipe</action>
1279 <action function="set">tw_action_param=ANDROIDSECURE</action>
1280 <action function="set">tw_text1=Wipe Android Secure?</action>
1281 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1282 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1283 <action function="set">tw_slider_text=Swipe to Format</action>
1284 <action function="page">confirm_action</action>
1285 </actions>
1286 </object>
1287
1288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001290 <condition var1="tw_has_sdext_partition" var2="1" />
1291 <placement x="%col2_x%" y="%row4_y%" />
1292 <font resource="font" color="%button_text_color%" />
1293 <text>SD Ext</text>
1294 <image resource="main_button" />
1295 <actions>
1296 <action function="set">tw_back=wipe</action>
1297 <action function="set">tw_action=wipe</action>
1298 <action function="set">tw_action_param=/sd-ext</action>
1299 <action function="set">tw_text1=Wipe SD-Ext?</action>
1300 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1301 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1302 <action function="set">tw_slider_text=Swipe to Wipe</action>
1303 <action function="page">confirm_action</action>
1304 </actions>
1305 </object>
1306
1307 <object type="action">
1308 <touch key="home" />
1309 <action function="page">main</action>
1310 </object>
1311
1312 <object type="action">
1313 <touch key="back" />
1314 <action function="page">main</action>
1315 </object>
1316
1317 <object type="template" name="footer" />
1318 </page>
1319
1320 <page name="backup">
1321 <object type="template" name="header" />
1322
1323 <object type="text" color="%text_color%">
1324 <font resource="font" />
1325 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1326 <text>Backup Name: %tw_backup_name%</text>
1327 </object>
1328
1329 <object type="text" color="%text_color%">
1330 <placement x="%col1_x%" y="%row1_text_y%" />
1331 <font resource="font" />
1332 <text>Backup Device</text>
1333 </object>
1334
1335 <object type="slider">
1336 <placement x="%slider_x%" y="slider_y" />
1337 <resource base="slider" used="slider-used" touch="slider-touch" />
1338 <action function="page">backup_run</action>
1339 </object>
1340
1341 <object type="text" color="%text_color%">
1342 <font resource="font" />
1343 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1344 <text>Swipe to Back Up</text>
1345 </object>
1346
1347 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001348 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001349 <placement x="%col2_x%" y="%row1_y%" />
1350 <font resource="font" color="%button_text_color%" />
1351 <text>Refresh Sizes</text>
1352 <image resource="main_button" />
1353 <action function="refreshsizes"></action>
1354 </object>
1355
1356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001358 <placement x="%col2_x%" y="%backup_name_y%" />
1359 <font resource="font" color="%button_text_color%" />
1360 <text>Set Backup Name</text>
1361 <image resource="main_button" />
1362 <actions>
1363 <action function="set">tw_fileexists=0</action>
1364 <action function="page">backupname1</action>
1365 </actions>
1366 </object>
1367
1368 <object type="checkbox">
1369 <placement x="%col1_x%" y="%row2_text_y%" />
1370 <font resource="font" color="%text_color%" />
1371 <text>System (%tw_backup_system_size% MB)</text>
1372 <data variable="tw_backup_system" />
1373 <image checked="checkbox_true" unchecked="checkbox_false" />
1374 </object>
1375
1376 <object type="checkbox">
1377 <placement x="%col1_x%" y="%row3_text_y%" />
1378 <font resource="font" color="%text_color%" />
1379 <text>Data (%tw_backup_data_size% MB)</text>
1380 <data variable="tw_backup_data" />
1381 <image checked="checkbox_true" unchecked="checkbox_false" />
1382 </object>
1383
1384 <object type="checkbox">
1385 <condition var1="tw_has_boot_partition" var2="1" />
1386 <placement x="%col1_x%" y="%row4_text_y%" />
1387 <font resource="font" color="%text_color%" />
1388 <text>Boot (%tw_backup_boot_size% MB)</text>
1389 <data variable="tw_backup_boot" />
1390 <image checked="checkbox_true" unchecked="checkbox_false" />
1391 </object>
1392
1393 <object type="checkbox">
1394 <condition var1="tw_has_recovery_partition" var2="1" />
1395 <placement x="%col1_x%" y="%row5_text_y%" />
1396 <font resource="font" color="%text_color%" />
1397 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1398 <data variable="tw_backup_recovery" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="checkbox">
1403 <placement x="%col1_x%" y="%row6_text_y%" />
1404 <font resource="font" color="%text_color%" />
1405 <text>Cache (%tw_backup_cache_size% MB)</text>
1406 <data variable="tw_backup_cache" />
1407 <image checked="checkbox_true" unchecked="checkbox_false" />
1408 </object>
1409
1410 <object type="checkbox">
1411 <condition var1="tw_has_android_secure" var2="1" />
1412 <placement x="%col1_x%" y="%row7_text_y%" />
1413 <font resource="font" color="%text_color%" />
1414 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1415 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1416 <data variable="tw_backup_andsec" />
1417 <image checked="checkbox_true" unchecked="checkbox_false" />
1418 </object>
1419
1420 <object type="checkbox">
1421 <condition var1="tw_has_sdext_partition" var2="1" />
1422 <placement x="%col1_x%" y="%row8_text_y%" />
1423 <font resource="font" color="%text_color%" />
1424 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1425 <condition var1="fileexists" var2="/sd-ext" />
1426 <data variable="tw_backup_sdext" />
1427 <image checked="checkbox_true" unchecked="checkbox_false" />
1428 </object>
1429
1430 <object type="checkbox">
1431 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001432 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <font resource="font" color="%text_color%" />
1434 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1435 <data variable="tw_backup_sp1" />
1436 <image checked="checkbox_true" unchecked="checkbox_false" />
1437 </object>
1438
1439 <object type="checkbox">
1440 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001441 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 <font resource="font" color="%text_color%" />
1443 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1444 <data variable="tw_backup_sp2" />
1445 <image checked="checkbox_true" unchecked="checkbox_false" />
1446 </object>
1447
1448 <object type="checkbox">
1449 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001450 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 <font resource="font" color="%text_color%" />
1452 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1453 <data variable="tw_backup_sp3" />
1454 <image checked="checkbox_true" unchecked="checkbox_false" />
1455 </object>
1456
1457 <object type="text" color="%text_color%">
1458 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001459 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 <text>Free Space: %tw_storage_free_size% MB</text>
1461 </object>
1462
1463 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001464 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001465 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001466 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001467 <data variable="tw_use_compression" />
1468 <image checked="checkbox_true" unchecked="checkbox_false" />
1469 </object>
1470
1471 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001472 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001473 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001474 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001475 <data variable="tw_skip_md5_generate" />
1476 <image checked="checkbox_true" unchecked="checkbox_false" />
1477 </object>
1478
1479 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001480 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001481 <font resource="font" color="%text_color%" />
1482 <conditions>
1483 <condition var1="tw_has_dual_storage" var2="1" />
1484 <condition var1="tw_use_external_storage" var2="1" />
1485 </conditions>
1486 <text>Use external SD</text>
1487 <image resource="radio_true" />
1488 <action function="togglestorage">external</action>
1489 </object>
1490
1491 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001492 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001493 <font resource="font" color="%text_color%" />
1494 <conditions>
1495 <condition var1="tw_has_dual_storage" var2="1" />
1496 <condition var1="tw_use_external_storage" var2="0" />
1497 </conditions>
1498 <text>Use external SD</text>
1499 <image resource="radio_false" />
1500 <action function="togglestorage">external</action>
1501 </object>
1502
1503 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001504 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001505 <font resource="font" color="%text_color%" />
1506 <conditions>
1507 <condition var1="tw_has_dual_storage" var2="1" />
1508 <condition var1="tw_use_external_storage" var2="1" />
1509 </conditions>
1510 <text>Use internal storage</text>
1511 <image resource="radio_false" />
1512 <action function="togglestorage">internal</action>
1513 </object>
1514
1515 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001516 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001517 <font resource="font" color="%text_color%" />
1518 <conditions>
1519 <condition var1="tw_has_dual_storage" var2="1" />
1520 <condition var1="tw_use_external_storage" var2="0" />
1521 </conditions>
1522 <text>Use internal storage</text>
1523 <image resource="radio_true" />
1524 <action function="togglestorage">internal</action>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="home" />
1529 <action function="page">main</action>
1530 </object>
1531
1532 <object type="action">
1533 <touch key="back" />
1534 <action function="page">main</action>
1535 </object>
1536
1537 <object type="template" name="footer" />
1538 </page>
1539
1540 <page name="backupname1">
1541 <object type="action">
1542 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1543 <action function="set">tw_backup_name=</function>
1544 </object>
1545
1546 <object type="action">
1547 <action function="page">backupname2</function>
1548 </object>
1549 </page>
1550
1551 <page name="backupname2">
1552 <object type="template" name="header" />
1553
1554 <object type="text" color="%text_color%">
1555 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1556 <font resource="font" />
1557 <text>Please Enter a Backup Name</text>
1558 </object>
1559
1560 <object type="input">
1561 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1562 <background color="%input_background_color%" />
1563 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1564 <font resource="font" color="%text_color%" />
1565 <text>%tw_backup_name%</text>
1566 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001567 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001568 <actions>
1569 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1570 <action function="set">tw_existpage=backupname2</action>
1571 <action function="set">tw_notexistpage=backup</action>
1572 <action function="page">filecheck</action>
1573 </actions>
1574 </object>
1575
1576 <object type="text" color="%text_fail_color%">
1577 <condition var1="tw_fileexists" var2="1" />
1578 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1579 <font resource="font" />
1580 <text>A backup with that name already exists!</text>
1581 </object>
1582
1583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001584 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001585 <placement x="%col_center_x%" y="%row2_y%" />
1586 <font resource="font" color="%button_text_color%" />
1587 <text>Cancel</text>
1588 <image resource="main_button" />
1589 <actions>
1590 <action function="set">tw_backup_name=(Current Date)</action>
1591 <action function="page">backup</action>
1592 </actions>
1593 </object>
1594
1595 <object type="template" name="keyboardtemplate" />
1596
1597 <object type="action">
1598 <touch key="home" />
1599 <actions>
1600 <action function="set">tw_backup_name=(Current Date)</action>
1601 <action function="page">main</action>
1602 </actions>
1603 </object>
1604
1605 <object type="action">
1606 <touch key="back" />
1607 <actions>
1608 <action function="set">tw_backup_name=(Current Date)</action>
1609 <action function="page">backup</action>
1610 </actions>
1611 </object>
1612
1613 <object type="template" name="footer" />
1614 </page>
1615
1616 <page name="backup_run">
1617 <object type="template" name="header" />
1618
1619 <object type="text" color="%text_color%">
1620 <font resource="font" />
1621 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1622 <text>%tw_operation% %tw_partition%</text>
1623 </object>
1624
1625 <object type="template" name="action_page_console" />
1626
1627 <object type="template" name="progress_bar" />
1628
1629 <object type="action">
1630 <action function="nandroid">backup</action>
1631 </object>
1632
1633 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001634 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001635 <actions>
1636 <action function="set">tw_back=backup</action>
1637 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001638 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001639 <action function="page">action_complete</action>
1640 </actions>
1641 </object>
1642 </page>
1643
1644 <page name="restore">
1645 <object type="template" name="header" />
1646
1647 <object type="button">
1648 <placement x="%col1_x%" y="%row1_header_y%" />
1649 <font resource="font" color="%text_color%" />
1650 <conditions>
1651 <condition var1="tw_has_dual_storage" var2="1" />
1652 <condition var1="tw_use_external_storage" var2="1" />
1653 </conditions>
1654 <text>Use external SD</text>
1655 <image resource="radio_true" />
1656 <action function="togglestorage">external</action>
1657 </object>
1658
1659 <object type="button">
1660 <placement x="%col1_x%" y="%row1_header_y%" />
1661 <font resource="font" color="%text_color%" />
1662 <conditions>
1663 <condition var1="tw_has_dual_storage" var2="1" />
1664 <condition var1="tw_use_external_storage" var2="0" />
1665 </conditions>
1666 <text>Use external SD</text>
1667 <image resource="radio_false" />
1668 <action function="togglestorage">external</action>
1669 </object>
1670
1671 <object type="button">
1672 <placement x="%col2_x%" y="%row1_header_y%" />
1673 <font resource="font" color="%text_color%" />
1674 <conditions>
1675 <condition var1="tw_has_dual_storage" var2="1" />
1676 <condition var1="tw_use_external_storage" var2="1" />
1677 </conditions>
1678 <text>Use internal storage</text>
1679 <image resource="radio_false" />
1680 <action function="togglestorage">internal</action>
1681 </object>
1682
1683 <object type="button">
1684 <placement x="%col2_x%" y="%row1_header_y%" />
1685 <font resource="font" color="%text_color%" />
1686 <conditions>
1687 <condition var1="tw_has_dual_storage" var2="1" />
1688 <condition var1="tw_use_external_storage" var2="0" />
1689 </conditions>
1690 <text>Use internal storage</text>
1691 <image resource="radio_true" />
1692 <action function="togglestorage">internal</action>
1693 </object>
1694
1695 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001696 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001697 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1698 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1699 <text>Select Package to Restore:</text>
1700 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1701 <sort name="tw_gui_sort_order" />
1702 <icon folder="folder_icon" file="file_icon" />
1703 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001704 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001705 <filter folders="1" files="0" nav="0" />
1706 <path name="tw_backups_folder" />
1707 <data name="tw_restore" default="" />
1708 <selection name="tw_restore_name" />
1709 </object>
1710
1711 <object type="template" name="sort_options" />
1712
1713 <object type="action">
1714 <condition var1="tw_restore" op="modified" />
1715 <actions>
1716 <action function="readBackup"></action>
1717 <action function="page">restore_select</action>
1718 </actions>
1719 </object>
1720
1721 <object type="action">
1722 <touch key="home" />
1723 <action function="page">main</action>
1724 </object>
1725
1726 <object type="action">
1727 <touch key="back" />
1728 <action function="page">main</action>
1729 </object>
1730
1731 <object type="template" name="footer" />
1732 </page>
1733
1734 <page name="restore_select">
1735 <object type="template" name="header" />
1736
1737 <object type="text">
1738 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1739 <font resource="font" color="%text_color%" />
1740 <text>Restoring: %tw_restore_name%</text>
1741 </object>
1742
1743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 <placement x="%col2_x%" y="%row1_y%" />
1746 <font resource="font" color="%button_text_color%" />
1747 <text>Rename Backup</text>
1748 <image resource="main_button" />
1749 <actions>
1750 <action function="set">tw_backup_rename=</action>
1751 <action function="set">tw_fileexists=0</action>
1752 <action function="page">renamebackup</action>
1753 </actions>
1754 </object>
1755
1756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001758 <placement x="%col2_x%" y="%row2_y%" />
1759 <font resource="font" color="%button_text_color%" />
1760 <text>Delete Backup</text>
1761 <image resource="main_button" />
1762 <actions>
1763 <action function="set">tw_back=restore</action>
1764 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001765 <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 -04001766 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1767 <action function="set">tw_text2=This cannot be undone!</action>
1768 <action function="set">tw_action_text1=Deleting Backup...</action>
1769 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1770 <action function="set">tw_slider_text=Swipe to Delete</action>
1771 <action function="page">confirm_action</action>
1772 </actions>
1773 </object>
1774
1775 <object type="slider">
1776 <placement x="%slider_x%" y="%slider_y%" />
1777 <resource base="slider" used="slider-used" touch="slider-touch" />
1778 <action function="page">restore_run</action>
1779 </object>
1780
1781 <object type="text" color="%text_color%">
1782 <font resource="font" />
1783 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1784 <text>Swipe to Restore</text>
1785 </object>
1786
1787 <object type="checkbox">
1788 <placement x="%col1_x%" y="%row2_text_y%" />
1789 <font resource="font" color="%text_color%" />
1790 <text>System</text>
1791 <condition var1="tw_restore_system" op=">=" var2="0" />
1792 <data variable="tw_restore_system" />
1793 <image checked="checkbox_true" unchecked="checkbox_false" />
1794 </object>
1795
1796 <object type="checkbox">
1797 <placement x="%col1_x%" y="%row3_text_y%" />
1798 <font resource="font" color="%text_color%" />
1799 <text>Data</text>
1800 <condition var1="tw_restore_data" op=">=" var2="0" />
1801 <data variable="tw_restore_data" />
1802 <image checked="checkbox_true" unchecked="checkbox_false" />
1803 </object>
1804
1805 <object type="checkbox">
1806 <placement x="%col1_x%" y="%row4_text_y%" />
1807 <font resource="font" color="%text_color%" />
1808 <text>Boot</text>
1809 <condition var1="tw_restore_boot" op=">=" var2="0" />
1810 <data variable="tw_restore_boot" />
1811 <image checked="checkbox_true" unchecked="checkbox_false" />
1812 </object>
1813
1814 <object type="checkbox">
1815 <placement x="%col1_x%" y="%row6_text_y%" />
1816 <font resource="font" color="%text_color%" />
1817 <text>Cache</text>
1818 <condition var1="tw_restore_cache" op=">=" var2="0" />
1819 <data variable="tw_restore_cache" />
1820 <image checked="checkbox_true" unchecked="checkbox_false" />
1821 </object>
1822
1823 <object type="checkbox">
1824 <placement x="%col1_x%" y="%row7_text_y%" />
1825 <font resource="font" color="%text_color%" />
1826 <text>.android_secure</text>
1827 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1828 <data variable="tw_restore_andsec" />
1829 <image checked="checkbox_true" unchecked="checkbox_false" />
1830 </object>
1831
1832 <object type="checkbox">
1833 <placement x="%col1_x%" y="%row8_text_y%" />
1834 <font resource="font" color="%text_color%" />
1835 <text>sd-ext</text>
1836 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1837 <data variable="tw_restore_sdext" />
1838 <image checked="checkbox_true" unchecked="checkbox_false" />
1839 </object>
1840
1841 <object type="checkbox">
1842 <placement x="%col1_x%" y="%row10_text_y%" />
1843 <font resource="font" color="%text_color%" />
1844 <text>%tw_sp1_name%</text>
1845 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1846 <data variable="tw_restore_sp1" />
1847 <image checked="checkbox_true" unchecked="checkbox_false" />
1848 </object>
1849
1850 <object type="checkbox">
1851 <placement x="%col1_x%" y="%row11_text_y%" />
1852 <font resource="font" color="%text_color%" />
1853 <text>%tw_sp2_name%</text>
1854 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1855 <data variable="tw_restore_sp2" />
1856 <image checked="checkbox_true" unchecked="checkbox_false" />
1857 </object>
1858
1859 <object type="checkbox">
1860 <placement x="%col1_x%" y="%row12_text_y%" />
1861 <font resource="font" color="%text_color%" />
1862 <text>%tw_sp3_name%</text>
1863 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1864 <data variable="tw_restore_sp3" />
1865 <image checked="checkbox_true" unchecked="checkbox_false" />
1866 </object>
1867
1868 <object type="checkbox">
1869 <placement x="%col1_x%" y="%row14_text_y%" />
1870 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001871 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001872 <data variable="tw_skip_md5_check" />
1873 <image checked="checkbox_true" unchecked="checkbox_false" />
1874 </object>
1875
1876 <object type="text" color="%text_color%">
1877 <font resource="font" />
1878 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1879 <text>Package Date: %tw_restore_file_date%</text>
1880 </object>
1881
1882 <object type="action">
1883 <touch key="home" />
1884 <action function="page">main</action>
1885 </object>
1886
1887 <object type="action">
1888 <touch key="back" />
1889 <action function="page">restore</action>
1890 </object>
1891
1892 <object type="template" name="footer" />
1893 </page>
1894
1895 <page name="renamebackup">
1896 <object type="template" name="header" />
1897
1898 <object type="text" color="%text_color%">
1899 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1900 <font resource="font" />
1901 <text>Please Enter a New Backup Name</text>
1902 </object>
1903
1904 <object type="input">
1905 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1906 <background color="%input_background_color%" />
1907 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1908 <font resource="font" color="%text_color%" />
1909 <text>%tw_backup_rename%</text>
1910 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001911 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001912 <actions>
1913 <action function="set">tw_back=restore</action>
1914 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001915 <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 -04001916 <action function="set">tw_text1=Rename Backup?</action>
1917 <action function="set">tw_text2=This cannot be undone!</action>
1918 <action function="set">tw_action_text1=Renaming Backup...</action>
1919 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1920 <action function="set">tw_slider_text=Swipe to Rename</action>
1921 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1922 <action function="set">tw_existpage=renamebackup</action>
1923 <action function="set">tw_notexistpage=confirm_action</action>
1924 <action function="page">filecheck</action>
1925 </actions>
1926 </object>
1927
1928 <object type="text" color="%text_fail_color%">
1929 <condition var1="tw_fileexists" var2="1" />
1930 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1931 <font resource="font" />
1932 <text>A backup with that name already exists!</text>
1933 </object>
1934
1935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001937 <placement x="%col_center_x%" y="%row2_y%" />
1938 <font resource="font" color="%button_text_color%" />
1939 <text>Cancel</text>
1940 <image resource="main_button" />
1941 <action function="page">restore_select</action>
1942 </object>
1943
1944 <object type="template" name="keyboardtemplate" />
1945
1946 <object type="action">
1947 <touch key="home" />
1948 <action function="page">main</action>
1949 </object>
1950
1951 <object type="action">
1952 <touch key="back" />
1953 <action function="page">restore_select</action>
1954 </object>
1955
1956 <object type="template" name="footer" />
1957 </page>
1958
1959 <page name="restore_run">
1960 <object type="template" name="header" />
1961
1962 <object type="text" color="%text_color%">
1963 <font resource="font" />
1964 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1965 <text>%tw_operation% %tw_partition%</text>
1966 </object>
1967
1968 <object type="template" name="action_page_console" />
1969
1970 <object type="template" name="progress_bar" />
1971
1972 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001973 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001974 <actions>
1975 <action function="set">tw_back=restore_select</action>
1976 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001977 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001978 <action function="page">action_complete</action>
1979 </actions>
1980 </object>
1981
1982 <object type="action">
1983 <action function="nandroid">restore</action>
1984 </object>
1985 </page>
1986
1987 <page name="mount">
1988 <object type="template" name="header" />
1989
1990 <object type="text" color="%text_color%">
1991 <font resource="font" />
1992 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1993 <text>Mount Menu</text>
1994 </object>
1995
1996 <object type="button">
1997 <placement x="%col1_x%" y="%row1_text_y%" />
1998 <font resource="font" color="%text_color%" />
1999 <condition var1="mounted" op="!=" var2="/system" />
2000 <text>Mount System</text>
2001 <image resource="checkbox_false" />
2002 <action function="mount">/system</action>
2003 </object>
2004
2005 <object type="button">
2006 <placement x="%col1_x%" y="%row1_text_y%" />
2007 <font resource="font" color="%text_color%" />
2008 <condition var1="mounted" op="=" var2="/system" />
2009 <text>Unmount System</text>
2010 <image resource="checkbox_true" />
2011 <action function="umount">/system</action>
2012 </object>
2013
2014 <object type="button">
2015 <placement x="%col1_x%" y="%row2_text_y%" />
2016 <font resource="font" color="%text_color%" />
2017 <condition var1="mounted" op="!=" var2="/data" />
2018 <text>Mount Data</text>
2019 <image resource="checkbox_false" />
2020 <action function="mount">/data</action>
2021 </object>
2022
2023 <object type="button">
2024 <placement x="%col1_x%" y="%row2_text_y%" />
2025 <font resource="font" color="%text_color%" />
2026 <condition var1="mounted" op="=" var2="/data" />
2027 <text>Unmount Data</text>
2028 <image resource="checkbox_true" />
2029 <action function="umount">/data</action>
2030 </object>
2031
2032 <object type="button">
2033 <placement x="%col1_x%" y="%row3_text_y%" />
2034 <font resource="font" color="%text_color%" />
2035 <condition var1="mounted" op="!=" var2="/cache" />
2036 <text>Mount Cache</text>
2037 <image resource="checkbox_false" />
2038 <action function="mount">/cache</action>
2039 </object>
2040
2041 <object type="button">
2042 <placement x="%col1_x%" y="%row3_text_y%" />
2043 <font resource="font" color="%text_color%" />
2044 <condition var1="mounted" op="=" var2="/cache" />
2045 <text>Unmount Cache</text>
2046 <image resource="checkbox_true" />
2047 <action function="umount">/cache</action>
2048 </object>
2049
2050 <object type="button">
2051 <placement x="%col1_x%" y="%row4_text_y%" />
2052 <font resource="font" color="%text_color%" />
2053 <conditions>
2054 <condition var1="tw_has_external" var2="1" />
2055 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2056 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002057 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <image resource="checkbox_false" />
2059 <action function="mount">EXTERNAL</action>
2060 </object>
2061
2062 <object type="button">
2063 <placement x="%col1_x%" y="%row4_text_y%" />
2064 <font resource="font" color="%text_color%" />
2065 <conditions>
2066 <condition var1="tw_has_external" var2="1" />
2067 <condition var1="mounted" op="=" var2="EXTERNAL" />
2068 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002069 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002070 <image resource="checkbox_true" />
2071 <action function="umount">EXTERNAL</action>
2072 </object>
2073
2074 <object type="button">
2075 <placement x="%col2_x%" y="%row4_text_y%" />
2076 <font resource="font" color="%text_color%" />
2077 <conditions>
2078 <condition var1="tw_has_internal" var2="1" />
2079 <condition var1="tw_has_data_media" var2="0" />
2080 <condition var1="mounted" op="!=" var2="INTERNAL" />
2081 </conditions>
2082 <text>Mount Internal</text>
2083 <image resource="checkbox_false" />
2084 <action function="mount">INTERNAL</action>
2085 </object>
2086
2087 <object type="button">
2088 <placement x="%col2_x%" y="%row4_text_y%" />
2089 <font resource="font" color="%text_color%" />
2090 <conditions>
2091 <condition var1="tw_has_internal" var2="1" />
2092 <condition var1="tw_has_data_media" var2="0" />
2093 <condition var1="mounted" op="=" var2="INTERNAL" />
2094 </conditions>
2095 <text>Unmount Internal</text>
2096 <image resource="checkbox_true" />
2097 <action function="umount">INTERNAL</action>
2098 </object>
2099
2100 <object type="button">
2101 <conditions>
2102 <condition var1="tw_has_sdext_partition" var2="1" />
2103 <condition var1="mounted" op="!=" var2="/sd-ext" />
2104 </conditions>
2105 <placement x="%col1_x%" y="%row5_text_y%" />
2106 <font resource="font" color="%text_color%" />
2107 <text>Mount SD-Ext</text>
2108 <image resource="checkbox_false" />
2109 <action function="mount">/sd-ext</action>
2110 </object>
2111
2112 <object type="button">
2113 <placement x="%col1_x%" y="%row5_text_y%" />
2114 <font resource="font" color="%text_color%" />
2115 <condition var1="mounted" op="=" var2="/sd-ext" />
2116 <text>Unmount SD-Ext</text>
2117 <image resource="checkbox_true" />
2118 <action function="umount">/sd-ext</action>
2119 </object>
2120
2121 <object type="button">
2122 <conditions>
2123 <condition var1="tw_boot_is_mountable" var2="1" />
2124 <condition var1="mounted" op="!=" var2="/boot" />
2125 </conditions>
2126 <placement x="%col1_x%" y="%row6_text_y%" />
2127 <font resource="font" color="#A0A0A0" />
2128 <text>Mount Boot</text>
2129 <image resource="checkbox_false" />
2130 <action function="mount">/boot</action>
2131 </object>
2132
2133 <object type="button">
2134 <conditions>
2135 <condition var1="tw_boot_is_mountable" var2="1" />
2136 <condition var1="mounted" op="=" var2="/boot" />
2137 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002138 <placement x="%col1_x%" y="%row6_text_y%" />
2139 <font resource="font" color="#A0A0A0" />
2140 <text>Unmount Boot</text>
2141 <image resource="checkbox_true" />
2142 <action function="umount">/boot</action>
2143 </object>
2144
2145 <object type="button">
2146 <placement x="%col1_x%" y="%row8_text_y%" />
2147 <font resource="font" color="%text_color%" />
2148 <conditions>
2149 <condition var1="tw_has_dual_storage" var2="1" />
2150 <condition var1="tw_use_external_storage" var2="1" />
2151 </conditions>
2152 <text>Use external SD</text>
2153 <image resource="radio_true" />
2154 <action function="togglestorage">external</action>
2155 </object>
2156
2157 <object type="button">
2158 <placement x="%col1_x%" y="%row8_text_y%" />
2159 <font resource="font" color="%text_color%" />
2160 <conditions>
2161 <condition var1="tw_has_dual_storage" var2="1" />
2162 <condition var1="tw_use_external_storage" var2="0" />
2163 </conditions>
2164 <text>Use external SD</text>
2165 <image resource="radio_false" />
2166 <action function="togglestorage">external</action>
2167 </object>
2168
2169 <object type="button">
2170 <placement x="%col2_x%" y="%row8_text_y%" />
2171 <font resource="font" color="%text_color%" />
2172 <conditions>
2173 <condition var1="tw_has_dual_storage" var2="1" />
2174 <condition var1="tw_use_external_storage" var2="1" />
2175 </conditions>
2176 <text>Use internal storage</text>
2177 <image resource="radio_false" />
2178 <action function="togglestorage">internal</action>
2179 </object>
2180
2181 <object type="button">
2182 <placement x="%col2_x%" y="%row8_text_y%" />
2183 <font resource="font" color="%text_color%" />
2184 <conditions>
2185 <condition var1="tw_has_dual_storage" var2="1" />
2186 <condition var1="tw_use_external_storage" var2="0" />
2187 </conditions>
2188 <text>Use internal storage</text>
2189 <image resource="radio_true" />
2190 <action function="togglestorage">internal</action>
2191 </object>
2192
2193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002195 <condition var1="tw_has_usb_storage" var2="1" />
2196 <placement x="%col1_x%" y="row3_y" />
2197 <font resource="font" color="%button_text_color%" />
2198 <text>Mount USB Storage</text>
2199 <image resource="main_button" />
2200 <action function="page">usb_mount</action>
2201 </object>
2202
Gary Peckffdc6ae2012-11-21 18:02:02 -08002203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002204 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002205 <conditions>
2206 <condition var1="tw_is_encrypted" var2="1" />
2207 <condition var1="tw_is_decrypted" var2="0" />
2208 </conditions>
2209 <placement x="%col2_x%" y="row3_y" />
2210 <font resource="font" color="%button_text_color%" />
2211 <text>Decrypt Data</text>
2212 <image resource="main_button" />
2213 <action function="page">decrypt</action>
2214 </object>
2215
Dees_Troy51a0e822012-09-05 15:24:24 -04002216 <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">main</action>
2224 </object>
2225
2226 <object type="template" name="footer" />
2227 </page>
2228
2229 <page name="usb_mount">
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_header_y%" placement="5" />
2235 <text>USB Storage Mounted</text>
2236 </object>
2237
2238 <object type="text" color="%text_color%">
2239 <placement x="%col1_x%" y="%row1_text_y%" />
2240 <font resource="font" />
2241 <text>Be sure to safely remove your device</text>
2242 </object>
2243
2244 <object type="text" color="%text_color%">
2245 <placement x="%col1_x%" y="%row2_text_y%" />
2246 <font resource="font" />
2247 <text>from your computer before unmounting!</text>
2248 </object>
2249
2250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002252 <placement x="%col1_x%" y="%row3_y%" />
2253 <font resource="font" color="%button_text_color%" />
2254 <text>Unmount</text>
2255 <image resource="main_button" />
2256 <action function="page">usb_umount</action>
2257 </object>
2258
2259 <object type="action">
2260 <action function="mount">usb</action>
2261 </object>
2262
2263 <object type="template" name="footer" />
2264 </page>
2265
2266 <page name="usb_umount">
2267 <object type="action">
2268 <action function="unmount">usb</action>
2269 </object>
2270
2271 <object type="action">
2272 <action function="page">mount</action>
2273 </object>
2274 </page>
2275
2276 <page name="reboot">
2277 <object type="template" name="header" />
2278
2279 <object type="text" color="%text_color%">
2280 <font resource="font" />
2281 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2282 <text>Reboot Menu</text>
2283 </object>
2284
2285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002287 <condition var1="tw_reboot_system" var2="1" />
2288 <placement x="%col1_x%" y="%row1_y%" />
2289 <font resource="font" color="%button_text_color%" />
2290 <text>System</text>
2291 <image resource="main_button" />
2292 <actions>
2293 <action function="set">tw_back=reboot</action>
2294 <action function="set">tw_action=reboot</action>
2295 <action function="set">tw_action_param=system</action>
2296 <action function="set">tw_has_action2=0</action>
2297 <action function="set">tw_text1=No OS Installed! Are you</action>
2298 <action function="set">tw_text2=sure you wish to reboot?</action>
2299 <action function="set">tw_action_text1=Rebooting...</action>
2300 <action function="set">tw_complete_text1=Rebooting...</action>
2301 <action function="set">tw_slider_text=Swipe to Reboot</action>
2302 <action function="page">rebootcheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <condition var1="tw_reboot_poweroff" var2="1" />
2309 <placement x="%col2_x%" y="%row1_y%" />
2310 <font resource="font" color="%button_text_color%" />
2311 <text>Power Off</text>
2312 <image resource="main_button" />
2313 <actions>
2314 <action function="set">tw_back=reboot</action>
2315 <action function="set">tw_action=reboot</action>
2316 <action function="set">tw_action_param=poweroff</action>
2317 <action function="set">tw_has_action2=0</action>
2318 <action function="set">tw_text1=No OS Installed! Are you</action>
2319 <action function="set">tw_text2=sure you wish to power off?</action>
2320 <action function="set">tw_action_text1=Turning Off...</action>
2321 <action function="set">tw_complete_text1=Turning Off...</action>
2322 <action function="set">tw_slider_text=Swipe to Power Off</action>
2323 <action function="page">rebootcheck</action>
2324 </actions>
2325 </object>
2326
2327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002328 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002329 <condition var1="tw_reboot_recovery" var2="1" />
2330 <placement x="%col1_x%" y="%row2_y%" />
2331 <font resource="font" color="%button_text_color%" />
2332 <text>Recovery</text>
2333 <image resource="main_button" />
2334 <actions>
2335 <action function="set">tw_back=reboot</action>
2336 <action function="set">tw_action=reboot</action>
2337 <action function="set">tw_action_param=recovery</action>
2338 <action function="set">tw_has_action2=0</action>
2339 <action function="set">tw_text1=No OS Installed! Are you</action>
2340 <action function="set">tw_text2=sure you wish to reboot?</action>
2341 <action function="set">tw_action_text1=Rebooting...</action>
2342 <action function="set">tw_complete_text1=Rebooting...</action>
2343 <action function="set">tw_slider_text=Swipe to Reboot</action>
2344 <action function="page">rebootcheck</action>
2345 </actions>
2346 </object>
2347
2348 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002350 <condition var1="tw_reboot_bootloader" var2="1" />
2351 <placement x="%col2_x%" y="%row2_y%" />
2352 <font resource="font" color="%button_text_color%" />
2353 <text>Bootloader</text>
2354 <image resource="main_button" />
2355 <actions>
2356 <action function="set">tw_back=reboot</action>
2357 <action function="set">tw_action=reboot</action>
2358 <action function="set">tw_action_param=bootloader</action>
2359 <action function="set">tw_has_action2=0</action>
2360 <action function="set">tw_text1=No OS Installed! Are you</action>
2361 <action function="set">tw_text2=sure you wish to reboot?</action>
2362 <action function="set">tw_action_text1=Rebooting...</action>
2363 <action function="set">tw_complete_text1=Rebooting...</action>
2364 <action function="set">tw_slider_text=Swipe to Reboot</action>
2365 <action function="page">rebootcheck</action>
2366 </actions>
2367 </object>
2368
2369 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002371 <condition var1="tw_download_mode" var2="1" />
2372 <placement x="%col1_x%" y="%row3_y%" />
2373 <font resource="font" color="%button_text_color%" />
2374 <text>Download</text>
2375 <image resource="main_button" />
2376 <actions>
2377 <action function="set">tw_back=reboot</action>
2378 <action function="set">tw_action=reboot</action>
2379 <action function="set">tw_action_param=download</action>
2380 <action function="set">tw_has_action2=0</action>
2381 <action function="set">tw_text1=No OS Installed! Are you</action>
2382 <action function="set">tw_text2=sure you wish to reboot?</action>
2383 <action function="set">tw_action_text1=Rebooting...</action>
2384 <action function="set">tw_complete_text1=Rebooting...</action>
2385 <action function="set">tw_slider_text=Swipe to Reboot</action>
2386 <action function="page">rebootcheck</action>
2387 </actions>
2388 </object>
2389
2390 <object type="action">
2391 <touch key="home" />
2392 <action function="page">main</action>
2393 </object>
2394
2395 <object type="action">
2396 <touch key="back" />
2397 <action function="page">main</action>
2398 </object>
2399
2400 <object type="template" name="footer" />
2401 </page>
2402
2403 <page name="settings">
2404 <object type="template" name="header" />
2405
2406 <object type="text" color="%text_color%">
2407 <font resource="font" />
2408 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2409 <text>Settings</text>
2410 </object>
2411
2412 <object type="checkbox">
2413 <placement x="%col1_x%" y="%row1_text_y%" />
2414 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002415 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <data variable="tw_signed_zip_verify" />
2417 <image checked="checkbox_true" unchecked="checkbox_false" />
2418 </object>
2419
2420 <object type="checkbox">
2421 <placement x="%col1_x%" y="%row2_text_y%" />
2422 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002423 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <data variable="tw_rm_rf" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002429 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002431 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <data variable="tw_skip_md5_generate" />
2433 <image checked="checkbox_true" unchecked="checkbox_false" />
2434 </object>
2435
2436 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002437 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002438 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002439 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002440 <data variable="tw_skip_md5_check" />
2441 <image checked="checkbox_true" unchecked="checkbox_false" />
2442 </object>
2443
2444 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002445 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002447 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002448 <data variable="tw_ignore_image_size" />
2449 <image checked="checkbox_true" unchecked="checkbox_false" />
2450 </object>
2451
2452 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002453 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002455 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <data variable="tw_simulate_actions" />
2457 <image checked="checkbox_true" unchecked="checkbox_false" />
2458 </object>
2459
2460 <object type="checkbox">
2461 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002462 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002464 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <data variable="tw_simulate_fail" />
2466 <image checked="checkbox_true" unchecked="checkbox_false" />
2467 </object>
2468
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002469 <object type="checkbox">
2470 <placement x="%col1_x%" y="%row8_text_y%" />
2471 <font resource="font" color="%text_color%" />
2472 <text>Use Military Time</text>
2473 <data variable="tw_military_time" />
2474 <image checked="checkbox_true" unchecked="checkbox_false" />
2475 </object>
2476
Dees_Troy51a0e822012-09-05 15:24:24 -04002477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002479 <placement x="%col1_x%" y="%row3_y%" />
2480 <font resource="font" color="%button_text_color%" />
2481 <text>Time Zone</text>
2482 <image resource="main_button" />
2483 <action function="page">timezone</action>
2484 </object>
2485
2486 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002487 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002488 <placement x="%col2_x%" y="%row3_y%" />
2489 <font resource="font" color="%button_text_color%" />
2490 <text>Screen</text>
2491 <image resource="main_button" />
2492 <action function="page">screen</action>
2493 </object>
2494
2495 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <placement x="%col_center_x%" y="%row4_y%" />
2497 <font resource="font" color="%button_text_color%" />
2498 <text>Restore Defaults</text>
2499 <image resource="main_button" />
2500 <action function="restoredefaultsettings"></action>
2501 </object>
2502
2503 <object type="action">
2504 <touch key="home" />
2505 <action function="page">main</action>
2506 </object>
2507
2508 <object type="action">
2509 <touch key="back" />
2510 <action function="page">main</action>
2511 </object>
2512
2513 <object type="template" name="footer" />
2514 </page>
2515
2516 <page name="timezone">
2517 <object type="template" name="header" />
2518
Dees_Troy51a0e822012-09-05 15:24:24 -04002519 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002520 <highlight color="%fileselector_highlight_color%" />
2521 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2522 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2523 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002525 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002527 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002528 <data name="tw_time_zone_guisel" />
2529 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2530 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2531 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2532 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2533 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2534 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2535 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2536 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2537 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2538 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2539 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2540 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2541 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2542 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2543 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2544 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2545 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2546 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2547 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2548 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2549 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2550 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2551 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2552 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2553 </object>
2554
2555 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002556 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <font resource="font" color="%text_color%" />
2558 <text>Do you use daylight savings time (DST)?</text>
2559 <data variable="tw_time_zone_guidst" />
2560 <image checked="checkbox_true" unchecked="checkbox_false" />
2561 </object>
2562
2563 <object type="text" color="%text_color%">
2564 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002565 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002566 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2567 </object>
2568
2569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002570 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002571 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002572 <font resource="font" color="%button_text_color%" />
2573 <text>None</text>
2574 <image resource="medium_button" />
2575 <action function="set">tw_time_zone_guioffset=0</action>
2576 </object>
2577
2578 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002579 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002580 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002581 <font resource="font" color="%button_text_color%" />
2582 <text>15</text>
2583 <image resource="medium_button" />
2584 <action function="set">tw_time_zone_guioffset=15</action>
2585 </object>
2586
2587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002588 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002589 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002590 <font resource="font" color="%button_text_color%" />
2591 <text>30</text>
2592 <image resource="medium_button" />
2593 <action function="set">tw_time_zone_guioffset=30</action>
2594 </object>
2595
2596 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002597 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002598 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002599 <font resource="font" color="%button_text_color%" />
2600 <text>45</text>
2601 <image resource="medium_button" />
2602 <action function="set">tw_time_zone_guioffset=45</action>
2603 </object>
2604
2605 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002606 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002607 <placement x="%col_center_x%" y="%tz_set_y%" />
2608 <font resource="font" color="%button_text_color%" />
2609 <text>Set Time Zone</text>
2610 <image resource="main_button" />
2611 <action function="setguitimezone"></action>
2612 </object>
2613
2614 <object type="text" color="%text_color%">
2615 <font resource="font" />
2616 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2617 <text>Current Time Zone: %tw_time_zone%</text>
2618 </object>
2619
2620 <object type="action">
2621 <touch key="home" />
2622 <action function="page">main</action>
2623 </object>
2624
2625 <object type="action">
2626 <touch key="back" />
2627 <action function="page">settings</action>
2628 </object>
2629
2630 <object type="template" name="footer" />
2631 </page>
2632
Dees_Troy2f9117a2013-02-17 19:52:09 -06002633 <page name="screen">
2634 <object type="template" name="header" />
2635
2636 <object type="text" color="%text_color%">
2637 <font resource="font" />
2638 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2639 <text>Screen Settings</text>
2640 </object>
2641
2642 <object type="text" color="%text_color%">
2643 <font resource="font" />
2644 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2645 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2646 </object>
2647
2648 <object type="button">
2649 <placement x="%col1_medium_x%" y="%row2_y%" />
2650 <font resource="font" color="%button_text_color%" />
2651 <text>None</text>
2652 <image resource="medium_button" />
2653 <action function="set">tw_screen_timeout_secs=0</action>
2654 </object>
2655
2656 <object type="button">
2657 <placement x="%col2_medium_x%" y="%row2_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>60</text>
2660 <image resource="medium_button" />
2661 <action function="set">tw_screen_timeout_secs=60</action>
2662 </object>
2663
2664 <object type="button">
2665 <placement x="%col3_medium_x%" y="%row2_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>120</text>
2668 <image resource="medium_button" />
2669 <action function="set">tw_screen_timeout_secs=120</action>
2670 </object>
2671
2672 <object type="button">
2673 <placement x="%col4_medium_x%" y="%row2_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text>180</text>
2676 <image resource="medium_button" />
2677 <action function="set">tw_screen_timeout_secs=180</action>
2678 </object>
2679
2680 <object type="text" color="%text_color%">
2681 <condition var1="tw_has_brightnesss_file" var2="1" />
2682 <font resource="font" />
2683 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2684 <text>Brightness: %tw_brightness_display%</text>
2685 </object>
2686
2687 <object type="button">
2688 <condition var1="tw_has_brightnesss_file" var2="1" />
2689 <placement x="%col1_medium_x%" y="%row4_y%" />
2690 <font resource="font" color="%button_text_color%" />
2691 <text>25%</text>
2692 <image resource="medium_button" />
2693 <actions>
2694 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2695 <action function="set">tw_brightness_display=25%</action>
2696 <action function="set">tw_brightness=%tw_brightness_25%</action>
2697 </actions>
2698 </object>
2699
2700 <object type="button">
2701 <condition var1="tw_has_brightnesss_file" var2="1" />
2702 <placement x="%col2_medium_x%" y="%row4_y%" />
2703 <font resource="font" color="%button_text_color%" />
2704 <text>50%</text>
2705 <image resource="medium_button" />
2706 <actions>
2707 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2708 <action function="set">tw_brightness_display=50%</action>
2709 <action function="set">tw_brightness=%tw_brightness_50%</action>
2710 </actions>
2711 </object>
2712
2713 <object type="button">
2714 <condition var1="tw_has_brightnesss_file" var2="1" />
2715 <placement x="%col3_medium_x%" y="%row4_y%" />
2716 <font resource="font" color="%button_text_color%" />
2717 <text>75%</text>
2718 <image resource="medium_button" />
2719 <actions>
2720 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2721 <action function="set">tw_brightness_display=75%</action>
2722 <action function="set">tw_brightness=%tw_brightness_75%</action>
2723 </actions>
2724 </object>
2725
2726 <object type="button">
2727 <condition var1="tw_has_brightnesss_file" var2="1" />
2728 <placement x="%col4_medium_x%" y="%row4_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>100%</text>
2731 <image resource="medium_button" />
2732 <actions>
2733 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2734 <action function="set">tw_brightness_display=100%</action>
2735 <action function="set">tw_brightness=%tw_brightness_100%</action>
2736 </actions>
2737 </object>
2738
2739 <object type="action">
2740 <touch key="home" />
2741 <action function="page">main</action>
2742 </object>
2743
2744 <object type="action">
2745 <touch key="back" />
2746 <action function="page">settings</action>
2747 </object>
2748
2749 <object type="template" name="footer" />
2750 </page>
2751
Dees_Troy51a0e822012-09-05 15:24:24 -04002752 <page name="advanced">
2753 <object type="template" name="header" />
2754
2755 <object type="text" color="%text_color%">
2756 <font resource="font" />
2757 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2758 <text>Advanced</text>
2759 </object>
2760
2761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <placement x="%col1_x%" y="%row1_y%" />
2764 <font resource="font" color="%button_text_color%" />
2765 <text>Copy Log to SD</text>
2766 <image resource="main_button" />
2767 <actions>
2768 <action function="set">tw_back=advanced</action>
2769 <action function="set">tw_action=copylog</action>
2770 <action function="set">tw_text1=Copy Log to SD Card?</action>
2771 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2772 <action function="set">tw_complete_text1=Log Copy Complete</action>
2773 <action function="set">tw_slider_text=Swipe to Confirm</action>
2774 <action function="page">confirm_action</action>
2775 </actions>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <placement x="%col2_x%" y="%row1_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>Fix Permissions</text>
2783 <image resource="main_button" />
2784 <actions>
2785 <action function="set">tw_back=advanced</action>
2786 <action function="set">tw_action=fixpermissions</action>
2787 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2790 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002791 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002792 <action function="page">confirm_action</action>
2793 </actions>
2794 </object>
2795
2796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002797 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002798 <condition var1="tw_allow_partition_sdcard" var2="1" />
2799 <placement x="%col1_x%" y="%row2_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>Partition SD Card</text>
2802 <image resource="main_button" />
2803 <action function="page">partsdcard</action>
2804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002808 <placement x="%col2_x%" y="%row2_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text>File Manager</text>
2811 <image resource="main_button" />
2812 <action function="page">filemanagerlist</action>
2813 </object>
2814
2815 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002816 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002817 <placement x="%col1_x%" y="%row3_y%" />
2818 <font resource="font" color="%button_text_color%" />
2819 <text>Terminal Command</text>
2820 <image resource="main_button" />
2821 <action function="page">terminalfolder</action>
2822 </object>
2823
2824 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002825 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002826 <placement x="%col2_x%" y="%row3_y%" />
2827 <font resource="font" color="%button_text_color%" />
2828 <text>Reload Theme</text>
2829 <image resource="main_button" />
2830 <action function="reload"></action>
2831 </object>
2832
2833 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002834 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002835 <placement x="%col1_x%" y="%row4_y%" />
2836 <font resource="font" color="%button_text_color%" />
2837 <text>ADB Sideload</text>
2838 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002839 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002840 </object>
2841
2842 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002843 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002844 <condition var1="tw_show_dumlock" var2="1" />
2845 <placement x="%col2_x%" y="%row4_y%" />
2846 <font resource="font" color="%button_text_color%" />
2847 <text>HTC Dumlock</text>
2848 <image resource="main_button" />
2849 <action function="page">htcdumlock</action>
2850 </object>
2851
2852 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002853 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002854 <condition var1="tw_has_injecttwrp" var2="1" />
2855 <placement x="%col2_x%" y="%row4_y%" />
2856 <font resource="font" color="%button_text_color%" />
2857 <text>Re-Inject TWRP</text>
2858 <image resource="main_button" />
2859 <actions>
2860 <action function="set">tw_back=advanced</action>
2861 <action function="set">tw_action=reinjecttwrp</action>
2862 <action function="set">tw_text1=Re-Inject TWRP?</action>
2863 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2864 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2865 <action function="set">tw_slider_text=Swipe to Confirm</action>
2866 <action function="page">confirm_action</action>
2867 </actions>
2868 </object>
2869
2870 <object type="action">
2871 <touch key="home" />
2872 <action function="page">main</action>
2873 </object>
2874
2875 <object type="action">
2876 <touch key="back" />
2877 <action function="page">main</action>
2878 </object>
2879
2880 <object type="template" name="footer" />
2881 </page>
2882
2883 <page name="partsdcard">
2884 <object type="template" name="header" />
2885
2886 <object type="text" color="%text_color%">
2887 <font resource="font" />
2888 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2889 <text>Partition SD Card</text>
2890 </object>
2891
2892 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002893 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002894 <placement x="%col1_x%" y="%row1_y%" />
2895 <font resource="font" color="%button_text_color%" />
2896 <text></text>
2897 <image resource="minus_button" />
2898 <action function="addsubtract">tw_sdext_size-128</action>
2899 </object>
2900
2901 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002902 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002903 <placement x="%sd_plus_x%" y="%row1_y%" />
2904 <font resource="font" color="%button_text_color%" />
2905 <text></text>
2906 <image resource="plus_button" />
2907 <action function="addsubtract">tw_sdext_size+128</action>
2908 </object>
2909
2910 <object type="text" color="%text_color%">
2911 <font resource="font" />
2912 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2913 <text>EXT Size: %tw_sdext_size%</text>
2914 </object>
2915
2916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002917 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002918 <placement x="%col1_x%" y="%sdswap_button_y%" />
2919 <font resource="font" color="%button_text_color%" />
2920 <text></text>
2921 <image resource="minus_button" />
2922 <action function="addsubtract">tw_swap_size-32</action>
2923 </object>
2924
2925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002926 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002927 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text></text>
2930 <image resource="plus_button" />
2931 <action function="addsubtract">tw_swap_size+32</action>
2932 </object>
2933
2934 <object type="text" color="%text_color%">
2935 <font resource="font" />
2936 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2937 <text>Swap Size: %tw_swap_size%</text>
2938 </object>
2939
2940 <object type="text" color="%text_color%">
2941 <font resource="font" />
2942 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2943 <text>File system: %tw_sdpart_file_system%</text>
2944 </object>
2945
2946 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002947 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002948 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2949 <font resource="font" color="%button_text_color%" />
2950 <text>EXT3</text>
2951 <image resource="main_button" />
2952 <action function="set">tw_sdpart_file_system=ext3</action>
2953 </object>
2954
2955 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002956 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002957 <condition var1="tw_sdext_disable_ext4" var2="0" />
2958 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2959 <font resource="font" color="%button_text_color%" />
2960 <text>EXT4</text>
2961 <image resource="main_button" />
2962 <action function="set">tw_sdpart_file_system=ext4</action>
2963 </object>
2964
2965 <object type="text" color="%text_color%">
2966 <font resource="font" />
2967 <placement x="%col1_x%" y="%row12_text_y%" />
2968 <text>You will lose all files on your SD card!</text>
2969 </object>
2970
2971 <object type="text" color="%text_color%">
2972 <font resource="font" />
2973 <placement x="%col1_x%" y="%row13_text_y%" />
2974 <text>This action cannot be undone!</text>
2975 </object>
2976
2977 <object type="slider">
2978 <placement x="%slider_x%" y="%slider_y%" />
2979 <resource base="slider" used="slider-used" touch="slider-touch" />
2980 <action function="page">partsdcardaction</action>
2981 <actions>
2982 <action function="set">tw_back=partsdcard</action>
2983 <action function="set">tw_action=partitionsd</action>
2984 <action function="set">tw_has_action2=1</action>
2985 <action function="set">tw_action2=set</action>
2986 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2987 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2988 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002989 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002990 <action function="page">action_page</action>
2991 </actions>
2992 </object>
2993
2994 <object type="text" color="%text_color%">
2995 <font resource="font" />
2996 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2997 <text>Swipe to Partition</text>
2998 </object>
2999
3000 <object type="action">
3001 <touch key="home" />
3002 <action function="page">main</action>
3003 </object>
3004
3005 <object type="action">
3006 <touch key="back" />
3007 <action function="page">advanced</action>
3008 </object>
3009
3010 <object type="template" name="footer" />
3011 </page>
3012
3013 <page name="htcdumlock">
3014 <object type="template" name="header" />
3015
3016 <object type="text" color="%text_color%">
3017 <font resource="font" />
3018 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3019 <text>HTC Dumlock</text>
3020 </object>
3021
3022 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003023 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003024 <condition var1="tw_show_dumlock" var2="1" />
3025 <placement x="%col1_x%" y="%row1_y%" />
3026 <font resource="font" color="%button_text_color%" />
3027 <text>Restore Original Boot</text>
3028 <image resource="main_button" />
3029 <actions>
3030 <action function="set">tw_back=htcdumlock</action>
3031 <action function="set">tw_action=htcdumlockrestoreboot</action>
3032 <action function="set">tw_text1=Restore original boot image?</action>
3033 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3034 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3035 <action function="set">tw_slider_text=Swipe to Confirm</action>
3036 <action function="page">confirm_action</action>
3037 </actions>
3038 </object>
3039
3040 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003041 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003042 <condition var1="tw_show_dumlock" var2="1" />
3043 <placement x="%col2_x%" y="%row1_y%" />
3044 <font resource="font" color="%button_text_color%" />
3045 <text>Reflash Recovery</text>
3046 <image resource="main_button" />
3047 <actions>
3048 <action function="set">tw_back=htcdumlock</action>
3049 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3050 <action function="set">tw_text1=Reflash recovery to boot?</action>
3051 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3052 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3053 <action function="set">tw_slider_text=Swipe to Confirm</action>
3054 <action function="page">confirm_action</action>
3055 </actions>
3056 </object>
3057
3058 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003059 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003060 <condition var1="tw_show_dumlock" var2="1" />
3061 <placement x="%col1_x%" y="%row2_y%" />
3062 <font resource="font" color="%button_text_color%" />
3063 <text>Install HTC Dumlock</text>
3064 <image resource="main_button" />
3065 <actions>
3066 <action function="set">tw_back=htcdumlock</action>
3067 <action function="set">tw_action=installhtcdumlock</action>
3068 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3069 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3070 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3071 <action function="set">tw_slider_text=Swipe to Confirm</action>
3072 <action function="page">confirm_action</action>
3073 </actions>
3074 </object>
3075
3076 <object type="action">
3077 <touch key="home" />
3078 <action function="page">main</action>
3079 </object>
3080
3081 <object type="action">
3082 <touch key="back" />
3083 <action function="page">advanced</action>
3084 </object>
3085
3086 <object type="template" name="footer" />
3087 </page>
3088
3089 <page name="lock">
3090 <background color="#000000A0" />
3091
3092 <object type="image">
3093 <image resource="unlock-icon" />
3094 <placement x="%lock_x%" y="%lock_y%" />
3095 </object>
3096
3097 <object type="slider">
3098 <placement x="%slider_x%" y="%slider_y%" />
3099 <resource base="slider" used="slider-used" touch="slider-touch" />
3100 <action function="overlay"></action>
3101 </object>
3102
3103 <object type="text" color="%text_color%">
3104 <font resource="font" />
3105 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3106 <text>Swipe to Unlock</text>
3107 </object>
3108 </page>
3109
3110 <page name="filemanagerlist">
3111 <object type="template" name="header" />
3112
3113 <object type="text" color="%text_color%">
3114 <font resource="font" />
3115 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3116 <text>File Manager: Select a File or Folder</text>
3117 </object>
3118
3119 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003120 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003121 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3122 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3123 <text>%tw_file_location1%</text>
3124 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3125 <sort name="tw_gui_sort_order" />
3126 <icon folder="folder_icon" file="file_icon" />
3127 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003128 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <folders="1" files="1" />
3130 <path name="tw_file_location1" default="/" />
3131 <data name="tw_filename1" />
3132 <selection name="tw_selection1" />
3133 </object>
3134
3135 <object type="template" name="sort_options" />
3136
3137 <object type="action">
3138 <actions>
3139 <action function="set">tw_fm_type=File</action>
3140 <action function="set">tw_fm_isfolder=0</action>
3141 </actions>
3142 </object>
3143
3144 <object type="action">
3145 <touch key="home" />
3146 <action function="page">main</action>
3147 </object>
3148
3149 <object type="action">
3150 <touch key="back" />
3151 <action function="page">advanced</action>
3152 </object>
3153
3154 <object type="action">
3155 <condition var1="tw_filename1" op="modified" />
3156 <actions>
3157 <action function="page">filemanageroptions</action>
3158 </actions>
3159 </object>
3160
3161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003163 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3164 <font resource="font" color="%button_text_color%" />
3165 <text>Select</text>
3166 <image resource="medium_button" />
3167 <actions>
3168 <action function="set">tw_filename1=tw_file_location1</action>
3169 <action function="set">tw_fm_isfolder=1</action>
3170 <action function="set">tw_fm_type=Folder</action>
3171 <action function="page">filemanageroptions</action>
3172 </actions>
3173 </object>
3174
3175 <object type="template" name="footer" />
3176 </page>
3177
3178 <page name="filemanageroptions">
3179 <object type="template" name="header" />
3180
3181 <object type="text" color="%text_color%">
3182 <font resource="font" />
3183 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3184 <text>%tw_fm_type% Selected:</text>
3185 </object>
3186
3187 <object type="text" color="%text_color%">
3188 <font resource="font" />
3189 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3190 <text>%tw_filename1%</text>
3191 </object>
3192
3193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003195 <condition var1="tw_fm_isfolder" var2="0" />
3196 <placement x="%col1_x%" y="%row2_y%" />
3197 <font resource="font" color="%button_text_color%" />
3198 <text>Copy File</text>
3199 <image resource="main_button" />
3200 <actions>
3201 <action function="set">tw_filemanager_command=cp</action>
3202 <action function="set">tw_fm_text1=Copying</action>
3203 <action function="page">choosedestinationfolder</action>
3204 </actions>
3205 </object>
3206
3207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003209 <condition var1="tw_fm_isfolder" var2="1" />
3210 <placement x="%col1_x%" y="%row2_y%" />
3211 <font resource="font" color="%button_text_color%" />
3212 <text>Copy Folder</text>
3213 <image resource="main_button" />
3214 <actions>
3215 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3216 <action function="set">tw_fm_text1=Copying</action>
3217 <action function="page">choosedestinationfolder</action>
3218 </actions>
3219 </object>
3220
3221 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003222 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003223 <placement x="%col2_x%" y="%row2_y%" />
3224 <font resource="font" color="%button_text_color%" />
3225 <text>Move</text>
3226 <image resource="main_button" />
3227 <actions>
3228 <action function="set">tw_filemanager_command=mv</action>
3229 <action function="set">tw_fm_text1=Moving</action>
3230 <action function="page">choosedestinationfolder</action>
3231 </actions>
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="%col1_x%" y="%row3_y%" />
3237 <font resource="font" color="%button_text_color%" />
3238 <text>chmod 755</text>
3239 <image resource="main_button" />
3240 <actions>
3241 <action function="set">tw_filemanager_command=chmod 755</action>
3242 <action function="set">tw_fm_text1=chmod 755</action>
3243 <action function="set">tw_fm_text2=</action>
3244 <action function="set">tw_fm_text3=</action>
3245 <action function="set">tw_include_text3=0</action>
3246 <action function="set">tw_back=filemanageroptions</action>
3247 <action function="page">filemanagerconfirm</action>
3248 </actions>
3249 </object>
3250
3251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003253 <placement x="%col2_x%" y="%row3_y%" />
3254 <font resource="font" color="%button_text_color%" />
3255 <text>chmod</text>
3256 <image resource="main_button" />
3257 <actions>
3258 <action function="set">tw_filemanager_rename=0000</action>
3259 <action function="set">tw_fm_text2=</action>
3260 <action function="set">tw_fm_text3=</action>
3261 <action function="set">tw_include_text3=0</action>
3262 <action function="set">tw_back=filemanageroptions</action>
3263 <action function="page">filemanagerchmod</action>
3264 </actions>
3265 </object>
3266
3267 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003268 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003269 <placement x="%col1_x%" y="%row4_y%" />
3270 <font resource="font" color="%button_text_color%" />
3271 <text>Delete</text>
3272 <image resource="main_button" />
3273 <actions>
3274 <action function="set">tw_filemanager_command=rm -rf</action>
3275 <action function="set">tw_fm_text1=Deleting</action>
3276 <action function="set">tw_fm_text2=</action>
3277 <action function="set">tw_fm_text3=</action>
3278 <action function="set">tw_include_text3=0</action>
3279 <action function="set">tw_back=filemanageroptions</action>
3280 <action function="page">filemanagerconfirm</action>
3281 </actions>
3282 </object>
3283
3284 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003285 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003286 <condition var1="tw_fm_isfolder" var2="0" />
3287 <placement x="%col2_x%" y="%row4_y%" />
3288 <font resource="font" color="%button_text_color%" />
3289 <text>Rename File</text>
3290 <image resource="main_button" />
3291 <actions>
3292 <action function="set">tw_filemanager_rename=tw_selection1</action>
3293 <action function="set">tw_fm_text1=Renaming</action>
3294 <action function="set">tw_filemanager_command=mv</action>
3295 <action function="page">filemanagerrenamefile</action>
3296 </actions>
3297 </object>
3298
3299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003301 <condition var1="tw_fm_isfolder" var2="1" />
3302 <placement x="%col2_x%" y="%row4_y%" />
3303 <font resource="font" color="%button_text_color%" />
3304 <text>Rename Folder</text>
3305 <image resource="main_button" />
3306 <actions>
3307 <action function="set">tw_filemanager_rename=tw_selection1</action>
3308 <action function="set">tw_fm_text1=Renaming</action>
3309 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3310 <action function="page">filemanagerrenamefolder</action>
3311 </actions>
3312 </object>
3313
3314 <object type="action">
3315 <touch key="home" />
3316 <action function="page">main</action>
3317 </object>
3318
3319 <object type="action">
3320 <touch key="back" />
3321 <action function="page">filemanagerlist</action>
3322 </object>
3323
3324 <object type="template" name="footer" />
3325 </page>
3326
3327 <page name="choosedestinationfolder">
3328 <object type="template" name="header" />
3329
3330 <object type="text" color="%text_color%">
3331 <font resource="font" />
3332 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3333 <text>Browse to Destination Folder & Press Select</text>
3334 </object>
3335
3336 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003337 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003338 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3339 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3340 <text>%tw_file_location2%</text>
3341 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3342 <sort name="tw_gui_sort_order" />
3343 <icon folder="folder_icon" file="file_icon" />
3344 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003345 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003346 <filter folders="1" files="0" />
3347 <path name="tw_file_location2" default="/" />
3348 <data name="tw_filename2" />
3349 <selection name="tw_selection2" />
3350 </object>
3351
3352 <object type="template" name="sort_options" />
3353
3354 <object type="action">
3355 <touch key="home" />
3356 <action function="page">main</action>
3357 </object>
3358
3359 <object type="action">
3360 <touch key="back" />
3361 <action function="page">filemanageroptions</action>
3362 </object>
3363
3364 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003365 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003366 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3367 <font resource="font" color="%button_text_color%" />
3368 <text>Select</text>
3369 <image resource="medium_button" />
3370 <actions>
3371 <action function="set">tw_fm_text2=to</action>
3372 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3373 <action function="set">tw_include_text3=1</action>
3374 <action function="set">tw_back=filemanageroptions</action>
3375 <action function="page">filemanagerconfirm</action>
3376 </actions>
3377 </object>
3378
3379 <object type="template" name="footer" />
3380 </page>
3381
3382 <page name="filemanagerrenamefile">
3383 <object type="template" name="header" />
3384
3385 <object type="text" color="%text_color%">
3386 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3387 <font resource="font" />
3388 <text>Please Enter a New %tw_fm_type% Name</text>
3389 </object>
3390
3391 <object type="input">
3392 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3393 <background color="%input_background_color%" />
3394 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3395 <font resource="font" color="%text_color%" />
3396 <text>%tw_filemanager_rename%</text>
3397 <data name="tw_filemanager_rename" />
3398 <restrict minlen="1" maxlen="128" />
3399 <actions>
3400 <action function="set">tw_fm_text2=to</action>
3401 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3402 <action function="set">tw_include_text3=1</action>
3403 <action function="set">tw_back=filemanageroptions</action>
3404 <action function="page">filemanagerconfirm</action>
3405 </actions>
3406 </object>
3407
3408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003410 <placement x="%col_center_x%" y="%row2_y%" />
3411 <font resource="font" color="%button_text_color%" />
3412 <text>Cancel</text>
3413 <image resource="main_button" />
3414 <action function="page">filemanageroptions</action>
3415 </object>
3416
3417 <object type="template" name="keyboardtemplate" />
3418
3419 <object type="action">
3420 <touch key="home" />
3421 <action function="page">main</action>
3422 </object>
3423
3424 <object type="action">
3425 <touch key="back" />
3426 <action function="page">filemanageroptions</action>
3427 </object>
3428
3429 <object type="template" name="footer" />
3430 </page>
3431
3432 <page name="filemanagerrenamefolder">
3433 <object type="template" name="header" />
3434
3435 <object type="text" color="%text_color%">
3436 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3437 <font resource="font" />
3438 <text>Please Enter a New %tw_fm_type% Name</text>
3439 </object>
3440
3441 <object type="input">
3442 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3443 <background color="%input_background_color%" />
3444 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3445 <font resource="font" color="%text_color%" />
3446 <text>%tw_filemanager_rename%</text>
3447 <data name="tw_filemanager_rename" />
3448 <restrict minlen="1" maxlen="128" />
3449 <actions>
3450 <action function="set">tw_fm_text2=to</action>
3451 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3452 <action function="set">tw_include_text3=1</action>
3453 <action function="set">tw_back=filemanageroptions</action>
3454 <action function="page">filemanagerconfirm</action>
3455 </actions>
3456 </object>
3457
3458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003460 <placement x="%col_center_x%" y="%row2_y%" />
3461 <font resource="font" color="%button_text_color%" />
3462 <text>Cancel</text>
3463 <image resource="main_button" />
3464 <action function="page">filemanageroptions</action>
3465 </object>
3466
3467 <object type="template" name="keyboardtemplate" />
3468
3469 <object type="action">
3470 <touch key="home" />
3471 <action function="page">main</action>
3472 </object>
3473
3474 <object type="action">
3475 <touch key="back" />
3476 <action function="page">filemanageroptions</action>
3477 </object>
3478
3479 <object type="template" name="footer" />
3480 </page>
3481
3482 <page name="filemanagerchmod">
3483 <object type="template" name="header" />
3484
3485 <object type="text" color="%text_color%">
3486 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3487 <font resource="font" />
3488 <text>Please Enter New Permissions</text>
3489 </object>
3490
3491 <object type="input">
3492 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3493 <background color="%input_background_color%" />
3494 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3495 <font resource="font" color="%text_color%" />
3496 <text>%tw_filemanager_rename%</text>
3497 <data name="tw_filemanager_rename" />
3498 <restrict minlen="3" maxlen="4" allow="0123456789" />
3499 <actions>
3500 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3501 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3502 <action function="set">tw_back=filemanageroptions</action>
3503 <action function="page">filemanagerconfirm</action>
3504 </actions>
3505 </object>
3506
3507 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003508 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003509 <placement x="%col_center_x%" y="%row2_y%" />
3510 <font resource="font" color="%button_text_color%" />
3511 <text>Cancel</text>
3512 <image resource="main_button" />
3513 <action function="page">filemanageroptions</action>
3514 </object>
3515
3516 <object type="template" name="keyboardtemplate" />
3517
3518 <object type="action">
3519 <touch key="home" />
3520 <action function="page">main</action>
3521 </object>
3522
3523 <object type="action">
3524 <touch key="back" />
3525 <action function="page">filemanageroptions</action>
3526 </object>
3527
3528 <object type="template" name="footer" />
3529 </page>
3530
3531 <page name="filemanagerconfirm">
3532 <object type="template" name="header" />
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3537 <text>%tw_fm_text1%</text>
3538 </object>
3539
3540 <object type="text" color="%text_color%">
3541 <font resource="font" />
3542 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3543 <text>%tw_filename1%</text>
3544 </object>
3545
3546 <object type="text" color="%text_color%">
3547 <font resource="font" />
3548 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3549 <text>%tw_fm_text2%</text>
3550 </object>
3551
3552 <object type="text" color="%text_color%">
3553 <font resource="font" />
3554 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3555 <text>%tw_fm_text3%</text>
3556 </object>
3557
3558 <object type="text" color="%text_color%">
3559 <font resource="font" />
3560 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3561 <text>Press back button to cancel.</text>
3562 </object>
3563
3564 <object type="slider">
3565 <placement x="%slider_x%" y="%slider_y%" />
3566 <resource base="slider" used="slider-used" touch="slider-touch" />
3567 <action function="page">filemanageracction</action>
3568 </object>
3569
3570 <object type="text" color="%text_color%">
3571 <font resource="font" />
3572 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3573 <text>Swipe to Confirm</text>
3574 </object>
3575
3576 <object type="action">
3577 <touch key="back" />
3578 <action function="page">%tw_back%</action>
3579 </object>
3580
3581 <object type="action">
3582 <touch key="home" />
3583 <action function="page">main</action>
3584 </object>
3585
3586 <object type="template" name="footer" />
3587 </page>
3588
3589 <page name="filemanageracction">
3590 <object type="template" name="header" />
3591
3592 <object type="text" color="%text_color%">
3593
3594 <font resource="font" />
3595 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3596 <text>%tw_fm_text1%</text>
3597 </object>
3598
3599 <object type="template" name="action_page_console" />
3600
3601 <object type="template" name="progress_bar" />
3602
3603 <object type="action">
3604 <conditions>
3605 <condition var1="tw_operation_state" var2="1" />
3606 <condition var1="tw_operation_status" var2="0" />
3607 </conditions>
3608 <actions>
3609 <action function="set">tw_back=filemanagerlist</action>
3610 <action function="set">tw_complete_text1=File Operation Complete</action>
3611 <action function="page">action_complete</action>
3612 </actions>
3613 </object>
3614
3615 <object type="action">
3616 <conditions>
3617 <condition var1="tw_operation_state" var2="1" />
3618 <condition var1="tw_operation_status" op="!=" var2="0" />
3619 </conditions>
3620 <actions>
3621 <action function="set">tw_complete_text1=File Operation Complete</action>
3622 <action function="page">action_complete</action>
3623 </actions>
3624 </object>
3625
3626 <object type="action">
3627 <condition var1="tw_include_text3" var2="0" />
3628 <actions>
3629 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3630 </actions>
3631 </object>
3632
3633 <object type="action">
3634 <condition var1="tw_include_text3" var2="1" />
3635 <actions>
3636 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3637 </actions>
3638 </object>
3639 </page>
3640
3641 <page name="decrypt">
3642 <object type="template" name="header" />
3643
3644 <object type="text" color="%text_color%">
3645 <font resource="font" />
3646 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3647 <text>Please Enter Your Password</text>
3648 </object>
3649
3650 <object type="input">
3651 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3652 <background color="%input_background_color%" />
3653 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3654 <font resource="font" color="%text_color%" />
3655 <text>%tw_crypto_display%</text>
3656 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3657 <restrict minlen="1" maxlen="254" />
3658 <actions>
3659 <action function="page">trydecrypt</action>
3660 </actions>
3661 </object>
3662
3663 <object type="text" color="%text_fail_color%">
3664 <condition var1="tw_password_fail" var2="1" />
3665 <font resource="font" />
3666 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3667 <text>Password Failed, Please Try Again</text>
3668 </object>
3669
3670 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003671 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003672 <placement x="%col_center_x%" y="%row2_y%" />
3673 <font resource="font" color="%button_text_color%" />
3674 <text>Cancel</text>
3675 <image resource="main_button" />
3676 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003677 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003678 <action function="page">main</action>
3679 </actions>
3680 </object>
3681
3682 <object type="template" name="keyboardtemplate" />
3683
Dees_Troy51a0e822012-09-05 15:24:24 -04003684 <object type="template" name="footer" />
3685 </page>
3686
3687 <page name="trydecrypt">
3688 <object type="template" name="header" />
3689
3690 <object type="text" color="%text_color%">
3691 <font resource="font" />
3692 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3693 <text>Trying Decryption with Your Password</text>
3694 </object>
3695
3696 <object type="template" name="action_page_console" />
3697
3698 <object type="template" name="progress_bar" />
3699
3700 <object type="action">
3701 <action function="decrypt"></action>
3702 </object>
3703
3704 <object type="action">
3705 <conditions>
3706 <condition var1="tw_operation_state" var2="1" />
3707 <condition var1="tw_operation_status" op="!=" var2="0" />
3708 </conditions>
3709 <actions>
3710 <action function="set">tw_password_fail=1</action>
3711 <action function="page">decrypt</action>
3712 </actions>
3713 </object>
3714
3715 <object type="action">
3716 <conditions>
3717 <condition var1="tw_operation_state" var2="1" />
3718 <condition var1="tw_operation_status" op="=" var2="0" />
3719 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003720 <actions>
3721 <action function="set">tw_page_done=1</action>
3722 <action function="page">main</action>
3723 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003724 </object>
3725 </page>
3726
3727 <page name="terminalfolder">
3728 <object type="template" name="header" />
3729
3730 <object type="text" color="%text_color%">
3731 <font resource="font" />
3732 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3733 <text>Browse to Starting Folder</text>
3734 </object>
3735
3736 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003737 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003738 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3739 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3740 <text>%tw_terminal_location%</text>
3741 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3742 <sort name="tw_gui_sort_order" />
3743 <icon folder="folder_icon" file="file_icon" />
3744 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003745 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003746 <filter folders="1" files="0" />
3747 <path name="tw_terminal_location" default="/" />
3748 <data name="tw_terminal" />
3749 <selection name="tw_terminal_selection" />
3750 </object>
3751
3752 <object type="template" name="sort_options" />
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">advanced</action>
3762 </object>
3763
3764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3767 <font resource="font" color="%button_text_color%" />
3768 <text>Select</text>
3769 <image resource="medium_button" />
3770 <actions>
3771 <action function="page">terminalcommand</action>
3772 </actions>
3773 </object>
3774
3775 <object type="template" name="footer" />
3776 </page>
3777
3778 <page name="terminalcommand">
3779 <object type="template" name="header" />
3780
3781 <object type="console">
3782 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3783 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3784 <font resource="fixed" />
3785 </object>
3786
3787 <object type="text" color="%text_color%">
3788 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3789 <font resource="font" />
3790 <text>Starting Path: %tw_terminal_location%</text>
3791 </object>
3792
3793 <object type="input">
3794 <condition var1="tw_terminal_state" var2="0" />
3795 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3796 <background color="%input_background_color%" />
3797 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3798 <font resource="font" color="%text_color%" />
3799 <text>%tw_terminal_command%</text>
3800 <data name="tw_terminal_command" />
3801 <restrict minlen="1" />
3802 <action function="terminalcommand">%tw_terminal_command%</action>
3803 </object>
3804
3805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003806 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003807 <condition var1="tw_terminal_state" var2="1" />
3808 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3809 <font resource="font" color="%button_text_color%" />
3810 <text>KILL</text>
3811 <image resource="medium_button" />
3812 <action function="killterminal"></action>
3813 </object>
3814
3815 <object type="template" name="keyboardtemplate" />
3816
3817 <object type="action">
3818 <touch key="home" />
3819 <action function="page">main</action>
3820 </object>
3821
3822 <object type="action">
3823 <touch key="back" />
3824 <action function="page">terminalfolder</action>
3825 </object>
3826 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003827
3828 <page name="sideload">
3829 <object type="template" name="header" />
3830
3831 <object type="text" color="%text_color%">
3832 <font resource="font" />
3833 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3834 <text>ADB Sideload</text>
3835 </object>
3836
3837 <object type="checkbox">
3838 <placement x="%col1_x%" y="%row2_text_y%" />
3839 <font resource="font" color="%text_color%" />
3840 <text>Wipe Dalvik Cache.</text>
3841 <data variable="tw_wipe_dalvik" />
3842 <image checked="checkbox_true" unchecked="checkbox_false" />
3843 </object>
3844
3845 <object type="checkbox">
3846 <placement x="%col1_x%" y="%row3_text_y%" />
3847 <font resource="font" color="%text_color%" />
3848 <text>Wipe Cache.</text>
3849 <data variable="tw_wipe_cache" />
3850 <image checked="checkbox_true" unchecked="checkbox_false" />
3851 </object>
3852
3853 <object type="slider">
3854 <placement x="%slider_x%" y="%slider_y%" />
3855 <resource base="slider" used="slider-used" touch="slider-touch" />
3856 <actions>
3857 <action function="set">tw_back=advanced</action>
3858 <action function="set">tw_action=adbsideload</action>
3859 <action function="set">tw_action_text1=ADB Sideload</action>
3860 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3861 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3862 <action function="set">tw_has_cancel=1</action>
3863 <action function="set">tw_show_reboot=1</action>
3864 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3865 <action function="page">action_page</action>
3866 </actions>
3867 </object>
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3872 <text>Swipe to Start Sideload</text>
3873 </object>
3874
3875 <object type="action">
3876 <touch key="home" />
3877 <action function="page">main</action>
3878 </object>
3879
3880 <object type="action">
3881 <touch key="back" />
3882 <action function="page">advanced</action>
3883 </object>
3884
3885 <object type="template" name="footer" />
3886 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003887
3888 <page name="installsu">
3889 <object type="template" name="header" />
3890
3891 <object type="text" color="%text_color%">
3892 <font resource="font" />
3893 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3894 <text>Install SuperSU?</text>
3895 </object>
3896
3897 <object type="text" color="%text_color%">
3898 <font resource="font" />
3899 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3900 <text>Your device does not appear to be rooted.</text>
3901 </object>
3902
3903 <object type="text" color="%text_color%">
3904 <font resource="font" />
3905 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3906 <text>Install SuperSU now?</text>
3907 </object>
3908
3909 <object type="text" color="%text_color%">
3910 <font resource="font" />
3911 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3912 <text>This will root your device.</text>
3913 </object>
3914
3915 <object type="button">
3916 <highlight color="%highlight_color%" />
3917 <placement x="%col_center_x%" y="%row3_y%" />
3918 <font resource="font" color="%button_text_color%" />
3919 <text>Do Not Install</text>
3920 <image resource="main_button" />
3921 <action function="set">tw_page_done=1</action>
3922 </object>
3923
3924 <object type="slider">
3925 <placement x="%slider_x%" y="%slider_y%" />
3926 <resource base="slider" used="slider-used" touch="slider-touch" />
3927 <actions>
3928 <action function="set">tw_action=installsu</action>
3929 <action function="set">tw_action_text1=Installing SuperSU</action>
3930 <action function="set">tw_action_text2=</action>
3931 <action function="page">singleaction_page</action>
3932 </actions>
3933 </object>
3934
3935 <object type="text" color="%text_color%">
3936 <font resource="font" />
3937 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3938 <text>Swipe to Install</text>
3939 </object>
3940 </page>
3941
3942 <page name="fixsu">
3943 <object type="template" name="header" />
3944
3945 <object type="text" color="%text_color%">
3946 <font resource="font" />
3947 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3948 <text>Fix Superuser Permissions?</text>
3949 </object>
3950
3951 <object type="text" color="%text_color%">
3952 <font resource="font" />
3953 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3954 <text>Root permissions appear to be lost.</text>
3955 </object>
3956
3957 <object type="text" color="%text_color%">
3958 <font resource="font" />
3959 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3960 <text>Fix root permissions now?</text>
3961 </object>
3962
3963 <object type="text" color="%text_color%">
3964 <font resource="font" />
3965 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3966 <text>(Fixes permissions on su binary & app)</text>
3967 </object>
3968
3969 <object type="button">
3970 <highlight color="%highlight_color%" />
3971 <placement x="%col_center_x%" y="%row3_y%" />
3972 <font resource="font" color="%button_text_color%" />
3973 <text>Do Not Fix</text>
3974 <image resource="main_button" />
3975 <action function="set">tw_page_done=1</action>
3976 </object>
3977
3978 <object type="slider">
3979 <placement x="%slider_x%" y="%slider_y%" />
3980 <resource base="slider" used="slider-used" touch="slider-touch" />
3981 <actions>
3982 <action function="set">tw_action=fixsu</action>
3983 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3984 <action function="set">tw_action_text2=</action>
3985 <action function="page">singleaction_page</action>
3986 </actions>
3987 </object>
3988
3989 <object type="text" color="%text_color%">
3990 <font resource="font" />
3991 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3992 <text>Swipe to Fix Root</text>
3993 </object>
3994 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003995 </pages>
3996</recovery>