blob: c08b742dab15a13b9be8bcc307a5ec9cc8b035a5 [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>
Matt Mowercd8169c2014-04-02 04:24:08 -05001401 <actions>
1402 <action function="refreshsizes"></action>
1403 <action function="page">backup</action>
1404 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001405 </object>
1406
1407 <object type="button">
1408 <highlight color="%highlight_color%" />
1409 <fill color="%button_fill_color%" />
1410 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1411 <font resource="font" color="%button_text_color%" />
1412 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1413 <actions>
1414 <action function="set">tw_back=backup</action>
1415 <action function="page">selectstorage</action>
1416 </actions>
1417 </object>
1418
1419 <object type="checkbox">
1420 <placement x="%col1_x%" y="%row15_text_y%" />
1421 <font resource="font" color="%text_color%" />
1422 <text>Enable compression.</text>
1423 <data variable="tw_use_compression" />
1424 <image checked="checkbox_true" unchecked="checkbox_false" />
1425 </object>
1426
1427 <object type="checkbox">
1428 <placement x="%col1_x%" y="%row16_text_y%" />
1429 <font resource="font" color="%text_color%" />
1430 <text>Skip MD5 generation during backup.</text>
1431 <data variable="tw_skip_md5_generate" />
1432 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001433 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001434
Dees_Troyb46a6842012-09-25 11:06:46 -04001435 <object type="slider">
1436 <placement x="%slider_x%" y="slider_y" />
1437 <resource base="slider" used="slider-used" touch="slider-touch" />
1438 <action function="page">backup_run</action>
1439 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001440
1441 <object type="text" color="%text_color%">
1442 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001443 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001444 <text>Swipe to Back Up</text>
1445 </object>
1446
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 <object type="action">
1448 <touch key="home" />
1449 <action function="page">main</action>
1450 </object>
1451
1452 <object type="action">
1453 <touch key="back" />
1454 <action function="page">main</action>
1455 </object>
1456
1457 <object type="template" name="footer" />
1458 </page>
1459
1460 <page name="backupname1">
1461 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001462 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1463 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001464 </object>
1465
1466 <object type="action">
1467 <action function="page">backupname2</function>
1468 </object>
1469 </page>
1470
1471 <page name="backupname2">
1472 <object type="template" name="header" />
1473
1474 <object type="text" color="%text_color%">
1475 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1476 <font resource="font" />
1477 <text>Please Enter a Backup Name</text>
1478 </object>
1479
1480 <object type="input">
1481 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1482 <background color="%input_background_color%" />
1483 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1484 <font resource="font" color="%text_color%" />
1485 <text>%tw_backup_name%</text>
1486 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001487 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001488 <actions>
1489 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1490 <action function="set">tw_existpage=backupname2</action>
1491 <action function="set">tw_notexistpage=backup</action>
1492 <action function="page">filecheck</action>
1493 </actions>
1494 </object>
1495
1496 <object type="text" color="%text_fail_color%">
1497 <condition var1="tw_fileexists" var2="1" />
1498 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1499 <font resource="font" />
1500 <text>A backup with that name already exists!</text>
1501 </object>
1502
Dees_Troyb46a6842012-09-25 11:06:46 -04001503 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001504 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001505 <placement x="%col1_x%" y="%row2_y%" />
1506 <font resource="font" color="%button_text_color%" />
1507 <text>Append Date</text>
1508 <image resource="main_button" />
1509 <action function="appenddatetobackupname"></action>
1510 </object>
1511
1512 <object type="button">
1513 <highlight color="%highlight_color%" />
1514 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001515 <font resource="font" color="%button_text_color%" />
1516 <text>Cancel</text>
1517 <image resource="main_button" />
1518 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001519 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001520 <action function="page">backup</action>
1521 </actions>
1522 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001523
1524 <object type="template" name="keyboardtemplate" />
1525
Dees_Troyb46a6842012-09-25 11:06:46 -04001526 <object type="action">
1527 <touch key="home" />
1528 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001529 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001530 <action function="page">main</action>
1531 </actions>
1532 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001533
Dees_Troyb46a6842012-09-25 11:06:46 -04001534 <object type="action">
1535 <touch key="back" />
1536 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001537 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001538 <action function="page">backup</action>
1539 </actions>
1540 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001541
1542 <object type="template" name="footer" />
1543 </page>
1544
Dees_Troy83bd4832013-05-04 12:39:56 +00001545 <page name="backupencryption">
1546 <object type="template" name="header" />
1547
1548 <object type="text" color="%text_color%">
1549 <font resource="font" />
1550 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1551 <text>Encrypt your backup?</text>
1552 </object>
1553
1554 <object type="text" color="%text_color%">
1555 <font resource="font" />
1556 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1557 <text>Please Enter A Password:</text>
1558 </object>
1559
1560 <object type="input">
1561 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1562 <background color="%input_background_color%" />
1563 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1564 <font resource="font" color="%text_color%" />
1565 <text>%tw_backup_encrypt_display%</text>
1566 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1567 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1568 <action function="page">backupencryption2</action>
1569 </object>
1570
1571 <object type="text" color="%text_fail_color%">
1572 <condition var1="tw_password_not_match" var2="1" />
1573 <font resource="font" />
1574 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1575 <text>Passwords Do Not Match</text>
1576 </object>
1577
1578 <object type="button">
1579 <highlight color="%highlight_color%" />
1580 <placement x="%col_center_x%" y="%row2_y%" />
1581 <font resource="font" color="%button_text_color%" />
1582 <text>Cancel</text>
1583 <image resource="main_button" />
1584 <actions>
1585 <action function="set">tw_encrypt_backup=0</action>
1586 <action function="set">tw_backup_password=</action>
1587 <action function="set">tw_backup_password2=</action>
1588 <action function="set">tw_backup_encrypt_display=</action>
1589 <action function="set">tw_backup_encrypt_display2=</action>
1590 <action function="page">backup</action>
1591 </actions>
1592 </object>
1593
1594 <object type="template" name="keyboardtemplate" />
1595
1596 <object type="action">
1597 <touch key="home" />
1598 <action function="page">main</action>
1599 </object>
1600
1601 <object type="action">
1602 <touch key="back" />
1603 <action function="page">backup</action>
1604 </object>
1605
1606 <object type="template" name="footer" />
1607 </page>
1608
1609 <page name="backupencryption2">
1610 <object type="template" name="header" />
1611
1612 <object type="text" color="%text_color%">
1613 <font resource="font" />
1614 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1615 <text>Encrypt your backup?</text>
1616 </object>
1617
1618 <object type="text" color="%text_color%">
1619 <font resource="font" />
1620 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1621 <text>Please Enter Password Again:</text>
1622 </object>
1623
1624 <object type="input">
1625 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1626 <background color="%input_background_color%" />
1627 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1628 <font resource="font" color="%text_color%" />
1629 <text>%tw_backup_encrypt_display2%</text>
1630 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1631 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1632 <actions>
1633 <action function="page">checkbackuppassword</action>
1634 </actions>
1635 </object>
1636
1637 <object type="button">
1638 <highlight color="%highlight_color%" />
1639 <placement x="%col_center_x%" y="%row2_y%" />
1640 <font resource="font" color="%button_text_color%" />
1641 <text>Cancel</text>
1642 <image resource="main_button" />
1643 <actions>
1644 <action function="set">tw_encrypt_backup=0</action>
1645 <action function="set">tw_backup_password=</action>
1646 <action function="set">tw_backup_password2=</action>
1647 <action function="set">tw_backup_encrypt_display=</action>
1648 <action function="set">tw_backup_encrypt_display2=</action>
1649 <action function="page">backup</action>
1650 </actions>
1651 </object>
1652
1653 <object type="template" name="keyboardtemplate" />
1654
1655 <object type="action">
1656 <touch key="home" />
1657 <action function="page">main</action>
1658 </object>
1659
1660 <object type="action">
1661 <touch key="back" />
1662 <action function="page">backup</action>
1663 </object>
1664
1665 <object type="template" name="footer" />
1666 </page>
1667
1668 <page name="checkbackuppassword">
1669 <object type="action">
1670 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1671 <actions>
1672 <action function="set">tw_encrypt_backup=1</action>
1673 <action function="page">backup</action>
1674 </actions>
1675 </object>
1676
1677 <object type="action">
1678 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1679 <actions>
1680 <action function="set">tw_encrypt_backup=0</action>
1681 <action function="set">tw_password_not_match=1</action>
1682 <action function="set">tw_backup_password=</action>
1683 <action function="set">tw_backup_password2=</action>
1684 <action function="set">tw_backup_encrypt_display=</action>
1685 <action function="set">tw_backup_encrypt_display2=</action>
1686 <action function="page">backupencryption</action>
1687 </actions>
1688 </object>
1689 </page>
1690
Dees_Troy51a0e822012-09-05 15:24:24 -04001691 <page name="backup_run">
1692 <object type="template" name="header" />
1693
1694 <object type="text" color="%text_color%">
1695 <font resource="font" />
1696 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1697 <text>%tw_operation% %tw_partition%</text>
1698 </object>
1699
1700 <object type="template" name="action_page_console" />
1701
1702 <object type="template" name="progress_bar" />
1703
1704 <object type="action">
1705 <action function="nandroid">backup</action>
1706 </object>
1707
1708 <object type="action">
1709 <condition var1="tw_operation_state" var2="1" />
1710 <actions>
1711 <action function="set">tw_back=backup</action>
1712 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001713 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001714 <action function="page">action_complete</action>
1715 </actions>
1716 </object>
1717 </page>
1718
1719 <page name="restore">
1720 <object type="template" name="header" />
1721
1722 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001723 <highlight color="%highlight_color%" />
1724 <fill color="%button_fill_color%" />
1725 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1726 <font resource="font" color="%button_text_color%" />
1727 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1728 <actions>
1729 <action function="set">tw_back=restore</action>
1730 <action function="page">selectstorage</action>
1731 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001732 </object>
1733
1734 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001735 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001736 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001737 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001738 <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 -04001739 <text>Select Package to Restore:</text>
1740 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1741 <sort name="tw_gui_sort_order" />
1742 <icon folder="folder_icon" file="file_icon" />
1743 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001744 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 <filter folders="1" files="0" nav="0" />
1746 <path name="tw_backups_folder" />
1747 <data name="tw_restore" default="" />
1748 <selection name="tw_restore_name" />
1749 </object>
1750
1751 <object type="template" name="sort_options" />
1752
1753 <object type="action">
1754 <condition var1="tw_restore" op="modified" />
1755 <actions>
1756 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001757 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001758 </actions>
1759 </object>
1760
1761 <object type="action">
1762 <touch key="home" />
1763 <action function="page">main</action>
1764 </object>
1765
1766 <object type="action">
1767 <touch key="back" />
1768 <action function="page">main</action>
1769 </object>
1770
1771 <object type="template" name="footer" />
1772 </page>
1773
Dees_Troy83bd4832013-05-04 12:39:56 +00001774 <page name="restore_read">
1775 <object type="action">
1776 <condition var1="tw_restore_encrypted" var2="1" />
1777 <actions>
1778 <action function="set">tw_password_fail=0</action>
1779 <action function="page">restore_decrypt</action>
1780 </actions>
1781 </object>
1782
1783 <object type="action">
1784 <condition var1="tw_restore_encrypted" var2="0" />
1785 <actions>
1786 <action function="page">restore_select</action>
1787 </actions>
1788 </object>
1789 </page>
1790
1791 <page name="restore_decrypt">
1792 <object type="template" name="header" />
1793
1794 <object type="text" color="%text_color%">
1795 <font resource="font" />
1796 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1797 <text>Backup Encrypted</text>
1798 </object>
1799
1800 <object type="text" color="%text_color%">
1801 <font resource="font" />
1802 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1803 <text>Please Enter Your Password:</text>
1804 </object>
1805
1806 <object type="input">
1807 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1808 <background color="%input_background_color%" />
1809 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1810 <font resource="font" color="%text_color%" />
1811 <text>%tw_restore_display%</text>
1812 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1813 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1814 <actions>
1815 <action function="page">try_restore_decrypt</action>
1816 </actions>
1817 </object>
1818
1819 <object type="text" color="%text_fail_color%">
1820 <condition var1="tw_password_fail" var2="1" />
1821 <font resource="font" />
1822 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1823 <text>Password Failed, Please Try Again</text>
1824 </object>
1825
1826 <object type="button">
1827 <highlight color="%highlight_color%" />
1828 <placement x="%col1_x%" y="%row2_y%" />
1829 <font resource="font" color="%button_text_color%" />
1830 <text>Cancel</text>
1831 <image resource="main_button" />
1832 <actions>
1833 <action function="set">tw_page_done=1</action>
1834 <action function="page">restore</action>
1835 </actions>
1836 </object>
1837
1838 <object type="button">
1839 <highlight color="%highlight_color%" />
1840 <placement x="%col2_x%" y="%row2_y%" />
1841 <font resource="font" color="%button_text_color%" />
1842 <text>Delete</text>
1843 <image resource="main_button" />
1844 <actions>
1845 <action function="set">tw_back=restore</action>
1846 <action function="set">tw_action=cmd</action>
1847 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1848 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1849 <action function="set">tw_text2=This cannot be undone!</action>
1850 <action function="set">tw_action_text1=Deleting Backup...</action>
1851 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1852 <action function="set">tw_slider_text=Swipe to Delete</action>
1853 <action function="page">confirm_action</action>
1854 </actions>
1855 </object>
1856
1857 <object type="template" name="keyboardtemplate" />
1858
1859 <object type="action">
1860 <touch key="home" />
1861 <action function="page">main</action>
1862 </object>
1863
1864 <object type="action">
1865 <touch key="back" />
1866 <action function="page">restore</action>
1867 </object>
1868
1869 <object type="template" name="footer" />
1870 </page>
1871
1872 <page name="try_restore_decrypt">
1873 <object type="template" name="header" />
1874
1875 <object type="text" color="%text_color%">
1876 <font resource="font" />
1877 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1878 <text>Trying Decryption with Your Password</text>
1879 </object>
1880
1881 <object type="template" name="action_page_console" />
1882
1883 <object type="template" name="progress_bar" />
1884
1885 <object type="action">
1886 <action function="decrypt_backup"></action>
1887 </object>
1888
1889 <object type="action">
1890 <conditions>
1891 <condition var1="tw_operation_state" var2="1" />
1892 <condition var1="tw_operation_status" op="!=" var2="0" />
1893 </conditions>
1894 <actions>
1895 <action function="set">tw_password_fail=1</action>
1896 <action function="page">restore_decrypt</action>
1897 </actions>
1898 </object>
1899
1900 <object type="action">
1901 <conditions>
1902 <condition var1="tw_operation_state" var2="1" />
1903 <condition var1="tw_operation_status" op="=" var2="0" />
1904 </conditions>
1905 <actions>
1906 <action function="set">tw_page_done=1</action>
1907 <action function="page">restore_select</action>
1908 </actions>
1909 </object>
1910 </page>
1911
Dees_Troy51a0e822012-09-05 15:24:24 -04001912 <page name="restore_select">
1913 <object type="template" name="header" />
1914
Dees_Troya13d74f2013-03-24 08:54:55 -05001915 <object type="partitionlist">
1916 <highlight color="%fileselector_highlight_color%" />
1917 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1918 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1919 <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 -04001920 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001921 <icon selected="checkbox_true" unselected="checkbox_false" />
1922 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1923 <background color="%listbox_background%" />
1924 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1925 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1926 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001927 </object>
1928
1929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001930 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001931 <fill color="%button_fill_color%" />
1932 <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 -04001933 <font resource="font" color="%button_text_color%" />
1934 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001935 <actions>
1936 <action function="set">tw_backup_rename=</action>
1937 <action function="set">tw_fileexists=0</action>
1938 <action function="page">renamebackup</action>
1939 </actions>
1940 </object>
1941
1942 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001943 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001944 <fill color="%button_fill_color%" />
1945 <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 -04001946 <font resource="font" color="%button_text_color%" />
1947 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001948 <actions>
1949 <action function="set">tw_back=restore</action>
1950 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001951 <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 -04001952 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1953 <action function="set">tw_text2=This cannot be undone!</action>
1954 <action function="set">tw_action_text1=Deleting Backup...</action>
1955 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1956 <action function="set">tw_slider_text=Swipe to Delete</action>
1957 <action function="page">confirm_action</action>
1958 </actions>
1959 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001960
Dees_Troya13d74f2013-03-24 08:54:55 -05001961 <object type="checkbox">
1962 <placement x="%col1_x%" y="%row15_text_y%" />
1963 <font resource="font" color="%text_color%" />
1964 <text>Enable MD5 verification of backup files.</text>
1965 <data variable="tw_skip_md5_check" />
1966 <image checked="checkbox_true" unchecked="checkbox_false" />
1967 </object>
1968
1969 <object type="text" color="%text_color%">
1970 <font resource="font" />
1971 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1972 <text>Package Date: %tw_restore_file_date%</text>
1973 </object>
1974
Dees_Troy51a0e822012-09-05 15:24:24 -04001975 <object type="slider">
1976 <placement x="%slider_x%" y="%slider_y%" />
1977 <resource base="slider" used="slider-used" touch="slider-touch" />
1978 <action function="page">restore_run</action>
1979 </object>
1980
1981 <object type="text" color="%text_color%">
1982 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001983 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001984 <text>Swipe to Restore</text>
1985 </object>
1986
Dees_Troy51a0e822012-09-05 15:24:24 -04001987 <object type="action">
1988 <touch key="home" />
1989 <action function="page">main</action>
1990 </object>
1991
1992 <object type="action">
1993 <touch key="back" />
1994 <action function="page">restore</action>
1995 </object>
1996
1997 <object type="template" name="footer" />
1998 </page>
1999
2000 <page name="renamebackup">
2001 <object type="template" name="header" />
2002
2003 <object type="text" color="%text_color%">
2004 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2005 <font resource="font" />
2006 <text>Please Enter a New Backup Name</text>
2007 </object>
2008
2009 <object type="input">
2010 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2011 <background color="%input_background_color%" />
2012 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2013 <font resource="font" color="%text_color%" />
2014 <text>%tw_backup_rename%</text>
2015 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002016 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002017 <actions>
2018 <action function="set">tw_back=restore</action>
2019 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002020 <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 -04002021 <action function="set">tw_text1=Rename Backup?</action>
2022 <action function="set">tw_text2=This cannot be undone!</action>
2023 <action function="set">tw_action_text1=Renaming Backup...</action>
2024 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2025 <action function="set">tw_slider_text=Swipe to Rename</action>
2026 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2027 <action function="set">tw_existpage=renamebackup</action>
2028 <action function="set">tw_notexistpage=confirm_action</action>
2029 <action function="page">filecheck</action>
2030 </actions>
2031 </object>
2032
2033 <object type="text" color="%text_fail_color%">
2034 <condition var1="tw_fileexists" var2="1" />
2035 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2036 <font resource="font" />
2037 <text>A backup with that name already exists!</text>
2038 </object>
2039
2040 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002041 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002042 <placement x="%col_center_x%" y="%row2_y%" />
2043 <font resource="font" color="%button_text_color%" />
2044 <text>Cancel</text>
2045 <image resource="main_button" />
2046 <action function="page">restore_select</action>
2047 </object>
2048
2049 <object type="template" name="keyboardtemplate" />
2050
2051 <object type="action">
2052 <touch key="home" />
2053 <action function="page">main</action>
2054 </object>
2055
2056 <object type="action">
2057 <touch key="back" />
2058 <action function="page">restore_select</action>
2059 </object>
2060
2061 <object type="template" name="footer" />
2062 </page>
2063
2064 <page name="restore_run">
2065 <object type="template" name="header" />
2066
2067 <object type="text" color="%text_color%">
2068 <font resource="font" />
2069 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2070 <text>%tw_operation% %tw_partition%</text>
2071 </object>
2072
2073 <object type="template" name="action_page_console" />
2074
2075 <object type="template" name="progress_bar" />
2076
2077 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002078 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002079 <actions>
2080 <action function="set">tw_back=restore_select</action>
2081 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002082 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 <action function="page">action_complete</action>
2084 </actions>
2085 </object>
2086
2087 <object type="action">
2088 <action function="nandroid">restore</action>
2089 </object>
2090 </page>
2091
Dees_Troya13d74f2013-03-24 08:54:55 -05002092 <page name="selectstorage">
2093 <object type="template" name="header" />
2094
2095 <object type="partitionlist">
2096 <highlight color="%fileselector_highlight_color%" />
2097 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2098 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2099 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2100 <text>Select Storage:</text>
2101 <icon selected="radio_true" unselected="radio_false" />
2102 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2103 <background color="%listbox_background%" />
2104 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2105 <data name="tw_storage_path" />
2106 <listtype name="storage" />
2107 </object>
2108
Dees_Troye7e0ae82013-07-05 14:46:07 +00002109 <object type="button">
2110 <highlight color="%highlight_color%" />
2111 <placement x="%col_center_x%" y="%row4_y%" />
2112 <font resource="font" color="%button_text_color%" />
2113 <text>OK</text>
2114 <image resource="main_button" />
2115 <actions>
2116 <action function="set">tw_clear_destination=%tw_back%</action>
2117 <action function="page">clear_vars</action>
2118 </actions>
2119 </object>
2120
Dees_Troya13d74f2013-03-24 08:54:55 -05002121 <object type="action">
2122 <touch key="home" />
2123 <action function="page">main</action>
2124 </object>
2125
2126 <object type="action">
2127 <touch key="back" />
2128 <actions>
2129 <action function="page">%tw_back%</action>
2130 </actions>
2131 </object>
2132
2133 <object type="template" name="footer" />
2134 </page>
2135
Dees_Troy51a0e822012-09-05 15:24:24 -04002136 <page name="mount">
2137 <object type="template" name="header" />
2138
Dees_Troya13d74f2013-03-24 08:54:55 -05002139 <object type="partitionlist">
2140 <highlight color="%fileselector_highlight_color%" />
2141 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2142 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2143 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2144 <text>Select Partitions to Mount:</text>
2145 <icon selected="checkbox_true" unselected="checkbox_false" />
2146 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2147 <background color="%listbox_background%" />
2148 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2149 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002150 </object>
2151
2152 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002153 <highlight color="%highlight_color%" />
2154 <fill color="%button_fill_color%" />
2155 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2156 <font resource="font" color="%button_text_color%" />
2157 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2158 <actions>
2159 <action function="set">tw_back=mount</action>
2160 <action function="page">selectstorage</action>
2161 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002162 </object>
2163
2164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002165 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002166 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002167 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002168 <font resource="font" color="%button_text_color%" />
2169 <text>Mount USB Storage</text>
2170 <image resource="main_button" />
2171 <action function="page">usb_mount</action>
2172 </object>
2173
Gary Peckffdc6ae2012-11-21 18:02:02 -08002174 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002175 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002176 <conditions>
2177 <condition var1="tw_is_encrypted" var2="1" />
2178 <condition var1="tw_is_decrypted" var2="0" />
2179 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002180 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002181 <font resource="font" color="%button_text_color%" />
2182 <text>Decrypt Data</text>
2183 <image resource="main_button" />
2184 <action function="page">decrypt</action>
2185 </object>
2186
Dees_Troy51a0e822012-09-05 15:24:24 -04002187 <object type="action">
2188 <touch key="home" />
2189 <action function="page">main</action>
2190 </object>
2191
2192 <object type="action">
2193 <touch key="back" />
2194 <action function="page">main</action>
2195 </object>
2196
2197 <object type="template" name="footer" />
2198 </page>
2199
2200 <page name="usb_mount">
2201 <object type="template" name="header" />
2202
2203 <object type="text" color="%text_color%">
2204 <font resource="font" />
2205 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2206 <text>USB Storage Mounted</text>
2207 </object>
2208
2209 <object type="text" color="%text_color%">
2210 <placement x="%col1_x%" y="%row1_text_y%" />
2211 <font resource="font" />
2212 <text>Be sure to safely remove your device</text>
2213 </object>
2214
2215 <object type="text" color="%text_color%">
2216 <placement x="%col1_x%" y="%row2_text_y%" />
2217 <font resource="font" />
2218 <text>from your computer before unmounting!</text>
2219 </object>
2220
2221 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002222 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002223 <placement x="%col1_x%" y="%row3_y%" />
2224 <font resource="font" color="%button_text_color%" />
2225 <text>Unmount</text>
2226 <image resource="main_button" />
2227 <action function="page">usb_umount</action>
2228 </object>
2229
2230 <object type="action">
2231 <action function="mount">usb</action>
2232 </object>
2233
2234 <object type="template" name="footer" />
2235 </page>
2236
2237 <page name="usb_umount">
2238 <object type="action">
2239 <action function="unmount">usb</action>
2240 </object>
2241
2242 <object type="action">
2243 <action function="page">mount</action>
2244 </object>
2245 </page>
2246
2247 <page name="reboot">
2248 <object type="template" name="header" />
2249
2250 <object type="text" color="%text_color%">
2251 <font resource="font" />
2252 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2253 <text>Reboot Menu</text>
2254 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002255
Dees_Troy51a0e822012-09-05 15:24:24 -04002256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002257 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002258 <condition var1="tw_reboot_system" var2="1" />
2259 <placement x="%col1_x%" y="%row1_y%" />
2260 <font resource="font" color="%button_text_color%" />
2261 <text>System</text>
2262 <image resource="main_button" />
2263 <actions>
2264 <action function="set">tw_back=reboot</action>
2265 <action function="set">tw_action=reboot</action>
2266 <action function="set">tw_action_param=system</action>
2267 <action function="set">tw_has_action2=0</action>
2268 <action function="set">tw_text1=No OS Installed! Are you</action>
2269 <action function="set">tw_text2=sure you wish to reboot?</action>
2270 <action function="set">tw_action_text1=Rebooting...</action>
2271 <action function="set">tw_complete_text1=Rebooting...</action>
2272 <action function="set">tw_slider_text=Swipe to Reboot</action>
2273 <action function="page">rebootcheck</action>
2274 </actions>
2275 </object>
2276
2277 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002278 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002279 <condition var1="tw_reboot_poweroff" var2="1" />
2280 <placement x="%col2_x%" y="%row1_y%" />
2281 <font resource="font" color="%button_text_color%" />
2282 <text>Power Off</text>
2283 <image resource="main_button" />
2284 <actions>
2285 <action function="set">tw_back=reboot</action>
2286 <action function="set">tw_action=reboot</action>
2287 <action function="set">tw_action_param=poweroff</action>
2288 <action function="set">tw_has_action2=0</action>
2289 <action function="set">tw_text1=No OS Installed! Are you</action>
2290 <action function="set">tw_text2=sure you wish to power off?</action>
2291 <action function="set">tw_action_text1=Turning Off...</action>
2292 <action function="set">tw_complete_text1=Turning Off...</action>
2293 <action function="set">tw_slider_text=Swipe to Power Off</action>
2294 <action function="page">rebootcheck</action>
2295 </actions>
2296 </object>
2297
2298 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002299 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002300 <condition var1="tw_reboot_recovery" var2="1" />
2301 <placement x="%col1_x%" y="%row2_y%" />
2302 <font resource="font" color="%button_text_color%" />
2303 <text>Recovery</text>
2304 <image resource="main_button" />
2305 <actions>
2306 <action function="set">tw_back=reboot</action>
2307 <action function="set">tw_action=reboot</action>
2308 <action function="set">tw_action_param=recovery</action>
2309 <action function="set">tw_has_action2=0</action>
2310 <action function="set">tw_text1=No OS Installed! Are you</action>
2311 <action function="set">tw_text2=sure you wish to reboot?</action>
2312 <action function="set">tw_action_text1=Rebooting...</action>
2313 <action function="set">tw_complete_text1=Rebooting...</action>
2314 <action function="set">tw_slider_text=Swipe to Reboot</action>
2315 <action function="page">rebootcheck</action>
2316 </actions>
2317 </object>
2318
2319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002320 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <condition var1="tw_reboot_bootloader" var2="1" />
2322 <placement x="%col2_x%" y="%row2_y%" />
2323 <font resource="font" color="%button_text_color%" />
2324 <text>Bootloader</text>
2325 <image resource="main_button" />
2326 <actions>
2327 <action function="set">tw_back=reboot</action>
2328 <action function="set">tw_action=reboot</action>
2329 <action function="set">tw_action_param=bootloader</action>
2330 <action function="set">tw_has_action2=0</action>
2331 <action function="set">tw_text1=No OS Installed! Are you</action>
2332 <action function="set">tw_text2=sure you wish to reboot?</action>
2333 <action function="set">tw_action_text1=Rebooting...</action>
2334 <action function="set">tw_complete_text1=Rebooting...</action>
2335 <action function="set">tw_slider_text=Swipe to Reboot</action>
2336 <action function="page">rebootcheck</action>
2337 </actions>
2338 </object>
2339
2340 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002341 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002342 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002343 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002344 <font resource="font" color="%button_text_color%" />
2345 <text>Download</text>
2346 <image resource="main_button" />
2347 <actions>
2348 <action function="set">tw_back=reboot</action>
2349 <action function="set">tw_action=reboot</action>
2350 <action function="set">tw_action_param=download</action>
2351 <action function="set">tw_has_action2=0</action>
2352 <action function="set">tw_text1=No OS Installed! Are you</action>
2353 <action function="set">tw_text2=sure you wish to reboot?</action>
2354 <action function="set">tw_action_text1=Rebooting...</action>
2355 <action function="set">tw_complete_text1=Rebooting...</action>
2356 <action function="set">tw_slider_text=Swipe to Reboot</action>
2357 <action function="page">rebootcheck</action>
2358 </actions>
2359 </object>
2360
2361 <object type="action">
2362 <touch key="home" />
2363 <action function="page">main</action>
2364 </object>
2365
2366 <object type="action">
2367 <touch key="back" />
2368 <action function="page">main</action>
2369 </object>
2370
2371 <object type="template" name="footer" />
2372 </page>
2373
2374 <page name="settings">
2375 <object type="template" name="header" />
2376
2377 <object type="text" color="%text_color%">
2378 <font resource="font" />
2379 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2380 <text>Settings</text>
2381 </object>
2382
2383 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002384 <placement x="%col1_x%" y="%row1_text_y%" />
2385 <font resource="font" color="%text_color%" />
2386 <text>Zip file signature verification.</text>
2387 <data variable="tw_signed_zip_verify" />
2388 <image checked="checkbox_true" unchecked="checkbox_false" />
2389 </object>
2390
2391 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <placement x="%col1_x%" y="%row2_text_y%" />
2393 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002394 <text>Use rm -rf instead of formatting.</text>
2395 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <image checked="checkbox_true" unchecked="checkbox_false" />
2397 </object>
2398
2399 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002400 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002402 <text>Skip MD5 generation during backup.</text>
2403 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <image checked="checkbox_true" unchecked="checkbox_false" />
2405 </object>
2406
2407 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002408 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002410 <text>Enable MD5 verification of backup files.</text>
2411 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <image checked="checkbox_true" unchecked="checkbox_false" />
2413 </object>
2414
2415 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002416 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002418 <text>Use Military Time.</text>
2419 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002420 <image checked="checkbox_true" unchecked="checkbox_false" />
2421 </object>
2422
2423 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002424 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002426 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002427 <data variable="tw_simulate_actions" />
2428 <image checked="checkbox_true" unchecked="checkbox_false" />
2429 </object>
2430
2431 <object type="checkbox">
2432 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002433 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002435 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002436 <data variable="tw_simulate_fail" />
2437 <image checked="checkbox_true" unchecked="checkbox_false" />
2438 </object>
2439
2440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <placement x="%col1_x%" y="%row3_y%" />
2443 <font resource="font" color="%button_text_color%" />
2444 <text>Time Zone</text>
2445 <image resource="main_button" />
2446 <action function="page">timezone</action>
2447 </object>
2448
2449 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002450 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002451 <placement x="%col2_x%" y="%row3_y%" />
2452 <font resource="font" color="%button_text_color%" />
2453 <text>Screen</text>
2454 <image resource="main_button" />
2455 <action function="page">screen</action>
2456 </object>
2457
Kra1o5781e6892014-03-10 00:37:26 +01002458 <object type="button">
2459 <placement x="%col1_x%" y="%row4_y%" />
2460 <font resource="font" color="%button_text_color%" />
2461 <text>Restore Defaults</text>
2462 <image resource="main_button" />
2463 <action function="restoredefaultsettings"></action>
2464 </object>
2465
Dees_Troy2f9117a2013-02-17 19:52:09 -06002466 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002467 <highlight color="%highlight_color%" />
2468 <placement x="%col2_x%" y="%row4_y%" />
2469 <font resource="font" color="%button_text_color%" />
2470 <text>Vibration Duration</text>
2471 <image resource="main_button" />
2472 <action function="page">Vibrate</action>
2473 </object>
2474
Dees_Troy51a0e822012-09-05 15:24:24 -04002475 <object type="action">
2476 <touch key="home" />
2477 <action function="page">main</action>
2478 </object>
2479
2480 <object type="action">
2481 <touch key="back" />
2482 <action function="page">main</action>
2483 </object>
2484
2485 <object type="template" name="footer" />
2486 </page>
2487
2488 <page name="timezone">
2489 <object type="template" name="header" />
2490
Dees_Troy51a0e822012-09-05 15:24:24 -04002491 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002492 <highlight color="%fileselector_highlight_color%" />
2493 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2494 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002495 <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 -06002496 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002500 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <data name="tw_time_zone_guisel" />
2502 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2503 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2504 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2505 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2506 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2507 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2508 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2509 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2510 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2511 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2512 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2513 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2514 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2515 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2516 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2517 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2518 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2519 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2520 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2521 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2522 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2523 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2524 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2525 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2526 </object>
2527
2528 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002529 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002530 <font resource="font" color="%text_color%" />
2531 <text>Do you use daylight savings time (DST)?</text>
2532 <data variable="tw_time_zone_guidst" />
2533 <image checked="checkbox_true" unchecked="checkbox_false" />
2534 </object>
2535
2536 <object type="text" color="%text_color%">
2537 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002538 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002539 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2540 </object>
2541
2542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002543 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002544 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002545 <font resource="font" color="%button_text_color%" />
2546 <text>None</text>
2547 <image resource="medium_button" />
2548 <action function="set">tw_time_zone_guioffset=0</action>
2549 </object>
2550
2551 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002552 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002553 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002554 <font resource="font" color="%button_text_color%" />
2555 <text>15</text>
2556 <image resource="medium_button" />
2557 <action function="set">tw_time_zone_guioffset=15</action>
2558 </object>
2559
2560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002561 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002562 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002563 <font resource="font" color="%button_text_color%" />
2564 <text>30</text>
2565 <image resource="medium_button" />
2566 <action function="set">tw_time_zone_guioffset=30</action>
2567 </object>
2568
2569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002570 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002571 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002572 <font resource="font" color="%button_text_color%" />
2573 <text>45</text>
2574 <image resource="medium_button" />
2575 <action function="set">tw_time_zone_guioffset=45</action>
2576 </object>
2577
2578 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002579 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002580 <placement x="%col_center_x%" y="%tz_set_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>Set Time Zone</text>
2583 <image resource="main_button" />
2584 <action function="setguitimezone"></action>
2585 </object>
2586
2587 <object type="text" color="%text_color%">
2588 <font resource="font" />
2589 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2590 <text>Current Time Zone: %tw_time_zone%</text>
2591 </object>
2592
2593 <object type="action">
2594 <touch key="home" />
2595 <action function="page">main</action>
2596 </object>
2597
2598 <object type="action">
2599 <touch key="back" />
2600 <action function="page">settings</action>
2601 </object>
2602
2603 <object type="template" name="footer" />
2604 </page>
2605
Dees_Troy2f9117a2013-02-17 19:52:09 -06002606 <page name="screen">
2607 <object type="template" name="header" />
2608
2609 <object type="text" color="%text_color%">
2610 <font resource="font" />
2611 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2612 <text>Screen Settings</text>
2613 </object>
2614
Dees_Troy2f9117a2013-02-17 19:52:09 -06002615 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002616 <placement x="%col1_x%" y="%row2_text_y%" />
2617 <font resource="font" color="%text_color%" />
2618 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002619 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002620 <text>Enable screen timeout.</text>
2621 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002622 <action function="set">tw_screen_timeout_secs=60</action>
2623 </object>
2624
2625 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002626 <placement x="%col1_x%" y="%row2_text_y%" />
2627 <font resource="font" color="%text_color%" />
2628 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002629 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002630 <text>Enable screen timeout.</text>
2631 <image resource="checkbox_true" />
2632 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002633 </object>
2634
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <object type="slidervalue">
2636 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002637 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002638 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2639 <font resource="font" color="%text_color%" />
2640 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2641 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2642 <text>Screen timeout in seconds:</text>
2643 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002644 </object>
2645
Vojtech Bocek85932342013-04-01 22:11:33 +02002646 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002647 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002648 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2649 <font resource="font" color="%text_color%" />
2650 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2651 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2652 <text>Brightness: %tw_brightness_pct%%</text>
2653 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002654 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002655 <action function="set">tw_brightness=%tw_brightness_max%</action>
2656 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2657 <action function="compute">tw_brightness/100</action>
2658 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002659 </actions>
2660 </object>
2661
2662 <object type="action">
2663 <touch key="home" />
2664 <action function="page">main</action>
2665 </object>
2666
2667 <object type="action">
2668 <touch key="back" />
2669 <action function="page">settings</action>
2670 </object>
2671
2672 <object type="template" name="footer" />
2673 </page>
2674
Ethan Yonker03db3262014-02-05 08:02:06 -06002675 <page name="Vibrate">
2676 <object type="template" name="header" />
2677
2678 <object type="text" color="%text_color%">
2679 <font resource="font" />
2680 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2681 <text>Vibration Settings :</text>
2682 </object>
2683
2684 <object type="slidervalue">
2685 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2686 <font resource="font" color="%text_color%" />
2687 <text>Button Vibration:</text>
2688 <data variable="tw_button_vibrate" min="0" max="300" />
2689 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2690 </object>
2691
2692 <object type="slidervalue">
2693 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2694 <font resource="font" color="%text_color%" />
2695 <text>Keyboard Vibration:</text>
2696 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2697 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2698 </object>
2699
2700 <object type="slidervalue">
2701 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2702 <font resource="font" color="%text_color%" />
2703 <text>Action Vibration:</text>
2704 <data variable="tw_action_vibrate" min="0" max="500" />
2705 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2706 </object>
2707
2708 <object type="action">
2709 <touch key="home" />
2710 <action function="page">main</action>
2711 </object>
2712
2713 <object type="action">
2714 <touch key="back" />
2715 <action function="page">settings</action>
2716 </object>
2717
2718 <object type="template" name="footer" />
2719 </page>
2720
Dees_Troy51a0e822012-09-05 15:24:24 -04002721 <page name="advanced">
2722 <object type="template" name="header" />
2723
2724 <object type="text" color="%text_color%">
2725 <font resource="font" />
2726 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2727 <text>Advanced</text>
2728 </object>
2729
2730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <placement x="%col1_x%" y="%row1_y%" />
2733 <font resource="font" color="%button_text_color%" />
2734 <text>Copy Log to SD</text>
2735 <image resource="main_button" />
2736 <actions>
2737 <action function="set">tw_back=advanced</action>
2738 <action function="set">tw_action=copylog</action>
2739 <action function="set">tw_text1=Copy Log to SD Card?</action>
2740 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2741 <action function="set">tw_complete_text1=Log Copy Complete</action>
2742 <action function="set">tw_slider_text=Swipe to Confirm</action>
2743 <action function="page">confirm_action</action>
2744 </actions>
2745 </object>
2746
2747 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002748 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002749 <placement x="%col2_x%" y="%row1_y%" />
2750 <font resource="font" color="%button_text_color%" />
2751 <text>Fix Permissions</text>
2752 <image resource="main_button" />
2753 <actions>
2754 <action function="set">tw_back=advanced</action>
2755 <action function="set">tw_action=fixpermissions</action>
2756 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2759 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002760 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <action function="page">confirm_action</action>
2762 </actions>
2763 </object>
2764
2765 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002766 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <condition var1="tw_allow_partition_sdcard" var2="1" />
2768 <placement x="%col1_x%" y="%row2_y%" />
2769 <font resource="font" color="%button_text_color%" />
2770 <text>Partition SD Card</text>
2771 <image resource="main_button" />
2772 <action function="page">partsdcard</action>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <placement x="%col2_x%" y="%row2_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>File Manager</text>
2780 <image resource="main_button" />
2781 <action function="page">filemanagerlist</action>
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <placement x="%col1_x%" y="%row3_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>Terminal Command</text>
2789 <image resource="main_button" />
2790 <action function="page">terminalfolder</action>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002795 <placement x="%col2_x%" y="%row3_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>Reload Theme</text>
2798 <image resource="main_button" />
2799 <action function="reload"></action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002804 <placement x="%col1_x%" y="%row4_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>ADB Sideload</text>
2807 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002808 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002809 </object>
2810
2811 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002812 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002813 <condition var1="tw_show_dumlock" var2="1" />
2814 <placement x="%col2_x%" y="%row4_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text>HTC Dumlock</text>
2817 <image resource="main_button" />
2818 <action function="page">htcdumlock</action>
2819 </object>
2820
2821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002822 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <condition var1="tw_has_injecttwrp" var2="1" />
2824 <placement x="%col2_x%" y="%row4_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>Re-Inject TWRP</text>
2827 <image resource="main_button" />
2828 <actions>
2829 <action function="set">tw_back=advanced</action>
2830 <action function="set">tw_action=reinjecttwrp</action>
2831 <action function="set">tw_text1=Re-Inject TWRP?</action>
2832 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2833 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2834 <action function="set">tw_slider_text=Swipe to Confirm</action>
2835 <action function="page">confirm_action</action>
2836 </actions>
2837 </object>
2838
Dees_Troy51a0e822012-09-05 15:24:24 -04002839 <object type="action">
2840 <touch key="home" />
2841 <action function="page">main</action>
2842 </object>
2843
2844 <object type="action">
2845 <touch key="back" />
2846 <action function="page">main</action>
2847 </object>
2848
2849 <object type="template" name="footer" />
2850 </page>
2851
2852 <page name="partsdcard">
2853 <object type="template" name="header" />
2854
2855 <object type="text" color="%text_color%">
2856 <font resource="font" />
2857 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2858 <text>Partition SD Card</text>
2859 </object>
2860
2861 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002862 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002863 <placement x="%col1_x%" y="%row1_y%" />
2864 <font resource="font" color="%button_text_color%" />
2865 <text></text>
2866 <image resource="minus_button" />
2867 <action function="addsubtract">tw_sdext_size-128</action>
2868 </object>
2869
2870 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002871 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002872 <placement x="%sd_plus_x%" y="%row1_y%" />
2873 <font resource="font" color="%button_text_color%" />
2874 <text></text>
2875 <image resource="plus_button" />
2876 <action function="addsubtract">tw_sdext_size+128</action>
2877 </object>
2878
2879 <object type="text" color="%text_color%">
2880 <font resource="font" />
2881 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2882 <text>EXT Size: %tw_sdext_size%</text>
2883 </object>
2884
2885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002886 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002887 <placement x="%col1_x%" y="%sdswap_button_y%" />
2888 <font resource="font" color="%button_text_color%" />
2889 <text></text>
2890 <image resource="minus_button" />
2891 <action function="addsubtract">tw_swap_size-32</action>
2892 </object>
2893
2894 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002895 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002896 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2897 <font resource="font" color="%button_text_color%" />
2898 <text></text>
2899 <image resource="plus_button" />
2900 <action function="addsubtract">tw_swap_size+32</action>
2901 </object>
2902
2903 <object type="text" color="%text_color%">
2904 <font resource="font" />
2905 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2906 <text>Swap Size: %tw_swap_size%</text>
2907 </object>
2908
2909 <object type="text" color="%text_color%">
2910 <font resource="font" />
2911 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2912 <text>File system: %tw_sdpart_file_system%</text>
2913 </object>
2914
2915 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002916 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002917 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2918 <font resource="font" color="%button_text_color%" />
2919 <text>EXT3</text>
2920 <image resource="main_button" />
2921 <action function="set">tw_sdpart_file_system=ext3</action>
2922 </object>
2923
2924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002925 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002926 <condition var1="tw_sdext_disable_ext4" var2="0" />
2927 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text>EXT4</text>
2930 <image resource="main_button" />
2931 <action function="set">tw_sdpart_file_system=ext4</action>
2932 </object>
2933
2934 <object type="text" color="%text_color%">
2935 <font resource="font" />
2936 <placement x="%col1_x%" y="%row12_text_y%" />
2937 <text>You will lose all files on your SD card!</text>
2938 </object>
2939
2940 <object type="text" color="%text_color%">
2941 <font resource="font" />
2942 <placement x="%col1_x%" y="%row13_text_y%" />
2943 <text>This action cannot be undone!</text>
2944 </object>
2945
2946 <object type="slider">
2947 <placement x="%slider_x%" y="%slider_y%" />
2948 <resource base="slider" used="slider-used" touch="slider-touch" />
2949 <action function="page">partsdcardaction</action>
2950 <actions>
2951 <action function="set">tw_back=partsdcard</action>
2952 <action function="set">tw_action=partitionsd</action>
2953 <action function="set">tw_has_action2=1</action>
2954 <action function="set">tw_action2=set</action>
2955 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2956 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2957 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002958 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002959 <action function="page">action_page</action>
2960 </actions>
2961 </object>
2962
2963 <object type="text" color="%text_color%">
2964 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002965 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002966 <text>Swipe to Partition</text>
2967 </object>
2968
2969 <object type="action">
2970 <touch key="home" />
2971 <action function="page">main</action>
2972 </object>
2973
2974 <object type="action">
2975 <touch key="back" />
2976 <action function="page">advanced</action>
2977 </object>
2978
2979 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002980 </page>
2981
2982 <page name="htcdumlock">
2983 <object type="template" name="header" />
2984
2985 <object type="text" color="%text_color%">
2986 <font resource="font" />
2987 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2988 <text>HTC Dumlock</text>
2989 </object>
2990
2991 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002992 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002993 <condition var1="tw_show_dumlock" var2="1" />
2994 <placement x="%col1_x%" y="%row1_y%" />
2995 <font resource="font" color="%button_text_color%" />
2996 <text>Restore Original Boot</text>
2997 <image resource="main_button" />
2998 <actions>
2999 <action function="set">tw_back=htcdumlock</action>
3000 <action function="set">tw_action=htcdumlockrestoreboot</action>
3001 <action function="set">tw_text1=Restore original boot image?</action>
3002 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3003 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3004 <action function="set">tw_slider_text=Swipe to Confirm</action>
3005 <action function="page">confirm_action</action>
3006 </actions>
3007 </object>
3008
3009 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003010 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003011 <condition var1="tw_show_dumlock" var2="1" />
3012 <placement x="%col2_x%" y="%row1_y%" />
3013 <font resource="font" color="%button_text_color%" />
3014 <text>Reflash Recovery</text>
3015 <image resource="main_button" />
3016 <actions>
3017 <action function="set">tw_back=htcdumlock</action>
3018 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3019 <action function="set">tw_text1=Reflash recovery to boot?</action>
3020 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3021 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3022 <action function="set">tw_slider_text=Swipe to Confirm</action>
3023 <action function="page">confirm_action</action>
3024 </actions>
3025 </object>
3026
3027 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003028 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003029 <condition var1="tw_show_dumlock" var2="1" />
3030 <placement x="%col1_x%" y="%row2_y%" />
3031 <font resource="font" color="%button_text_color%" />
3032 <text>Install HTC Dumlock</text>
3033 <image resource="main_button" />
3034 <actions>
3035 <action function="set">tw_back=htcdumlock</action>
3036 <action function="set">tw_action=installhtcdumlock</action>
3037 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3038 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3039 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3040 <action function="set">tw_slider_text=Swipe to Confirm</action>
3041 <action function="page">confirm_action</action>
3042 </actions>
3043 </object>
3044
3045 <object type="action">
3046 <touch key="home" />
3047 <action function="page">main</action>
3048 </object>
3049
3050 <object type="action">
3051 <touch key="back" />
3052 <action function="page">advanced</action>
3053 </object>
3054
3055 <object type="template" name="footer" />
3056 </page>
3057
3058 <page name="lock">
3059 <background color="#000000A0" />
3060
3061 <object type="image">
3062 <image resource="unlock-icon" />
3063 <placement x="%lock_x%" y="%lock_y%" />
3064 </object>
3065
3066 <object type="slider">
3067 <placement x="%slider_x%" y="%slider_y%" />
3068 <resource base="slider" used="slider-used" touch="slider-touch" />
3069 <action function="overlay"></action>
3070 </object>
3071
3072 <object type="text" color="%text_color%">
3073 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003074 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003075 <text>Swipe to Unlock</text>
3076 </object>
3077 </page>
3078
3079 <page name="filemanagerlist">
3080 <object type="template" name="header" />
3081
3082 <object type="text" color="%text_color%">
3083 <font resource="font" />
3084 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3085 <text>File Manager: Select a File or Folder</text>
3086 </object>
3087
3088 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003089 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003090 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3091 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003092 <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 -04003093 <text>%tw_file_location1%</text>
3094 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3095 <sort name="tw_gui_sort_order" />
3096 <icon folder="folder_icon" file="file_icon" />
3097 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003098 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003099 <folders="1" files="1" />
3100 <path name="tw_file_location1" default="/" />
3101 <data name="tw_filename1" />
3102 <selection name="tw_selection1" />
3103 </object>
3104
3105 <object type="template" name="sort_options" />
3106
3107 <object type="action">
3108 <actions>
3109 <action function="set">tw_fm_type=File</action>
3110 <action function="set">tw_fm_isfolder=0</action>
3111 </actions>
3112 </object>
3113
3114 <object type="action">
3115 <touch key="home" />
3116 <action function="page">main</action>
3117 </object>
3118
3119 <object type="action">
3120 <touch key="back" />
3121 <action function="page">advanced</action>
3122 </object>
3123
3124 <object type="action">
3125 <condition var1="tw_filename1" op="modified" />
3126 <actions>
3127 <action function="page">filemanageroptions</action>
3128 </actions>
3129 </object>
3130
3131 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003132 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003133 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3134 <font resource="font" color="%button_text_color%" />
3135 <text>Select</text>
3136 <image resource="medium_button" />
3137 <actions>
3138 <action function="set">tw_filename1=tw_file_location1</action>
3139 <action function="set">tw_fm_isfolder=1</action>
3140 <action function="set">tw_fm_type=Folder</action>
3141 <action function="page">filemanageroptions</action>
3142 </actions>
3143 </object>
3144
3145 <object type="template" name="footer" />
3146 </page>
3147
3148 <page name="filemanageroptions">
3149 <object type="template" name="header" />
3150
3151 <object type="text" color="%text_color%">
3152 <font resource="font" />
3153 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3154 <text>%tw_fm_type% Selected:</text>
3155 </object>
3156
3157 <object type="text" color="%text_color%">
3158 <font resource="font" />
3159 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3160 <text>%tw_filename1%</text>
3161 </object>
3162
3163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003165 <condition var1="tw_fm_isfolder" var2="0" />
3166 <placement x="%col1_x%" y="%row2_y%" />
3167 <font resource="font" color="%button_text_color%" />
3168 <text>Copy File</text>
3169 <image resource="main_button" />
3170 <actions>
3171 <action function="set">tw_filemanager_command=cp</action>
3172 <action function="set">tw_fm_text1=Copying</action>
3173 <action function="page">choosedestinationfolder</action>
3174 </actions>
3175 </object>
3176
3177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003178 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003179 <condition var1="tw_fm_isfolder" var2="1" />
3180 <placement x="%col1_x%" y="%row2_y%" />
3181 <font resource="font" color="%button_text_color%" />
3182 <text>Copy Folder</text>
3183 <image resource="main_button" />
3184 <actions>
3185 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3186 <action function="set">tw_fm_text1=Copying</action>
3187 <action function="page">choosedestinationfolder</action>
3188 </actions>
3189 </object>
3190
3191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003192 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003193 <placement x="%col2_x%" y="%row2_y%" />
3194 <font resource="font" color="%button_text_color%" />
3195 <text>Move</text>
3196 <image resource="main_button" />
3197 <actions>
3198 <action function="set">tw_filemanager_command=mv</action>
3199 <action function="set">tw_fm_text1=Moving</action>
3200 <action function="page">choosedestinationfolder</action>
3201 </actions>
3202 </object>
3203
3204 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003205 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003206 <placement x="%col1_x%" y="%row3_y%" />
3207 <font resource="font" color="%button_text_color%" />
3208 <text>chmod 755</text>
3209 <image resource="main_button" />
3210 <actions>
3211 <action function="set">tw_filemanager_command=chmod 755</action>
3212 <action function="set">tw_fm_text1=chmod 755</action>
3213 <action function="set">tw_fm_text2=</action>
3214 <action function="set">tw_fm_text3=</action>
3215 <action function="set">tw_include_text3=0</action>
3216 <action function="set">tw_back=filemanageroptions</action>
3217 <action function="page">filemanagerconfirm</action>
3218 </actions>
3219 </object>
3220
3221 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003222 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003223 <placement x="%col2_x%" y="%row3_y%" />
3224 <font resource="font" color="%button_text_color%" />
3225 <text>chmod</text>
3226 <image resource="main_button" />
3227 <actions>
3228 <action function="set">tw_filemanager_rename=0000</action>
3229 <action function="set">tw_fm_text2=</action>
3230 <action function="set">tw_fm_text3=</action>
3231 <action function="set">tw_include_text3=0</action>
3232 <action function="set">tw_back=filemanageroptions</action>
3233 <action function="page">filemanagerchmod</action>
3234 </actions>
3235 </object>
3236
3237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <placement x="%col1_x%" y="%row4_y%" />
3240 <font resource="font" color="%button_text_color%" />
3241 <text>Delete</text>
3242 <image resource="main_button" />
3243 <actions>
3244 <action function="set">tw_filemanager_command=rm -rf</action>
3245 <action function="set">tw_fm_text1=Deleting</action>
3246 <action function="set">tw_fm_text2=</action>
3247 <action function="set">tw_fm_text3=</action>
3248 <action function="set">tw_include_text3=0</action>
3249 <action function="set">tw_back=filemanageroptions</action>
3250 <action function="page">filemanagerconfirm</action>
3251 </actions>
3252 </object>
3253
3254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003256 <condition var1="tw_fm_isfolder" var2="0" />
3257 <placement x="%col2_x%" y="%row4_y%" />
3258 <font resource="font" color="%button_text_color%" />
3259 <text>Rename File</text>
3260 <image resource="main_button" />
3261 <actions>
3262 <action function="set">tw_filemanager_rename=tw_selection1</action>
3263 <action function="set">tw_fm_text1=Renaming</action>
3264 <action function="set">tw_filemanager_command=mv</action>
3265 <action function="page">filemanagerrenamefile</action>
3266 </actions>
3267 </object>
3268
3269 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003270 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003271 <condition var1="tw_fm_isfolder" var2="1" />
3272 <placement x="%col2_x%" y="%row4_y%" />
3273 <font resource="font" color="%button_text_color%" />
3274 <text>Rename Folder</text>
3275 <image resource="main_button" />
3276 <actions>
3277 <action function="set">tw_filemanager_rename=tw_selection1</action>
3278 <action function="set">tw_fm_text1=Renaming</action>
3279 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3280 <action function="page">filemanagerrenamefolder</action>
3281 </actions>
3282 </object>
3283
3284 <object type="action">
3285 <touch key="home" />
3286 <action function="page">main</action>
3287 </object>
3288
3289 <object type="action">
3290 <touch key="back" />
3291 <action function="page">filemanagerlist</action>
3292 </object>
3293
3294 <object type="template" name="footer" />
3295 </page>
3296
3297 <page name="choosedestinationfolder">
3298 <object type="template" name="header" />
3299
3300 <object type="text" color="%text_color%">
3301 <font resource="font" />
3302 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3303 <text>Browse to Destination Folder & Press Select</text>
3304 </object>
3305
3306 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003307 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003308 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3309 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003310 <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 -04003311 <text>%tw_file_location2%</text>
3312 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3313 <sort name="tw_gui_sort_order" />
3314 <icon folder="folder_icon" file="file_icon" />
3315 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003316 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003317 <filter folders="1" files="0" />
3318 <path name="tw_file_location2" default="/" />
3319 <data name="tw_filename2" />
3320 <selection name="tw_selection2" />
3321 </object>
3322
3323 <object type="template" name="sort_options" />
3324
3325 <object type="action">
3326 <touch key="home" />
3327 <action function="page">main</action>
3328 </object>
3329
3330 <object type="action">
3331 <touch key="back" />
3332 <action function="page">filemanageroptions</action>
3333 </object>
3334
3335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3338 <font resource="font" color="%button_text_color%" />
3339 <text>Select</text>
3340 <image resource="medium_button" />
3341 <actions>
3342 <action function="set">tw_fm_text2=to</action>
3343 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3344 <action function="set">tw_include_text3=1</action>
3345 <action function="set">tw_back=filemanageroptions</action>
3346 <action function="page">filemanagerconfirm</action>
3347 </actions>
3348 </object>
3349
3350 <object type="template" name="footer" />
3351 </page>
3352
3353 <page name="filemanagerrenamefile">
3354 <object type="template" name="header" />
3355
3356 <object type="text" color="%text_color%">
3357 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3358 <font resource="font" />
3359 <text>Please Enter a New %tw_fm_type% Name</text>
3360 </object>
3361
3362 <object type="input">
3363 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3364 <background color="%input_background_color%" />
3365 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3366 <font resource="font" color="%text_color%" />
3367 <text>%tw_filemanager_rename%</text>
3368 <data name="tw_filemanager_rename" />
3369 <restrict minlen="1" maxlen="128" />
3370 <actions>
3371 <action function="set">tw_fm_text2=to</action>
3372 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3373 <action function="set">tw_include_text3=1</action>
3374 <action function="set">tw_back=filemanageroptions</action>
3375 <action function="page">filemanagerconfirm</action>
3376 </actions>
3377 </object>
3378
3379 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003380 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003381 <placement x="%col_center_x%" y="%row2_y%" />
3382 <font resource="font" color="%button_text_color%" />
3383 <text>Cancel</text>
3384 <image resource="main_button" />
3385 <action function="page">filemanageroptions</action>
3386 </object>
3387
3388 <object type="template" name="keyboardtemplate" />
3389
3390 <object type="action">
3391 <touch key="home" />
3392 <action function="page">main</action>
3393 </object>
3394
3395 <object type="action">
3396 <touch key="back" />
3397 <action function="page">filemanageroptions</action>
3398 </object>
3399
3400 <object type="template" name="footer" />
3401 </page>
3402
3403 <page name="filemanagerrenamefolder">
3404 <object type="template" name="header" />
3405
3406 <object type="text" color="%text_color%">
3407 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3408 <font resource="font" />
3409 <text>Please Enter a New %tw_fm_type% Name</text>
3410 </object>
3411
3412 <object type="input">
3413 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3414 <background color="%input_background_color%" />
3415 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3416 <font resource="font" color="%text_color%" />
3417 <text>%tw_filemanager_rename%</text>
3418 <data name="tw_filemanager_rename" />
3419 <restrict minlen="1" maxlen="128" />
3420 <actions>
3421 <action function="set">tw_fm_text2=to</action>
3422 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3423 <action function="set">tw_include_text3=1</action>
3424 <action function="set">tw_back=filemanageroptions</action>
3425 <action function="page">filemanagerconfirm</action>
3426 </actions>
3427 </object>
3428
3429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003431 <placement x="%col_center_x%" y="%row2_y%" />
3432 <font resource="font" color="%button_text_color%" />
3433 <text>Cancel</text>
3434 <image resource="main_button" />
3435 <action function="page">filemanageroptions</action>
3436 </object>
3437
3438 <object type="template" name="keyboardtemplate" />
3439
3440 <object type="action">
3441 <touch key="home" />
3442 <action function="page">main</action>
3443 </object>
3444
3445 <object type="action">
3446 <touch key="back" />
3447 <action function="page">filemanageroptions</action>
3448 </object>
3449
3450 <object type="template" name="footer" />
3451 </page>
3452
3453 <page name="filemanagerchmod">
3454 <object type="template" name="header" />
3455
3456 <object type="text" color="%text_color%">
3457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3458 <font resource="font" />
3459 <text>Please Enter New Permissions</text>
3460 </object>
3461
3462 <object type="input">
3463 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3464 <background color="%input_background_color%" />
3465 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3466 <font resource="font" color="%text_color%" />
3467 <text>%tw_filemanager_rename%</text>
3468 <data name="tw_filemanager_rename" />
3469 <restrict minlen="3" maxlen="4" allow="0123456789" />
3470 <actions>
3471 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3472 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3473 <action function="set">tw_back=filemanageroptions</action>
3474 <action function="page">filemanagerconfirm</action>
3475 </actions>
3476 </object>
3477
3478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003479 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003480 <placement x="%col_center_x%" y="%row2_y%" />
3481 <font resource="font" color="%button_text_color%" />
3482 <text>Cancel</text>
3483 <image resource="main_button" />
3484 <action function="page">filemanageroptions</action>
3485 </object>
3486
3487 <object type="template" name="keyboardtemplate" />
3488
3489 <object type="action">
3490 <touch key="home" />
3491 <action function="page">main</action>
3492 </object>
3493
3494 <object type="action">
3495 <touch key="back" />
3496 <action function="page">filemanageroptions</action>
3497 </object>
3498
3499 <object type="template" name="footer" />
3500 </page>
3501
3502 <page name="filemanagerconfirm">
3503 <object type="template" name="header" />
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3508 <text>%tw_fm_text1%</text>
3509 </object>
3510
3511 <object type="text" color="%text_color%">
3512 <font resource="font" />
3513 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3514 <text>%tw_filename1%</text>
3515 </object>
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3520 <text>%tw_fm_text2%</text>
3521 </object>
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3526 <text>%tw_fm_text3%</text>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3532 <text>Press back button to cancel.</text>
3533 </object>
3534
3535 <object type="slider">
3536 <placement x="%slider_x%" y="%slider_y%" />
3537 <resource base="slider" used="slider-used" touch="slider-touch" />
3538 <action function="page">filemanageracction</action>
3539 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003540
Dees_Troy51a0e822012-09-05 15:24:24 -04003541 <object type="text" color="%text_color%">
3542 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003543 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003544 <text>Swipe to Confirm</text>
3545 </object>
3546
3547 <object type="action">
3548 <touch key="back" />
3549 <action function="page">%tw_back%</action>
3550 </object>
3551
3552 <object type="action">
3553 <touch key="home" />
3554 <action function="page">main</action>
3555 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003556
Dees_Troy51a0e822012-09-05 15:24:24 -04003557 <object type="template" name="footer" />
3558 </page>
3559
3560 <page name="filemanageracction">
3561 <object type="template" name="header" />
3562
3563 <object type="text" color="%text_color%">
3564
3565 <font resource="font" />
3566 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3567 <text>%tw_fm_text1%</text>
3568 </object>
3569
3570 <object type="template" name="action_page_console" />
3571
3572 <object type="template" name="progress_bar" />
3573
3574 <object type="action">
3575 <conditions>
3576 <condition var1="tw_operation_state" var2="1" />
3577 <condition var1="tw_operation_status" var2="0" />
3578 </conditions>
3579 <actions>
3580 <action function="set">tw_back=filemanagerlist</action>
3581 <action function="set">tw_complete_text1=File Operation Complete</action>
3582 <action function="page">action_complete</action>
3583 </actions>
3584 </object>
3585
3586 <object type="action">
3587 <conditions>
3588 <condition var1="tw_operation_state" var2="1" />
3589 <condition var1="tw_operation_status" op="!=" var2="0" />
3590 </conditions>
3591 <actions>
3592 <action function="set">tw_complete_text1=File Operation Complete</action>
3593 <action function="page">action_complete</action>
3594 </actions>
3595 </object>
3596
3597 <object type="action">
3598 <condition var1="tw_include_text3" var2="0" />
3599 <actions>
3600 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <condition var1="tw_include_text3" var2="1" />
3606 <actions>
3607 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3608 </actions>
3609 </object>
3610 </page>
3611
3612 <page name="decrypt">
3613 <object type="template" name="header" />
3614
3615 <object type="text" color="%text_color%">
3616 <font resource="font" />
3617 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3618 <text>Please Enter Your Password</text>
3619 </object>
3620
3621 <object type="input">
3622 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3623 <background color="%input_background_color%" />
3624 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3625 <font resource="font" color="%text_color%" />
3626 <text>%tw_crypto_display%</text>
3627 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3628 <restrict minlen="1" maxlen="254" />
3629 <actions>
3630 <action function="page">trydecrypt</action>
3631 </actions>
3632 </object>
3633
3634 <object type="text" color="%text_fail_color%">
3635 <condition var1="tw_password_fail" var2="1" />
3636 <font resource="font" />
3637 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3638 <text>Password Failed, Please Try Again</text>
3639 </object>
3640
3641 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003642 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003643 <placement x="%col_center_x%" y="%row2_y%" />
3644 <font resource="font" color="%button_text_color%" />
3645 <text>Cancel</text>
3646 <image resource="main_button" />
3647 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003648 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <action function="page">main</action>
3650 </actions>
3651 </object>
3652
3653 <object type="template" name="keyboardtemplate" />
3654
Dees_Troy51a0e822012-09-05 15:24:24 -04003655 <object type="template" name="footer" />
3656 </page>
3657
3658 <page name="trydecrypt">
3659 <object type="template" name="header" />
3660
3661 <object type="text" color="%text_color%">
3662 <font resource="font" />
3663 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3664 <text>Trying Decryption with Your Password</text>
3665 </object>
3666
3667 <object type="template" name="action_page_console" />
3668
3669 <object type="template" name="progress_bar" />
3670
3671 <object type="action">
3672 <action function="decrypt"></action>
3673 </object>
3674
3675 <object type="action">
3676 <conditions>
3677 <condition var1="tw_operation_state" var2="1" />
3678 <condition var1="tw_operation_status" op="!=" var2="0" />
3679 </conditions>
3680 <actions>
3681 <action function="set">tw_password_fail=1</action>
3682 <action function="page">decrypt</action>
3683 </actions>
3684 </object>
3685
3686 <object type="action">
3687 <conditions>
3688 <condition var1="tw_operation_state" var2="1" />
3689 <condition var1="tw_operation_status" op="=" var2="0" />
3690 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003691 <actions>
3692 <action function="set">tw_page_done=1</action>
3693 <action function="page">main</action>
3694 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003695 </object>
3696 </page>
3697
3698 <page name="terminalfolder">
3699 <object type="template" name="header" />
3700
3701 <object type="text" color="%text_color%">
3702 <font resource="font" />
3703 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3704 <text>Browse to Starting Folder</text>
3705 </object>
3706
3707 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003708 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003709 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3710 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003711 <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 -04003712 <text>%tw_terminal_location%</text>
3713 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3714 <sort name="tw_gui_sort_order" />
3715 <icon folder="folder_icon" file="file_icon" />
3716 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003717 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003718 <filter folders="1" files="0" />
3719 <path name="tw_terminal_location" default="/" />
3720 <data name="tw_terminal" />
3721 <selection name="tw_terminal_selection" />
3722 </object>
3723
3724 <object type="template" name="sort_options" />
3725
3726 <object type="action">
3727 <touch key="home" />
3728 <action function="page">main</action>
3729 </object>
3730
3731 <object type="action">
3732 <touch key="back" />
3733 <action function="page">advanced</action>
3734 </object>
3735
3736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003738 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3739 <font resource="font" color="%button_text_color%" />
3740 <text>Select</text>
3741 <image resource="medium_button" />
3742 <actions>
3743 <action function="page">terminalcommand</action>
3744 </actions>
3745 </object>
3746
3747 <object type="template" name="footer" />
3748 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003749
Dees_Troy51a0e822012-09-05 15:24:24 -04003750 <page name="terminalcommand">
3751 <object type="template" name="header" />
3752
3753 <object type="console">
3754 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3755 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3756 <font resource="fixed" />
3757 </object>
3758
3759 <object type="text" color="%text_color%">
3760 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3761 <font resource="font" />
3762 <text>Starting Path: %tw_terminal_location%</text>
3763 </object>
3764
3765 <object type="input">
3766 <condition var1="tw_terminal_state" var2="0" />
3767 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3768 <background color="%input_background_color%" />
3769 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3770 <font resource="font" color="%text_color%" />
3771 <text>%tw_terminal_command%</text>
3772 <data name="tw_terminal_command" />
3773 <restrict minlen="1" />
3774 <action function="terminalcommand">%tw_terminal_command%</action>
3775 </object>
3776
3777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003779 <condition var1="tw_terminal_state" var2="1" />
3780 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3781 <font resource="font" color="%button_text_color%" />
3782 <text>KILL</text>
3783 <image resource="medium_button" />
3784 <action function="killterminal"></action>
3785 </object>
3786
3787 <object type="template" name="keyboardtemplate" />
3788
3789 <object type="action">
3790 <touch key="home" />
3791 <action function="page">main</action>
3792 </object>
3793
3794 <object type="action">
3795 <touch key="back" />
3796 <action function="page">terminalfolder</action>
3797 </object>
3798 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003799
3800 <page name="sideload">
3801 <object type="template" name="header" />
3802
3803 <object type="text" color="%text_color%">
3804 <font resource="font" />
3805 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3806 <text>ADB Sideload</text>
3807 </object>
3808
3809 <object type="checkbox">
3810 <placement x="%col1_x%" y="%row2_text_y%" />
3811 <font resource="font" color="%text_color%" />
3812 <text>Wipe Dalvik Cache.</text>
3813 <data variable="tw_wipe_dalvik" />
3814 <image checked="checkbox_true" unchecked="checkbox_false" />
3815 </object>
3816
3817 <object type="checkbox">
3818 <placement x="%col1_x%" y="%row3_text_y%" />
3819 <font resource="font" color="%text_color%" />
3820 <text>Wipe Cache.</text>
3821 <data variable="tw_wipe_cache" />
3822 <image checked="checkbox_true" unchecked="checkbox_false" />
3823 </object>
3824
3825 <object type="slider">
3826 <placement x="%slider_x%" y="%slider_y%" />
3827 <resource base="slider" used="slider-used" touch="slider-touch" />
3828 <actions>
3829 <action function="set">tw_back=advanced</action>
3830 <action function="set">tw_action=adbsideload</action>
3831 <action function="set">tw_action_text1=ADB Sideload</action>
3832 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3833 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3834 <action function="set">tw_has_cancel=1</action>
3835 <action function="set">tw_show_reboot=1</action>
3836 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3837 <action function="page">action_page</action>
3838 </actions>
3839 </object>
3840
3841 <object type="text" color="%text_color%">
3842 <font resource="font" />
3843 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3844 <text>Swipe to Start Sideload</text>
3845 </object>
3846
3847 <object type="action">
3848 <touch key="home" />
3849 <action function="page">main</action>
3850 </object>
3851
3852 <object type="action">
3853 <touch key="back" />
3854 <action function="page">advanced</action>
3855 </object>
3856
3857 <object type="template" name="footer" />
3858 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003859
3860 <page name="installsu">
3861 <object type="template" name="header" />
3862
3863 <object type="text" color="%text_color%">
3864 <font resource="font" />
3865 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3866 <text>Install SuperSU?</text>
3867 </object>
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3872 <text>Your device does not appear to be rooted.</text>
3873 </object>
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3878 <text>Install SuperSU now?</text>
3879 </object>
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3884 <text>This will root your device.</text>
3885 </object>
3886
3887 <object type="button">
3888 <highlight color="%highlight_color%" />
3889 <placement x="%col_center_x%" y="%row3_y%" />
3890 <font resource="font" color="%button_text_color%" />
3891 <text>Do Not Install</text>
3892 <image resource="main_button" />
3893 <action function="set">tw_page_done=1</action>
3894 </object>
3895
3896 <object type="slider">
3897 <placement x="%slider_x%" y="%slider_y%" />
3898 <resource base="slider" used="slider-used" touch="slider-touch" />
3899 <actions>
3900 <action function="set">tw_action=installsu</action>
3901 <action function="set">tw_action_text1=Installing SuperSU</action>
3902 <action function="set">tw_action_text2=</action>
3903 <action function="page">singleaction_page</action>
3904 </actions>
3905 </object>
3906
3907 <object type="text" color="%text_color%">
3908 <font resource="font" />
3909 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3910 <text>Swipe to Install</text>
3911 </object>
3912 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003913 </pages>
3914</recovery>