blob: 369b9941e2a441545cd4237f2e434d01c80968f0 [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" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500121 <variable name="warning" value="#F8F8A0" />
122 <variable name="error" value="#FF4040" />
123 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="192" />
127 <variable name="console_install_height" value="264" />
128 <variable name="console_installdone_height" value="180" />
129 <variable name="fileselector_x" value="3" />
130 <variable name="fileselector_width" value="313" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500131 <variable name="fileselector_install_height" value="284" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="2" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="1" />
138 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_spacing" value="12" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100142 <variable name="fastscroll_linecolor" value="#808080" />
143 <variable name="fastscroll_rectcolor" value="#808080" />
144 <variable name="fastscroll_w" value="27" />
145 <variable name="fastscroll_linew" value="1" />
146 <variable name="fastscroll_rectw" value="18" />
147 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="listbox_x" value="3" />
149 <variable name="listbox_width" value="313" />
Dees_Troyeead9852013-02-15 14:31:06 -0600150 <variable name="listbox_tz_height" value="189" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="listbox_background" value="#303030" />
152 <variable name="listbox_spacing" value="12" />
153 <variable name="sd_plus_x" value="187" />
154 <variable name="sdext_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400155 <variable name="sdext_text_y" value="83" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="sdswap_button_y" value="111" />
157 <variable name="sdswap_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400158 <variable name="sdswap_text_y" value="110" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400159 <variable name="sdfilesystem_text_y" value="144" />
160 <variable name="sdfilesystem_button_y" value="168" />
161 <variable name="lock_x" value="27" />
162 <variable name="lock_y" value="120" />
163 <variable name="filemanager_select_x" value="243" />
164 <variable name="filemanager_select_y" value="414" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400165 <variable name="terminal_console_height" value="220" />
166 <variable name="terminal_text_y" value="225" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400167 <variable name="terminal_button_y" value="220" />
168 <variable name="row_dst_text_y" value="256" />
169 <variable name="row_offset_text_y" value="275" />
170 <variable name="row_offset_medium_y" value="303" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500171 <variable name="button_fill_color" value="#303030" />
172 <variable name="button_fill_full_width" value="304" />
173 <variable name="button_fill_main_width" value="150" />
174 <variable name="button_fill_main_height" value="81" />
175 <variable name="button_fill_half_height" value="40" />
176 <variable name="button_fill_quarter_height" value="24" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000177 <variable name="backup_list_height" value="193" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500178 <variable name="backup_button_row1" value="300" />
179 <variable name="backup_button_row2" value="326" />
180 <variable name="mount_list_height" value="270" />
181 <variable name="mount_storage_row" value="340" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000182 <variable name="storage_list_height" value="290" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500183 <variable name="wipe_list_height" value="270" />
184 <variable name="wipe_button_row1" value="350" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500185 <variable name="wipe_button_y" value="270" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200186 <variable name="slidervalue_w" value="304" />
187 <variable name="slidervalue_line_clr" value="#FFFFFF" />
188 <variable name="slidervalue_slider_clr" value="#33B5E5" />
189 <variable name="slidervalue_lineh" value="1" />
190 <variable name="slidervalue_padding" value="8" />
191 <variable name="slidervalue_sliderw" value="4" />
192 <variable name="slidervalue_sliderh" value="20" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400193 </variables>
194
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100195 <mousecursor>
196 <placement w="15" h="15" />
197 <background color="#FFFF00FF" resource="cursor" />
198 <speed multiplier="1" />
199 </mousecursor>
200
Dees_Troy51a0e822012-09-05 15:24:24 -0400201 <templates>
202 <template name="header">
Dees_Troyb46a6842012-09-25 11:06:46 -0400203 <background color="#000000FF" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400204
205 <object type="image">
206 <image resource="top_bar" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="65" y="3" />
213 <text>TeamWin Recovery v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <condition var1="tw_simulate_actions" var2="1" />
218 <font resource="font" />
219 <placement x="65" y="21" />
220 <text>SIMULATING ACTIONS</text>
221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="65" y="39" />
226 <text>%tw_time%</text>
227 </object>
228
229 <object type="text" color="%text_color%">
230 <font resource="font" />
231 <placement x="165" y="39" />
232 <conditions>
233 <condition var1="tw_no_battery_percent" var2="0" />
234 <condition var1="tw_battery" op=">" var2="0" />
235 <condition var1="tw_battery" op="<" var2="101" />
236 </conditions>
237 <text>Battery: %tw_battery%</text>
238 </object>
239
240 <object type="button">
241 <placement x="%home_button_x%" y="%home_button_y%" />
242 <font resource="font" color="%button_text_color%" />
243 <text></text>
244 <image resource="home_icon" />
245 <condition var1="tw_busy" var2="0" />
246 <action function="key">home</action>
247 </object>
248
249 <object type="button">
250 <placement x="%back_button_x%" y="%back_button_y%" />
251 <font resource="font" color="%button_text_color%" />
252 <text></text>
253 <image resource="back_icon" />
254 <condition var1="tw_busy" var2="0" />
255 <action function="key">back</action>
256 </object>
257
258 <object type="action">
259 <touch key="power" />
260 <action function="overlay">lock</action>
261 </object>
262 </template>
263
264 <template name="progress_bar">
265 <object type="progressbar">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500267 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <data name="ui_progress" />
269 </object>
270
271 <object type="animation">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
273 <resource name="progress" />
274 <speed fps="15" render="2" />
275 <loop frame="1" />
276 </object>
277 </template>
278
279 <template name="action_page_console">
280 <object type="console">
281 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
282 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
283 <font resource="fixed" />
284 </object>
285 </template>
286
287 <template name="sort_options">
288 <object type="text" color="%text_color%">
289 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400290 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400291 <text>Sort Ascending:</text>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400296 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400297 <text>Name</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=1</action>
300 </object>
301
302 <object type="button">
303 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400304 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400305 <text>Date</text>
306 <image resource="sort_button" />
307 <action function="set">tw_gui_sort_order=2</action>
308 </object>
309
310 <object type="button">
311 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400312 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400313 <text>Size</text>
314 <image resource="sort_button" />
315 <action function="set">tw_gui_sort_order=3</action>
316 </object>
317
318 <object type="text" color="%text_color%">
319 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400320 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400321 <text>Sort Descending:</text>
322 </object>
323
324 <object type="button">
325 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400326 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400327 <text>Name</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-1</action>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400334 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400335 <text>Date</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=-2</action>
338 </object>
339
340 <object type="button">
341 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400342 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400343 <text>Size</text>
344 <image resource="sort_button" />
345 <action function="set">tw_gui_sort_order=-3</action>
346 </object>
347 </template>
348
349 <template name="footer">
350 <object type="console">
351 <slideout resource="slideout" x="140" y="456" />
352 <placement x="%console_x%" y="0" w="%console_width%" h="456" />
353 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
354 <font resource="fixed" />
355 </object>
356 </template>
357
358 <template name="keyboardtemplate">
359 <object type="keyboard">
360 <placement x="0" y="253" />
361 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600362 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600363 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400364 <layout1>
365 <keysize height="52" width="32" />
366 <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" />
367 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
368 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
369 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:a:action" />
370 </layout1>
371 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600372 <keysize height="52" width="32" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400373 <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" />
374 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
375 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
376 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:action" />
377 </layout2>
378 <layout3>
379 <keysize height="52" width="32" />
380 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
381 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
382 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
383 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
384 </layout3>
385 <layout4>
386 <keysize height="52" width="32" />
387 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
388 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
389 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" />
390 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
391 </layout4>
392 </object>
393 </template>
394 </templates>
395
396 <pages>
397 <page name="main">
398 <object type="action">
399 <actions>
400 <action function="set">tw_clear_destination=main2</action>
401 <action function="page">clear_vars</action>
402 </actions>
403 </object>
404 </page>
405
406 <page name="main2">
407 <object type="template" name="header" />
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col1_x%" y="%row1_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Install</text>
414 <image resource="main_button" />
415 <actions>
416 <action function="queueclear"></action>
417 <action function="page">install</action>
418 </actions>
419 </object>
420
421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400423 <placement x="%col2_x%" y="%row1_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Wipe</text>
426 <image resource="main_button" />
427 <action function="page">wipe</action>
428 </object>
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row2_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Backup</text>
435 <image resource="main_button" />
436 <action function="page">backup</action>
437 </object>
438
439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400441 <placement x="%col2_x%" y="%row2_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Restore</text>
444 <image resource="main_button" />
445 <action function="page">restore</action>
446 </object>
447
448 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600449 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400450 <placement x="%col1_x%" y="%row3_y%" />
451 <font resource="font" color="%button_text_color%" />
452 <text>Mount</text>
453 <image resource="main_button" />
454 <action function="page">mount</action>
455 </object>
456
457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400459 <placement x="%col2_x%" y="%row3_y%" />
460 <font resource="font" color="%button_text_color%" />
461 <text>Settings</text>
462 <image resource="main_button" />
463 <action function="page">settings</action>
464 </object>
465
466
467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400469 <placement x="%col1_x%" y="%row4_y%" />
470 <font resource="font" color="%button_text_color%" />
471 <text>Advanced</text>
472 <image resource="main_button" />
473 <action function="page">advanced</action>
474 </object>
475
476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400478 <placement x="%col2_x%" y="%row4_y%" />
479 <font resource="font" color="%button_text_color%" />
480 <text>Reboot</text>
481 <image resource="main_button" />
482 <action function="page">reboot</action>
483 </object>
484
485 <object type="template" name="footer" />
486 </page>
487
488 <page name="install">
489 <object type="template" name="header" />
490
491 <object type="text" color="%text_color%">
492 <font resource="font" />
493 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
494 <text>Select Zip to Install</text>
495 </object>
496
497 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500498 <highlight color="%highlight_color%" />
499 <fill color="%button_fill_color%" />
500 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
501 <font resource="font" color="%button_text_color%" />
502 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
503 <actions>
504 <action function="set">tw_back=install</action>
505 <action function="page">selectstorage</action>
506 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 </object>
508
509 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600510 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500511 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100513 <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 -0400514 <text>%tw_zip_location%</text>
515 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
516 <sort name="tw_gui_sort_order" />
517 <icon folder="folder_icon" file="file_icon" />
518 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600519 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400520 <filter extn=".zip" folders="1" files="1" />
521 <path name="tw_zip_location" default="/sdcard" />
522 <data name="tw_filename" />
523 <selection name="tw_file" />
524 </object>
525
526 <object type="template" name="sort_options" />
527
528 <object type="action">
529 <condition var1="tw_filename" op="modified" />
530 <actions>
531 <action function="queuezip"></action>
532 <action function="page">flash_confirm</action>
533 </actions>
534 </object>
535
536 <object type="action">
537 <touch key="back" />
538 <action function="page">main</action>
539 </object>
540
541 <object type="action">
542 <touch key="home" />
543 <action function="page">main</action>
544 </object>
545
546 <object type="template" name="footer" />
547 </page>
548
549 <page name="flash_confirm">
550 <object type="template" name="header" />
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
555 <text>This operation may install incompatible</text>
556 </object>
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
561 <text>software and render your device unusable.</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
567 <text>Folder:</text>
568 </object>
569
570 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400571 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400572 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
573 <text>%tw_zip_location%</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
578 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
579 <text>File to flash:</text>
580 </object>
581
582 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400583 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
585 <text>%tw_file%</text>
586 </object>
587
588 <object type="text" color="%text_color%">
589 <font resource="font" />
590 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
591 <text>Press back to cancel adding this zip.</text>
592 </object>
593
594 <object type="checkbox">
595 <placement x="%col1_x%" y="%row8_text_y%" />
596 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400597 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400598 <data variable="tw_signed_zip_verify" />
599 <image checked="checkbox_true" unchecked="checkbox_false" />
600 </object>
601
602 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400603 <condition var1="tw_has_injecttwrp" var2="1" />
604 <placement x="%col1_x%" y="%row10_text_y%" />
605 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400606 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400607 <data variable="tw_inject_after_zip" />
608 <image checked="checkbox_true" unchecked="checkbox_false" />
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400613 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <text>File %tw_zip_queue_count% of max of 10</text>
615 </object>
616
617 <object type="slider">
618 <placement x="%slider_x%" y="%slider_y%" placement="5" />
619 <resource base="slider" used="slider-used" touch="slider-touch" />
620 <action function="flash">flash_zip</action>
621 </object>
622
623 <object type="text" color="%text_color%">
624 <font resource="font" />
625 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
626 <text>Swipe to Confirm Flash</text>
627 </object>
628
629 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600630 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400631 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
632 <placement x="%col1_x%" y="%row_queue_y%" />
633 <font resource="font" color="%button_text_color%" />
634 <text>Add More Zips</text>
635 <image resource="main_button" />
636 <action function="page">install</action>
637 </object>
638
639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400641 <placement x="%col2_x%" y="%row_queue_y%" />
642 <font resource="font" color="%button_text_color%" />
643 <text>Clear Zip Queue</text>
644 <image resource="main_button" />
645 <actions>
646 <action function="queueclear"></action>
647 <action function="page">install</action>
648 </actions>
649 </object>
650
651 <object type="action">
652 <touch key="back" />
653 <actions>
654 <action function="cancelzip"></action>
655 <action function="page">install</action>
656 </actions>
657 </object>
658
659 <object type="action">
660 <touch key="home" />
661 <action function="page">main</action>
662 </object>
663
664 <object type="template" name="footer" />
665 </page>
666
667 <page name="flash_zip">
668 <object type="template" name="header" />
669
670 <object type="console">
671 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
672 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
673 <font resource="fixed" />
674 </object>
675
676 <object type="text" color="%text_color%">
677 <font resource="font" />
678 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
679 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
680 </object>
681
682 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400683 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400684 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
685 <text>%tw_filename%</text>
686 </object>
687
688 <object type="template" name="progress_bar" />
689
690 <object type="action">
691 <condition var1="tw_operation_state" var2="1" />
692 <action function="page">flash_done</action>
693 </object>
694 </page>
695
696 <page name="flash_done">
697 <object type="template" name="header" />
698
699 <object type="text" color="%text_color%">
700 <font resource="font" />
701 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
702 <text>Zip Install Complete</text>
703 </object>
704
705 <object type="console">
706 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
707 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
708 <font resource="fixed" />
709 </object>
710
711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600712 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400713 <placement x="%col1_x%" y="%row4_y%" />
714 <font resource="font" color="%button_text_color%" />
715 <text>Wipe cache/dalvik</text>
716 <image resource="main_button" />
717 <actions>
718 <action function="set">tw_back=flash_done</action>
719 <action function="set">tw_action=wipe</action>
720 <action function="set">tw_action_param=/cache</action>
721 <action function="set">tw_has_action2=1</action>
722 <action function="set">tw_action2=wipe</action>
723 <action function="set">tw_action2_param=dalvik</action>
724 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
725 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
726 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
727 <action function="set">tw_slider_text=Swipe to Wipe</action>
728 <action function="page">confirm_action</action>
729 </actions>
730 </object>
731
732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600733 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <placement x="%col2_x%" y="%row4_y%" />
735 <font resource="font" color="%button_text_color%" />
736 <text>Reboot System</text>
737 <image resource="main_button" />
738 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400739 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <action function="set">tw_action=reboot</action>
741 <action function="set">tw_action_param=system</action>
742 <action function="set">tw_has_action2=0</action>
743 <action function="set">tw_text1=No OS Installed! Are you</action>
744 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_text3=</action>
746 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400748 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400749 <action function="set">tw_complete_text1=Rebooting...</action>
750 <action function="set">tw_slider_text=Swipe to Reboot</action>
751 <action function="page">rebootcheck</action>
752 </actions>
753 </object>
754
755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <placement x="%col_center_x%" y="%row3_y%" />
758 <font resource="font" color="%button_text_color%" />
759 <text>Home</text>
760 <image resource="main_button" />
761 <actions>
762 <action function="set">tw_clear_destination=main2</action>
763 <action function="page">clear_vars</action>
764 </actions>
765 </object>
766
767 <object type="text" color="%text_fail_color%">
768 <condition var1="tw_operation_status" op="!=" var2="0" />
769 <font resource="font" />
770 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
771 <text>Failed</text>
772 </object>
773
774 <object type="text" color="%text_success_color%">
775 <condition var1="tw_operation_status" var2="0" />
776 <font resource="font" />
777 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
778 <text>Successful</text>
779 </object>
780
781 <object type="action">
782 <touch key="back" />
783 <actions>
784 <action function="set">tw_clear_destination=install</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </object>
788
789 <object type="action">
790 <touch key="home" />
791 <actions>
792 <action function="set">tw_clear_destination=main2</action>
793 <action function="page">clear_vars</action>
794 </actions>
795 </object>
796 </page>
797
798 <page name="clear_vars">
799 <object type="action">
800 <action function="set">tw_operation_state=0</action>
801 <action function="set">tw_text1=</action>
802 <action function="set">tw_text2=</action>
803 <action function="set">tw_text3=</action>
804 <action function="set">tw_text4=</action>
805 <action function="set">tw_action_text1=</action>
806 <action function="set">tw_action_text2=</action>
807 <action function="set">tw_action_param=</action>
808 <action function="set">tw_has_action2=0</action>
809 <action function="set">tw_action2=</action>
810 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400811 <action function="set">tw_has_cancel=0</action>
812 <action function="set">tw_cancel_action=</action>
813 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400814 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400815 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400816 <action function="page">%tw_clear_destination%</action>
817 </object>
818 </page>
819
820 <page name="confirm_action">
821 <object type="template" name="header" />
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
826 <text>%tw_text1%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
832 <text>%tw_text2%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
837 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
838 <text>%tw_text3%</text>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
844 <text>%tw_text4%</text>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400849 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400850 <text>Press back button to cancel.</text>
851 </object>
852
853 <object type="slider">
854 <placement x="%slider_x%" y="%slider_y%" />
855 <resource base="slider" used="slider-used" touch="slider-touch" />
856 <action function="page">action_page</action>
857 </object>
858
859 <object type="text" color="%text_color%">
860 <font resource="font" />
861 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
862 <text>%tw_slider_text%</text>
863 </object>
864
865 <object type="action">
866 <touch key="back" />
867 <actions>
868 <action function="set">tw_clear_destination=%tw_back%</action>
869 <action function="page">clear_vars</action>
870 </actions>
871 </object>
872
873 <object type="action">
874 <touch key="home" />
875 <action function="page">main</action>
876 </object>
877
878 <object type="template" name="footer" />
879 </page>
880
881 <page name="action_page">
882 <object type="template" name="header" />
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
886 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
887 <text>%tw_action_text1%</text>
888 </object>
889
890 <object type="text" color="%text_color%">
891 <font resource="font" />
892 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
893 <text>%tw_action_text2%</text>
894 </object>
895
896 <object type="template" name="action_page_console" />
897
Dees_Troybbb21012012-09-20 15:59:46 -0400898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600899 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400900 <condition var1="tw_has_cancel" var2="1" />
901 <placement x="%col_center_medium_x%" y="%row4_y%" />
902 <font resource="font" color="%button_text_color%" />
903 <text>Cancel</text>
904 <image resource="medium_button" />
905 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
906 </object>
907
Dees_Troy51a0e822012-09-05 15:24:24 -0400908 <object type="template" name="progress_bar" />
909
910 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400911 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400912 <actions>
913 <action function="page">action_complete</action>
914 </actions>
915 </object>
916
917 <object type="action">
918 <condition var1="tw_has_action2" var2="0" />
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 </actions>
922 </object>
923
924 <object type="action">
925 <condition var1="tw_has_action2" var2="1" />
926 <actions>
927 <action function="%tw_action%">%tw_action_param%</action>
928 <action function="%tw_action2%">%tw_action2_param%</action>
929 </actions>
930 </object>
931 </page>
932
Dees_Troy6ef66352013-02-21 08:26:57 -0600933 <page name="singleaction_page">
934 <object type="template" name="header" />
935
936 <object type="text" color="%text_color%">
937 <font resource="font" />
938 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
939 <text>%tw_action_text1%</text>
940 </object>
941
942 <object type="text" color="%text_color%">
943 <font resource="font" />
944 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
945 <text>%tw_action_text2%</text>
946 </object>
947
948 <object type="template" name="action_page_console" />
949
950 <object type="template" name="progress_bar" />
951
952 <object type="action">
953 <condition var1="tw_operation_state" var2="1" />
954 <actions>
955 <action function="set">tw_page_done=1</action>
956 </actions>
957 </object>
958
959 <object type="action">
960 <condition var1="tw_has_action2" var2="0" />
961 <actions>
962 <action function="%tw_action%">%tw_action_param%</action>
963 </actions>
964 </object>
965
966 <object type="action">
967 <condition var1="tw_has_action2" var2="1" />
968 <actions>
969 <action function="%tw_action%">%tw_action_param%</action>
970 <action function="%tw_action2%">%tw_action2_param%</action>
971 </actions>
972 </object>
973 </page>
974
Dees_Troy51a0e822012-09-05 15:24:24 -0400975 <page name="action_complete">
976 <object type="template" name="header" />
977
978 <object type="text" color="%text_color%">
979 <font resource="font" />
980 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
981 <text>%tw_complete_text1%</text>
982 </object>
983
984 <object type="text" color="%text_fail_color%">
985 <condition var1="tw_operation_status" op="!=" var2="0" />
986 <font resource="font" />
987 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
988 <text>Failed</text>
989 </object>
990
991 <object type="text" color="%text_success_color%">
992 <condition var1="tw_operation_status" var2="0" />
993 <font resource="font" />
994 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
995 <text>Successful</text>
996 </object>
997
998 <object type="template" name="action_page_console" />
999
1000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001001 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001002 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001003 <placement x="%col_center_x%" y="%row4_y%" />
1004 <font resource="font" color="%button_text_color%" />
1005 <text>Back</text>
1006 <image resource="main_button" />
1007 <actions>
1008 <action function="set">tw_clear_destination=%tw_back%</action>
1009 <action function="page">clear_vars</action>
1010 </actions>
1011 </object>
1012
Dees_Troya3f81542012-10-08 10:58:53 -04001013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001014 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001015 <condition var1="tw_show_reboot" var2="1" />
1016 <placement x="%col_center_x%" y="%row4_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Reboot System</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_back=main2</action>
1022 <action function="set">tw_action=reboot</action>
1023 <action function="set">tw_action_param=system</action>
1024 <action function="set">tw_has_action2=0</action>
1025 <action function="set">tw_text1=No OS Installed! Are you</action>
1026 <action function="set">tw_text2=sure you wish to reboot?</action>
1027 <action function="set">tw_text3=</action>
1028 <action function="set">tw_text4=</action>
1029 <action function="set">tw_action_text1=Rebooting...</action>
1030 <action function="set">tw_action_text2=</action>
1031 <action function="set">tw_complete_text1=Rebooting...</action>
1032 <action function="set">tw_slider_text=Swipe to Reboot</action>
1033 <action function="page">rebootcheck</action>
1034 </actions>
1035 </object>
1036
Dees_Troy51a0e822012-09-05 15:24:24 -04001037 <object type="action">
1038 <touch key="home" />
1039 <actions>
1040 <action function="set">tw_clear_destination=main2</action>
1041 <action function="page">clear_vars</action>
1042 </actions>
1043 </object>
1044
1045 <object type="action">
1046 <touch key="back" />
1047 <actions>
1048 <action function="set">tw_clear_destination=%tw_back%</action>
1049 <action function="page">clear_vars</action>
1050 </actions>
1051 </object>
1052 </page>
1053
1054 <page name="filecheck">
1055 <object type="action">
1056 <action function="fileexists">%tw_filecheck%</action>
1057 </object>
1058
1059 <object type="action">
1060 <conditions>
1061 <condition var1="tw_operation_state" var2="1" />
1062 <condition var1="tw_operation_status" var2="0" />
1063 </conditions>
1064 <actions>
1065 <action function="set">tw_fileexists=1</action>
1066 <action function="page">%tw_existpage%</action>
1067 </actions>
1068 </object>
1069
1070 <object type="action">
1071 <conditions>
1072 <condition var1="tw_operation_state" var2="1" />
1073 <condition var1="tw_operation_status" var2="1" />
1074 </conditions>
1075 <actions>
1076 <action function="set">tw_fileexists=0</action>
1077 <action function="page">%tw_notexistpage%</action>
1078 </actions>
1079 </object>
1080 </page>
1081
1082 <page name="rebootcheck">
1083 <object type="action">
1084 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1085 <action function="reboot">%tw_action_param%</action>
1086 </object>
1087
1088 <object type="action">
1089 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1090 <action function="page">confirm_action</action>
1091 </object>
1092 </page>
1093
1094 <page name="wipe">
1095 <object type="template" name="header" />
1096
1097 <object type="text" color="%text_color%">
1098 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001099 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001100 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1106 <text>Wipes Data, Cache, and Dalvik</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001110 <conditions>
1111 <condition var1="tw_has_android_secure" var2="1" />
1112 <condition var1="fileexists" var2="/and-sec" />
1113 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001114 <font resource="font" />
1115 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1116 <text>.android_secure</text>
1117 </object>
1118
1119 <object type="text" color="%text_color%">
1120 <condition var1="tw_has_data_media" var2="1" />
1121 <font resource="font" />
1122 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1123 <text>(not including internal storage)</text>
1124 </object>
1125
1126 <object type="text" color="%text_color%">
1127 <condition var1="tw_has_sdext_partition" var2="1" />
1128 <font resource="font" />
1129 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1130 <text>SD-EXT</text>
1131 </object>
1132
1133 <object type="text" color="%text_color%">
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1136 <text>Most of the time this is</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <font resource="font" />
1141 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1142 <text>the only wipe that you need.</text>
1143 </object>
1144
1145 <object type="text" color="%text_color%">
1146 <font resource="font" />
1147 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1148 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 </object>
1150
1151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001152 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001153 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001155 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001157 <actions>
1158 <action function="set">partitionlisterror=0</action>
1159 <action function="page">advancedwipe</action>
1160 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001161 </object>
1162
1163 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 <conditions>
1165 <condition var1="tw_has_internal" var2="1" />
1166 <condition var1="tw_has_data_media" var2="1" />
1167 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <highlight color="%highlight_color%" />
1169 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001170 <font resource="font" color="%button_text_color%" />
1171 <text>Format Data</text>
1172 <image resource="main_button" />
1173 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001174 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 </actions>
1176 </object>
1177
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <object type="slider">
1179 <placement x="%slider_x%" y="%slider_y%" />
1180 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001181 <actions>
1182 <action function="set">tw_back=wipe</action>
1183 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001184 <action function="set">tw_action_param=data</action>
1185 <action function="set">tw_action_text1=Factory Reset...</action>
1186 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1187 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001188 </actions>
1189 </object>
1190
Dees_Troya13d74f2013-03-24 08:54:55 -05001191 <object type="text" color="%text_color%">
1192 <font resource="font" />
1193 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1194 <text>Swipe to Factory Reset</text>
1195 </object>
1196
1197 <object type="action">
1198 <touch key="back" />
1199 <action function="page">main</action>
1200 </object>
1201
1202 <object type="action">
1203 <touch key="home" />
1204 <action function="page">main</action>
1205 </object>
1206
1207 <object type="template" name="footer" />
1208 </page>
1209
1210 <page name="advancedwipe">
1211 <object type="template" name="header" />
1212
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001213 <object type="action">
1214 <action function="set">tw_wipe_list=</action>
1215 </object>
1216
Dees_Troya13d74f2013-03-24 08:54:55 -05001217 <object type="text" color="%text_color%">
1218 <font resource="font" />
1219 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1220 <text>Wipe Menu</text>
1221 </object>
1222
1223 <object type="partitionlist">
1224 <highlight color="%fileselector_highlight_color%" />
1225 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1226 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1227 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1228 <text>Select Partitions to Wipe:</text>
1229 <icon selected="checkbox_true" unselected="checkbox_false" />
1230 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1231 <background color="%listbox_background%" />
1232 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1233 <data name="tw_wipe_list" />
1234 <listtype name="wipe" />
1235 </object>
1236
1237 <object type="slider">
1238 <placement x="%slider_x%" y="%slider_y%" />
1239 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001240 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001243 <action function="set">tw_action_param=LIST</action>
1244 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1245 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1246 <action function="set">tw_complete_text1=Wipe Complete</action>
1247 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001248 </actions>
1249 </object>
1250
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001251 <object type="button">
1252 <highlight color="%highlight_color%" />
1253 <fill color="%button_fill_color%" />
1254 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1255 <font resource="font" color="%button_text_color%" />
1256 <text>Repair or Change File System</text>
1257 <actions>
1258 <action function="checkpartitionlist"></action>
1259 <action function="page">checkpartitionlist</action>
1260 </actions>
1261 </object>
1262
1263 <object type="text" color="%text_fail_color%">
1264 <condition var1="partitionlisterror" var2="1" />
1265 <font resource="font" />
1266 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1267 <text>Invalid partition selection</text>
1268 </object>
1269
Dees_Troya13d74f2013-03-24 08:54:55 -05001270 <object type="text" color="%text_color%">
1271 <font resource="font" />
1272 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1273 <text>Swipe to Wipe</text>
1274 </object>
1275
Dees_Troy51a0e822012-09-05 15:24:24 -04001276 <object type="action">
1277 <touch key="home" />
1278 <action function="page">main</action>
1279 </object>
1280
1281 <object type="action">
1282 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001283 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001284 </object>
1285
1286 <object type="template" name="footer" />
1287 </page>
1288
Dees_Troya13d74f2013-03-24 08:54:55 -05001289 <page name="formatdata">
1290 <object type="template" name="header" />
1291
1292 <object type="text" color="%text_color%">
1293 <font resource="font" />
1294 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1295 <text>Format Data will wipe all of your apps,</text>
1296 </object>
1297
1298 <object type="text" color="%text_color%">
1299 <font resource="font" />
1300 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1301 <text>backups, pictures, videos, media, and</text>
1302 </object>
1303
1304 <object type="text" color="%text_color%">
1305 <font resource="font" />
1306 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1307 <text>removes encryption on internal storage.</text>
1308 </object>
1309
1310 <object type="text" color="%text_color%">
1311 <font resource="font" />
1312 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1313 <text>This cannot be undone. Press back to cancel.</text>
1314 </object>
1315
1316 <object type="text" color="%text_color%">
1317 <font resource="font" />
1318 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1319 <text>Type yes to continue.</text>
1320 </object>
1321
1322 <object type="input">
1323 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1324 <background color="%input_background_color%" />
1325 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1326 <font resource="font" color="%text_color%" />
1327 <text>%tw_confirm_formatdata%</text>
1328 <data name="tw_confirm_formatdata" />
1329 <restrict minlen="3" maxlen="3" allow="yes" />
1330 <action function="page">formatdata_confirm</action>
1331 </object>
1332
1333 <object type="template" name="keyboardtemplate" />
1334
1335 <object type="action">
1336 <touch key="home" />
1337 <action function="page">main</action>
1338 </object>
1339
1340 <object type="action">
1341 <touch key="back" />
1342 <action function="page">wipe</action>
1343 </object>
1344
1345 <object type="template" name="footer" />
1346 </page>
1347
1348 <page name="formatdata_confirm">
1349 <object type="action">
1350 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1351 <actions>
1352 <action function="set">tw_back=formatdata</action>
1353 <action function="set">tw_action=wipe</action>
1354 <action function="set">tw_action_param=DATAMEDIA</action>
1355 <action function="set">tw_action_text1=Formatting Data...</action>
1356 <action function="set">tw_complete_text1=Data Format Complete</action>
1357 <action function="page">action_page</action>
1358 </actions>
1359 </object>
1360
1361 <object type="action">
1362 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1363 <action function="page">formatdata</function>
1364 </object>
1365 </page>
1366
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001367 <page name="checkpartitionlist">
1368 <object type="action">
1369 <condition var1="tw_check_partition_list" op="=" var2="1" />
1370 <actions>
1371 <action function="set">partitionlisterror=0</action>
1372 <action function="getpartitiondetails"></action>
1373 <action function="page">partitionoptions</action>
1374 </actions>
1375 </object>
1376
1377 <object type="action">
1378 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1379 <actions>
1380 <action function="set">partitionlisterror=1</action>
1381 <action function="set">tw_wipe_list=</action>
1382 <action function="page">advancedwipe</action>
1383 </actions>
1384 </object>
1385 </page>
1386
1387 <page name="partitionoptions">
1388 <object type="template" name="header" />
1389
1390 <object type="text" color="%text_color%">
1391 <font resource="font" />
1392 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1393 <text>Partition Options for: %tw_partition_name%</text>
1394 </object>
1395
1396 <object type="text" color="%text_color%">
1397 <font resource="font" />
1398 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1399 <text>Mount Point: %tw_partition_mount_point%</text>
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <font resource="font" />
1404 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1405 <text>Current file system: %tw_partition_file_system%</text>
1406 </object>
1407
1408 <object type="text" color="%text_color%">
1409 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1410 <font resource="font" />
1411 <placement x="%col1_x%" y="%row3_text_y%" />
1412 <text>Present: Yes</text>
1413 </object>
1414
1415 <object type="text" color="%text_color%">
1416 <condition var1="tw_partition_is_present" op="=" var2="0" />
1417 <font resource="font" />
1418 <placement x="%col1_x%" y="%row3_text_y%" />
1419 <text>Present: No</text>
1420 </object>
1421
1422 <object type="text" color="%text_color%">
1423 <condition var1="tw_partition_removable" op="!=" var2="0" />
1424 <font resource="font" />
1425 <placement x="%col2_x%" y="%row3_text_y%" />
1426 <text>Removable: Yes</text>
1427 </object>
1428
1429 <object type="text" color="%text_color%">
1430 <condition var1="tw_partition_removable" op="=" var2="0" />
1431 <font resource="font" />
1432 <placement x="%col2_x%" y="%row3_text_y%" />
1433 <text>Removable: No</text>
1434 </object>
1435
1436 <object type="text" color="%text_color%">
1437 <font resource="font" />
1438 <placement x="%col1_x%" y="%row4_text_y%" />
1439 <text>Size: %tw_partition_size%MB</text>
1440 </object>
1441
1442 <object type="text" color="%text_color%">
1443 <font resource="font" />
1444 <placement x="%col2_x%" y="%row4_text_y%" />
1445 <text>Used: %tw_partition_used%MB</text>
1446 </object>
1447
1448 <object type="text" color="%text_color%">
1449 <font resource="font" />
1450 <placement x="%col1_x%" y="%row5_text_y%" />
1451 <text>Free: %tw_partition_free%MB</text>
1452 </object>
1453
1454 <object type="text" color="%text_color%">
1455 <font resource="font" />
1456 <placement x="%col2_x%" y="%row5_text_y%" />
1457 <text>Backup Size: %tw_partition_backup_size%MB</text>
1458 </object>
1459
1460 <object type="button">
1461 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1462 <highlight color="%highlight_color%" />
1463 <placement x="%col1_x%" y="%row4_y%" />
1464 <font resource="font" color="%button_text_color%" />
1465 <text>Repair</text>
1466 <image resource="main_button" />
1467 <actions>
1468 <action function="set">tw_back=partitionoptions</action>
1469 <action function="set">tw_action=repair</action>
1470 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1471 <action function="set">tw_has_action2=0</action>
1472 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1473 <action function="set">tw_text2=</action>
1474 <action function="set">tw_action_text1=Repairing...</action>
1475 <action function="set">tw_complete_text1=Repair Complete</action>
1476 <action function="set">tw_slider_text=Swipe to Repair</action>
1477 <action function="page">confirm_action</action>
1478 </actions>
1479 </object>
1480
1481 <object type="button">
1482 <highlight color="%highlight_color%" />
1483 <placement x="%col2_x%" y="%row4_y%" />
1484 <font resource="font" color="%button_text_color%" />
1485 <text>Change File System</text>
1486 <image resource="main_button" />
1487 <action function="page">selectfilesystem</action>
1488 </object>
1489
1490 <object type="action">
1491 <touch key="home" />
1492 <action function="page">main</action>
1493 </object>
1494
1495 <object type="action">
1496 <touch key="back" />
1497 <action function="page">advancedwipe</action>
1498 </object>
1499
1500 <object type="template" name="footer" />
1501 </page>
1502
1503 <page name="selectfilesystem">
1504 <object type="template" name="header" />
1505
1506 <object type="text" color="%text_color%">
1507 <font resource="font" />
1508 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1509 <text>Change file system for: %tw_partition_name%</text>
1510 </object>
1511
1512 <object type="text" color="%text_color%">
1513 <font resource="font" />
1514 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1515 <text>Mount Point: %tw_partition_mount_point%</text>
1516 </object>
1517
1518 <object type="text" color="%text_color%">
1519 <font resource="font" />
1520 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1521 <text>Current file system: %tw_partition_file_system%</text>
1522 </object>
1523
1524 <object type="text" color="%text_color%">
1525 <font resource="font" />
1526 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1527 <text>Some ROMs or kernels may not support some</text>
1528 </object>
1529
1530 <object type="text" color="%text_color%">
1531 <font resource="font" />
1532 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1533 <text>file systems. Proceed with caution!</text>
1534 </object>
1535
1536 <object type="button">
1537 <condition var1="tw_partition_ext" op="=" var2="1" />
1538 <highlight color="%highlight_color%" />
1539 <placement x="%col1_x%" y="%row2_y%" />
1540 <font resource="font" color="%button_text_color%" />
1541 <text>EXT2</text>
1542 <image resource="main_button" />
1543 <actions>
1544 <action function="set">tw_back=selectfilesystem</action>
1545 <action function="set">tw_action=changefilesystem</action>
1546 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1547 <action function="set">tw_action_new_file_system=ext2</action>
1548 <action function="set">tw_has_action2=0</action>
1549 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1550 <action function="set">tw_text2=</action>
1551 <action function="set">tw_action_text1=Formatting...</action>
1552 <action function="set">tw_complete_text1=Format Complete</action>
1553 <action function="set">tw_slider_text=Swipe to Change</action>
1554 <action function="page">confirm_action</action>
1555 </actions>
1556 </object>
1557
1558 <object type="button">
1559 <condition var1="tw_partition_ext" op="=" var2="1" />
1560 <highlight color="%highlight_color%" />
1561 <placement x="%col2_x%" y="%row2_y%" />
1562 <font resource="font" color="%button_text_color%" />
1563 <text>EXT3</text>
1564 <image resource="main_button" />
1565 <actions>
1566 <action function="set">tw_back=selectfilesystem</action>
1567 <action function="set">tw_action=changefilesystem</action>
1568 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1569 <action function="set">tw_action_new_file_system=ext3</action>
1570 <action function="set">tw_has_action2=0</action>
1571 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1572 <action function="set">tw_text2=</action>
1573 <action function="set">tw_action_text1=Formatting...</action>
1574 <action function="set">tw_complete_text1=Format Complete</action>
1575 <action function="set">tw_slider_text=Swipe to Change</action>
1576 <action function="page">confirm_action</action>
1577 </actions>
1578 </object>
1579
1580 <object type="button">
1581 <condition var1="tw_partition_ext" op="=" var2="1" />
1582 <highlight color="%highlight_color%" />
1583 <placement x="%col1_x%" y="%row3_y%" />
1584 <font resource="font" color="%button_text_color%" />
1585 <text>EXT4</text>
1586 <image resource="main_button" />
1587 <actions>
1588 <action function="set">tw_back=selectfilesystem</action>
1589 <action function="set">tw_action=changefilesystem</action>
1590 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1591 <action function="set">tw_action_new_file_system=ext4</action>
1592 <action function="set">tw_has_action2=0</action>
1593 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1594 <action function="set">tw_text2=</action>
1595 <action function="set">tw_action_text1=Formatting...</action>
1596 <action function="set">tw_complete_text1=Format Complete</action>
1597 <action function="set">tw_slider_text=Swipe to Change</action>
1598 <action function="page">confirm_action</action>
1599 </actions>
1600 </object>
1601
1602 <object type="button">
1603 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1604 <highlight color="%highlight_color%" />
1605 <placement x="%col2_x%" y="%row3_y%" />
1606 <font resource="font" color="%button_text_color%" />
1607 <text>F2FS</text>
1608 <image resource="main_button" />
1609 <actions>
1610 <action function="set">tw_back=selectfilesystem</action>
1611 <action function="set">tw_action=changefilesystem</action>
1612 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1613 <action function="set">tw_action_new_file_system=f2fs</action>
1614 <action function="set">tw_has_action2=0</action>
1615 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1616 <action function="set">tw_text2=</action>
1617 <action function="set">tw_action_text1=Formatting...</action>
1618 <action function="set">tw_complete_text1=Format Complete</action>
1619 <action function="set">tw_slider_text=Swipe to Change</action>
1620 <action function="page">confirm_action</action>
1621 </actions>
1622 </object>
1623
1624 <object type="button">
1625 <condition var1="tw_partition_vfat" op="=" var2="1" />
1626 <highlight color="%highlight_color%" />
1627 <placement x="%col1_x%" y="%row4_y%" />
1628 <font resource="font" color="%button_text_color%" />
1629 <text>FAT</text>
1630 <image resource="main_button" />
1631 <actions>
1632 <action function="set">tw_back=selectfilesystem</action>
1633 <action function="set">tw_action=changefilesystem</action>
1634 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1635 <action function="set">tw_action_new_file_system=vfat</action>
1636 <action function="set">tw_has_action2=0</action>
1637 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1638 <action function="set">tw_text2=</action>
1639 <action function="set">tw_action_text1=Formatting...</action>
1640 <action function="set">tw_complete_text1=Format Complete</action>
1641 <action function="set">tw_slider_text=Swipe to Change</action>
1642 <action function="page">confirm_action</action>
1643 </actions>
1644 </object>
1645
1646 <object type="button">
1647 <condition var1="tw_partition_exfat" op="=" var2="1" />
1648 <highlight color="%highlight_color%" />
1649 <placement x="%col2_x%" y="%row4_y%" />
1650 <font resource="font" color="%button_text_color%" />
1651 <text>exFAT</text>
1652 <image resource="main_button" />
1653 <actions>
1654 <action function="set">tw_back=selectfilesystem</action>
1655 <action function="set">tw_action=changefilesystem</action>
1656 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1657 <action function="set">tw_action_new_file_system=exfat</action>
1658 <action function="set">tw_has_action2=0</action>
1659 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1660 <action function="set">tw_text2=</action>
1661 <action function="set">tw_action_text1=Formatting...</action>
1662 <action function="set">tw_complete_text1=Format Complete</action>
1663 <action function="set">tw_slider_text=Swipe to Change</action>
1664 <action function="page">confirm_action</action>
1665 </actions>
1666 </object>
1667
1668 <object type="action">
1669 <touch key="home" />
1670 <action function="page">main</action>
1671 </object>
1672
1673 <object type="action">
1674 <touch key="back" />
1675 <action function="page">partitionoptions</action>
1676 </object>
1677
1678 <object type="template" name="footer" />
1679 </page>
1680
Dees_Troy51a0e822012-09-05 15:24:24 -04001681 <page name="backup">
1682 <object type="template" name="header" />
1683
Dees_Troy83bd4832013-05-04 12:39:56 +00001684 <object type="button">
1685 <highlight color="%highlight_color%" />
1686 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001687 <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 +00001688 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001689 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001690 <actions>
1691 <action function="set">tw_fileexists=0</action>
1692 <action function="page">backupname1</action>
1693 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001694 </object>
1695
Dees_Troya13d74f2013-03-24 08:54:55 -05001696 <object type="partitionlist">
1697 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001698 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001699 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1700 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1701 <text>Select Partitions to Back Up:</text>
1702 <icon selected="checkbox_true" unselected="checkbox_false" />
1703 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1704 <background color="%listbox_background%" />
1705 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1706 <data name="tw_backup_list" />
1707 <listtype name="backup" />
1708 </object>
1709
1710 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001711 <conditions>
1712 <condition var1="tw_include_encrypted_backup" var2="1" />
1713 <condition var1="tw_encrypt_backup" var2="0" />
1714 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001715 <highlight color="%highlight_color%" />
1716 <fill color="%button_fill_color%" />
1717 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1718 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001719 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001720 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001721 <action function="page">backupencryption</action>
1722 </actions>
1723 </object>
1724
1725 <object type="button">
1726 <conditions>
1727 <condition var1="tw_include_encrypted_backup" var2="1" />
1728 <condition var1="tw_encrypt_backup" var2="1" />
1729 </conditions>
1730 <highlight color="%highlight_color%" />
1731 <fill color="%button_fill_color%" />
1732 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1733 <font resource="font" color="%button_text_color%" />
1734 <text>Using Encryption</text>
1735 <actions>
1736 <action function="set">tw_password_not_match=0</action>
1737 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001738 </actions>
1739 </object>
1740
1741 <object type="button">
1742 <highlight color="%highlight_color%" />
1743 <fill color="%button_fill_color%" />
1744 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1745 <font resource="font" color="%button_text_color%" />
1746 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001747 <actions>
1748 <action function="refreshsizes"></action>
1749 <action function="page">backup</action>
1750 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001751 </object>
1752
1753 <object type="button">
1754 <highlight color="%highlight_color%" />
1755 <fill color="%button_fill_color%" />
1756 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1757 <font resource="font" color="%button_text_color%" />
1758 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1759 <actions>
1760 <action function="set">tw_back=backup</action>
1761 <action function="page">selectstorage</action>
1762 </actions>
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%col1_x%" y="%row15_text_y%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>Enable compression.</text>
1769 <data variable="tw_use_compression" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <placement x="%col1_x%" y="%row16_text_y%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>Skip MD5 generation during backup.</text>
1777 <data variable="tw_skip_md5_generate" />
1778 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001779 </object>
1780
1781 <object type="slider">
1782 <placement x="%slider_x%" y="slider_y" />
1783 <resource base="slider" used="slider-used" touch="slider-touch" />
1784 <action function="page">backup_run</action>
1785 </object>
1786
1787 <object type="text" color="%text_color%">
1788 <font resource="font" />
1789 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1790 <text>Swipe to Back Up</text>
1791 </object>
1792
Dees_Troy51a0e822012-09-05 15:24:24 -04001793 <object type="action">
1794 <touch key="home" />
1795 <action function="page">main</action>
1796 </object>
1797
1798 <object type="action">
1799 <touch key="back" />
1800 <action function="page">main</action>
1801 </object>
1802
1803 <object type="template" name="footer" />
1804 </page>
1805
1806 <page name="backupname1">
1807 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001808 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1809 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001810 </object>
1811
1812 <object type="action">
1813 <action function="page">backupname2</function>
1814 </object>
1815 </page>
1816
1817 <page name="backupname2">
1818 <object type="template" name="header" />
1819
1820 <object type="text" color="%text_color%">
1821 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1822 <font resource="font" />
1823 <text>Please Enter a Backup Name</text>
1824 </object>
1825
1826 <object type="input">
1827 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1828 <background color="%input_background_color%" />
1829 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1830 <font resource="font" color="%text_color%" />
1831 <text>%tw_backup_name%</text>
1832 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001833 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001834 <actions>
1835 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1836 <action function="set">tw_existpage=backupname2</action>
1837 <action function="set">tw_notexistpage=backup</action>
1838 <action function="page">filecheck</action>
1839 </actions>
1840 </object>
1841
1842 <object type="text" color="%text_fail_color%">
1843 <condition var1="tw_fileexists" var2="1" />
1844 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1845 <font resource="font" />
1846 <text>A backup with that name already exists!</text>
1847 </object>
1848
1849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001850 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001851 <placement x="%col1_x%" y="%row2_y%" />
1852 <font resource="font" color="%button_text_color%" />
1853 <text>Append Date</text>
1854 <image resource="main_button" />
1855 <action function="appenddatetobackupname"></action>
1856 </object>
1857
1858 <object type="button">
1859 <highlight color="%highlight_color%" />
1860 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001861 <font resource="font" color="%button_text_color%" />
1862 <text>Cancel</text>
1863 <image resource="main_button" />
1864 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001865 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001866 <action function="page">backup</action>
1867 </actions>
1868 </object>
1869
1870 <object type="template" name="keyboardtemplate" />
1871
1872 <object type="action">
1873 <touch key="home" />
1874 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001875 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001876 <action function="page">main</action>
1877 </actions>
1878 </object>
1879
1880 <object type="action">
1881 <touch key="back" />
1882 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001883 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001884 <action function="page">backup</action>
1885 </actions>
1886 </object>
1887
1888 <object type="template" name="footer" />
1889 </page>
1890
Dees_Troy83bd4832013-05-04 12:39:56 +00001891 <page name="backupencryption">
1892 <object type="template" name="header" />
1893
1894 <object type="text" color="%text_color%">
1895 <font resource="font" />
1896 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1897 <text>Encrypt your backup?</text>
1898 </object>
1899
1900 <object type="text" color="%text_color%">
1901 <font resource="font" />
1902 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1903 <text>Please Enter A Password:</text>
1904 </object>
1905
1906 <object type="input">
1907 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1908 <background color="%input_background_color%" />
1909 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1910 <font resource="font" color="%text_color%" />
1911 <text>%tw_backup_encrypt_display%</text>
1912 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1913 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1914 <action function="page">backupencryption2</action>
1915 </object>
1916
1917 <object type="text" color="%text_fail_color%">
1918 <condition var1="tw_password_not_match" var2="1" />
1919 <font resource="font" />
1920 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1921 <text>Passwords Do Not Match</text>
1922 </object>
1923
1924 <object type="button">
1925 <highlight color="%highlight_color%" />
1926 <placement x="%col_center_x%" y="%row2_y%" />
1927 <font resource="font" color="%button_text_color%" />
1928 <text>Cancel</text>
1929 <image resource="main_button" />
1930 <actions>
1931 <action function="set">tw_encrypt_backup=0</action>
1932 <action function="set">tw_backup_password=</action>
1933 <action function="set">tw_backup_password2=</action>
1934 <action function="set">tw_backup_encrypt_display=</action>
1935 <action function="set">tw_backup_encrypt_display2=</action>
1936 <action function="page">backup</action>
1937 </actions>
1938 </object>
1939
1940 <object type="template" name="keyboardtemplate" />
1941
1942 <object type="action">
1943 <touch key="home" />
1944 <action function="page">main</action>
1945 </object>
1946
1947 <object type="action">
1948 <touch key="back" />
1949 <action function="page">backup</action>
1950 </object>
1951
1952 <object type="template" name="footer" />
1953 </page>
1954
1955 <page name="backupencryption2">
1956 <object type="template" name="header" />
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1961 <text>Encrypt your backup?</text>
1962 </object>
1963
1964 <object type="text" color="%text_color%">
1965 <font resource="font" />
1966 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1967 <text>Please Enter Password Again:</text>
1968 </object>
1969
1970 <object type="input">
1971 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1972 <background color="%input_background_color%" />
1973 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1974 <font resource="font" color="%text_color%" />
1975 <text>%tw_backup_encrypt_display2%</text>
1976 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1977 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1978 <actions>
1979 <action function="page">checkbackuppassword</action>
1980 </actions>
1981 </object>
1982
1983 <object type="button">
1984 <highlight color="%highlight_color%" />
1985 <placement x="%col_center_x%" y="%row2_y%" />
1986 <font resource="font" color="%button_text_color%" />
1987 <text>Cancel</text>
1988 <image resource="main_button" />
1989 <actions>
1990 <action function="set">tw_encrypt_backup=0</action>
1991 <action function="set">tw_backup_password=</action>
1992 <action function="set">tw_backup_password2=</action>
1993 <action function="set">tw_backup_encrypt_display=</action>
1994 <action function="set">tw_backup_encrypt_display2=</action>
1995 <action function="page">backup</action>
1996 </actions>
1997 </object>
1998
1999 <object type="template" name="keyboardtemplate" />
2000
2001 <object type="action">
2002 <touch key="home" />
2003 <action function="page">main</action>
2004 </object>
2005
2006 <object type="action">
2007 <touch key="back" />
2008 <action function="page">backup</action>
2009 </object>
2010
2011 <object type="template" name="footer" />
2012 </page>
2013
2014 <page name="checkbackuppassword">
2015 <object type="action">
2016 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2017 <actions>
2018 <action function="set">tw_encrypt_backup=1</action>
2019 <action function="page">backup</action>
2020 </actions>
2021 </object>
2022
2023 <object type="action">
2024 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2025 <actions>
2026 <action function="set">tw_encrypt_backup=0</action>
2027 <action function="set">tw_password_not_match=1</action>
2028 <action function="set">tw_backup_password=</action>
2029 <action function="set">tw_backup_password2=</action>
2030 <action function="set">tw_backup_encrypt_display=</action>
2031 <action function="set">tw_backup_encrypt_display2=</action>
2032 <action function="page">backupencryption</action>
2033 </actions>
2034 </object>
2035 </page>
2036
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 <page name="backup_run">
2038 <object type="template" name="header" />
2039
2040 <object type="text" color="%text_color%">
2041 <font resource="font" />
2042 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2043 <text>%tw_operation% %tw_partition%</text>
2044 </object>
2045
2046 <object type="template" name="action_page_console" />
2047
2048 <object type="template" name="progress_bar" />
2049
2050 <object type="action">
2051 <action function="nandroid">backup</action>
2052 </object>
2053
2054 <object type="action">
2055 <condition var1="tw_operation_state" var2="1" />
2056 <actions>
2057 <action function="set">tw_back=backup</action>
2058 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002059 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002060 <action function="page">action_complete</action>
2061 </actions>
2062 </object>
2063 </page>
2064
2065 <page name="restore">
2066 <object type="template" name="header" />
2067
2068 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002069 <highlight color="%highlight_color%" />
2070 <fill color="%button_fill_color%" />
2071 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2072 <font resource="font" color="%button_text_color%" />
2073 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2074 <actions>
2075 <action function="set">tw_back=restore</action>
2076 <action function="page">selectstorage</action>
2077 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002078 </object>
2079
2080 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002081 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002082 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002084 <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 -04002085 <text>Select Package to Restore:</text>
2086 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2087 <sort name="tw_gui_sort_order" />
2088 <icon folder="folder_icon" file="file_icon" />
2089 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002090 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002091 <filter folders="1" files="0" nav="0" />
2092 <path name="tw_backups_folder" />
2093 <data name="tw_restore" default="" />
2094 <selection name="tw_restore_name" />
2095 </object>
2096
2097 <object type="template" name="sort_options" />
2098
2099 <object type="action">
2100 <condition var1="tw_restore" op="modified" />
2101 <actions>
2102 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002103 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002104 </actions>
2105 </object>
2106
2107 <object type="action">
2108 <touch key="home" />
2109 <action function="page">main</action>
2110 </object>
2111
2112 <object type="action">
2113 <touch key="back" />
2114 <action function="page">main</action>
2115 </object>
2116
2117 <object type="template" name="footer" />
2118 </page>
2119
Dees_Troy83bd4832013-05-04 12:39:56 +00002120 <page name="restore_read">
2121 <object type="action">
2122 <condition var1="tw_restore_encrypted" var2="1" />
2123 <actions>
2124 <action function="set">tw_password_fail=0</action>
2125 <action function="page">restore_decrypt</action>
2126 </actions>
2127 </object>
2128
2129 <object type="action">
2130 <condition var1="tw_restore_encrypted" var2="0" />
2131 <actions>
2132 <action function="page">restore_select</action>
2133 </actions>
2134 </object>
2135 </page>
2136
2137 <page name="restore_decrypt">
2138 <object type="template" name="header" />
2139
2140 <object type="text" color="%text_color%">
2141 <font resource="font" />
2142 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2143 <text>Backup Encrypted</text>
2144 </object>
2145
2146 <object type="text" color="%text_color%">
2147 <font resource="font" />
2148 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2149 <text>Please Enter Your Password:</text>
2150 </object>
2151
2152 <object type="input">
2153 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2154 <background color="%input_background_color%" />
2155 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2156 <font resource="font" color="%text_color%" />
2157 <text>%tw_restore_display%</text>
2158 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2159 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2160 <actions>
2161 <action function="page">try_restore_decrypt</action>
2162 </actions>
2163 </object>
2164
2165 <object type="text" color="%text_fail_color%">
2166 <condition var1="tw_password_fail" var2="1" />
2167 <font resource="font" />
2168 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2169 <text>Password Failed, Please Try Again</text>
2170 </object>
2171
2172 <object type="button">
2173 <highlight color="%highlight_color%" />
2174 <placement x="%col1_x%" y="%row2_y%" />
2175 <font resource="font" color="%button_text_color%" />
2176 <text>Cancel</text>
2177 <image resource="main_button" />
2178 <actions>
2179 <action function="set">tw_page_done=1</action>
2180 <action function="page">restore</action>
2181 </actions>
2182 </object>
2183
2184 <object type="button">
2185 <highlight color="%highlight_color%" />
2186 <placement x="%col2_x%" y="%row2_y%" />
2187 <font resource="font" color="%button_text_color%" />
2188 <text>Delete</text>
2189 <image resource="main_button" />
2190 <actions>
2191 <action function="set">tw_back=restore</action>
2192 <action function="set">tw_action=cmd</action>
2193 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2194 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2195 <action function="set">tw_text2=This cannot be undone!</action>
2196 <action function="set">tw_action_text1=Deleting Backup...</action>
2197 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2198 <action function="set">tw_slider_text=Swipe to Delete</action>
2199 <action function="page">confirm_action</action>
2200 </actions>
2201 </object>
2202
2203 <object type="template" name="keyboardtemplate" />
2204
2205 <object type="action">
2206 <touch key="home" />
2207 <action function="page">main</action>
2208 </object>
2209
2210 <object type="action">
2211 <touch key="back" />
2212 <action function="page">restore</action>
2213 </object>
2214
2215 <object type="template" name="footer" />
2216 </page>
2217
2218 <page name="try_restore_decrypt">
2219 <object type="template" name="header" />
2220
2221 <object type="text" color="%text_color%">
2222 <font resource="font" />
2223 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2224 <text>Trying Decryption with Your Password</text>
2225 </object>
2226
2227 <object type="template" name="action_page_console" />
2228
2229 <object type="template" name="progress_bar" />
2230
2231 <object type="action">
2232 <action function="decrypt_backup"></action>
2233 </object>
2234
2235 <object type="action">
2236 <conditions>
2237 <condition var1="tw_operation_state" var2="1" />
2238 <condition var1="tw_operation_status" op="!=" var2="0" />
2239 </conditions>
2240 <actions>
2241 <action function="set">tw_password_fail=1</action>
2242 <action function="page">restore_decrypt</action>
2243 </actions>
2244 </object>
2245
2246 <object type="action">
2247 <conditions>
2248 <condition var1="tw_operation_state" var2="1" />
2249 <condition var1="tw_operation_status" op="=" var2="0" />
2250 </conditions>
2251 <actions>
2252 <action function="set">tw_page_done=1</action>
2253 <action function="page">restore_select</action>
2254 </actions>
2255 </object>
2256 </page>
2257
Dees_Troy51a0e822012-09-05 15:24:24 -04002258 <page name="restore_select">
2259 <object type="template" name="header" />
2260
Dees_Troya13d74f2013-03-24 08:54:55 -05002261 <object type="partitionlist">
2262 <highlight color="%fileselector_highlight_color%" />
2263 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2264 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2265 <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 -04002266 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002267 <icon selected="checkbox_true" unselected="checkbox_false" />
2268 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2269 <background color="%listbox_background%" />
2270 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2271 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2272 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002273 </object>
2274
2275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002276 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002277 <fill color="%button_fill_color%" />
2278 <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 -04002279 <font resource="font" color="%button_text_color%" />
2280 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002281 <actions>
2282 <action function="set">tw_backup_rename=</action>
2283 <action function="set">tw_fileexists=0</action>
2284 <action function="page">renamebackup</action>
2285 </actions>
2286 </object>
2287
2288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002289 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002290 <fill color="%button_fill_color%" />
2291 <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 -04002292 <font resource="font" color="%button_text_color%" />
2293 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002294 <actions>
2295 <action function="set">tw_back=restore</action>
2296 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002297 <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 -04002298 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2299 <action function="set">tw_text2=This cannot be undone!</action>
2300 <action function="set">tw_action_text1=Deleting Backup...</action>
2301 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2302 <action function="set">tw_slider_text=Swipe to Delete</action>
2303 <action function="page">confirm_action</action>
2304 </actions>
2305 </object>
2306
Dees_Troya13d74f2013-03-24 08:54:55 -05002307 <object type="checkbox">
2308 <placement x="%col1_x%" y="%row15_text_y%" />
2309 <font resource="font" color="%text_color%" />
2310 <text>Enable MD5 verification of backup files.</text>
2311 <data variable="tw_skip_md5_check" />
2312 <image checked="checkbox_true" unchecked="checkbox_false" />
2313 </object>
2314
2315 <object type="text" color="%text_color%">
2316 <font resource="font" />
2317 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2318 <text>Package Date: %tw_restore_file_date%</text>
2319 </object>
2320
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <object type="slider">
2322 <placement x="%slider_x%" y="%slider_y%" />
2323 <resource base="slider" used="slider-used" touch="slider-touch" />
2324 <action function="page">restore_run</action>
2325 </object>
2326
2327 <object type="text" color="%text_color%">
2328 <font resource="font" />
2329 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2330 <text>Swipe to Restore</text>
2331 </object>
2332
Dees_Troy51a0e822012-09-05 15:24:24 -04002333 <object type="action">
2334 <touch key="home" />
2335 <action function="page">main</action>
2336 </object>
2337
2338 <object type="action">
2339 <touch key="back" />
2340 <action function="page">restore</action>
2341 </object>
2342
2343 <object type="template" name="footer" />
2344 </page>
2345
2346 <page name="renamebackup">
2347 <object type="template" name="header" />
2348
2349 <object type="text" color="%text_color%">
2350 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2351 <font resource="font" />
2352 <text>Please Enter a New Backup Name</text>
2353 </object>
2354
2355 <object type="input">
2356 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2357 <background color="%input_background_color%" />
2358 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2359 <font resource="font" color="%text_color%" />
2360 <text>%tw_backup_rename%</text>
2361 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002362 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002363 <actions>
2364 <action function="set">tw_back=restore</action>
2365 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002366 <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 -04002367 <action function="set">tw_text1=Rename Backup?</action>
2368 <action function="set">tw_text2=This cannot be undone!</action>
2369 <action function="set">tw_action_text1=Renaming Backup...</action>
2370 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2371 <action function="set">tw_slider_text=Swipe to Rename</action>
2372 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2373 <action function="set">tw_existpage=renamebackup</action>
2374 <action function="set">tw_notexistpage=confirm_action</action>
2375 <action function="page">filecheck</action>
2376 </actions>
2377 </object>
2378
2379 <object type="text" color="%text_fail_color%">
2380 <condition var1="tw_fileexists" var2="1" />
2381 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2382 <font resource="font" />
2383 <text>A backup with that name already exists!</text>
2384 </object>
2385
2386 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002387 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <placement x="%col_center_x%" y="%row2_y%" />
2389 <font resource="font" color="%button_text_color%" />
2390 <text>Cancel</text>
2391 <image resource="main_button" />
2392 <action function="page">restore_select</action>
2393 </object>
2394
2395 <object type="template" name="keyboardtemplate" />
2396
2397 <object type="action">
2398 <touch key="home" />
2399 <action function="page">main</action>
2400 </object>
2401
2402 <object type="action">
2403 <touch key="back" />
2404 <action function="page">restore_select</action>
2405 </object>
2406
2407 <object type="template" name="footer" />
2408 </page>
2409
2410 <page name="restore_run">
2411 <object type="template" name="header" />
2412
2413 <object type="text" color="%text_color%">
2414 <font resource="font" />
2415 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2416 <text>%tw_operation% %tw_partition%</text>
2417 </object>
2418
2419 <object type="template" name="action_page_console" />
2420
2421 <object type="template" name="progress_bar" />
2422
2423 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002424 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <actions>
2426 <action function="set">tw_back=restore_select</action>
2427 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002428 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <action function="page">action_complete</action>
2430 </actions>
2431 </object>
2432
2433 <object type="action">
2434 <action function="nandroid">restore</action>
2435 </object>
2436 </page>
2437
Dees_Troya13d74f2013-03-24 08:54:55 -05002438 <page name="selectstorage">
2439 <object type="template" name="header" />
2440
2441 <object type="partitionlist">
2442 <highlight color="%fileselector_highlight_color%" />
2443 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2444 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2445 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2446 <text>Select Storage:</text>
2447 <icon selected="radio_true" unselected="radio_false" />
2448 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2449 <background color="%listbox_background%" />
2450 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2451 <data name="tw_storage_path" />
2452 <listtype name="storage" />
2453 </object>
2454
Dees_Troye7e0ae82013-07-05 14:46:07 +00002455 <object type="button">
2456 <highlight color="%highlight_color%" />
2457 <placement x="%col_center_x%" y="%row4_y%" />
2458 <font resource="font" color="%button_text_color%" />
2459 <text>OK</text>
2460 <image resource="main_button" />
2461 <actions>
2462 <action function="set">tw_clear_destination=%tw_back%</action>
2463 <action function="page">clear_vars</action>
2464 </actions>
2465 </object>
2466
Dees_Troya13d74f2013-03-24 08:54:55 -05002467 <object type="action">
2468 <touch key="home" />
2469 <action function="page">main</action>
2470 </object>
2471
2472 <object type="action">
2473 <touch key="back" />
2474 <actions>
2475 <action function="page">%tw_back%</action>
2476 </actions>
2477 </object>
2478
2479 <object type="template" name="footer" />
2480 </page>
2481
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <page name="mount">
2483 <object type="template" name="header" />
2484
Dees_Troya13d74f2013-03-24 08:54:55 -05002485 <object type="partitionlist">
2486 <highlight color="%fileselector_highlight_color%" />
2487 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2488 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2489 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2490 <text>Select Partitions to Mount:</text>
2491 <icon selected="checkbox_true" unselected="checkbox_false" />
2492 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2493 <background color="%listbox_background%" />
2494 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2495 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 </object>
2497
2498 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002499 <highlight color="%highlight_color%" />
2500 <fill color="%button_fill_color%" />
2501 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2502 <font resource="font" color="%button_text_color%" />
2503 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2504 <actions>
2505 <action function="set">tw_back=mount</action>
2506 <action function="page">selectstorage</action>
2507 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002508 </object>
2509
2510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002511 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002512 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002513 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <font resource="font" color="%button_text_color%" />
2515 <text>Mount USB Storage</text>
2516 <image resource="main_button" />
2517 <action function="page">usb_mount</action>
2518 </object>
2519
Gary Peckffdc6ae2012-11-21 18:02:02 -08002520 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002521 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002522 <conditions>
2523 <condition var1="tw_is_encrypted" var2="1" />
2524 <condition var1="tw_is_decrypted" var2="0" />
2525 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002526 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002527 <font resource="font" color="%button_text_color%" />
2528 <text>Decrypt Data</text>
2529 <image resource="main_button" />
2530 <action function="page">decrypt</action>
2531 </object>
2532
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <object type="action">
2534 <touch key="home" />
2535 <action function="page">main</action>
2536 </object>
2537
2538 <object type="action">
2539 <touch key="back" />
2540 <action function="page">main</action>
2541 </object>
2542
2543 <object type="template" name="footer" />
2544 </page>
2545
2546 <page name="usb_mount">
2547 <object type="template" name="header" />
2548
2549 <object type="text" color="%text_color%">
2550 <font resource="font" />
2551 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2552 <text>USB Storage Mounted</text>
2553 </object>
2554
2555 <object type="text" color="%text_color%">
2556 <placement x="%col1_x%" y="%row1_text_y%" />
2557 <font resource="font" />
2558 <text>Be sure to safely remove your device</text>
2559 </object>
2560
2561 <object type="text" color="%text_color%">
2562 <placement x="%col1_x%" y="%row2_text_y%" />
2563 <font resource="font" />
2564 <text>from your computer before unmounting!</text>
2565 </object>
2566
2567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002568 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <placement x="%col1_x%" y="%row3_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>Unmount</text>
2572 <image resource="main_button" />
2573 <action function="page">usb_umount</action>
2574 </object>
2575
2576 <object type="action">
2577 <action function="mount">usb</action>
2578 </object>
2579
2580 <object type="template" name="footer" />
2581 </page>
2582
2583 <page name="usb_umount">
2584 <object type="action">
2585 <action function="unmount">usb</action>
2586 </object>
2587
2588 <object type="action">
2589 <action function="page">mount</action>
2590 </object>
2591 </page>
2592
2593 <page name="reboot">
2594 <object type="template" name="header" />
2595
2596 <object type="text" color="%text_color%">
2597 <font resource="font" />
2598 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2599 <text>Reboot Menu</text>
2600 </object>
2601
2602 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002603 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002604 <condition var1="tw_reboot_system" var2="1" />
2605 <placement x="%col1_x%" y="%row1_y%" />
2606 <font resource="font" color="%button_text_color%" />
2607 <text>System</text>
2608 <image resource="main_button" />
2609 <actions>
2610 <action function="set">tw_back=reboot</action>
2611 <action function="set">tw_action=reboot</action>
2612 <action function="set">tw_action_param=system</action>
2613 <action function="set">tw_has_action2=0</action>
2614 <action function="set">tw_text1=No OS Installed! Are you</action>
2615 <action function="set">tw_text2=sure you wish to reboot?</action>
2616 <action function="set">tw_action_text1=Rebooting...</action>
2617 <action function="set">tw_complete_text1=Rebooting...</action>
2618 <action function="set">tw_slider_text=Swipe to Reboot</action>
2619 <action function="page">rebootcheck</action>
2620 </actions>
2621 </object>
2622
2623 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002624 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002625 <condition var1="tw_reboot_poweroff" var2="1" />
2626 <placement x="%col2_x%" y="%row1_y%" />
2627 <font resource="font" color="%button_text_color%" />
2628 <text>Power Off</text>
2629 <image resource="main_button" />
2630 <actions>
2631 <action function="set">tw_back=reboot</action>
2632 <action function="set">tw_action=reboot</action>
2633 <action function="set">tw_action_param=poweroff</action>
2634 <action function="set">tw_has_action2=0</action>
2635 <action function="set">tw_text1=No OS Installed! Are you</action>
2636 <action function="set">tw_text2=sure you wish to power off?</action>
2637 <action function="set">tw_action_text1=Turning Off...</action>
2638 <action function="set">tw_complete_text1=Turning Off...</action>
2639 <action function="set">tw_slider_text=Swipe to Power Off</action>
2640 <action function="page">rebootcheck</action>
2641 </actions>
2642 </object>
2643
2644 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002645 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002646 <condition var1="tw_reboot_recovery" var2="1" />
2647 <placement x="%col1_x%" y="%row2_y%" />
2648 <font resource="font" color="%button_text_color%" />
2649 <text>Recovery</text>
2650 <image resource="main_button" />
2651 <actions>
2652 <action function="set">tw_back=reboot</action>
2653 <action function="set">tw_action=reboot</action>
2654 <action function="set">tw_action_param=recovery</action>
2655 <action function="set">tw_has_action2=0</action>
2656 <action function="set">tw_text1=No OS Installed! Are you</action>
2657 <action function="set">tw_text2=sure you wish to reboot?</action>
2658 <action function="set">tw_action_text1=Rebooting...</action>
2659 <action function="set">tw_complete_text1=Rebooting...</action>
2660 <action function="set">tw_slider_text=Swipe to Reboot</action>
2661 <action function="page">rebootcheck</action>
2662 </actions>
2663 </object>
2664
2665 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002666 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002667 <condition var1="tw_reboot_bootloader" var2="1" />
2668 <placement x="%col2_x%" y="%row2_y%" />
2669 <font resource="font" color="%button_text_color%" />
2670 <text>Bootloader</text>
2671 <image resource="main_button" />
2672 <actions>
2673 <action function="set">tw_back=reboot</action>
2674 <action function="set">tw_action=reboot</action>
2675 <action function="set">tw_action_param=bootloader</action>
2676 <action function="set">tw_has_action2=0</action>
2677 <action function="set">tw_text1=No OS Installed! Are you</action>
2678 <action function="set">tw_text2=sure you wish to reboot?</action>
2679 <action function="set">tw_action_text1=Rebooting...</action>
2680 <action function="set">tw_complete_text1=Rebooting...</action>
2681 <action function="set">tw_slider_text=Swipe to Reboot</action>
2682 <action function="page">rebootcheck</action>
2683 </actions>
2684 </object>
2685
2686 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002687 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002688 <condition var1="tw_download_mode" var2="1" />
2689 <placement x="%col1_x%" y="%row3_y%" />
2690 <font resource="font" color="%button_text_color%" />
2691 <text>Download</text>
2692 <image resource="main_button" />
2693 <actions>
2694 <action function="set">tw_back=reboot</action>
2695 <action function="set">tw_action=reboot</action>
2696 <action function="set">tw_action_param=download</action>
2697 <action function="set">tw_has_action2=0</action>
2698 <action function="set">tw_text1=No OS Installed! Are you</action>
2699 <action function="set">tw_text2=sure you wish to reboot?</action>
2700 <action function="set">tw_action_text1=Rebooting...</action>
2701 <action function="set">tw_complete_text1=Rebooting...</action>
2702 <action function="set">tw_slider_text=Swipe to Reboot</action>
2703 <action function="page">rebootcheck</action>
2704 </actions>
2705 </object>
2706
2707 <object type="action">
2708 <touch key="home" />
2709 <action function="page">main</action>
2710 </object>
2711
2712 <object type="action">
2713 <touch key="back" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="template" name="footer" />
2718 </page>
2719
2720 <page name="settings">
2721 <object type="template" name="header" />
2722
2723 <object type="text" color="%text_color%">
2724 <font resource="font" />
2725 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2726 <text>Settings</text>
2727 </object>
2728
2729 <object type="checkbox">
2730 <placement x="%col1_x%" y="%row1_text_y%" />
2731 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002732 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002733 <data variable="tw_signed_zip_verify" />
2734 <image checked="checkbox_true" unchecked="checkbox_false" />
2735 </object>
2736
2737 <object type="checkbox">
2738 <placement x="%col1_x%" y="%row2_text_y%" />
2739 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002740 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002741 <data variable="tw_rm_rf" />
2742 <image checked="checkbox_true" unchecked="checkbox_false" />
2743 </object>
2744
2745 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002746 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002748 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002749 <data variable="tw_skip_md5_generate" />
2750 <image checked="checkbox_true" unchecked="checkbox_false" />
2751 </object>
2752
2753 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002754 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002756 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <data variable="tw_skip_md5_check" />
2758 <image checked="checkbox_true" unchecked="checkbox_false" />
2759 </object>
2760
2761 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002762 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002764 <text>Use Military Time.</text>
2765 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <image checked="checkbox_true" unchecked="checkbox_false" />
2767 </object>
2768
2769 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002770 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002772 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <data variable="tw_simulate_actions" />
2774 <image checked="checkbox_true" unchecked="checkbox_false" />
2775 </object>
2776
2777 <object type="checkbox">
2778 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002779 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002781 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002782 <data variable="tw_simulate_fail" />
2783 <image checked="checkbox_true" unchecked="checkbox_false" />
2784 </object>
2785
2786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002787 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <placement x="%col1_x%" y="%row3_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>Time Zone</text>
2791 <image resource="main_button" />
2792 <action function="page">timezone</action>
2793 </object>
2794
2795 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002796 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002797 <placement x="%col2_x%" y="%row3_y%" />
2798 <font resource="font" color="%button_text_color%" />
2799 <text>Screen</text>
2800 <image resource="main_button" />
2801 <action function="page">screen</action>
2802 </object>
2803
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002804 <object type="button">
2805 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002806 <placement x="%col1_x%" y="%row4_y%" />
2807 <font resource="font" color="%button_text_color%" />
2808 <text>Restore Defaults</text>
2809 <image resource="main_button" />
2810 <action function="restoredefaultsettings"></action>
2811 </object>
2812
Dees_Troy2f9117a2013-02-17 19:52:09 -06002813 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002814 <highlight color="%highlight_color%" />
2815 <placement x="%col2_x%" y="%row4_y%" />
2816 <font resource="font" color="%button_text_color%" />
2817 <text>Vibration Duration</text>
2818 <image resource="main_button" />
2819 <action function="page">Vibrate</action>
2820 </object>
2821
Dees_Troy51a0e822012-09-05 15:24:24 -04002822 <object type="action">
2823 <touch key="home" />
2824 <action function="page">main</action>
2825 </object>
2826
2827 <object type="action">
2828 <touch key="back" />
2829 <action function="page">main</action>
2830 </object>
2831
2832 <object type="template" name="footer" />
2833 </page>
2834
2835 <page name="timezone">
2836 <object type="template" name="header" />
2837
Dees_Troy51a0e822012-09-05 15:24:24 -04002838 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002839 <highlight color="%fileselector_highlight_color%" />
2840 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2841 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002842 <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 -06002843 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002844 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002845 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002846 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002847 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002848 <data name="tw_time_zone_guisel" />
2849 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2850 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2851 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2852 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2853 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2854 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2855 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2856 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2857 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2858 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2859 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2860 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2861 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2862 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2863 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2864 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2865 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2866 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2867 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2868 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2869 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2870 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2871 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2872 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2873 </object>
2874
2875 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002876 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002877 <font resource="font" color="%text_color%" />
2878 <text>Do you use daylight savings time (DST)?</text>
2879 <data variable="tw_time_zone_guidst" />
2880 <image checked="checkbox_true" unchecked="checkbox_false" />
2881 </object>
2882
2883 <object type="text" color="%text_color%">
2884 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002885 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002886 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2887 </object>
2888
2889 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002890 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002891 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002892 <font resource="font" color="%button_text_color%" />
2893 <text>None</text>
2894 <image resource="medium_button" />
2895 <action function="set">tw_time_zone_guioffset=0</action>
2896 </object>
2897
2898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002899 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002900 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002901 <font resource="font" color="%button_text_color%" />
2902 <text>15</text>
2903 <image resource="medium_button" />
2904 <action function="set">tw_time_zone_guioffset=15</action>
2905 </object>
2906
2907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002908 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002909 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002910 <font resource="font" color="%button_text_color%" />
2911 <text>30</text>
2912 <image resource="medium_button" />
2913 <action function="set">tw_time_zone_guioffset=30</action>
2914 </object>
2915
2916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002917 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002918 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002919 <font resource="font" color="%button_text_color%" />
2920 <text>45</text>
2921 <image resource="medium_button" />
2922 <action function="set">tw_time_zone_guioffset=45</action>
2923 </object>
2924
2925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002926 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002927 <placement x="%col_center_x%" y="%tz_set_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text>Set Time Zone</text>
2930 <image resource="main_button" />
2931 <action function="setguitimezone"></action>
2932 </object>
2933
2934 <object type="text" color="%text_color%">
2935 <font resource="font" />
2936 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2937 <text>Current Time Zone: %tw_time_zone%</text>
2938 </object>
2939
2940 <object type="action">
2941 <touch key="home" />
2942 <action function="page">main</action>
2943 </object>
2944
2945 <object type="action">
2946 <touch key="back" />
2947 <action function="page">settings</action>
2948 </object>
2949
2950 <object type="template" name="footer" />
2951 </page>
2952
Dees_Troy2f9117a2013-02-17 19:52:09 -06002953 <page name="screen">
2954 <object type="template" name="header" />
2955
2956 <object type="text" color="%text_color%">
2957 <font resource="font" />
2958 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2959 <text>Screen Settings</text>
2960 </object>
2961
Dees_Troy2f9117a2013-02-17 19:52:09 -06002962 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002963 <placement x="%col1_x%" y="%row2_text_y%" />
2964 <font resource="font" color="%text_color%" />
2965 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002966 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002967 <text>Enable screen timeout.</text>
2968 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002969 <action function="set">tw_screen_timeout_secs=60</action>
2970 </object>
2971
2972 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002973 <placement x="%col1_x%" y="%row2_text_y%" />
2974 <font resource="font" color="%text_color%" />
2975 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002976 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002977 <text>Enable screen timeout.</text>
2978 <image resource="checkbox_true" />
2979 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002980 </object>
2981
Vojtech Bocek85932342013-04-01 22:11:33 +02002982 <object type="slidervalue">
2983 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002984 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002985 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2986 <font resource="font" color="%text_color%" />
2987 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2988 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2989 <text>Screen timeout in seconds:</text>
2990 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002991 </object>
2992
Vojtech Bocek85932342013-04-01 22:11:33 +02002993 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002994 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002995 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2996 <font resource="font" color="%text_color%" />
2997 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2998 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2999 <text>Brightness: %tw_brightness_pct%%</text>
3000 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003001 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003002 <action function="set">tw_brightness=%tw_brightness_max%</action>
3003 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3004 <action function="compute">tw_brightness/100</action>
3005 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003006 </actions>
3007 </object>
3008
3009 <object type="action">
3010 <touch key="home" />
3011 <action function="page">main</action>
3012 </object>
3013
3014 <object type="action">
3015 <touch key="back" />
3016 <action function="page">settings</action>
3017 </object>
3018
3019 <object type="template" name="footer" />
3020 </page>
3021
Ethan Yonker03db3262014-02-05 08:02:06 -06003022 <page name="Vibrate">
3023 <object type="template" name="header" />
3024
3025 <object type="text" color="%text_color%">
3026 <font resource="font" />
3027 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3028 <text>Vibration Settings :</text>
3029 </object>
3030
3031 <object type="slidervalue">
3032 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3033 <font resource="font" color="%text_color%" />
3034 <text>Button Vibration:</text>
3035 <data variable="tw_button_vibrate" min="0" max="300" />
3036 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3037 </object>
3038
3039 <object type="slidervalue">
3040 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3041 <font resource="font" color="%text_color%" />
3042 <text>Keyboard Vibration:</text>
3043 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3044 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3045 </object>
3046
3047 <object type="slidervalue">
3048 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3049 <font resource="font" color="%text_color%" />
3050 <text>Action Vibration:</text>
3051 <data variable="tw_action_vibrate" min="0" max="500" />
3052 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3053 </object>
3054
3055 <object type="action">
3056 <touch key="home" />
3057 <action function="page">main</action>
3058 </object>
3059
3060 <object type="action">
3061 <touch key="back" />
3062 <action function="page">settings</action>
3063 </object>
3064
3065 <object type="template" name="footer" />
3066 </page>
3067
Dees_Troy51a0e822012-09-05 15:24:24 -04003068 <page name="advanced">
3069 <object type="template" name="header" />
3070
3071 <object type="text" color="%text_color%">
3072 <font resource="font" />
3073 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3074 <text>Advanced</text>
3075 </object>
3076
3077 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003078 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%col1_x%" y="%row1_y%" />
3080 <font resource="font" color="%button_text_color%" />
3081 <text>Copy Log to SD</text>
3082 <image resource="main_button" />
3083 <actions>
3084 <action function="set">tw_back=advanced</action>
3085 <action function="set">tw_action=copylog</action>
3086 <action function="set">tw_text1=Copy Log to SD Card?</action>
3087 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3088 <action function="set">tw_complete_text1=Log Copy Complete</action>
3089 <action function="set">tw_slider_text=Swipe to Confirm</action>
3090 <action function="page">confirm_action</action>
3091 </actions>
3092 </object>
3093
3094 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003095 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <placement x="%col2_x%" y="%row1_y%" />
3097 <font resource="font" color="%button_text_color%" />
3098 <text>Fix Permissions</text>
3099 <image resource="main_button" />
3100 <actions>
3101 <action function="set">tw_back=advanced</action>
3102 <action function="set">tw_action=fixpermissions</action>
3103 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003104 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003105 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3106 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003107 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003108 <action function="page">confirm_action</action>
3109 </actions>
3110 </object>
3111
3112 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003113 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003114 <condition var1="tw_allow_partition_sdcard" var2="1" />
3115 <placement x="%col1_x%" y="%row2_y%" />
3116 <font resource="font" color="%button_text_color%" />
3117 <text>Partition SD Card</text>
3118 <image resource="main_button" />
3119 <action function="page">partsdcard</action>
3120 </object>
3121
3122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003123 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003124 <placement x="%col2_x%" y="%row2_y%" />
3125 <font resource="font" color="%button_text_color%" />
3126 <text>File Manager</text>
3127 <image resource="main_button" />
3128 <action function="page">filemanagerlist</action>
3129 </object>
3130
3131 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003132 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003133 <placement x="%col1_x%" y="%row3_y%" />
3134 <font resource="font" color="%button_text_color%" />
3135 <text>Terminal Command</text>
3136 <image resource="main_button" />
3137 <action function="page">terminalfolder</action>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003142 <placement x="%col2_x%" y="%row3_y%" />
3143 <font resource="font" color="%button_text_color%" />
3144 <text>Reload Theme</text>
3145 <image resource="main_button" />
3146 <action function="reload"></action>
3147 </object>
3148
3149 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003150 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003151 <placement x="%col1_x%" y="%row4_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>ADB Sideload</text>
3154 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003155 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04003156 </object>
3157
3158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003159 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003160 <condition var1="tw_show_dumlock" var2="1" />
3161 <placement x="%col2_x%" y="%row4_y%" />
3162 <font resource="font" color="%button_text_color%" />
3163 <text>HTC Dumlock</text>
3164 <image resource="main_button" />
3165 <action function="page">htcdumlock</action>
3166 </object>
3167
3168 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003169 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003170 <condition var1="tw_has_injecttwrp" var2="1" />
3171 <placement x="%col2_x%" y="%row4_y%" />
3172 <font resource="font" color="%button_text_color%" />
3173 <text>Re-Inject TWRP</text>
3174 <image resource="main_button" />
3175 <actions>
3176 <action function="set">tw_back=advanced</action>
3177 <action function="set">tw_action=reinjecttwrp</action>
3178 <action function="set">tw_text1=Re-Inject TWRP?</action>
3179 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3180 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3181 <action function="set">tw_slider_text=Swipe to Confirm</action>
3182 <action function="page">confirm_action</action>
3183 </actions>
3184 </object>
3185
3186 <object type="action">
3187 <touch key="home" />
3188 <action function="page">main</action>
3189 </object>
3190
3191 <object type="action">
3192 <touch key="back" />
3193 <action function="page">main</action>
3194 </object>
3195
3196 <object type="template" name="footer" />
3197 </page>
3198
3199 <page name="partsdcard">
3200 <object type="template" name="header" />
3201
3202 <object type="text" color="%text_color%">
3203 <font resource="font" />
3204 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3205 <text>Partition SD Card</text>
3206 </object>
3207
3208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003209 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003210 <placement x="%col1_x%" y="%row1_y%" />
3211 <font resource="font" color="%button_text_color%" />
3212 <text></text>
3213 <image resource="minus_button" />
3214 <action function="addsubtract">tw_sdext_size-128</action>
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="%sd_plus_x%" y="%row1_y%" />
3220 <font resource="font" color="%button_text_color%" />
3221 <text></text>
3222 <image resource="plus_button" />
3223 <action function="addsubtract">tw_sdext_size+128</action>
3224 </object>
3225
3226 <object type="text" color="%text_color%">
3227 <font resource="font" />
3228 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3229 <text>EXT Size: %tw_sdext_size%</text>
3230 </object>
3231
3232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003233 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003234 <placement x="%col1_x%" y="%sdswap_button_y%" />
3235 <font resource="font" color="%button_text_color%" />
3236 <text></text>
3237 <image resource="minus_button" />
3238 <action function="addsubtract">tw_swap_size-32</action>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text></text>
3246 <image resource="plus_button" />
3247 <action function="addsubtract">tw_swap_size+32</action>
3248 </object>
3249
3250 <object type="text" color="%text_color%">
3251 <font resource="font" />
3252 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3253 <text>Swap Size: %tw_swap_size%</text>
3254 </object>
3255
3256 <object type="text" color="%text_color%">
3257 <font resource="font" />
3258 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3259 <text>File system: %tw_sdpart_file_system%</text>
3260 </object>
3261
3262 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003263 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003264 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3265 <font resource="font" color="%button_text_color%" />
3266 <text>EXT3</text>
3267 <image resource="main_button" />
3268 <action function="set">tw_sdpart_file_system=ext3</action>
3269 </object>
3270
3271 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003272 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003273 <condition var1="tw_sdext_disable_ext4" var2="0" />
3274 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3275 <font resource="font" color="%button_text_color%" />
3276 <text>EXT4</text>
3277 <image resource="main_button" />
3278 <action function="set">tw_sdpart_file_system=ext4</action>
3279 </object>
3280
3281 <object type="text" color="%text_color%">
3282 <font resource="font" />
3283 <placement x="%col1_x%" y="%row12_text_y%" />
3284 <text>You will lose all files on your SD card!</text>
3285 </object>
3286
3287 <object type="text" color="%text_color%">
3288 <font resource="font" />
3289 <placement x="%col1_x%" y="%row13_text_y%" />
3290 <text>This action cannot be undone!</text>
3291 </object>
3292
3293 <object type="slider">
3294 <placement x="%slider_x%" y="%slider_y%" />
3295 <resource base="slider" used="slider-used" touch="slider-touch" />
3296 <action function="page">partsdcardaction</action>
3297 <actions>
3298 <action function="set">tw_back=partsdcard</action>
3299 <action function="set">tw_action=partitionsd</action>
3300 <action function="set">tw_has_action2=1</action>
3301 <action function="set">tw_action2=set</action>
3302 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3303 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3304 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003305 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003306 <action function="page">action_page</action>
3307 </actions>
3308 </object>
3309
3310 <object type="text" color="%text_color%">
3311 <font resource="font" />
3312 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3313 <text>Swipe to Partition</text>
3314 </object>
3315
3316 <object type="action">
3317 <touch key="home" />
3318 <action function="page">main</action>
3319 </object>
3320
3321 <object type="action">
3322 <touch key="back" />
3323 <action function="page">advanced</action>
3324 </object>
3325
3326 <object type="template" name="footer" />
3327 </page>
3328
3329 <page name="htcdumlock">
3330 <object type="template" name="header" />
3331
3332 <object type="text" color="%text_color%">
3333 <font resource="font" />
3334 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3335 <text>HTC Dumlock</text>
3336 </object>
3337
3338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 <condition var1="tw_show_dumlock" var2="1" />
3341 <placement x="%col1_x%" y="%row1_y%" />
3342 <font resource="font" color="%button_text_color%" />
3343 <text>Restore Original Boot</text>
3344 <image resource="main_button" />
3345 <actions>
3346 <action function="set">tw_back=htcdumlock</action>
3347 <action function="set">tw_action=htcdumlockrestoreboot</action>
3348 <action function="set">tw_text1=Restore original boot image?</action>
3349 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3350 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3351 <action function="set">tw_slider_text=Swipe to Confirm</action>
3352 <action function="page">confirm_action</action>
3353 </actions>
3354 </object>
3355
3356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003358 <condition var1="tw_show_dumlock" var2="1" />
3359 <placement x="%col2_x%" y="%row1_y%" />
3360 <font resource="font" color="%button_text_color%" />
3361 <text>Reflash Recovery</text>
3362 <image resource="main_button" />
3363 <actions>
3364 <action function="set">tw_back=htcdumlock</action>
3365 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3366 <action function="set">tw_text1=Reflash recovery to boot?</action>
3367 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3368 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3369 <action function="set">tw_slider_text=Swipe to Confirm</action>
3370 <action function="page">confirm_action</action>
3371 </actions>
3372 </object>
3373
3374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003376 <condition var1="tw_show_dumlock" var2="1" />
3377 <placement x="%col1_x%" y="%row2_y%" />
3378 <font resource="font" color="%button_text_color%" />
3379 <text>Install HTC Dumlock</text>
3380 <image resource="main_button" />
3381 <actions>
3382 <action function="set">tw_back=htcdumlock</action>
3383 <action function="set">tw_action=installhtcdumlock</action>
3384 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3385 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3386 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3387 <action function="set">tw_slider_text=Swipe to Confirm</action>
3388 <action function="page">confirm_action</action>
3389 </actions>
3390 </object>
3391
3392 <object type="action">
3393 <touch key="home" />
3394 <action function="page">main</action>
3395 </object>
3396
3397 <object type="action">
3398 <touch key="back" />
3399 <action function="page">advanced</action>
3400 </object>
3401
3402 <object type="template" name="footer" />
3403 </page>
3404
3405 <page name="lock">
3406 <background color="#000000A0" />
3407
3408 <object type="image">
3409 <image resource="unlock-icon" />
3410 <placement x="%lock_x%" y="%lock_y%" />
3411 </object>
3412
3413 <object type="slider">
3414 <placement x="%slider_x%" y="%slider_y%" />
3415 <resource base="slider" used="slider-used" touch="slider-touch" />
3416 <action function="overlay"></action>
3417 </object>
3418
3419 <object type="text" color="%text_color%">
3420 <font resource="font" />
3421 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3422 <text>Swipe to Unlock</text>
3423 </object>
3424 </page>
3425
3426 <page name="filemanagerlist">
3427 <object type="template" name="header" />
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3432 <text>File Manager: Select a File or Folder</text>
3433 </object>
3434
3435 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003436 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003437 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3438 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003439 <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 -04003440 <text>%tw_file_location1%</text>
3441 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3442 <sort name="tw_gui_sort_order" />
3443 <icon folder="folder_icon" file="file_icon" />
3444 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003445 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003446 <folders="1" files="1" />
3447 <path name="tw_file_location1" default="/" />
3448 <data name="tw_filename1" />
3449 <selection name="tw_selection1" />
3450 </object>
3451
3452 <object type="template" name="sort_options" />
3453
3454 <object type="action">
3455 <actions>
3456 <action function="set">tw_fm_type=File</action>
3457 <action function="set">tw_fm_isfolder=0</action>
3458 </actions>
3459 </object>
3460
3461 <object type="action">
3462 <touch key="home" />
3463 <action function="page">main</action>
3464 </object>
3465
3466 <object type="action">
3467 <touch key="back" />
3468 <action function="page">advanced</action>
3469 </object>
3470
3471 <object type="action">
3472 <condition var1="tw_filename1" op="modified" />
3473 <actions>
3474 <action function="page">filemanageroptions</action>
3475 </actions>
3476 </object>
3477
3478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003479 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003480 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3481 <font resource="font" color="%button_text_color%" />
3482 <text>Select</text>
3483 <image resource="medium_button" />
3484 <actions>
3485 <action function="set">tw_filename1=tw_file_location1</action>
3486 <action function="set">tw_fm_isfolder=1</action>
3487 <action function="set">tw_fm_type=Folder</action>
3488 <action function="page">filemanageroptions</action>
3489 </actions>
3490 </object>
3491
3492 <object type="template" name="footer" />
3493 </page>
3494
3495 <page name="filemanageroptions">
3496 <object type="template" name="header" />
3497
3498 <object type="text" color="%text_color%">
3499 <font resource="font" />
3500 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3501 <text>%tw_fm_type% Selected:</text>
3502 </object>
3503
3504 <object type="text" color="%text_color%">
3505 <font resource="font" />
3506 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3507 <text>%tw_filename1%</text>
3508 </object>
3509
3510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003511 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003512 <condition var1="tw_fm_isfolder" var2="0" />
3513 <placement x="%col1_x%" y="%row2_y%" />
3514 <font resource="font" color="%button_text_color%" />
3515 <text>Copy File</text>
3516 <image resource="main_button" />
3517 <actions>
3518 <action function="set">tw_filemanager_command=cp</action>
3519 <action function="set">tw_fm_text1=Copying</action>
3520 <action function="page">choosedestinationfolder</action>
3521 </actions>
3522 </object>
3523
3524 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003525 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003526 <condition var1="tw_fm_isfolder" var2="1" />
3527 <placement x="%col1_x%" y="%row2_y%" />
3528 <font resource="font" color="%button_text_color%" />
3529 <text>Copy Folder</text>
3530 <image resource="main_button" />
3531 <actions>
3532 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3533 <action function="set">tw_fm_text1=Copying</action>
3534 <action function="page">choosedestinationfolder</action>
3535 </actions>
3536 </object>
3537
3538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003539 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003540 <placement x="%col2_x%" y="%row2_y%" />
3541 <font resource="font" color="%button_text_color%" />
3542 <text>Move</text>
3543 <image resource="main_button" />
3544 <actions>
3545 <action function="set">tw_filemanager_command=mv</action>
3546 <action function="set">tw_fm_text1=Moving</action>
3547 <action function="page">choosedestinationfolder</action>
3548 </actions>
3549 </object>
3550
3551 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003552 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003553 <placement x="%col1_x%" y="%row3_y%" />
3554 <font resource="font" color="%button_text_color%" />
3555 <text>chmod 755</text>
3556 <image resource="main_button" />
3557 <actions>
3558 <action function="set">tw_filemanager_command=chmod 755</action>
3559 <action function="set">tw_fm_text1=chmod 755</action>
3560 <action function="set">tw_fm_text2=</action>
3561 <action function="set">tw_fm_text3=</action>
3562 <action function="set">tw_include_text3=0</action>
3563 <action function="set">tw_back=filemanageroptions</action>
3564 <action function="page">filemanagerconfirm</action>
3565 </actions>
3566 </object>
3567
3568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003569 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003570 <placement x="%col2_x%" y="%row3_y%" />
3571 <font resource="font" color="%button_text_color%" />
3572 <text>chmod</text>
3573 <image resource="main_button" />
3574 <actions>
3575 <action function="set">tw_filemanager_rename=0000</action>
3576 <action function="set">tw_fm_text2=</action>
3577 <action function="set">tw_fm_text3=</action>
3578 <action function="set">tw_include_text3=0</action>
3579 <action function="set">tw_back=filemanageroptions</action>
3580 <action function="page">filemanagerchmod</action>
3581 </actions>
3582 </object>
3583
3584 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003585 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003586 <placement x="%col1_x%" y="%row4_y%" />
3587 <font resource="font" color="%button_text_color%" />
3588 <text>Delete</text>
3589 <image resource="main_button" />
3590 <actions>
3591 <action function="set">tw_filemanager_command=rm -rf</action>
3592 <action function="set">tw_fm_text1=Deleting</action>
3593 <action function="set">tw_fm_text2=</action>
3594 <action function="set">tw_fm_text3=</action>
3595 <action function="set">tw_include_text3=0</action>
3596 <action function="set">tw_back=filemanageroptions</action>
3597 <action function="page">filemanagerconfirm</action>
3598 </actions>
3599 </object>
3600
3601 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003602 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003603 <condition var1="tw_fm_isfolder" var2="0" />
3604 <placement x="%col2_x%" y="%row4_y%" />
3605 <font resource="font" color="%button_text_color%" />
3606 <text>Rename File</text>
3607 <image resource="main_button" />
3608 <actions>
3609 <action function="set">tw_filemanager_rename=tw_selection1</action>
3610 <action function="set">tw_fm_text1=Renaming</action>
3611 <action function="set">tw_filemanager_command=mv</action>
3612 <action function="page">filemanagerrenamefile</action>
3613 </actions>
3614 </object>
3615
3616 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003617 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003618 <condition var1="tw_fm_isfolder" var2="1" />
3619 <placement x="%col2_x%" y="%row4_y%" />
3620 <font resource="font" color="%button_text_color%" />
3621 <text>Rename Folder</text>
3622 <image resource="main_button" />
3623 <actions>
3624 <action function="set">tw_filemanager_rename=tw_selection1</action>
3625 <action function="set">tw_fm_text1=Renaming</action>
3626 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3627 <action function="page">filemanagerrenamefolder</action>
3628 </actions>
3629 </object>
3630
3631 <object type="action">
3632 <touch key="home" />
3633 <action function="page">main</action>
3634 </object>
3635
3636 <object type="action">
3637 <touch key="back" />
3638 <action function="page">filemanagerlist</action>
3639 </object>
3640
3641 <object type="template" name="footer" />
3642 </page>
3643
3644 <page name="choosedestinationfolder">
3645 <object type="template" name="header" />
3646
3647 <object type="text" color="%text_color%">
3648 <font resource="font" />
3649 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3650 <text>Browse to Destination Folder & Press Select</text>
3651 </object>
3652
3653 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003654 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003655 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3656 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003657 <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 -04003658 <text>%tw_file_location2%</text>
3659 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3660 <sort name="tw_gui_sort_order" />
3661 <icon folder="folder_icon" file="file_icon" />
3662 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003663 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003664 <filter folders="1" files="0" />
3665 <path name="tw_file_location2" default="/" />
3666 <data name="tw_filename2" />
3667 <selection name="tw_selection2" />
3668 </object>
3669
3670 <object type="template" name="sort_options" />
3671
3672 <object type="action">
3673 <touch key="home" />
3674 <action function="page">main</action>
3675 </object>
3676
3677 <object type="action">
3678 <touch key="back" />
3679 <action function="page">filemanageroptions</action>
3680 </object>
3681
3682 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003683 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003684 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3685 <font resource="font" color="%button_text_color%" />
3686 <text>Select</text>
3687 <image resource="medium_button" />
3688 <actions>
3689 <action function="set">tw_fm_text2=to</action>
3690 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3691 <action function="set">tw_include_text3=1</action>
3692 <action function="set">tw_back=filemanageroptions</action>
3693 <action function="page">filemanagerconfirm</action>
3694 </actions>
3695 </object>
3696
3697 <object type="template" name="footer" />
3698 </page>
3699
3700 <page name="filemanagerrenamefile">
3701 <object type="template" name="header" />
3702
3703 <object type="text" color="%text_color%">
3704 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3705 <font resource="font" />
3706 <text>Please Enter a New %tw_fm_type% Name</text>
3707 </object>
3708
3709 <object type="input">
3710 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3711 <background color="%input_background_color%" />
3712 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3713 <font resource="font" color="%text_color%" />
3714 <text>%tw_filemanager_rename%</text>
3715 <data name="tw_filemanager_rename" />
3716 <restrict minlen="1" maxlen="128" />
3717 <actions>
3718 <action function="set">tw_fm_text2=to</action>
3719 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3720 <action function="set">tw_include_text3=1</action>
3721 <action function="set">tw_back=filemanageroptions</action>
3722 <action function="page">filemanagerconfirm</action>
3723 </actions>
3724 </object>
3725
3726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003727 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003728 <placement x="%col_center_x%" y="%row2_y%" />
3729 <font resource="font" color="%button_text_color%" />
3730 <text>Cancel</text>
3731 <image resource="main_button" />
3732 <action function="page">filemanageroptions</action>
3733 </object>
3734
3735 <object type="template" name="keyboardtemplate" />
3736
3737 <object type="action">
3738 <touch key="home" />
3739 <action function="page">main</action>
3740 </object>
3741
3742 <object type="action">
3743 <touch key="back" />
3744 <action function="page">filemanageroptions</action>
3745 </object>
3746
3747 <object type="template" name="footer" />
3748 </page>
3749
3750 <page name="filemanagerrenamefolder">
3751 <object type="template" name="header" />
3752
3753 <object type="text" color="%text_color%">
3754 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3755 <font resource="font" />
3756 <text>Please Enter a New %tw_fm_type% Name</text>
3757 </object>
3758
3759 <object type="input">
3760 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3761 <background color="%input_background_color%" />
3762 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3763 <font resource="font" color="%text_color%" />
3764 <text>%tw_filemanager_rename%</text>
3765 <data name="tw_filemanager_rename" />
3766 <restrict minlen="1" maxlen="128" />
3767 <actions>
3768 <action function="set">tw_fm_text2=to</action>
3769 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3770 <action function="set">tw_include_text3=1</action>
3771 <action function="set">tw_back=filemanageroptions</action>
3772 <action function="page">filemanagerconfirm</action>
3773 </actions>
3774 </object>
3775
3776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003778 <placement x="%col_center_x%" y="%row2_y%" />
3779 <font resource="font" color="%button_text_color%" />
3780 <text>Cancel</text>
3781 <image resource="main_button" />
3782 <action function="page">filemanageroptions</action>
3783 </object>
3784
3785 <object type="template" name="keyboardtemplate" />
3786
3787 <object type="action">
3788 <touch key="home" />
3789 <action function="page">main</action>
3790 </object>
3791
3792 <object type="action">
3793 <touch key="back" />
3794 <action function="page">filemanageroptions</action>
3795 </object>
3796
3797 <object type="template" name="footer" />
3798 </page>
3799
3800 <page name="filemanagerchmod">
3801 <object type="template" name="header" />
3802
3803 <object type="text" color="%text_color%">
3804 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3805 <font resource="font" />
3806 <text>Please Enter New Permissions</text>
3807 </object>
3808
3809 <object type="input">
3810 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3811 <background color="%input_background_color%" />
3812 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3813 <font resource="font" color="%text_color%" />
3814 <text>%tw_filemanager_rename%</text>
3815 <data name="tw_filemanager_rename" />
3816 <restrict minlen="3" maxlen="4" allow="0123456789" />
3817 <actions>
3818 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3819 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3820 <action function="set">tw_back=filemanageroptions</action>
3821 <action function="page">filemanagerconfirm</action>
3822 </actions>
3823 </object>
3824
3825 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003826 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003827 <placement x="%col_center_x%" y="%row2_y%" />
3828 <font resource="font" color="%button_text_color%" />
3829 <text>Cancel</text>
3830 <image resource="main_button" />
3831 <action function="page">filemanageroptions</action>
3832 </object>
3833
3834 <object type="template" name="keyboardtemplate" />
3835
3836 <object type="action">
3837 <touch key="home" />
3838 <action function="page">main</action>
3839 </object>
3840
3841 <object type="action">
3842 <touch key="back" />
3843 <action function="page">filemanageroptions</action>
3844 </object>
3845
3846 <object type="template" name="footer" />
3847 </page>
3848
3849 <page name="filemanagerconfirm">
3850 <object type="template" name="header" />
3851
3852 <object type="text" color="%text_color%">
3853 <font resource="font" />
3854 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3855 <text>%tw_fm_text1%</text>
3856 </object>
3857
3858 <object type="text" color="%text_color%">
3859 <font resource="font" />
3860 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3861 <text>%tw_filename1%</text>
3862 </object>
3863
3864 <object type="text" color="%text_color%">
3865 <font resource="font" />
3866 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3867 <text>%tw_fm_text2%</text>
3868 </object>
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3873 <text>%tw_fm_text3%</text>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3879 <text>Press back button to cancel.</text>
3880 </object>
3881
3882 <object type="slider">
3883 <placement x="%slider_x%" y="%slider_y%" />
3884 <resource base="slider" used="slider-used" touch="slider-touch" />
3885 <action function="page">filemanageracction</action>
3886 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003887
Dees_Troy51a0e822012-09-05 15:24:24 -04003888 <object type="text" color="%text_color%">
3889 <font resource="font" />
3890 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3891 <text>Swipe to Confirm</text>
3892 </object>
3893
3894 <object type="action">
3895 <touch key="back" />
3896 <action function="page">%tw_back%</action>
3897 </object>
3898
3899 <object type="action">
3900 <touch key="home" />
3901 <action function="page">main</action>
3902 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003903
Dees_Troy51a0e822012-09-05 15:24:24 -04003904 <object type="template" name="footer" />
3905 </page>
3906
3907 <page name="filemanageracction">
3908 <object type="template" name="header" />
3909
3910 <object type="text" color="%text_color%">
3911
3912 <font resource="font" />
3913 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3914 <text>%tw_fm_text1%</text>
3915 </object>
3916
3917 <object type="template" name="action_page_console" />
3918
3919 <object type="template" name="progress_bar" />
3920
3921 <object type="action">
3922 <conditions>
3923 <condition var1="tw_operation_state" var2="1" />
3924 <condition var1="tw_operation_status" var2="0" />
3925 </conditions>
3926 <actions>
3927 <action function="set">tw_back=filemanagerlist</action>
3928 <action function="set">tw_complete_text1=File Operation Complete</action>
3929 <action function="page">action_complete</action>
3930 </actions>
3931 </object>
3932
3933 <object type="action">
3934 <conditions>
3935 <condition var1="tw_operation_state" var2="1" />
3936 <condition var1="tw_operation_status" op="!=" var2="0" />
3937 </conditions>
3938 <actions>
3939 <action function="set">tw_complete_text1=File Operation Complete</action>
3940 <action function="page">action_complete</action>
3941 </actions>
3942 </object>
3943
3944 <object type="action">
3945 <condition var1="tw_include_text3" var2="0" />
3946 <actions>
3947 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3948 </actions>
3949 </object>
3950
3951 <object type="action">
3952 <condition var1="tw_include_text3" var2="1" />
3953 <actions>
3954 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3955 </actions>
3956 </object>
3957 </page>
3958
3959 <page name="decrypt">
3960 <object type="template" name="header" />
3961
3962 <object type="text" color="%text_color%">
3963 <font resource="font" />
3964 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3965 <text>Please Enter Your Password</text>
3966 </object>
3967
3968 <object type="input">
3969 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3970 <background color="%input_background_color%" />
3971 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3972 <font resource="font" color="%text_color%" />
3973 <text>%tw_crypto_display%</text>
3974 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3975 <restrict minlen="1" maxlen="254" />
3976 <actions>
3977 <action function="page">trydecrypt</action>
3978 </actions>
3979 </object>
3980
3981 <object type="text" color="%text_fail_color%">
3982 <condition var1="tw_password_fail" var2="1" />
3983 <font resource="font" />
3984 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3985 <text>Password Failed, Please Try Again</text>
3986 </object>
3987
3988 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003989 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003990 <placement x="%col_center_x%" y="%row2_y%" />
3991 <font resource="font" color="%button_text_color%" />
3992 <text>Cancel</text>
3993 <image resource="main_button" />
3994 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003995 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003996 <action function="page">main</action>
3997 </actions>
3998 </object>
3999
4000 <object type="template" name="keyboardtemplate" />
4001
Dees_Troy51a0e822012-09-05 15:24:24 -04004002 <object type="template" name="footer" />
4003 </page>
4004
4005 <page name="trydecrypt">
4006 <object type="template" name="header" />
4007
4008 <object type="text" color="%text_color%">
4009 <font resource="font" />
4010 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4011 <text>Trying Decryption with Your Password</text>
4012 </object>
4013
4014 <object type="template" name="action_page_console" />
4015
4016 <object type="template" name="progress_bar" />
4017
4018 <object type="action">
4019 <action function="decrypt"></action>
4020 </object>
4021
4022 <object type="action">
4023 <conditions>
4024 <condition var1="tw_operation_state" var2="1" />
4025 <condition var1="tw_operation_status" op="!=" var2="0" />
4026 </conditions>
4027 <actions>
4028 <action function="set">tw_password_fail=1</action>
4029 <action function="page">decrypt</action>
4030 </actions>
4031 </object>
4032
4033 <object type="action">
4034 <conditions>
4035 <condition var1="tw_operation_state" var2="1" />
4036 <condition var1="tw_operation_status" op="=" var2="0" />
4037 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004038 <actions>
4039 <action function="set">tw_page_done=1</action>
4040 <action function="page">main</action>
4041 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004042 </object>
4043 </page>
4044
4045 <page name="terminalfolder">
4046 <object type="template" name="header" />
4047
4048 <object type="text" color="%text_color%">
4049 <font resource="font" />
4050 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4051 <text>Browse to Starting Folder</text>
4052 </object>
4053
4054 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004055 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004056 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4057 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004058 <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 -04004059 <text>%tw_terminal_location%</text>
4060 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4061 <sort name="tw_gui_sort_order" />
4062 <icon folder="folder_icon" file="file_icon" />
4063 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004064 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004065 <filter folders="1" files="0" />
4066 <path name="tw_terminal_location" default="/" />
4067 <data name="tw_terminal" />
4068 <selection name="tw_terminal_selection" />
4069 </object>
4070
4071 <object type="template" name="sort_options" />
4072
4073 <object type="action">
4074 <touch key="home" />
4075 <action function="page">main</action>
4076 </object>
4077
4078 <object type="action">
4079 <touch key="back" />
4080 <action function="page">advanced</action>
4081 </object>
4082
4083 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004084 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004085 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4086 <font resource="font" color="%button_text_color%" />
4087 <text>Select</text>
4088 <image resource="medium_button" />
4089 <actions>
4090 <action function="page">terminalcommand</action>
4091 </actions>
4092 </object>
4093
4094 <object type="template" name="footer" />
4095 </page>
4096
4097 <page name="terminalcommand">
4098 <object type="template" name="header" />
4099
4100 <object type="console">
4101 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4102 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4103 <font resource="fixed" />
4104 </object>
4105
4106 <object type="text" color="%text_color%">
4107 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4108 <font resource="font" />
4109 <text>Starting Path: %tw_terminal_location%</text>
4110 </object>
4111
4112 <object type="input">
4113 <condition var1="tw_terminal_state" var2="0" />
4114 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4115 <background color="%input_background_color%" />
4116 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4117 <font resource="font" color="%text_color%" />
4118 <text>%tw_terminal_command%</text>
4119 <data name="tw_terminal_command" />
4120 <restrict minlen="1" />
4121 <action function="terminalcommand">%tw_terminal_command%</action>
4122 </object>
4123
4124 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004125 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004126 <condition var1="tw_terminal_state" var2="1" />
4127 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4128 <font resource="font" color="%button_text_color%" />
4129 <text>KILL</text>
4130 <image resource="medium_button" />
4131 <action function="killterminal"></action>
4132 </object>
4133
4134 <object type="template" name="keyboardtemplate" />
4135
4136 <object type="action">
4137 <touch key="home" />
4138 <action function="page">main</action>
4139 </object>
4140
4141 <object type="action">
4142 <touch key="back" />
4143 <action function="page">terminalfolder</action>
4144 </object>
4145 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004146
4147 <page name="sideload">
4148 <object type="template" name="header" />
4149
4150 <object type="text" color="%text_color%">
4151 <font resource="font" />
4152 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4153 <text>ADB Sideload</text>
4154 </object>
4155
4156 <object type="checkbox">
4157 <placement x="%col1_x%" y="%row2_text_y%" />
4158 <font resource="font" color="%text_color%" />
4159 <text>Wipe Dalvik Cache.</text>
4160 <data variable="tw_wipe_dalvik" />
4161 <image checked="checkbox_true" unchecked="checkbox_false" />
4162 </object>
4163
4164 <object type="checkbox">
4165 <placement x="%col1_x%" y="%row3_text_y%" />
4166 <font resource="font" color="%text_color%" />
4167 <text>Wipe Cache.</text>
4168 <data variable="tw_wipe_cache" />
4169 <image checked="checkbox_true" unchecked="checkbox_false" />
4170 </object>
4171
4172 <object type="slider">
4173 <placement x="%slider_x%" y="%slider_y%" />
4174 <resource base="slider" used="slider-used" touch="slider-touch" />
4175 <actions>
4176 <action function="set">tw_back=advanced</action>
4177 <action function="set">tw_action=adbsideload</action>
4178 <action function="set">tw_action_text1=ADB Sideload</action>
4179 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4180 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4181 <action function="set">tw_has_cancel=1</action>
4182 <action function="set">tw_show_reboot=1</action>
4183 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4184 <action function="page">action_page</action>
4185 </actions>
4186 </object>
4187
4188 <object type="text" color="%text_color%">
4189 <font resource="font" />
4190 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4191 <text>Swipe to Start Sideload</text>
4192 </object>
4193
4194 <object type="action">
4195 <touch key="home" />
4196 <action function="page">main</action>
4197 </object>
4198
4199 <object type="action">
4200 <touch key="back" />
4201 <action function="page">advanced</action>
4202 </object>
4203
4204 <object type="template" name="footer" />
4205 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004206
4207 <page name="installsu">
4208 <object type="template" name="header" />
4209
4210 <object type="text" color="%text_color%">
4211 <font resource="font" />
4212 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4213 <text>Install SuperSU?</text>
4214 </object>
4215
4216 <object type="text" color="%text_color%">
4217 <font resource="font" />
4218 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4219 <text>Your device does not appear to be rooted.</text>
4220 </object>
4221
4222 <object type="text" color="%text_color%">
4223 <font resource="font" />
4224 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4225 <text>Install SuperSU now?</text>
4226 </object>
4227
4228 <object type="text" color="%text_color%">
4229 <font resource="font" />
4230 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4231 <text>This will root your device.</text>
4232 </object>
4233
4234 <object type="button">
4235 <highlight color="%highlight_color%" />
4236 <placement x="%col_center_x%" y="%row3_y%" />
4237 <font resource="font" color="%button_text_color%" />
4238 <text>Do Not Install</text>
4239 <image resource="main_button" />
4240 <action function="set">tw_page_done=1</action>
4241 </object>
4242
4243 <object type="slider">
4244 <placement x="%slider_x%" y="%slider_y%" />
4245 <resource base="slider" used="slider-used" touch="slider-touch" />
4246 <actions>
4247 <action function="set">tw_action=installsu</action>
4248 <action function="set">tw_action_text1=Installing SuperSU</action>
4249 <action function="set">tw_action_text2=</action>
4250 <action function="page">singleaction_page</action>
4251 </actions>
4252 </object>
4253
4254 <object type="text" color="%text_color%">
4255 <font resource="font" />
4256 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4257 <text>Swipe to Install</text>
4258 </object>
4259 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004260 </pages>
4261</recovery>