blob: 94e39883e8cd2be870b60d5e9af53400c2ea9ab4 [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" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troya13d74f2013-03-24 08:54:55 -050046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="415" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600100 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400101 <variable name="home_button_x" value="50" />
102 <variable name="home_button_y" value="1226" />
103 <variable name="back_button_x" value="666" />
104 <variable name="back_button_y" value="1226" />
105 <variable name="sort_text_x" value="85" />
106 <variable name="sort_asc_text_y" value="1090" />
107 <variable name="sort_asc_button_y" value="1080" />
108 <variable name="sort_desc_text_y" value="1150" />
109 <variable name="sort_desc_button_y" value="1140" />
110 <variable name="sort_col1_button_x" value="330" />
111 <variable name="sort_col2_button_x" value="430" />
112 <variable name="sort_col3_button_x" value="530" />
113 <variable name="input_width" value="750" />
114 <variable name="input_height" value="50" />
115 <variable name="input_background_color" value="#303030" />
116 <variable name="input_cursor_color" value="#33B5E5" />
117 <variable name="input_cursor_width" value="3" />
118 <variable name="console_x" value="0" />
119 <variable name="console_width" value="800" />
120 <variable name="console_foreground" value="#A0A0A0" />
121 <variable name="console_background" value="#303030" />
122 <variable name="console_scroll" value="#303030" />
123 <variable name="console_action_height" value="470" />
124 <variable name="console_install_height" value="600" />
125 <variable name="console_installdone_height" value="440" />
126 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500127 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400128 <variable name="fileselector_install_height" value="750" />
129 <variable name="fileselector_header_background" value="#202020" />
130 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
131 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
132 <variable name="fileselector_header_separatorheight" value="3" />
133 <variable name="fileselector_separatorcolor" value="#505050" />
134 <variable name="fileselector_separatorheight" value="2" />
135 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600136 <variable name="fileselector_highlight_color" value="#505050" />
137 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400138 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100139 <variable name="fastscroll_linecolor" value="#808080" />
140 <variable name="fastscroll_rectcolor" value="#808080" />
141 <variable name="fastscroll_w" value="60" />
142 <variable name="fastscroll_linew" value="2" />
143 <variable name="fastscroll_rectw" value="40" />
144 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500146 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600147 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="listbox_background" value="#303030" />
149 <variable name="listbox_spacing" value="16" />
150 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400151 <variable name="sdext_text_x" value="115" />
152 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400154 <variable name="sdswap_text_x" value="115" />
155 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="sdfilesystem_text_y" value="340" />
157 <variable name="sdfilesystem_button_y" value="380" />
158 <variable name="lock_x" value="200" />
159 <variable name="lock_y" value="400" />
160 <variable name="filemanager_select_x" value="320" />
161 <variable name="filemanager_select_y" value="950" />
162 <variable name="backup_name_y" value="550" />
163 <variable name="terminal_console_height" value="600" />
164 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400165 <variable name="terminal_button_y" value="620" />
166 <variable name="row_dst_text_y" value="720" />
167 <variable name="row_offset_text_y" value="800" />
168 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500169 <variable name="button_fill_color" value="#303030" />
170 <variable name="button_fill_full_width" value="780" />
171 <variable name="button_fill_main_width" value="375" />
172 <variable name="button_fill_main_height" value="240" />
173 <variable name="button_fill_half_height" value="120" />
174 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000175 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500176 <variable name="backup_button_row1" value="745" />
177 <variable name="backup_button_row2" value="810" />
178 <variable name="mount_list_height" value="690" />
179 <variable name="mount_storage_row" value="830" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000180 <variable name="storage_list_height" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500181 <variable name="wipe_list_height" value="870" />
182 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200183 <variable name="slidervalue_w" value="780" />
184 <variable name="slidervalue_line_clr" value="#FFFFFF" />
185 <variable name="slidervalue_slider_clr" value="#33B5E5" />
186 <variable name="slidervalue_lineh" value="2" />
187 <variable name="slidervalue_padding" value="20" />
188 <variable name="slidervalue_sliderw" value="10" />
189 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400190 </variables>
191
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100192 <mousecursor>
193 <placement w="15" h="15" />
194 <background color="#FFFF00FF" resource="cursor" />
195 <speed multiplier="2.5" />
196 </mousecursor>
197
Dees_Troy51a0e822012-09-05 15:24:24 -0400198 <templates>
199 <template name="header">
200 <background color="#000000FF" />
201
202 <object type="image">
203 <image resource="top_bar" />
204 <placement x="0" y="0" />
205 </object>
206
207 <object type="text" color="%text_color%">
208 <font resource="font" />
209 <placement x="120" y="10" />
210 <text>Team Win Recovery Project v%tw_version%</text>
211 </object>
212
213 <object type="text" color="%text_color%">
214 <condition var1="tw_simulate_actions" var2="1" />
215 <font resource="font" />
216 <placement x="120" y="45" />
217 <text>SIMULATING ACTIONS</text>
218 </object>
219
220 <object type="text" color="%text_color%">
221 <font resource="font" />
222 <placement x="120" y="76" />
223 <text>%tw_time%</text>
224 </object>
225
226 <object type="text" color="%text_color%">
227 <font resource="font" />
228 <placement x="270" y="76" />
229 <conditions>
230 <condition var1="tw_no_battery_percent" var2="0" />
231 <condition var1="tw_battery" op=">" var2="0" />
232 <condition var1="tw_battery" op="<" var2="101" />
233 </conditions>
234 <text>Battery: %tw_battery%</text>
235 </object>
236
237 <object type="button">
238 <placement x="%home_button_x%" y="%home_button_y%" />
239 <font resource="font" color="%button_text_color%" />
240 <text></text>
241 <image resource="home_icon" />
242 <condition var1="tw_busy" var2="0" />
243 <action function="key">home</action>
244 </object>
245
246 <object type="button">
247 <placement x="%back_button_x%" y="%back_button_y%" />
248 <font resource="font" color="%button_text_color%" />
249 <text></text>
250 <image resource="back_icon" />
251 <condition var1="tw_busy" var2="0" />
252 <action function="key">back</action>
253 </object>
254
255 <object type="action">
256 <touch key="power" />
257 <action function="overlay">lock</action>
258 </object>
259 </template>
260
261 <template name="progress_bar">
262 <object type="progressbar">
263 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
264 <resource empty="progress_empty" full="progress_full" />
265 <data name="ui_progress" />
266 </object>
267
268 <object type="animation">
269 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
270 <resource name="progress" />
271 <speed fps="15" render="2" />
272 <loop frame="1" />
273 </object>
274 </template>
275
276 <template name="sort_options">
277 <object type="text" color="%text_color%">
278 <font resource="font" />
279 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
280 <text>Sort Ascending:</text>
281 </object>
282
283 <object type="button">
284 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
285 <font resource="font" color="%button_text_color%" />
286 <text>Name</text>
287 <image resource="sort_button" />
288 <action function="set">tw_gui_sort_order=1</action>
289 </object>
290
291 <object type="button">
292 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Date</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=2</action>
297 </object>
298
299 <object type="button">
300 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
301 <font resource="font" color="%button_text_color%" />
302 <text>Size</text>
303 <image resource="sort_button" />
304 <action function="set">tw_gui_sort_order=3</action>
305 </object>
306
307 <object type="text" color="%text_color%">
308 <font resource="font" />
309 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
310 <text>Sort Descending:</text>
311 </object>
312
313 <object type="button">
314 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
315 <font resource="font" color="%button_text_color%" />
316 <text>Name</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=-1</action>
319 </object>
320
321 <object type="button">
322 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
323 <font resource="font" color="%button_text_color%" />
324 <text>Date</text>
325 <image resource="sort_button" />
326 <action function="set">tw_gui_sort_order=-2</action>
327 </object>
328
329 <object type="button">
330 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
331 <font resource="font" color="%button_text_color%" />
332 <text>Size</text>
333 <image resource="sort_button" />
334 <action function="set">tw_gui_sort_order=-3</action>
335 </object>
336 </template>
337
338 <template name="action_page_console">
339 <object type="console">
340 <placement x="0" y="%row3_text_y%" w="800" h="600" />
341 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
342 <font resource="fixed" />
343 </object>
344 </template>
345
346 <template name="footer">
347 <object type="console">
348 <slideout resource="slideout" x="355" y="1220" />
349 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
350 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
351 <font resource="fixed" />
352 </object>
353 </template>
354
355 <template name="keyboardtemplate">
356 <object type="keyboard">
357 <placement x="0" y="740" />
358 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600359 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600360 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400361 <layout1>
362 <keysize height="115" width="80" />
363 <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 -0600364 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
365 <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 +0000366 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400367 </layout1>
368 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600369 <keysize height="116" width="80" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400370 <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 -0600371 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
372 <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 -0400373 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
374 </layout2>
375 <layout3>
376 <keysize height="115" width="80" />
377 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
378 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600379 <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 -0400380 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
381 </layout3>
382 <layout4>
383 <keysize height="116" width="80" />
384 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
385 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600386 <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 -0400387 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
388 </layout4>
389 </object>
390 </template>
391 </templates>
392
393 <pages>
394 <page name="main">
395 <object type="action">
396 <actions>
397 <action function="set">tw_clear_destination=main2</action>
398 <action function="page">clear_vars</action>
399 </actions>
400 </object>
401 </page>
402
403 <page name="main2">
404 <object type="template" name="header" />
405
406 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <placement x="%col1_x%" y="%row1_y%" />
409 <font resource="font" color="%button_text_color%" />
410 <text>Install</text>
411 <image resource="main_button" />
412 <actions>
413 <action function="queueclear"></action>
414 <action function="page">install</action>
415 </actions>
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="%col2_x%" y="%row1_y%" />
421 <font resource="font" color="%button_text_color%" />
422 <text>Wipe</text>
423 <image resource="main_button" />
424 <action function="page">wipe</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="%col1_x%" y="%row2_y%" />
430 <font resource="font" color="%button_text_color%" />
431 <text>Backup</text>
432 <image resource="main_button" />
433 <action function="page">backup</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="%col2_x%" y="%row2_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Restore</text>
441 <image resource="main_button" />
442 <action function="page">restore</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="%col1_x%" y="%row3_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Mount</text>
450 <image resource="main_button" />
451 <action function="page">mount</action>
452 </object>
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col2_x%" y="%row3_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Settings</text>
459 <image resource="main_button" />
460 <action function="page">settings</action>
461 </object>
462
Dees_Troyb46a6842012-09-25 11:06:46 -0400463
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <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="%col1_x%" y="%row4_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Advanced</text>
469 <image resource="main_button" />
470 <action function="page">advanced</action>
471 </object>
472
473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <placement x="%col2_x%" y="%row4_y%" />
476 <font resource="font" color="%button_text_color%" />
477 <text>Reboot</text>
478 <image resource="main_button" />
479 <action function="page">reboot</action>
480 </object>
481
482 <object type="template" name="footer" />
483 </page>
484
485 <page name="install">
486 <object type="template" name="header" />
487
488 <object type="text" color="%text_color%">
489 <font resource="font" />
490 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
491 <text>Select Zip to Install</text>
492 </object>
493
494 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500495 <highlight color="%highlight_color%" />
496 <fill color="%button_fill_color%" />
497 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
498 <font resource="font" color="%button_text_color%" />
499 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
500 <actions>
501 <action function="set">tw_back=install</action>
502 <action function="page">selectstorage</action>
503 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400504 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400505
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600507 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500508 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400509 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100510 <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 -0400511 <text>%tw_zip_location%</text>
512 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
513 <sort name="tw_gui_sort_order" />
514 <icon folder="folder_icon" file="file_icon" />
515 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600516 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400517 <filter extn=".zip" folders="1" files="1" />
518 <path name="tw_zip_location" default="/sdcard" />
519 <data name="tw_filename" />
520 <selection name="tw_file" />
521 </object>
522
523 <object type="template" name="sort_options" />
524
525 <object type="action">
526 <condition var1="tw_filename" op="modified" />
527 <actions>
528 <action function="queuezip"></action>
529 <action function="page">flash_confirm</action>
530 </actions>
531 </object>
532
533 <object type="action">
534 <touch key="back" />
535 <action function="page">main</action>
536 </object>
537
538 <object type="action">
539 <touch key="home" />
540 <action function="page">main</action>
541 </object>
542
543 <object type="template" name="footer" />
544 </page>
545
546 <page name="flash_confirm">
547 <object type="template" name="header" />
548
549 <object type="text" color="%text_color%">
550 <font resource="font" />
551 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
552 <text>This operation may install incompatible</text>
553 </object>
554
555 <object type="text" color="%text_color%">
556 <font resource="font" />
557 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
558 <text>software and render your device unusable.</text>
559 </object>
560
561 <object type="text" color="%text_color%">
562 <font resource="font" />
563 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
564 <text>Folder:</text>
565 </object>
566
567 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400568 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400569 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
570 <text>%tw_zip_location%</text>
571 </object>
572
573 <object type="text" color="%text_color%">
574 <font resource="font" />
575 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
576 <text>File to flash:</text>
577 </object>
578
579 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400580 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400581 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
582 <text>%tw_file%</text>
583 </object>
584
585 <object type="text" color="%text_color%">
586 <font resource="font" />
587 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
588 <text>Press back to cancel adding this zip.</text>
589 </object>
590
591 <object type="checkbox">
592 <placement x="%col1_x%" y="%row8_text_y%" />
593 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <data variable="tw_signed_zip_verify" />
596 <image checked="checkbox_true" unchecked="checkbox_false" />
597 </object>
598
599 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400600 <condition var1="tw_has_injecttwrp" var2="1" />
601 <placement x="%col1_x%" y="%row10_text_y%" />
602 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400603 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400604 <data variable="tw_inject_after_zip" />
605 <image checked="checkbox_true" unchecked="checkbox_false" />
606 </object>
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
611 <text>File %tw_zip_queue_count% of max of 10</text>
612 </object>
613
614 <object type="slider">
615 <placement x="%slider_x%" y="%slider_y%" placement="5" />
616 <resource base="slider" used="slider-used" touch="slider-touch" />
617 <action function="flash">flash_zip</action>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400622 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400623 <text>Swipe to Confirm Flash</text>
624 </object>
625
626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400628 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
629 <placement x="%col1_x%" y="%row_queue_y%" />
630 <font resource="font" color="%button_text_color%" />
631 <text>Add More Zips</text>
632 <image resource="main_button" />
633 <action function="page">install</action>
634 </object>
635
636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400638 <placement x="%col2_x%" y="%row_queue_y%" />
639 <font resource="font" color="%button_text_color%" />
640 <text>Clear Zip Queue</text>
641 <image resource="main_button" />
642 <actions>
643 <action function="queueclear"></action>
644 <action function="page">install</action>
645 </actions>
646 </object>
647
648 <object type="action">
649 <touch key="back" />
650 <actions>
651 <action function="cancelzip"></action>
652 <action function="page">install</action>
653 </actions>
654 </object>
655
656 <object type="action">
657 <touch key="home" />
658 <action function="page">main</action>
659 </object>
660
661 <object type="template" name="footer" />
662 </page>
663
664 <page name="flash_zip">
665 <object type="template" name="header" />
666
667 <object type="console">
668 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
669 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
670 <font resource="fixed" />
671 </object>
672
673 <object type="text" color="%text_color%">
674 <font resource="font" />
675 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
676 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
677 </object>
678
679 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400680 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400681 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
682 <text>%tw_filename%</text>
683 </object>
684
685 <object type="template" name="progress_bar" />
686
687 <object type="action">
688 <condition var1="tw_operation_state" var2="1" />
689 <action function="page">flash_done</action>
690 </object>
691 </page>
692
693 <page name="flash_done">
694 <object type="template" name="header" />
695
696 <object type="text" color="%text_color%">
697 <font resource="font" />
698 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
699 <text>Zip Install Complete</text>
700 </object>
701
702 <object type="console">
703 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
704 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
705 <font resource="fixed" />
706 </object>
707
708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400710 <placement x="%col1_x%" y="%row4_y%" />
711 <font resource="font" color="%button_text_color%" />
712 <text>Wipe cache/dalvik</text>
713 <image resource="main_button" />
714 <actions>
715 <action function="set">tw_back=flash_done</action>
716 <action function="set">tw_action=wipe</action>
717 <action function="set">tw_action_param=/cache</action>
718 <action function="set">tw_has_action2=1</action>
719 <action function="set">tw_action2=wipe</action>
720 <action function="set">tw_action2_param=dalvik</action>
721 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
722 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
723 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
724 <action function="set">tw_slider_text=Swipe to Wipe</action>
725 <action function="page">confirm_action</action>
726 </actions>
727 </object>
728
729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400731 <placement x="%col2_x%" y="%row4_y%" />
732 <font resource="font" color="%button_text_color%" />
733 <text>Reboot System</text>
734 <image resource="main_button" />
735 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400736 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400737 <action function="set">tw_action=reboot</action>
738 <action function="set">tw_action_param=system</action>
739 <action function="set">tw_has_action2=0</action>
740 <action function="set">tw_text1=No OS Installed! Are you</action>
741 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400742 <action function="set">tw_text3=</action>
743 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_complete_text1=Rebooting...</action>
747 <action function="set">tw_slider_text=Swipe to Reboot</action>
748 <action function="page">rebootcheck</action>
749 </actions>
750 </object>
751
752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400754 <placement x="%col_center_x%" y="%row3_y%" />
755 <font resource="font" color="%button_text_color%" />
756 <text>Home</text>
757 <image resource="main_button" />
758 <actions>
759 <action function="set">tw_clear_destination=main2</action>
760 <action function="page">clear_vars</action>
761 </actions>
762 </object>
763
764 <object type="text" color="%text_fail_color%">
765 <condition var1="tw_operation_status" op="!=" var2="0" />
766 <font resource="font" />
767 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
768 <text>Failed</text>
769 </object>
770
771 <object type="text" color="%text_success_color%">
772 <condition var1="tw_operation_status" var2="0" />
773 <font resource="font" />
774 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
775 <text>Successful</text>
776 </object>
777
778 <object type="action">
779 <touch key="back" />
780 <actions>
781 <action function="set">tw_clear_destination=install</action>
782 <action function="page">clear_vars</action>
783 </actions>
784 </object>
785
786 <object type="action">
787 <touch key="home" />
788 <actions>
789 <action function="set">tw_clear_destination=main2</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </object>
793 </page>
794
795 <page name="clear_vars">
796 <object type="action">
797 <action function="set">tw_operation_state=0</action>
798 <action function="set">tw_text1=</action>
799 <action function="set">tw_text2=</action>
800 <action function="set">tw_text3=</action>
801 <action function="set">tw_text4=</action>
802 <action function="set">tw_action_text1=</action>
803 <action function="set">tw_action_text2=</action>
804 <action function="set">tw_action_param=</action>
805 <action function="set">tw_has_action2=0</action>
806 <action function="set">tw_action2=</action>
807 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400808 <action function="set">tw_has_cancel=0</action>
809 <action function="set">tw_cancel_action=</action>
810 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400811 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400812 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400813 <action function="page">%tw_clear_destination%</action>
814 </object>
815 </page>
816
817 <page name="confirm_action">
818 <object type="template" name="header" />
819
820 <object type="text" color="%text_color%">
821 <font resource="font" />
822 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
823 <text>%tw_text1%</text>
824 </object>
825
826 <object type="text" color="%text_color%">
827 <font resource="font" />
828 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
829 <text>%tw_text2%</text>
830 </object>
831
832 <object type="text" color="%text_color%">
833 <font resource="font" />
834 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
835 <text>%tw_text3%</text>
836 </object>
837
838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
841 <text>%tw_text4%</text>
842 </object>
843
844 <object type="text" color="%text_color%">
845 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400846 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400847 <text>Press back button to cancel.</text>
848 </object>
849
850 <object type="slider">
851 <placement x="%slider_x%" y="%slider_y%" />
852 <resource base="slider" used="slider-used" touch="slider-touch" />
853 <action function="page">action_page</action>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400858 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400859 <text>%tw_slider_text%</text>
860 </object>
861
862 <object type="action">
863 <touch key="back" />
864 <actions>
865 <action function="set">tw_clear_destination=%tw_back%</action>
866 <action function="page">clear_vars</action>
867 </actions>
868 </object>
869
870 <object type="action">
871 <touch key="home" />
872 <action function="page">main</action>
873 </object>
874
875 <object type="template" name="footer" />
876 </page>
877
878 <page name="action_page">
879 <object type="template" name="header" />
880
881 <object type="text" color="%text_color%">
882 <font resource="font" />
883 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
884 <text>%tw_action_text1%</text>
885 </object>
886
887 <object type="text" color="%text_color%">
888 <font resource="font" />
889 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
890 <text>%tw_action_text2%</text>
891 </object>
892
893 <object type="template" name="action_page_console" />
894
Dees_Troycfb63ae2012-09-19 14:30:17 -0400895 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600896 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400897 <condition var1="tw_has_cancel" var2="1" />
898 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400899 <font resource="font" color="%button_text_color%" />
900 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400901 <image resource="medium_button" />
902 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400903 </object>
904
Dees_Troycfb63ae2012-09-19 14:30:17 -0400905 <object type="template" name="progress_bar" />
906
907 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400908 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400909 <actions>
910 <action function="page">action_complete</action>
911 </actions>
912 </object>
913
914 <object type="action">
915 <condition var1="tw_has_action2" var2="0" />
916 <actions>
917 <action function="%tw_action%">%tw_action_param%</action>
918 </actions>
919 </object>
920
921 <object type="action">
922 <condition var1="tw_has_action2" var2="1" />
923 <actions>
924 <action function="%tw_action%">%tw_action_param%</action>
925 <action function="%tw_action2%">%tw_action2_param%</action>
926 </actions>
927 </object>
928 </page>
929
Dees_Troy6ef66352013-02-21 08:26:57 -0600930 <page name="singleaction_page">
931 <object type="template" name="header" />
932
933 <object type="text" color="%text_color%">
934 <font resource="font" />
935 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
936 <text>%tw_action_text1%</text>
937 </object>
938
939 <object type="text" color="%text_color%">
940 <font resource="font" />
941 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
942 <text>%tw_action_text2%</text>
943 </object>
944
945 <object type="template" name="action_page_console" />
946
947 <object type="template" name="progress_bar" />
948
949 <object type="action">
950 <condition var1="tw_operation_state" var2="1" />
951 <actions>
952 <action function="set">tw_page_done=1</action>
953 </actions>
954 </object>
955
956 <object type="action">
957 <condition var1="tw_has_action2" var2="0" />
958 <actions>
959 <action function="%tw_action%">%tw_action_param%</action>
960 </actions>
961 </object>
962
963 <object type="action">
964 <condition var1="tw_has_action2" var2="1" />
965 <actions>
966 <action function="%tw_action%">%tw_action_param%</action>
967 <action function="%tw_action2%">%tw_action2_param%</action>
968 </actions>
969 </object>
970 </page>
971
Dees_Troy51a0e822012-09-05 15:24:24 -0400972 <page name="action_complete">
973 <object type="template" name="header" />
974
975 <object type="text" color="%text_color%">
976 <font resource="font" />
977 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
978 <text>%tw_complete_text1%</text>
979 </object>
980
981 <object type="text" color="%text_fail_color%">
982 <condition var1="tw_operation_status" op="!=" var2="0" />
983 <font resource="font" />
984 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
985 <text>Failed</text>
986 </object>
987
988 <object type="text" color="%text_success_color%">
989 <condition var1="tw_operation_status" var2="0" />
990 <font resource="font" />
991 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
992 <text>Successful</text>
993 </object>
994
995 <object type="template" name="action_page_console" />
996
997 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600998 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400999 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001000 <placement x="%col_center_x%" y="%row4_y%" />
1001 <font resource="font" color="%button_text_color%" />
1002 <text>Back</text>
1003 <image resource="main_button" />
1004 <actions>
1005 <action function="set">tw_clear_destination=%tw_back%</action>
1006 <action function="page">clear_vars</action>
1007 </actions>
1008 </object>
1009
Dees_Troya3f81542012-10-08 10:58:53 -04001010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001011 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001012 <condition var1="tw_show_reboot" var2="1" />
1013 <placement x="%col_center_x%" y="%row4_y%" />
1014 <font resource="font" color="%button_text_color%" />
1015 <text>Reboot System</text>
1016 <image resource="main_button" />
1017 <actions>
1018 <action function="set">tw_back=main2</action>
1019 <action function="set">tw_action=reboot</action>
1020 <action function="set">tw_action_param=system</action>
1021 <action function="set">tw_has_action2=0</action>
1022 <action function="set">tw_text1=No OS Installed! Are you</action>
1023 <action function="set">tw_text2=sure you wish to reboot?</action>
1024 <action function="set">tw_text3=</action>
1025 <action function="set">tw_text4=</action>
1026 <action function="set">tw_action_text1=Rebooting...</action>
1027 <action function="set">tw_action_text2=</action>
1028 <action function="set">tw_complete_text1=Rebooting...</action>
1029 <action function="set">tw_slider_text=Swipe to Reboot</action>
1030 <action function="page">rebootcheck</action>
1031 </actions>
1032 </object>
1033
Dees_Troy51a0e822012-09-05 15:24:24 -04001034 <object type="action">
1035 <touch key="home" />
1036 <actions>
1037 <action function="set">tw_clear_destination=main2</action>
1038 <action function="page">clear_vars</action>
1039 </actions>
1040 </object>
1041
1042 <object type="action">
1043 <touch key="back" />
1044 <actions>
1045 <action function="set">tw_clear_destination=%tw_back%</action>
1046 <action function="page">clear_vars</action>
1047 </actions>
1048 </object>
1049 </page>
1050
1051 <page name="filecheck">
1052 <object type="action">
1053 <action function="fileexists">%tw_filecheck%</action>
1054 </object>
1055
1056 <object type="action">
1057 <conditions>
1058 <condition var1="tw_operation_state" var2="1" />
1059 <condition var1="tw_operation_status" var2="0" />
1060 </conditions>
1061 <actions>
1062 <action function="set">tw_fileexists=1</action>
1063 <action function="page">%tw_existpage%</action>
1064 </actions>
1065 </object>
1066
1067 <object type="action">
1068 <conditions>
1069 <condition var1="tw_operation_state" var2="1" />
1070 <condition var1="tw_operation_status" var2="1" />
1071 </conditions>
1072 <actions>
1073 <action function="set">tw_fileexists=0</action>
1074 <action function="page">%tw_notexistpage%</action>
1075 </actions>
1076 </object>
1077 </page>
1078
1079 <page name="rebootcheck">
1080 <object type="action">
1081 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1082 <action function="reboot">%tw_action_param%</action>
1083 </object>
1084
1085 <object type="action">
1086 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1087 <action function="page">confirm_action</action>
1088 </object>
1089 </page>
1090
1091 <page name="wipe">
1092 <object type="template" name="header" />
1093
1094 <object type="text" color="%text_color%">
1095 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001096 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001097 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001098 </object>
1099
1100 <object type="text" color="%text_color%">
1101 <font resource="font" />
1102 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1103 <text>Wipes Data, Cache, and Dalvik</text>
1104 </object>
1105
1106 <object type="text" color="%text_color%">
1107 <condition var1="tw_has_data_media" var2="0" />
1108 <font resource="font" />
1109 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1110 <text>.android_secure</text>
1111 </object>
1112
1113 <object type="text" color="%text_color%">
1114 <condition var1="tw_has_data_media" var2="1" />
1115 <font resource="font" />
1116 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1117 <text>(not including internal storage)</text>
1118 </object>
1119
1120 <object type="text" color="%text_color%">
1121 <condition var1="tw_has_sdext_partition" var2="1" />
1122 <font resource="font" />
1123 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1124 <text>SD-EXT</text>
1125 </object>
1126
1127 <object type="text" color="%text_color%">
1128 <font resource="font" />
1129 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1130 <text>Most of the time this is</text>
1131 </object>
1132
1133 <object type="text" color="%text_color%">
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1136 <text>the only wipe that you need.</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <font resource="font" />
1141 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1142 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 </object>
1144
1145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001146 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001147 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001149 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001151 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001152 </object>
1153
1154 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 <conditions>
1156 <condition var1="tw_has_internal" var2="1" />
1157 <condition var1="tw_has_data_media" var2="1" />
1158 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001159 <highlight color="%highlight_color%" />
1160 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001161 <font resource="font" color="%button_text_color%" />
1162 <text>Format Data</text>
1163 <image resource="main_button" />
1164 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001166 </actions>
1167 </object>
1168
Dees_Troya13d74f2013-03-24 08:54:55 -05001169 <object type="slider">
1170 <placement x="%slider_x%" y="%slider_y%" />
1171 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001172 <actions>
1173 <action function="set">tw_back=wipe</action>
1174 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001175 <action function="set">tw_action_param=data</action>
1176 <action function="set">tw_action_text1=Factory Reset...</action>
1177 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1178 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001179 </actions>
1180 </object>
1181
Dees_Troya13d74f2013-03-24 08:54:55 -05001182 <object type="text" color="%text_color%">
1183 <font resource="font" />
1184 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1185 <text>Swipe to Factory Reset</text>
1186 </object>
1187
1188 <object type="action">
1189 <touch key="back" />
1190 <action function="page">main</action>
1191 </object>
1192
1193 <object type="action">
1194 <touch key="home" />
1195 <action function="page">main</action>
1196 </object>
1197
1198 <object type="template" name="footer" />
1199 </page>
1200
1201 <page name="advancedwipe">
1202 <object type="template" name="header" />
1203
1204 <object type="text" color="%text_color%">
1205 <font resource="font" />
1206 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1207 <text>Wipe Menu</text>
1208 </object>
1209
1210 <object type="partitionlist">
1211 <highlight color="%fileselector_highlight_color%" />
1212 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1213 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1214 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1215 <text>Select Partitions to Wipe:</text>
1216 <icon selected="checkbox_true" unselected="checkbox_false" />
1217 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1218 <background color="%listbox_background%" />
1219 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1220 <data name="tw_wipe_list" />
1221 <listtype name="wipe" />
1222 </object>
1223
1224 <object type="slider">
1225 <placement x="%slider_x%" y="%slider_y%" />
1226 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001227 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001228 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001229 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001230 <action function="set">tw_action_param=LIST</action>
1231 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1232 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1233 <action function="set">tw_complete_text1=Wipe Complete</action>
1234 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001235 </actions>
1236 </object>
1237
Dees_Troya13d74f2013-03-24 08:54:55 -05001238 <object type="text" color="%text_color%">
1239 <font resource="font" />
1240 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1241 <text>Swipe to Wipe</text>
1242 </object>
1243
Dees_Troy51a0e822012-09-05 15:24:24 -04001244 <object type="action">
1245 <touch key="home" />
1246 <action function="page">main</action>
1247 </object>
1248
1249 <object type="action">
1250 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001251 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001252 </object>
1253
1254 <object type="template" name="footer" />
1255 </page>
1256
Dees_Troya13d74f2013-03-24 08:54:55 -05001257 <page name="formatdata">
1258 <object type="template" name="header" />
1259
1260 <object type="text" color="%text_color%">
1261 <font resource="font" />
1262 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1263 <text>Format Data will wipe all of your apps,</text>
1264 </object>
1265
1266 <object type="text" color="%text_color%">
1267 <font resource="font" />
1268 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1269 <text>backups, pictures, videos, media, and</text>
1270 </object>
1271
1272 <object type="text" color="%text_color%">
1273 <font resource="font" />
1274 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1275 <text>removes encryption on internal storage.</text>
1276 </object>
1277
1278 <object type="text" color="%text_color%">
1279 <font resource="font" />
1280 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1281 <text>This cannot be undone. Press back to cancel.</text>
1282 </object>
1283
1284 <object type="text" color="%text_color%">
1285 <font resource="font" />
1286 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1287 <text>Type yes to continue.</text>
1288 </object>
1289
1290 <object type="input">
1291 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1292 <background color="%input_background_color%" />
1293 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1294 <font resource="font" color="%text_color%" />
1295 <text>%tw_confirm_formatdata%</text>
1296 <data name="tw_confirm_formatdata" />
1297 <restrict minlen="3" maxlen="3" allow="yes" />
1298 <action function="page">formatdata_confirm</action>
1299 </object>
1300
1301 <object type="template" name="keyboardtemplate" />
1302
1303 <object type="action">
1304 <touch key="home" />
1305 <action function="page">main</action>
1306 </object>
1307
1308 <object type="action">
1309 <touch key="back" />
1310 <action function="page">wipe</action>
1311 </object>
1312
1313 <object type="template" name="footer" />
1314 </page>
1315
1316 <page name="formatdata_confirm">
1317 <object type="action">
1318 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1319 <actions>
1320 <action function="set">tw_back=formatdata</action>
1321 <action function="set">tw_action=wipe</action>
1322 <action function="set">tw_action_param=DATAMEDIA</action>
1323 <action function="set">tw_action_text1=Formatting Data...</action>
1324 <action function="set">tw_complete_text1=Data Format Complete</action>
1325 <action function="page">action_page</action>
1326 </actions>
1327 </object>
1328
1329 <object type="action">
1330 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1331 <action function="page">formatdata</function>
1332 </object>
1333 </page>
1334
Dees_Troy51a0e822012-09-05 15:24:24 -04001335 <page name="backup">
1336 <object type="template" name="header" />
1337
Dees_Troy83bd4832013-05-04 12:39:56 +00001338 <object type="button">
1339 <highlight color="%highlight_color%" />
1340 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001341 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001342 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001343 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001344 <actions>
1345 <action function="set">tw_fileexists=0</action>
1346 <action function="page">backupname1</action>
1347 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001348 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001349
Dees_Troya13d74f2013-03-24 08:54:55 -05001350 <object type="partitionlist">
1351 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001352 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001353 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1354 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1355 <text>Select Partitions to Back Up:</text>
1356 <icon selected="checkbox_true" unselected="checkbox_false" />
1357 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1358 <background color="%listbox_background%" />
1359 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1360 <data name="tw_backup_list" />
1361 <listtype name="backup" />
1362 </object>
1363
1364 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001365 <conditions>
1366 <condition var1="tw_include_encrypted_backup" var2="1" />
1367 <condition var1="tw_encrypt_backup" var2="0" />
1368 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001369 <highlight color="%highlight_color%" />
1370 <fill color="%button_fill_color%" />
1371 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1372 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001373 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001374 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001375 <action function="page">backupencryption</action>
1376 </actions>
1377 </object>
1378
1379 <object type="button">
1380 <conditions>
1381 <condition var1="tw_include_encrypted_backup" var2="1" />
1382 <condition var1="tw_encrypt_backup" var2="1" />
1383 </conditions>
1384 <highlight color="%highlight_color%" />
1385 <fill color="%button_fill_color%" />
1386 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1387 <font resource="font" color="%button_text_color%" />
1388 <text>Using Encryption</text>
1389 <actions>
1390 <action function="set">tw_password_not_match=0</action>
1391 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001392 </actions>
1393 </object>
1394
1395 <object type="button">
1396 <highlight color="%highlight_color%" />
1397 <fill color="%button_fill_color%" />
1398 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1399 <font resource="font" color="%button_text_color%" />
1400 <text>Refresh Sizes</text>
1401 <action function="refreshsizes"></action>
1402 </object>
1403
1404 <object type="button">
1405 <highlight color="%highlight_color%" />
1406 <fill color="%button_fill_color%" />
1407 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1408 <font resource="font" color="%button_text_color%" />
1409 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1410 <actions>
1411 <action function="set">tw_back=backup</action>
1412 <action function="page">selectstorage</action>
1413 </actions>
1414 </object>
1415
1416 <object type="checkbox">
1417 <placement x="%col1_x%" y="%row15_text_y%" />
1418 <font resource="font" color="%text_color%" />
1419 <text>Enable compression.</text>
1420 <data variable="tw_use_compression" />
1421 <image checked="checkbox_true" unchecked="checkbox_false" />
1422 </object>
1423
1424 <object type="checkbox">
1425 <placement x="%col1_x%" y="%row16_text_y%" />
1426 <font resource="font" color="%text_color%" />
1427 <text>Skip MD5 generation during backup.</text>
1428 <data variable="tw_skip_md5_generate" />
1429 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001430 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001431
Dees_Troyb46a6842012-09-25 11:06:46 -04001432 <object type="slider">
1433 <placement x="%slider_x%" y="slider_y" />
1434 <resource base="slider" used="slider-used" touch="slider-touch" />
1435 <action function="page">backup_run</action>
1436 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001437
1438 <object type="text" color="%text_color%">
1439 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001440 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001441 <text>Swipe to Back Up</text>
1442 </object>
1443
Dees_Troy51a0e822012-09-05 15:24:24 -04001444 <object type="action">
1445 <touch key="home" />
1446 <action function="page">main</action>
1447 </object>
1448
1449 <object type="action">
1450 <touch key="back" />
1451 <action function="page">main</action>
1452 </object>
1453
1454 <object type="template" name="footer" />
1455 </page>
1456
1457 <page name="backupname1">
1458 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001459 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1460 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001461 </object>
1462
1463 <object type="action">
1464 <action function="page">backupname2</function>
1465 </object>
1466 </page>
1467
1468 <page name="backupname2">
1469 <object type="template" name="header" />
1470
1471 <object type="text" color="%text_color%">
1472 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1473 <font resource="font" />
1474 <text>Please Enter a Backup Name</text>
1475 </object>
1476
1477 <object type="input">
1478 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1479 <background color="%input_background_color%" />
1480 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1481 <font resource="font" color="%text_color%" />
1482 <text>%tw_backup_name%</text>
1483 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001484 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001485 <actions>
1486 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1487 <action function="set">tw_existpage=backupname2</action>
1488 <action function="set">tw_notexistpage=backup</action>
1489 <action function="page">filecheck</action>
1490 </actions>
1491 </object>
1492
1493 <object type="text" color="%text_fail_color%">
1494 <condition var1="tw_fileexists" var2="1" />
1495 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1496 <font resource="font" />
1497 <text>A backup with that name already exists!</text>
1498 </object>
1499
Dees_Troyb46a6842012-09-25 11:06:46 -04001500 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001501 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001502 <placement x="%col1_x%" y="%row2_y%" />
1503 <font resource="font" color="%button_text_color%" />
1504 <text>Append Date</text>
1505 <image resource="main_button" />
1506 <action function="appenddatetobackupname"></action>
1507 </object>
1508
1509 <object type="button">
1510 <highlight color="%highlight_color%" />
1511 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001512 <font resource="font" color="%button_text_color%" />
1513 <text>Cancel</text>
1514 <image resource="main_button" />
1515 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001516 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001517 <action function="page">backup</action>
1518 </actions>
1519 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001520
1521 <object type="template" name="keyboardtemplate" />
1522
Dees_Troyb46a6842012-09-25 11:06:46 -04001523 <object type="action">
1524 <touch key="home" />
1525 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001526 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001527 <action function="page">main</action>
1528 </actions>
1529 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001530
Dees_Troyb46a6842012-09-25 11:06:46 -04001531 <object type="action">
1532 <touch key="back" />
1533 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001534 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001535 <action function="page">backup</action>
1536 </actions>
1537 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001538
1539 <object type="template" name="footer" />
1540 </page>
1541
Dees_Troy83bd4832013-05-04 12:39:56 +00001542 <page name="backupencryption">
1543 <object type="template" name="header" />
1544
1545 <object type="text" color="%text_color%">
1546 <font resource="font" />
1547 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1548 <text>Encrypt your backup?</text>
1549 </object>
1550
1551 <object type="text" color="%text_color%">
1552 <font resource="font" />
1553 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1554 <text>Please Enter A Password:</text>
1555 </object>
1556
1557 <object type="input">
1558 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1559 <background color="%input_background_color%" />
1560 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1561 <font resource="font" color="%text_color%" />
1562 <text>%tw_backup_encrypt_display%</text>
1563 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1564 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1565 <action function="page">backupencryption2</action>
1566 </object>
1567
1568 <object type="text" color="%text_fail_color%">
1569 <condition var1="tw_password_not_match" var2="1" />
1570 <font resource="font" />
1571 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1572 <text>Passwords Do Not Match</text>
1573 </object>
1574
1575 <object type="button">
1576 <highlight color="%highlight_color%" />
1577 <placement x="%col_center_x%" y="%row2_y%" />
1578 <font resource="font" color="%button_text_color%" />
1579 <text>Cancel</text>
1580 <image resource="main_button" />
1581 <actions>
1582 <action function="set">tw_encrypt_backup=0</action>
1583 <action function="set">tw_backup_password=</action>
1584 <action function="set">tw_backup_password2=</action>
1585 <action function="set">tw_backup_encrypt_display=</action>
1586 <action function="set">tw_backup_encrypt_display2=</action>
1587 <action function="page">backup</action>
1588 </actions>
1589 </object>
1590
1591 <object type="template" name="keyboardtemplate" />
1592
1593 <object type="action">
1594 <touch key="home" />
1595 <action function="page">main</action>
1596 </object>
1597
1598 <object type="action">
1599 <touch key="back" />
1600 <action function="page">backup</action>
1601 </object>
1602
1603 <object type="template" name="footer" />
1604 </page>
1605
1606 <page name="backupencryption2">
1607 <object type="template" name="header" />
1608
1609 <object type="text" color="%text_color%">
1610 <font resource="font" />
1611 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1612 <text>Encrypt your backup?</text>
1613 </object>
1614
1615 <object type="text" color="%text_color%">
1616 <font resource="font" />
1617 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1618 <text>Please Enter Password Again:</text>
1619 </object>
1620
1621 <object type="input">
1622 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1623 <background color="%input_background_color%" />
1624 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1625 <font resource="font" color="%text_color%" />
1626 <text>%tw_backup_encrypt_display2%</text>
1627 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1628 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1629 <actions>
1630 <action function="page">checkbackuppassword</action>
1631 </actions>
1632 </object>
1633
1634 <object type="button">
1635 <highlight color="%highlight_color%" />
1636 <placement x="%col_center_x%" y="%row2_y%" />
1637 <font resource="font" color="%button_text_color%" />
1638 <text>Cancel</text>
1639 <image resource="main_button" />
1640 <actions>
1641 <action function="set">tw_encrypt_backup=0</action>
1642 <action function="set">tw_backup_password=</action>
1643 <action function="set">tw_backup_password2=</action>
1644 <action function="set">tw_backup_encrypt_display=</action>
1645 <action function="set">tw_backup_encrypt_display2=</action>
1646 <action function="page">backup</action>
1647 </actions>
1648 </object>
1649
1650 <object type="template" name="keyboardtemplate" />
1651
1652 <object type="action">
1653 <touch key="home" />
1654 <action function="page">main</action>
1655 </object>
1656
1657 <object type="action">
1658 <touch key="back" />
1659 <action function="page">backup</action>
1660 </object>
1661
1662 <object type="template" name="footer" />
1663 </page>
1664
1665 <page name="checkbackuppassword">
1666 <object type="action">
1667 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1668 <actions>
1669 <action function="set">tw_encrypt_backup=1</action>
1670 <action function="page">backup</action>
1671 </actions>
1672 </object>
1673
1674 <object type="action">
1675 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1676 <actions>
1677 <action function="set">tw_encrypt_backup=0</action>
1678 <action function="set">tw_password_not_match=1</action>
1679 <action function="set">tw_backup_password=</action>
1680 <action function="set">tw_backup_password2=</action>
1681 <action function="set">tw_backup_encrypt_display=</action>
1682 <action function="set">tw_backup_encrypt_display2=</action>
1683 <action function="page">backupencryption</action>
1684 </actions>
1685 </object>
1686 </page>
1687
Dees_Troy51a0e822012-09-05 15:24:24 -04001688 <page name="backup_run">
1689 <object type="template" name="header" />
1690
1691 <object type="text" color="%text_color%">
1692 <font resource="font" />
1693 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1694 <text>%tw_operation% %tw_partition%</text>
1695 </object>
1696
1697 <object type="template" name="action_page_console" />
1698
1699 <object type="template" name="progress_bar" />
1700
1701 <object type="action">
1702 <action function="nandroid">backup</action>
1703 </object>
1704
1705 <object type="action">
1706 <condition var1="tw_operation_state" var2="1" />
1707 <actions>
1708 <action function="set">tw_back=backup</action>
1709 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001710 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 <action function="page">action_complete</action>
1712 </actions>
1713 </object>
1714 </page>
1715
1716 <page name="restore">
1717 <object type="template" name="header" />
1718
1719 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001720 <highlight color="%highlight_color%" />
1721 <fill color="%button_fill_color%" />
1722 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1723 <font resource="font" color="%button_text_color%" />
1724 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1725 <actions>
1726 <action function="set">tw_back=restore</action>
1727 <action function="page">selectstorage</action>
1728 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001729 </object>
1730
1731 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001732 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001733 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001734 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001735 <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 -04001736 <text>Select Package to Restore:</text>
1737 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1738 <sort name="tw_gui_sort_order" />
1739 <icon folder="folder_icon" file="file_icon" />
1740 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001741 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001742 <filter folders="1" files="0" nav="0" />
1743 <path name="tw_backups_folder" />
1744 <data name="tw_restore" default="" />
1745 <selection name="tw_restore_name" />
1746 </object>
1747
1748 <object type="template" name="sort_options" />
1749
1750 <object type="action">
1751 <condition var1="tw_restore" op="modified" />
1752 <actions>
1753 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001754 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001755 </actions>
1756 </object>
1757
1758 <object type="action">
1759 <touch key="home" />
1760 <action function="page">main</action>
1761 </object>
1762
1763 <object type="action">
1764 <touch key="back" />
1765 <action function="page">main</action>
1766 </object>
1767
1768 <object type="template" name="footer" />
1769 </page>
1770
Dees_Troy83bd4832013-05-04 12:39:56 +00001771 <page name="restore_read">
1772 <object type="action">
1773 <condition var1="tw_restore_encrypted" var2="1" />
1774 <actions>
1775 <action function="set">tw_password_fail=0</action>
1776 <action function="page">restore_decrypt</action>
1777 </actions>
1778 </object>
1779
1780 <object type="action">
1781 <condition var1="tw_restore_encrypted" var2="0" />
1782 <actions>
1783 <action function="page">restore_select</action>
1784 </actions>
1785 </object>
1786 </page>
1787
1788 <page name="restore_decrypt">
1789 <object type="template" name="header" />
1790
1791 <object type="text" color="%text_color%">
1792 <font resource="font" />
1793 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1794 <text>Backup Encrypted</text>
1795 </object>
1796
1797 <object type="text" color="%text_color%">
1798 <font resource="font" />
1799 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1800 <text>Please Enter Your Password:</text>
1801 </object>
1802
1803 <object type="input">
1804 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1805 <background color="%input_background_color%" />
1806 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1807 <font resource="font" color="%text_color%" />
1808 <text>%tw_restore_display%</text>
1809 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1810 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1811 <actions>
1812 <action function="page">try_restore_decrypt</action>
1813 </actions>
1814 </object>
1815
1816 <object type="text" color="%text_fail_color%">
1817 <condition var1="tw_password_fail" var2="1" />
1818 <font resource="font" />
1819 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1820 <text>Password Failed, Please Try Again</text>
1821 </object>
1822
1823 <object type="button">
1824 <highlight color="%highlight_color%" />
1825 <placement x="%col1_x%" y="%row2_y%" />
1826 <font resource="font" color="%button_text_color%" />
1827 <text>Cancel</text>
1828 <image resource="main_button" />
1829 <actions>
1830 <action function="set">tw_page_done=1</action>
1831 <action function="page">restore</action>
1832 </actions>
1833 </object>
1834
1835 <object type="button">
1836 <highlight color="%highlight_color%" />
1837 <placement x="%col2_x%" y="%row2_y%" />
1838 <font resource="font" color="%button_text_color%" />
1839 <text>Delete</text>
1840 <image resource="main_button" />
1841 <actions>
1842 <action function="set">tw_back=restore</action>
1843 <action function="set">tw_action=cmd</action>
1844 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1845 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1846 <action function="set">tw_text2=This cannot be undone!</action>
1847 <action function="set">tw_action_text1=Deleting Backup...</action>
1848 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1849 <action function="set">tw_slider_text=Swipe to Delete</action>
1850 <action function="page">confirm_action</action>
1851 </actions>
1852 </object>
1853
1854 <object type="template" name="keyboardtemplate" />
1855
1856 <object type="action">
1857 <touch key="home" />
1858 <action function="page">main</action>
1859 </object>
1860
1861 <object type="action">
1862 <touch key="back" />
1863 <action function="page">restore</action>
1864 </object>
1865
1866 <object type="template" name="footer" />
1867 </page>
1868
1869 <page name="try_restore_decrypt">
1870 <object type="template" name="header" />
1871
1872 <object type="text" color="%text_color%">
1873 <font resource="font" />
1874 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1875 <text>Trying Decryption with Your Password</text>
1876 </object>
1877
1878 <object type="template" name="action_page_console" />
1879
1880 <object type="template" name="progress_bar" />
1881
1882 <object type="action">
1883 <action function="decrypt_backup"></action>
1884 </object>
1885
1886 <object type="action">
1887 <conditions>
1888 <condition var1="tw_operation_state" var2="1" />
1889 <condition var1="tw_operation_status" op="!=" var2="0" />
1890 </conditions>
1891 <actions>
1892 <action function="set">tw_password_fail=1</action>
1893 <action function="page">restore_decrypt</action>
1894 </actions>
1895 </object>
1896
1897 <object type="action">
1898 <conditions>
1899 <condition var1="tw_operation_state" var2="1" />
1900 <condition var1="tw_operation_status" op="=" var2="0" />
1901 </conditions>
1902 <actions>
1903 <action function="set">tw_page_done=1</action>
1904 <action function="page">restore_select</action>
1905 </actions>
1906 </object>
1907 </page>
1908
Dees_Troy51a0e822012-09-05 15:24:24 -04001909 <page name="restore_select">
1910 <object type="template" name="header" />
1911
Dees_Troya13d74f2013-03-24 08:54:55 -05001912 <object type="partitionlist">
1913 <highlight color="%fileselector_highlight_color%" />
1914 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1915 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1916 <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 -04001917 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001918 <icon selected="checkbox_true" unselected="checkbox_false" />
1919 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1920 <background color="%listbox_background%" />
1921 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1922 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1923 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001924 </object>
1925
1926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001927 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001928 <fill color="%button_fill_color%" />
1929 <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 -04001930 <font resource="font" color="%button_text_color%" />
1931 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001932 <actions>
1933 <action function="set">tw_backup_rename=</action>
1934 <action function="set">tw_fileexists=0</action>
1935 <action function="page">renamebackup</action>
1936 </actions>
1937 </object>
1938
1939 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001940 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001941 <fill color="%button_fill_color%" />
1942 <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 -04001943 <font resource="font" color="%button_text_color%" />
1944 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001945 <actions>
1946 <action function="set">tw_back=restore</action>
1947 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001948 <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 -04001949 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1950 <action function="set">tw_text2=This cannot be undone!</action>
1951 <action function="set">tw_action_text1=Deleting Backup...</action>
1952 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1953 <action function="set">tw_slider_text=Swipe to Delete</action>
1954 <action function="page">confirm_action</action>
1955 </actions>
1956 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001957
Dees_Troya13d74f2013-03-24 08:54:55 -05001958 <object type="checkbox">
1959 <placement x="%col1_x%" y="%row15_text_y%" />
1960 <font resource="font" color="%text_color%" />
1961 <text>Enable MD5 verification of backup files.</text>
1962 <data variable="tw_skip_md5_check" />
1963 <image checked="checkbox_true" unchecked="checkbox_false" />
1964 </object>
1965
1966 <object type="text" color="%text_color%">
1967 <font resource="font" />
1968 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1969 <text>Package Date: %tw_restore_file_date%</text>
1970 </object>
1971
Dees_Troy51a0e822012-09-05 15:24:24 -04001972 <object type="slider">
1973 <placement x="%slider_x%" y="%slider_y%" />
1974 <resource base="slider" used="slider-used" touch="slider-touch" />
1975 <action function="page">restore_run</action>
1976 </object>
1977
1978 <object type="text" color="%text_color%">
1979 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001980 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001981 <text>Swipe to Restore</text>
1982 </object>
1983
Dees_Troy51a0e822012-09-05 15:24:24 -04001984 <object type="action">
1985 <touch key="home" />
1986 <action function="page">main</action>
1987 </object>
1988
1989 <object type="action">
1990 <touch key="back" />
1991 <action function="page">restore</action>
1992 </object>
1993
1994 <object type="template" name="footer" />
1995 </page>
1996
1997 <page name="renamebackup">
1998 <object type="template" name="header" />
1999
2000 <object type="text" color="%text_color%">
2001 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2002 <font resource="font" />
2003 <text>Please Enter a New Backup Name</text>
2004 </object>
2005
2006 <object type="input">
2007 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2008 <background color="%input_background_color%" />
2009 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2010 <font resource="font" color="%text_color%" />
2011 <text>%tw_backup_rename%</text>
2012 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002013 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002014 <actions>
2015 <action function="set">tw_back=restore</action>
2016 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002017 <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 -04002018 <action function="set">tw_text1=Rename Backup?</action>
2019 <action function="set">tw_text2=This cannot be undone!</action>
2020 <action function="set">tw_action_text1=Renaming Backup...</action>
2021 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2022 <action function="set">tw_slider_text=Swipe to Rename</action>
2023 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2024 <action function="set">tw_existpage=renamebackup</action>
2025 <action function="set">tw_notexistpage=confirm_action</action>
2026 <action function="page">filecheck</action>
2027 </actions>
2028 </object>
2029
2030 <object type="text" color="%text_fail_color%">
2031 <condition var1="tw_fileexists" var2="1" />
2032 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2033 <font resource="font" />
2034 <text>A backup with that name already exists!</text>
2035 </object>
2036
2037 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002038 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002039 <placement x="%col_center_x%" y="%row2_y%" />
2040 <font resource="font" color="%button_text_color%" />
2041 <text>Cancel</text>
2042 <image resource="main_button" />
2043 <action function="page">restore_select</action>
2044 </object>
2045
2046 <object type="template" name="keyboardtemplate" />
2047
2048 <object type="action">
2049 <touch key="home" />
2050 <action function="page">main</action>
2051 </object>
2052
2053 <object type="action">
2054 <touch key="back" />
2055 <action function="page">restore_select</action>
2056 </object>
2057
2058 <object type="template" name="footer" />
2059 </page>
2060
2061 <page name="restore_run">
2062 <object type="template" name="header" />
2063
2064 <object type="text" color="%text_color%">
2065 <font resource="font" />
2066 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2067 <text>%tw_operation% %tw_partition%</text>
2068 </object>
2069
2070 <object type="template" name="action_page_console" />
2071
2072 <object type="template" name="progress_bar" />
2073
2074 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002075 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002076 <actions>
2077 <action function="set">tw_back=restore_select</action>
2078 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002079 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002080 <action function="page">action_complete</action>
2081 </actions>
2082 </object>
2083
2084 <object type="action">
2085 <action function="nandroid">restore</action>
2086 </object>
2087 </page>
2088
Dees_Troya13d74f2013-03-24 08:54:55 -05002089 <page name="selectstorage">
2090 <object type="template" name="header" />
2091
2092 <object type="partitionlist">
2093 <highlight color="%fileselector_highlight_color%" />
2094 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2095 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2096 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2097 <text>Select Storage:</text>
2098 <icon selected="radio_true" unselected="radio_false" />
2099 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2100 <background color="%listbox_background%" />
2101 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2102 <data name="tw_storage_path" />
2103 <listtype name="storage" />
2104 </object>
2105
Dees_Troye7e0ae82013-07-05 14:46:07 +00002106 <object type="button">
2107 <highlight color="%highlight_color%" />
2108 <placement x="%col_center_x%" y="%row4_y%" />
2109 <font resource="font" color="%button_text_color%" />
2110 <text>OK</text>
2111 <image resource="main_button" />
2112 <actions>
2113 <action function="set">tw_clear_destination=%tw_back%</action>
2114 <action function="page">clear_vars</action>
2115 </actions>
2116 </object>
2117
Dees_Troya13d74f2013-03-24 08:54:55 -05002118 <object type="action">
2119 <touch key="home" />
2120 <action function="page">main</action>
2121 </object>
2122
2123 <object type="action">
2124 <touch key="back" />
2125 <actions>
2126 <action function="page">%tw_back%</action>
2127 </actions>
2128 </object>
2129
2130 <object type="template" name="footer" />
2131 </page>
2132
Dees_Troy51a0e822012-09-05 15:24:24 -04002133 <page name="mount">
2134 <object type="template" name="header" />
2135
Dees_Troya13d74f2013-03-24 08:54:55 -05002136 <object type="partitionlist">
2137 <highlight color="%fileselector_highlight_color%" />
2138 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2139 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2140 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2141 <text>Select Partitions to Mount:</text>
2142 <icon selected="checkbox_true" unselected="checkbox_false" />
2143 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2144 <background color="%listbox_background%" />
2145 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2146 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002147 </object>
2148
2149 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002150 <highlight color="%highlight_color%" />
2151 <fill color="%button_fill_color%" />
2152 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2153 <font resource="font" color="%button_text_color%" />
2154 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2155 <actions>
2156 <action function="set">tw_back=mount</action>
2157 <action function="page">selectstorage</action>
2158 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002159 </object>
2160
2161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002163 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002164 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002165 <font resource="font" color="%button_text_color%" />
2166 <text>Mount USB Storage</text>
2167 <image resource="main_button" />
2168 <action function="page">usb_mount</action>
2169 </object>
2170
Gary Peckffdc6ae2012-11-21 18:02:02 -08002171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002172 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002173 <conditions>
2174 <condition var1="tw_is_encrypted" var2="1" />
2175 <condition var1="tw_is_decrypted" var2="0" />
2176 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002177 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002178 <font resource="font" color="%button_text_color%" />
2179 <text>Decrypt Data</text>
2180 <image resource="main_button" />
2181 <action function="page">decrypt</action>
2182 </object>
2183
Dees_Troy51a0e822012-09-05 15:24:24 -04002184 <object type="action">
2185 <touch key="home" />
2186 <action function="page">main</action>
2187 </object>
2188
2189 <object type="action">
2190 <touch key="back" />
2191 <action function="page">main</action>
2192 </object>
2193
2194 <object type="template" name="footer" />
2195 </page>
2196
2197 <page name="usb_mount">
2198 <object type="template" name="header" />
2199
2200 <object type="text" color="%text_color%">
2201 <font resource="font" />
2202 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2203 <text>USB Storage Mounted</text>
2204 </object>
2205
2206 <object type="text" color="%text_color%">
2207 <placement x="%col1_x%" y="%row1_text_y%" />
2208 <font resource="font" />
2209 <text>Be sure to safely remove your device</text>
2210 </object>
2211
2212 <object type="text" color="%text_color%">
2213 <placement x="%col1_x%" y="%row2_text_y%" />
2214 <font resource="font" />
2215 <text>from your computer before unmounting!</text>
2216 </object>
2217
2218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002220 <placement x="%col1_x%" y="%row3_y%" />
2221 <font resource="font" color="%button_text_color%" />
2222 <text>Unmount</text>
2223 <image resource="main_button" />
2224 <action function="page">usb_umount</action>
2225 </object>
2226
2227 <object type="action">
2228 <action function="mount">usb</action>
2229 </object>
2230
2231 <object type="template" name="footer" />
2232 </page>
2233
2234 <page name="usb_umount">
2235 <object type="action">
2236 <action function="unmount">usb</action>
2237 </object>
2238
2239 <object type="action">
2240 <action function="page">mount</action>
2241 </object>
2242 </page>
2243
2244 <page name="reboot">
2245 <object type="template" name="header" />
2246
2247 <object type="text" color="%text_color%">
2248 <font resource="font" />
2249 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2250 <text>Reboot Menu</text>
2251 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002252
Dees_Troy51a0e822012-09-05 15:24:24 -04002253 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002254 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002255 <condition var1="tw_reboot_system" var2="1" />
2256 <placement x="%col1_x%" y="%row1_y%" />
2257 <font resource="font" color="%button_text_color%" />
2258 <text>System</text>
2259 <image resource="main_button" />
2260 <actions>
2261 <action function="set">tw_back=reboot</action>
2262 <action function="set">tw_action=reboot</action>
2263 <action function="set">tw_action_param=system</action>
2264 <action function="set">tw_has_action2=0</action>
2265 <action function="set">tw_text1=No OS Installed! Are you</action>
2266 <action function="set">tw_text2=sure you wish to reboot?</action>
2267 <action function="set">tw_action_text1=Rebooting...</action>
2268 <action function="set">tw_complete_text1=Rebooting...</action>
2269 <action function="set">tw_slider_text=Swipe to Reboot</action>
2270 <action function="page">rebootcheck</action>
2271 </actions>
2272 </object>
2273
2274 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002275 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002276 <condition var1="tw_reboot_poweroff" var2="1" />
2277 <placement x="%col2_x%" y="%row1_y%" />
2278 <font resource="font" color="%button_text_color%" />
2279 <text>Power Off</text>
2280 <image resource="main_button" />
2281 <actions>
2282 <action function="set">tw_back=reboot</action>
2283 <action function="set">tw_action=reboot</action>
2284 <action function="set">tw_action_param=poweroff</action>
2285 <action function="set">tw_has_action2=0</action>
2286 <action function="set">tw_text1=No OS Installed! Are you</action>
2287 <action function="set">tw_text2=sure you wish to power off?</action>
2288 <action function="set">tw_action_text1=Turning Off...</action>
2289 <action function="set">tw_complete_text1=Turning Off...</action>
2290 <action function="set">tw_slider_text=Swipe to Power Off</action>
2291 <action function="page">rebootcheck</action>
2292 </actions>
2293 </object>
2294
2295 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002296 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002297 <condition var1="tw_reboot_recovery" var2="1" />
2298 <placement x="%col1_x%" y="%row2_y%" />
2299 <font resource="font" color="%button_text_color%" />
2300 <text>Recovery</text>
2301 <image resource="main_button" />
2302 <actions>
2303 <action function="set">tw_back=reboot</action>
2304 <action function="set">tw_action=reboot</action>
2305 <action function="set">tw_action_param=recovery</action>
2306 <action function="set">tw_has_action2=0</action>
2307 <action function="set">tw_text1=No OS Installed! Are you</action>
2308 <action function="set">tw_text2=sure you wish to reboot?</action>
2309 <action function="set">tw_action_text1=Rebooting...</action>
2310 <action function="set">tw_complete_text1=Rebooting...</action>
2311 <action function="set">tw_slider_text=Swipe to Reboot</action>
2312 <action function="page">rebootcheck</action>
2313 </actions>
2314 </object>
2315
2316 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002317 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002318 <condition var1="tw_reboot_bootloader" var2="1" />
2319 <placement x="%col2_x%" y="%row2_y%" />
2320 <font resource="font" color="%button_text_color%" />
2321 <text>Bootloader</text>
2322 <image resource="main_button" />
2323 <actions>
2324 <action function="set">tw_back=reboot</action>
2325 <action function="set">tw_action=reboot</action>
2326 <action function="set">tw_action_param=bootloader</action>
2327 <action function="set">tw_has_action2=0</action>
2328 <action function="set">tw_text1=No OS Installed! Are you</action>
2329 <action function="set">tw_text2=sure you wish to reboot?</action>
2330 <action function="set">tw_action_text1=Rebooting...</action>
2331 <action function="set">tw_complete_text1=Rebooting...</action>
2332 <action function="set">tw_slider_text=Swipe to Reboot</action>
2333 <action function="page">rebootcheck</action>
2334 </actions>
2335 </object>
2336
2337 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002338 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002339 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002340 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002341 <font resource="font" color="%button_text_color%" />
2342 <text>Download</text>
2343 <image resource="main_button" />
2344 <actions>
2345 <action function="set">tw_back=reboot</action>
2346 <action function="set">tw_action=reboot</action>
2347 <action function="set">tw_action_param=download</action>
2348 <action function="set">tw_has_action2=0</action>
2349 <action function="set">tw_text1=No OS Installed! Are you</action>
2350 <action function="set">tw_text2=sure you wish to reboot?</action>
2351 <action function="set">tw_action_text1=Rebooting...</action>
2352 <action function="set">tw_complete_text1=Rebooting...</action>
2353 <action function="set">tw_slider_text=Swipe to Reboot</action>
2354 <action function="page">rebootcheck</action>
2355 </actions>
2356 </object>
2357
2358 <object type="action">
2359 <touch key="home" />
2360 <action function="page">main</action>
2361 </object>
2362
2363 <object type="action">
2364 <touch key="back" />
2365 <action function="page">main</action>
2366 </object>
2367
2368 <object type="template" name="footer" />
2369 </page>
2370
2371 <page name="settings">
2372 <object type="template" name="header" />
2373
2374 <object type="text" color="%text_color%">
2375 <font resource="font" />
2376 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2377 <text>Settings</text>
2378 </object>
2379
2380 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002381 <placement x="%col1_x%" y="%row1_text_y%" />
2382 <font resource="font" color="%text_color%" />
2383 <text>Zip file signature verification.</text>
2384 <data variable="tw_signed_zip_verify" />
2385 <image checked="checkbox_true" unchecked="checkbox_false" />
2386 </object>
2387
2388 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <placement x="%col1_x%" y="%row2_text_y%" />
2390 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002391 <text>Use rm -rf instead of formatting.</text>
2392 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002397 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002399 <text>Skip MD5 generation during backup.</text>
2400 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <image checked="checkbox_true" unchecked="checkbox_false" />
2402 </object>
2403
2404 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002405 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002407 <text>Enable MD5 verification of backup files.</text>
2408 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <image checked="checkbox_true" unchecked="checkbox_false" />
2410 </object>
2411
2412 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002413 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002415 <text>Use Military Time.</text>
2416 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <image checked="checkbox_true" unchecked="checkbox_false" />
2418 </object>
2419
2420 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002421 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002423 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <data variable="tw_simulate_actions" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
2429 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002430 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002432 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <data variable="tw_simulate_fail" />
2434 <image checked="checkbox_true" unchecked="checkbox_false" />
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <placement x="%col1_x%" y="%row3_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>Time Zone</text>
2442 <image resource="main_button" />
2443 <action function="page">timezone</action>
2444 </object>
2445
2446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002447 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002448 <placement x="%col2_x%" y="%row3_y%" />
2449 <font resource="font" color="%button_text_color%" />
2450 <text>Screen</text>
2451 <image resource="main_button" />
2452 <action function="page">screen</action>
2453 </object>
2454
Kra1o5781e6892014-03-10 00:37:26 +01002455 <object type="button">
2456 <placement x="%col1_x%" y="%row4_y%" />
2457 <font resource="font" color="%button_text_color%" />
2458 <text>Restore Defaults</text>
2459 <image resource="main_button" />
2460 <action function="restoredefaultsettings"></action>
2461 </object>
2462
Dees_Troy2f9117a2013-02-17 19:52:09 -06002463 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002464 <highlight color="%highlight_color%" />
2465 <placement x="%col2_x%" y="%row4_y%" />
2466 <font resource="font" color="%button_text_color%" />
2467 <text>Vibration Duration</text>
2468 <image resource="main_button" />
2469 <action function="page">Vibrate</action>
2470 </object>
2471
Dees_Troy51a0e822012-09-05 15:24:24 -04002472 <object type="action">
2473 <touch key="home" />
2474 <action function="page">main</action>
2475 </object>
2476
2477 <object type="action">
2478 <touch key="back" />
2479 <action function="page">main</action>
2480 </object>
2481
2482 <object type="template" name="footer" />
2483 </page>
2484
2485 <page name="timezone">
2486 <object type="template" name="header" />
2487
Dees_Troy51a0e822012-09-05 15:24:24 -04002488 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002489 <highlight color="%fileselector_highlight_color%" />
2490 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2491 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002492 <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 -06002493 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002495 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002497 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002498 <data name="tw_time_zone_guisel" />
2499 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2500 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2501 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2502 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2503 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2504 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2505 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2506 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2507 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2508 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2509 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2510 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2511 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2512 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2513 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2514 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2515 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2516 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2517 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2518 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2519 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2520 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2521 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2522 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2523 </object>
2524
2525 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002526 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002527 <font resource="font" color="%text_color%" />
2528 <text>Do you use daylight savings time (DST)?</text>
2529 <data variable="tw_time_zone_guidst" />
2530 <image checked="checkbox_true" unchecked="checkbox_false" />
2531 </object>
2532
2533 <object type="text" color="%text_color%">
2534 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002535 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002536 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2537 </object>
2538
2539 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002540 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002541 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 <font resource="font" color="%button_text_color%" />
2543 <text>None</text>
2544 <image resource="medium_button" />
2545 <action function="set">tw_time_zone_guioffset=0</action>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002550 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <font resource="font" color="%button_text_color%" />
2552 <text>15</text>
2553 <image resource="medium_button" />
2554 <action function="set">tw_time_zone_guioffset=15</action>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002559 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002560 <font resource="font" color="%button_text_color%" />
2561 <text>30</text>
2562 <image resource="medium_button" />
2563 <action function="set">tw_time_zone_guioffset=30</action>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002568 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <font resource="font" color="%button_text_color%" />
2570 <text>45</text>
2571 <image resource="medium_button" />
2572 <action function="set">tw_time_zone_guioffset=45</action>
2573 </object>
2574
2575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002576 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002577 <placement x="%col_center_x%" y="%tz_set_y%" />
2578 <font resource="font" color="%button_text_color%" />
2579 <text>Set Time Zone</text>
2580 <image resource="main_button" />
2581 <action function="setguitimezone"></action>
2582 </object>
2583
2584 <object type="text" color="%text_color%">
2585 <font resource="font" />
2586 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2587 <text>Current Time Zone: %tw_time_zone%</text>
2588 </object>
2589
2590 <object type="action">
2591 <touch key="home" />
2592 <action function="page">main</action>
2593 </object>
2594
2595 <object type="action">
2596 <touch key="back" />
2597 <action function="page">settings</action>
2598 </object>
2599
2600 <object type="template" name="footer" />
2601 </page>
2602
Dees_Troy2f9117a2013-02-17 19:52:09 -06002603 <page name="screen">
2604 <object type="template" name="header" />
2605
2606 <object type="text" color="%text_color%">
2607 <font resource="font" />
2608 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2609 <text>Screen Settings</text>
2610 </object>
2611
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002613 <placement x="%col1_x%" y="%row2_text_y%" />
2614 <font resource="font" color="%text_color%" />
2615 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002616 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002617 <text>Enable screen timeout.</text>
2618 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002619 <action function="set">tw_screen_timeout_secs=60</action>
2620 </object>
2621
2622 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <placement x="%col1_x%" y="%row2_text_y%" />
2624 <font resource="font" color="%text_color%" />
2625 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002626 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002627 <text>Enable screen timeout.</text>
2628 <image resource="checkbox_true" />
2629 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002630 </object>
2631
Vojtech Bocek85932342013-04-01 22:11:33 +02002632 <object type="slidervalue">
2633 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002634 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2636 <font resource="font" color="%text_color%" />
2637 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2638 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2639 <text>Screen timeout in seconds:</text>
2640 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002641 </object>
2642
Vojtech Bocek85932342013-04-01 22:11:33 +02002643 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002644 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002645 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2646 <font resource="font" color="%text_color%" />
2647 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2648 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2649 <text>Brightness: %tw_brightness_pct%%</text>
2650 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002651 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002652 <action function="set">tw_brightness=%tw_brightness_max%</action>
2653 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2654 <action function="compute">tw_brightness/100</action>
2655 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002656 </actions>
2657 </object>
2658
2659 <object type="action">
2660 <touch key="home" />
2661 <action function="page">main</action>
2662 </object>
2663
2664 <object type="action">
2665 <touch key="back" />
2666 <action function="page">settings</action>
2667 </object>
2668
2669 <object type="template" name="footer" />
2670 </page>
2671
Ethan Yonker03db3262014-02-05 08:02:06 -06002672 <page name="Vibrate">
2673 <object type="template" name="header" />
2674
2675 <object type="text" color="%text_color%">
2676 <font resource="font" />
2677 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2678 <text>Vibration Settings :</text>
2679 </object>
2680
2681 <object type="slidervalue">
2682 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2683 <font resource="font" color="%text_color%" />
2684 <text>Button Vibration:</text>
2685 <data variable="tw_button_vibrate" min="0" max="300" />
2686 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2687 </object>
2688
2689 <object type="slidervalue">
2690 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2691 <font resource="font" color="%text_color%" />
2692 <text>Keyboard Vibration:</text>
2693 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2694 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2695 </object>
2696
2697 <object type="slidervalue">
2698 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2699 <font resource="font" color="%text_color%" />
2700 <text>Action Vibration:</text>
2701 <data variable="tw_action_vibrate" min="0" max="500" />
2702 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2703 </object>
2704
2705 <object type="action">
2706 <touch key="home" />
2707 <action function="page">main</action>
2708 </object>
2709
2710 <object type="action">
2711 <touch key="back" />
2712 <action function="page">settings</action>
2713 </object>
2714
2715 <object type="template" name="footer" />
2716 </page>
2717
Dees_Troy51a0e822012-09-05 15:24:24 -04002718 <page name="advanced">
2719 <object type="template" name="header" />
2720
2721 <object type="text" color="%text_color%">
2722 <font resource="font" />
2723 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2724 <text>Advanced</text>
2725 </object>
2726
2727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002729 <placement x="%col1_x%" y="%row1_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>Copy Log to SD</text>
2732 <image resource="main_button" />
2733 <actions>
2734 <action function="set">tw_back=advanced</action>
2735 <action function="set">tw_action=copylog</action>
2736 <action function="set">tw_text1=Copy Log to SD Card?</action>
2737 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2738 <action function="set">tw_complete_text1=Log Copy Complete</action>
2739 <action function="set">tw_slider_text=Swipe to Confirm</action>
2740 <action function="page">confirm_action</action>
2741 </actions>
2742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <placement x="%col2_x%" y="%row1_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text>Fix Permissions</text>
2749 <image resource="main_button" />
2750 <actions>
2751 <action function="set">tw_back=advanced</action>
2752 <action function="set">tw_action=fixpermissions</action>
2753 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2756 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002757 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <action function="page">confirm_action</action>
2759 </actions>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <condition var1="tw_allow_partition_sdcard" var2="1" />
2765 <placement x="%col1_x%" y="%row2_y%" />
2766 <font resource="font" color="%button_text_color%" />
2767 <text>Partition SD Card</text>
2768 <image resource="main_button" />
2769 <action function="page">partsdcard</action>
2770 </object>
2771
2772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <placement x="%col2_x%" y="%row2_y%" />
2775 <font resource="font" color="%button_text_color%" />
2776 <text>File Manager</text>
2777 <image resource="main_button" />
2778 <action function="page">filemanagerlist</action>
2779 </object>
2780
2781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <placement x="%col1_x%" y="%row3_y%" />
2784 <font resource="font" color="%button_text_color%" />
2785 <text>Terminal Command</text>
2786 <image resource="main_button" />
2787 <action function="page">terminalfolder</action>
2788 </object>
2789
2790 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002791 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002792 <placement x="%col2_x%" y="%row3_y%" />
2793 <font resource="font" color="%button_text_color%" />
2794 <text>Reload Theme</text>
2795 <image resource="main_button" />
2796 <action function="reload"></action>
2797 </object>
2798
2799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002800 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002801 <placement x="%col1_x%" y="%row4_y%" />
2802 <font resource="font" color="%button_text_color%" />
2803 <text>ADB Sideload</text>
2804 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002805 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002810 <condition var1="tw_show_dumlock" var2="1" />
2811 <placement x="%col2_x%" y="%row4_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>HTC Dumlock</text>
2814 <image resource="main_button" />
2815 <action function="page">htcdumlock</action>
2816 </object>
2817
2818 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002819 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002820 <condition var1="tw_has_injecttwrp" var2="1" />
2821 <placement x="%col2_x%" y="%row4_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>Re-Inject TWRP</text>
2824 <image resource="main_button" />
2825 <actions>
2826 <action function="set">tw_back=advanced</action>
2827 <action function="set">tw_action=reinjecttwrp</action>
2828 <action function="set">tw_text1=Re-Inject TWRP?</action>
2829 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2830 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2831 <action function="set">tw_slider_text=Swipe to Confirm</action>
2832 <action function="page">confirm_action</action>
2833 </actions>
2834 </object>
2835
Dees_Troy51a0e822012-09-05 15:24:24 -04002836 <object type="action">
2837 <touch key="home" />
2838 <action function="page">main</action>
2839 </object>
2840
2841 <object type="action">
2842 <touch key="back" />
2843 <action function="page">main</action>
2844 </object>
2845
2846 <object type="template" name="footer" />
2847 </page>
2848
2849 <page name="partsdcard">
2850 <object type="template" name="header" />
2851
2852 <object type="text" color="%text_color%">
2853 <font resource="font" />
2854 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2855 <text>Partition SD Card</text>
2856 </object>
2857
2858 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002859 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002860 <placement x="%col1_x%" y="%row1_y%" />
2861 <font resource="font" color="%button_text_color%" />
2862 <text></text>
2863 <image resource="minus_button" />
2864 <action function="addsubtract">tw_sdext_size-128</action>
2865 </object>
2866
2867 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002868 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002869 <placement x="%sd_plus_x%" y="%row1_y%" />
2870 <font resource="font" color="%button_text_color%" />
2871 <text></text>
2872 <image resource="plus_button" />
2873 <action function="addsubtract">tw_sdext_size+128</action>
2874 </object>
2875
2876 <object type="text" color="%text_color%">
2877 <font resource="font" />
2878 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2879 <text>EXT Size: %tw_sdext_size%</text>
2880 </object>
2881
2882 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002883 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002884 <placement x="%col1_x%" y="%sdswap_button_y%" />
2885 <font resource="font" color="%button_text_color%" />
2886 <text></text>
2887 <image resource="minus_button" />
2888 <action function="addsubtract">tw_swap_size-32</action>
2889 </object>
2890
2891 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002892 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002893 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2894 <font resource="font" color="%button_text_color%" />
2895 <text></text>
2896 <image resource="plus_button" />
2897 <action function="addsubtract">tw_swap_size+32</action>
2898 </object>
2899
2900 <object type="text" color="%text_color%">
2901 <font resource="font" />
2902 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2903 <text>Swap Size: %tw_swap_size%</text>
2904 </object>
2905
2906 <object type="text" color="%text_color%">
2907 <font resource="font" />
2908 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2909 <text>File system: %tw_sdpart_file_system%</text>
2910 </object>
2911
2912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002913 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002914 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2915 <font resource="font" color="%button_text_color%" />
2916 <text>EXT3</text>
2917 <image resource="main_button" />
2918 <action function="set">tw_sdpart_file_system=ext3</action>
2919 </object>
2920
2921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002922 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002923 <condition var1="tw_sdext_disable_ext4" var2="0" />
2924 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2925 <font resource="font" color="%button_text_color%" />
2926 <text>EXT4</text>
2927 <image resource="main_button" />
2928 <action function="set">tw_sdpart_file_system=ext4</action>
2929 </object>
2930
2931 <object type="text" color="%text_color%">
2932 <font resource="font" />
2933 <placement x="%col1_x%" y="%row12_text_y%" />
2934 <text>You will lose all files on your SD card!</text>
2935 </object>
2936
2937 <object type="text" color="%text_color%">
2938 <font resource="font" />
2939 <placement x="%col1_x%" y="%row13_text_y%" />
2940 <text>This action cannot be undone!</text>
2941 </object>
2942
2943 <object type="slider">
2944 <placement x="%slider_x%" y="%slider_y%" />
2945 <resource base="slider" used="slider-used" touch="slider-touch" />
2946 <action function="page">partsdcardaction</action>
2947 <actions>
2948 <action function="set">tw_back=partsdcard</action>
2949 <action function="set">tw_action=partitionsd</action>
2950 <action function="set">tw_has_action2=1</action>
2951 <action function="set">tw_action2=set</action>
2952 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2953 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2954 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002955 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002956 <action function="page">action_page</action>
2957 </actions>
2958 </object>
2959
2960 <object type="text" color="%text_color%">
2961 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002962 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002963 <text>Swipe to Partition</text>
2964 </object>
2965
2966 <object type="action">
2967 <touch key="home" />
2968 <action function="page">main</action>
2969 </object>
2970
2971 <object type="action">
2972 <touch key="back" />
2973 <action function="page">advanced</action>
2974 </object>
2975
2976 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002977 </page>
2978
2979 <page name="htcdumlock">
2980 <object type="template" name="header" />
2981
2982 <object type="text" color="%text_color%">
2983 <font resource="font" />
2984 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2985 <text>HTC Dumlock</text>
2986 </object>
2987
2988 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002989 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002990 <condition var1="tw_show_dumlock" var2="1" />
2991 <placement x="%col1_x%" y="%row1_y%" />
2992 <font resource="font" color="%button_text_color%" />
2993 <text>Restore Original Boot</text>
2994 <image resource="main_button" />
2995 <actions>
2996 <action function="set">tw_back=htcdumlock</action>
2997 <action function="set">tw_action=htcdumlockrestoreboot</action>
2998 <action function="set">tw_text1=Restore original boot image?</action>
2999 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3000 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3001 <action function="set">tw_slider_text=Swipe to Confirm</action>
3002 <action function="page">confirm_action</action>
3003 </actions>
3004 </object>
3005
3006 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003007 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003008 <condition var1="tw_show_dumlock" var2="1" />
3009 <placement x="%col2_x%" y="%row1_y%" />
3010 <font resource="font" color="%button_text_color%" />
3011 <text>Reflash Recovery</text>
3012 <image resource="main_button" />
3013 <actions>
3014 <action function="set">tw_back=htcdumlock</action>
3015 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3016 <action function="set">tw_text1=Reflash recovery to boot?</action>
3017 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3018 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3019 <action function="set">tw_slider_text=Swipe to Confirm</action>
3020 <action function="page">confirm_action</action>
3021 </actions>
3022 </object>
3023
3024 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003025 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003026 <condition var1="tw_show_dumlock" var2="1" />
3027 <placement x="%col1_x%" y="%row2_y%" />
3028 <font resource="font" color="%button_text_color%" />
3029 <text>Install HTC Dumlock</text>
3030 <image resource="main_button" />
3031 <actions>
3032 <action function="set">tw_back=htcdumlock</action>
3033 <action function="set">tw_action=installhtcdumlock</action>
3034 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3035 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3036 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3037 <action function="set">tw_slider_text=Swipe to Confirm</action>
3038 <action function="page">confirm_action</action>
3039 </actions>
3040 </object>
3041
3042 <object type="action">
3043 <touch key="home" />
3044 <action function="page">main</action>
3045 </object>
3046
3047 <object type="action">
3048 <touch key="back" />
3049 <action function="page">advanced</action>
3050 </object>
3051
3052 <object type="template" name="footer" />
3053 </page>
3054
3055 <page name="lock">
3056 <background color="#000000A0" />
3057
3058 <object type="image">
3059 <image resource="unlock-icon" />
3060 <placement x="%lock_x%" y="%lock_y%" />
3061 </object>
3062
3063 <object type="slider">
3064 <placement x="%slider_x%" y="%slider_y%" />
3065 <resource base="slider" used="slider-used" touch="slider-touch" />
3066 <action function="overlay"></action>
3067 </object>
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003071 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003072 <text>Swipe to Unlock</text>
3073 </object>
3074 </page>
3075
3076 <page name="filemanagerlist">
3077 <object type="template" name="header" />
3078
3079 <object type="text" color="%text_color%">
3080 <font resource="font" />
3081 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3082 <text>File Manager: Select a File or Folder</text>
3083 </object>
3084
3085 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003086 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003087 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3088 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003089 <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 -04003090 <text>%tw_file_location1%</text>
3091 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3092 <sort name="tw_gui_sort_order" />
3093 <icon folder="folder_icon" file="file_icon" />
3094 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003095 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <folders="1" files="1" />
3097 <path name="tw_file_location1" default="/" />
3098 <data name="tw_filename1" />
3099 <selection name="tw_selection1" />
3100 </object>
3101
3102 <object type="template" name="sort_options" />
3103
3104 <object type="action">
3105 <actions>
3106 <action function="set">tw_fm_type=File</action>
3107 <action function="set">tw_fm_isfolder=0</action>
3108 </actions>
3109 </object>
3110
3111 <object type="action">
3112 <touch key="home" />
3113 <action function="page">main</action>
3114 </object>
3115
3116 <object type="action">
3117 <touch key="back" />
3118 <action function="page">advanced</action>
3119 </object>
3120
3121 <object type="action">
3122 <condition var1="tw_filename1" op="modified" />
3123 <actions>
3124 <action function="page">filemanageroptions</action>
3125 </actions>
3126 </object>
3127
3128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003129 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003130 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3131 <font resource="font" color="%button_text_color%" />
3132 <text>Select</text>
3133 <image resource="medium_button" />
3134 <actions>
3135 <action function="set">tw_filename1=tw_file_location1</action>
3136 <action function="set">tw_fm_isfolder=1</action>
3137 <action function="set">tw_fm_type=Folder</action>
3138 <action function="page">filemanageroptions</action>
3139 </actions>
3140 </object>
3141
3142 <object type="template" name="footer" />
3143 </page>
3144
3145 <page name="filemanageroptions">
3146 <object type="template" name="header" />
3147
3148 <object type="text" color="%text_color%">
3149 <font resource="font" />
3150 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3151 <text>%tw_fm_type% Selected:</text>
3152 </object>
3153
3154 <object type="text" color="%text_color%">
3155 <font resource="font" />
3156 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3157 <text>%tw_filename1%</text>
3158 </object>
3159
3160 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003161 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003162 <condition var1="tw_fm_isfolder" var2="0" />
3163 <placement x="%col1_x%" y="%row2_y%" />
3164 <font resource="font" color="%button_text_color%" />
3165 <text>Copy File</text>
3166 <image resource="main_button" />
3167 <actions>
3168 <action function="set">tw_filemanager_command=cp</action>
3169 <action function="set">tw_fm_text1=Copying</action>
3170 <action function="page">choosedestinationfolder</action>
3171 </actions>
3172 </object>
3173
3174 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003175 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003176 <condition var1="tw_fm_isfolder" var2="1" />
3177 <placement x="%col1_x%" y="%row2_y%" />
3178 <font resource="font" color="%button_text_color%" />
3179 <text>Copy Folder</text>
3180 <image resource="main_button" />
3181 <actions>
3182 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3183 <action function="set">tw_fm_text1=Copying</action>
3184 <action function="page">choosedestinationfolder</action>
3185 </actions>
3186 </object>
3187
3188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003190 <placement x="%col2_x%" y="%row2_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Move</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_command=mv</action>
3196 <action function="set">tw_fm_text1=Moving</action>
3197 <action function="page">choosedestinationfolder</action>
3198 </actions>
3199 </object>
3200
3201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003203 <placement x="%col1_x%" y="%row3_y%" />
3204 <font resource="font" color="%button_text_color%" />
3205 <text>chmod 755</text>
3206 <image resource="main_button" />
3207 <actions>
3208 <action function="set">tw_filemanager_command=chmod 755</action>
3209 <action function="set">tw_fm_text1=chmod 755</action>
3210 <action function="set">tw_fm_text2=</action>
3211 <action function="set">tw_fm_text3=</action>
3212 <action function="set">tw_include_text3=0</action>
3213 <action function="set">tw_back=filemanageroptions</action>
3214 <action function="page">filemanagerconfirm</action>
3215 </actions>
3216 </object>
3217
3218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003220 <placement x="%col2_x%" y="%row3_y%" />
3221 <font resource="font" color="%button_text_color%" />
3222 <text>chmod</text>
3223 <image resource="main_button" />
3224 <actions>
3225 <action function="set">tw_filemanager_rename=0000</action>
3226 <action function="set">tw_fm_text2=</action>
3227 <action function="set">tw_fm_text3=</action>
3228 <action function="set">tw_include_text3=0</action>
3229 <action function="set">tw_back=filemanageroptions</action>
3230 <action function="page">filemanagerchmod</action>
3231 </actions>
3232 </object>
3233
3234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003236 <placement x="%col1_x%" y="%row4_y%" />
3237 <font resource="font" color="%button_text_color%" />
3238 <text>Delete</text>
3239 <image resource="main_button" />
3240 <actions>
3241 <action function="set">tw_filemanager_command=rm -rf</action>
3242 <action function="set">tw_fm_text1=Deleting</action>
3243 <action function="set">tw_fm_text2=</action>
3244 <action function="set">tw_fm_text3=</action>
3245 <action function="set">tw_include_text3=0</action>
3246 <action function="set">tw_back=filemanageroptions</action>
3247 <action function="page">filemanagerconfirm</action>
3248 </actions>
3249 </object>
3250
3251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003253 <condition var1="tw_fm_isfolder" var2="0" />
3254 <placement x="%col2_x%" y="%row4_y%" />
3255 <font resource="font" color="%button_text_color%" />
3256 <text>Rename File</text>
3257 <image resource="main_button" />
3258 <actions>
3259 <action function="set">tw_filemanager_rename=tw_selection1</action>
3260 <action function="set">tw_fm_text1=Renaming</action>
3261 <action function="set">tw_filemanager_command=mv</action>
3262 <action function="page">filemanagerrenamefile</action>
3263 </actions>
3264 </object>
3265
3266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003268 <condition var1="tw_fm_isfolder" var2="1" />
3269 <placement x="%col2_x%" y="%row4_y%" />
3270 <font resource="font" color="%button_text_color%" />
3271 <text>Rename Folder</text>
3272 <image resource="main_button" />
3273 <actions>
3274 <action function="set">tw_filemanager_rename=tw_selection1</action>
3275 <action function="set">tw_fm_text1=Renaming</action>
3276 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3277 <action function="page">filemanagerrenamefolder</action>
3278 </actions>
3279 </object>
3280
3281 <object type="action">
3282 <touch key="home" />
3283 <action function="page">main</action>
3284 </object>
3285
3286 <object type="action">
3287 <touch key="back" />
3288 <action function="page">filemanagerlist</action>
3289 </object>
3290
3291 <object type="template" name="footer" />
3292 </page>
3293
3294 <page name="choosedestinationfolder">
3295 <object type="template" name="header" />
3296
3297 <object type="text" color="%text_color%">
3298 <font resource="font" />
3299 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3300 <text>Browse to Destination Folder & Press Select</text>
3301 </object>
3302
3303 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003304 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003305 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3306 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003307 <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 -04003308 <text>%tw_file_location2%</text>
3309 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3310 <sort name="tw_gui_sort_order" />
3311 <icon folder="folder_icon" file="file_icon" />
3312 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003313 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003314 <filter folders="1" files="0" />
3315 <path name="tw_file_location2" default="/" />
3316 <data name="tw_filename2" />
3317 <selection name="tw_selection2" />
3318 </object>
3319
3320 <object type="template" name="sort_options" />
3321
3322 <object type="action">
3323 <touch key="home" />
3324 <action function="page">main</action>
3325 </object>
3326
3327 <object type="action">
3328 <touch key="back" />
3329 <action function="page">filemanageroptions</action>
3330 </object>
3331
3332 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003333 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003334 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3335 <font resource="font" color="%button_text_color%" />
3336 <text>Select</text>
3337 <image resource="medium_button" />
3338 <actions>
3339 <action function="set">tw_fm_text2=to</action>
3340 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3341 <action function="set">tw_include_text3=1</action>
3342 <action function="set">tw_back=filemanageroptions</action>
3343 <action function="page">filemanagerconfirm</action>
3344 </actions>
3345 </object>
3346
3347 <object type="template" name="footer" />
3348 </page>
3349
3350 <page name="filemanagerrenamefile">
3351 <object type="template" name="header" />
3352
3353 <object type="text" color="%text_color%">
3354 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3355 <font resource="font" />
3356 <text>Please Enter a New %tw_fm_type% Name</text>
3357 </object>
3358
3359 <object type="input">
3360 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3361 <background color="%input_background_color%" />
3362 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3363 <font resource="font" color="%text_color%" />
3364 <text>%tw_filemanager_rename%</text>
3365 <data name="tw_filemanager_rename" />
3366 <restrict minlen="1" maxlen="128" />
3367 <actions>
3368 <action function="set">tw_fm_text2=to</action>
3369 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3370 <action function="set">tw_include_text3=1</action>
3371 <action function="set">tw_back=filemanageroptions</action>
3372 <action function="page">filemanagerconfirm</action>
3373 </actions>
3374 </object>
3375
3376 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003377 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003378 <placement x="%col_center_x%" y="%row2_y%" />
3379 <font resource="font" color="%button_text_color%" />
3380 <text>Cancel</text>
3381 <image resource="main_button" />
3382 <action function="page">filemanageroptions</action>
3383 </object>
3384
3385 <object type="template" name="keyboardtemplate" />
3386
3387 <object type="action">
3388 <touch key="home" />
3389 <action function="page">main</action>
3390 </object>
3391
3392 <object type="action">
3393 <touch key="back" />
3394 <action function="page">filemanageroptions</action>
3395 </object>
3396
3397 <object type="template" name="footer" />
3398 </page>
3399
3400 <page name="filemanagerrenamefolder">
3401 <object type="template" name="header" />
3402
3403 <object type="text" color="%text_color%">
3404 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3405 <font resource="font" />
3406 <text>Please Enter a New %tw_fm_type% Name</text>
3407 </object>
3408
3409 <object type="input">
3410 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3411 <background color="%input_background_color%" />
3412 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3413 <font resource="font" color="%text_color%" />
3414 <text>%tw_filemanager_rename%</text>
3415 <data name="tw_filemanager_rename" />
3416 <restrict minlen="1" maxlen="128" />
3417 <actions>
3418 <action function="set">tw_fm_text2=to</action>
3419 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3420 <action function="set">tw_include_text3=1</action>
3421 <action function="set">tw_back=filemanageroptions</action>
3422 <action function="page">filemanagerconfirm</action>
3423 </actions>
3424 </object>
3425
3426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003428 <placement x="%col_center_x%" y="%row2_y%" />
3429 <font resource="font" color="%button_text_color%" />
3430 <text>Cancel</text>
3431 <image resource="main_button" />
3432 <action function="page">filemanageroptions</action>
3433 </object>
3434
3435 <object type="template" name="keyboardtemplate" />
3436
3437 <object type="action">
3438 <touch key="home" />
3439 <action function="page">main</action>
3440 </object>
3441
3442 <object type="action">
3443 <touch key="back" />
3444 <action function="page">filemanageroptions</action>
3445 </object>
3446
3447 <object type="template" name="footer" />
3448 </page>
3449
3450 <page name="filemanagerchmod">
3451 <object type="template" name="header" />
3452
3453 <object type="text" color="%text_color%">
3454 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3455 <font resource="font" />
3456 <text>Please Enter New Permissions</text>
3457 </object>
3458
3459 <object type="input">
3460 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3461 <background color="%input_background_color%" />
3462 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3463 <font resource="font" color="%text_color%" />
3464 <text>%tw_filemanager_rename%</text>
3465 <data name="tw_filemanager_rename" />
3466 <restrict minlen="3" maxlen="4" allow="0123456789" />
3467 <actions>
3468 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3469 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3470 <action function="set">tw_back=filemanageroptions</action>
3471 <action function="page">filemanagerconfirm</action>
3472 </actions>
3473 </object>
3474
3475 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003476 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003477 <placement x="%col_center_x%" y="%row2_y%" />
3478 <font resource="font" color="%button_text_color%" />
3479 <text>Cancel</text>
3480 <image resource="main_button" />
3481 <action function="page">filemanageroptions</action>
3482 </object>
3483
3484 <object type="template" name="keyboardtemplate" />
3485
3486 <object type="action">
3487 <touch key="home" />
3488 <action function="page">main</action>
3489 </object>
3490
3491 <object type="action">
3492 <touch key="back" />
3493 <action function="page">filemanageroptions</action>
3494 </object>
3495
3496 <object type="template" name="footer" />
3497 </page>
3498
3499 <page name="filemanagerconfirm">
3500 <object type="template" name="header" />
3501
3502 <object type="text" color="%text_color%">
3503 <font resource="font" />
3504 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3505 <text>%tw_fm_text1%</text>
3506 </object>
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3511 <text>%tw_filename1%</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3517 <text>%tw_fm_text2%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3523 <text>%tw_fm_text3%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3529 <text>Press back button to cancel.</text>
3530 </object>
3531
3532 <object type="slider">
3533 <placement x="%slider_x%" y="%slider_y%" />
3534 <resource base="slider" used="slider-used" touch="slider-touch" />
3535 <action function="page">filemanageracction</action>
3536 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003537
Dees_Troy51a0e822012-09-05 15:24:24 -04003538 <object type="text" color="%text_color%">
3539 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003540 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003541 <text>Swipe to Confirm</text>
3542 </object>
3543
3544 <object type="action">
3545 <touch key="back" />
3546 <action function="page">%tw_back%</action>
3547 </object>
3548
3549 <object type="action">
3550 <touch key="home" />
3551 <action function="page">main</action>
3552 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003553
Dees_Troy51a0e822012-09-05 15:24:24 -04003554 <object type="template" name="footer" />
3555 </page>
3556
3557 <page name="filemanageracction">
3558 <object type="template" name="header" />
3559
3560 <object type="text" color="%text_color%">
3561
3562 <font resource="font" />
3563 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3564 <text>%tw_fm_text1%</text>
3565 </object>
3566
3567 <object type="template" name="action_page_console" />
3568
3569 <object type="template" name="progress_bar" />
3570
3571 <object type="action">
3572 <conditions>
3573 <condition var1="tw_operation_state" var2="1" />
3574 <condition var1="tw_operation_status" var2="0" />
3575 </conditions>
3576 <actions>
3577 <action function="set">tw_back=filemanagerlist</action>
3578 <action function="set">tw_complete_text1=File Operation Complete</action>
3579 <action function="page">action_complete</action>
3580 </actions>
3581 </object>
3582
3583 <object type="action">
3584 <conditions>
3585 <condition var1="tw_operation_state" var2="1" />
3586 <condition var1="tw_operation_status" op="!=" var2="0" />
3587 </conditions>
3588 <actions>
3589 <action function="set">tw_complete_text1=File Operation Complete</action>
3590 <action function="page">action_complete</action>
3591 </actions>
3592 </object>
3593
3594 <object type="action">
3595 <condition var1="tw_include_text3" var2="0" />
3596 <actions>
3597 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3598 </actions>
3599 </object>
3600
3601 <object type="action">
3602 <condition var1="tw_include_text3" var2="1" />
3603 <actions>
3604 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3605 </actions>
3606 </object>
3607 </page>
3608
3609 <page name="decrypt">
3610 <object type="template" name="header" />
3611
3612 <object type="text" color="%text_color%">
3613 <font resource="font" />
3614 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3615 <text>Please Enter Your Password</text>
3616 </object>
3617
3618 <object type="input">
3619 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3620 <background color="%input_background_color%" />
3621 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3622 <font resource="font" color="%text_color%" />
3623 <text>%tw_crypto_display%</text>
3624 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3625 <restrict minlen="1" maxlen="254" />
3626 <actions>
3627 <action function="page">trydecrypt</action>
3628 </actions>
3629 </object>
3630
3631 <object type="text" color="%text_fail_color%">
3632 <condition var1="tw_password_fail" var2="1" />
3633 <font resource="font" />
3634 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3635 <text>Password Failed, Please Try Again</text>
3636 </object>
3637
3638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003640 <placement x="%col_center_x%" y="%row2_y%" />
3641 <font resource="font" color="%button_text_color%" />
3642 <text>Cancel</text>
3643 <image resource="main_button" />
3644 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003645 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003646 <action function="page">main</action>
3647 </actions>
3648 </object>
3649
3650 <object type="template" name="keyboardtemplate" />
3651
Dees_Troy51a0e822012-09-05 15:24:24 -04003652 <object type="template" name="footer" />
3653 </page>
3654
3655 <page name="trydecrypt">
3656 <object type="template" name="header" />
3657
3658 <object type="text" color="%text_color%">
3659 <font resource="font" />
3660 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3661 <text>Trying Decryption with Your Password</text>
3662 </object>
3663
3664 <object type="template" name="action_page_console" />
3665
3666 <object type="template" name="progress_bar" />
3667
3668 <object type="action">
3669 <action function="decrypt"></action>
3670 </object>
3671
3672 <object type="action">
3673 <conditions>
3674 <condition var1="tw_operation_state" var2="1" />
3675 <condition var1="tw_operation_status" op="!=" var2="0" />
3676 </conditions>
3677 <actions>
3678 <action function="set">tw_password_fail=1</action>
3679 <action function="page">decrypt</action>
3680 </actions>
3681 </object>
3682
3683 <object type="action">
3684 <conditions>
3685 <condition var1="tw_operation_state" var2="1" />
3686 <condition var1="tw_operation_status" op="=" var2="0" />
3687 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003688 <actions>
3689 <action function="set">tw_page_done=1</action>
3690 <action function="page">main</action>
3691 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003692 </object>
3693 </page>
3694
3695 <page name="terminalfolder">
3696 <object type="template" name="header" />
3697
3698 <object type="text" color="%text_color%">
3699 <font resource="font" />
3700 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3701 <text>Browse to Starting Folder</text>
3702 </object>
3703
3704 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003705 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003706 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3707 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003708 <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 -04003709 <text>%tw_terminal_location%</text>
3710 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3711 <sort name="tw_gui_sort_order" />
3712 <icon folder="folder_icon" file="file_icon" />
3713 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003714 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003715 <filter folders="1" files="0" />
3716 <path name="tw_terminal_location" default="/" />
3717 <data name="tw_terminal" />
3718 <selection name="tw_terminal_selection" />
3719 </object>
3720
3721 <object type="template" name="sort_options" />
3722
3723 <object type="action">
3724 <touch key="home" />
3725 <action function="page">main</action>
3726 </object>
3727
3728 <object type="action">
3729 <touch key="back" />
3730 <action function="page">advanced</action>
3731 </object>
3732
3733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003735 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3736 <font resource="font" color="%button_text_color%" />
3737 <text>Select</text>
3738 <image resource="medium_button" />
3739 <actions>
3740 <action function="page">terminalcommand</action>
3741 </actions>
3742 </object>
3743
3744 <object type="template" name="footer" />
3745 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003746
Dees_Troy51a0e822012-09-05 15:24:24 -04003747 <page name="terminalcommand">
3748 <object type="template" name="header" />
3749
3750 <object type="console">
3751 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3752 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3753 <font resource="fixed" />
3754 </object>
3755
3756 <object type="text" color="%text_color%">
3757 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3758 <font resource="font" />
3759 <text>Starting Path: %tw_terminal_location%</text>
3760 </object>
3761
3762 <object type="input">
3763 <condition var1="tw_terminal_state" var2="0" />
3764 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3765 <background color="%input_background_color%" />
3766 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3767 <font resource="font" color="%text_color%" />
3768 <text>%tw_terminal_command%</text>
3769 <data name="tw_terminal_command" />
3770 <restrict minlen="1" />
3771 <action function="terminalcommand">%tw_terminal_command%</action>
3772 </object>
3773
3774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003776 <condition var1="tw_terminal_state" var2="1" />
3777 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3778 <font resource="font" color="%button_text_color%" />
3779 <text>KILL</text>
3780 <image resource="medium_button" />
3781 <action function="killterminal"></action>
3782 </object>
3783
3784 <object type="template" name="keyboardtemplate" />
3785
3786 <object type="action">
3787 <touch key="home" />
3788 <action function="page">main</action>
3789 </object>
3790
3791 <object type="action">
3792 <touch key="back" />
3793 <action function="page">terminalfolder</action>
3794 </object>
3795 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003796
3797 <page name="sideload">
3798 <object type="template" name="header" />
3799
3800 <object type="text" color="%text_color%">
3801 <font resource="font" />
3802 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3803 <text>ADB Sideload</text>
3804 </object>
3805
3806 <object type="checkbox">
3807 <placement x="%col1_x%" y="%row2_text_y%" />
3808 <font resource="font" color="%text_color%" />
3809 <text>Wipe Dalvik Cache.</text>
3810 <data variable="tw_wipe_dalvik" />
3811 <image checked="checkbox_true" unchecked="checkbox_false" />
3812 </object>
3813
3814 <object type="checkbox">
3815 <placement x="%col1_x%" y="%row3_text_y%" />
3816 <font resource="font" color="%text_color%" />
3817 <text>Wipe Cache.</text>
3818 <data variable="tw_wipe_cache" />
3819 <image checked="checkbox_true" unchecked="checkbox_false" />
3820 </object>
3821
3822 <object type="slider">
3823 <placement x="%slider_x%" y="%slider_y%" />
3824 <resource base="slider" used="slider-used" touch="slider-touch" />
3825 <actions>
3826 <action function="set">tw_back=advanced</action>
3827 <action function="set">tw_action=adbsideload</action>
3828 <action function="set">tw_action_text1=ADB Sideload</action>
3829 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3830 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3831 <action function="set">tw_has_cancel=1</action>
3832 <action function="set">tw_show_reboot=1</action>
3833 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3834 <action function="page">action_page</action>
3835 </actions>
3836 </object>
3837
3838 <object type="text" color="%text_color%">
3839 <font resource="font" />
3840 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3841 <text>Swipe to Start Sideload</text>
3842 </object>
3843
3844 <object type="action">
3845 <touch key="home" />
3846 <action function="page">main</action>
3847 </object>
3848
3849 <object type="action">
3850 <touch key="back" />
3851 <action function="page">advanced</action>
3852 </object>
3853
3854 <object type="template" name="footer" />
3855 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003856
3857 <page name="installsu">
3858 <object type="template" name="header" />
3859
3860 <object type="text" color="%text_color%">
3861 <font resource="font" />
3862 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3863 <text>Install SuperSU?</text>
3864 </object>
3865
3866 <object type="text" color="%text_color%">
3867 <font resource="font" />
3868 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3869 <text>Your device does not appear to be rooted.</text>
3870 </object>
3871
3872 <object type="text" color="%text_color%">
3873 <font resource="font" />
3874 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3875 <text>Install SuperSU now?</text>
3876 </object>
3877
3878 <object type="text" color="%text_color%">
3879 <font resource="font" />
3880 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3881 <text>This will root your device.</text>
3882 </object>
3883
3884 <object type="button">
3885 <highlight color="%highlight_color%" />
3886 <placement x="%col_center_x%" y="%row3_y%" />
3887 <font resource="font" color="%button_text_color%" />
3888 <text>Do Not Install</text>
3889 <image resource="main_button" />
3890 <action function="set">tw_page_done=1</action>
3891 </object>
3892
3893 <object type="slider">
3894 <placement x="%slider_x%" y="%slider_y%" />
3895 <resource base="slider" used="slider-used" touch="slider-touch" />
3896 <actions>
3897 <action function="set">tw_action=installsu</action>
3898 <action function="set">tw_action_text1=Installing SuperSU</action>
3899 <action function="set">tw_action_text2=</action>
3900 <action function="page">singleaction_page</action>
3901 </actions>
3902 </object>
3903
3904 <object type="text" color="%text_color%">
3905 <font resource="font" />
3906 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3907 <text>Swipe to Install</text>
3908 </object>
3909 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003910 </pages>
3911</recovery>