blob: f7226f0fa3af3746c66c4baf388c1bf9471b0dd6 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" 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" />
42 </resources>
43
44 <variables>
Dees_Troya13d74f2013-03-24 08:54:55 -050045 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="415" />
Dees_Troy51a0e822012-09-05 15:24:24 -040047 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040048 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040049 <variable name="center_x" value="400" />
50 <variable name="row1_y" value="185" />
51 <variable name="row2_y" value="425" />
52 <variable name="row3_y" value="665" />
53 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="row_queue_y" value="710" />
55 <variable name="row1_header_y" value="131" />
56 <variable name="row1_text_y" value="170" />
57 <variable name="row2_text_y" value="220" />
58 <variable name="row3_text_y" value="270" />
59 <variable name="row4_text_y" value="320" />
60 <variable name="row5_text_y" value="370" />
61 <variable name="row6_text_y" value="420" />
62 <variable name="row7_text_y" value="470" />
63 <variable name="row8_text_y" value="520" />
64 <variable name="row9_text_y" value="570" />
65 <variable name="row10_text_y" value="620" />
66 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040067 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040068 <variable name="row13_text_y" value="770" />
69 <variable name="row14_text_y" value="820" />
70 <variable name="row15_text_y" value="870" />
71 <variable name="row16_text_y" value="920" />
72 <variable name="row17_text_y" value="970" />
73 <variable name="row18_text_y" value="1020" />
74 <variable name="zip_status_y" value="640" />
75 <variable name="tz_selected_y" value="160" />
76 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040077 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040078 <variable name="col_progressbar_x" value="264" />
79 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040080 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="208" />
82 <variable name="col3_medium_x" value="406" />
83 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040084 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="230" />
86 <variable name="row3_medium_y" value="330" />
87 <variable name="row4_medium_y" value="430" />
88 <variable name="row5_medium_y" value="530" />
89 <variable name="row6_medium_y" value="840" />
90 <variable name="row7_medium_y" value="730" />
91 <variable name="slider_x" value="98" />
92 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040093 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040094 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="50" />
100 <variable name="home_button_y" value="1226" />
101 <variable name="back_button_x" value="666" />
102 <variable name="back_button_y" value="1226" />
103 <variable name="sort_text_x" value="85" />
104 <variable name="sort_asc_text_y" value="1090" />
105 <variable name="sort_asc_button_y" value="1080" />
106 <variable name="sort_desc_text_y" value="1150" />
107 <variable name="sort_desc_button_y" value="1140" />
108 <variable name="sort_col1_button_x" value="330" />
109 <variable name="sort_col2_button_x" value="430" />
110 <variable name="sort_col3_button_x" value="530" />
111 <variable name="input_width" value="750" />
112 <variable name="input_height" value="50" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="800" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="470" />
122 <variable name="console_install_height" value="600" />
123 <variable name="console_installdone_height" value="440" />
124 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500125 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400126 <variable name="fileselector_install_height" value="750" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600134 <variable name="fileselector_highlight_color" value="#505050" />
135 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100137 <variable name="fastscroll_linecolor" value="#808080" />
138 <variable name="fastscroll_rectcolor" value="#808080" />
139 <variable name="fastscroll_w" value="60" />
140 <variable name="fastscroll_linew" value="2" />
141 <variable name="fastscroll_rectw" value="40" />
142 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500144 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600145 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="listbox_background" value="#303030" />
147 <variable name="listbox_spacing" value="16" />
148 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400149 <variable name="sdext_text_x" value="115" />
150 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400152 <variable name="sdswap_text_x" value="115" />
153 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400154 <variable name="sdfilesystem_text_y" value="340" />
155 <variable name="sdfilesystem_button_y" value="380" />
156 <variable name="lock_x" value="200" />
157 <variable name="lock_y" value="400" />
158 <variable name="filemanager_select_x" value="320" />
159 <variable name="filemanager_select_y" value="950" />
160 <variable name="backup_name_y" value="550" />
161 <variable name="terminal_console_height" value="600" />
162 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="terminal_button_y" value="620" />
164 <variable name="row_dst_text_y" value="720" />
165 <variable name="row_offset_text_y" value="800" />
166 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500167 <variable name="button_fill_color" value="#303030" />
168 <variable name="button_fill_full_width" value="780" />
169 <variable name="button_fill_main_width" value="375" />
170 <variable name="button_fill_main_height" value="240" />
171 <variable name="button_fill_half_height" value="120" />
172 <variable name="button_fill_quarter_height" value="54" />
173 <variable name="backup_list_height" value="570" />
174 <variable name="backup_button_row1" value="745" />
175 <variable name="backup_button_row2" value="810" />
176 <variable name="mount_list_height" value="690" />
177 <variable name="mount_storage_row" value="830" />
178 <variable name="storage_list_height" value="875" />
179 <variable name="wipe_list_height" value="870" />
180 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200181 <variable name="slidervalue_w" value="780" />
182 <variable name="slidervalue_line_clr" value="#FFFFFF" />
183 <variable name="slidervalue_slider_clr" value="#33B5E5" />
184 <variable name="slidervalue_lineh" value="2" />
185 <variable name="slidervalue_padding" value="20" />
186 <variable name="slidervalue_sliderw" value="10" />
187 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400188 </variables>
189
190 <templates>
191 <template name="header">
192 <background color="#000000FF" />
193
194 <object type="image">
195 <image resource="top_bar" />
196 <placement x="0" y="0" />
197 </object>
198
199 <object type="text" color="%text_color%">
200 <font resource="font" />
201 <placement x="120" y="10" />
202 <text>Team Win Recovery Project v%tw_version%</text>
203 </object>
204
205 <object type="text" color="%text_color%">
206 <condition var1="tw_simulate_actions" var2="1" />
207 <font resource="font" />
208 <placement x="120" y="45" />
209 <text>SIMULATING ACTIONS</text>
210 </object>
211
212 <object type="text" color="%text_color%">
213 <font resource="font" />
214 <placement x="120" y="76" />
215 <text>%tw_time%</text>
216 </object>
217
218 <object type="text" color="%text_color%">
219 <font resource="font" />
220 <placement x="270" y="76" />
221 <conditions>
222 <condition var1="tw_no_battery_percent" var2="0" />
223 <condition var1="tw_battery" op=">" var2="0" />
224 <condition var1="tw_battery" op="<" var2="101" />
225 </conditions>
226 <text>Battery: %tw_battery%</text>
227 </object>
228
229 <object type="button">
230 <placement x="%home_button_x%" y="%home_button_y%" />
231 <font resource="font" color="%button_text_color%" />
232 <text></text>
233 <image resource="home_icon" />
234 <condition var1="tw_busy" var2="0" />
235 <action function="key">home</action>
236 </object>
237
238 <object type="button">
239 <placement x="%back_button_x%" y="%back_button_y%" />
240 <font resource="font" color="%button_text_color%" />
241 <text></text>
242 <image resource="back_icon" />
243 <condition var1="tw_busy" var2="0" />
244 <action function="key">back</action>
245 </object>
246
247 <object type="action">
248 <touch key="power" />
249 <action function="overlay">lock</action>
250 </object>
251 </template>
252
253 <template name="progress_bar">
254 <object type="progressbar">
255 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
256 <resource empty="progress_empty" full="progress_full" />
257 <data name="ui_progress" />
258 </object>
259
260 <object type="animation">
261 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
262 <resource name="progress" />
263 <speed fps="15" render="2" />
264 <loop frame="1" />
265 </object>
266 </template>
267
268 <template name="sort_options">
269 <object type="text" color="%text_color%">
270 <font resource="font" />
271 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
272 <text>Sort Ascending:</text>
273 </object>
274
275 <object type="button">
276 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
277 <font resource="font" color="%button_text_color%" />
278 <text>Name</text>
279 <image resource="sort_button" />
280 <action function="set">tw_gui_sort_order=1</action>
281 </object>
282
283 <object type="button">
284 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
285 <font resource="font" color="%button_text_color%" />
286 <text>Date</text>
287 <image resource="sort_button" />
288 <action function="set">tw_gui_sort_order=2</action>
289 </object>
290
291 <object type="button">
292 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Size</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=3</action>
297 </object>
298
299 <object type="text" color="%text_color%">
300 <font resource="font" />
301 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
302 <text>Sort Descending:</text>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
307 <font resource="font" color="%button_text_color%" />
308 <text>Name</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=-1</action>
311 </object>
312
313 <object type="button">
314 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
315 <font resource="font" color="%button_text_color%" />
316 <text>Date</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=-2</action>
319 </object>
320
321 <object type="button">
322 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
323 <font resource="font" color="%button_text_color%" />
324 <text>Size</text>
325 <image resource="sort_button" />
326 <action function="set">tw_gui_sort_order=-3</action>
327 </object>
328 </template>
329
330 <template name="action_page_console">
331 <object type="console">
332 <placement x="0" y="%row3_text_y%" w="800" h="600" />
333 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
334 <font resource="fixed" />
335 </object>
336 </template>
337
338 <template name="footer">
339 <object type="console">
340 <slideout resource="slideout" x="355" y="1220" />
341 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
342 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
343 <font resource="fixed" />
344 </object>
345 </template>
346
347 <template name="keyboardtemplate">
348 <object type="keyboard">
349 <placement x="0" y="740" />
350 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600351 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400352 <layout1>
353 <keysize height="115" width="80" />
354 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600355 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
356 <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000357 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400358 </layout1>
359 <layout2>
360 <keysize height="116" width="80" />
361 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600362 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
363 <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400364 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
365 </layout2>
366 <layout3>
367 <keysize height="115" width="80" />
368 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
369 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600370 <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
372 </layout3>
373 <layout4>
374 <keysize height="116" width="80" />
375 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
376 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600377 <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400378 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
379 </layout4>
380 </object>
381 </template>
382 </templates>
383
384 <pages>
385 <page name="main">
386 <object type="action">
387 <actions>
388 <action function="set">tw_clear_destination=main2</action>
389 <action function="page">clear_vars</action>
390 </actions>
391 </object>
392 </page>
393
394 <page name="main2">
395 <object type="template" name="header" />
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="%col1_x%" y="%row1_y%" />
400 <font resource="font" color="%button_text_color%" />
401 <text>Install</text>
402 <image resource="main_button" />
403 <actions>
404 <action function="queueclear"></action>
405 <action function="page">install</action>
406 </actions>
407 </object>
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col2_x%" y="%row1_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Wipe</text>
414 <image resource="main_button" />
415 <action function="page">wipe</action>
416 </object>
417
418 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600419 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400420 <placement x="%col1_x%" y="%row2_y%" />
421 <font resource="font" color="%button_text_color%" />
422 <text>Backup</text>
423 <image resource="main_button" />
424 <action function="page">backup</action>
425 </object>
426
427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400429 <placement x="%col2_x%" y="%row2_y%" />
430 <font resource="font" color="%button_text_color%" />
431 <text>Restore</text>
432 <image resource="main_button" />
433 <action function="page">restore</action>
434 </object>
435
436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400438 <placement x="%col1_x%" y="%row3_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Mount</text>
441 <image resource="main_button" />
442 <action function="page">mount</action>
443 </object>
444
445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400447 <placement x="%col2_x%" y="%row3_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Settings</text>
450 <image resource="main_button" />
451 <action function="page">settings</action>
452 </object>
453
Dees_Troyb46a6842012-09-25 11:06:46 -0400454
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col1_x%" y="%row4_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Advanced</text>
460 <image resource="main_button" />
461 <action function="page">advanced</action>
462 </object>
463
464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400466 <placement x="%col2_x%" y="%row4_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Reboot</text>
469 <image resource="main_button" />
470 <action function="page">reboot</action>
471 </object>
472
473 <object type="template" name="footer" />
474 </page>
475
476 <page name="install">
477 <object type="template" name="header" />
478
479 <object type="text" color="%text_color%">
480 <font resource="font" />
481 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
482 <text>Select Zip to Install</text>
483 </object>
484
485 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500486 <highlight color="%highlight_color%" />
487 <fill color="%button_fill_color%" />
488 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
489 <font resource="font" color="%button_text_color%" />
490 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
491 <actions>
492 <action function="set">tw_back=install</action>
493 <action function="page">selectstorage</action>
494 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400495 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400496
Dees_Troy51a0e822012-09-05 15:24:24 -0400497 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600498 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500499 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100501 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400502 <text>%tw_zip_location%</text>
503 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
504 <sort name="tw_gui_sort_order" />
505 <icon folder="folder_icon" file="file_icon" />
506 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600507 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400508 <filter extn=".zip" folders="1" files="1" />
509 <path name="tw_zip_location" default="/sdcard" />
510 <data name="tw_filename" />
511 <selection name="tw_file" />
512 </object>
513
514 <object type="template" name="sort_options" />
515
516 <object type="action">
517 <condition var1="tw_filename" op="modified" />
518 <actions>
519 <action function="queuezip"></action>
520 <action function="page">flash_confirm</action>
521 </actions>
522 </object>
523
524 <object type="action">
525 <touch key="back" />
526 <action function="page">main</action>
527 </object>
528
529 <object type="action">
530 <touch key="home" />
531 <action function="page">main</action>
532 </object>
533
534 <object type="template" name="footer" />
535 </page>
536
537 <page name="flash_confirm">
538 <object type="template" name="header" />
539
540 <object type="text" color="%text_color%">
541 <font resource="font" />
542 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
543 <text>This operation may install incompatible</text>
544 </object>
545
546 <object type="text" color="%text_color%">
547 <font resource="font" />
548 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
549 <text>software and render your device unusable.</text>
550 </object>
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
555 <text>Folder:</text>
556 </object>
557
558 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400559 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400560 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
561 <text>%tw_zip_location%</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
567 <text>File to flash:</text>
568 </object>
569
570 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400571 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400572 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
573 <text>%tw_file%</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
578 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
579 <text>Press back to cancel adding this zip.</text>
580 </object>
581
582 <object type="checkbox">
583 <placement x="%col1_x%" y="%row8_text_y%" />
584 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400585 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400586 <data variable="tw_signed_zip_verify" />
587 <image checked="checkbox_true" unchecked="checkbox_false" />
588 </object>
589
590 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400591 <condition var1="tw_has_injecttwrp" var2="1" />
592 <placement x="%col1_x%" y="%row10_text_y%" />
593 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <data variable="tw_inject_after_zip" />
596 <image checked="checkbox_true" unchecked="checkbox_false" />
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
602 <text>File %tw_zip_queue_count% of max of 10</text>
603 </object>
604
605 <object type="slider">
606 <placement x="%slider_x%" y="%slider_y%" placement="5" />
607 <resource base="slider" used="slider-used" touch="slider-touch" />
608 <action function="flash">flash_zip</action>
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400613 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <text>Swipe to Confirm Flash</text>
615 </object>
616
617 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600618 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400619 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
620 <placement x="%col1_x%" y="%row_queue_y%" />
621 <font resource="font" color="%button_text_color%" />
622 <text>Add More Zips</text>
623 <image resource="main_button" />
624 <action function="page">install</action>
625 </object>
626
627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400629 <placement x="%col2_x%" y="%row_queue_y%" />
630 <font resource="font" color="%button_text_color%" />
631 <text>Clear Zip Queue</text>
632 <image resource="main_button" />
633 <actions>
634 <action function="queueclear"></action>
635 <action function="page">install</action>
636 </actions>
637 </object>
638
639 <object type="action">
640 <touch key="back" />
641 <actions>
642 <action function="cancelzip"></action>
643 <action function="page">install</action>
644 </actions>
645 </object>
646
647 <object type="action">
648 <touch key="home" />
649 <action function="page">main</action>
650 </object>
651
652 <object type="template" name="footer" />
653 </page>
654
655 <page name="flash_zip">
656 <object type="template" name="header" />
657
658 <object type="console">
659 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
660 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
661 <font resource="fixed" />
662 </object>
663
664 <object type="text" color="%text_color%">
665 <font resource="font" />
666 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
667 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
668 </object>
669
670 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400671 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400672 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
673 <text>%tw_filename%</text>
674 </object>
675
676 <object type="template" name="progress_bar" />
677
678 <object type="action">
679 <condition var1="tw_operation_state" var2="1" />
680 <action function="page">flash_done</action>
681 </object>
682 </page>
683
684 <page name="flash_done">
685 <object type="template" name="header" />
686
687 <object type="text" color="%text_color%">
688 <font resource="font" />
689 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
690 <text>Zip Install Complete</text>
691 </object>
692
693 <object type="console">
694 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
695 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
696 <font resource="fixed" />
697 </object>
698
699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400701 <placement x="%col1_x%" y="%row4_y%" />
702 <font resource="font" color="%button_text_color%" />
703 <text>Wipe cache/dalvik</text>
704 <image resource="main_button" />
705 <actions>
706 <action function="set">tw_back=flash_done</action>
707 <action function="set">tw_action=wipe</action>
708 <action function="set">tw_action_param=/cache</action>
709 <action function="set">tw_has_action2=1</action>
710 <action function="set">tw_action2=wipe</action>
711 <action function="set">tw_action2_param=dalvik</action>
712 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
713 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
714 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
715 <action function="set">tw_slider_text=Swipe to Wipe</action>
716 <action function="page">confirm_action</action>
717 </actions>
718 </object>
719
720 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600721 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400722 <placement x="%col2_x%" y="%row4_y%" />
723 <font resource="font" color="%button_text_color%" />
724 <text>Reboot System</text>
725 <image resource="main_button" />
726 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400727 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400728 <action function="set">tw_action=reboot</action>
729 <action function="set">tw_action_param=system</action>
730 <action function="set">tw_has_action2=0</action>
731 <action function="set">tw_text1=No OS Installed! Are you</action>
732 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400733 <action function="set">tw_text3=</action>
734 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400736 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400737 <action function="set">tw_complete_text1=Rebooting...</action>
738 <action function="set">tw_slider_text=Swipe to Reboot</action>
739 <action function="page">rebootcheck</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="%col_center_x%" y="%row3_y%" />
746 <font resource="font" color="%button_text_color%" />
747 <text>Home</text>
748 <image resource="main_button" />
749 <actions>
750 <action function="set">tw_clear_destination=main2</action>
751 <action function="page">clear_vars</action>
752 </actions>
753 </object>
754
755 <object type="text" color="%text_fail_color%">
756 <condition var1="tw_operation_status" op="!=" var2="0" />
757 <font resource="font" />
758 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
759 <text>Failed</text>
760 </object>
761
762 <object type="text" color="%text_success_color%">
763 <condition var1="tw_operation_status" var2="0" />
764 <font resource="font" />
765 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
766 <text>Successful</text>
767 </object>
768
769 <object type="action">
770 <touch key="back" />
771 <actions>
772 <action function="set">tw_clear_destination=install</action>
773 <action function="page">clear_vars</action>
774 </actions>
775 </object>
776
777 <object type="action">
778 <touch key="home" />
779 <actions>
780 <action function="set">tw_clear_destination=main2</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </object>
784 </page>
785
786 <page name="clear_vars">
787 <object type="action">
788 <action function="set">tw_operation_state=0</action>
789 <action function="set">tw_text1=</action>
790 <action function="set">tw_text2=</action>
791 <action function="set">tw_text3=</action>
792 <action function="set">tw_text4=</action>
793 <action function="set">tw_action_text1=</action>
794 <action function="set">tw_action_text2=</action>
795 <action function="set">tw_action_param=</action>
796 <action function="set">tw_has_action2=0</action>
797 <action function="set">tw_action2=</action>
798 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400799 <action function="set">tw_has_cancel=0</action>
800 <action function="set">tw_cancel_action=</action>
801 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400802 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400803 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400804 <action function="page">%tw_clear_destination%</action>
805 </object>
806 </page>
807
808 <page name="confirm_action">
809 <object type="template" name="header" />
810
811 <object type="text" color="%text_color%">
812 <font resource="font" />
813 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
814 <text>%tw_text1%</text>
815 </object>
816
817 <object type="text" color="%text_color%">
818 <font resource="font" />
819 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
820 <text>%tw_text2%</text>
821 </object>
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
826 <text>%tw_text3%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
832 <text>%tw_text4%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400837 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400838 <text>Press back button to cancel.</text>
839 </object>
840
841 <object type="slider">
842 <placement x="%slider_x%" y="%slider_y%" />
843 <resource base="slider" used="slider-used" touch="slider-touch" />
844 <action function="page">action_page</action>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400849 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400850 <text>%tw_slider_text%</text>
851 </object>
852
853 <object type="action">
854 <touch key="back" />
855 <actions>
856 <action function="set">tw_clear_destination=%tw_back%</action>
857 <action function="page">clear_vars</action>
858 </actions>
859 </object>
860
861 <object type="action">
862 <touch key="home" />
863 <action function="page">main</action>
864 </object>
865
866 <object type="template" name="footer" />
867 </page>
868
869 <page name="action_page">
870 <object type="template" name="header" />
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
875 <text>%tw_action_text1%</text>
876 </object>
877
878 <object type="text" color="%text_color%">
879 <font resource="font" />
880 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
881 <text>%tw_action_text2%</text>
882 </object>
883
884 <object type="template" name="action_page_console" />
885
Dees_Troycfb63ae2012-09-19 14:30:17 -0400886 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600887 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400888 <condition var1="tw_has_cancel" var2="1" />
889 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400890 <font resource="font" color="%button_text_color%" />
891 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400892 <image resource="medium_button" />
893 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400894 </object>
895
Dees_Troycfb63ae2012-09-19 14:30:17 -0400896 <object type="template" name="progress_bar" />
897
898 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400899 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400900 <actions>
901 <action function="page">action_complete</action>
902 </actions>
903 </object>
904
905 <object type="action">
906 <condition var1="tw_has_action2" var2="0" />
907 <actions>
908 <action function="%tw_action%">%tw_action_param%</action>
909 </actions>
910 </object>
911
912 <object type="action">
913 <condition var1="tw_has_action2" var2="1" />
914 <actions>
915 <action function="%tw_action%">%tw_action_param%</action>
916 <action function="%tw_action2%">%tw_action2_param%</action>
917 </actions>
918 </object>
919 </page>
920
Dees_Troy6ef66352013-02-21 08:26:57 -0600921 <page name="singleaction_page">
922 <object type="template" name="header" />
923
924 <object type="text" color="%text_color%">
925 <font resource="font" />
926 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
927 <text>%tw_action_text1%</text>
928 </object>
929
930 <object type="text" color="%text_color%">
931 <font resource="font" />
932 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
933 <text>%tw_action_text2%</text>
934 </object>
935
936 <object type="template" name="action_page_console" />
937
938 <object type="template" name="progress_bar" />
939
940 <object type="action">
941 <condition var1="tw_operation_state" var2="1" />
942 <actions>
943 <action function="set">tw_page_done=1</action>
944 </actions>
945 </object>
946
947 <object type="action">
948 <condition var1="tw_has_action2" var2="0" />
949 <actions>
950 <action function="%tw_action%">%tw_action_param%</action>
951 </actions>
952 </object>
953
954 <object type="action">
955 <condition var1="tw_has_action2" var2="1" />
956 <actions>
957 <action function="%tw_action%">%tw_action_param%</action>
958 <action function="%tw_action2%">%tw_action2_param%</action>
959 </actions>
960 </object>
961 </page>
962
Dees_Troy51a0e822012-09-05 15:24:24 -0400963 <page name="action_complete">
964 <object type="template" name="header" />
965
966 <object type="text" color="%text_color%">
967 <font resource="font" />
968 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
969 <text>%tw_complete_text1%</text>
970 </object>
971
972 <object type="text" color="%text_fail_color%">
973 <condition var1="tw_operation_status" op="!=" var2="0" />
974 <font resource="font" />
975 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
976 <text>Failed</text>
977 </object>
978
979 <object type="text" color="%text_success_color%">
980 <condition var1="tw_operation_status" var2="0" />
981 <font resource="font" />
982 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
983 <text>Successful</text>
984 </object>
985
986 <object type="template" name="action_page_console" />
987
988 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600989 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400990 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400991 <placement x="%col_center_x%" y="%row4_y%" />
992 <font resource="font" color="%button_text_color%" />
993 <text>Back</text>
994 <image resource="main_button" />
995 <actions>
996 <action function="set">tw_clear_destination=%tw_back%</action>
997 <action function="page">clear_vars</action>
998 </actions>
999 </object>
1000
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001002 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001003 <condition var1="tw_show_reboot" var2="1" />
1004 <placement x="%col_center_x%" y="%row4_y%" />
1005 <font resource="font" color="%button_text_color%" />
1006 <text>Reboot System</text>
1007 <image resource="main_button" />
1008 <actions>
1009 <action function="set">tw_back=main2</action>
1010 <action function="set">tw_action=reboot</action>
1011 <action function="set">tw_action_param=system</action>
1012 <action function="set">tw_has_action2=0</action>
1013 <action function="set">tw_text1=No OS Installed! Are you</action>
1014 <action function="set">tw_text2=sure you wish to reboot?</action>
1015 <action function="set">tw_text3=</action>
1016 <action function="set">tw_text4=</action>
1017 <action function="set">tw_action_text1=Rebooting...</action>
1018 <action function="set">tw_action_text2=</action>
1019 <action function="set">tw_complete_text1=Rebooting...</action>
1020 <action function="set">tw_slider_text=Swipe to Reboot</action>
1021 <action function="page">rebootcheck</action>
1022 </actions>
1023 </object>
1024
Dees_Troy51a0e822012-09-05 15:24:24 -04001025 <object type="action">
1026 <touch key="home" />
1027 <actions>
1028 <action function="set">tw_clear_destination=main2</action>
1029 <action function="page">clear_vars</action>
1030 </actions>
1031 </object>
1032
1033 <object type="action">
1034 <touch key="back" />
1035 <actions>
1036 <action function="set">tw_clear_destination=%tw_back%</action>
1037 <action function="page">clear_vars</action>
1038 </actions>
1039 </object>
1040 </page>
1041
1042 <page name="filecheck">
1043 <object type="action">
1044 <action function="fileexists">%tw_filecheck%</action>
1045 </object>
1046
1047 <object type="action">
1048 <conditions>
1049 <condition var1="tw_operation_state" var2="1" />
1050 <condition var1="tw_operation_status" var2="0" />
1051 </conditions>
1052 <actions>
1053 <action function="set">tw_fileexists=1</action>
1054 <action function="page">%tw_existpage%</action>
1055 </actions>
1056 </object>
1057
1058 <object type="action">
1059 <conditions>
1060 <condition var1="tw_operation_state" var2="1" />
1061 <condition var1="tw_operation_status" var2="1" />
1062 </conditions>
1063 <actions>
1064 <action function="set">tw_fileexists=0</action>
1065 <action function="page">%tw_notexistpage%</action>
1066 </actions>
1067 </object>
1068 </page>
1069
1070 <page name="rebootcheck">
1071 <object type="action">
1072 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1073 <action function="reboot">%tw_action_param%</action>
1074 </object>
1075
1076 <object type="action">
1077 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1078 <action function="page">confirm_action</action>
1079 </object>
1080 </page>
1081
1082 <page name="wipe">
1083 <object type="template" name="header" />
1084
1085 <object type="text" color="%text_color%">
1086 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001087 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001088 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001089 </object>
1090
1091 <object type="text" color="%text_color%">
1092 <font resource="font" />
1093 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1094 <text>Wipes Data, Cache, and Dalvik</text>
1095 </object>
1096
1097 <object type="text" color="%text_color%">
1098 <condition var1="tw_has_data_media" var2="0" />
1099 <font resource="font" />
1100 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1101 <text>.android_secure</text>
1102 </object>
1103
1104 <object type="text" color="%text_color%">
1105 <condition var1="tw_has_data_media" var2="1" />
1106 <font resource="font" />
1107 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1108 <text>(not including internal storage)</text>
1109 </object>
1110
1111 <object type="text" color="%text_color%">
1112 <condition var1="tw_has_sdext_partition" var2="1" />
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1115 <text>SD-EXT</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <font resource="font" />
1120 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1121 <text>Most of the time this is</text>
1122 </object>
1123
1124 <object type="text" color="%text_color%">
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1127 <text>the only wipe that you need.</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <font resource="font" />
1132 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1133 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001134 </object>
1135
1136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001137 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001138 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001140 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001142 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 </object>
1144
1145 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 <conditions>
1147 <condition var1="tw_has_internal" var2="1" />
1148 <condition var1="tw_has_data_media" var2="1" />
1149 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001150 <highlight color="%highlight_color%" />
1151 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001152 <font resource="font" color="%button_text_color%" />
1153 <text>Format Data</text>
1154 <image resource="main_button" />
1155 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001156 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 </actions>
1158 </object>
1159
Dees_Troya13d74f2013-03-24 08:54:55 -05001160 <object type="slider">
1161 <placement x="%slider_x%" y="%slider_y%" />
1162 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001163 <actions>
1164 <action function="set">tw_back=wipe</action>
1165 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001166 <action function="set">tw_action_param=data</action>
1167 <action function="set">tw_action_text1=Factory Reset...</action>
1168 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1169 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001170 </actions>
1171 </object>
1172
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <object type="text" color="%text_color%">
1174 <font resource="font" />
1175 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1176 <text>Swipe to Factory Reset</text>
1177 </object>
1178
1179 <object type="action">
1180 <touch key="back" />
1181 <action function="page">main</action>
1182 </object>
1183
1184 <object type="action">
1185 <touch key="home" />
1186 <action function="page">main</action>
1187 </object>
1188
1189 <object type="template" name="footer" />
1190 </page>
1191
1192 <page name="advancedwipe">
1193 <object type="template" name="header" />
1194
1195 <object type="text" color="%text_color%">
1196 <font resource="font" />
1197 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1198 <text>Wipe Menu</text>
1199 </object>
1200
1201 <object type="partitionlist">
1202 <highlight color="%fileselector_highlight_color%" />
1203 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1204 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1205 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1206 <text>Select Partitions to Wipe:</text>
1207 <icon selected="checkbox_true" unselected="checkbox_false" />
1208 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1209 <background color="%listbox_background%" />
1210 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1211 <data name="tw_wipe_list" />
1212 <listtype name="wipe" />
1213 </object>
1214
1215 <object type="slider">
1216 <placement x="%slider_x%" y="%slider_y%" />
1217 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001219 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001220 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001221 <action function="set">tw_action_param=LIST</action>
1222 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1223 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1224 <action function="set">tw_complete_text1=Wipe Complete</action>
1225 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 </actions>
1227 </object>
1228
Dees_Troya13d74f2013-03-24 08:54:55 -05001229 <object type="text" color="%text_color%">
1230 <font resource="font" />
1231 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1232 <text>Swipe to Wipe</text>
1233 </object>
1234
Dees_Troy51a0e822012-09-05 15:24:24 -04001235 <object type="action">
1236 <touch key="home" />
1237 <action function="page">main</action>
1238 </object>
1239
1240 <object type="action">
1241 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001242 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 </object>
1244
1245 <object type="template" name="footer" />
1246 </page>
1247
Dees_Troya13d74f2013-03-24 08:54:55 -05001248 <page name="formatdata">
1249 <object type="template" name="header" />
1250
1251 <object type="text" color="%text_color%">
1252 <font resource="font" />
1253 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1254 <text>Format Data will wipe all of your apps,</text>
1255 </object>
1256
1257 <object type="text" color="%text_color%">
1258 <font resource="font" />
1259 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1260 <text>backups, pictures, videos, media, and</text>
1261 </object>
1262
1263 <object type="text" color="%text_color%">
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1266 <text>removes encryption on internal storage.</text>
1267 </object>
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1272 <text>This cannot be undone. Press back to cancel.</text>
1273 </object>
1274
1275 <object type="text" color="%text_color%">
1276 <font resource="font" />
1277 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1278 <text>Type yes to continue.</text>
1279 </object>
1280
1281 <object type="input">
1282 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1283 <background color="%input_background_color%" />
1284 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1285 <font resource="font" color="%text_color%" />
1286 <text>%tw_confirm_formatdata%</text>
1287 <data name="tw_confirm_formatdata" />
1288 <restrict minlen="3" maxlen="3" allow="yes" />
1289 <action function="page">formatdata_confirm</action>
1290 </object>
1291
1292 <object type="template" name="keyboardtemplate" />
1293
1294 <object type="action">
1295 <touch key="home" />
1296 <action function="page">main</action>
1297 </object>
1298
1299 <object type="action">
1300 <touch key="back" />
1301 <action function="page">wipe</action>
1302 </object>
1303
1304 <object type="template" name="footer" />
1305 </page>
1306
1307 <page name="formatdata_confirm">
1308 <object type="action">
1309 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1310 <actions>
1311 <action function="set">tw_back=formatdata</action>
1312 <action function="set">tw_action=wipe</action>
1313 <action function="set">tw_action_param=DATAMEDIA</action>
1314 <action function="set">tw_action_text1=Formatting Data...</action>
1315 <action function="set">tw_complete_text1=Data Format Complete</action>
1316 <action function="page">action_page</action>
1317 </actions>
1318 </object>
1319
1320 <object type="action">
1321 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1322 <action function="page">formatdata</function>
1323 </object>
1324 </page>
1325
Dees_Troy51a0e822012-09-05 15:24:24 -04001326 <page name="backup">
1327 <object type="template" name="header" />
1328
Dees_Troyb46a6842012-09-25 11:06:46 -04001329 <object type="text" color="%text_color%">
1330 <font resource="font" />
1331 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1332 <text>Backup Name: %tw_backup_name%</text>
1333 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001334
Dees_Troya13d74f2013-03-24 08:54:55 -05001335 <object type="partitionlist">
1336 <highlight color="%fileselector_highlight_color%" />
1337 <placement x="%listbox_x%" y="%row1_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1338 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1339 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1340 <text>Select Partitions to Back Up:</text>
1341 <icon selected="checkbox_true" unselected="checkbox_false" />
1342 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1343 <background color="%listbox_background%" />
1344 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1345 <data name="tw_backup_list" />
1346 <listtype name="backup" />
1347 </object>
1348
1349 <object type="button">
1350 <highlight color="%highlight_color%" />
1351 <fill color="%button_fill_color%" />
1352 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1353 <font resource="font" color="%button_text_color%" />
1354 <text>Set Backup Name</text>
1355 <actions>
1356 <action function="set">tw_fileexists=0</action>
1357 <action function="page">backupname1</action>
1358 </actions>
1359 </object>
1360
1361 <object type="button">
1362 <highlight color="%highlight_color%" />
1363 <fill color="%button_fill_color%" />
1364 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1365 <font resource="font" color="%button_text_color%" />
1366 <text>Refresh Sizes</text>
1367 <action function="refreshsizes"></action>
1368 </object>
1369
1370 <object type="button">
1371 <highlight color="%highlight_color%" />
1372 <fill color="%button_fill_color%" />
1373 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1374 <font resource="font" color="%button_text_color%" />
1375 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1376 <actions>
1377 <action function="set">tw_back=backup</action>
1378 <action function="page">selectstorage</action>
1379 </actions>
1380 </object>
1381
1382 <object type="checkbox">
1383 <placement x="%col1_x%" y="%row15_text_y%" />
1384 <font resource="font" color="%text_color%" />
1385 <text>Enable compression.</text>
1386 <data variable="tw_use_compression" />
1387 <image checked="checkbox_true" unchecked="checkbox_false" />
1388 </object>
1389
1390 <object type="checkbox">
1391 <placement x="%col1_x%" y="%row16_text_y%" />
1392 <font resource="font" color="%text_color%" />
1393 <text>Skip MD5 generation during backup.</text>
1394 <data variable="tw_skip_md5_generate" />
1395 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001396 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001397
Dees_Troyb46a6842012-09-25 11:06:46 -04001398 <object type="slider">
1399 <placement x="%slider_x%" y="slider_y" />
1400 <resource base="slider" used="slider-used" touch="slider-touch" />
1401 <action function="page">backup_run</action>
1402 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001403
1404 <object type="text" color="%text_color%">
1405 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001406 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001407 <text>Swipe to Back Up</text>
1408 </object>
1409
Dees_Troy51a0e822012-09-05 15:24:24 -04001410 <object type="action">
1411 <touch key="home" />
1412 <action function="page">main</action>
1413 </object>
1414
1415 <object type="action">
1416 <touch key="back" />
1417 <action function="page">main</action>
1418 </object>
1419
1420 <object type="template" name="footer" />
1421 </page>
1422
1423 <page name="backupname1">
1424 <object type="action">
1425 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1426 <action function="set">tw_backup_name=</function>
1427 </object>
1428
1429 <object type="action">
1430 <action function="page">backupname2</function>
1431 </object>
1432 </page>
1433
1434 <page name="backupname2">
1435 <object type="template" name="header" />
1436
1437 <object type="text" color="%text_color%">
1438 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1439 <font resource="font" />
1440 <text>Please Enter a Backup Name</text>
1441 </object>
1442
1443 <object type="input">
1444 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1445 <background color="%input_background_color%" />
1446 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1447 <font resource="font" color="%text_color%" />
1448 <text>%tw_backup_name%</text>
1449 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001450 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 <actions>
1452 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1453 <action function="set">tw_existpage=backupname2</action>
1454 <action function="set">tw_notexistpage=backup</action>
1455 <action function="page">filecheck</action>
1456 </actions>
1457 </object>
1458
1459 <object type="text" color="%text_fail_color%">
1460 <condition var1="tw_fileexists" var2="1" />
1461 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1462 <font resource="font" />
1463 <text>A backup with that name already exists!</text>
1464 </object>
1465
Dees_Troyb46a6842012-09-25 11:06:46 -04001466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001467 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001468 <placement x="%col_center_x%" y="%row2_y%" />
1469 <font resource="font" color="%button_text_color%" />
1470 <text>Cancel</text>
1471 <image resource="main_button" />
1472 <actions>
1473 <action function="set">tw_backup_name=(Current Date)</action>
1474 <action function="page">backup</action>
1475 </actions>
1476 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001477
1478 <object type="template" name="keyboardtemplate" />
1479
Dees_Troyb46a6842012-09-25 11:06:46 -04001480 <object type="action">
1481 <touch key="home" />
1482 <actions>
1483 <action function="set">tw_backup_name=(Current Date)</action>
1484 <action function="page">main</action>
1485 </actions>
1486 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001487
Dees_Troyb46a6842012-09-25 11:06:46 -04001488 <object type="action">
1489 <touch key="back" />
1490 <actions>
1491 <action function="set">tw_backup_name=(Current Date)</action>
1492 <action function="page">backup</action>
1493 </actions>
1494 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001495
1496 <object type="template" name="footer" />
1497 </page>
1498
1499 <page name="backup_run">
1500 <object type="template" name="header" />
1501
1502 <object type="text" color="%text_color%">
1503 <font resource="font" />
1504 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1505 <text>%tw_operation% %tw_partition%</text>
1506 </object>
1507
1508 <object type="template" name="action_page_console" />
1509
1510 <object type="template" name="progress_bar" />
1511
1512 <object type="action">
1513 <action function="nandroid">backup</action>
1514 </object>
1515
1516 <object type="action">
1517 <condition var1="tw_operation_state" var2="1" />
1518 <actions>
1519 <action function="set">tw_back=backup</action>
1520 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001521 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001522 <action function="page">action_complete</action>
1523 </actions>
1524 </object>
1525 </page>
1526
1527 <page name="restore">
1528 <object type="template" name="header" />
1529
1530 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001531 <highlight color="%highlight_color%" />
1532 <fill color="%button_fill_color%" />
1533 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1534 <font resource="font" color="%button_text_color%" />
1535 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1536 <actions>
1537 <action function="set">tw_back=restore</action>
1538 <action function="page">selectstorage</action>
1539 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001540 </object>
1541
1542 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001543 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001544 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001545 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001546 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001547 <text>Select Package to Restore:</text>
1548 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1549 <sort name="tw_gui_sort_order" />
1550 <icon folder="folder_icon" file="file_icon" />
1551 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001552 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001553 <filter folders="1" files="0" nav="0" />
1554 <path name="tw_backups_folder" />
1555 <data name="tw_restore" default="" />
1556 <selection name="tw_restore_name" />
1557 </object>
1558
1559 <object type="template" name="sort_options" />
1560
1561 <object type="action">
1562 <condition var1="tw_restore" op="modified" />
1563 <actions>
1564 <action function="readBackup"></action>
1565 <action function="page">restore_select</action>
1566 </actions>
1567 </object>
1568
1569 <object type="action">
1570 <touch key="home" />
1571 <action function="page">main</action>
1572 </object>
1573
1574 <object type="action">
1575 <touch key="back" />
1576 <action function="page">main</action>
1577 </object>
1578
1579 <object type="template" name="footer" />
1580 </page>
1581
1582 <page name="restore_select">
1583 <object type="template" name="header" />
1584
Dees_Troya13d74f2013-03-24 08:54:55 -05001585 <object type="partitionlist">
1586 <highlight color="%fileselector_highlight_color%" />
1587 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1588 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1589 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001590 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001591 <icon selected="checkbox_true" unselected="checkbox_false" />
1592 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1593 <background color="%listbox_background%" />
1594 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1595 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1596 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001597 </object>
1598
1599 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001600 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001601 <fill color="%button_fill_color%" />
1602 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001603 <font resource="font" color="%button_text_color%" />
1604 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001605 <actions>
1606 <action function="set">tw_backup_rename=</action>
1607 <action function="set">tw_fileexists=0</action>
1608 <action function="page">renamebackup</action>
1609 </actions>
1610 </object>
1611
1612 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001613 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001614 <fill color="%button_fill_color%" />
1615 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001616 <font resource="font" color="%button_text_color%" />
1617 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001618 <actions>
1619 <action function="set">tw_back=restore</action>
1620 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001621 <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 -04001622 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1623 <action function="set">tw_text2=This cannot be undone!</action>
1624 <action function="set">tw_action_text1=Deleting Backup...</action>
1625 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1626 <action function="set">tw_slider_text=Swipe to Delete</action>
1627 <action function="page">confirm_action</action>
1628 </actions>
1629 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001630
Dees_Troya13d74f2013-03-24 08:54:55 -05001631 <object type="checkbox">
1632 <placement x="%col1_x%" y="%row15_text_y%" />
1633 <font resource="font" color="%text_color%" />
1634 <text>Enable MD5 verification of backup files.</text>
1635 <data variable="tw_skip_md5_check" />
1636 <image checked="checkbox_true" unchecked="checkbox_false" />
1637 </object>
1638
1639 <object type="text" color="%text_color%">
1640 <font resource="font" />
1641 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1642 <text>Package Date: %tw_restore_file_date%</text>
1643 </object>
1644
Dees_Troy51a0e822012-09-05 15:24:24 -04001645 <object type="slider">
1646 <placement x="%slider_x%" y="%slider_y%" />
1647 <resource base="slider" used="slider-used" touch="slider-touch" />
1648 <action function="page">restore_run</action>
1649 </object>
1650
1651 <object type="text" color="%text_color%">
1652 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001653 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001654 <text>Swipe to Restore</text>
1655 </object>
1656
Dees_Troy51a0e822012-09-05 15:24:24 -04001657 <object type="action">
1658 <touch key="home" />
1659 <action function="page">main</action>
1660 </object>
1661
1662 <object type="action">
1663 <touch key="back" />
1664 <action function="page">restore</action>
1665 </object>
1666
1667 <object type="template" name="footer" />
1668 </page>
1669
1670 <page name="renamebackup">
1671 <object type="template" name="header" />
1672
1673 <object type="text" color="%text_color%">
1674 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1675 <font resource="font" />
1676 <text>Please Enter a New Backup Name</text>
1677 </object>
1678
1679 <object type="input">
1680 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1681 <background color="%input_background_color%" />
1682 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1683 <font resource="font" color="%text_color%" />
1684 <text>%tw_backup_rename%</text>
1685 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001686 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001687 <actions>
1688 <action function="set">tw_back=restore</action>
1689 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001690 <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 -04001691 <action function="set">tw_text1=Rename Backup?</action>
1692 <action function="set">tw_text2=This cannot be undone!</action>
1693 <action function="set">tw_action_text1=Renaming Backup...</action>
1694 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1695 <action function="set">tw_slider_text=Swipe to Rename</action>
1696 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1697 <action function="set">tw_existpage=renamebackup</action>
1698 <action function="set">tw_notexistpage=confirm_action</action>
1699 <action function="page">filecheck</action>
1700 </actions>
1701 </object>
1702
1703 <object type="text" color="%text_fail_color%">
1704 <condition var1="tw_fileexists" var2="1" />
1705 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1706 <font resource="font" />
1707 <text>A backup with that name already exists!</text>
1708 </object>
1709
1710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001712 <placement x="%col_center_x%" y="%row2_y%" />
1713 <font resource="font" color="%button_text_color%" />
1714 <text>Cancel</text>
1715 <image resource="main_button" />
1716 <action function="page">restore_select</action>
1717 </object>
1718
1719 <object type="template" name="keyboardtemplate" />
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">restore_select</action>
1729 </object>
1730
1731 <object type="template" name="footer" />
1732 </page>
1733
1734 <page name="restore_run">
1735 <object type="template" name="header" />
1736
1737 <object type="text" color="%text_color%">
1738 <font resource="font" />
1739 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1740 <text>%tw_operation% %tw_partition%</text>
1741 </object>
1742
1743 <object type="template" name="action_page_console" />
1744
1745 <object type="template" name="progress_bar" />
1746
1747 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001748 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001749 <actions>
1750 <action function="set">tw_back=restore_select</action>
1751 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001752 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001753 <action function="page">action_complete</action>
1754 </actions>
1755 </object>
1756
1757 <object type="action">
1758 <action function="nandroid">restore</action>
1759 </object>
1760 </page>
1761
Dees_Troya13d74f2013-03-24 08:54:55 -05001762 <page name="selectstorage">
1763 <object type="template" name="header" />
1764
1765 <object type="partitionlist">
1766 <highlight color="%fileselector_highlight_color%" />
1767 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
1768 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1769 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1770 <text>Select Storage:</text>
1771 <icon selected="radio_true" unselected="radio_false" />
1772 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1773 <background color="%listbox_background%" />
1774 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1775 <data name="tw_storage_path" />
1776 <listtype name="storage" />
1777 </object>
1778
1779 <object type="action">
1780 <touch key="home" />
1781 <action function="page">main</action>
1782 </object>
1783
1784 <object type="action">
1785 <touch key="back" />
1786 <actions>
1787 <action function="page">%tw_back%</action>
1788 </actions>
1789 </object>
1790
1791 <object type="template" name="footer" />
1792 </page>
1793
Dees_Troy51a0e822012-09-05 15:24:24 -04001794 <page name="mount">
1795 <object type="template" name="header" />
1796
Dees_Troya13d74f2013-03-24 08:54:55 -05001797 <object type="partitionlist">
1798 <highlight color="%fileselector_highlight_color%" />
1799 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
1800 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1801 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1802 <text>Select Partitions to Mount:</text>
1803 <icon selected="checkbox_true" unselected="checkbox_false" />
1804 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1805 <background color="%listbox_background%" />
1806 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1807 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001808 </object>
1809
1810 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001811 <highlight color="%highlight_color%" />
1812 <fill color="%button_fill_color%" />
1813 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1814 <font resource="font" color="%button_text_color%" />
1815 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1816 <actions>
1817 <action function="set">tw_back=mount</action>
1818 <action function="page">selectstorage</action>
1819 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001820 </object>
1821
1822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001823 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001824 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001825 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001826 <font resource="font" color="%button_text_color%" />
1827 <text>Mount USB Storage</text>
1828 <image resource="main_button" />
1829 <action function="page">usb_mount</action>
1830 </object>
1831
Gary Peckffdc6ae2012-11-21 18:02:02 -08001832 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001833 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001834 <conditions>
1835 <condition var1="tw_is_encrypted" var2="1" />
1836 <condition var1="tw_is_decrypted" var2="0" />
1837 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001838 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001839 <font resource="font" color="%button_text_color%" />
1840 <text>Decrypt Data</text>
1841 <image resource="main_button" />
1842 <action function="page">decrypt</action>
1843 </object>
1844
Dees_Troy51a0e822012-09-05 15:24:24 -04001845 <object type="action">
1846 <touch key="home" />
1847 <action function="page">main</action>
1848 </object>
1849
1850 <object type="action">
1851 <touch key="back" />
1852 <action function="page">main</action>
1853 </object>
1854
1855 <object type="template" name="footer" />
1856 </page>
1857
1858 <page name="usb_mount">
1859 <object type="template" name="header" />
1860
1861 <object type="text" color="%text_color%">
1862 <font resource="font" />
1863 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1864 <text>USB Storage Mounted</text>
1865 </object>
1866
1867 <object type="text" color="%text_color%">
1868 <placement x="%col1_x%" y="%row1_text_y%" />
1869 <font resource="font" />
1870 <text>Be sure to safely remove your device</text>
1871 </object>
1872
1873 <object type="text" color="%text_color%">
1874 <placement x="%col1_x%" y="%row2_text_y%" />
1875 <font resource="font" />
1876 <text>from your computer before unmounting!</text>
1877 </object>
1878
1879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001881 <placement x="%col1_x%" y="%row3_y%" />
1882 <font resource="font" color="%button_text_color%" />
1883 <text>Unmount</text>
1884 <image resource="main_button" />
1885 <action function="page">usb_umount</action>
1886 </object>
1887
1888 <object type="action">
1889 <action function="mount">usb</action>
1890 </object>
1891
1892 <object type="template" name="footer" />
1893 </page>
1894
1895 <page name="usb_umount">
1896 <object type="action">
1897 <action function="unmount">usb</action>
1898 </object>
1899
1900 <object type="action">
1901 <action function="page">mount</action>
1902 </object>
1903 </page>
1904
1905 <page name="reboot">
1906 <object type="template" name="header" />
1907
1908 <object type="text" color="%text_color%">
1909 <font resource="font" />
1910 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1911 <text>Reboot Menu</text>
1912 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001913
Dees_Troy51a0e822012-09-05 15:24:24 -04001914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001915 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001916 <condition var1="tw_reboot_system" var2="1" />
1917 <placement x="%col1_x%" y="%row1_y%" />
1918 <font resource="font" color="%button_text_color%" />
1919 <text>System</text>
1920 <image resource="main_button" />
1921 <actions>
1922 <action function="set">tw_back=reboot</action>
1923 <action function="set">tw_action=reboot</action>
1924 <action function="set">tw_action_param=system</action>
1925 <action function="set">tw_has_action2=0</action>
1926 <action function="set">tw_text1=No OS Installed! Are you</action>
1927 <action function="set">tw_text2=sure you wish to reboot?</action>
1928 <action function="set">tw_action_text1=Rebooting...</action>
1929 <action function="set">tw_complete_text1=Rebooting...</action>
1930 <action function="set">tw_slider_text=Swipe to Reboot</action>
1931 <action function="page">rebootcheck</action>
1932 </actions>
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 <condition var1="tw_reboot_poweroff" var2="1" />
1938 <placement x="%col2_x%" y="%row1_y%" />
1939 <font resource="font" color="%button_text_color%" />
1940 <text>Power Off</text>
1941 <image resource="main_button" />
1942 <actions>
1943 <action function="set">tw_back=reboot</action>
1944 <action function="set">tw_action=reboot</action>
1945 <action function="set">tw_action_param=poweroff</action>
1946 <action function="set">tw_has_action2=0</action>
1947 <action function="set">tw_text1=No OS Installed! Are you</action>
1948 <action function="set">tw_text2=sure you wish to power off?</action>
1949 <action function="set">tw_action_text1=Turning Off...</action>
1950 <action function="set">tw_complete_text1=Turning Off...</action>
1951 <action function="set">tw_slider_text=Swipe to Power Off</action>
1952 <action function="page">rebootcheck</action>
1953 </actions>
1954 </object>
1955
1956 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001957 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001958 <condition var1="tw_reboot_recovery" var2="1" />
1959 <placement x="%col1_x%" y="%row2_y%" />
1960 <font resource="font" color="%button_text_color%" />
1961 <text>Recovery</text>
1962 <image resource="main_button" />
1963 <actions>
1964 <action function="set">tw_back=reboot</action>
1965 <action function="set">tw_action=reboot</action>
1966 <action function="set">tw_action_param=recovery</action>
1967 <action function="set">tw_has_action2=0</action>
1968 <action function="set">tw_text1=No OS Installed! Are you</action>
1969 <action function="set">tw_text2=sure you wish to reboot?</action>
1970 <action function="set">tw_action_text1=Rebooting...</action>
1971 <action function="set">tw_complete_text1=Rebooting...</action>
1972 <action function="set">tw_slider_text=Swipe to Reboot</action>
1973 <action function="page">rebootcheck</action>
1974 </actions>
1975 </object>
1976
1977 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001978 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001979 <condition var1="tw_reboot_bootloader" var2="1" />
1980 <placement x="%col2_x%" y="%row2_y%" />
1981 <font resource="font" color="%button_text_color%" />
1982 <text>Bootloader</text>
1983 <image resource="main_button" />
1984 <actions>
1985 <action function="set">tw_back=reboot</action>
1986 <action function="set">tw_action=reboot</action>
1987 <action function="set">tw_action_param=bootloader</action>
1988 <action function="set">tw_has_action2=0</action>
1989 <action function="set">tw_text1=No OS Installed! Are you</action>
1990 <action function="set">tw_text2=sure you wish to reboot?</action>
1991 <action function="set">tw_action_text1=Rebooting...</action>
1992 <action function="set">tw_complete_text1=Rebooting...</action>
1993 <action function="set">tw_slider_text=Swipe to Reboot</action>
1994 <action function="page">rebootcheck</action>
1995 </actions>
1996 </object>
1997
1998 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001999 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002000 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002001 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002002 <font resource="font" color="%button_text_color%" />
2003 <text>Download</text>
2004 <image resource="main_button" />
2005 <actions>
2006 <action function="set">tw_back=reboot</action>
2007 <action function="set">tw_action=reboot</action>
2008 <action function="set">tw_action_param=download</action>
2009 <action function="set">tw_has_action2=0</action>
2010 <action function="set">tw_text1=No OS Installed! Are you</action>
2011 <action function="set">tw_text2=sure you wish to reboot?</action>
2012 <action function="set">tw_action_text1=Rebooting...</action>
2013 <action function="set">tw_complete_text1=Rebooting...</action>
2014 <action function="set">tw_slider_text=Swipe to Reboot</action>
2015 <action function="page">rebootcheck</action>
2016 </actions>
2017 </object>
2018
2019 <object type="action">
2020 <touch key="home" />
2021 <action function="page">main</action>
2022 </object>
2023
2024 <object type="action">
2025 <touch key="back" />
2026 <action function="page">main</action>
2027 </object>
2028
2029 <object type="template" name="footer" />
2030 </page>
2031
2032 <page name="settings">
2033 <object type="template" name="header" />
2034
2035 <object type="text" color="%text_color%">
2036 <font resource="font" />
2037 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2038 <text>Settings</text>
2039 </object>
2040
2041 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002042 <placement x="%col1_x%" y="%row1_text_y%" />
2043 <font resource="font" color="%text_color%" />
2044 <text>Zip file signature verification.</text>
2045 <data variable="tw_signed_zip_verify" />
2046 <image checked="checkbox_true" unchecked="checkbox_false" />
2047 </object>
2048
2049 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002050 <placement x="%col1_x%" y="%row2_text_y%" />
2051 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002052 <text>Use rm -rf instead of formatting.</text>
2053 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002054 <image checked="checkbox_true" unchecked="checkbox_false" />
2055 </object>
2056
2057 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002058 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002059 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002060 <text>Skip MD5 generation during backup.</text>
2061 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002062 <image checked="checkbox_true" unchecked="checkbox_false" />
2063 </object>
2064
2065 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002066 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002067 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002068 <text>Enable MD5 verification of backup files.</text>
2069 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002070 <image checked="checkbox_true" unchecked="checkbox_false" />
2071 </object>
2072
2073 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002074 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002075 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002076 <text>Use Military Time.</text>
2077 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002078 <image checked="checkbox_true" unchecked="checkbox_false" />
2079 </object>
2080
2081 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002082 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002084 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002085 <data variable="tw_simulate_actions" />
2086 <image checked="checkbox_true" unchecked="checkbox_false" />
2087 </object>
2088
2089 <object type="checkbox">
2090 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002091 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002092 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002093 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002094 <data variable="tw_simulate_fail" />
2095 <image checked="checkbox_true" unchecked="checkbox_false" />
2096 </object>
2097
2098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002099 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002100 <placement x="%col1_x%" y="%row3_y%" />
2101 <font resource="font" color="%button_text_color%" />
2102 <text>Time Zone</text>
2103 <image resource="main_button" />
2104 <action function="page">timezone</action>
2105 </object>
2106
2107 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002108 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002109 <placement x="%col2_x%" y="%row3_y%" />
2110 <font resource="font" color="%button_text_color%" />
2111 <text>Screen</text>
2112 <image resource="main_button" />
2113 <action function="page">screen</action>
2114 </object>
2115
2116 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002117 <placement x="%col_center_x%" y="%row4_y%" />
2118 <font resource="font" color="%button_text_color%" />
2119 <text>Restore Defaults</text>
2120 <image resource="main_button" />
2121 <action function="restoredefaultsettings"></action>
2122 </object>
2123
2124 <object type="action">
2125 <touch key="home" />
2126 <action function="page">main</action>
2127 </object>
2128
2129 <object type="action">
2130 <touch key="back" />
2131 <action function="page">main</action>
2132 </object>
2133
2134 <object type="template" name="footer" />
2135 </page>
2136
2137 <page name="timezone">
2138 <object type="template" name="header" />
2139
Dees_Troy51a0e822012-09-05 15:24:24 -04002140 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002141 <highlight color="%fileselector_highlight_color%" />
2142 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2143 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002144 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002145 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002146 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002147 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002148 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002149 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002150 <data name="tw_time_zone_guisel" />
2151 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2152 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2153 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2154 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2155 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2156 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2157 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2158 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2159 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2160 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2161 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2162 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2163 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2164 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2165 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2166 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2167 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2168 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2169 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2170 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2171 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2172 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2173 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2174 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2175 </object>
2176
2177 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002178 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002179 <font resource="font" color="%text_color%" />
2180 <text>Do you use daylight savings time (DST)?</text>
2181 <data variable="tw_time_zone_guidst" />
2182 <image checked="checkbox_true" unchecked="checkbox_false" />
2183 </object>
2184
2185 <object type="text" color="%text_color%">
2186 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002187 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002188 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2189 </object>
2190
2191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002192 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002193 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002194 <font resource="font" color="%button_text_color%" />
2195 <text>None</text>
2196 <image resource="medium_button" />
2197 <action function="set">tw_time_zone_guioffset=0</action>
2198 </object>
2199
2200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002201 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002202 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002203 <font resource="font" color="%button_text_color%" />
2204 <text>15</text>
2205 <image resource="medium_button" />
2206 <action function="set">tw_time_zone_guioffset=15</action>
2207 </object>
2208
2209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002210 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002211 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002212 <font resource="font" color="%button_text_color%" />
2213 <text>30</text>
2214 <image resource="medium_button" />
2215 <action function="set">tw_time_zone_guioffset=30</action>
2216 </object>
2217
2218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002219 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002220 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002221 <font resource="font" color="%button_text_color%" />
2222 <text>45</text>
2223 <image resource="medium_button" />
2224 <action function="set">tw_time_zone_guioffset=45</action>
2225 </object>
2226
2227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002228 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002229 <placement x="%col_center_x%" y="%tz_set_y%" />
2230 <font resource="font" color="%button_text_color%" />
2231 <text>Set Time Zone</text>
2232 <image resource="main_button" />
2233 <action function="setguitimezone"></action>
2234 </object>
2235
2236 <object type="text" color="%text_color%">
2237 <font resource="font" />
2238 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2239 <text>Current Time Zone: %tw_time_zone%</text>
2240 </object>
2241
2242 <object type="action">
2243 <touch key="home" />
2244 <action function="page">main</action>
2245 </object>
2246
2247 <object type="action">
2248 <touch key="back" />
2249 <action function="page">settings</action>
2250 </object>
2251
2252 <object type="template" name="footer" />
2253 </page>
2254
Dees_Troy2f9117a2013-02-17 19:52:09 -06002255 <page name="screen">
2256 <object type="template" name="header" />
2257
2258 <object type="text" color="%text_color%">
2259 <font resource="font" />
2260 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2261 <text>Screen Settings</text>
2262 </object>
2263
Dees_Troy2f9117a2013-02-17 19:52:09 -06002264 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002265 <placement x="%col1_x%" y="%row2_text_y%" />
2266 <font resource="font" color="%text_color%" />
2267 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2268 <text>Enable screen timeout.</text>
2269 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002270 <action function="set">tw_screen_timeout_secs=60</action>
2271 </object>
2272
2273 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002274 <placement x="%col1_x%" y="%row2_text_y%" />
2275 <font resource="font" color="%text_color%" />
2276 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2277 <text>Enable screen timeout.</text>
2278 <image resource="checkbox_true" />
2279 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002280 </object>
2281
Vojtech Bocek85932342013-04-01 22:11:33 +02002282 <object type="slidervalue">
2283 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2284 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2285 <font resource="font" color="%text_color%" />
2286 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2287 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2288 <text>Screen timeout in seconds:</text>
2289 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002290 </object>
2291
Vojtech Bocek85932342013-04-01 22:11:33 +02002292 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002293 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002294 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2295 <font resource="font" color="%text_color%" />
2296 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2297 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2298 <text>Brightness: %tw_brightness_pct%%</text>
2299 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002300 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002301 <action function="set">tw_brightness=%tw_brightness_max%</action>
2302 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2303 <action function="compute">tw_brightness/100</action>
2304 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002305 </actions>
2306 </object>
2307
2308 <object type="action">
2309 <touch key="home" />
2310 <action function="page">main</action>
2311 </object>
2312
2313 <object type="action">
2314 <touch key="back" />
2315 <action function="page">settings</action>
2316 </object>
2317
2318 <object type="template" name="footer" />
2319 </page>
2320
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <page name="advanced">
2322 <object type="template" name="header" />
2323
2324 <object type="text" color="%text_color%">
2325 <font resource="font" />
2326 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2327 <text>Advanced</text>
2328 </object>
2329
2330 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002332 <placement x="%col1_x%" y="%row1_y%" />
2333 <font resource="font" color="%button_text_color%" />
2334 <text>Copy Log to SD</text>
2335 <image resource="main_button" />
2336 <actions>
2337 <action function="set">tw_back=advanced</action>
2338 <action function="set">tw_action=copylog</action>
2339 <action function="set">tw_text1=Copy Log to SD Card?</action>
2340 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2341 <action function="set">tw_complete_text1=Log Copy Complete</action>
2342 <action function="set">tw_slider_text=Swipe to Confirm</action>
2343 <action function="page">confirm_action</action>
2344 </actions>
2345 </object>
2346
2347 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002348 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002349 <placement x="%col2_x%" y="%row1_y%" />
2350 <font resource="font" color="%button_text_color%" />
2351 <text>Fix Permissions</text>
2352 <image resource="main_button" />
2353 <actions>
2354 <action function="set">tw_back=advanced</action>
2355 <action function="set">tw_action=fixpermissions</action>
2356 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002357 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2359 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002360 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002361 <action function="page">confirm_action</action>
2362 </actions>
2363 </object>
2364
2365 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002366 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002367 <condition var1="tw_allow_partition_sdcard" var2="1" />
2368 <placement x="%col1_x%" y="%row2_y%" />
2369 <font resource="font" color="%button_text_color%" />
2370 <text>Partition SD Card</text>
2371 <image resource="main_button" />
2372 <action function="page">partsdcard</action>
2373 </object>
2374
2375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002377 <placement x="%col2_x%" y="%row2_y%" />
2378 <font resource="font" color="%button_text_color%" />
2379 <text>File Manager</text>
2380 <image resource="main_button" />
2381 <action function="page">filemanagerlist</action>
2382 </object>
2383
2384 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <placement x="%col1_x%" y="%row3_y%" />
2387 <font resource="font" color="%button_text_color%" />
2388 <text>Terminal Command</text>
2389 <image resource="main_button" />
2390 <action function="page">terminalfolder</action>
2391 </object>
2392
2393 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002394 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002395 <placement x="%col2_x%" y="%row3_y%" />
2396 <font resource="font" color="%button_text_color%" />
2397 <text>Reload Theme</text>
2398 <image resource="main_button" />
2399 <action function="reload"></action>
2400 </object>
2401
2402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002403 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002404 <placement x="%col1_x%" y="%row4_y%" />
2405 <font resource="font" color="%button_text_color%" />
2406 <text>ADB Sideload</text>
2407 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002408 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002409 </object>
2410
2411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <condition var1="tw_show_dumlock" var2="1" />
2414 <placement x="%col2_x%" y="%row4_y%" />
2415 <font resource="font" color="%button_text_color%" />
2416 <text>HTC Dumlock</text>
2417 <image resource="main_button" />
2418 <action function="page">htcdumlock</action>
2419 </object>
2420
2421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <condition var1="tw_has_injecttwrp" var2="1" />
2424 <placement x="%col2_x%" y="%row4_y%" />
2425 <font resource="font" color="%button_text_color%" />
2426 <text>Re-Inject TWRP</text>
2427 <image resource="main_button" />
2428 <actions>
2429 <action function="set">tw_back=advanced</action>
2430 <action function="set">tw_action=reinjecttwrp</action>
2431 <action function="set">tw_text1=Re-Inject TWRP?</action>
2432 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2433 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2434 <action function="set">tw_slider_text=Swipe to Confirm</action>
2435 <action function="page">confirm_action</action>
2436 </actions>
2437 </object>
2438
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <object type="action">
2440 <touch key="home" />
2441 <action function="page">main</action>
2442 </object>
2443
2444 <object type="action">
2445 <touch key="back" />
2446 <action function="page">main</action>
2447 </object>
2448
2449 <object type="template" name="footer" />
2450 </page>
2451
2452 <page name="partsdcard">
2453 <object type="template" name="header" />
2454
2455 <object type="text" color="%text_color%">
2456 <font resource="font" />
2457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2458 <text>Partition SD Card</text>
2459 </object>
2460
2461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <placement x="%col1_x%" y="%row1_y%" />
2464 <font resource="font" color="%button_text_color%" />
2465 <text></text>
2466 <image resource="minus_button" />
2467 <action function="addsubtract">tw_sdext_size-128</action>
2468 </object>
2469
2470 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002471 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002472 <placement x="%sd_plus_x%" y="%row1_y%" />
2473 <font resource="font" color="%button_text_color%" />
2474 <text></text>
2475 <image resource="plus_button" />
2476 <action function="addsubtract">tw_sdext_size+128</action>
2477 </object>
2478
2479 <object type="text" color="%text_color%">
2480 <font resource="font" />
2481 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2482 <text>EXT Size: %tw_sdext_size%</text>
2483 </object>
2484
2485 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002486 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002487 <placement x="%col1_x%" y="%sdswap_button_y%" />
2488 <font resource="font" color="%button_text_color%" />
2489 <text></text>
2490 <image resource="minus_button" />
2491 <action function="addsubtract">tw_swap_size-32</action>
2492 </object>
2493
2494 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002495 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2497 <font resource="font" color="%button_text_color%" />
2498 <text></text>
2499 <image resource="plus_button" />
2500 <action function="addsubtract">tw_swap_size+32</action>
2501 </object>
2502
2503 <object type="text" color="%text_color%">
2504 <font resource="font" />
2505 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2506 <text>Swap Size: %tw_swap_size%</text>
2507 </object>
2508
2509 <object type="text" color="%text_color%">
2510 <font resource="font" />
2511 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2512 <text>File system: %tw_sdpart_file_system%</text>
2513 </object>
2514
2515 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002516 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2518 <font resource="font" color="%button_text_color%" />
2519 <text>EXT3</text>
2520 <image resource="main_button" />
2521 <action function="set">tw_sdpart_file_system=ext3</action>
2522 </object>
2523
2524 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002525 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <condition var1="tw_sdext_disable_ext4" var2="0" />
2527 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2528 <font resource="font" color="%button_text_color%" />
2529 <text>EXT4</text>
2530 <image resource="main_button" />
2531 <action function="set">tw_sdpart_file_system=ext4</action>
2532 </object>
2533
2534 <object type="text" color="%text_color%">
2535 <font resource="font" />
2536 <placement x="%col1_x%" y="%row12_text_y%" />
2537 <text>You will lose all files on your SD card!</text>
2538 </object>
2539
2540 <object type="text" color="%text_color%">
2541 <font resource="font" />
2542 <placement x="%col1_x%" y="%row13_text_y%" />
2543 <text>This action cannot be undone!</text>
2544 </object>
2545
2546 <object type="slider">
2547 <placement x="%slider_x%" y="%slider_y%" />
2548 <resource base="slider" used="slider-used" touch="slider-touch" />
2549 <action function="page">partsdcardaction</action>
2550 <actions>
2551 <action function="set">tw_back=partsdcard</action>
2552 <action function="set">tw_action=partitionsd</action>
2553 <action function="set">tw_has_action2=1</action>
2554 <action function="set">tw_action2=set</action>
2555 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2556 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2557 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002558 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <action function="page">action_page</action>
2560 </actions>
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="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002566 <text>Swipe to Partition</text>
2567 </object>
2568
2569 <object type="action">
2570 <touch key="home" />
2571 <action function="page">main</action>
2572 </object>
2573
2574 <object type="action">
2575 <touch key="back" />
2576 <action function="page">advanced</action>
2577 </object>
2578
2579 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002580 </page>
2581
2582 <page name="htcdumlock">
2583 <object type="template" name="header" />
2584
2585 <object type="text" color="%text_color%">
2586 <font resource="font" />
2587 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2588 <text>HTC Dumlock</text>
2589 </object>
2590
2591 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002592 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002593 <condition var1="tw_show_dumlock" var2="1" />
2594 <placement x="%col1_x%" y="%row1_y%" />
2595 <font resource="font" color="%button_text_color%" />
2596 <text>Restore Original Boot</text>
2597 <image resource="main_button" />
2598 <actions>
2599 <action function="set">tw_back=htcdumlock</action>
2600 <action function="set">tw_action=htcdumlockrestoreboot</action>
2601 <action function="set">tw_text1=Restore original boot image?</action>
2602 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2603 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2604 <action function="set">tw_slider_text=Swipe to Confirm</action>
2605 <action function="page">confirm_action</action>
2606 </actions>
2607 </object>
2608
2609 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002610 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002611 <condition var1="tw_show_dumlock" var2="1" />
2612 <placement x="%col2_x%" y="%row1_y%" />
2613 <font resource="font" color="%button_text_color%" />
2614 <text>Reflash Recovery</text>
2615 <image resource="main_button" />
2616 <actions>
2617 <action function="set">tw_back=htcdumlock</action>
2618 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2619 <action function="set">tw_text1=Reflash recovery to boot?</action>
2620 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2621 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2622 <action function="set">tw_slider_text=Swipe to Confirm</action>
2623 <action function="page">confirm_action</action>
2624 </actions>
2625 </object>
2626
2627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002629 <condition var1="tw_show_dumlock" var2="1" />
2630 <placement x="%col1_x%" y="%row2_y%" />
2631 <font resource="font" color="%button_text_color%" />
2632 <text>Install HTC Dumlock</text>
2633 <image resource="main_button" />
2634 <actions>
2635 <action function="set">tw_back=htcdumlock</action>
2636 <action function="set">tw_action=installhtcdumlock</action>
2637 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2638 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2639 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2640 <action function="set">tw_slider_text=Swipe to Confirm</action>
2641 <action function="page">confirm_action</action>
2642 </actions>
2643 </object>
2644
2645 <object type="action">
2646 <touch key="home" />
2647 <action function="page">main</action>
2648 </object>
2649
2650 <object type="action">
2651 <touch key="back" />
2652 <action function="page">advanced</action>
2653 </object>
2654
2655 <object type="template" name="footer" />
2656 </page>
2657
2658 <page name="lock">
2659 <background color="#000000A0" />
2660
2661 <object type="image">
2662 <image resource="unlock-icon" />
2663 <placement x="%lock_x%" y="%lock_y%" />
2664 </object>
2665
2666 <object type="slider">
2667 <placement x="%slider_x%" y="%slider_y%" />
2668 <resource base="slider" used="slider-used" touch="slider-touch" />
2669 <action function="overlay"></action>
2670 </object>
2671
2672 <object type="text" color="%text_color%">
2673 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002674 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002675 <text>Swipe to Unlock</text>
2676 </object>
2677 </page>
2678
2679 <page name="filemanagerlist">
2680 <object type="template" name="header" />
2681
2682 <object type="text" color="%text_color%">
2683 <font resource="font" />
2684 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2685 <text>File Manager: Select a File or Folder</text>
2686 </object>
2687
2688 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002689 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002690 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2691 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002692 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002693 <text>%tw_file_location1%</text>
2694 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2695 <sort name="tw_gui_sort_order" />
2696 <icon folder="folder_icon" file="file_icon" />
2697 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002698 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002699 <folders="1" files="1" />
2700 <path name="tw_file_location1" default="/" />
2701 <data name="tw_filename1" />
2702 <selection name="tw_selection1" />
2703 </object>
2704
2705 <object type="template" name="sort_options" />
2706
2707 <object type="action">
2708 <actions>
2709 <action function="set">tw_fm_type=File</action>
2710 <action function="set">tw_fm_isfolder=0</action>
2711 </actions>
2712 </object>
2713
2714 <object type="action">
2715 <touch key="home" />
2716 <action function="page">main</action>
2717 </object>
2718
2719 <object type="action">
2720 <touch key="back" />
2721 <action function="page">advanced</action>
2722 </object>
2723
2724 <object type="action">
2725 <condition var1="tw_filename1" op="modified" />
2726 <actions>
2727 <action function="page">filemanageroptions</action>
2728 </actions>
2729 </object>
2730
2731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002733 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text>Select</text>
2736 <image resource="medium_button" />
2737 <actions>
2738 <action function="set">tw_filename1=tw_file_location1</action>
2739 <action function="set">tw_fm_isfolder=1</action>
2740 <action function="set">tw_fm_type=Folder</action>
2741 <action function="page">filemanageroptions</action>
2742 </actions>
2743 </object>
2744
2745 <object type="template" name="footer" />
2746 </page>
2747
2748 <page name="filemanageroptions">
2749 <object type="template" name="header" />
2750
2751 <object type="text" color="%text_color%">
2752 <font resource="font" />
2753 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2754 <text>%tw_fm_type% Selected:</text>
2755 </object>
2756
2757 <object type="text" color="%text_color%">
2758 <font resource="font" />
2759 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2760 <text>%tw_filename1%</text>
2761 </object>
2762
2763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002764 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <condition var1="tw_fm_isfolder" var2="0" />
2766 <placement x="%col1_x%" y="%row2_y%" />
2767 <font resource="font" color="%button_text_color%" />
2768 <text>Copy File</text>
2769 <image resource="main_button" />
2770 <actions>
2771 <action function="set">tw_filemanager_command=cp</action>
2772 <action function="set">tw_fm_text1=Copying</action>
2773 <action function="page">choosedestinationfolder</action>
2774 </actions>
2775 </object>
2776
2777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <condition var1="tw_fm_isfolder" var2="1" />
2780 <placement x="%col1_x%" y="%row2_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>Copy Folder</text>
2783 <image resource="main_button" />
2784 <actions>
2785 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2786 <action function="set">tw_fm_text1=Copying</action>
2787 <action function="page">choosedestinationfolder</action>
2788 </actions>
2789 </object>
2790
2791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002792 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002793 <placement x="%col2_x%" y="%row2_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>Move</text>
2796 <image resource="main_button" />
2797 <actions>
2798 <action function="set">tw_filemanager_command=mv</action>
2799 <action function="set">tw_fm_text1=Moving</action>
2800 <action function="page">choosedestinationfolder</action>
2801 </actions>
2802 </object>
2803
2804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002805 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002806 <placement x="%col1_x%" y="%row3_y%" />
2807 <font resource="font" color="%button_text_color%" />
2808 <text>chmod 755</text>
2809 <image resource="main_button" />
2810 <actions>
2811 <action function="set">tw_filemanager_command=chmod 755</action>
2812 <action function="set">tw_fm_text1=chmod 755</action>
2813 <action function="set">tw_fm_text2=</action>
2814 <action function="set">tw_fm_text3=</action>
2815 <action function="set">tw_include_text3=0</action>
2816 <action function="set">tw_back=filemanageroptions</action>
2817 <action function="page">filemanagerconfirm</action>
2818 </actions>
2819 </object>
2820
2821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002822 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <placement x="%col2_x%" y="%row3_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>chmod</text>
2826 <image resource="main_button" />
2827 <actions>
2828 <action function="set">tw_filemanager_rename=0000</action>
2829 <action function="set">tw_fm_text2=</action>
2830 <action function="set">tw_fm_text3=</action>
2831 <action function="set">tw_include_text3=0</action>
2832 <action function="set">tw_back=filemanageroptions</action>
2833 <action function="page">filemanagerchmod</action>
2834 </actions>
2835 </object>
2836
2837 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002838 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002839 <placement x="%col1_x%" y="%row4_y%" />
2840 <font resource="font" color="%button_text_color%" />
2841 <text>Delete</text>
2842 <image resource="main_button" />
2843 <actions>
2844 <action function="set">tw_filemanager_command=rm -rf</action>
2845 <action function="set">tw_fm_text1=Deleting</action>
2846 <action function="set">tw_fm_text2=</action>
2847 <action function="set">tw_fm_text3=</action>
2848 <action function="set">tw_include_text3=0</action>
2849 <action function="set">tw_back=filemanageroptions</action>
2850 <action function="page">filemanagerconfirm</action>
2851 </actions>
2852 </object>
2853
2854 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002855 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002856 <condition var1="tw_fm_isfolder" var2="0" />
2857 <placement x="%col2_x%" y="%row4_y%" />
2858 <font resource="font" color="%button_text_color%" />
2859 <text>Rename File</text>
2860 <image resource="main_button" />
2861 <actions>
2862 <action function="set">tw_filemanager_rename=tw_selection1</action>
2863 <action function="set">tw_fm_text1=Renaming</action>
2864 <action function="set">tw_filemanager_command=mv</action>
2865 <action function="page">filemanagerrenamefile</action>
2866 </actions>
2867 </object>
2868
2869 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002870 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002871 <condition var1="tw_fm_isfolder" var2="1" />
2872 <placement x="%col2_x%" y="%row4_y%" />
2873 <font resource="font" color="%button_text_color%" />
2874 <text>Rename Folder</text>
2875 <image resource="main_button" />
2876 <actions>
2877 <action function="set">tw_filemanager_rename=tw_selection1</action>
2878 <action function="set">tw_fm_text1=Renaming</action>
2879 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2880 <action function="page">filemanagerrenamefolder</action>
2881 </actions>
2882 </object>
2883
2884 <object type="action">
2885 <touch key="home" />
2886 <action function="page">main</action>
2887 </object>
2888
2889 <object type="action">
2890 <touch key="back" />
2891 <action function="page">filemanagerlist</action>
2892 </object>
2893
2894 <object type="template" name="footer" />
2895 </page>
2896
2897 <page name="choosedestinationfolder">
2898 <object type="template" name="header" />
2899
2900 <object type="text" color="%text_color%">
2901 <font resource="font" />
2902 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
2903 <text>Browse to Destination Folder & Press Select</text>
2904 </object>
2905
2906 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002907 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2909 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002910 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002911 <text>%tw_file_location2%</text>
2912 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2913 <sort name="tw_gui_sort_order" />
2914 <icon folder="folder_icon" file="file_icon" />
2915 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002916 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002917 <filter folders="1" files="0" />
2918 <path name="tw_file_location2" default="/" />
2919 <data name="tw_filename2" />
2920 <selection name="tw_selection2" />
2921 </object>
2922
2923 <object type="template" name="sort_options" />
2924
2925 <object type="action">
2926 <touch key="home" />
2927 <action function="page">main</action>
2928 </object>
2929
2930 <object type="action">
2931 <touch key="back" />
2932 <action function="page">filemanageroptions</action>
2933 </object>
2934
2935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>Select</text>
2940 <image resource="medium_button" />
2941 <actions>
2942 <action function="set">tw_fm_text2=to</action>
2943 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2944 <action function="set">tw_include_text3=1</action>
2945 <action function="set">tw_back=filemanageroptions</action>
2946 <action function="page">filemanagerconfirm</action>
2947 </actions>
2948 </object>
2949
2950 <object type="template" name="footer" />
2951 </page>
2952
2953 <page name="filemanagerrenamefile">
2954 <object type="template" name="header" />
2955
2956 <object type="text" color="%text_color%">
2957 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2958 <font resource="font" />
2959 <text>Please Enter a New %tw_fm_type% Name</text>
2960 </object>
2961
2962 <object type="input">
2963 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2964 <background color="%input_background_color%" />
2965 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2966 <font resource="font" color="%text_color%" />
2967 <text>%tw_filemanager_rename%</text>
2968 <data name="tw_filemanager_rename" />
2969 <restrict minlen="1" maxlen="128" />
2970 <actions>
2971 <action function="set">tw_fm_text2=to</action>
2972 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
2973 <action function="set">tw_include_text3=1</action>
2974 <action function="set">tw_back=filemanageroptions</action>
2975 <action function="page">filemanagerconfirm</action>
2976 </actions>
2977 </object>
2978
2979 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002980 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002981 <placement x="%col_center_x%" y="%row2_y%" />
2982 <font resource="font" color="%button_text_color%" />
2983 <text>Cancel</text>
2984 <image resource="main_button" />
2985 <action function="page">filemanageroptions</action>
2986 </object>
2987
2988 <object type="template" name="keyboardtemplate" />
2989
2990 <object type="action">
2991 <touch key="home" />
2992 <action function="page">main</action>
2993 </object>
2994
2995 <object type="action">
2996 <touch key="back" />
2997 <action function="page">filemanageroptions</action>
2998 </object>
2999
3000 <object type="template" name="footer" />
3001 </page>
3002
3003 <page name="filemanagerrenamefolder">
3004 <object type="template" name="header" />
3005
3006 <object type="text" color="%text_color%">
3007 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3008 <font resource="font" />
3009 <text>Please Enter a New %tw_fm_type% Name</text>
3010 </object>
3011
3012 <object type="input">
3013 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3014 <background color="%input_background_color%" />
3015 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3016 <font resource="font" color="%text_color%" />
3017 <text>%tw_filemanager_rename%</text>
3018 <data name="tw_filemanager_rename" />
3019 <restrict minlen="1" maxlen="128" />
3020 <actions>
3021 <action function="set">tw_fm_text2=to</action>
3022 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3023 <action function="set">tw_include_text3=1</action>
3024 <action function="set">tw_back=filemanageroptions</action>
3025 <action function="page">filemanagerconfirm</action>
3026 </actions>
3027 </object>
3028
3029 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003030 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003031 <placement x="%col_center_x%" y="%row2_y%" />
3032 <font resource="font" color="%button_text_color%" />
3033 <text>Cancel</text>
3034 <image resource="main_button" />
3035 <action function="page">filemanageroptions</action>
3036 </object>
3037
3038 <object type="template" name="keyboardtemplate" />
3039
3040 <object type="action">
3041 <touch key="home" />
3042 <action function="page">main</action>
3043 </object>
3044
3045 <object type="action">
3046 <touch key="back" />
3047 <action function="page">filemanageroptions</action>
3048 </object>
3049
3050 <object type="template" name="footer" />
3051 </page>
3052
3053 <page name="filemanagerchmod">
3054 <object type="template" name="header" />
3055
3056 <object type="text" color="%text_color%">
3057 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3058 <font resource="font" />
3059 <text>Please Enter New Permissions</text>
3060 </object>
3061
3062 <object type="input">
3063 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3064 <background color="%input_background_color%" />
3065 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3066 <font resource="font" color="%text_color%" />
3067 <text>%tw_filemanager_rename%</text>
3068 <data name="tw_filemanager_rename" />
3069 <restrict minlen="3" maxlen="4" allow="0123456789" />
3070 <actions>
3071 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3072 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3073 <action function="set">tw_back=filemanageroptions</action>
3074 <action function="page">filemanagerconfirm</action>
3075 </actions>
3076 </object>
3077
3078 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003079 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003080 <placement x="%col_center_x%" y="%row2_y%" />
3081 <font resource="font" color="%button_text_color%" />
3082 <text>Cancel</text>
3083 <image resource="main_button" />
3084 <action function="page">filemanageroptions</action>
3085 </object>
3086
3087 <object type="template" name="keyboardtemplate" />
3088
3089 <object type="action">
3090 <touch key="home" />
3091 <action function="page">main</action>
3092 </object>
3093
3094 <object type="action">
3095 <touch key="back" />
3096 <action function="page">filemanageroptions</action>
3097 </object>
3098
3099 <object type="template" name="footer" />
3100 </page>
3101
3102 <page name="filemanagerconfirm">
3103 <object type="template" name="header" />
3104
3105 <object type="text" color="%text_color%">
3106 <font resource="font" />
3107 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3108 <text>%tw_fm_text1%</text>
3109 </object>
3110
3111 <object type="text" color="%text_color%">
3112 <font resource="font" />
3113 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3114 <text>%tw_filename1%</text>
3115 </object>
3116
3117 <object type="text" color="%text_color%">
3118 <font resource="font" />
3119 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3120 <text>%tw_fm_text2%</text>
3121 </object>
3122
3123 <object type="text" color="%text_color%">
3124 <font resource="font" />
3125 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3126 <text>%tw_fm_text3%</text>
3127 </object>
3128
3129 <object type="text" color="%text_color%">
3130 <font resource="font" />
3131 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3132 <text>Press back button to cancel.</text>
3133 </object>
3134
3135 <object type="slider">
3136 <placement x="%slider_x%" y="%slider_y%" />
3137 <resource base="slider" used="slider-used" touch="slider-touch" />
3138 <action function="page">filemanageracction</action>
3139 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003140
Dees_Troy51a0e822012-09-05 15:24:24 -04003141 <object type="text" color="%text_color%">
3142 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003143 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003144 <text>Swipe to Confirm</text>
3145 </object>
3146
3147 <object type="action">
3148 <touch key="back" />
3149 <action function="page">%tw_back%</action>
3150 </object>
3151
3152 <object type="action">
3153 <touch key="home" />
3154 <action function="page">main</action>
3155 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003156
Dees_Troy51a0e822012-09-05 15:24:24 -04003157 <object type="template" name="footer" />
3158 </page>
3159
3160 <page name="filemanageracction">
3161 <object type="template" name="header" />
3162
3163 <object type="text" color="%text_color%">
3164
3165 <font resource="font" />
3166 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3167 <text>%tw_fm_text1%</text>
3168 </object>
3169
3170 <object type="template" name="action_page_console" />
3171
3172 <object type="template" name="progress_bar" />
3173
3174 <object type="action">
3175 <conditions>
3176 <condition var1="tw_operation_state" var2="1" />
3177 <condition var1="tw_operation_status" var2="0" />
3178 </conditions>
3179 <actions>
3180 <action function="set">tw_back=filemanagerlist</action>
3181 <action function="set">tw_complete_text1=File Operation Complete</action>
3182 <action function="page">action_complete</action>
3183 </actions>
3184 </object>
3185
3186 <object type="action">
3187 <conditions>
3188 <condition var1="tw_operation_state" var2="1" />
3189 <condition var1="tw_operation_status" op="!=" var2="0" />
3190 </conditions>
3191 <actions>
3192 <action function="set">tw_complete_text1=File Operation Complete</action>
3193 <action function="page">action_complete</action>
3194 </actions>
3195 </object>
3196
3197 <object type="action">
3198 <condition var1="tw_include_text3" var2="0" />
3199 <actions>
3200 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3201 </actions>
3202 </object>
3203
3204 <object type="action">
3205 <condition var1="tw_include_text3" var2="1" />
3206 <actions>
3207 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3208 </actions>
3209 </object>
3210 </page>
3211
3212 <page name="decrypt">
3213 <object type="template" name="header" />
3214
3215 <object type="text" color="%text_color%">
3216 <font resource="font" />
3217 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3218 <text>Please Enter Your Password</text>
3219 </object>
3220
3221 <object type="input">
3222 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3223 <background color="%input_background_color%" />
3224 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3225 <font resource="font" color="%text_color%" />
3226 <text>%tw_crypto_display%</text>
3227 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3228 <restrict minlen="1" maxlen="254" />
3229 <actions>
3230 <action function="page">trydecrypt</action>
3231 </actions>
3232 </object>
3233
3234 <object type="text" color="%text_fail_color%">
3235 <condition var1="tw_password_fail" var2="1" />
3236 <font resource="font" />
3237 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3238 <text>Password Failed, Please Try Again</text>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <placement x="%col_center_x%" y="%row2_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text>Cancel</text>
3246 <image resource="main_button" />
3247 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003248 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003249 <action function="page">main</action>
3250 </actions>
3251 </object>
3252
3253 <object type="template" name="keyboardtemplate" />
3254
Dees_Troy51a0e822012-09-05 15:24:24 -04003255 <object type="template" name="footer" />
3256 </page>
3257
3258 <page name="trydecrypt">
3259 <object type="template" name="header" />
3260
3261 <object type="text" color="%text_color%">
3262 <font resource="font" />
3263 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3264 <text>Trying Decryption with Your Password</text>
3265 </object>
3266
3267 <object type="template" name="action_page_console" />
3268
3269 <object type="template" name="progress_bar" />
3270
3271 <object type="action">
3272 <action function="decrypt"></action>
3273 </object>
3274
3275 <object type="action">
3276 <conditions>
3277 <condition var1="tw_operation_state" var2="1" />
3278 <condition var1="tw_operation_status" op="!=" var2="0" />
3279 </conditions>
3280 <actions>
3281 <action function="set">tw_password_fail=1</action>
3282 <action function="page">decrypt</action>
3283 </actions>
3284 </object>
3285
3286 <object type="action">
3287 <conditions>
3288 <condition var1="tw_operation_state" var2="1" />
3289 <condition var1="tw_operation_status" op="=" var2="0" />
3290 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003291 <actions>
3292 <action function="set">tw_page_done=1</action>
3293 <action function="page">main</action>
3294 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003295 </object>
3296 </page>
3297
3298 <page name="terminalfolder">
3299 <object type="template" name="header" />
3300
3301 <object type="text" color="%text_color%">
3302 <font resource="font" />
3303 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3304 <text>Browse to Starting Folder</text>
3305 </object>
3306
3307 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003308 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003309 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3310 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003311 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003312 <text>%tw_terminal_location%</text>
3313 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3314 <sort name="tw_gui_sort_order" />
3315 <icon folder="folder_icon" file="file_icon" />
3316 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003317 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003318 <filter folders="1" files="0" />
3319 <path name="tw_terminal_location" default="/" />
3320 <data name="tw_terminal" />
3321 <selection name="tw_terminal_selection" />
3322 </object>
3323
3324 <object type="template" name="sort_options" />
3325
3326 <object type="action">
3327 <touch key="home" />
3328 <action function="page">main</action>
3329 </object>
3330
3331 <object type="action">
3332 <touch key="back" />
3333 <action function="page">advanced</action>
3334 </object>
3335
3336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003338 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3339 <font resource="font" color="%button_text_color%" />
3340 <text>Select</text>
3341 <image resource="medium_button" />
3342 <actions>
3343 <action function="page">terminalcommand</action>
3344 </actions>
3345 </object>
3346
3347 <object type="template" name="footer" />
3348 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003349
Dees_Troy51a0e822012-09-05 15:24:24 -04003350 <page name="terminalcommand">
3351 <object type="template" name="header" />
3352
3353 <object type="console">
3354 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3355 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3356 <font resource="fixed" />
3357 </object>
3358
3359 <object type="text" color="%text_color%">
3360 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3361 <font resource="font" />
3362 <text>Starting Path: %tw_terminal_location%</text>
3363 </object>
3364
3365 <object type="input">
3366 <condition var1="tw_terminal_state" var2="0" />
3367 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3368 <background color="%input_background_color%" />
3369 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3370 <font resource="font" color="%text_color%" />
3371 <text>%tw_terminal_command%</text>
3372 <data name="tw_terminal_command" />
3373 <restrict minlen="1" />
3374 <action function="terminalcommand">%tw_terminal_command%</action>
3375 </object>
3376
3377 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003379 <condition var1="tw_terminal_state" var2="1" />
3380 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3381 <font resource="font" color="%button_text_color%" />
3382 <text>KILL</text>
3383 <image resource="medium_button" />
3384 <action function="killterminal"></action>
3385 </object>
3386
3387 <object type="template" name="keyboardtemplate" />
3388
3389 <object type="action">
3390 <touch key="home" />
3391 <action function="page">main</action>
3392 </object>
3393
3394 <object type="action">
3395 <touch key="back" />
3396 <action function="page">terminalfolder</action>
3397 </object>
3398 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003399
3400 <page name="sideload">
3401 <object type="template" name="header" />
3402
3403 <object type="text" color="%text_color%">
3404 <font resource="font" />
3405 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3406 <text>ADB Sideload</text>
3407 </object>
3408
3409 <object type="checkbox">
3410 <placement x="%col1_x%" y="%row2_text_y%" />
3411 <font resource="font" color="%text_color%" />
3412 <text>Wipe Dalvik Cache.</text>
3413 <data variable="tw_wipe_dalvik" />
3414 <image checked="checkbox_true" unchecked="checkbox_false" />
3415 </object>
3416
3417 <object type="checkbox">
3418 <placement x="%col1_x%" y="%row3_text_y%" />
3419 <font resource="font" color="%text_color%" />
3420 <text>Wipe Cache.</text>
3421 <data variable="tw_wipe_cache" />
3422 <image checked="checkbox_true" unchecked="checkbox_false" />
3423 </object>
3424
3425 <object type="slider">
3426 <placement x="%slider_x%" y="%slider_y%" />
3427 <resource base="slider" used="slider-used" touch="slider-touch" />
3428 <actions>
3429 <action function="set">tw_back=advanced</action>
3430 <action function="set">tw_action=adbsideload</action>
3431 <action function="set">tw_action_text1=ADB Sideload</action>
3432 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3433 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3434 <action function="set">tw_has_cancel=1</action>
3435 <action function="set">tw_show_reboot=1</action>
3436 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3437 <action function="page">action_page</action>
3438 </actions>
3439 </object>
3440
3441 <object type="text" color="%text_color%">
3442 <font resource="font" />
3443 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3444 <text>Swipe to Start Sideload</text>
3445 </object>
3446
3447 <object type="action">
3448 <touch key="home" />
3449 <action function="page">main</action>
3450 </object>
3451
3452 <object type="action">
3453 <touch key="back" />
3454 <action function="page">advanced</action>
3455 </object>
3456
3457 <object type="template" name="footer" />
3458 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003459
3460 <page name="installsu">
3461 <object type="template" name="header" />
3462
3463 <object type="text" color="%text_color%">
3464 <font resource="font" />
3465 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3466 <text>Install SuperSU?</text>
3467 </object>
3468
3469 <object type="text" color="%text_color%">
3470 <font resource="font" />
3471 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3472 <text>Your device does not appear to be rooted.</text>
3473 </object>
3474
3475 <object type="text" color="%text_color%">
3476 <font resource="font" />
3477 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3478 <text>Install SuperSU now?</text>
3479 </object>
3480
3481 <object type="text" color="%text_color%">
3482 <font resource="font" />
3483 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3484 <text>This will root your device.</text>
3485 </object>
3486
3487 <object type="button">
3488 <highlight color="%highlight_color%" />
3489 <placement x="%col_center_x%" y="%row3_y%" />
3490 <font resource="font" color="%button_text_color%" />
3491 <text>Do Not Install</text>
3492 <image resource="main_button" />
3493 <action function="set">tw_page_done=1</action>
3494 </object>
3495
3496 <object type="slider">
3497 <placement x="%slider_x%" y="%slider_y%" />
3498 <resource base="slider" used="slider-used" touch="slider-touch" />
3499 <actions>
3500 <action function="set">tw_action=installsu</action>
3501 <action function="set">tw_action_text1=Installing SuperSU</action>
3502 <action function="set">tw_action_text2=</action>
3503 <action function="page">singleaction_page</action>
3504 </actions>
3505 </object>
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3510 <text>Swipe to Install</text>
3511 </object>
3512 </page>
3513
3514 <page name="fixsu">
3515 <object type="template" name="header" />
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3520 <text>Fix Superuser Permissions?</text>
3521 </object>
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3526 <text>Root permissions appear to be lost.</text>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3532 <text>Fix root permissions now?</text>
3533 </object>
3534
3535 <object type="text" color="%text_color%">
3536 <font resource="font" />
3537 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3538 <text>(Fixes permissions on su binary & app)</text>
3539 </object>
3540
3541 <object type="button">
3542 <highlight color="%highlight_color%" />
3543 <placement x="%col_center_x%" y="%row3_y%" />
3544 <font resource="font" color="%button_text_color%" />
3545 <text>Do Not Fix</text>
3546 <image resource="main_button" />
3547 <action function="set">tw_page_done=1</action>
3548 </object>
3549
3550 <object type="slider">
3551 <placement x="%slider_x%" y="%slider_y%" />
3552 <resource base="slider" used="slider-used" touch="slider-touch" />
3553 <actions>
3554 <action function="set">tw_action=fixsu</action>
3555 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3556 <action function="set">tw_action_text2=</action>
3557 <action function="page">singleaction_page</action>
3558 </actions>
3559 </object>
3560
3561 <object type="text" color="%text_color%">
3562 <font resource="font" />
3563 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3564 <text>Swipe to Fix Root</text>
3565 </object>
3566 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003567 </pages>
3568</recovery>