blob: 5b6fa02bb5d03bd6cc2d4dd4b4a623a657b423c7 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="320" height="480" />
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-16" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-14" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-14" />
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_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="8" />
47 <variable name="col2_x" value="162" />
48 <variable name="col_center_x" value="85" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="122" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="160" />
51 <variable name="row1_y" value="84" />
52 <variable name="row2_y" value="174" />
53 <variable name="row3_y" value="270" />
54 <variable name="row4_y" value="366" />
55 <variable name="row_queue_y" value="306" />
56 <variable name="row1_header_y" value="64" />
57 <variable name="row1_text_y" value="85" />
58 <variable name="row2_text_y" value="104" />
59 <variable name="row3_text_y" value="123" />
60 <variable name="row4_text_y" value="142" />
61 <variable name="row5_text_y" value="161" />
62 <variable name="row6_text_y" value="180" />
63 <variable name="row7_text_y" value="199" />
64 <variable name="row8_text_y" value="218" />
65 <variable name="row9_text_y" value="237" />
66 <variable name="row10_text_y" value="256" />
67 <variable name="row11_text_y" value="275" />
Dees_Troyb46a6842012-09-25 11:06:46 -040068 <variable name="row12_text_y" value="294" />
69 <variable name="row13_text_y" value="313" />
70 <variable name="row14_text_y" value="332" />
71 <variable name="row15_text_y" value="351" />
72 <variable name="row16_text_y" value="370" />
73 <variable name="row17_text_y" value="389" />
74 <variable name="row18_text_y" value="408" />
Dees_Troy51a0e822012-09-05 15:24:24 -040075 <variable name="zip_status_y" value="350" />
76 <variable name="tz_selected_y" value="66" />
77 <variable name="tz_set_y" value="348" />
78 <variable name="tz_current_y" value="438" />
79 <variable name="col_progressbar_x" value="32" />
80 <variable name="row_progressbar_y" value="432" />
81 <variable name="col1_medium_x" value="7" />
82 <variable name="col2_medium_x" value="83" />
83 <variable name="col3_medium_x" value="160" />
84 <variable name="col4_medium_x" value="237" />
85 <variable name="row1_medium_y" value="78" />
86 <variable name="row2_medium_y" value="123" />
87 <variable name="row3_medium_y" value="168" />
88 <variable name="row4_medium_y" value="213" />
89 <variable name="row5_medium_y" value="258" />
90 <variable name="row6_medium_y" value="303" />
91 <variable name="row7_medium_y" value="348" />
92 <variable name="slider_x" value="39" />
93 <variable name="slider_y" value="400" />
94 <variable name="slider_text_y" value="425" />
95 <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="7" />
102 <variable name="home_button_y" value="460" />
103 <variable name="back_button_x" value="275" />
104 <variable name="back_button_y" value="460" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400105 <variable name="sort_text_x" value="8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400106 <variable name="sort_asc_text_y" value="411" />
107 <variable name="sort_asc_button_y" value="411" />
108 <variable name="sort_desc_text_y" value="435" />
109 <variable name="sort_desc_button_y" value="435" />
110 <variable name="sort_col1_button_x" value="120" />
111 <variable name="sort_col2_button_x" value="160" />
112 <variable name="sort_col3_button_x" value="200" />
113 <variable name="input_width" value="307" />
114 <variable name="input_height" value="24" />
115 <variable name="input_background_color" value="#303030" />
116 <variable name="input_cursor_color" value="#33B5E5" />
117 <variable name="input_cursor_width" value="2" />
118 <variable name="console_x" value="0" />
119 <variable name="console_width" value="320" />
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="192" />
124 <variable name="console_install_height" value="264" />
125 <variable name="console_installdone_height" value="180" />
126 <variable name="fileselector_x" value="3" />
127 <variable name="fileselector_width" value="313" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500128 <variable name="fileselector_install_height" value="284" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400129 <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="2" />
133 <variable name="fileselector_separatorcolor" value="#505050" />
134 <variable name="fileselector_separatorheight" value="1" />
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="12" />
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="27" />
142 <variable name="fastscroll_linew" value="1" />
143 <variable name="fastscroll_rectw" value="18" />
144 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_x" value="3" />
146 <variable name="listbox_width" value="313" />
Dees_Troyeead9852013-02-15 14:31:06 -0600147 <variable name="listbox_tz_height" value="189" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="listbox_background" value="#303030" />
149 <variable name="listbox_spacing" value="12" />
150 <variable name="sd_plus_x" value="187" />
151 <variable name="sdext_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400152 <variable name="sdext_text_y" value="83" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="sdswap_button_y" value="111" />
154 <variable name="sdswap_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400155 <variable name="sdswap_text_y" value="110" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="sdfilesystem_text_y" value="144" />
157 <variable name="sdfilesystem_button_y" value="168" />
158 <variable name="lock_x" value="27" />
159 <variable name="lock_y" value="120" />
160 <variable name="filemanager_select_x" value="243" />
161 <variable name="filemanager_select_y" value="414" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400162 <variable name="terminal_console_height" value="220" />
163 <variable name="terminal_text_y" value="225" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400164 <variable name="terminal_button_y" value="220" />
165 <variable name="row_dst_text_y" value="256" />
166 <variable name="row_offset_text_y" value="275" />
167 <variable name="row_offset_medium_y" value="303" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500168 <variable name="button_fill_color" value="#303030" />
169 <variable name="button_fill_full_width" value="304" />
170 <variable name="button_fill_main_width" value="150" />
171 <variable name="button_fill_main_height" value="81" />
172 <variable name="button_fill_half_height" value="40" />
173 <variable name="button_fill_quarter_height" value="24" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000174 <variable name="backup_list_height" value="193" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500175 <variable name="backup_button_row1" value="300" />
176 <variable name="backup_button_row2" value="326" />
177 <variable name="mount_list_height" value="270" />
178 <variable name="mount_storage_row" value="340" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000179 <variable name="storage_list_height" value="290" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="wipe_list_height" value="330" />
181 <variable name="wipe_button_y" value="270" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200182 <variable name="slidervalue_w" value="304" />
183 <variable name="slidervalue_line_clr" value="#FFFFFF" />
184 <variable name="slidervalue_slider_clr" value="#33B5E5" />
185 <variable name="slidervalue_lineh" value="1" />
186 <variable name="slidervalue_padding" value="8" />
187 <variable name="slidervalue_sliderw" value="4" />
188 <variable name="slidervalue_sliderh" value="20" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400189 </variables>
190
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100191 <mousecursor>
192 <placement w="15" h="15" />
193 <background color="#FFFF00FF" resource="cursor" />
194 <speed multiplier="1" />
195 </mousecursor>
196
Dees_Troy51a0e822012-09-05 15:24:24 -0400197 <templates>
198 <template name="header">
Dees_Troyb46a6842012-09-25 11:06:46 -0400199 <background color="#000000FF" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400200
201 <object type="image">
202 <image resource="top_bar" />
203 <placement x="0" y="0" />
204 </object>
205
206 <object type="text" color="%text_color%">
207 <font resource="font" />
208 <placement x="65" y="3" />
209 <text>TeamWin Recovery v%tw_version%</text>
210 </object>
211
212 <object type="text" color="%text_color%">
213 <condition var1="tw_simulate_actions" var2="1" />
214 <font resource="font" />
215 <placement x="65" y="21" />
216 <text>SIMULATING ACTIONS</text>
217 </object>
218
219 <object type="text" color="%text_color%">
220 <font resource="font" />
221 <placement x="65" y="39" />
222 <text>%tw_time%</text>
223 </object>
224
225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="165" y="39" />
228 <conditions>
229 <condition var1="tw_no_battery_percent" var2="0" />
230 <condition var1="tw_battery" op=">" var2="0" />
231 <condition var1="tw_battery" op="<" var2="101" />
232 </conditions>
233 <text>Battery: %tw_battery%</text>
234 </object>
235
236 <object type="button">
237 <placement x="%home_button_x%" y="%home_button_y%" />
238 <font resource="font" color="%button_text_color%" />
239 <text></text>
240 <image resource="home_icon" />
241 <condition var1="tw_busy" var2="0" />
242 <action function="key">home</action>
243 </object>
244
245 <object type="button">
246 <placement x="%back_button_x%" y="%back_button_y%" />
247 <font resource="font" color="%button_text_color%" />
248 <text></text>
249 <image resource="back_icon" />
250 <condition var1="tw_busy" var2="0" />
251 <action function="key">back</action>
252 </object>
253
254 <object type="action">
255 <touch key="power" />
256 <action function="overlay">lock</action>
257 </object>
258 </template>
259
260 <template name="progress_bar">
261 <object type="progressbar">
262 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
263 <resource empty="progress_empty" full="progress_full" />
264 <data name="ui_progress" />
265 </object>
266
267 <object type="animation">
268 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
269 <resource name="progress" />
270 <speed fps="15" render="2" />
271 <loop frame="1" />
272 </object>
273 </template>
274
275 <template name="action_page_console">
276 <object type="console">
277 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
278 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
279 <font resource="fixed" />
280 </object>
281 </template>
282
283 <template name="sort_options">
284 <object type="text" color="%text_color%">
285 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400286 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400287 <text>Sort Ascending:</text>
288 </object>
289
290 <object type="button">
291 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400292 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400293 <text>Name</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=1</action>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400300 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <text>Date</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=2</action>
304 </object>
305
306 <object type="button">
307 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400308 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400309 <text>Size</text>
310 <image resource="sort_button" />
311 <action function="set">tw_gui_sort_order=3</action>
312 </object>
313
314 <object type="text" color="%text_color%">
315 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400316 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400317 <text>Sort Descending:</text>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400322 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400323 <text>Name</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-1</action>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400330 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400331 <text>Date</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-2</action>
334 </object>
335
336 <object type="button">
337 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400338 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400339 <text>Size</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=-3</action>
342 </object>
343 </template>
344
345 <template name="footer">
346 <object type="console">
347 <slideout resource="slideout" x="140" y="456" />
348 <placement x="%console_x%" y="0" w="%console_width%" h="456" />
349 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
350 <font resource="fixed" />
351 </object>
352 </template>
353
354 <template name="keyboardtemplate">
355 <object type="keyboard">
356 <placement x="0" y="253" />
357 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600358 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600359 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400360 <layout1>
361 <keysize height="52" width="32" />
362 <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" />
363 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
364 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
365 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:a:action" />
366 </layout1>
367 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600368 <keysize height="52" width="32" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400369 <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" />
370 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
371 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
372 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:action" />
373 </layout2>
374 <layout3>
375 <keysize height="52" width="32" />
376 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
377 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
378 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
379 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
380 </layout3>
381 <layout4>
382 <keysize height="52" width="32" />
383 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
384 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
385 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" />
386 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
387 </layout4>
388 </object>
389 </template>
390 </templates>
391
392 <pages>
393 <page name="main">
394 <object type="action">
395 <actions>
396 <action function="set">tw_clear_destination=main2</action>
397 <action function="page">clear_vars</action>
398 </actions>
399 </object>
400 </page>
401
402 <page name="main2">
403 <object type="template" name="header" />
404
405 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600406 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400407 <placement x="%col1_x%" y="%row1_y%" />
408 <font resource="font" color="%button_text_color%" />
409 <text>Install</text>
410 <image resource="main_button" />
411 <actions>
412 <action function="queueclear"></action>
413 <action function="page">install</action>
414 </actions>
415 </object>
416
417 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600418 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400419 <placement x="%col2_x%" y="%row1_y%" />
420 <font resource="font" color="%button_text_color%" />
421 <text>Wipe</text>
422 <image resource="main_button" />
423 <action function="page">wipe</action>
424 </object>
425
426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400428 <placement x="%col1_x%" y="%row2_y%" />
429 <font resource="font" color="%button_text_color%" />
430 <text>Backup</text>
431 <image resource="main_button" />
432 <action function="page">backup</action>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col2_x%" y="%row2_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Restore</text>
440 <image resource="main_button" />
441 <action function="page">restore</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col1_x%" y="%row3_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Mount</text>
449 <image resource="main_button" />
450 <action function="page">mount</action>
451 </object>
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col2_x%" y="%row3_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Settings</text>
458 <image resource="main_button" />
459 <action function="page">settings</action>
460 </object>
461
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col1_x%" y="%row4_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Advanced</text>
468 <image resource="main_button" />
469 <action function="page">advanced</action>
470 </object>
471
472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600473 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <placement x="%col2_x%" y="%row4_y%" />
475 <font resource="font" color="%button_text_color%" />
476 <text>Reboot</text>
477 <image resource="main_button" />
478 <action function="page">reboot</action>
479 </object>
480
481 <object type="template" name="footer" />
482 </page>
483
484 <page name="install">
485 <object type="template" name="header" />
486
487 <object type="text" color="%text_color%">
488 <font resource="font" />
489 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
490 <text>Select Zip to Install</text>
491 </object>
492
493 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500494 <highlight color="%highlight_color%" />
495 <fill color="%button_fill_color%" />
496 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
497 <font resource="font" color="%button_text_color%" />
498 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
499 <actions>
500 <action function="set">tw_back=install</action>
501 <action function="page">selectstorage</action>
502 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400503 </object>
504
505 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600506 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500507 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400508 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100509 <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 -0400510 <text>%tw_zip_location%</text>
511 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
512 <sort name="tw_gui_sort_order" />
513 <icon folder="folder_icon" file="file_icon" />
514 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600515 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400516 <filter extn=".zip" folders="1" files="1" />
517 <path name="tw_zip_location" default="/sdcard" />
518 <data name="tw_filename" />
519 <selection name="tw_file" />
520 </object>
521
522 <object type="template" name="sort_options" />
523
524 <object type="action">
525 <condition var1="tw_filename" op="modified" />
526 <actions>
527 <action function="queuezip"></action>
528 <action function="page">flash_confirm</action>
529 </actions>
530 </object>
531
532 <object type="action">
533 <touch key="back" />
534 <action function="page">main</action>
535 </object>
536
537 <object type="action">
538 <touch key="home" />
539 <action function="page">main</action>
540 </object>
541
542 <object type="template" name="footer" />
543 </page>
544
545 <page name="flash_confirm">
546 <object type="template" name="header" />
547
548 <object type="text" color="%text_color%">
549 <font resource="font" />
550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
551 <text>This operation may install incompatible</text>
552 </object>
553
554 <object type="text" color="%text_color%">
555 <font resource="font" />
556 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
557 <text>software and render your device unusable.</text>
558 </object>
559
560 <object type="text" color="%text_color%">
561 <font resource="font" />
562 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
563 <text>Folder:</text>
564 </object>
565
566 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400567 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
569 <text>%tw_zip_location%</text>
570 </object>
571
572 <object type="text" color="%text_color%">
573 <font resource="font" />
574 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
575 <text>File to flash:</text>
576 </object>
577
578 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400579 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400580 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
581 <text>%tw_file%</text>
582 </object>
583
584 <object type="text" color="%text_color%">
585 <font resource="font" />
586 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
587 <text>Press back to cancel adding this zip.</text>
588 </object>
589
590 <object type="checkbox">
591 <placement x="%col1_x%" y="%row8_text_y%" />
592 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400593 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <data variable="tw_signed_zip_verify" />
595 <image checked="checkbox_true" unchecked="checkbox_false" />
596 </object>
597
598 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400599 <condition var1="tw_has_injecttwrp" var2="1" />
600 <placement x="%col1_x%" y="%row10_text_y%" />
601 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400602 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400603 <data variable="tw_inject_after_zip" />
604 <image checked="checkbox_true" unchecked="checkbox_false" />
605 </object>
606
607 <object type="text" color="%text_color%">
608 <font resource="font" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400609 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400610 <text>File %tw_zip_queue_count% of max of 10</text>
611 </object>
612
613 <object type="slider">
614 <placement x="%slider_x%" y="%slider_y%" placement="5" />
615 <resource base="slider" used="slider-used" touch="slider-touch" />
616 <action function="flash">flash_zip</action>
617 </object>
618
619 <object type="text" color="%text_color%">
620 <font resource="font" />
621 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
622 <text>Swipe to Confirm Flash</text>
623 </object>
624
625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
628 <placement x="%col1_x%" y="%row_queue_y%" />
629 <font resource="font" color="%button_text_color%" />
630 <text>Add More Zips</text>
631 <image resource="main_button" />
632 <action function="page">install</action>
633 </object>
634
635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400637 <placement x="%col2_x%" y="%row_queue_y%" />
638 <font resource="font" color="%button_text_color%" />
639 <text>Clear Zip Queue</text>
640 <image resource="main_button" />
641 <actions>
642 <action function="queueclear"></action>
643 <action function="page">install</action>
644 </actions>
645 </object>
646
647 <object type="action">
648 <touch key="back" />
649 <actions>
650 <action function="cancelzip"></action>
651 <action function="page">install</action>
652 </actions>
653 </object>
654
655 <object type="action">
656 <touch key="home" />
657 <action function="page">main</action>
658 </object>
659
660 <object type="template" name="footer" />
661 </page>
662
663 <page name="flash_zip">
664 <object type="template" name="header" />
665
666 <object type="console">
667 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
668 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
669 <font resource="fixed" />
670 </object>
671
672 <object type="text" color="%text_color%">
673 <font resource="font" />
674 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
675 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
676 </object>
677
678 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400679 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400680 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
681 <text>%tw_filename%</text>
682 </object>
683
684 <object type="template" name="progress_bar" />
685
686 <object type="action">
687 <condition var1="tw_operation_state" var2="1" />
688 <action function="page">flash_done</action>
689 </object>
690 </page>
691
692 <page name="flash_done">
693 <object type="template" name="header" />
694
695 <object type="text" color="%text_color%">
696 <font resource="font" />
697 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
698 <text>Zip Install Complete</text>
699 </object>
700
701 <object type="console">
702 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
703 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
704 <font resource="fixed" />
705 </object>
706
707 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600708 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400709 <placement x="%col1_x%" y="%row4_y%" />
710 <font resource="font" color="%button_text_color%" />
711 <text>Wipe cache/dalvik</text>
712 <image resource="main_button" />
713 <actions>
714 <action function="set">tw_back=flash_done</action>
715 <action function="set">tw_action=wipe</action>
716 <action function="set">tw_action_param=/cache</action>
717 <action function="set">tw_has_action2=1</action>
718 <action function="set">tw_action2=wipe</action>
719 <action function="set">tw_action2_param=dalvik</action>
720 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
721 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
722 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
723 <action function="set">tw_slider_text=Swipe to Wipe</action>
724 <action function="page">confirm_action</action>
725 </actions>
726 </object>
727
728 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600729 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400730 <placement x="%col2_x%" y="%row4_y%" />
731 <font resource="font" color="%button_text_color%" />
732 <text>Reboot System</text>
733 <image resource="main_button" />
734 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400735 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <action function="set">tw_action=reboot</action>
737 <action function="set">tw_action_param=system</action>
738 <action function="set">tw_has_action2=0</action>
739 <action function="set">tw_text1=No OS Installed! Are you</action>
740 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400741 <action function="set">tw_text3=</action>
742 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400743 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <action function="set">tw_complete_text1=Rebooting...</action>
746 <action function="set">tw_slider_text=Swipe to Reboot</action>
747 <action function="page">rebootcheck</action>
748 </actions>
749 </object>
750
751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <placement x="%col_center_x%" y="%row3_y%" />
754 <font resource="font" color="%button_text_color%" />
755 <text>Home</text>
756 <image resource="main_button" />
757 <actions>
758 <action function="set">tw_clear_destination=main2</action>
759 <action function="page">clear_vars</action>
760 </actions>
761 </object>
762
763 <object type="text" color="%text_fail_color%">
764 <condition var1="tw_operation_status" op="!=" var2="0" />
765 <font resource="font" />
766 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
767 <text>Failed</text>
768 </object>
769
770 <object type="text" color="%text_success_color%">
771 <condition var1="tw_operation_status" var2="0" />
772 <font resource="font" />
773 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
774 <text>Successful</text>
775 </object>
776
777 <object type="action">
778 <touch key="back" />
779 <actions>
780 <action function="set">tw_clear_destination=install</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </object>
784
785 <object type="action">
786 <touch key="home" />
787 <actions>
788 <action function="set">tw_clear_destination=main2</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </object>
792 </page>
793
794 <page name="clear_vars">
795 <object type="action">
796 <action function="set">tw_operation_state=0</action>
797 <action function="set">tw_text1=</action>
798 <action function="set">tw_text2=</action>
799 <action function="set">tw_text3=</action>
800 <action function="set">tw_text4=</action>
801 <action function="set">tw_action_text1=</action>
802 <action function="set">tw_action_text2=</action>
803 <action function="set">tw_action_param=</action>
804 <action function="set">tw_has_action2=0</action>
805 <action function="set">tw_action2=</action>
806 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400807 <action function="set">tw_has_cancel=0</action>
808 <action function="set">tw_cancel_action=</action>
809 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400810 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400811 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400812 <action function="page">%tw_clear_destination%</action>
813 </object>
814 </page>
815
816 <page name="confirm_action">
817 <object type="template" name="header" />
818
819 <object type="text" color="%text_color%">
820 <font resource="font" />
821 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
822 <text>%tw_text1%</text>
823 </object>
824
825 <object type="text" color="%text_color%">
826 <font resource="font" />
827 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
828 <text>%tw_text2%</text>
829 </object>
830
831 <object type="text" color="%text_color%">
832 <font resource="font" />
833 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
834 <text>%tw_text3%</text>
835 </object>
836
837 <object type="text" color="%text_color%">
838 <font resource="font" />
839 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
840 <text>%tw_text4%</text>
841 </object>
842
843 <object type="text" color="%text_color%">
844 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400845 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400846 <text>Press back button to cancel.</text>
847 </object>
848
849 <object type="slider">
850 <placement x="%slider_x%" y="%slider_y%" />
851 <resource base="slider" used="slider-used" touch="slider-touch" />
852 <action function="page">action_page</action>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
858 <text>%tw_slider_text%</text>
859 </object>
860
861 <object type="action">
862 <touch key="back" />
863 <actions>
864 <action function="set">tw_clear_destination=%tw_back%</action>
865 <action function="page">clear_vars</action>
866 </actions>
867 </object>
868
869 <object type="action">
870 <touch key="home" />
871 <action function="page">main</action>
872 </object>
873
874 <object type="template" name="footer" />
875 </page>
876
877 <page name="action_page">
878 <object type="template" name="header" />
879
880 <object type="text" color="%text_color%">
881 <font resource="font" />
882 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
883 <text>%tw_action_text1%</text>
884 </object>
885
886 <object type="text" color="%text_color%">
887 <font resource="font" />
888 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
889 <text>%tw_action_text2%</text>
890 </object>
891
892 <object type="template" name="action_page_console" />
893
Dees_Troybbb21012012-09-20 15:59:46 -0400894 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600895 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400896 <condition var1="tw_has_cancel" var2="1" />
897 <placement x="%col_center_medium_x%" y="%row4_y%" />
898 <font resource="font" color="%button_text_color%" />
899 <text>Cancel</text>
900 <image resource="medium_button" />
901 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
902 </object>
903
Dees_Troy51a0e822012-09-05 15:24:24 -0400904 <object type="template" name="progress_bar" />
905
906 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400907 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400908 <actions>
909 <action function="page">action_complete</action>
910 </actions>
911 </object>
912
913 <object type="action">
914 <condition var1="tw_has_action2" var2="0" />
915 <actions>
916 <action function="%tw_action%">%tw_action_param%</action>
917 </actions>
918 </object>
919
920 <object type="action">
921 <condition var1="tw_has_action2" var2="1" />
922 <actions>
923 <action function="%tw_action%">%tw_action_param%</action>
924 <action function="%tw_action2%">%tw_action2_param%</action>
925 </actions>
926 </object>
927 </page>
928
Dees_Troy6ef66352013-02-21 08:26:57 -0600929 <page name="singleaction_page">
930 <object type="template" name="header" />
931
932 <object type="text" color="%text_color%">
933 <font resource="font" />
934 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
935 <text>%tw_action_text1%</text>
936 </object>
937
938 <object type="text" color="%text_color%">
939 <font resource="font" />
940 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
941 <text>%tw_action_text2%</text>
942 </object>
943
944 <object type="template" name="action_page_console" />
945
946 <object type="template" name="progress_bar" />
947
948 <object type="action">
949 <condition var1="tw_operation_state" var2="1" />
950 <actions>
951 <action function="set">tw_page_done=1</action>
952 </actions>
953 </object>
954
955 <object type="action">
956 <condition var1="tw_has_action2" var2="0" />
957 <actions>
958 <action function="%tw_action%">%tw_action_param%</action>
959 </actions>
960 </object>
961
962 <object type="action">
963 <condition var1="tw_has_action2" var2="1" />
964 <actions>
965 <action function="%tw_action%">%tw_action_param%</action>
966 <action function="%tw_action2%">%tw_action2_param%</action>
967 </actions>
968 </object>
969 </page>
970
Dees_Troy51a0e822012-09-05 15:24:24 -0400971 <page name="action_complete">
972 <object type="template" name="header" />
973
974 <object type="text" color="%text_color%">
975 <font resource="font" />
976 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
977 <text>%tw_complete_text1%</text>
978 </object>
979
980 <object type="text" color="%text_fail_color%">
981 <condition var1="tw_operation_status" op="!=" var2="0" />
982 <font resource="font" />
983 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
984 <text>Failed</text>
985 </object>
986
987 <object type="text" color="%text_success_color%">
988 <condition var1="tw_operation_status" var2="0" />
989 <font resource="font" />
990 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
991 <text>Successful</text>
992 </object>
993
994 <object type="template" name="action_page_console" />
995
996 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600997 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400998 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400999 <placement x="%col_center_x%" y="%row4_y%" />
1000 <font resource="font" color="%button_text_color%" />
1001 <text>Back</text>
1002 <image resource="main_button" />
1003 <actions>
1004 <action function="set">tw_clear_destination=%tw_back%</action>
1005 <action function="page">clear_vars</action>
1006 </actions>
1007 </object>
1008
Dees_Troya3f81542012-10-08 10:58:53 -04001009 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001010 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001011 <condition var1="tw_show_reboot" var2="1" />
1012 <placement x="%col_center_x%" y="%row4_y%" />
1013 <font resource="font" color="%button_text_color%" />
1014 <text>Reboot System</text>
1015 <image resource="main_button" />
1016 <actions>
1017 <action function="set">tw_back=main2</action>
1018 <action function="set">tw_action=reboot</action>
1019 <action function="set">tw_action_param=system</action>
1020 <action function="set">tw_has_action2=0</action>
1021 <action function="set">tw_text1=No OS Installed! Are you</action>
1022 <action function="set">tw_text2=sure you wish to reboot?</action>
1023 <action function="set">tw_text3=</action>
1024 <action function="set">tw_text4=</action>
1025 <action function="set">tw_action_text1=Rebooting...</action>
1026 <action function="set">tw_action_text2=</action>
1027 <action function="set">tw_complete_text1=Rebooting...</action>
1028 <action function="set">tw_slider_text=Swipe to Reboot</action>
1029 <action function="page">rebootcheck</action>
1030 </actions>
1031 </object>
1032
Dees_Troy51a0e822012-09-05 15:24:24 -04001033 <object type="action">
1034 <touch key="home" />
1035 <actions>
1036 <action function="set">tw_clear_destination=main2</action>
1037 <action function="page">clear_vars</action>
1038 </actions>
1039 </object>
1040
1041 <object type="action">
1042 <touch key="back" />
1043 <actions>
1044 <action function="set">tw_clear_destination=%tw_back%</action>
1045 <action function="page">clear_vars</action>
1046 </actions>
1047 </object>
1048 </page>
1049
1050 <page name="filecheck">
1051 <object type="action">
1052 <action function="fileexists">%tw_filecheck%</action>
1053 </object>
1054
1055 <object type="action">
1056 <conditions>
1057 <condition var1="tw_operation_state" var2="1" />
1058 <condition var1="tw_operation_status" var2="0" />
1059 </conditions>
1060 <actions>
1061 <action function="set">tw_fileexists=1</action>
1062 <action function="page">%tw_existpage%</action>
1063 </actions>
1064 </object>
1065
1066 <object type="action">
1067 <conditions>
1068 <condition var1="tw_operation_state" var2="1" />
1069 <condition var1="tw_operation_status" var2="1" />
1070 </conditions>
1071 <actions>
1072 <action function="set">tw_fileexists=0</action>
1073 <action function="page">%tw_notexistpage%</action>
1074 </actions>
1075 </object>
1076 </page>
1077
1078 <page name="rebootcheck">
1079 <object type="action">
1080 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1081 <action function="reboot">%tw_action_param%</action>
1082 </object>
1083
1084 <object type="action">
1085 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1086 <action function="page">confirm_action</action>
1087 </object>
1088 </page>
1089
1090 <page name="wipe">
1091 <object type="template" name="header" />
1092
1093 <object type="text" color="%text_color%">
1094 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001095 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001096 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001097 </object>
1098
1099 <object type="text" color="%text_color%">
1100 <font resource="font" />
1101 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1102 <text>Wipes Data, Cache, and Dalvik</text>
1103 </object>
1104
1105 <object type="text" color="%text_color%">
1106 <condition var1="tw_has_data_media" var2="0" />
1107 <font resource="font" />
1108 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1109 <text>.android_secure</text>
1110 </object>
1111
1112 <object type="text" color="%text_color%">
1113 <condition var1="tw_has_data_media" var2="1" />
1114 <font resource="font" />
1115 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1116 <text>(not including internal storage)</text>
1117 </object>
1118
1119 <object type="text" color="%text_color%">
1120 <condition var1="tw_has_sdext_partition" var2="1" />
1121 <font resource="font" />
1122 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1123 <text>SD-EXT</text>
1124 </object>
1125
1126 <object type="text" color="%text_color%">
1127 <font resource="font" />
1128 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1129 <text>Most of the time this is</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <font resource="font" />
1134 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1135 <text>the only wipe that you need.</text>
1136 </object>
1137
1138 <object type="text" color="%text_color%">
1139 <font resource="font" />
1140 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1141 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 </object>
1143
1144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001145 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001146 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001147 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001150 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 </object>
1152
1153 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 <conditions>
1155 <condition var1="tw_has_internal" var2="1" />
1156 <condition var1="tw_has_data_media" var2="1" />
1157 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <highlight color="%highlight_color%" />
1159 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 <font resource="font" color="%button_text_color%" />
1161 <text>Format Data</text>
1162 <image resource="main_button" />
1163 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001164 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 </actions>
1166 </object>
1167
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <object type="slider">
1169 <placement x="%slider_x%" y="%slider_y%" />
1170 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001171 <actions>
1172 <action function="set">tw_back=wipe</action>
1173 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001174 <action function="set">tw_action_param=data</action>
1175 <action function="set">tw_action_text1=Factory Reset...</action>
1176 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1177 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001178 </actions>
1179 </object>
1180
Dees_Troya13d74f2013-03-24 08:54:55 -05001181 <object type="text" color="%text_color%">
1182 <font resource="font" />
1183 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1184 <text>Swipe to Factory Reset</text>
1185 </object>
1186
1187 <object type="action">
1188 <touch key="back" />
1189 <action function="page">main</action>
1190 </object>
1191
1192 <object type="action">
1193 <touch key="home" />
1194 <action function="page">main</action>
1195 </object>
1196
1197 <object type="template" name="footer" />
1198 </page>
1199
1200 <page name="advancedwipe">
1201 <object type="template" name="header" />
1202
1203 <object type="text" color="%text_color%">
1204 <font resource="font" />
1205 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1206 <text>Wipe Menu</text>
1207 </object>
1208
1209 <object type="partitionlist">
1210 <highlight color="%fileselector_highlight_color%" />
1211 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1212 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1213 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1214 <text>Select Partitions to Wipe:</text>
1215 <icon selected="checkbox_true" unselected="checkbox_false" />
1216 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1217 <background color="%listbox_background%" />
1218 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1219 <data name="tw_wipe_list" />
1220 <listtype name="wipe" />
1221 </object>
1222
1223 <object type="slider">
1224 <placement x="%slider_x%" y="%slider_y%" />
1225 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001228 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001229 <action function="set">tw_action_param=LIST</action>
1230 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1231 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1232 <action function="set">tw_complete_text1=Wipe Complete</action>
1233 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 </actions>
1235 </object>
1236
Dees_Troya13d74f2013-03-24 08:54:55 -05001237 <object type="text" color="%text_color%">
1238 <font resource="font" />
1239 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1240 <text>Swipe to Wipe</text>
1241 </object>
1242
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 <object type="action">
1244 <touch key="home" />
1245 <action function="page">main</action>
1246 </object>
1247
1248 <object type="action">
1249 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001250 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001251 </object>
1252
1253 <object type="template" name="footer" />
1254 </page>
1255
Dees_Troya13d74f2013-03-24 08:54:55 -05001256 <page name="formatdata">
1257 <object type="template" name="header" />
1258
1259 <object type="text" color="%text_color%">
1260 <font resource="font" />
1261 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1262 <text>Format Data will wipe all of your apps,</text>
1263 </object>
1264
1265 <object type="text" color="%text_color%">
1266 <font resource="font" />
1267 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1268 <text>backups, pictures, videos, media, and</text>
1269 </object>
1270
1271 <object type="text" color="%text_color%">
1272 <font resource="font" />
1273 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1274 <text>removes encryption on internal storage.</text>
1275 </object>
1276
1277 <object type="text" color="%text_color%">
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1280 <text>This cannot be undone. Press back to cancel.</text>
1281 </object>
1282
1283 <object type="text" color="%text_color%">
1284 <font resource="font" />
1285 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1286 <text>Type yes to continue.</text>
1287 </object>
1288
1289 <object type="input">
1290 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1291 <background color="%input_background_color%" />
1292 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1293 <font resource="font" color="%text_color%" />
1294 <text>%tw_confirm_formatdata%</text>
1295 <data name="tw_confirm_formatdata" />
1296 <restrict minlen="3" maxlen="3" allow="yes" />
1297 <action function="page">formatdata_confirm</action>
1298 </object>
1299
1300 <object type="template" name="keyboardtemplate" />
1301
1302 <object type="action">
1303 <touch key="home" />
1304 <action function="page">main</action>
1305 </object>
1306
1307 <object type="action">
1308 <touch key="back" />
1309 <action function="page">wipe</action>
1310 </object>
1311
1312 <object type="template" name="footer" />
1313 </page>
1314
1315 <page name="formatdata_confirm">
1316 <object type="action">
1317 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1318 <actions>
1319 <action function="set">tw_back=formatdata</action>
1320 <action function="set">tw_action=wipe</action>
1321 <action function="set">tw_action_param=DATAMEDIA</action>
1322 <action function="set">tw_action_text1=Formatting Data...</action>
1323 <action function="set">tw_complete_text1=Data Format Complete</action>
1324 <action function="page">action_page</action>
1325 </actions>
1326 </object>
1327
1328 <object type="action">
1329 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1330 <action function="page">formatdata</function>
1331 </object>
1332 </page>
1333
Dees_Troy51a0e822012-09-05 15:24:24 -04001334 <page name="backup">
1335 <object type="template" name="header" />
1336
Dees_Troy83bd4832013-05-04 12:39:56 +00001337 <object type="button">
1338 <highlight color="%highlight_color%" />
1339 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001340 <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 +00001341 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001342 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001343 <actions>
1344 <action function="set">tw_fileexists=0</action>
1345 <action function="page">backupname1</action>
1346 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001347 </object>
1348
Dees_Troya13d74f2013-03-24 08:54:55 -05001349 <object type="partitionlist">
1350 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001351 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001352 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1353 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1354 <text>Select Partitions to Back Up:</text>
1355 <icon selected="checkbox_true" unselected="checkbox_false" />
1356 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1357 <background color="%listbox_background%" />
1358 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1359 <data name="tw_backup_list" />
1360 <listtype name="backup" />
1361 </object>
1362
1363 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001364 <conditions>
1365 <condition var1="tw_include_encrypted_backup" var2="1" />
1366 <condition var1="tw_encrypt_backup" var2="0" />
1367 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001368 <highlight color="%highlight_color%" />
1369 <fill color="%button_fill_color%" />
1370 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1371 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001372 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001373 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001374 <action function="page">backupencryption</action>
1375 </actions>
1376 </object>
1377
1378 <object type="button">
1379 <conditions>
1380 <condition var1="tw_include_encrypted_backup" var2="1" />
1381 <condition var1="tw_encrypt_backup" var2="1" />
1382 </conditions>
1383 <highlight color="%highlight_color%" />
1384 <fill color="%button_fill_color%" />
1385 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1386 <font resource="font" color="%button_text_color%" />
1387 <text>Using Encryption</text>
1388 <actions>
1389 <action function="set">tw_password_not_match=0</action>
1390 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001391 </actions>
1392 </object>
1393
1394 <object type="button">
1395 <highlight color="%highlight_color%" />
1396 <fill color="%button_fill_color%" />
1397 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1398 <font resource="font" color="%button_text_color%" />
1399 <text>Refresh Sizes</text>
1400 <action function="refreshsizes"></action>
1401 </object>
1402
1403 <object type="button">
1404 <highlight color="%highlight_color%" />
1405 <fill color="%button_fill_color%" />
1406 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1407 <font resource="font" color="%button_text_color%" />
1408 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1409 <actions>
1410 <action function="set">tw_back=backup</action>
1411 <action function="page">selectstorage</action>
1412 </actions>
1413 </object>
1414
1415 <object type="checkbox">
1416 <placement x="%col1_x%" y="%row15_text_y%" />
1417 <font resource="font" color="%text_color%" />
1418 <text>Enable compression.</text>
1419 <data variable="tw_use_compression" />
1420 <image checked="checkbox_true" unchecked="checkbox_false" />
1421 </object>
1422
1423 <object type="checkbox">
1424 <placement x="%col1_x%" y="%row16_text_y%" />
1425 <font resource="font" color="%text_color%" />
1426 <text>Skip MD5 generation during backup.</text>
1427 <data variable="tw_skip_md5_generate" />
1428 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 </object>
1430
1431 <object type="slider">
1432 <placement x="%slider_x%" y="slider_y" />
1433 <resource base="slider" used="slider-used" touch="slider-touch" />
1434 <action function="page">backup_run</action>
1435 </object>
1436
1437 <object type="text" color="%text_color%">
1438 <font resource="font" />
1439 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1440 <text>Swipe to Back Up</text>
1441 </object>
1442
Dees_Troy51a0e822012-09-05 15:24:24 -04001443 <object type="action">
1444 <touch key="home" />
1445 <action function="page">main</action>
1446 </object>
1447
1448 <object type="action">
1449 <touch key="back" />
1450 <action function="page">main</action>
1451 </object>
1452
1453 <object type="template" name="footer" />
1454 </page>
1455
1456 <page name="backupname1">
1457 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001458 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1459 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 </object>
1461
1462 <object type="action">
1463 <action function="page">backupname2</function>
1464 </object>
1465 </page>
1466
1467 <page name="backupname2">
1468 <object type="template" name="header" />
1469
1470 <object type="text" color="%text_color%">
1471 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1472 <font resource="font" />
1473 <text>Please Enter a Backup Name</text>
1474 </object>
1475
1476 <object type="input">
1477 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1478 <background color="%input_background_color%" />
1479 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1480 <font resource="font" color="%text_color%" />
1481 <text>%tw_backup_name%</text>
1482 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001483 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001484 <actions>
1485 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1486 <action function="set">tw_existpage=backupname2</action>
1487 <action function="set">tw_notexistpage=backup</action>
1488 <action function="page">filecheck</action>
1489 </actions>
1490 </object>
1491
1492 <object type="text" color="%text_fail_color%">
1493 <condition var1="tw_fileexists" var2="1" />
1494 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1495 <font resource="font" />
1496 <text>A backup with that name already exists!</text>
1497 </object>
1498
1499 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001500 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001501 <placement x="%col1_x%" y="%row2_y%" />
1502 <font resource="font" color="%button_text_color%" />
1503 <text>Append Date</text>
1504 <image resource="main_button" />
1505 <action function="appenddatetobackupname"></action>
1506 </object>
1507
1508 <object type="button">
1509 <highlight color="%highlight_color%" />
1510 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001511 <font resource="font" color="%button_text_color%" />
1512 <text>Cancel</text>
1513 <image resource="main_button" />
1514 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001515 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001516 <action function="page">backup</action>
1517 </actions>
1518 </object>
1519
1520 <object type="template" name="keyboardtemplate" />
1521
1522 <object type="action">
1523 <touch key="home" />
1524 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001525 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001526 <action function="page">main</action>
1527 </actions>
1528 </object>
1529
1530 <object type="action">
1531 <touch key="back" />
1532 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001533 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001534 <action function="page">backup</action>
1535 </actions>
1536 </object>
1537
1538 <object type="template" name="footer" />
1539 </page>
1540
Dees_Troy83bd4832013-05-04 12:39:56 +00001541 <page name="backupencryption">
1542 <object type="template" name="header" />
1543
1544 <object type="text" color="%text_color%">
1545 <font resource="font" />
1546 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1547 <text>Encrypt your backup?</text>
1548 </object>
1549
1550 <object type="text" color="%text_color%">
1551 <font resource="font" />
1552 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1553 <text>Please Enter A Password:</text>
1554 </object>
1555
1556 <object type="input">
1557 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1558 <background color="%input_background_color%" />
1559 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1560 <font resource="font" color="%text_color%" />
1561 <text>%tw_backup_encrypt_display%</text>
1562 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1563 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1564 <action function="page">backupencryption2</action>
1565 </object>
1566
1567 <object type="text" color="%text_fail_color%">
1568 <condition var1="tw_password_not_match" var2="1" />
1569 <font resource="font" />
1570 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1571 <text>Passwords Do Not Match</text>
1572 </object>
1573
1574 <object type="button">
1575 <highlight color="%highlight_color%" />
1576 <placement x="%col_center_x%" y="%row2_y%" />
1577 <font resource="font" color="%button_text_color%" />
1578 <text>Cancel</text>
1579 <image resource="main_button" />
1580 <actions>
1581 <action function="set">tw_encrypt_backup=0</action>
1582 <action function="set">tw_backup_password=</action>
1583 <action function="set">tw_backup_password2=</action>
1584 <action function="set">tw_backup_encrypt_display=</action>
1585 <action function="set">tw_backup_encrypt_display2=</action>
1586 <action function="page">backup</action>
1587 </actions>
1588 </object>
1589
1590 <object type="template" name="keyboardtemplate" />
1591
1592 <object type="action">
1593 <touch key="home" />
1594 <action function="page">main</action>
1595 </object>
1596
1597 <object type="action">
1598 <touch key="back" />
1599 <action function="page">backup</action>
1600 </object>
1601
1602 <object type="template" name="footer" />
1603 </page>
1604
1605 <page name="backupencryption2">
1606 <object type="template" name="header" />
1607
1608 <object type="text" color="%text_color%">
1609 <font resource="font" />
1610 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1611 <text>Encrypt your backup?</text>
1612 </object>
1613
1614 <object type="text" color="%text_color%">
1615 <font resource="font" />
1616 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1617 <text>Please Enter Password Again:</text>
1618 </object>
1619
1620 <object type="input">
1621 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1622 <background color="%input_background_color%" />
1623 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1624 <font resource="font" color="%text_color%" />
1625 <text>%tw_backup_encrypt_display2%</text>
1626 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1627 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1628 <actions>
1629 <action function="page">checkbackuppassword</action>
1630 </actions>
1631 </object>
1632
1633 <object type="button">
1634 <highlight color="%highlight_color%" />
1635 <placement x="%col_center_x%" y="%row2_y%" />
1636 <font resource="font" color="%button_text_color%" />
1637 <text>Cancel</text>
1638 <image resource="main_button" />
1639 <actions>
1640 <action function="set">tw_encrypt_backup=0</action>
1641 <action function="set">tw_backup_password=</action>
1642 <action function="set">tw_backup_password2=</action>
1643 <action function="set">tw_backup_encrypt_display=</action>
1644 <action function="set">tw_backup_encrypt_display2=</action>
1645 <action function="page">backup</action>
1646 </actions>
1647 </object>
1648
1649 <object type="template" name="keyboardtemplate" />
1650
1651 <object type="action">
1652 <touch key="home" />
1653 <action function="page">main</action>
1654 </object>
1655
1656 <object type="action">
1657 <touch key="back" />
1658 <action function="page">backup</action>
1659 </object>
1660
1661 <object type="template" name="footer" />
1662 </page>
1663
1664 <page name="checkbackuppassword">
1665 <object type="action">
1666 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1667 <actions>
1668 <action function="set">tw_encrypt_backup=1</action>
1669 <action function="page">backup</action>
1670 </actions>
1671 </object>
1672
1673 <object type="action">
1674 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1675 <actions>
1676 <action function="set">tw_encrypt_backup=0</action>
1677 <action function="set">tw_password_not_match=1</action>
1678 <action function="set">tw_backup_password=</action>
1679 <action function="set">tw_backup_password2=</action>
1680 <action function="set">tw_backup_encrypt_display=</action>
1681 <action function="set">tw_backup_encrypt_display2=</action>
1682 <action function="page">backupencryption</action>
1683 </actions>
1684 </object>
1685 </page>
1686
Dees_Troy51a0e822012-09-05 15:24:24 -04001687 <page name="backup_run">
1688 <object type="template" name="header" />
1689
1690 <object type="text" color="%text_color%">
1691 <font resource="font" />
1692 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1693 <text>%tw_operation% %tw_partition%</text>
1694 </object>
1695
1696 <object type="template" name="action_page_console" />
1697
1698 <object type="template" name="progress_bar" />
1699
1700 <object type="action">
1701 <action function="nandroid">backup</action>
1702 </object>
1703
1704 <object type="action">
1705 <condition var1="tw_operation_state" var2="1" />
1706 <actions>
1707 <action function="set">tw_back=backup</action>
1708 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001709 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001710 <action function="page">action_complete</action>
1711 </actions>
1712 </object>
1713 </page>
1714
1715 <page name="restore">
1716 <object type="template" name="header" />
1717
1718 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001719 <highlight color="%highlight_color%" />
1720 <fill color="%button_fill_color%" />
1721 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1722 <font resource="font" color="%button_text_color%" />
1723 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1724 <actions>
1725 <action function="set">tw_back=restore</action>
1726 <action function="page">selectstorage</action>
1727 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001728 </object>
1729
1730 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001731 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001732 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001733 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001734 <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 -04001735 <text>Select Package to Restore:</text>
1736 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1737 <sort name="tw_gui_sort_order" />
1738 <icon folder="folder_icon" file="file_icon" />
1739 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001740 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001741 <filter folders="1" files="0" nav="0" />
1742 <path name="tw_backups_folder" />
1743 <data name="tw_restore" default="" />
1744 <selection name="tw_restore_name" />
1745 </object>
1746
1747 <object type="template" name="sort_options" />
1748
1749 <object type="action">
1750 <condition var1="tw_restore" op="modified" />
1751 <actions>
1752 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001753 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001754 </actions>
1755 </object>
1756
1757 <object type="action">
1758 <touch key="home" />
1759 <action function="page">main</action>
1760 </object>
1761
1762 <object type="action">
1763 <touch key="back" />
1764 <action function="page">main</action>
1765 </object>
1766
1767 <object type="template" name="footer" />
1768 </page>
1769
Dees_Troy83bd4832013-05-04 12:39:56 +00001770 <page name="restore_read">
1771 <object type="action">
1772 <condition var1="tw_restore_encrypted" var2="1" />
1773 <actions>
1774 <action function="set">tw_password_fail=0</action>
1775 <action function="page">restore_decrypt</action>
1776 </actions>
1777 </object>
1778
1779 <object type="action">
1780 <condition var1="tw_restore_encrypted" var2="0" />
1781 <actions>
1782 <action function="page">restore_select</action>
1783 </actions>
1784 </object>
1785 </page>
1786
1787 <page name="restore_decrypt">
1788 <object type="template" name="header" />
1789
1790 <object type="text" color="%text_color%">
1791 <font resource="font" />
1792 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1793 <text>Backup Encrypted</text>
1794 </object>
1795
1796 <object type="text" color="%text_color%">
1797 <font resource="font" />
1798 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1799 <text>Please Enter Your Password:</text>
1800 </object>
1801
1802 <object type="input">
1803 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1804 <background color="%input_background_color%" />
1805 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1806 <font resource="font" color="%text_color%" />
1807 <text>%tw_restore_display%</text>
1808 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1809 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1810 <actions>
1811 <action function="page">try_restore_decrypt</action>
1812 </actions>
1813 </object>
1814
1815 <object type="text" color="%text_fail_color%">
1816 <condition var1="tw_password_fail" var2="1" />
1817 <font resource="font" />
1818 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1819 <text>Password Failed, Please Try Again</text>
1820 </object>
1821
1822 <object type="button">
1823 <highlight color="%highlight_color%" />
1824 <placement x="%col1_x%" y="%row2_y%" />
1825 <font resource="font" color="%button_text_color%" />
1826 <text>Cancel</text>
1827 <image resource="main_button" />
1828 <actions>
1829 <action function="set">tw_page_done=1</action>
1830 <action function="page">restore</action>
1831 </actions>
1832 </object>
1833
1834 <object type="button">
1835 <highlight color="%highlight_color%" />
1836 <placement x="%col2_x%" y="%row2_y%" />
1837 <font resource="font" color="%button_text_color%" />
1838 <text>Delete</text>
1839 <image resource="main_button" />
1840 <actions>
1841 <action function="set">tw_back=restore</action>
1842 <action function="set">tw_action=cmd</action>
1843 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1844 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1845 <action function="set">tw_text2=This cannot be undone!</action>
1846 <action function="set">tw_action_text1=Deleting Backup...</action>
1847 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1848 <action function="set">tw_slider_text=Swipe to Delete</action>
1849 <action function="page">confirm_action</action>
1850 </actions>
1851 </object>
1852
1853 <object type="template" name="keyboardtemplate" />
1854
1855 <object type="action">
1856 <touch key="home" />
1857 <action function="page">main</action>
1858 </object>
1859
1860 <object type="action">
1861 <touch key="back" />
1862 <action function="page">restore</action>
1863 </object>
1864
1865 <object type="template" name="footer" />
1866 </page>
1867
1868 <page name="try_restore_decrypt">
1869 <object type="template" name="header" />
1870
1871 <object type="text" color="%text_color%">
1872 <font resource="font" />
1873 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1874 <text>Trying Decryption with Your Password</text>
1875 </object>
1876
1877 <object type="template" name="action_page_console" />
1878
1879 <object type="template" name="progress_bar" />
1880
1881 <object type="action">
1882 <action function="decrypt_backup"></action>
1883 </object>
1884
1885 <object type="action">
1886 <conditions>
1887 <condition var1="tw_operation_state" var2="1" />
1888 <condition var1="tw_operation_status" op="!=" var2="0" />
1889 </conditions>
1890 <actions>
1891 <action function="set">tw_password_fail=1</action>
1892 <action function="page">restore_decrypt</action>
1893 </actions>
1894 </object>
1895
1896 <object type="action">
1897 <conditions>
1898 <condition var1="tw_operation_state" var2="1" />
1899 <condition var1="tw_operation_status" op="=" var2="0" />
1900 </conditions>
1901 <actions>
1902 <action function="set">tw_page_done=1</action>
1903 <action function="page">restore_select</action>
1904 </actions>
1905 </object>
1906 </page>
1907
Dees_Troy51a0e822012-09-05 15:24:24 -04001908 <page name="restore_select">
1909 <object type="template" name="header" />
1910
Dees_Troya13d74f2013-03-24 08:54:55 -05001911 <object type="partitionlist">
1912 <highlight color="%fileselector_highlight_color%" />
1913 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1914 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1915 <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 -04001916 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001917 <icon selected="checkbox_true" unselected="checkbox_false" />
1918 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1919 <background color="%listbox_background%" />
1920 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1921 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1922 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001923 </object>
1924
1925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001926 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001927 <fill color="%button_fill_color%" />
1928 <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 -04001929 <font resource="font" color="%button_text_color%" />
1930 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001931 <actions>
1932 <action function="set">tw_backup_rename=</action>
1933 <action function="set">tw_fileexists=0</action>
1934 <action function="page">renamebackup</action>
1935 </actions>
1936 </object>
1937
1938 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001939 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001940 <fill color="%button_fill_color%" />
1941 <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 -04001942 <font resource="font" color="%button_text_color%" />
1943 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001944 <actions>
1945 <action function="set">tw_back=restore</action>
1946 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001947 <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 -04001948 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1949 <action function="set">tw_text2=This cannot be undone!</action>
1950 <action function="set">tw_action_text1=Deleting Backup...</action>
1951 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1952 <action function="set">tw_slider_text=Swipe to Delete</action>
1953 <action function="page">confirm_action</action>
1954 </actions>
1955 </object>
1956
Dees_Troya13d74f2013-03-24 08:54:55 -05001957 <object type="checkbox">
1958 <placement x="%col1_x%" y="%row15_text_y%" />
1959 <font resource="font" color="%text_color%" />
1960 <text>Enable MD5 verification of backup files.</text>
1961 <data variable="tw_skip_md5_check" />
1962 <image checked="checkbox_true" unchecked="checkbox_false" />
1963 </object>
1964
1965 <object type="text" color="%text_color%">
1966 <font resource="font" />
1967 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1968 <text>Package Date: %tw_restore_file_date%</text>
1969 </object>
1970
Dees_Troy51a0e822012-09-05 15:24:24 -04001971 <object type="slider">
1972 <placement x="%slider_x%" y="%slider_y%" />
1973 <resource base="slider" used="slider-used" touch="slider-touch" />
1974 <action function="page">restore_run</action>
1975 </object>
1976
1977 <object type="text" color="%text_color%">
1978 <font resource="font" />
1979 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1980 <text>Swipe to Restore</text>
1981 </object>
1982
Dees_Troy51a0e822012-09-05 15:24:24 -04001983 <object type="action">
1984 <touch key="home" />
1985 <action function="page">main</action>
1986 </object>
1987
1988 <object type="action">
1989 <touch key="back" />
1990 <action function="page">restore</action>
1991 </object>
1992
1993 <object type="template" name="footer" />
1994 </page>
1995
1996 <page name="renamebackup">
1997 <object type="template" name="header" />
1998
1999 <object type="text" color="%text_color%">
2000 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2001 <font resource="font" />
2002 <text>Please Enter a New Backup Name</text>
2003 </object>
2004
2005 <object type="input">
2006 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2007 <background color="%input_background_color%" />
2008 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2009 <font resource="font" color="%text_color%" />
2010 <text>%tw_backup_rename%</text>
2011 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002012 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002013 <actions>
2014 <action function="set">tw_back=restore</action>
2015 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002016 <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 -04002017 <action function="set">tw_text1=Rename Backup?</action>
2018 <action function="set">tw_text2=This cannot be undone!</action>
2019 <action function="set">tw_action_text1=Renaming Backup...</action>
2020 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2021 <action function="set">tw_slider_text=Swipe to Rename</action>
2022 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2023 <action function="set">tw_existpage=renamebackup</action>
2024 <action function="set">tw_notexistpage=confirm_action</action>
2025 <action function="page">filecheck</action>
2026 </actions>
2027 </object>
2028
2029 <object type="text" color="%text_fail_color%">
2030 <condition var1="tw_fileexists" var2="1" />
2031 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2032 <font resource="font" />
2033 <text>A backup with that name already exists!</text>
2034 </object>
2035
2036 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002037 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002038 <placement x="%col_center_x%" y="%row2_y%" />
2039 <font resource="font" color="%button_text_color%" />
2040 <text>Cancel</text>
2041 <image resource="main_button" />
2042 <action function="page">restore_select</action>
2043 </object>
2044
2045 <object type="template" name="keyboardtemplate" />
2046
2047 <object type="action">
2048 <touch key="home" />
2049 <action function="page">main</action>
2050 </object>
2051
2052 <object type="action">
2053 <touch key="back" />
2054 <action function="page">restore_select</action>
2055 </object>
2056
2057 <object type="template" name="footer" />
2058 </page>
2059
2060 <page name="restore_run">
2061 <object type="template" name="header" />
2062
2063 <object type="text" color="%text_color%">
2064 <font resource="font" />
2065 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2066 <text>%tw_operation% %tw_partition%</text>
2067 </object>
2068
2069 <object type="template" name="action_page_console" />
2070
2071 <object type="template" name="progress_bar" />
2072
2073 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002074 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002075 <actions>
2076 <action function="set">tw_back=restore_select</action>
2077 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002078 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002079 <action function="page">action_complete</action>
2080 </actions>
2081 </object>
2082
2083 <object type="action">
2084 <action function="nandroid">restore</action>
2085 </object>
2086 </page>
2087
Dees_Troya13d74f2013-03-24 08:54:55 -05002088 <page name="selectstorage">
2089 <object type="template" name="header" />
2090
2091 <object type="partitionlist">
2092 <highlight color="%fileselector_highlight_color%" />
2093 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2094 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2095 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2096 <text>Select Storage:</text>
2097 <icon selected="radio_true" unselected="radio_false" />
2098 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2099 <background color="%listbox_background%" />
2100 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2101 <data name="tw_storage_path" />
2102 <listtype name="storage" />
2103 </object>
2104
Dees_Troye7e0ae82013-07-05 14:46:07 +00002105 <object type="button">
2106 <highlight color="%highlight_color%" />
2107 <placement x="%col_center_x%" y="%row4_y%" />
2108 <font resource="font" color="%button_text_color%" />
2109 <text>OK</text>
2110 <image resource="main_button" />
2111 <actions>
2112 <action function="set">tw_clear_destination=%tw_back%</action>
2113 <action function="page">clear_vars</action>
2114 </actions>
2115 </object>
2116
Dees_Troya13d74f2013-03-24 08:54:55 -05002117 <object type="action">
2118 <touch key="home" />
2119 <action function="page">main</action>
2120 </object>
2121
2122 <object type="action">
2123 <touch key="back" />
2124 <actions>
2125 <action function="page">%tw_back%</action>
2126 </actions>
2127 </object>
2128
2129 <object type="template" name="footer" />
2130 </page>
2131
Dees_Troy51a0e822012-09-05 15:24:24 -04002132 <page name="mount">
2133 <object type="template" name="header" />
2134
Dees_Troya13d74f2013-03-24 08:54:55 -05002135 <object type="partitionlist">
2136 <highlight color="%fileselector_highlight_color%" />
2137 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2138 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2139 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2140 <text>Select Partitions to Mount:</text>
2141 <icon selected="checkbox_true" unselected="checkbox_false" />
2142 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2143 <background color="%listbox_background%" />
2144 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2145 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002146 </object>
2147
2148 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002149 <highlight color="%highlight_color%" />
2150 <fill color="%button_fill_color%" />
2151 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2152 <font resource="font" color="%button_text_color%" />
2153 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2154 <actions>
2155 <action function="set">tw_back=mount</action>
2156 <action function="page">selectstorage</action>
2157 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002158 </object>
2159
2160 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002161 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002162 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002163 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002164 <font resource="font" color="%button_text_color%" />
2165 <text>Mount USB Storage</text>
2166 <image resource="main_button" />
2167 <action function="page">usb_mount</action>
2168 </object>
2169
Gary Peckffdc6ae2012-11-21 18:02:02 -08002170 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002171 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002172 <conditions>
2173 <condition var1="tw_is_encrypted" var2="1" />
2174 <condition var1="tw_is_decrypted" var2="0" />
2175 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002176 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002177 <font resource="font" color="%button_text_color%" />
2178 <text>Decrypt Data</text>
2179 <image resource="main_button" />
2180 <action function="page">decrypt</action>
2181 </object>
2182
Dees_Troy51a0e822012-09-05 15:24:24 -04002183 <object type="action">
2184 <touch key="home" />
2185 <action function="page">main</action>
2186 </object>
2187
2188 <object type="action">
2189 <touch key="back" />
2190 <action function="page">main</action>
2191 </object>
2192
2193 <object type="template" name="footer" />
2194 </page>
2195
2196 <page name="usb_mount">
2197 <object type="template" name="header" />
2198
2199 <object type="text" color="%text_color%">
2200 <font resource="font" />
2201 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2202 <text>USB Storage Mounted</text>
2203 </object>
2204
2205 <object type="text" color="%text_color%">
2206 <placement x="%col1_x%" y="%row1_text_y%" />
2207 <font resource="font" />
2208 <text>Be sure to safely remove your device</text>
2209 </object>
2210
2211 <object type="text" color="%text_color%">
2212 <placement x="%col1_x%" y="%row2_text_y%" />
2213 <font resource="font" />
2214 <text>from your computer before unmounting!</text>
2215 </object>
2216
2217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002218 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002219 <placement x="%col1_x%" y="%row3_y%" />
2220 <font resource="font" color="%button_text_color%" />
2221 <text>Unmount</text>
2222 <image resource="main_button" />
2223 <action function="page">usb_umount</action>
2224 </object>
2225
2226 <object type="action">
2227 <action function="mount">usb</action>
2228 </object>
2229
2230 <object type="template" name="footer" />
2231 </page>
2232
2233 <page name="usb_umount">
2234 <object type="action">
2235 <action function="unmount">usb</action>
2236 </object>
2237
2238 <object type="action">
2239 <action function="page">mount</action>
2240 </object>
2241 </page>
2242
2243 <page name="reboot">
2244 <object type="template" name="header" />
2245
2246 <object type="text" color="%text_color%">
2247 <font resource="font" />
2248 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2249 <text>Reboot Menu</text>
2250 </object>
2251
2252 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002253 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002254 <condition var1="tw_reboot_system" var2="1" />
2255 <placement x="%col1_x%" y="%row1_y%" />
2256 <font resource="font" color="%button_text_color%" />
2257 <text>System</text>
2258 <image resource="main_button" />
2259 <actions>
2260 <action function="set">tw_back=reboot</action>
2261 <action function="set">tw_action=reboot</action>
2262 <action function="set">tw_action_param=system</action>
2263 <action function="set">tw_has_action2=0</action>
2264 <action function="set">tw_text1=No OS Installed! Are you</action>
2265 <action function="set">tw_text2=sure you wish to reboot?</action>
2266 <action function="set">tw_action_text1=Rebooting...</action>
2267 <action function="set">tw_complete_text1=Rebooting...</action>
2268 <action function="set">tw_slider_text=Swipe to Reboot</action>
2269 <action function="page">rebootcheck</action>
2270 </actions>
2271 </object>
2272
2273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002275 <condition var1="tw_reboot_poweroff" var2="1" />
2276 <placement x="%col2_x%" y="%row1_y%" />
2277 <font resource="font" color="%button_text_color%" />
2278 <text>Power Off</text>
2279 <image resource="main_button" />
2280 <actions>
2281 <action function="set">tw_back=reboot</action>
2282 <action function="set">tw_action=reboot</action>
2283 <action function="set">tw_action_param=poweroff</action>
2284 <action function="set">tw_has_action2=0</action>
2285 <action function="set">tw_text1=No OS Installed! Are you</action>
2286 <action function="set">tw_text2=sure you wish to power off?</action>
2287 <action function="set">tw_action_text1=Turning Off...</action>
2288 <action function="set">tw_complete_text1=Turning Off...</action>
2289 <action function="set">tw_slider_text=Swipe to Power Off</action>
2290 <action function="page">rebootcheck</action>
2291 </actions>
2292 </object>
2293
2294 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002295 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002296 <condition var1="tw_reboot_recovery" var2="1" />
2297 <placement x="%col1_x%" y="%row2_y%" />
2298 <font resource="font" color="%button_text_color%" />
2299 <text>Recovery</text>
2300 <image resource="main_button" />
2301 <actions>
2302 <action function="set">tw_back=reboot</action>
2303 <action function="set">tw_action=reboot</action>
2304 <action function="set">tw_action_param=recovery</action>
2305 <action function="set">tw_has_action2=0</action>
2306 <action function="set">tw_text1=No OS Installed! Are you</action>
2307 <action function="set">tw_text2=sure you wish to reboot?</action>
2308 <action function="set">tw_action_text1=Rebooting...</action>
2309 <action function="set">tw_complete_text1=Rebooting...</action>
2310 <action function="set">tw_slider_text=Swipe to Reboot</action>
2311 <action function="page">rebootcheck</action>
2312 </actions>
2313 </object>
2314
2315 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002316 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002317 <condition var1="tw_reboot_bootloader" var2="1" />
2318 <placement x="%col2_x%" y="%row2_y%" />
2319 <font resource="font" color="%button_text_color%" />
2320 <text>Bootloader</text>
2321 <image resource="main_button" />
2322 <actions>
2323 <action function="set">tw_back=reboot</action>
2324 <action function="set">tw_action=reboot</action>
2325 <action function="set">tw_action_param=bootloader</action>
2326 <action function="set">tw_has_action2=0</action>
2327 <action function="set">tw_text1=No OS Installed! Are you</action>
2328 <action function="set">tw_text2=sure you wish to reboot?</action>
2329 <action function="set">tw_action_text1=Rebooting...</action>
2330 <action function="set">tw_complete_text1=Rebooting...</action>
2331 <action function="set">tw_slider_text=Swipe to Reboot</action>
2332 <action function="page">rebootcheck</action>
2333 </actions>
2334 </object>
2335
2336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002338 <condition var1="tw_download_mode" var2="1" />
2339 <placement x="%col1_x%" y="%row3_y%" />
2340 <font resource="font" color="%button_text_color%" />
2341 <text>Download</text>
2342 <image resource="main_button" />
2343 <actions>
2344 <action function="set">tw_back=reboot</action>
2345 <action function="set">tw_action=reboot</action>
2346 <action function="set">tw_action_param=download</action>
2347 <action function="set">tw_has_action2=0</action>
2348 <action function="set">tw_text1=No OS Installed! Are you</action>
2349 <action function="set">tw_text2=sure you wish to reboot?</action>
2350 <action function="set">tw_action_text1=Rebooting...</action>
2351 <action function="set">tw_complete_text1=Rebooting...</action>
2352 <action function="set">tw_slider_text=Swipe to Reboot</action>
2353 <action function="page">rebootcheck</action>
2354 </actions>
2355 </object>
2356
2357 <object type="action">
2358 <touch key="home" />
2359 <action function="page">main</action>
2360 </object>
2361
2362 <object type="action">
2363 <touch key="back" />
2364 <action function="page">main</action>
2365 </object>
2366
2367 <object type="template" name="footer" />
2368 </page>
2369
2370 <page name="settings">
2371 <object type="template" name="header" />
2372
2373 <object type="text" color="%text_color%">
2374 <font resource="font" />
2375 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2376 <text>Settings</text>
2377 </object>
2378
2379 <object type="checkbox">
2380 <placement x="%col1_x%" y="%row1_text_y%" />
2381 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002382 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <data variable="tw_signed_zip_verify" />
2384 <image checked="checkbox_true" unchecked="checkbox_false" />
2385 </object>
2386
2387 <object type="checkbox">
2388 <placement x="%col1_x%" y="%row2_text_y%" />
2389 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002390 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <data variable="tw_rm_rf" />
2392 <image checked="checkbox_true" unchecked="checkbox_false" />
2393 </object>
2394
2395 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002396 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002398 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <data variable="tw_skip_md5_generate" />
2400 <image checked="checkbox_true" unchecked="checkbox_false" />
2401 </object>
2402
2403 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002404 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002405 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002406 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <data variable="tw_skip_md5_check" />
2408 <image checked="checkbox_true" unchecked="checkbox_false" />
2409 </object>
2410
2411 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002412 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002414 <text>Use Military Time.</text>
2415 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <image checked="checkbox_true" unchecked="checkbox_false" />
2417 </object>
2418
2419 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002420 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002422 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <data variable="tw_simulate_actions" />
2424 <image checked="checkbox_true" unchecked="checkbox_false" />
2425 </object>
2426
2427 <object type="checkbox">
2428 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002429 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002431 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <data variable="tw_simulate_fail" />
2433 <image checked="checkbox_true" unchecked="checkbox_false" />
2434 </object>
2435
2436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002438 <placement x="%col1_x%" y="%row3_y%" />
2439 <font resource="font" color="%button_text_color%" />
2440 <text>Time Zone</text>
2441 <image resource="main_button" />
2442 <action function="page">timezone</action>
2443 </object>
2444
2445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002446 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002447 <placement x="%col2_x%" y="%row3_y%" />
2448 <font resource="font" color="%button_text_color%" />
2449 <text>Screen</text>
2450 <image resource="main_button" />
2451 <action function="page">screen</action>
2452 </object>
2453
2454 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002455 <highlight color="%highlight_color%" />
2456 <placement x="%col2_x%" y="%row4_y%" />
2457 <font resource="font" color="%button_text_color%" />
2458 <text>Vibration Duration</text>
2459 <image resource="main_button" />
2460 <action function="page">Vibrate</action>
2461 </object>
2462
2463 <object type="button">
2464 <placement x="%col_x%" y="%row4_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <font resource="font" color="%button_text_color%" />
2466 <text>Restore Defaults</text>
2467 <image resource="main_button" />
2468 <action function="restoredefaultsettings"></action>
2469 </object>
2470
2471 <object type="action">
2472 <touch key="home" />
2473 <action function="page">main</action>
2474 </object>
2475
2476 <object type="action">
2477 <touch key="back" />
2478 <action function="page">main</action>
2479 </object>
2480
2481 <object type="template" name="footer" />
2482 </page>
2483
2484 <page name="timezone">
2485 <object type="template" name="header" />
2486
Dees_Troy51a0e822012-09-05 15:24:24 -04002487 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002488 <highlight color="%fileselector_highlight_color%" />
2489 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2490 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002491 <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 -06002492 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002493 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002494 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002496 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <data name="tw_time_zone_guisel" />
2498 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2499 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2500 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2501 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2502 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2503 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2504 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2505 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2506 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2507 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2508 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2509 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2510 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2511 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2512 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2513 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2514 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2515 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2516 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2517 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2518 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2519 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2520 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2521 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2522 </object>
2523
2524 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002525 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <font resource="font" color="%text_color%" />
2527 <text>Do you use daylight savings time (DST)?</text>
2528 <data variable="tw_time_zone_guidst" />
2529 <image checked="checkbox_true" unchecked="checkbox_false" />
2530 </object>
2531
2532 <object type="text" color="%text_color%">
2533 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002534 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2536 </object>
2537
2538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002539 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002540 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002541 <font resource="font" color="%button_text_color%" />
2542 <text>None</text>
2543 <image resource="medium_button" />
2544 <action function="set">tw_time_zone_guioffset=0</action>
2545 </object>
2546
2547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002548 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002549 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <font resource="font" color="%button_text_color%" />
2551 <text>15</text>
2552 <image resource="medium_button" />
2553 <action function="set">tw_time_zone_guioffset=15</action>
2554 </object>
2555
2556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002557 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002558 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <font resource="font" color="%button_text_color%" />
2560 <text>30</text>
2561 <image resource="medium_button" />
2562 <action function="set">tw_time_zone_guioffset=30</action>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002567 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <font resource="font" color="%button_text_color%" />
2569 <text>45</text>
2570 <image resource="medium_button" />
2571 <action function="set">tw_time_zone_guioffset=45</action>
2572 </object>
2573
2574 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002575 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002576 <placement x="%col_center_x%" y="%tz_set_y%" />
2577 <font resource="font" color="%button_text_color%" />
2578 <text>Set Time Zone</text>
2579 <image resource="main_button" />
2580 <action function="setguitimezone"></action>
2581 </object>
2582
2583 <object type="text" color="%text_color%">
2584 <font resource="font" />
2585 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2586 <text>Current Time Zone: %tw_time_zone%</text>
2587 </object>
2588
2589 <object type="action">
2590 <touch key="home" />
2591 <action function="page">main</action>
2592 </object>
2593
2594 <object type="action">
2595 <touch key="back" />
2596 <action function="page">settings</action>
2597 </object>
2598
2599 <object type="template" name="footer" />
2600 </page>
2601
Dees_Troy2f9117a2013-02-17 19:52:09 -06002602 <page name="screen">
2603 <object type="template" name="header" />
2604
2605 <object type="text" color="%text_color%">
2606 <font resource="font" />
2607 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2608 <text>Screen Settings</text>
2609 </object>
2610
Dees_Troy2f9117a2013-02-17 19:52:09 -06002611 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002612 <placement x="%col1_x%" y="%row2_text_y%" />
2613 <font resource="font" color="%text_color%" />
2614 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002615 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002616 <text>Enable screen timeout.</text>
2617 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002618 <action function="set">tw_screen_timeout_secs=60</action>
2619 </object>
2620
2621 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002622 <placement x="%col1_x%" y="%row2_text_y%" />
2623 <font resource="font" color="%text_color%" />
2624 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002625 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002626 <text>Enable screen timeout.</text>
2627 <image resource="checkbox_true" />
2628 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002629 </object>
2630
Vojtech Bocek85932342013-04-01 22:11:33 +02002631 <object type="slidervalue">
2632 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002633 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2635 <font resource="font" color="%text_color%" />
2636 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2637 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2638 <text>Screen timeout in seconds:</text>
2639 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002640 </object>
2641
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002643 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2645 <font resource="font" color="%text_color%" />
2646 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2647 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2648 <text>Brightness: %tw_brightness_pct%%</text>
2649 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002650 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002651 <action function="set">tw_brightness=%tw_brightness_max%</action>
2652 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2653 <action function="compute">tw_brightness/100</action>
2654 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002655 </actions>
2656 </object>
2657
2658 <object type="action">
2659 <touch key="home" />
2660 <action function="page">main</action>
2661 </object>
2662
2663 <object type="action">
2664 <touch key="back" />
2665 <action function="page">settings</action>
2666 </object>
2667
2668 <object type="template" name="footer" />
2669 </page>
2670
Ethan Yonker03db3262014-02-05 08:02:06 -06002671 <page name="Vibrate">
2672 <object type="template" name="header" />
2673
2674 <object type="text" color="%text_color%">
2675 <font resource="font" />
2676 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2677 <text>Vibration Settings :</text>
2678 </object>
2679
2680 <object type="slidervalue">
2681 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2682 <font resource="font" color="%text_color%" />
2683 <text>Button Vibration:</text>
2684 <data variable="tw_button_vibrate" min="0" max="300" />
2685 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2686 </object>
2687
2688 <object type="slidervalue">
2689 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2690 <font resource="font" color="%text_color%" />
2691 <text>Keyboard Vibration:</text>
2692 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2693 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2694 </object>
2695
2696 <object type="slidervalue">
2697 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2698 <font resource="font" color="%text_color%" />
2699 <text>Action Vibration:</text>
2700 <data variable="tw_action_vibrate" min="0" max="500" />
2701 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2702 </object>
2703
2704 <object type="action">
2705 <touch key="home" />
2706 <action function="page">main</action>
2707 </object>
2708
2709 <object type="action">
2710 <touch key="back" />
2711 <action function="page">settings</action>
2712 </object>
2713
2714 <object type="template" name="footer" />
2715 </page>
2716
Dees_Troy51a0e822012-09-05 15:24:24 -04002717 <page name="advanced">
2718 <object type="template" name="header" />
2719
2720 <object type="text" color="%text_color%">
2721 <font resource="font" />
2722 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2723 <text>Advanced</text>
2724 </object>
2725
2726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002727 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002728 <placement x="%col1_x%" y="%row1_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>Copy Log to SD</text>
2731 <image resource="main_button" />
2732 <actions>
2733 <action function="set">tw_back=advanced</action>
2734 <action function="set">tw_action=copylog</action>
2735 <action function="set">tw_text1=Copy Log to SD Card?</action>
2736 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2737 <action function="set">tw_complete_text1=Log Copy Complete</action>
2738 <action function="set">tw_slider_text=Swipe to Confirm</action>
2739 <action function="page">confirm_action</action>
2740 </actions>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <placement x="%col2_x%" y="%row1_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text>Fix Permissions</text>
2748 <image resource="main_button" />
2749 <actions>
2750 <action function="set">tw_back=advanced</action>
2751 <action function="set">tw_action=fixpermissions</action>
2752 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2755 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002756 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <action function="page">confirm_action</action>
2758 </actions>
2759 </object>
2760
2761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <condition var1="tw_allow_partition_sdcard" var2="1" />
2764 <placement x="%col1_x%" y="%row2_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text>Partition SD Card</text>
2767 <image resource="main_button" />
2768 <action function="page">partsdcard</action>
2769 </object>
2770
2771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002772 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <placement x="%col2_x%" y="%row2_y%" />
2774 <font resource="font" color="%button_text_color%" />
2775 <text>File Manager</text>
2776 <image resource="main_button" />
2777 <action function="page">filemanagerlist</action>
2778 </object>
2779
2780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002781 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002782 <placement x="%col1_x%" y="%row3_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text>Terminal Command</text>
2785 <image resource="main_button" />
2786 <action function="page">terminalfolder</action>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002791 <placement x="%col2_x%" y="%row3_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text>Reload Theme</text>
2794 <image resource="main_button" />
2795 <action function="reload"></action>
2796 </object>
2797
2798 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002799 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002800 <placement x="%col1_x%" y="%row4_y%" />
2801 <font resource="font" color="%button_text_color%" />
2802 <text>ADB Sideload</text>
2803 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002804 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002805 </object>
2806
2807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002809 <condition var1="tw_show_dumlock" var2="1" />
2810 <placement x="%col2_x%" y="%row4_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>HTC Dumlock</text>
2813 <image resource="main_button" />
2814 <action function="page">htcdumlock</action>
2815 </object>
2816
2817 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002818 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <condition var1="tw_has_injecttwrp" var2="1" />
2820 <placement x="%col2_x%" y="%row4_y%" />
2821 <font resource="font" color="%button_text_color%" />
2822 <text>Re-Inject TWRP</text>
2823 <image resource="main_button" />
2824 <actions>
2825 <action function="set">tw_back=advanced</action>
2826 <action function="set">tw_action=reinjecttwrp</action>
2827 <action function="set">tw_text1=Re-Inject TWRP?</action>
2828 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2829 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2830 <action function="set">tw_slider_text=Swipe to Confirm</action>
2831 <action function="page">confirm_action</action>
2832 </actions>
2833 </object>
2834
2835 <object type="action">
2836 <touch key="home" />
2837 <action function="page">main</action>
2838 </object>
2839
2840 <object type="action">
2841 <touch key="back" />
2842 <action function="page">main</action>
2843 </object>
2844
2845 <object type="template" name="footer" />
2846 </page>
2847
2848 <page name="partsdcard">
2849 <object type="template" name="header" />
2850
2851 <object type="text" color="%text_color%">
2852 <font resource="font" />
2853 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2854 <text>Partition SD Card</text>
2855 </object>
2856
2857 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002858 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002859 <placement x="%col1_x%" y="%row1_y%" />
2860 <font resource="font" color="%button_text_color%" />
2861 <text></text>
2862 <image resource="minus_button" />
2863 <action function="addsubtract">tw_sdext_size-128</action>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <placement x="%sd_plus_x%" y="%row1_y%" />
2869 <font resource="font" color="%button_text_color%" />
2870 <text></text>
2871 <image resource="plus_button" />
2872 <action function="addsubtract">tw_sdext_size+128</action>
2873 </object>
2874
2875 <object type="text" color="%text_color%">
2876 <font resource="font" />
2877 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2878 <text>EXT Size: %tw_sdext_size%</text>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <placement x="%col1_x%" y="%sdswap_button_y%" />
2884 <font resource="font" color="%button_text_color%" />
2885 <text></text>
2886 <image resource="minus_button" />
2887 <action function="addsubtract">tw_swap_size-32</action>
2888 </object>
2889
2890 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002891 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002892 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2893 <font resource="font" color="%button_text_color%" />
2894 <text></text>
2895 <image resource="plus_button" />
2896 <action function="addsubtract">tw_swap_size+32</action>
2897 </object>
2898
2899 <object type="text" color="%text_color%">
2900 <font resource="font" />
2901 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2902 <text>Swap Size: %tw_swap_size%</text>
2903 </object>
2904
2905 <object type="text" color="%text_color%">
2906 <font resource="font" />
2907 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2908 <text>File system: %tw_sdpart_file_system%</text>
2909 </object>
2910
2911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002912 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002913 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text>EXT3</text>
2916 <image resource="main_button" />
2917 <action function="set">tw_sdpart_file_system=ext3</action>
2918 </object>
2919
2920 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002921 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002922 <condition var1="tw_sdext_disable_ext4" var2="0" />
2923 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2924 <font resource="font" color="%button_text_color%" />
2925 <text>EXT4</text>
2926 <image resource="main_button" />
2927 <action function="set">tw_sdpart_file_system=ext4</action>
2928 </object>
2929
2930 <object type="text" color="%text_color%">
2931 <font resource="font" />
2932 <placement x="%col1_x%" y="%row12_text_y%" />
2933 <text>You will lose all files on your SD card!</text>
2934 </object>
2935
2936 <object type="text" color="%text_color%">
2937 <font resource="font" />
2938 <placement x="%col1_x%" y="%row13_text_y%" />
2939 <text>This action cannot be undone!</text>
2940 </object>
2941
2942 <object type="slider">
2943 <placement x="%slider_x%" y="%slider_y%" />
2944 <resource base="slider" used="slider-used" touch="slider-touch" />
2945 <action function="page">partsdcardaction</action>
2946 <actions>
2947 <action function="set">tw_back=partsdcard</action>
2948 <action function="set">tw_action=partitionsd</action>
2949 <action function="set">tw_has_action2=1</action>
2950 <action function="set">tw_action2=set</action>
2951 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2952 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2953 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002954 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002955 <action function="page">action_page</action>
2956 </actions>
2957 </object>
2958
2959 <object type="text" color="%text_color%">
2960 <font resource="font" />
2961 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2962 <text>Swipe to Partition</text>
2963 </object>
2964
2965 <object type="action">
2966 <touch key="home" />
2967 <action function="page">main</action>
2968 </object>
2969
2970 <object type="action">
2971 <touch key="back" />
2972 <action function="page">advanced</action>
2973 </object>
2974
2975 <object type="template" name="footer" />
2976 </page>
2977
2978 <page name="htcdumlock">
2979 <object type="template" name="header" />
2980
2981 <object type="text" color="%text_color%">
2982 <font resource="font" />
2983 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2984 <text>HTC Dumlock</text>
2985 </object>
2986
2987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002988 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002989 <condition var1="tw_show_dumlock" var2="1" />
2990 <placement x="%col1_x%" y="%row1_y%" />
2991 <font resource="font" color="%button_text_color%" />
2992 <text>Restore Original Boot</text>
2993 <image resource="main_button" />
2994 <actions>
2995 <action function="set">tw_back=htcdumlock</action>
2996 <action function="set">tw_action=htcdumlockrestoreboot</action>
2997 <action function="set">tw_text1=Restore original boot image?</action>
2998 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2999 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3000 <action function="set">tw_slider_text=Swipe to Confirm</action>
3001 <action function="page">confirm_action</action>
3002 </actions>
3003 </object>
3004
3005 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003006 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003007 <condition var1="tw_show_dumlock" var2="1" />
3008 <placement x="%col2_x%" y="%row1_y%" />
3009 <font resource="font" color="%button_text_color%" />
3010 <text>Reflash Recovery</text>
3011 <image resource="main_button" />
3012 <actions>
3013 <action function="set">tw_back=htcdumlock</action>
3014 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3015 <action function="set">tw_text1=Reflash recovery to boot?</action>
3016 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3017 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3018 <action function="set">tw_slider_text=Swipe to Confirm</action>
3019 <action function="page">confirm_action</action>
3020 </actions>
3021 </object>
3022
3023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003024 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003025 <condition var1="tw_show_dumlock" var2="1" />
3026 <placement x="%col1_x%" y="%row2_y%" />
3027 <font resource="font" color="%button_text_color%" />
3028 <text>Install HTC Dumlock</text>
3029 <image resource="main_button" />
3030 <actions>
3031 <action function="set">tw_back=htcdumlock</action>
3032 <action function="set">tw_action=installhtcdumlock</action>
3033 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3034 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3035 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3036 <action function="set">tw_slider_text=Swipe to Confirm</action>
3037 <action function="page">confirm_action</action>
3038 </actions>
3039 </object>
3040
3041 <object type="action">
3042 <touch key="home" />
3043 <action function="page">main</action>
3044 </object>
3045
3046 <object type="action">
3047 <touch key="back" />
3048 <action function="page">advanced</action>
3049 </object>
3050
3051 <object type="template" name="footer" />
3052 </page>
3053
3054 <page name="lock">
3055 <background color="#000000A0" />
3056
3057 <object type="image">
3058 <image resource="unlock-icon" />
3059 <placement x="%lock_x%" y="%lock_y%" />
3060 </object>
3061
3062 <object type="slider">
3063 <placement x="%slider_x%" y="%slider_y%" />
3064 <resource base="slider" used="slider-used" touch="slider-touch" />
3065 <action function="overlay"></action>
3066 </object>
3067
3068 <object type="text" color="%text_color%">
3069 <font resource="font" />
3070 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3071 <text>Swipe to Unlock</text>
3072 </object>
3073 </page>
3074
3075 <page name="filemanagerlist">
3076 <object type="template" name="header" />
3077
3078 <object type="text" color="%text_color%">
3079 <font resource="font" />
3080 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3081 <text>File Manager: Select a File or Folder</text>
3082 </object>
3083
3084 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003085 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3087 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003088 <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 -04003089 <text>%tw_file_location1%</text>
3090 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3091 <sort name="tw_gui_sort_order" />
3092 <icon folder="folder_icon" file="file_icon" />
3093 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003094 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <folders="1" files="1" />
3096 <path name="tw_file_location1" default="/" />
3097 <data name="tw_filename1" />
3098 <selection name="tw_selection1" />
3099 </object>
3100
3101 <object type="template" name="sort_options" />
3102
3103 <object type="action">
3104 <actions>
3105 <action function="set">tw_fm_type=File</action>
3106 <action function="set">tw_fm_isfolder=0</action>
3107 </actions>
3108 </object>
3109
3110 <object type="action">
3111 <touch key="home" />
3112 <action function="page">main</action>
3113 </object>
3114
3115 <object type="action">
3116 <touch key="back" />
3117 <action function="page">advanced</action>
3118 </object>
3119
3120 <object type="action">
3121 <condition var1="tw_filename1" op="modified" />
3122 <actions>
3123 <action function="page">filemanageroptions</action>
3124 </actions>
3125 </object>
3126
3127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3130 <font resource="font" color="%button_text_color%" />
3131 <text>Select</text>
3132 <image resource="medium_button" />
3133 <actions>
3134 <action function="set">tw_filename1=tw_file_location1</action>
3135 <action function="set">tw_fm_isfolder=1</action>
3136 <action function="set">tw_fm_type=Folder</action>
3137 <action function="page">filemanageroptions</action>
3138 </actions>
3139 </object>
3140
3141 <object type="template" name="footer" />
3142 </page>
3143
3144 <page name="filemanageroptions">
3145 <object type="template" name="header" />
3146
3147 <object type="text" color="%text_color%">
3148 <font resource="font" />
3149 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3150 <text>%tw_fm_type% Selected:</text>
3151 </object>
3152
3153 <object type="text" color="%text_color%">
3154 <font resource="font" />
3155 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3156 <text>%tw_filename1%</text>
3157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003161 <condition var1="tw_fm_isfolder" var2="0" />
3162 <placement x="%col1_x%" y="%row2_y%" />
3163 <font resource="font" color="%button_text_color%" />
3164 <text>Copy File</text>
3165 <image resource="main_button" />
3166 <actions>
3167 <action function="set">tw_filemanager_command=cp</action>
3168 <action function="set">tw_fm_text1=Copying</action>
3169 <action function="page">choosedestinationfolder</action>
3170 </actions>
3171 </object>
3172
3173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003174 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003175 <condition var1="tw_fm_isfolder" var2="1" />
3176 <placement x="%col1_x%" y="%row2_y%" />
3177 <font resource="font" color="%button_text_color%" />
3178 <text>Copy Folder</text>
3179 <image resource="main_button" />
3180 <actions>
3181 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3182 <action function="set">tw_fm_text1=Copying</action>
3183 <action function="page">choosedestinationfolder</action>
3184 </actions>
3185 </object>
3186
3187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003189 <placement x="%col2_x%" y="%row2_y%" />
3190 <font resource="font" color="%button_text_color%" />
3191 <text>Move</text>
3192 <image resource="main_button" />
3193 <actions>
3194 <action function="set">tw_filemanager_command=mv</action>
3195 <action function="set">tw_fm_text1=Moving</action>
3196 <action function="page">choosedestinationfolder</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003202 <placement x="%col1_x%" y="%row3_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>chmod 755</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_command=chmod 755</action>
3208 <action function="set">tw_fm_text1=chmod 755</action>
3209 <action function="set">tw_fm_text2=</action>
3210 <action function="set">tw_fm_text3=</action>
3211 <action function="set">tw_include_text3=0</action>
3212 <action function="set">tw_back=filemanageroptions</action>
3213 <action function="page">filemanagerconfirm</action>
3214 </actions>
3215 </object>
3216
3217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003218 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003219 <placement x="%col2_x%" y="%row3_y%" />
3220 <font resource="font" color="%button_text_color%" />
3221 <text>chmod</text>
3222 <image resource="main_button" />
3223 <actions>
3224 <action function="set">tw_filemanager_rename=0000</action>
3225 <action function="set">tw_fm_text2=</action>
3226 <action function="set">tw_fm_text3=</action>
3227 <action function="set">tw_include_text3=0</action>
3228 <action function="set">tw_back=filemanageroptions</action>
3229 <action function="page">filemanagerchmod</action>
3230 </actions>
3231 </object>
3232
3233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003235 <placement x="%col1_x%" y="%row4_y%" />
3236 <font resource="font" color="%button_text_color%" />
3237 <text>Delete</text>
3238 <image resource="main_button" />
3239 <actions>
3240 <action function="set">tw_filemanager_command=rm -rf</action>
3241 <action function="set">tw_fm_text1=Deleting</action>
3242 <action function="set">tw_fm_text2=</action>
3243 <action function="set">tw_fm_text3=</action>
3244 <action function="set">tw_include_text3=0</action>
3245 <action function="set">tw_back=filemanageroptions</action>
3246 <action function="page">filemanagerconfirm</action>
3247 </actions>
3248 </object>
3249
3250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003252 <condition var1="tw_fm_isfolder" var2="0" />
3253 <placement x="%col2_x%" y="%row4_y%" />
3254 <font resource="font" color="%button_text_color%" />
3255 <text>Rename File</text>
3256 <image resource="main_button" />
3257 <actions>
3258 <action function="set">tw_filemanager_rename=tw_selection1</action>
3259 <action function="set">tw_fm_text1=Renaming</action>
3260 <action function="set">tw_filemanager_command=mv</action>
3261 <action function="page">filemanagerrenamefile</action>
3262 </actions>
3263 </object>
3264
3265 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003266 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003267 <condition var1="tw_fm_isfolder" var2="1" />
3268 <placement x="%col2_x%" y="%row4_y%" />
3269 <font resource="font" color="%button_text_color%" />
3270 <text>Rename Folder</text>
3271 <image resource="main_button" />
3272 <actions>
3273 <action function="set">tw_filemanager_rename=tw_selection1</action>
3274 <action function="set">tw_fm_text1=Renaming</action>
3275 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3276 <action function="page">filemanagerrenamefolder</action>
3277 </actions>
3278 </object>
3279
3280 <object type="action">
3281 <touch key="home" />
3282 <action function="page">main</action>
3283 </object>
3284
3285 <object type="action">
3286 <touch key="back" />
3287 <action function="page">filemanagerlist</action>
3288 </object>
3289
3290 <object type="template" name="footer" />
3291 </page>
3292
3293 <page name="choosedestinationfolder">
3294 <object type="template" name="header" />
3295
3296 <object type="text" color="%text_color%">
3297 <font resource="font" />
3298 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3299 <text>Browse to Destination Folder & Press Select</text>
3300 </object>
3301
3302 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003303 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3305 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003306 <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 -04003307 <text>%tw_file_location2%</text>
3308 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3309 <sort name="tw_gui_sort_order" />
3310 <icon folder="folder_icon" file="file_icon" />
3311 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003312 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003313 <filter folders="1" files="0" />
3314 <path name="tw_file_location2" default="/" />
3315 <data name="tw_filename2" />
3316 <selection name="tw_selection2" />
3317 </object>
3318
3319 <object type="template" name="sort_options" />
3320
3321 <object type="action">
3322 <touch key="home" />
3323 <action function="page">main</action>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="back" />
3328 <action function="page">filemanageroptions</action>
3329 </object>
3330
3331 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003332 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003333 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3334 <font resource="font" color="%button_text_color%" />
3335 <text>Select</text>
3336 <image resource="medium_button" />
3337 <actions>
3338 <action function="set">tw_fm_text2=to</action>
3339 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3340 <action function="set">tw_include_text3=1</action>
3341 <action function="set">tw_back=filemanageroptions</action>
3342 <action function="page">filemanagerconfirm</action>
3343 </actions>
3344 </object>
3345
3346 <object type="template" name="footer" />
3347 </page>
3348
3349 <page name="filemanagerrenamefile">
3350 <object type="template" name="header" />
3351
3352 <object type="text" color="%text_color%">
3353 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3354 <font resource="font" />
3355 <text>Please Enter a New %tw_fm_type% Name</text>
3356 </object>
3357
3358 <object type="input">
3359 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3360 <background color="%input_background_color%" />
3361 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3362 <font resource="font" color="%text_color%" />
3363 <text>%tw_filemanager_rename%</text>
3364 <data name="tw_filemanager_rename" />
3365 <restrict minlen="1" maxlen="128" />
3366 <actions>
3367 <action function="set">tw_fm_text2=to</action>
3368 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3369 <action function="set">tw_include_text3=1</action>
3370 <action function="set">tw_back=filemanageroptions</action>
3371 <action function="page">filemanagerconfirm</action>
3372 </actions>
3373 </object>
3374
3375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003377 <placement x="%col_center_x%" y="%row2_y%" />
3378 <font resource="font" color="%button_text_color%" />
3379 <text>Cancel</text>
3380 <image resource="main_button" />
3381 <action function="page">filemanageroptions</action>
3382 </object>
3383
3384 <object type="template" name="keyboardtemplate" />
3385
3386 <object type="action">
3387 <touch key="home" />
3388 <action function="page">main</action>
3389 </object>
3390
3391 <object type="action">
3392 <touch key="back" />
3393 <action function="page">filemanageroptions</action>
3394 </object>
3395
3396 <object type="template" name="footer" />
3397 </page>
3398
3399 <page name="filemanagerrenamefolder">
3400 <object type="template" name="header" />
3401
3402 <object type="text" color="%text_color%">
3403 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3404 <font resource="font" />
3405 <text>Please Enter a New %tw_fm_type% Name</text>
3406 </object>
3407
3408 <object type="input">
3409 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3410 <background color="%input_background_color%" />
3411 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3412 <font resource="font" color="%text_color%" />
3413 <text>%tw_filemanager_rename%</text>
3414 <data name="tw_filemanager_rename" />
3415 <restrict minlen="1" maxlen="128" />
3416 <actions>
3417 <action function="set">tw_fm_text2=to</action>
3418 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3419 <action function="set">tw_include_text3=1</action>
3420 <action function="set">tw_back=filemanageroptions</action>
3421 <action function="page">filemanagerconfirm</action>
3422 </actions>
3423 </object>
3424
3425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003427 <placement x="%col_center_x%" y="%row2_y%" />
3428 <font resource="font" color="%button_text_color%" />
3429 <text>Cancel</text>
3430 <image resource="main_button" />
3431 <action function="page">filemanageroptions</action>
3432 </object>
3433
3434 <object type="template" name="keyboardtemplate" />
3435
3436 <object type="action">
3437 <touch key="home" />
3438 <action function="page">main</action>
3439 </object>
3440
3441 <object type="action">
3442 <touch key="back" />
3443 <action function="page">filemanageroptions</action>
3444 </object>
3445
3446 <object type="template" name="footer" />
3447 </page>
3448
3449 <page name="filemanagerchmod">
3450 <object type="template" name="header" />
3451
3452 <object type="text" color="%text_color%">
3453 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3454 <font resource="font" />
3455 <text>Please Enter New Permissions</text>
3456 </object>
3457
3458 <object type="input">
3459 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3460 <background color="%input_background_color%" />
3461 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3462 <font resource="font" color="%text_color%" />
3463 <text>%tw_filemanager_rename%</text>
3464 <data name="tw_filemanager_rename" />
3465 <restrict minlen="3" maxlen="4" allow="0123456789" />
3466 <actions>
3467 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3468 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3469 <action function="set">tw_back=filemanageroptions</action>
3470 <action function="page">filemanagerconfirm</action>
3471 </actions>
3472 </object>
3473
3474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003475 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003476 <placement x="%col_center_x%" y="%row2_y%" />
3477 <font resource="font" color="%button_text_color%" />
3478 <text>Cancel</text>
3479 <image resource="main_button" />
3480 <action function="page">filemanageroptions</action>
3481 </object>
3482
3483 <object type="template" name="keyboardtemplate" />
3484
3485 <object type="action">
3486 <touch key="home" />
3487 <action function="page">main</action>
3488 </object>
3489
3490 <object type="action">
3491 <touch key="back" />
3492 <action function="page">filemanageroptions</action>
3493 </object>
3494
3495 <object type="template" name="footer" />
3496 </page>
3497
3498 <page name="filemanagerconfirm">
3499 <object type="template" name="header" />
3500
3501 <object type="text" color="%text_color%">
3502 <font resource="font" />
3503 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3504 <text>%tw_fm_text1%</text>
3505 </object>
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3510 <text>%tw_filename1%</text>
3511 </object>
3512
3513 <object type="text" color="%text_color%">
3514 <font resource="font" />
3515 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3516 <text>%tw_fm_text2%</text>
3517 </object>
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3522 <text>%tw_fm_text3%</text>
3523 </object>
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3528 <text>Press back button to cancel.</text>
3529 </object>
3530
3531 <object type="slider">
3532 <placement x="%slider_x%" y="%slider_y%" />
3533 <resource base="slider" used="slider-used" touch="slider-touch" />
3534 <action function="page">filemanageracction</action>
3535 </object>
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3540 <text>Swipe to Confirm</text>
3541 </object>
3542
3543 <object type="action">
3544 <touch key="back" />
3545 <action function="page">%tw_back%</action>
3546 </object>
3547
3548 <object type="action">
3549 <touch key="home" />
3550 <action function="page">main</action>
3551 </object>
3552
3553 <object type="template" name="footer" />
3554 </page>
3555
3556 <page name="filemanageracction">
3557 <object type="template" name="header" />
3558
3559 <object type="text" color="%text_color%">
3560
3561 <font resource="font" />
3562 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3563 <text>%tw_fm_text1%</text>
3564 </object>
3565
3566 <object type="template" name="action_page_console" />
3567
3568 <object type="template" name="progress_bar" />
3569
3570 <object type="action">
3571 <conditions>
3572 <condition var1="tw_operation_state" var2="1" />
3573 <condition var1="tw_operation_status" var2="0" />
3574 </conditions>
3575 <actions>
3576 <action function="set">tw_back=filemanagerlist</action>
3577 <action function="set">tw_complete_text1=File Operation Complete</action>
3578 <action function="page">action_complete</action>
3579 </actions>
3580 </object>
3581
3582 <object type="action">
3583 <conditions>
3584 <condition var1="tw_operation_state" var2="1" />
3585 <condition var1="tw_operation_status" op="!=" var2="0" />
3586 </conditions>
3587 <actions>
3588 <action function="set">tw_complete_text1=File Operation Complete</action>
3589 <action function="page">action_complete</action>
3590 </actions>
3591 </object>
3592
3593 <object type="action">
3594 <condition var1="tw_include_text3" var2="0" />
3595 <actions>
3596 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3597 </actions>
3598 </object>
3599
3600 <object type="action">
3601 <condition var1="tw_include_text3" var2="1" />
3602 <actions>
3603 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3604 </actions>
3605 </object>
3606 </page>
3607
3608 <page name="decrypt">
3609 <object type="template" name="header" />
3610
3611 <object type="text" color="%text_color%">
3612 <font resource="font" />
3613 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3614 <text>Please Enter Your Password</text>
3615 </object>
3616
3617 <object type="input">
3618 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3619 <background color="%input_background_color%" />
3620 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3621 <font resource="font" color="%text_color%" />
3622 <text>%tw_crypto_display%</text>
3623 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3624 <restrict minlen="1" maxlen="254" />
3625 <actions>
3626 <action function="page">trydecrypt</action>
3627 </actions>
3628 </object>
3629
3630 <object type="text" color="%text_fail_color%">
3631 <condition var1="tw_password_fail" var2="1" />
3632 <font resource="font" />
3633 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3634 <text>Password Failed, Please Try Again</text>
3635 </object>
3636
3637 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003638 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003639 <placement x="%col_center_x%" y="%row2_y%" />
3640 <font resource="font" color="%button_text_color%" />
3641 <text>Cancel</text>
3642 <image resource="main_button" />
3643 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003644 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003645 <action function="page">main</action>
3646 </actions>
3647 </object>
3648
3649 <object type="template" name="keyboardtemplate" />
3650
Dees_Troy51a0e822012-09-05 15:24:24 -04003651 <object type="template" name="footer" />
3652 </page>
3653
3654 <page name="trydecrypt">
3655 <object type="template" name="header" />
3656
3657 <object type="text" color="%text_color%">
3658 <font resource="font" />
3659 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3660 <text>Trying Decryption with Your Password</text>
3661 </object>
3662
3663 <object type="template" name="action_page_console" />
3664
3665 <object type="template" name="progress_bar" />
3666
3667 <object type="action">
3668 <action function="decrypt"></action>
3669 </object>
3670
3671 <object type="action">
3672 <conditions>
3673 <condition var1="tw_operation_state" var2="1" />
3674 <condition var1="tw_operation_status" op="!=" var2="0" />
3675 </conditions>
3676 <actions>
3677 <action function="set">tw_password_fail=1</action>
3678 <action function="page">decrypt</action>
3679 </actions>
3680 </object>
3681
3682 <object type="action">
3683 <conditions>
3684 <condition var1="tw_operation_state" var2="1" />
3685 <condition var1="tw_operation_status" op="=" var2="0" />
3686 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003687 <actions>
3688 <action function="set">tw_page_done=1</action>
3689 <action function="page">main</action>
3690 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003691 </object>
3692 </page>
3693
3694 <page name="terminalfolder">
3695 <object type="template" name="header" />
3696
3697 <object type="text" color="%text_color%">
3698 <font resource="font" />
3699 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3700 <text>Browse to Starting Folder</text>
3701 </object>
3702
3703 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003704 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003705 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3706 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003707 <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 -04003708 <text>%tw_terminal_location%</text>
3709 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3710 <sort name="tw_gui_sort_order" />
3711 <icon folder="folder_icon" file="file_icon" />
3712 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003713 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003714 <filter folders="1" files="0" />
3715 <path name="tw_terminal_location" default="/" />
3716 <data name="tw_terminal" />
3717 <selection name="tw_terminal_selection" />
3718 </object>
3719
3720 <object type="template" name="sort_options" />
3721
3722 <object type="action">
3723 <touch key="home" />
3724 <action function="page">main</action>
3725 </object>
3726
3727 <object type="action">
3728 <touch key="back" />
3729 <action function="page">advanced</action>
3730 </object>
3731
3732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003733 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003734 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3735 <font resource="font" color="%button_text_color%" />
3736 <text>Select</text>
3737 <image resource="medium_button" />
3738 <actions>
3739 <action function="page">terminalcommand</action>
3740 </actions>
3741 </object>
3742
3743 <object type="template" name="footer" />
3744 </page>
3745
3746 <page name="terminalcommand">
3747 <object type="template" name="header" />
3748
3749 <object type="console">
3750 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3751 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3752 <font resource="fixed" />
3753 </object>
3754
3755 <object type="text" color="%text_color%">
3756 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3757 <font resource="font" />
3758 <text>Starting Path: %tw_terminal_location%</text>
3759 </object>
3760
3761 <object type="input">
3762 <condition var1="tw_terminal_state" var2="0" />
3763 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3764 <background color="%input_background_color%" />
3765 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3766 <font resource="font" color="%text_color%" />
3767 <text>%tw_terminal_command%</text>
3768 <data name="tw_terminal_command" />
3769 <restrict minlen="1" />
3770 <action function="terminalcommand">%tw_terminal_command%</action>
3771 </object>
3772
3773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003775 <condition var1="tw_terminal_state" var2="1" />
3776 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3777 <font resource="font" color="%button_text_color%" />
3778 <text>KILL</text>
3779 <image resource="medium_button" />
3780 <action function="killterminal"></action>
3781 </object>
3782
3783 <object type="template" name="keyboardtemplate" />
3784
3785 <object type="action">
3786 <touch key="home" />
3787 <action function="page">main</action>
3788 </object>
3789
3790 <object type="action">
3791 <touch key="back" />
3792 <action function="page">terminalfolder</action>
3793 </object>
3794 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003795
3796 <page name="sideload">
3797 <object type="template" name="header" />
3798
3799 <object type="text" color="%text_color%">
3800 <font resource="font" />
3801 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3802 <text>ADB Sideload</text>
3803 </object>
3804
3805 <object type="checkbox">
3806 <placement x="%col1_x%" y="%row2_text_y%" />
3807 <font resource="font" color="%text_color%" />
3808 <text>Wipe Dalvik Cache.</text>
3809 <data variable="tw_wipe_dalvik" />
3810 <image checked="checkbox_true" unchecked="checkbox_false" />
3811 </object>
3812
3813 <object type="checkbox">
3814 <placement x="%col1_x%" y="%row3_text_y%" />
3815 <font resource="font" color="%text_color%" />
3816 <text>Wipe Cache.</text>
3817 <data variable="tw_wipe_cache" />
3818 <image checked="checkbox_true" unchecked="checkbox_false" />
3819 </object>
3820
3821 <object type="slider">
3822 <placement x="%slider_x%" y="%slider_y%" />
3823 <resource base="slider" used="slider-used" touch="slider-touch" />
3824 <actions>
3825 <action function="set">tw_back=advanced</action>
3826 <action function="set">tw_action=adbsideload</action>
3827 <action function="set">tw_action_text1=ADB Sideload</action>
3828 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3829 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3830 <action function="set">tw_has_cancel=1</action>
3831 <action function="set">tw_show_reboot=1</action>
3832 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3833 <action function="page">action_page</action>
3834 </actions>
3835 </object>
3836
3837 <object type="text" color="%text_color%">
3838 <font resource="font" />
3839 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3840 <text>Swipe to Start Sideload</text>
3841 </object>
3842
3843 <object type="action">
3844 <touch key="home" />
3845 <action function="page">main</action>
3846 </object>
3847
3848 <object type="action">
3849 <touch key="back" />
3850 <action function="page">advanced</action>
3851 </object>
3852
3853 <object type="template" name="footer" />
3854 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003855
3856 <page name="installsu">
3857 <object type="template" name="header" />
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3862 <text>Install SuperSU?</text>
3863 </object>
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3868 <text>Your device does not appear to be rooted.</text>
3869 </object>
3870
3871 <object type="text" color="%text_color%">
3872 <font resource="font" />
3873 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3874 <text>Install SuperSU now?</text>
3875 </object>
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3880 <text>This will root your device.</text>
3881 </object>
3882
3883 <object type="button">
3884 <highlight color="%highlight_color%" />
3885 <placement x="%col_center_x%" y="%row3_y%" />
3886 <font resource="font" color="%button_text_color%" />
3887 <text>Do Not Install</text>
3888 <image resource="main_button" />
3889 <action function="set">tw_page_done=1</action>
3890 </object>
3891
3892 <object type="slider">
3893 <placement x="%slider_x%" y="%slider_y%" />
3894 <resource base="slider" used="slider-used" touch="slider-touch" />
3895 <actions>
3896 <action function="set">tw_action=installsu</action>
3897 <action function="set">tw_action_text1=Installing SuperSU</action>
3898 <action function="set">tw_action_text2=</action>
3899 <action function="page">singleaction_page</action>
3900 </actions>
3901 </object>
3902
3903 <object type="text" color="%text_color%">
3904 <font resource="font" />
3905 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3906 <text>Swipe to Install</text>
3907 </object>
3908 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003909 </pages>
3910</recovery>