blob: b70837bc7e46709624c96975cc03e3c676672ec0 [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%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001107 <conditions>
1108 <condition var1="tw_has_android_secure" var2="1" />
1109 <condition var1="fileexists" var2="/and-sec" />
1110 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001111 <font resource="font" />
1112 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1113 <text>.android_secure</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <condition var1="tw_has_data_media" var2="1" />
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1120 <text>(not including internal storage)</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <condition var1="tw_has_sdext_partition" var2="1" />
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1127 <text>SD-EXT</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <font resource="font" />
1132 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1133 <text>Most of the time this is</text>
1134 </object>
1135
1136 <object type="text" color="%text_color%">
1137 <font resource="font" />
1138 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1139 <text>the only wipe that you need.</text>
1140 </object>
1141
1142 <object type="text" color="%text_color%">
1143 <font resource="font" />
1144 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1145 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001150 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001152 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 </object>
1156
1157 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <conditions>
1159 <condition var1="tw_has_internal" var2="1" />
1160 <condition var1="tw_has_data_media" var2="1" />
1161 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001162 <highlight color="%highlight_color%" />
1163 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 <font resource="font" color="%button_text_color%" />
1165 <text>Format Data</text>
1166 <image resource="main_button" />
1167 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 </actions>
1170 </object>
1171
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <object type="slider">
1173 <placement x="%slider_x%" y="%slider_y%" />
1174 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001175 <actions>
1176 <action function="set">tw_back=wipe</action>
1177 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <action function="set">tw_action_param=data</action>
1179 <action function="set">tw_action_text1=Factory Reset...</action>
1180 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1181 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001182 </actions>
1183 </object>
1184
Dees_Troya13d74f2013-03-24 08:54:55 -05001185 <object type="text" color="%text_color%">
1186 <font resource="font" />
1187 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1188 <text>Swipe to Factory Reset</text>
1189 </object>
1190
1191 <object type="action">
1192 <touch key="back" />
1193 <action function="page">main</action>
1194 </object>
1195
1196 <object type="action">
1197 <touch key="home" />
1198 <action function="page">main</action>
1199 </object>
1200
1201 <object type="template" name="footer" />
1202 </page>
1203
1204 <page name="advancedwipe">
1205 <object type="template" name="header" />
1206
1207 <object type="text" color="%text_color%">
1208 <font resource="font" />
1209 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1210 <text>Wipe Menu</text>
1211 </object>
1212
1213 <object type="partitionlist">
1214 <highlight color="%fileselector_highlight_color%" />
1215 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1216 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1217 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1218 <text>Select Partitions to Wipe:</text>
1219 <icon selected="checkbox_true" unselected="checkbox_false" />
1220 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1221 <background color="%listbox_background%" />
1222 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1223 <data name="tw_wipe_list" />
1224 <listtype name="wipe" />
1225 </object>
1226
1227 <object type="slider">
1228 <placement x="%slider_x%" y="%slider_y%" />
1229 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001230 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001231 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001232 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001233 <action function="set">tw_action_param=LIST</action>
1234 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1235 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1236 <action function="set">tw_complete_text1=Wipe Complete</action>
1237 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001238 </actions>
1239 </object>
1240
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <object type="text" color="%text_color%">
1242 <font resource="font" />
1243 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1244 <text>Swipe to Wipe</text>
1245 </object>
1246
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 <object type="action">
1248 <touch key="home" />
1249 <action function="page">main</action>
1250 </object>
1251
1252 <object type="action">
1253 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001254 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001255 </object>
1256
1257 <object type="template" name="footer" />
1258 </page>
1259
Dees_Troya13d74f2013-03-24 08:54:55 -05001260 <page name="formatdata">
1261 <object type="template" name="header" />
1262
1263 <object type="text" color="%text_color%">
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1266 <text>Format Data will wipe all of your apps,</text>
1267 </object>
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1272 <text>backups, pictures, videos, media, and</text>
1273 </object>
1274
1275 <object type="text" color="%text_color%">
1276 <font resource="font" />
1277 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1278 <text>removes encryption on internal storage.</text>
1279 </object>
1280
1281 <object type="text" color="%text_color%">
1282 <font resource="font" />
1283 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1284 <text>This cannot be undone. Press back to cancel.</text>
1285 </object>
1286
1287 <object type="text" color="%text_color%">
1288 <font resource="font" />
1289 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1290 <text>Type yes to continue.</text>
1291 </object>
1292
1293 <object type="input">
1294 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1295 <background color="%input_background_color%" />
1296 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1297 <font resource="font" color="%text_color%" />
1298 <text>%tw_confirm_formatdata%</text>
1299 <data name="tw_confirm_formatdata" />
1300 <restrict minlen="3" maxlen="3" allow="yes" />
1301 <action function="page">formatdata_confirm</action>
1302 </object>
1303
1304 <object type="template" name="keyboardtemplate" />
1305
1306 <object type="action">
1307 <touch key="home" />
1308 <action function="page">main</action>
1309 </object>
1310
1311 <object type="action">
1312 <touch key="back" />
1313 <action function="page">wipe</action>
1314 </object>
1315
1316 <object type="template" name="footer" />
1317 </page>
1318
1319 <page name="formatdata_confirm">
1320 <object type="action">
1321 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1322 <actions>
1323 <action function="set">tw_back=formatdata</action>
1324 <action function="set">tw_action=wipe</action>
1325 <action function="set">tw_action_param=DATAMEDIA</action>
1326 <action function="set">tw_action_text1=Formatting Data...</action>
1327 <action function="set">tw_complete_text1=Data Format Complete</action>
1328 <action function="page">action_page</action>
1329 </actions>
1330 </object>
1331
1332 <object type="action">
1333 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1334 <action function="page">formatdata</function>
1335 </object>
1336 </page>
1337
Dees_Troy51a0e822012-09-05 15:24:24 -04001338 <page name="backup">
1339 <object type="template" name="header" />
1340
Dees_Troy83bd4832013-05-04 12:39:56 +00001341 <object type="button">
1342 <highlight color="%highlight_color%" />
1343 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001344 <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 +00001345 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001346 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001347 <actions>
1348 <action function="set">tw_fileexists=0</action>
1349 <action function="page">backupname1</action>
1350 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001351 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001352
Dees_Troya13d74f2013-03-24 08:54:55 -05001353 <object type="partitionlist">
1354 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001355 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001356 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1357 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1358 <text>Select Partitions to Back Up:</text>
1359 <icon selected="checkbox_true" unselected="checkbox_false" />
1360 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1361 <background color="%listbox_background%" />
1362 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1363 <data name="tw_backup_list" />
1364 <listtype name="backup" />
1365 </object>
1366
1367 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001368 <conditions>
1369 <condition var1="tw_include_encrypted_backup" var2="1" />
1370 <condition var1="tw_encrypt_backup" var2="0" />
1371 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001372 <highlight color="%highlight_color%" />
1373 <fill color="%button_fill_color%" />
1374 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1375 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001376 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001377 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001378 <action function="page">backupencryption</action>
1379 </actions>
1380 </object>
1381
1382 <object type="button">
1383 <conditions>
1384 <condition var1="tw_include_encrypted_backup" var2="1" />
1385 <condition var1="tw_encrypt_backup" var2="1" />
1386 </conditions>
1387 <highlight color="%highlight_color%" />
1388 <fill color="%button_fill_color%" />
1389 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1390 <font resource="font" color="%button_text_color%" />
1391 <text>Using Encryption</text>
1392 <actions>
1393 <action function="set">tw_password_not_match=0</action>
1394 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001395 </actions>
1396 </object>
1397
1398 <object type="button">
1399 <highlight color="%highlight_color%" />
1400 <fill color="%button_fill_color%" />
1401 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1402 <font resource="font" color="%button_text_color%" />
1403 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001404 <actions>
1405 <action function="refreshsizes"></action>
1406 <action function="page">backup</action>
1407 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001408 </object>
1409
1410 <object type="button">
1411 <highlight color="%highlight_color%" />
1412 <fill color="%button_fill_color%" />
1413 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1414 <font resource="font" color="%button_text_color%" />
1415 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1416 <actions>
1417 <action function="set">tw_back=backup</action>
1418 <action function="page">selectstorage</action>
1419 </actions>
1420 </object>
1421
1422 <object type="checkbox">
1423 <placement x="%col1_x%" y="%row15_text_y%" />
1424 <font resource="font" color="%text_color%" />
1425 <text>Enable compression.</text>
1426 <data variable="tw_use_compression" />
1427 <image checked="checkbox_true" unchecked="checkbox_false" />
1428 </object>
1429
1430 <object type="checkbox">
1431 <placement x="%col1_x%" y="%row16_text_y%" />
1432 <font resource="font" color="%text_color%" />
1433 <text>Skip MD5 generation during backup.</text>
1434 <data variable="tw_skip_md5_generate" />
1435 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001436 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001437
Dees_Troyb46a6842012-09-25 11:06:46 -04001438 <object type="slider">
1439 <placement x="%slider_x%" y="slider_y" />
1440 <resource base="slider" used="slider-used" touch="slider-touch" />
1441 <action function="page">backup_run</action>
1442 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001443
1444 <object type="text" color="%text_color%">
1445 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001446 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 <text>Swipe to Back Up</text>
1448 </object>
1449
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 <object type="action">
1451 <touch key="home" />
1452 <action function="page">main</action>
1453 </object>
1454
1455 <object type="action">
1456 <touch key="back" />
1457 <action function="page">main</action>
1458 </object>
1459
1460 <object type="template" name="footer" />
1461 </page>
1462
1463 <page name="backupname1">
1464 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001465 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1466 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001467 </object>
1468
1469 <object type="action">
1470 <action function="page">backupname2</function>
1471 </object>
1472 </page>
1473
1474 <page name="backupname2">
1475 <object type="template" name="header" />
1476
1477 <object type="text" color="%text_color%">
1478 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1479 <font resource="font" />
1480 <text>Please Enter a Backup Name</text>
1481 </object>
1482
1483 <object type="input">
1484 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1485 <background color="%input_background_color%" />
1486 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1487 <font resource="font" color="%text_color%" />
1488 <text>%tw_backup_name%</text>
1489 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001490 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001491 <actions>
1492 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1493 <action function="set">tw_existpage=backupname2</action>
1494 <action function="set">tw_notexistpage=backup</action>
1495 <action function="page">filecheck</action>
1496 </actions>
1497 </object>
1498
1499 <object type="text" color="%text_fail_color%">
1500 <condition var1="tw_fileexists" var2="1" />
1501 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1502 <font resource="font" />
1503 <text>A backup with that name already exists!</text>
1504 </object>
1505
Dees_Troyb46a6842012-09-25 11:06:46 -04001506 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001507 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001508 <placement x="%col1_x%" y="%row2_y%" />
1509 <font resource="font" color="%button_text_color%" />
1510 <text>Append Date</text>
1511 <image resource="main_button" />
1512 <action function="appenddatetobackupname"></action>
1513 </object>
1514
1515 <object type="button">
1516 <highlight color="%highlight_color%" />
1517 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001518 <font resource="font" color="%button_text_color%" />
1519 <text>Cancel</text>
1520 <image resource="main_button" />
1521 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001522 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001523 <action function="page">backup</action>
1524 </actions>
1525 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001526
1527 <object type="template" name="keyboardtemplate" />
1528
Dees_Troyb46a6842012-09-25 11:06:46 -04001529 <object type="action">
1530 <touch key="home" />
1531 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001532 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001533 <action function="page">main</action>
1534 </actions>
1535 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001536
Dees_Troyb46a6842012-09-25 11:06:46 -04001537 <object type="action">
1538 <touch key="back" />
1539 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001540 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001541 <action function="page">backup</action>
1542 </actions>
1543 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001544
1545 <object type="template" name="footer" />
1546 </page>
1547
Dees_Troy83bd4832013-05-04 12:39:56 +00001548 <page name="backupencryption">
1549 <object type="template" name="header" />
1550
1551 <object type="text" color="%text_color%">
1552 <font resource="font" />
1553 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1554 <text>Encrypt your backup?</text>
1555 </object>
1556
1557 <object type="text" color="%text_color%">
1558 <font resource="font" />
1559 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1560 <text>Please Enter A Password:</text>
1561 </object>
1562
1563 <object type="input">
1564 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1565 <background color="%input_background_color%" />
1566 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1567 <font resource="font" color="%text_color%" />
1568 <text>%tw_backup_encrypt_display%</text>
1569 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1570 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1571 <action function="page">backupencryption2</action>
1572 </object>
1573
1574 <object type="text" color="%text_fail_color%">
1575 <condition var1="tw_password_not_match" var2="1" />
1576 <font resource="font" />
1577 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1578 <text>Passwords Do Not Match</text>
1579 </object>
1580
1581 <object type="button">
1582 <highlight color="%highlight_color%" />
1583 <placement x="%col_center_x%" y="%row2_y%" />
1584 <font resource="font" color="%button_text_color%" />
1585 <text>Cancel</text>
1586 <image resource="main_button" />
1587 <actions>
1588 <action function="set">tw_encrypt_backup=0</action>
1589 <action function="set">tw_backup_password=</action>
1590 <action function="set">tw_backup_password2=</action>
1591 <action function="set">tw_backup_encrypt_display=</action>
1592 <action function="set">tw_backup_encrypt_display2=</action>
1593 <action function="page">backup</action>
1594 </actions>
1595 </object>
1596
1597 <object type="template" name="keyboardtemplate" />
1598
1599 <object type="action">
1600 <touch key="home" />
1601 <action function="page">main</action>
1602 </object>
1603
1604 <object type="action">
1605 <touch key="back" />
1606 <action function="page">backup</action>
1607 </object>
1608
1609 <object type="template" name="footer" />
1610 </page>
1611
1612 <page name="backupencryption2">
1613 <object type="template" name="header" />
1614
1615 <object type="text" color="%text_color%">
1616 <font resource="font" />
1617 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1618 <text>Encrypt your backup?</text>
1619 </object>
1620
1621 <object type="text" color="%text_color%">
1622 <font resource="font" />
1623 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1624 <text>Please Enter Password Again:</text>
1625 </object>
1626
1627 <object type="input">
1628 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1629 <background color="%input_background_color%" />
1630 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1631 <font resource="font" color="%text_color%" />
1632 <text>%tw_backup_encrypt_display2%</text>
1633 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1634 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1635 <actions>
1636 <action function="page">checkbackuppassword</action>
1637 </actions>
1638 </object>
1639
1640 <object type="button">
1641 <highlight color="%highlight_color%" />
1642 <placement x="%col_center_x%" y="%row2_y%" />
1643 <font resource="font" color="%button_text_color%" />
1644 <text>Cancel</text>
1645 <image resource="main_button" />
1646 <actions>
1647 <action function="set">tw_encrypt_backup=0</action>
1648 <action function="set">tw_backup_password=</action>
1649 <action function="set">tw_backup_password2=</action>
1650 <action function="set">tw_backup_encrypt_display=</action>
1651 <action function="set">tw_backup_encrypt_display2=</action>
1652 <action function="page">backup</action>
1653 </actions>
1654 </object>
1655
1656 <object type="template" name="keyboardtemplate" />
1657
1658 <object type="action">
1659 <touch key="home" />
1660 <action function="page">main</action>
1661 </object>
1662
1663 <object type="action">
1664 <touch key="back" />
1665 <action function="page">backup</action>
1666 </object>
1667
1668 <object type="template" name="footer" />
1669 </page>
1670
1671 <page name="checkbackuppassword">
1672 <object type="action">
1673 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1674 <actions>
1675 <action function="set">tw_encrypt_backup=1</action>
1676 <action function="page">backup</action>
1677 </actions>
1678 </object>
1679
1680 <object type="action">
1681 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1682 <actions>
1683 <action function="set">tw_encrypt_backup=0</action>
1684 <action function="set">tw_password_not_match=1</action>
1685 <action function="set">tw_backup_password=</action>
1686 <action function="set">tw_backup_password2=</action>
1687 <action function="set">tw_backup_encrypt_display=</action>
1688 <action function="set">tw_backup_encrypt_display2=</action>
1689 <action function="page">backupencryption</action>
1690 </actions>
1691 </object>
1692 </page>
1693
Dees_Troy51a0e822012-09-05 15:24:24 -04001694 <page name="backup_run">
1695 <object type="template" name="header" />
1696
1697 <object type="text" color="%text_color%">
1698 <font resource="font" />
1699 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1700 <text>%tw_operation% %tw_partition%</text>
1701 </object>
1702
1703 <object type="template" name="action_page_console" />
1704
1705 <object type="template" name="progress_bar" />
1706
1707 <object type="action">
1708 <action function="nandroid">backup</action>
1709 </object>
1710
1711 <object type="action">
1712 <condition var1="tw_operation_state" var2="1" />
1713 <actions>
1714 <action function="set">tw_back=backup</action>
1715 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001716 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001717 <action function="page">action_complete</action>
1718 </actions>
1719 </object>
1720 </page>
1721
1722 <page name="restore">
1723 <object type="template" name="header" />
1724
1725 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001726 <highlight color="%highlight_color%" />
1727 <fill color="%button_fill_color%" />
1728 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1729 <font resource="font" color="%button_text_color%" />
1730 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1731 <actions>
1732 <action function="set">tw_back=restore</action>
1733 <action function="page">selectstorage</action>
1734 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001735 </object>
1736
1737 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001738 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001739 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001740 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001741 <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 -04001742 <text>Select Package to Restore:</text>
1743 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1744 <sort name="tw_gui_sort_order" />
1745 <icon folder="folder_icon" file="file_icon" />
1746 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001747 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001748 <filter folders="1" files="0" nav="0" />
1749 <path name="tw_backups_folder" />
1750 <data name="tw_restore" default="" />
1751 <selection name="tw_restore_name" />
1752 </object>
1753
1754 <object type="template" name="sort_options" />
1755
1756 <object type="action">
1757 <condition var1="tw_restore" op="modified" />
1758 <actions>
1759 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001760 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001761 </actions>
1762 </object>
1763
1764 <object type="action">
1765 <touch key="home" />
1766 <action function="page">main</action>
1767 </object>
1768
1769 <object type="action">
1770 <touch key="back" />
1771 <action function="page">main</action>
1772 </object>
1773
1774 <object type="template" name="footer" />
1775 </page>
1776
Dees_Troy83bd4832013-05-04 12:39:56 +00001777 <page name="restore_read">
1778 <object type="action">
1779 <condition var1="tw_restore_encrypted" var2="1" />
1780 <actions>
1781 <action function="set">tw_password_fail=0</action>
1782 <action function="page">restore_decrypt</action>
1783 </actions>
1784 </object>
1785
1786 <object type="action">
1787 <condition var1="tw_restore_encrypted" var2="0" />
1788 <actions>
1789 <action function="page">restore_select</action>
1790 </actions>
1791 </object>
1792 </page>
1793
1794 <page name="restore_decrypt">
1795 <object type="template" name="header" />
1796
1797 <object type="text" color="%text_color%">
1798 <font resource="font" />
1799 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1800 <text>Backup Encrypted</text>
1801 </object>
1802
1803 <object type="text" color="%text_color%">
1804 <font resource="font" />
1805 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1806 <text>Please Enter Your Password:</text>
1807 </object>
1808
1809 <object type="input">
1810 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1811 <background color="%input_background_color%" />
1812 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1813 <font resource="font" color="%text_color%" />
1814 <text>%tw_restore_display%</text>
1815 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1816 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1817 <actions>
1818 <action function="page">try_restore_decrypt</action>
1819 </actions>
1820 </object>
1821
1822 <object type="text" color="%text_fail_color%">
1823 <condition var1="tw_password_fail" var2="1" />
1824 <font resource="font" />
1825 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1826 <text>Password Failed, Please Try Again</text>
1827 </object>
1828
1829 <object type="button">
1830 <highlight color="%highlight_color%" />
1831 <placement x="%col1_x%" y="%row2_y%" />
1832 <font resource="font" color="%button_text_color%" />
1833 <text>Cancel</text>
1834 <image resource="main_button" />
1835 <actions>
1836 <action function="set">tw_page_done=1</action>
1837 <action function="page">restore</action>
1838 </actions>
1839 </object>
1840
1841 <object type="button">
1842 <highlight color="%highlight_color%" />
1843 <placement x="%col2_x%" y="%row2_y%" />
1844 <font resource="font" color="%button_text_color%" />
1845 <text>Delete</text>
1846 <image resource="main_button" />
1847 <actions>
1848 <action function="set">tw_back=restore</action>
1849 <action function="set">tw_action=cmd</action>
1850 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1851 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1852 <action function="set">tw_text2=This cannot be undone!</action>
1853 <action function="set">tw_action_text1=Deleting Backup...</action>
1854 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1855 <action function="set">tw_slider_text=Swipe to Delete</action>
1856 <action function="page">confirm_action</action>
1857 </actions>
1858 </object>
1859
1860 <object type="template" name="keyboardtemplate" />
1861
1862 <object type="action">
1863 <touch key="home" />
1864 <action function="page">main</action>
1865 </object>
1866
1867 <object type="action">
1868 <touch key="back" />
1869 <action function="page">restore</action>
1870 </object>
1871
1872 <object type="template" name="footer" />
1873 </page>
1874
1875 <page name="try_restore_decrypt">
1876 <object type="template" name="header" />
1877
1878 <object type="text" color="%text_color%">
1879 <font resource="font" />
1880 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1881 <text>Trying Decryption with Your Password</text>
1882 </object>
1883
1884 <object type="template" name="action_page_console" />
1885
1886 <object type="template" name="progress_bar" />
1887
1888 <object type="action">
1889 <action function="decrypt_backup"></action>
1890 </object>
1891
1892 <object type="action">
1893 <conditions>
1894 <condition var1="tw_operation_state" var2="1" />
1895 <condition var1="tw_operation_status" op="!=" var2="0" />
1896 </conditions>
1897 <actions>
1898 <action function="set">tw_password_fail=1</action>
1899 <action function="page">restore_decrypt</action>
1900 </actions>
1901 </object>
1902
1903 <object type="action">
1904 <conditions>
1905 <condition var1="tw_operation_state" var2="1" />
1906 <condition var1="tw_operation_status" op="=" var2="0" />
1907 </conditions>
1908 <actions>
1909 <action function="set">tw_page_done=1</action>
1910 <action function="page">restore_select</action>
1911 </actions>
1912 </object>
1913 </page>
1914
Dees_Troy51a0e822012-09-05 15:24:24 -04001915 <page name="restore_select">
1916 <object type="template" name="header" />
1917
Dees_Troya13d74f2013-03-24 08:54:55 -05001918 <object type="partitionlist">
1919 <highlight color="%fileselector_highlight_color%" />
1920 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1921 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1922 <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 -04001923 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001924 <icon selected="checkbox_true" unselected="checkbox_false" />
1925 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1926 <background color="%listbox_background%" />
1927 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1928 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1929 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001930 </object>
1931
1932 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001933 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001934 <fill color="%button_fill_color%" />
1935 <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 -04001936 <font resource="font" color="%button_text_color%" />
1937 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001938 <actions>
1939 <action function="set">tw_backup_rename=</action>
1940 <action function="set">tw_fileexists=0</action>
1941 <action function="page">renamebackup</action>
1942 </actions>
1943 </object>
1944
1945 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001946 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001947 <fill color="%button_fill_color%" />
1948 <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 -04001949 <font resource="font" color="%button_text_color%" />
1950 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001951 <actions>
1952 <action function="set">tw_back=restore</action>
1953 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001954 <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 -04001955 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1956 <action function="set">tw_text2=This cannot be undone!</action>
1957 <action function="set">tw_action_text1=Deleting Backup...</action>
1958 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1959 <action function="set">tw_slider_text=Swipe to Delete</action>
1960 <action function="page">confirm_action</action>
1961 </actions>
1962 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001963
Dees_Troya13d74f2013-03-24 08:54:55 -05001964 <object type="checkbox">
1965 <placement x="%col1_x%" y="%row15_text_y%" />
1966 <font resource="font" color="%text_color%" />
1967 <text>Enable MD5 verification of backup files.</text>
1968 <data variable="tw_skip_md5_check" />
1969 <image checked="checkbox_true" unchecked="checkbox_false" />
1970 </object>
1971
1972 <object type="text" color="%text_color%">
1973 <font resource="font" />
1974 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1975 <text>Package Date: %tw_restore_file_date%</text>
1976 </object>
1977
Dees_Troy51a0e822012-09-05 15:24:24 -04001978 <object type="slider">
1979 <placement x="%slider_x%" y="%slider_y%" />
1980 <resource base="slider" used="slider-used" touch="slider-touch" />
1981 <action function="page">restore_run</action>
1982 </object>
1983
1984 <object type="text" color="%text_color%">
1985 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001986 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001987 <text>Swipe to Restore</text>
1988 </object>
1989
Dees_Troy51a0e822012-09-05 15:24:24 -04001990 <object type="action">
1991 <touch key="home" />
1992 <action function="page">main</action>
1993 </object>
1994
1995 <object type="action">
1996 <touch key="back" />
1997 <action function="page">restore</action>
1998 </object>
1999
2000 <object type="template" name="footer" />
2001 </page>
2002
2003 <page name="renamebackup">
2004 <object type="template" name="header" />
2005
2006 <object type="text" color="%text_color%">
2007 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2008 <font resource="font" />
2009 <text>Please Enter a New Backup Name</text>
2010 </object>
2011
2012 <object type="input">
2013 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2014 <background color="%input_background_color%" />
2015 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2016 <font resource="font" color="%text_color%" />
2017 <text>%tw_backup_rename%</text>
2018 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002019 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002020 <actions>
2021 <action function="set">tw_back=restore</action>
2022 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002023 <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 -04002024 <action function="set">tw_text1=Rename Backup?</action>
2025 <action function="set">tw_text2=This cannot be undone!</action>
2026 <action function="set">tw_action_text1=Renaming Backup...</action>
2027 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2028 <action function="set">tw_slider_text=Swipe to Rename</action>
2029 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2030 <action function="set">tw_existpage=renamebackup</action>
2031 <action function="set">tw_notexistpage=confirm_action</action>
2032 <action function="page">filecheck</action>
2033 </actions>
2034 </object>
2035
2036 <object type="text" color="%text_fail_color%">
2037 <condition var1="tw_fileexists" var2="1" />
2038 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2039 <font resource="font" />
2040 <text>A backup with that name already exists!</text>
2041 </object>
2042
2043 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002044 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002045 <placement x="%col_center_x%" y="%row2_y%" />
2046 <font resource="font" color="%button_text_color%" />
2047 <text>Cancel</text>
2048 <image resource="main_button" />
2049 <action function="page">restore_select</action>
2050 </object>
2051
2052 <object type="template" name="keyboardtemplate" />
2053
2054 <object type="action">
2055 <touch key="home" />
2056 <action function="page">main</action>
2057 </object>
2058
2059 <object type="action">
2060 <touch key="back" />
2061 <action function="page">restore_select</action>
2062 </object>
2063
2064 <object type="template" name="footer" />
2065 </page>
2066
2067 <page name="restore_run">
2068 <object type="template" name="header" />
2069
2070 <object type="text" color="%text_color%">
2071 <font resource="font" />
2072 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2073 <text>%tw_operation% %tw_partition%</text>
2074 </object>
2075
2076 <object type="template" name="action_page_console" />
2077
2078 <object type="template" name="progress_bar" />
2079
2080 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002081 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002082 <actions>
2083 <action function="set">tw_back=restore_select</action>
2084 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002085 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002086 <action function="page">action_complete</action>
2087 </actions>
2088 </object>
2089
2090 <object type="action">
2091 <action function="nandroid">restore</action>
2092 </object>
2093 </page>
2094
Dees_Troya13d74f2013-03-24 08:54:55 -05002095 <page name="selectstorage">
2096 <object type="template" name="header" />
2097
2098 <object type="partitionlist">
2099 <highlight color="%fileselector_highlight_color%" />
2100 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2101 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2102 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2103 <text>Select Storage:</text>
2104 <icon selected="radio_true" unselected="radio_false" />
2105 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2106 <background color="%listbox_background%" />
2107 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2108 <data name="tw_storage_path" />
2109 <listtype name="storage" />
2110 </object>
2111
Dees_Troye7e0ae82013-07-05 14:46:07 +00002112 <object type="button">
2113 <highlight color="%highlight_color%" />
2114 <placement x="%col_center_x%" y="%row4_y%" />
2115 <font resource="font" color="%button_text_color%" />
2116 <text>OK</text>
2117 <image resource="main_button" />
2118 <actions>
2119 <action function="set">tw_clear_destination=%tw_back%</action>
2120 <action function="page">clear_vars</action>
2121 </actions>
2122 </object>
2123
Dees_Troya13d74f2013-03-24 08:54:55 -05002124 <object type="action">
2125 <touch key="home" />
2126 <action function="page">main</action>
2127 </object>
2128
2129 <object type="action">
2130 <touch key="back" />
2131 <actions>
2132 <action function="page">%tw_back%</action>
2133 </actions>
2134 </object>
2135
2136 <object type="template" name="footer" />
2137 </page>
2138
Dees_Troy51a0e822012-09-05 15:24:24 -04002139 <page name="mount">
2140 <object type="template" name="header" />
2141
Dees_Troya13d74f2013-03-24 08:54:55 -05002142 <object type="partitionlist">
2143 <highlight color="%fileselector_highlight_color%" />
2144 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2145 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2146 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2147 <text>Select Partitions to Mount:</text>
2148 <icon selected="checkbox_true" unselected="checkbox_false" />
2149 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2150 <background color="%listbox_background%" />
2151 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2152 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002153 </object>
2154
2155 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002156 <highlight color="%highlight_color%" />
2157 <fill color="%button_fill_color%" />
2158 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2159 <font resource="font" color="%button_text_color%" />
2160 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2161 <actions>
2162 <action function="set">tw_back=mount</action>
2163 <action function="page">selectstorage</action>
2164 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002165 </object>
2166
2167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002169 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002170 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002171 <font resource="font" color="%button_text_color%" />
2172 <text>Mount USB Storage</text>
2173 <image resource="main_button" />
2174 <action function="page">usb_mount</action>
2175 </object>
2176
Gary Peckffdc6ae2012-11-21 18:02:02 -08002177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002178 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002179 <conditions>
2180 <condition var1="tw_is_encrypted" var2="1" />
2181 <condition var1="tw_is_decrypted" var2="0" />
2182 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002183 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002184 <font resource="font" color="%button_text_color%" />
2185 <text>Decrypt Data</text>
2186 <image resource="main_button" />
2187 <action function="page">decrypt</action>
2188 </object>
2189
Dees_Troy51a0e822012-09-05 15:24:24 -04002190 <object type="action">
2191 <touch key="home" />
2192 <action function="page">main</action>
2193 </object>
2194
2195 <object type="action">
2196 <touch key="back" />
2197 <action function="page">main</action>
2198 </object>
2199
2200 <object type="template" name="footer" />
2201 </page>
2202
2203 <page name="usb_mount">
2204 <object type="template" name="header" />
2205
2206 <object type="text" color="%text_color%">
2207 <font resource="font" />
2208 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2209 <text>USB Storage Mounted</text>
2210 </object>
2211
2212 <object type="text" color="%text_color%">
2213 <placement x="%col1_x%" y="%row1_text_y%" />
2214 <font resource="font" />
2215 <text>Be sure to safely remove your device</text>
2216 </object>
2217
2218 <object type="text" color="%text_color%">
2219 <placement x="%col1_x%" y="%row2_text_y%" />
2220 <font resource="font" />
2221 <text>from your computer before unmounting!</text>
2222 </object>
2223
2224 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002225 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002226 <placement x="%col1_x%" y="%row3_y%" />
2227 <font resource="font" color="%button_text_color%" />
2228 <text>Unmount</text>
2229 <image resource="main_button" />
2230 <action function="page">usb_umount</action>
2231 </object>
2232
2233 <object type="action">
2234 <action function="mount">usb</action>
2235 </object>
2236
2237 <object type="template" name="footer" />
2238 </page>
2239
2240 <page name="usb_umount">
2241 <object type="action">
2242 <action function="unmount">usb</action>
2243 </object>
2244
2245 <object type="action">
2246 <action function="page">mount</action>
2247 </object>
2248 </page>
2249
2250 <page name="reboot">
2251 <object type="template" name="header" />
2252
2253 <object type="text" color="%text_color%">
2254 <font resource="font" />
2255 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2256 <text>Reboot Menu</text>
2257 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002258
Dees_Troy51a0e822012-09-05 15:24:24 -04002259 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002260 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002261 <condition var1="tw_reboot_system" var2="1" />
2262 <placement x="%col1_x%" y="%row1_y%" />
2263 <font resource="font" color="%button_text_color%" />
2264 <text>System</text>
2265 <image resource="main_button" />
2266 <actions>
2267 <action function="set">tw_back=reboot</action>
2268 <action function="set">tw_action=reboot</action>
2269 <action function="set">tw_action_param=system</action>
2270 <action function="set">tw_has_action2=0</action>
2271 <action function="set">tw_text1=No OS Installed! Are you</action>
2272 <action function="set">tw_text2=sure you wish to reboot?</action>
2273 <action function="set">tw_action_text1=Rebooting...</action>
2274 <action function="set">tw_complete_text1=Rebooting...</action>
2275 <action function="set">tw_slider_text=Swipe to Reboot</action>
2276 <action function="page">rebootcheck</action>
2277 </actions>
2278 </object>
2279
2280 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002281 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002282 <condition var1="tw_reboot_poweroff" var2="1" />
2283 <placement x="%col2_x%" y="%row1_y%" />
2284 <font resource="font" color="%button_text_color%" />
2285 <text>Power Off</text>
2286 <image resource="main_button" />
2287 <actions>
2288 <action function="set">tw_back=reboot</action>
2289 <action function="set">tw_action=reboot</action>
2290 <action function="set">tw_action_param=poweroff</action>
2291 <action function="set">tw_has_action2=0</action>
2292 <action function="set">tw_text1=No OS Installed! Are you</action>
2293 <action function="set">tw_text2=sure you wish to power off?</action>
2294 <action function="set">tw_action_text1=Turning Off...</action>
2295 <action function="set">tw_complete_text1=Turning Off...</action>
2296 <action function="set">tw_slider_text=Swipe to Power Off</action>
2297 <action function="page">rebootcheck</action>
2298 </actions>
2299 </object>
2300
2301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002303 <condition var1="tw_reboot_recovery" var2="1" />
2304 <placement x="%col1_x%" y="%row2_y%" />
2305 <font resource="font" color="%button_text_color%" />
2306 <text>Recovery</text>
2307 <image resource="main_button" />
2308 <actions>
2309 <action function="set">tw_back=reboot</action>
2310 <action function="set">tw_action=reboot</action>
2311 <action function="set">tw_action_param=recovery</action>
2312 <action function="set">tw_has_action2=0</action>
2313 <action function="set">tw_text1=No OS Installed! Are you</action>
2314 <action function="set">tw_text2=sure you wish to reboot?</action>
2315 <action function="set">tw_action_text1=Rebooting...</action>
2316 <action function="set">tw_complete_text1=Rebooting...</action>
2317 <action function="set">tw_slider_text=Swipe to Reboot</action>
2318 <action function="page">rebootcheck</action>
2319 </actions>
2320 </object>
2321
2322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002323 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002324 <condition var1="tw_reboot_bootloader" var2="1" />
2325 <placement x="%col2_x%" y="%row2_y%" />
2326 <font resource="font" color="%button_text_color%" />
2327 <text>Bootloader</text>
2328 <image resource="main_button" />
2329 <actions>
2330 <action function="set">tw_back=reboot</action>
2331 <action function="set">tw_action=reboot</action>
2332 <action function="set">tw_action_param=bootloader</action>
2333 <action function="set">tw_has_action2=0</action>
2334 <action function="set">tw_text1=No OS Installed! Are you</action>
2335 <action function="set">tw_text2=sure you wish to reboot?</action>
2336 <action function="set">tw_action_text1=Rebooting...</action>
2337 <action function="set">tw_complete_text1=Rebooting...</action>
2338 <action function="set">tw_slider_text=Swipe to Reboot</action>
2339 <action function="page">rebootcheck</action>
2340 </actions>
2341 </object>
2342
2343 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002344 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002345 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002346 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002347 <font resource="font" color="%button_text_color%" />
2348 <text>Download</text>
2349 <image resource="main_button" />
2350 <actions>
2351 <action function="set">tw_back=reboot</action>
2352 <action function="set">tw_action=reboot</action>
2353 <action function="set">tw_action_param=download</action>
2354 <action function="set">tw_has_action2=0</action>
2355 <action function="set">tw_text1=No OS Installed! Are you</action>
2356 <action function="set">tw_text2=sure you wish to reboot?</action>
2357 <action function="set">tw_action_text1=Rebooting...</action>
2358 <action function="set">tw_complete_text1=Rebooting...</action>
2359 <action function="set">tw_slider_text=Swipe to Reboot</action>
2360 <action function="page">rebootcheck</action>
2361 </actions>
2362 </object>
2363
2364 <object type="action">
2365 <touch key="home" />
2366 <action function="page">main</action>
2367 </object>
2368
2369 <object type="action">
2370 <touch key="back" />
2371 <action function="page">main</action>
2372 </object>
2373
2374 <object type="template" name="footer" />
2375 </page>
2376
2377 <page name="settings">
2378 <object type="template" name="header" />
2379
2380 <object type="text" color="%text_color%">
2381 <font resource="font" />
2382 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2383 <text>Settings</text>
2384 </object>
2385
2386 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002387 <placement x="%col1_x%" y="%row1_text_y%" />
2388 <font resource="font" color="%text_color%" />
2389 <text>Zip file signature verification.</text>
2390 <data variable="tw_signed_zip_verify" />
2391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002395 <placement x="%col1_x%" y="%row2_text_y%" />
2396 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002397 <text>Use rm -rf instead of formatting.</text>
2398 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002403 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002405 <text>Skip MD5 generation during backup.</text>
2406 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002411 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002413 <text>Enable MD5 verification of backup files.</text>
2414 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002419 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002420 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002421 <text>Use Military Time.</text>
2422 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002427 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002428 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002429 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <data variable="tw_simulate_actions" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="checkbox">
2435 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002436 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002437 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002438 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <data variable="tw_simulate_fail" />
2440 <image checked="checkbox_true" unchecked="checkbox_false" />
2441 </object>
2442
2443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002445 <placement x="%col1_x%" y="%row3_y%" />
2446 <font resource="font" color="%button_text_color%" />
2447 <text>Time Zone</text>
2448 <image resource="main_button" />
2449 <action function="page">timezone</action>
2450 </object>
2451
2452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002453 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002454 <placement x="%col2_x%" y="%row3_y%" />
2455 <font resource="font" color="%button_text_color%" />
2456 <text>Screen</text>
2457 <image resource="main_button" />
2458 <action function="page">screen</action>
2459 </object>
2460
Kra1o5781e6892014-03-10 00:37:26 +01002461 <object type="button">
2462 <placement x="%col1_x%" y="%row4_y%" />
2463 <font resource="font" color="%button_text_color%" />
2464 <text>Restore Defaults</text>
2465 <image resource="main_button" />
2466 <action function="restoredefaultsettings"></action>
2467 </object>
2468
Dees_Troy2f9117a2013-02-17 19:52:09 -06002469 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002470 <highlight color="%highlight_color%" />
2471 <placement x="%col2_x%" y="%row4_y%" />
2472 <font resource="font" color="%button_text_color%" />
2473 <text>Vibration Duration</text>
2474 <image resource="main_button" />
2475 <action function="page">Vibrate</action>
2476 </object>
2477
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <object type="action">
2479 <touch key="home" />
2480 <action function="page">main</action>
2481 </object>
2482
2483 <object type="action">
2484 <touch key="back" />
2485 <action function="page">main</action>
2486 </object>
2487
2488 <object type="template" name="footer" />
2489 </page>
2490
2491 <page name="timezone">
2492 <object type="template" name="header" />
2493
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002495 <highlight color="%fileselector_highlight_color%" />
2496 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2497 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002498 <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 -06002499 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002500 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002501 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002502 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002503 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <data name="tw_time_zone_guisel" />
2505 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2506 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2507 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2508 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2509 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2510 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2511 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2512 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2513 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2514 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2515 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2516 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2517 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2518 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2519 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2520 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2521 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2522 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2523 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2524 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2525 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2526 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2527 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2528 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2529 </object>
2530
2531 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002532 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <font resource="font" color="%text_color%" />
2534 <text>Do you use daylight savings time (DST)?</text>
2535 <data variable="tw_time_zone_guidst" />
2536 <image checked="checkbox_true" unchecked="checkbox_false" />
2537 </object>
2538
2539 <object type="text" color="%text_color%">
2540 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002541 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2543 </object>
2544
2545 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002546 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002547 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <font resource="font" color="%button_text_color%" />
2549 <text>None</text>
2550 <image resource="medium_button" />
2551 <action function="set">tw_time_zone_guioffset=0</action>
2552 </object>
2553
2554 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002555 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002556 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <font resource="font" color="%button_text_color%" />
2558 <text>15</text>
2559 <image resource="medium_button" />
2560 <action function="set">tw_time_zone_guioffset=15</action>
2561 </object>
2562
2563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002564 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002565 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002566 <font resource="font" color="%button_text_color%" />
2567 <text>30</text>
2568 <image resource="medium_button" />
2569 <action function="set">tw_time_zone_guioffset=30</action>
2570 </object>
2571
2572 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002573 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002574 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002575 <font resource="font" color="%button_text_color%" />
2576 <text>45</text>
2577 <image resource="medium_button" />
2578 <action function="set">tw_time_zone_guioffset=45</action>
2579 </object>
2580
2581 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002582 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002583 <placement x="%col_center_x%" y="%tz_set_y%" />
2584 <font resource="font" color="%button_text_color%" />
2585 <text>Set Time Zone</text>
2586 <image resource="main_button" />
2587 <action function="setguitimezone"></action>
2588 </object>
2589
2590 <object type="text" color="%text_color%">
2591 <font resource="font" />
2592 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2593 <text>Current Time Zone: %tw_time_zone%</text>
2594 </object>
2595
2596 <object type="action">
2597 <touch key="home" />
2598 <action function="page">main</action>
2599 </object>
2600
2601 <object type="action">
2602 <touch key="back" />
2603 <action function="page">settings</action>
2604 </object>
2605
2606 <object type="template" name="footer" />
2607 </page>
2608
Dees_Troy2f9117a2013-02-17 19:52:09 -06002609 <page name="screen">
2610 <object type="template" name="header" />
2611
2612 <object type="text" color="%text_color%">
2613 <font resource="font" />
2614 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2615 <text>Screen Settings</text>
2616 </object>
2617
Dees_Troy2f9117a2013-02-17 19:52:09 -06002618 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002619 <placement x="%col1_x%" y="%row2_text_y%" />
2620 <font resource="font" color="%text_color%" />
2621 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002622 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <text>Enable screen timeout.</text>
2624 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002625 <action function="set">tw_screen_timeout_secs=60</action>
2626 </object>
2627
2628 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002629 <placement x="%col1_x%" y="%row2_text_y%" />
2630 <font resource="font" color="%text_color%" />
2631 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002632 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <text>Enable screen timeout.</text>
2634 <image resource="checkbox_true" />
2635 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002636 </object>
2637
Vojtech Bocek85932342013-04-01 22:11:33 +02002638 <object type="slidervalue">
2639 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002640 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002641 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2642 <font resource="font" color="%text_color%" />
2643 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2644 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2645 <text>Screen timeout in seconds:</text>
2646 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002647 </object>
2648
Vojtech Bocek85932342013-04-01 22:11:33 +02002649 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002650 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002651 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2652 <font resource="font" color="%text_color%" />
2653 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2654 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2655 <text>Brightness: %tw_brightness_pct%%</text>
2656 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002657 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002658 <action function="set">tw_brightness=%tw_brightness_max%</action>
2659 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2660 <action function="compute">tw_brightness/100</action>
2661 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002662 </actions>
2663 </object>
2664
2665 <object type="action">
2666 <touch key="home" />
2667 <action function="page">main</action>
2668 </object>
2669
2670 <object type="action">
2671 <touch key="back" />
2672 <action function="page">settings</action>
2673 </object>
2674
2675 <object type="template" name="footer" />
2676 </page>
2677
Ethan Yonker03db3262014-02-05 08:02:06 -06002678 <page name="Vibrate">
2679 <object type="template" name="header" />
2680
2681 <object type="text" color="%text_color%">
2682 <font resource="font" />
2683 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2684 <text>Vibration Settings :</text>
2685 </object>
2686
2687 <object type="slidervalue">
2688 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2689 <font resource="font" color="%text_color%" />
2690 <text>Button Vibration:</text>
2691 <data variable="tw_button_vibrate" min="0" max="300" />
2692 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2693 </object>
2694
2695 <object type="slidervalue">
2696 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2697 <font resource="font" color="%text_color%" />
2698 <text>Keyboard Vibration:</text>
2699 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2700 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2701 </object>
2702
2703 <object type="slidervalue">
2704 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2705 <font resource="font" color="%text_color%" />
2706 <text>Action Vibration:</text>
2707 <data variable="tw_action_vibrate" min="0" max="500" />
2708 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2709 </object>
2710
2711 <object type="action">
2712 <touch key="home" />
2713 <action function="page">main</action>
2714 </object>
2715
2716 <object type="action">
2717 <touch key="back" />
2718 <action function="page">settings</action>
2719 </object>
2720
2721 <object type="template" name="footer" />
2722 </page>
2723
Dees_Troy51a0e822012-09-05 15:24:24 -04002724 <page name="advanced">
2725 <object type="template" name="header" />
2726
2727 <object type="text" color="%text_color%">
2728 <font resource="font" />
2729 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2730 <text>Advanced</text>
2731 </object>
2732
2733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002735 <placement x="%col1_x%" y="%row1_y%" />
2736 <font resource="font" color="%button_text_color%" />
2737 <text>Copy Log to SD</text>
2738 <image resource="main_button" />
2739 <actions>
2740 <action function="set">tw_back=advanced</action>
2741 <action function="set">tw_action=copylog</action>
2742 <action function="set">tw_text1=Copy Log to SD Card?</action>
2743 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2744 <action function="set">tw_complete_text1=Log Copy Complete</action>
2745 <action function="set">tw_slider_text=Swipe to Confirm</action>
2746 <action function="page">confirm_action</action>
2747 </actions>
2748 </object>
2749
2750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002752 <placement x="%col2_x%" y="%row1_y%" />
2753 <font resource="font" color="%button_text_color%" />
2754 <text>Fix Permissions</text>
2755 <image resource="main_button" />
2756 <actions>
2757 <action function="set">tw_back=advanced</action>
2758 <action function="set">tw_action=fixpermissions</action>
2759 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002760 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2762 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002763 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <action function="page">confirm_action</action>
2765 </actions>
2766 </object>
2767
2768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <condition var1="tw_allow_partition_sdcard" var2="1" />
2771 <placement x="%col1_x%" y="%row2_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>Partition SD Card</text>
2774 <image resource="main_button" />
2775 <action function="page">partsdcard</action>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <placement x="%col2_x%" y="%row2_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>File Manager</text>
2783 <image resource="main_button" />
2784 <action function="page">filemanagerlist</action>
2785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <placement x="%col1_x%" y="%row3_y%" />
2790 <font resource="font" color="%button_text_color%" />
2791 <text>Terminal Command</text>
2792 <image resource="main_button" />
2793 <action function="page">terminalfolder</action>
2794 </object>
2795
2796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002797 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002798 <placement x="%col2_x%" y="%row3_y%" />
2799 <font resource="font" color="%button_text_color%" />
2800 <text>Reload Theme</text>
2801 <image resource="main_button" />
2802 <action function="reload"></action>
2803 </object>
2804
2805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002806 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002807 <placement x="%col1_x%" y="%row4_y%" />
2808 <font resource="font" color="%button_text_color%" />
2809 <text>ADB Sideload</text>
2810 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002811 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002812 </object>
2813
2814 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002815 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002816 <condition var1="tw_show_dumlock" var2="1" />
2817 <placement x="%col2_x%" y="%row4_y%" />
2818 <font resource="font" color="%button_text_color%" />
2819 <text>HTC Dumlock</text>
2820 <image resource="main_button" />
2821 <action function="page">htcdumlock</action>
2822 </object>
2823
2824 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002825 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002826 <condition var1="tw_has_injecttwrp" var2="1" />
2827 <placement x="%col2_x%" y="%row4_y%" />
2828 <font resource="font" color="%button_text_color%" />
2829 <text>Re-Inject TWRP</text>
2830 <image resource="main_button" />
2831 <actions>
2832 <action function="set">tw_back=advanced</action>
2833 <action function="set">tw_action=reinjecttwrp</action>
2834 <action function="set">tw_text1=Re-Inject TWRP?</action>
2835 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2836 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2837 <action function="set">tw_slider_text=Swipe to Confirm</action>
2838 <action function="page">confirm_action</action>
2839 </actions>
2840 </object>
2841
Dees_Troy51a0e822012-09-05 15:24:24 -04002842 <object type="action">
2843 <touch key="home" />
2844 <action function="page">main</action>
2845 </object>
2846
2847 <object type="action">
2848 <touch key="back" />
2849 <action function="page">main</action>
2850 </object>
2851
2852 <object type="template" name="footer" />
2853 </page>
2854
2855 <page name="partsdcard">
2856 <object type="template" name="header" />
2857
2858 <object type="text" color="%text_color%">
2859 <font resource="font" />
2860 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2861 <text>Partition SD Card</text>
2862 </object>
2863
2864 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002865 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <placement x="%col1_x%" y="%row1_y%" />
2867 <font resource="font" color="%button_text_color%" />
2868 <text></text>
2869 <image resource="minus_button" />
2870 <action function="addsubtract">tw_sdext_size-128</action>
2871 </object>
2872
2873 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002874 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <placement x="%sd_plus_x%" y="%row1_y%" />
2876 <font resource="font" color="%button_text_color%" />
2877 <text></text>
2878 <image resource="plus_button" />
2879 <action function="addsubtract">tw_sdext_size+128</action>
2880 </object>
2881
2882 <object type="text" color="%text_color%">
2883 <font resource="font" />
2884 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2885 <text>EXT Size: %tw_sdext_size%</text>
2886 </object>
2887
2888 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002889 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <placement x="%col1_x%" y="%sdswap_button_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text></text>
2893 <image resource="minus_button" />
2894 <action function="addsubtract">tw_swap_size-32</action>
2895 </object>
2896
2897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002898 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2900 <font resource="font" color="%button_text_color%" />
2901 <text></text>
2902 <image resource="plus_button" />
2903 <action function="addsubtract">tw_swap_size+32</action>
2904 </object>
2905
2906 <object type="text" color="%text_color%">
2907 <font resource="font" />
2908 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2909 <text>Swap Size: %tw_swap_size%</text>
2910 </object>
2911
2912 <object type="text" color="%text_color%">
2913 <font resource="font" />
2914 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2915 <text>File system: %tw_sdpart_file_system%</text>
2916 </object>
2917
2918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002919 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2921 <font resource="font" color="%button_text_color%" />
2922 <text>EXT3</text>
2923 <image resource="main_button" />
2924 <action function="set">tw_sdpart_file_system=ext3</action>
2925 </object>
2926
2927 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002928 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002929 <condition var1="tw_sdext_disable_ext4" var2="0" />
2930 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2931 <font resource="font" color="%button_text_color%" />
2932 <text>EXT4</text>
2933 <image resource="main_button" />
2934 <action function="set">tw_sdpart_file_system=ext4</action>
2935 </object>
2936
2937 <object type="text" color="%text_color%">
2938 <font resource="font" />
2939 <placement x="%col1_x%" y="%row12_text_y%" />
2940 <text>You will lose all files on your SD card!</text>
2941 </object>
2942
2943 <object type="text" color="%text_color%">
2944 <font resource="font" />
2945 <placement x="%col1_x%" y="%row13_text_y%" />
2946 <text>This action cannot be undone!</text>
2947 </object>
2948
2949 <object type="slider">
2950 <placement x="%slider_x%" y="%slider_y%" />
2951 <resource base="slider" used="slider-used" touch="slider-touch" />
2952 <action function="page">partsdcardaction</action>
2953 <actions>
2954 <action function="set">tw_back=partsdcard</action>
2955 <action function="set">tw_action=partitionsd</action>
2956 <action function="set">tw_has_action2=1</action>
2957 <action function="set">tw_action2=set</action>
2958 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2959 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2960 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002961 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002962 <action function="page">action_page</action>
2963 </actions>
2964 </object>
2965
2966 <object type="text" color="%text_color%">
2967 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002968 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002969 <text>Swipe to Partition</text>
2970 </object>
2971
2972 <object type="action">
2973 <touch key="home" />
2974 <action function="page">main</action>
2975 </object>
2976
2977 <object type="action">
2978 <touch key="back" />
2979 <action function="page">advanced</action>
2980 </object>
2981
2982 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002983 </page>
2984
2985 <page name="htcdumlock">
2986 <object type="template" name="header" />
2987
2988 <object type="text" color="%text_color%">
2989 <font resource="font" />
2990 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2991 <text>HTC Dumlock</text>
2992 </object>
2993
2994 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002995 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002996 <condition var1="tw_show_dumlock" var2="1" />
2997 <placement x="%col1_x%" y="%row1_y%" />
2998 <font resource="font" color="%button_text_color%" />
2999 <text>Restore Original Boot</text>
3000 <image resource="main_button" />
3001 <actions>
3002 <action function="set">tw_back=htcdumlock</action>
3003 <action function="set">tw_action=htcdumlockrestoreboot</action>
3004 <action function="set">tw_text1=Restore original boot image?</action>
3005 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3006 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3007 <action function="set">tw_slider_text=Swipe to Confirm</action>
3008 <action function="page">confirm_action</action>
3009 </actions>
3010 </object>
3011
3012 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003013 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003014 <condition var1="tw_show_dumlock" var2="1" />
3015 <placement x="%col2_x%" y="%row1_y%" />
3016 <font resource="font" color="%button_text_color%" />
3017 <text>Reflash Recovery</text>
3018 <image resource="main_button" />
3019 <actions>
3020 <action function="set">tw_back=htcdumlock</action>
3021 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3022 <action function="set">tw_text1=Reflash recovery to boot?</action>
3023 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3024 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3025 <action function="set">tw_slider_text=Swipe to Confirm</action>
3026 <action function="page">confirm_action</action>
3027 </actions>
3028 </object>
3029
3030 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003031 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003032 <condition var1="tw_show_dumlock" var2="1" />
3033 <placement x="%col1_x%" y="%row2_y%" />
3034 <font resource="font" color="%button_text_color%" />
3035 <text>Install HTC Dumlock</text>
3036 <image resource="main_button" />
3037 <actions>
3038 <action function="set">tw_back=htcdumlock</action>
3039 <action function="set">tw_action=installhtcdumlock</action>
3040 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3041 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3042 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3043 <action function="set">tw_slider_text=Swipe to Confirm</action>
3044 <action function="page">confirm_action</action>
3045 </actions>
3046 </object>
3047
3048 <object type="action">
3049 <touch key="home" />
3050 <action function="page">main</action>
3051 </object>
3052
3053 <object type="action">
3054 <touch key="back" />
3055 <action function="page">advanced</action>
3056 </object>
3057
3058 <object type="template" name="footer" />
3059 </page>
3060
3061 <page name="lock">
3062 <background color="#000000A0" />
3063
3064 <object type="image">
3065 <image resource="unlock-icon" />
3066 <placement x="%lock_x%" y="%lock_y%" />
3067 </object>
3068
3069 <object type="slider">
3070 <placement x="%slider_x%" y="%slider_y%" />
3071 <resource base="slider" used="slider-used" touch="slider-touch" />
3072 <action function="overlay"></action>
3073 </object>
3074
3075 <object type="text" color="%text_color%">
3076 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003077 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003078 <text>Swipe to Unlock</text>
3079 </object>
3080 </page>
3081
3082 <page name="filemanagerlist">
3083 <object type="template" name="header" />
3084
3085 <object type="text" color="%text_color%">
3086 <font resource="font" />
3087 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3088 <text>File Manager: Select a File or Folder</text>
3089 </object>
3090
3091 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003092 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003093 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3094 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003095 <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 -04003096 <text>%tw_file_location1%</text>
3097 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3098 <sort name="tw_gui_sort_order" />
3099 <icon folder="folder_icon" file="file_icon" />
3100 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003101 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003102 <folders="1" files="1" />
3103 <path name="tw_file_location1" default="/" />
3104 <data name="tw_filename1" />
3105 <selection name="tw_selection1" />
3106 </object>
3107
3108 <object type="template" name="sort_options" />
3109
3110 <object type="action">
3111 <actions>
3112 <action function="set">tw_fm_type=File</action>
3113 <action function="set">tw_fm_isfolder=0</action>
3114 </actions>
3115 </object>
3116
3117 <object type="action">
3118 <touch key="home" />
3119 <action function="page">main</action>
3120 </object>
3121
3122 <object type="action">
3123 <touch key="back" />
3124 <action function="page">advanced</action>
3125 </object>
3126
3127 <object type="action">
3128 <condition var1="tw_filename1" op="modified" />
3129 <actions>
3130 <action function="page">filemanageroptions</action>
3131 </actions>
3132 </object>
3133
3134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003136 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3137 <font resource="font" color="%button_text_color%" />
3138 <text>Select</text>
3139 <image resource="medium_button" />
3140 <actions>
3141 <action function="set">tw_filename1=tw_file_location1</action>
3142 <action function="set">tw_fm_isfolder=1</action>
3143 <action function="set">tw_fm_type=Folder</action>
3144 <action function="page">filemanageroptions</action>
3145 </actions>
3146 </object>
3147
3148 <object type="template" name="footer" />
3149 </page>
3150
3151 <page name="filemanageroptions">
3152 <object type="template" name="header" />
3153
3154 <object type="text" color="%text_color%">
3155 <font resource="font" />
3156 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3157 <text>%tw_fm_type% Selected:</text>
3158 </object>
3159
3160 <object type="text" color="%text_color%">
3161 <font resource="font" />
3162 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3163 <text>%tw_filename1%</text>
3164 </object>
3165
3166 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003167 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003168 <condition var1="tw_fm_isfolder" var2="0" />
3169 <placement x="%col1_x%" y="%row2_y%" />
3170 <font resource="font" color="%button_text_color%" />
3171 <text>Copy File</text>
3172 <image resource="main_button" />
3173 <actions>
3174 <action function="set">tw_filemanager_command=cp</action>
3175 <action function="set">tw_fm_text1=Copying</action>
3176 <action function="page">choosedestinationfolder</action>
3177 </actions>
3178 </object>
3179
3180 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003181 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003182 <condition var1="tw_fm_isfolder" var2="1" />
3183 <placement x="%col1_x%" y="%row2_y%" />
3184 <font resource="font" color="%button_text_color%" />
3185 <text>Copy Folder</text>
3186 <image resource="main_button" />
3187 <actions>
3188 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3189 <action function="set">tw_fm_text1=Copying</action>
3190 <action function="page">choosedestinationfolder</action>
3191 </actions>
3192 </object>
3193
3194 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003195 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003196 <placement x="%col2_x%" y="%row2_y%" />
3197 <font resource="font" color="%button_text_color%" />
3198 <text>Move</text>
3199 <image resource="main_button" />
3200 <actions>
3201 <action function="set">tw_filemanager_command=mv</action>
3202 <action function="set">tw_fm_text1=Moving</action>
3203 <action function="page">choosedestinationfolder</action>
3204 </actions>
3205 </object>
3206
3207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003209 <placement x="%col1_x%" y="%row3_y%" />
3210 <font resource="font" color="%button_text_color%" />
3211 <text>chmod 755</text>
3212 <image resource="main_button" />
3213 <actions>
3214 <action function="set">tw_filemanager_command=chmod 755</action>
3215 <action function="set">tw_fm_text1=chmod 755</action>
3216 <action function="set">tw_fm_text2=</action>
3217 <action function="set">tw_fm_text3=</action>
3218 <action function="set">tw_include_text3=0</action>
3219 <action function="set">tw_back=filemanageroptions</action>
3220 <action function="page">filemanagerconfirm</action>
3221 </actions>
3222 </object>
3223
3224 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003225 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003226 <placement x="%col2_x%" y="%row3_y%" />
3227 <font resource="font" color="%button_text_color%" />
3228 <text>chmod</text>
3229 <image resource="main_button" />
3230 <actions>
3231 <action function="set">tw_filemanager_rename=0000</action>
3232 <action function="set">tw_fm_text2=</action>
3233 <action function="set">tw_fm_text3=</action>
3234 <action function="set">tw_include_text3=0</action>
3235 <action function="set">tw_back=filemanageroptions</action>
3236 <action function="page">filemanagerchmod</action>
3237 </actions>
3238 </object>
3239
3240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003241 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003242 <placement x="%col1_x%" y="%row4_y%" />
3243 <font resource="font" color="%button_text_color%" />
3244 <text>Delete</text>
3245 <image resource="main_button" />
3246 <actions>
3247 <action function="set">tw_filemanager_command=rm -rf</action>
3248 <action function="set">tw_fm_text1=Deleting</action>
3249 <action function="set">tw_fm_text2=</action>
3250 <action function="set">tw_fm_text3=</action>
3251 <action function="set">tw_include_text3=0</action>
3252 <action function="set">tw_back=filemanageroptions</action>
3253 <action function="page">filemanagerconfirm</action>
3254 </actions>
3255 </object>
3256
3257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003259 <condition var1="tw_fm_isfolder" var2="0" />
3260 <placement x="%col2_x%" y="%row4_y%" />
3261 <font resource="font" color="%button_text_color%" />
3262 <text>Rename File</text>
3263 <image resource="main_button" />
3264 <actions>
3265 <action function="set">tw_filemanager_rename=tw_selection1</action>
3266 <action function="set">tw_fm_text1=Renaming</action>
3267 <action function="set">tw_filemanager_command=mv</action>
3268 <action function="page">filemanagerrenamefile</action>
3269 </actions>
3270 </object>
3271
3272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003274 <condition var1="tw_fm_isfolder" var2="1" />
3275 <placement x="%col2_x%" y="%row4_y%" />
3276 <font resource="font" color="%button_text_color%" />
3277 <text>Rename Folder</text>
3278 <image resource="main_button" />
3279 <actions>
3280 <action function="set">tw_filemanager_rename=tw_selection1</action>
3281 <action function="set">tw_fm_text1=Renaming</action>
3282 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3283 <action function="page">filemanagerrenamefolder</action>
3284 </actions>
3285 </object>
3286
3287 <object type="action">
3288 <touch key="home" />
3289 <action function="page">main</action>
3290 </object>
3291
3292 <object type="action">
3293 <touch key="back" />
3294 <action function="page">filemanagerlist</action>
3295 </object>
3296
3297 <object type="template" name="footer" />
3298 </page>
3299
3300 <page name="choosedestinationfolder">
3301 <object type="template" name="header" />
3302
3303 <object type="text" color="%text_color%">
3304 <font resource="font" />
3305 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3306 <text>Browse to Destination Folder & Press Select</text>
3307 </object>
3308
3309 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003310 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003311 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3312 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003313 <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 -04003314 <text>%tw_file_location2%</text>
3315 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3316 <sort name="tw_gui_sort_order" />
3317 <icon folder="folder_icon" file="file_icon" />
3318 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003319 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003320 <filter folders="1" files="0" />
3321 <path name="tw_file_location2" default="/" />
3322 <data name="tw_filename2" />
3323 <selection name="tw_selection2" />
3324 </object>
3325
3326 <object type="template" name="sort_options" />
3327
3328 <object type="action">
3329 <touch key="home" />
3330 <action function="page">main</action>
3331 </object>
3332
3333 <object type="action">
3334 <touch key="back" />
3335 <action function="page">filemanageroptions</action>
3336 </object>
3337
3338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3341 <font resource="font" color="%button_text_color%" />
3342 <text>Select</text>
3343 <image resource="medium_button" />
3344 <actions>
3345 <action function="set">tw_fm_text2=to</action>
3346 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3347 <action function="set">tw_include_text3=1</action>
3348 <action function="set">tw_back=filemanageroptions</action>
3349 <action function="page">filemanagerconfirm</action>
3350 </actions>
3351 </object>
3352
3353 <object type="template" name="footer" />
3354 </page>
3355
3356 <page name="filemanagerrenamefile">
3357 <object type="template" name="header" />
3358
3359 <object type="text" color="%text_color%">
3360 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3361 <font resource="font" />
3362 <text>Please Enter a New %tw_fm_type% Name</text>
3363 </object>
3364
3365 <object type="input">
3366 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3367 <background color="%input_background_color%" />
3368 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3369 <font resource="font" color="%text_color%" />
3370 <text>%tw_filemanager_rename%</text>
3371 <data name="tw_filemanager_rename" />
3372 <restrict minlen="1" maxlen="128" />
3373 <actions>
3374 <action function="set">tw_fm_text2=to</action>
3375 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3376 <action function="set">tw_include_text3=1</action>
3377 <action function="set">tw_back=filemanageroptions</action>
3378 <action function="page">filemanagerconfirm</action>
3379 </actions>
3380 </object>
3381
3382 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003383 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003384 <placement x="%col_center_x%" y="%row2_y%" />
3385 <font resource="font" color="%button_text_color%" />
3386 <text>Cancel</text>
3387 <image resource="main_button" />
3388 <action function="page">filemanageroptions</action>
3389 </object>
3390
3391 <object type="template" name="keyboardtemplate" />
3392
3393 <object type="action">
3394 <touch key="home" />
3395 <action function="page">main</action>
3396 </object>
3397
3398 <object type="action">
3399 <touch key="back" />
3400 <action function="page">filemanageroptions</action>
3401 </object>
3402
3403 <object type="template" name="footer" />
3404 </page>
3405
3406 <page name="filemanagerrenamefolder">
3407 <object type="template" name="header" />
3408
3409 <object type="text" color="%text_color%">
3410 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3411 <font resource="font" />
3412 <text>Please Enter a New %tw_fm_type% Name</text>
3413 </object>
3414
3415 <object type="input">
3416 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3417 <background color="%input_background_color%" />
3418 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3419 <font resource="font" color="%text_color%" />
3420 <text>%tw_filemanager_rename%</text>
3421 <data name="tw_filemanager_rename" />
3422 <restrict minlen="1" maxlen="128" />
3423 <actions>
3424 <action function="set">tw_fm_text2=to</action>
3425 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3426 <action function="set">tw_include_text3=1</action>
3427 <action function="set">tw_back=filemanageroptions</action>
3428 <action function="page">filemanagerconfirm</action>
3429 </actions>
3430 </object>
3431
3432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003434 <placement x="%col_center_x%" y="%row2_y%" />
3435 <font resource="font" color="%button_text_color%" />
3436 <text>Cancel</text>
3437 <image resource="main_button" />
3438 <action function="page">filemanageroptions</action>
3439 </object>
3440
3441 <object type="template" name="keyboardtemplate" />
3442
3443 <object type="action">
3444 <touch key="home" />
3445 <action function="page">main</action>
3446 </object>
3447
3448 <object type="action">
3449 <touch key="back" />
3450 <action function="page">filemanageroptions</action>
3451 </object>
3452
3453 <object type="template" name="footer" />
3454 </page>
3455
3456 <page name="filemanagerchmod">
3457 <object type="template" name="header" />
3458
3459 <object type="text" color="%text_color%">
3460 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3461 <font resource="font" />
3462 <text>Please Enter New Permissions</text>
3463 </object>
3464
3465 <object type="input">
3466 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3467 <background color="%input_background_color%" />
3468 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3469 <font resource="font" color="%text_color%" />
3470 <text>%tw_filemanager_rename%</text>
3471 <data name="tw_filemanager_rename" />
3472 <restrict minlen="3" maxlen="4" allow="0123456789" />
3473 <actions>
3474 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3475 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3476 <action function="set">tw_back=filemanageroptions</action>
3477 <action function="page">filemanagerconfirm</action>
3478 </actions>
3479 </object>
3480
3481 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003482 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003483 <placement x="%col_center_x%" y="%row2_y%" />
3484 <font resource="font" color="%button_text_color%" />
3485 <text>Cancel</text>
3486 <image resource="main_button" />
3487 <action function="page">filemanageroptions</action>
3488 </object>
3489
3490 <object type="template" name="keyboardtemplate" />
3491
3492 <object type="action">
3493 <touch key="home" />
3494 <action function="page">main</action>
3495 </object>
3496
3497 <object type="action">
3498 <touch key="back" />
3499 <action function="page">filemanageroptions</action>
3500 </object>
3501
3502 <object type="template" name="footer" />
3503 </page>
3504
3505 <page name="filemanagerconfirm">
3506 <object type="template" name="header" />
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3511 <text>%tw_fm_text1%</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3517 <text>%tw_filename1%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3523 <text>%tw_fm_text2%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3529 <text>%tw_fm_text3%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3535 <text>Press back button to cancel.</text>
3536 </object>
3537
3538 <object type="slider">
3539 <placement x="%slider_x%" y="%slider_y%" />
3540 <resource base="slider" used="slider-used" touch="slider-touch" />
3541 <action function="page">filemanageracction</action>
3542 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003543
Dees_Troy51a0e822012-09-05 15:24:24 -04003544 <object type="text" color="%text_color%">
3545 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003546 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003547 <text>Swipe to Confirm</text>
3548 </object>
3549
3550 <object type="action">
3551 <touch key="back" />
3552 <action function="page">%tw_back%</action>
3553 </object>
3554
3555 <object type="action">
3556 <touch key="home" />
3557 <action function="page">main</action>
3558 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003559
Dees_Troy51a0e822012-09-05 15:24:24 -04003560 <object type="template" name="footer" />
3561 </page>
3562
3563 <page name="filemanageracction">
3564 <object type="template" name="header" />
3565
3566 <object type="text" color="%text_color%">
3567
3568 <font resource="font" />
3569 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3570 <text>%tw_fm_text1%</text>
3571 </object>
3572
3573 <object type="template" name="action_page_console" />
3574
3575 <object type="template" name="progress_bar" />
3576
3577 <object type="action">
3578 <conditions>
3579 <condition var1="tw_operation_state" var2="1" />
3580 <condition var1="tw_operation_status" var2="0" />
3581 </conditions>
3582 <actions>
3583 <action function="set">tw_back=filemanagerlist</action>
3584 <action function="set">tw_complete_text1=File Operation Complete</action>
3585 <action function="page">action_complete</action>
3586 </actions>
3587 </object>
3588
3589 <object type="action">
3590 <conditions>
3591 <condition var1="tw_operation_state" var2="1" />
3592 <condition var1="tw_operation_status" op="!=" var2="0" />
3593 </conditions>
3594 <actions>
3595 <action function="set">tw_complete_text1=File Operation Complete</action>
3596 <action function="page">action_complete</action>
3597 </actions>
3598 </object>
3599
3600 <object type="action">
3601 <condition var1="tw_include_text3" var2="0" />
3602 <actions>
3603 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3604 </actions>
3605 </object>
3606
3607 <object type="action">
3608 <condition var1="tw_include_text3" var2="1" />
3609 <actions>
3610 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3611 </actions>
3612 </object>
3613 </page>
3614
3615 <page name="decrypt">
3616 <object type="template" name="header" />
3617
3618 <object type="text" color="%text_color%">
3619 <font resource="font" />
3620 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3621 <text>Please Enter Your Password</text>
3622 </object>
3623
3624 <object type="input">
3625 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3626 <background color="%input_background_color%" />
3627 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3628 <font resource="font" color="%text_color%" />
3629 <text>%tw_crypto_display%</text>
3630 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3631 <restrict minlen="1" maxlen="254" />
3632 <actions>
3633 <action function="page">trydecrypt</action>
3634 </actions>
3635 </object>
3636
3637 <object type="text" color="%text_fail_color%">
3638 <condition var1="tw_password_fail" var2="1" />
3639 <font resource="font" />
3640 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3641 <text>Password Failed, Please Try Again</text>
3642 </object>
3643
3644 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003645 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003646 <placement x="%col_center_x%" y="%row2_y%" />
3647 <font resource="font" color="%button_text_color%" />
3648 <text>Cancel</text>
3649 <image resource="main_button" />
3650 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003651 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003652 <action function="page">main</action>
3653 </actions>
3654 </object>
3655
3656 <object type="template" name="keyboardtemplate" />
3657
Dees_Troy51a0e822012-09-05 15:24:24 -04003658 <object type="template" name="footer" />
3659 </page>
3660
3661 <page name="trydecrypt">
3662 <object type="template" name="header" />
3663
3664 <object type="text" color="%text_color%">
3665 <font resource="font" />
3666 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3667 <text>Trying Decryption with Your Password</text>
3668 </object>
3669
3670 <object type="template" name="action_page_console" />
3671
3672 <object type="template" name="progress_bar" />
3673
3674 <object type="action">
3675 <action function="decrypt"></action>
3676 </object>
3677
3678 <object type="action">
3679 <conditions>
3680 <condition var1="tw_operation_state" var2="1" />
3681 <condition var1="tw_operation_status" op="!=" var2="0" />
3682 </conditions>
3683 <actions>
3684 <action function="set">tw_password_fail=1</action>
3685 <action function="page">decrypt</action>
3686 </actions>
3687 </object>
3688
3689 <object type="action">
3690 <conditions>
3691 <condition var1="tw_operation_state" var2="1" />
3692 <condition var1="tw_operation_status" op="=" var2="0" />
3693 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003694 <actions>
3695 <action function="set">tw_page_done=1</action>
3696 <action function="page">main</action>
3697 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003698 </object>
3699 </page>
3700
3701 <page name="terminalfolder">
3702 <object type="template" name="header" />
3703
3704 <object type="text" color="%text_color%">
3705 <font resource="font" />
3706 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3707 <text>Browse to Starting Folder</text>
3708 </object>
3709
3710 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003711 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3713 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003714 <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 -04003715 <text>%tw_terminal_location%</text>
3716 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3717 <sort name="tw_gui_sort_order" />
3718 <icon folder="folder_icon" file="file_icon" />
3719 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003720 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003721 <filter folders="1" files="0" />
3722 <path name="tw_terminal_location" default="/" />
3723 <data name="tw_terminal" />
3724 <selection name="tw_terminal_selection" />
3725 </object>
3726
3727 <object type="template" name="sort_options" />
3728
3729 <object type="action">
3730 <touch key="home" />
3731 <action function="page">main</action>
3732 </object>
3733
3734 <object type="action">
3735 <touch key="back" />
3736 <action function="page">advanced</action>
3737 </object>
3738
3739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003741 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3742 <font resource="font" color="%button_text_color%" />
3743 <text>Select</text>
3744 <image resource="medium_button" />
3745 <actions>
3746 <action function="page">terminalcommand</action>
3747 </actions>
3748 </object>
3749
3750 <object type="template" name="footer" />
3751 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003752
Dees_Troy51a0e822012-09-05 15:24:24 -04003753 <page name="terminalcommand">
3754 <object type="template" name="header" />
3755
3756 <object type="console">
3757 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3758 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3759 <font resource="fixed" />
3760 </object>
3761
3762 <object type="text" color="%text_color%">
3763 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3764 <font resource="font" />
3765 <text>Starting Path: %tw_terminal_location%</text>
3766 </object>
3767
3768 <object type="input">
3769 <condition var1="tw_terminal_state" var2="0" />
3770 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3771 <background color="%input_background_color%" />
3772 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3773 <font resource="font" color="%text_color%" />
3774 <text>%tw_terminal_command%</text>
3775 <data name="tw_terminal_command" />
3776 <restrict minlen="1" />
3777 <action function="terminalcommand">%tw_terminal_command%</action>
3778 </object>
3779
3780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003781 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003782 <condition var1="tw_terminal_state" var2="1" />
3783 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3784 <font resource="font" color="%button_text_color%" />
3785 <text>KILL</text>
3786 <image resource="medium_button" />
3787 <action function="killterminal"></action>
3788 </object>
3789
3790 <object type="template" name="keyboardtemplate" />
3791
3792 <object type="action">
3793 <touch key="home" />
3794 <action function="page">main</action>
3795 </object>
3796
3797 <object type="action">
3798 <touch key="back" />
3799 <action function="page">terminalfolder</action>
3800 </object>
3801 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003802
3803 <page name="sideload">
3804 <object type="template" name="header" />
3805
3806 <object type="text" color="%text_color%">
3807 <font resource="font" />
3808 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3809 <text>ADB Sideload</text>
3810 </object>
3811
3812 <object type="checkbox">
3813 <placement x="%col1_x%" y="%row2_text_y%" />
3814 <font resource="font" color="%text_color%" />
3815 <text>Wipe Dalvik Cache.</text>
3816 <data variable="tw_wipe_dalvik" />
3817 <image checked="checkbox_true" unchecked="checkbox_false" />
3818 </object>
3819
3820 <object type="checkbox">
3821 <placement x="%col1_x%" y="%row3_text_y%" />
3822 <font resource="font" color="%text_color%" />
3823 <text>Wipe Cache.</text>
3824 <data variable="tw_wipe_cache" />
3825 <image checked="checkbox_true" unchecked="checkbox_false" />
3826 </object>
3827
3828 <object type="slider">
3829 <placement x="%slider_x%" y="%slider_y%" />
3830 <resource base="slider" used="slider-used" touch="slider-touch" />
3831 <actions>
3832 <action function="set">tw_back=advanced</action>
3833 <action function="set">tw_action=adbsideload</action>
3834 <action function="set">tw_action_text1=ADB Sideload</action>
3835 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3836 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3837 <action function="set">tw_has_cancel=1</action>
3838 <action function="set">tw_show_reboot=1</action>
3839 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3840 <action function="page">action_page</action>
3841 </actions>
3842 </object>
3843
3844 <object type="text" color="%text_color%">
3845 <font resource="font" />
3846 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3847 <text>Swipe to Start Sideload</text>
3848 </object>
3849
3850 <object type="action">
3851 <touch key="home" />
3852 <action function="page">main</action>
3853 </object>
3854
3855 <object type="action">
3856 <touch key="back" />
3857 <action function="page">advanced</action>
3858 </object>
3859
3860 <object type="template" name="footer" />
3861 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003862
3863 <page name="installsu">
3864 <object type="template" name="header" />
3865
3866 <object type="text" color="%text_color%">
3867 <font resource="font" />
3868 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3869 <text>Install SuperSU?</text>
3870 </object>
3871
3872 <object type="text" color="%text_color%">
3873 <font resource="font" />
3874 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3875 <text>Your device does not appear to be rooted.</text>
3876 </object>
3877
3878 <object type="text" color="%text_color%">
3879 <font resource="font" />
3880 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3881 <text>Install SuperSU now?</text>
3882 </object>
3883
3884 <object type="text" color="%text_color%">
3885 <font resource="font" />
3886 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3887 <text>This will root your device.</text>
3888 </object>
3889
3890 <object type="button">
3891 <highlight color="%highlight_color%" />
3892 <placement x="%col_center_x%" y="%row3_y%" />
3893 <font resource="font" color="%button_text_color%" />
3894 <text>Do Not Install</text>
3895 <image resource="main_button" />
3896 <action function="set">tw_page_done=1</action>
3897 </object>
3898
3899 <object type="slider">
3900 <placement x="%slider_x%" y="%slider_y%" />
3901 <resource base="slider" used="slider-used" touch="slider-touch" />
3902 <actions>
3903 <action function="set">tw_action=installsu</action>
3904 <action function="set">tw_action_text1=Installing SuperSU</action>
3905 <action function="set">tw_action_text2=</action>
3906 <action function="page">singleaction_page</action>
3907 </actions>
3908 </object>
3909
3910 <object type="text" color="%text_color%">
3911 <font resource="font" />
3912 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3913 <text>Swipe to Install</text>
3914 </object>
3915 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003916 </pages>
3917</recovery>