blob: 1575485643a242d11fba659ecc0a0d7cdf2c9e79 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
Dees_Troya13d74f2013-03-24 08:54:55 -050047 <variable name="col2_x" value="373" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="360" />
51 <variable name="row1_y" value="170" />
52 <variable name="row2_y" value="410" />
53 <variable name="row3_y" value="650" />
54 <variable name="row4_y" value="890" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="760" />
60 <variable name="row1_header_y" value="120" />
61 <variable name="row1_text_y" value="170" />
62 <variable name="row2_text_y" value="220" />
63 <variable name="row3_text_y" value="270" />
64 <variable name="row4_text_y" value="320" />
65 <variable name="row5_text_y" value="370" />
66 <variable name="row6_text_y" value="420" />
67 <variable name="row7_text_y" value="470" />
68 <variable name="row8_text_y" value="520" />
69 <variable name="row9_text_y" value="570" />
70 <variable name="row10_text_y" value="620" />
71 <variable name="row11_text_y" value="670" />
72 <variable name="row12_text_y" value="720" />
73 <variable name="row13_text_y" value="770" />
74 <variable name="row14_text_y" value="820" />
75 <variable name="row15_text_y" value="870" />
76 <variable name="row16_text_y" value="920" />
77 <variable name="row17_text_y" value="970" />
78 <variable name="row18_text_y" value="1020" />
79 <variable name="zip_status_y" value="615" />
80 <variable name="tz_selected_y" value="160" />
81 <variable name="tz_set_y" value="950" />
82 <variable name="tz_current_y" value="1180" />
83 <variable name="col_progressbar_x" value="234" />
84 <variable name="row_progressbar_y" value="1100" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="185" />
87 <variable name="col3_medium_x" value="365" />
88 <variable name="col4_medium_x" value="540" />
89 <variable name="row1_medium_y" value="130" />
90 <variable name="row2_medium_y" value="230" />
91 <variable name="row3_medium_y" value="330" />
92 <variable name="row4_medium_y" value="430" />
93 <variable name="row5_medium_y" value="530" />
94 <variable name="row6_medium_y" value="840" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="68" />
97 <variable name="slider_y" value="1050" />
98 <variable name="slider_text_y" value="1117" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600104 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400105 <variable name="home_button_x" value="10" />
106 <variable name="home_button_y" value="1226" />
107 <variable name="back_button_x" value="625" />
108 <variable name="back_button_y" value="1226" />
109 <variable name="sort_text_x" value="10" />
110 <variable name="sort_asc_text_y" value="1090" />
111 <variable name="sort_asc_button_y" value="1080" />
112 <variable name="sort_desc_text_y" value="1150" />
113 <variable name="sort_desc_button_y" value="1140" />
114 <variable name="sort_col1_button_x" value="260" />
115 <variable name="sort_col2_button_x" value="360" />
116 <variable name="sort_col3_button_x" value="460" />
117 <variable name="input_width" value="700" />
118 <variable name="input_height" value="50" />
119 <variable name="input_background_color" value="#303030" />
120 <variable name="input_cursor_color" value="#33B5E5" />
121 <variable name="input_cursor_width" value="3" />
122 <variable name="console_x" value="0" />
123 <variable name="console_width" value="720" />
124 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500125 <variable name="warning" value="#F8F8A0" />
126 <variable name="error" value="#FF4040" />
127 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400128 <variable name="console_background" value="#303030" />
129 <variable name="console_scroll" value="#303030" />
130 <variable name="console_action_height" value="470" />
131 <variable name="console_install_height" value="600" />
132 <variable name="console_installdone_height" value="440" />
133 <variable name="fileselector_x" value="5" />
134 <variable name="fileselector_width" value="710" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500135 <variable name="fileselector_install_height" value="780" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_header_background" value="#202020" />
137 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
138 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
139 <variable name="fileselector_header_separatorheight" value="3" />
140 <variable name="fileselector_separatorcolor" value="#505050" />
141 <variable name="fileselector_separatorheight" value="2" />
142 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600143 <variable name="fileselector_highlight_color" value="#505050" />
144 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="fileselector_spacing" value="36" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100146 <variable name="fastscroll_linecolor" value="#808080" />
147 <variable name="fastscroll_rectcolor" value="#808080" />
148 <variable name="fastscroll_w" value="60" />
149 <variable name="fastscroll_linew" value="2" />
150 <variable name="fastscroll_rectw" value="40" />
151 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="listbox_x" value="5" />
153 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600154 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="listbox_background" value="#303030" />
156 <variable name="listbox_spacing" value="16" />
157 <variable name="sd_plus_x" value="350" />
158 <variable name="sdext_text_x" value="110" />
159 <variable name="sdext_text_y" value="180" />
160 <variable name="sdswap_button_y" value="260" />
161 <variable name="sdswap_text_x" value="110" />
162 <variable name="sdswap_text_y" value="270" />
163 <variable name="sdfilesystem_text_y" value="340" />
164 <variable name="sdfilesystem_button_y" value="380" />
165 <variable name="lock_x" value="160" />
166 <variable name="lock_y" value="400" />
167 <variable name="filemanager_select_x" value="560" />
168 <variable name="filemanager_select_y" value="1080" />
169 <variable name="backup_name_y" value="550" />
170 <variable name="terminal_console_height" value="700" />
171 <variable name="terminal_text_y" value="730" />
172 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400173 <variable name="row_dst_text_y" value="720" />
174 <variable name="row_offset_text_y" value="770" />
175 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500176 <variable name="button_fill_color" value="#303030" />
177 <variable name="button_fill_full_width" value="700" />
178 <variable name="button_fill_main_width" value="337" />
179 <variable name="button_fill_main_height" value="216" />
180 <variable name="button_fill_half_height" value="108" />
181 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000182 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500183 <variable name="backup_button_row1" value="745" />
184 <variable name="backup_button_row2" value="810" />
185 <variable name="mount_list_height" value="690" />
186 <variable name="mount_storage_row" value="820" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000187 <variable name="storage_list_height" value="775" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500188 <variable name="wipe_list_height" value="670" />
189 <variable name="wipe_button_row1" value="900" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500190 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200191 <variable name="slidervalue_w" value="700" />
192 <variable name="slidervalue_line_clr" value="#FFFFFF" />
193 <variable name="slidervalue_slider_clr" value="#33B5E5" />
194 <variable name="slidervalue_lineh" value="2" />
195 <variable name="slidervalue_padding" value="20" />
196 <variable name="slidervalue_sliderw" value="10" />
197 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400198 </variables>
199
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100200 <mousecursor>
201 <placement w="15" h="15" />
202 <background color="#FFFF00FF" resource="cursor" />
203 <speed multiplier="2" />
204 </mousecursor>
205
Dees_Troy51a0e822012-09-05 15:24:24 -0400206 <templates>
207 <template name="header">
208 <background color="#000000FF" />
209
210 <object type="image">
211 <image resource="top_bar" />
212 <placement x="0" y="0" />
213 </object>
214
215 <object type="text" color="%text_color%">
216 <font resource="font" />
217 <placement x="120" y="10" />
218 <text>Team Win Recovery Project v%tw_version%</text>
219 </object>
220
221 <object type="text" color="%text_color%">
222 <condition var1="tw_simulate_actions" var2="1" />
223 <font resource="font" />
224 <placement x="120" y="45" />
225 <text>SIMULATING ACTIONS</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <font resource="font" />
230 <placement x="120" y="76" />
231 <text>%tw_time%</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
236 <placement x="270" y="76" />
237 <conditions>
238 <condition var1="tw_no_battery_percent" var2="0" />
239 <condition var1="tw_battery" op=">" var2="0" />
240 <condition var1="tw_battery" op="<" var2="101" />
241 </conditions>
242 <text>Battery: %tw_battery%</text>
243 </object>
244
245 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600246 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400247 <placement x="%home_button_x%" y="%home_button_y%" />
248 <font resource="font" color="%button_text_color%" />
249 <text></text>
250 <image resource="home_icon" />
251 <condition var1="tw_busy" var2="0" />
252 <action function="key">home</action>
253 </object>
254
255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400257 <placement x="%back_button_x%" y="%back_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text></text>
260 <image resource="back_icon" />
261 <condition var1="tw_busy" var2="0" />
262 <action function="key">back</action>
263 </object>
264
265 <object type="action">
266 <touch key="power" />
267 <action function="overlay">lock</action>
268 </object>
269 </template>
270
271 <template name="progress_bar">
272 <object type="progressbar">
273 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500274 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400275 <data name="ui_progress" />
276 </object>
277
278 <object type="animation">
279 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
280 <resource name="progress" />
281 <speed fps="15" render="2" />
282 <loop frame="1" />
283 </object>
284 </template>
285
286 <template name="sort_options">
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
290 <text>Sort Ascending:</text>
291 </object>
292
293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400295 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
296 <font resource="font" color="%button_text_color%" />
297 <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">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400304 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
305 <font resource="font" color="%button_text_color%" />
306 <text>Date</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=2</action>
309 </object>
310
311 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600312 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400313 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
314 <font resource="font" color="%button_text_color%" />
315 <text>Size</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=3</action>
318 </object>
319
320 <object type="text" color="%text_color%">
321 <font resource="font" />
322 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
323 <text>Sort Descending:</text>
324 </object>
325
326 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600327 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400328 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
329 <font resource="font" color="%button_text_color%" />
330 <text>Name</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-1</action>
333 </object>
334
335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400337 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
338 <font resource="font" color="%button_text_color%" />
339 <text>Date</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=-2</action>
342 </object>
343
344 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600345 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400346 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
347 <font resource="font" color="%button_text_color%" />
348 <text>Size</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-3</action>
351 </object>
352 </template>
353
354 <template name="action_page_console">
355 <object type="console">
356 <placement x="0" y="%row2_y%" w="720" h="470" />
357 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
358 <font resource="fixed" />
359 </object>
360 </template>
361
362 <template name="footer">
363 <object type="console">
364 <slideout resource="slideout" x="325" y="1220" />
365 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
366 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
367 <font resource="fixed" />
368 </object>
369 </template>
370
371 <template name="keyboardtemplate">
372 <object type="keyboard">
373 <placement x="0" y="800" />
374 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600375 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600376 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400377 <layout1>
378 <keysize height="106" width="72" />
379 <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" />
380 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
381 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
382 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
383 </layout1>
384 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600385 <keysize height="106" width="72" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400386 <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" />
387 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
388 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
389 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
390 </layout2>
391 <layout3>
392 <keysize height="106" width="72" />
393 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
394 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
395 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
396 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
397 </layout3>
398 <layout4>
399 <keysize height="106" width="72" />
400 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
401 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
402 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
403 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
404 </layout4>
405 </object>
406 </template>
407 </templates>
408
409 <pages>
410 <page name="main">
411 <object type="action">
412 <actions>
413 <action function="set">tw_clear_destination=main2</action>
414 <action function="page">clear_vars</action>
415 </actions>
416 </object>
417 </page>
418
419 <page name="main2">
420 <object type="template" name="header" />
421
422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400424 <placement x="%col1_x%" y="%row1_y%" />
425 <font resource="font" color="%button_text_color%" />
426 <text>Install</text>
427 <image resource="main_button" />
428 <actions>
429 <action function="queueclear"></action>
430 <action function="page">install</action>
431 </actions>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col2_x%" y="%row1_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Wipe</text>
439 <image resource="main_button" />
440 <action function="page">wipe</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row2_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Backup</text>
448 <image resource="main_button" />
449 <action function="page">backup</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row2_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Restore</text>
457 <image resource="main_button" />
458 <action function="page">restore</action>
459 </object>
460
461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <placement x="%col1_x%" y="%row3_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Mount</text>
466 <image resource="main_button" />
467 <action function="page">mount</action>
468 </object>
469
470 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600471 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400472 <placement x="%col2_x%" y="%row3_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Settings</text>
475 <image resource="main_button" />
476 <action function="page">settings</action>
477 </object>
478
479
480 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600481 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <placement x="%col1_x%" y="%row4_y%" />
483 <font resource="font" color="%button_text_color%" />
484 <text>Advanced</text>
485 <image resource="main_button" />
486 <action function="page">advanced</action>
487 </object>
488
489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400491 <placement x="%col2_x%" y="%row4_y%" />
492 <font resource="font" color="%button_text_color%" />
493 <text>Reboot</text>
494 <image resource="main_button" />
495 <action function="page">reboot</action>
496 </object>
497
498 <object type="template" name="footer" />
499 </page>
500
501 <page name="install">
502 <object type="template" name="header" />
503
504 <object type="text" color="%text_color%">
505 <font resource="font" />
506 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
507 <text>Select Zip to Install</text>
508 </object>
509
510 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500511 <highlight color="%highlight_color%" />
512 <fill color="%button_fill_color%" />
513 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
514 <font resource="font" color="%button_text_color%" />
515 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
516 <actions>
517 <action function="set">tw_back=install</action>
518 <action function="page">selectstorage</action>
519 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400520 </object>
521
522 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600523 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500524 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400525 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100526 <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 -0400527 <text>%tw_zip_location%</text>
528 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
529 <sort name="tw_gui_sort_order" />
530 <icon folder="folder_icon" file="file_icon" />
531 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600532 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400533 <filter extn=".zip" folders="1" files="1" />
534 <path name="tw_zip_location" default="/sdcard" />
535 <data name="tw_filename" />
536 <selection name="tw_file" />
537 </object>
538
539 <object type="template" name="sort_options" />
540
541 <object type="action">
542 <condition var1="tw_filename" op="modified" />
543 <actions>
544 <action function="queuezip"></action>
545 <action function="page">flash_confirm</action>
546 </actions>
547 </object>
548
549 <object type="action">
550 <touch key="back" />
551 <action function="page">main</action>
552 </object>
553
554 <object type="action">
555 <touch key="home" />
556 <action function="page">main</action>
557 </object>
558
559 <object type="template" name="footer" />
560 </page>
561
562 <page name="flash_confirm">
563 <object type="template" name="header" />
564
565 <object type="text" color="%text_color%">
566 <font resource="font" />
567 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
568 <text>This operation may install incompatible</text>
569 </object>
570
571 <object type="text" color="%text_color%">
572 <font resource="font" />
573 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
574 <text>software and render your device unusable.</text>
575 </object>
576
577 <object type="text" color="%text_color%">
578 <font resource="font" />
579 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
580 <text>Folder:</text>
581 </object>
582
583 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400584 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400585 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
586 <text>%tw_zip_location%</text>
587 </object>
588
589 <object type="text" color="%text_color%">
590 <font resource="font" />
591 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
592 <text>File to flash:</text>
593 </object>
594
595 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400596 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400597 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
598 <text>%tw_file%</text>
599 </object>
600
601 <object type="text" color="%text_color%">
602 <font resource="font" />
603 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
604 <text>Press back to cancel adding this zip.</text>
605 </object>
606
607 <object type="checkbox">
608 <placement x="%col1_x%" y="%row8_text_y%" />
609 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400610 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400611 <data variable="tw_signed_zip_verify" />
612 <image checked="checkbox_true" unchecked="checkbox_false" />
613 </object>
614
615 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400616 <condition var1="tw_has_injecttwrp" var2="1" />
617 <placement x="%col1_x%" y="%row10_text_y%" />
618 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400619 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400620 <data variable="tw_inject_after_zip" />
621 <image checked="checkbox_true" unchecked="checkbox_false" />
622 </object>
623
624 <object type="text" color="%text_color%">
625 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400626 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <text>File %tw_zip_queue_count% of max of 10</text>
628 </object>
629
630 <object type="slider">
631 <placement x="%slider_x%" y="%slider_y%" placement="5" />
632 <resource base="slider" used="slider-used" touch="slider-touch" />
633 <action function="flash">flash_zip</action>
634 </object>
635
636 <object type="text" color="%text_color%">
637 <font resource="font" />
638 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
639 <text>Swipe to Confirm Flash</text>
640 </object>
641
642 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600643 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400644 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
645 <placement x="%col1_x%" y="%row_queue_y%" />
646 <font resource="font" color="%button_text_color%" />
647 <text>Add More Zips</text>
648 <image resource="main_button" />
649 <action function="page">install</action>
650 </object>
651
652 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600653 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400654 <placement x="%col2_x%" y="%row_queue_y%" />
655 <font resource="font" color="%button_text_color%" />
656 <text>Clear Zip Queue</text>
657 <image resource="main_button" />
658 <actions>
659 <action function="queueclear"></action>
660 <action function="page">install</action>
661 </actions>
662 </object>
663
664 <object type="action">
665 <touch key="back" />
666 <actions>
667 <action function="cancelzip"></action>
668 <action function="page">install</action>
669 </actions>
670 </object>
671
672 <object type="action">
673 <touch key="home" />
674 <action function="page">main</action>
675 </object>
676
677 <object type="template" name="footer" />
678 </page>
679
680 <page name="flash_zip">
681 <object type="template" name="header" />
682
683 <object type="console">
684 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
685 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
686 <font resource="fixed" />
687 </object>
688
689 <object type="text" color="%text_color%">
690 <font resource="font" />
691 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
692 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
693 </object>
694
695 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400696 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400697 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
698 <text>%tw_filename%</text>
699 </object>
700
701 <object type="template" name="progress_bar" />
702
703 <object type="action">
704 <condition var1="tw_operation_state" var2="1" />
705 <action function="page">flash_done</action>
706 </object>
707 </page>
708
709 <page name="flash_done">
710 <object type="template" name="header" />
711
712 <object type="text" color="%text_color%">
713 <font resource="font" />
714 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
715 <text>Zip Install Complete</text>
716 </object>
717
718 <object type="console">
719 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
720 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
721 <font resource="fixed" />
722 </object>
723
724 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600725 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400726 <placement x="%col1_x%" y="%row4_y%" />
727 <font resource="font" color="%button_text_color%" />
728 <text>Wipe cache/dalvik</text>
729 <image resource="main_button" />
730 <actions>
731 <action function="set">tw_back=flash_done</action>
732 <action function="set">tw_action=wipe</action>
733 <action function="set">tw_action_param=/cache</action>
734 <action function="set">tw_has_action2=1</action>
735 <action function="set">tw_action2=wipe</action>
736 <action function="set">tw_action2_param=dalvik</action>
737 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
738 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
739 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
740 <action function="set">tw_slider_text=Swipe to Wipe</action>
741 <action function="page">confirm_action</action>
742 </actions>
743 </object>
744
745 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600746 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <placement x="%col2_x%" y="%row4_y%" />
748 <font resource="font" color="%button_text_color%" />
749 <text>Reboot System</text>
750 <image resource="main_button" />
751 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400752 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <action function="set">tw_action=reboot</action>
754 <action function="set">tw_action_param=system</action>
755 <action function="set">tw_has_action2=0</action>
756 <action function="set">tw_text1=No OS Installed! Are you</action>
757 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400758 <action function="set">tw_text3=</action>
759 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400760 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400761 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <action function="set">tw_complete_text1=Rebooting...</action>
763 <action function="set">tw_slider_text=Swipe to Reboot</action>
764 <action function="page">rebootcheck</action>
765 </actions>
766 </object>
767
768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400770 <placement x="%col_center_x%" y="%row3_y%" />
771 <font resource="font" color="%button_text_color%" />
772 <text>Home</text>
773 <image resource="main_button" />
774 <actions>
775 <action function="set">tw_clear_destination=main2</action>
776 <action function="page">clear_vars</action>
777 </actions>
778 </object>
779
780 <object type="text" color="%text_fail_color%">
781 <condition var1="tw_operation_status" op="!=" var2="0" />
782 <font resource="font" />
783 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
784 <text>Failed</text>
785 </object>
786
787 <object type="text" color="%text_success_color%">
788 <condition var1="tw_operation_status" var2="0" />
789 <font resource="font" />
790 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
791 <text>Successful</text>
792 </object>
793
794 <object type="action">
795 <touch key="back" />
796 <actions>
797 <action function="set">tw_clear_destination=install</action>
798 <action function="page">clear_vars</action>
799 </actions>
800 </object>
801
802 <object type="action">
803 <touch key="home" />
804 <actions>
805 <action function="set">tw_clear_destination=main2</action>
806 <action function="page">clear_vars</action>
807 </actions>
808 </object>
809 </page>
810
811 <page name="clear_vars">
812 <object type="action">
813 <action function="set">tw_operation_state=0</action>
814 <action function="set">tw_text1=</action>
815 <action function="set">tw_text2=</action>
816 <action function="set">tw_text3=</action>
817 <action function="set">tw_text4=</action>
818 <action function="set">tw_action_text1=</action>
819 <action function="set">tw_action_text2=</action>
820 <action function="set">tw_action_param=</action>
821 <action function="set">tw_has_action2=0</action>
822 <action function="set">tw_action2=</action>
823 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400824 <action function="set">tw_has_cancel=0</action>
825 <action function="set">tw_cancel_action=</action>
826 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400827 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400828 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400829 <action function="page">%tw_clear_destination%</action>
830 </object>
831 </page>
832
833 <page name="confirm_action">
834 <object type="template" name="header" />
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
839 <text>%tw_text1%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
845 <text>%tw_text2%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
851 <text>%tw_text3%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
857 <text>%tw_text4%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400862 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400863 <text>Press back button to cancel.</text>
864 </object>
865
866 <object type="slider">
867 <placement x="%slider_x%" y="%slider_y%" />
868 <resource base="slider" used="slider-used" touch="slider-touch" />
869 <action function="page">action_page</action>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
875 <text>%tw_slider_text%</text>
876 </object>
877
878 <object type="action">
879 <touch key="back" />
880 <actions>
881 <action function="set">tw_clear_destination=%tw_back%</action>
882 <action function="page">clear_vars</action>
883 </actions>
884 </object>
885
886 <object type="action">
887 <touch key="home" />
888 <action function="page">main</action>
889 </object>
890
891 <object type="template" name="footer" />
892 </page>
893
894 <page name="action_page">
895 <object type="template" name="header" />
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
900 <text>%tw_action_text1%</text>
901 </object>
902
903 <object type="text" color="%text_color%">
904 <font resource="font" />
905 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
906 <text>%tw_action_text2%</text>
907 </object>
908
909 <object type="template" name="action_page_console" />
910
Dees_Troybbb21012012-09-20 15:59:46 -0400911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600912 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400913 <condition var1="tw_has_cancel" var2="1" />
914 <placement x="%col_center_medium_x%" y="%row4_y%" />
915 <font resource="font" color="%button_text_color%" />
916 <text>Cancel</text>
917 <image resource="medium_button" />
918 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
919 </object>
920
Dees_Troy51a0e822012-09-05 15:24:24 -0400921 <object type="template" name="progress_bar" />
922
923 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400924 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400925 <actions>
926 <action function="page">action_complete</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="0" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="1" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 <action function="%tw_action2%">%tw_action2_param%</action>
942 </actions>
943 </object>
944 </page>
945
Dees_Troy6ef66352013-02-21 08:26:57 -0600946 <page name="singleaction_page">
947 <object type="template" name="header" />
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
952 <text>%tw_action_text1%</text>
953 </object>
954
955 <object type="text" color="%text_color%">
956 <font resource="font" />
957 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
958 <text>%tw_action_text2%</text>
959 </object>
960
961 <object type="template" name="action_page_console" />
962
963 <object type="template" name="progress_bar" />
964
965 <object type="action">
966 <condition var1="tw_operation_state" var2="1" />
967 <actions>
968 <action function="set">tw_page_done=1</action>
969 </actions>
970 </object>
971
972 <object type="action">
973 <condition var1="tw_has_action2" var2="0" />
974 <actions>
975 <action function="%tw_action%">%tw_action_param%</action>
976 </actions>
977 </object>
978
979 <object type="action">
980 <condition var1="tw_has_action2" var2="1" />
981 <actions>
982 <action function="%tw_action%">%tw_action_param%</action>
983 <action function="%tw_action2%">%tw_action2_param%</action>
984 </actions>
985 </object>
986 </page>
987
Dees_Troy51a0e822012-09-05 15:24:24 -0400988 <page name="action_complete">
989 <object type="template" name="header" />
990
991 <object type="text" color="%text_color%">
992 <font resource="font" />
993 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
994 <text>%tw_complete_text1%</text>
995 </object>
996
997 <object type="text" color="%text_fail_color%">
998 <condition var1="tw_operation_status" op="!=" var2="0" />
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1001 <text>Failed</text>
1002 </object>
1003
1004 <object type="text" color="%text_success_color%">
1005 <condition var1="tw_operation_status" var2="0" />
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1008 <text>Successful</text>
1009 </object>
1010
1011 <object type="template" name="action_page_console" />
1012
1013 <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="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001016 <placement x="%col_center_x%" y="%row4_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Back</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_clear_destination=%tw_back%</action>
1022 <action function="page">clear_vars</action>
1023 </actions>
1024 </object>
1025
Dees_Troya3f81542012-10-08 10:58:53 -04001026 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001027 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001028 <condition var1="tw_show_reboot" var2="1" />
1029 <placement x="%col_center_x%" y="%row4_y%" />
1030 <font resource="font" color="%button_text_color%" />
1031 <text>Reboot System</text>
1032 <image resource="main_button" />
1033 <actions>
1034 <action function="set">tw_back=main2</action>
1035 <action function="set">tw_action=reboot</action>
1036 <action function="set">tw_action_param=system</action>
1037 <action function="set">tw_has_action2=0</action>
1038 <action function="set">tw_text1=No OS Installed! Are you</action>
1039 <action function="set">tw_text2=sure you wish to reboot?</action>
1040 <action function="set">tw_text3=</action>
1041 <action function="set">tw_text4=</action>
1042 <action function="set">tw_action_text1=Rebooting...</action>
1043 <action function="set">tw_action_text2=</action>
1044 <action function="set">tw_complete_text1=Rebooting...</action>
1045 <action function="set">tw_slider_text=Swipe to Reboot</action>
1046 <action function="page">rebootcheck</action>
1047 </actions>
1048 </object>
1049
Dees_Troy51a0e822012-09-05 15:24:24 -04001050 <object type="action">
1051 <touch key="home" />
1052 <actions>
1053 <action function="set">tw_clear_destination=main2</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057
1058 <object type="action">
1059 <touch key="back" />
1060 <actions>
1061 <action function="set">tw_clear_destination=%tw_back%</action>
1062 <action function="page">clear_vars</action>
1063 </actions>
1064 </object>
1065 </page>
1066
1067 <page name="filecheck">
1068 <object type="action">
1069 <action function="fileexists">%tw_filecheck%</action>
1070 </object>
1071
1072 <object type="action">
1073 <conditions>
1074 <condition var1="tw_operation_state" var2="1" />
1075 <condition var1="tw_operation_status" var2="0" />
1076 </conditions>
1077 <actions>
1078 <action function="set">tw_fileexists=1</action>
1079 <action function="page">%tw_existpage%</action>
1080 </actions>
1081 </object>
1082
1083 <object type="action">
1084 <conditions>
1085 <condition var1="tw_operation_state" var2="1" />
1086 <condition var1="tw_operation_status" var2="1" />
1087 </conditions>
1088 <actions>
1089 <action function="set">tw_fileexists=0</action>
1090 <action function="page">%tw_notexistpage%</action>
1091 </actions>
1092 </object>
1093 </page>
1094
1095 <page name="rebootcheck">
1096 <object type="action">
1097 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1098 <action function="reboot">%tw_action_param%</action>
1099 </object>
1100
1101 <object type="action">
1102 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1103 <action function="page">confirm_action</action>
1104 </object>
1105 </page>
1106
1107 <page name="wipe">
1108 <object type="template" name="header" />
1109
1110 <object type="text" color="%text_color%">
1111 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001112 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001113 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <font resource="font" />
1118 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1119 <text>Wipes Data, Cache, and Dalvik</text>
1120 </object>
1121
1122 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001123 <conditions>
1124 <condition var1="tw_has_android_secure" var2="1" />
1125 <condition var1="fileexists" var2="/and-sec" />
1126 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001127 <font resource="font" />
1128 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1129 <text>.android_secure</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <condition var1="tw_has_data_media" var2="1" />
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1136 <text>(not including internal storage)</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <condition var1="tw_has_sdext_partition" var2="1" />
1141 <font resource="font" />
1142 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1143 <text>SD-EXT</text>
1144 </object>
1145
1146 <object type="text" color="%text_color%">
1147 <font resource="font" />
1148 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1149 <text>Most of the time this is</text>
1150 </object>
1151
1152 <object type="text" color="%text_color%">
1153 <font resource="font" />
1154 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1155 <text>the only wipe that you need.</text>
1156 </object>
1157
1158 <object type="text" color="%text_color%">
1159 <font resource="font" />
1160 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1161 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 </object>
1163
1164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001165 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001166 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001167 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001170 <actions>
1171 <action function="set">partitionlisterror=0</action>
1172 <action function="page">advancedwipe</action>
1173 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001174 </object>
1175
1176 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001177 <conditions>
1178 <condition var1="tw_has_internal" var2="1" />
1179 <condition var1="tw_has_data_media" var2="1" />
1180 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001181 <highlight color="%highlight_color%" />
1182 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001183 <font resource="font" color="%button_text_color%" />
1184 <text>Format Data</text>
1185 <image resource="main_button" />
1186 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001187 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001188 </actions>
1189 </object>
1190
Dees_Troya13d74f2013-03-24 08:54:55 -05001191 <object type="slider">
1192 <placement x="%slider_x%" y="%slider_y%" />
1193 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001194 <actions>
1195 <action function="set">tw_back=wipe</action>
1196 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001197 <action function="set">tw_action_param=data</action>
1198 <action function="set">tw_action_text1=Factory Reset...</action>
1199 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1200 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001201 </actions>
1202 </object>
1203
Dees_Troya13d74f2013-03-24 08:54:55 -05001204 <object type="text" color="%text_color%">
1205 <font resource="font" />
1206 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1207 <text>Swipe to Factory Reset</text>
1208 </object>
1209
1210 <object type="action">
1211 <touch key="back" />
1212 <action function="page">main</action>
1213 </object>
1214
1215 <object type="action">
1216 <touch key="home" />
1217 <action function="page">main</action>
1218 </object>
1219
1220 <object type="template" name="footer" />
1221 </page>
1222
1223 <page name="advancedwipe">
1224 <object type="template" name="header" />
1225
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001226 <object type="action">
1227 <action function="set">tw_wipe_list=</action>
1228 </object>
1229
Dees_Troya13d74f2013-03-24 08:54:55 -05001230 <object type="text" color="%text_color%">
1231 <font resource="font" />
1232 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1233 <text>Wipe Menu</text>
1234 </object>
1235
1236 <object type="partitionlist">
1237 <highlight color="%fileselector_highlight_color%" />
1238 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1239 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1240 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1241 <text>Select Partitions to Wipe:</text>
1242 <icon selected="checkbox_true" unselected="checkbox_false" />
1243 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1244 <background color="%listbox_background%" />
1245 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1246 <data name="tw_wipe_list" />
1247 <listtype name="wipe" />
1248 </object>
1249
1250 <object type="slider">
1251 <placement x="%slider_x%" y="%slider_y%" />
1252 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001253 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001254 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001255 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001256 <action function="set">tw_action_param=LIST</action>
1257 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1258 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1259 <action function="set">tw_complete_text1=Wipe Complete</action>
1260 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001261 </actions>
1262 </object>
1263
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001264 <object type="button">
1265 <highlight color="%highlight_color%" />
1266 <fill color="%button_fill_color%" />
1267 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1268 <font resource="font" color="%button_text_color%" />
1269 <text>Repair or Change File System</text>
1270 <actions>
1271 <action function="checkpartitionlist"></action>
1272 <action function="page">checkpartitionlist</action>
1273 </actions>
1274 </object>
1275
1276 <object type="text" color="%text_fail_color%">
1277 <condition var1="partitionlisterror" var2="1" />
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1280 <text>Invalid partition selection</text>
1281 </object>
1282
Dees_Troya13d74f2013-03-24 08:54:55 -05001283 <object type="text" color="%text_color%">
1284 <font resource="font" />
1285 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1286 <text>Swipe to Wipe</text>
1287 </object>
1288
Dees_Troy51a0e822012-09-05 15:24:24 -04001289 <object type="action">
1290 <touch key="home" />
1291 <action function="page">main</action>
1292 </object>
1293
1294 <object type="action">
1295 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001296 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001297 </object>
1298
1299 <object type="template" name="footer" />
1300 </page>
1301
Dees_Troya13d74f2013-03-24 08:54:55 -05001302 <page name="formatdata">
1303 <object type="template" name="header" />
1304
1305 <object type="text" color="%text_color%">
1306 <font resource="font" />
1307 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1308 <text>Format Data will wipe all of your apps,</text>
1309 </object>
1310
1311 <object type="text" color="%text_color%">
1312 <font resource="font" />
1313 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1314 <text>backups, pictures, videos, media, and</text>
1315 </object>
1316
1317 <object type="text" color="%text_color%">
1318 <font resource="font" />
1319 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1320 <text>removes encryption on internal storage.</text>
1321 </object>
1322
1323 <object type="text" color="%text_color%">
1324 <font resource="font" />
1325 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1326 <text>This cannot be undone. Press back to cancel.</text>
1327 </object>
1328
1329 <object type="text" color="%text_color%">
1330 <font resource="font" />
1331 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1332 <text>Type yes to continue.</text>
1333 </object>
1334
1335 <object type="input">
1336 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1337 <background color="%input_background_color%" />
1338 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1339 <font resource="font" color="%text_color%" />
1340 <text>%tw_confirm_formatdata%</text>
1341 <data name="tw_confirm_formatdata" />
1342 <restrict minlen="3" maxlen="3" allow="yes" />
1343 <action function="page">formatdata_confirm</action>
1344 </object>
1345
1346 <object type="template" name="keyboardtemplate" />
1347
1348 <object type="action">
1349 <touch key="home" />
1350 <action function="page">main</action>
1351 </object>
1352
1353 <object type="action">
1354 <touch key="back" />
1355 <action function="page">wipe</action>
1356 </object>
1357
1358 <object type="template" name="footer" />
1359 </page>
1360
1361 <page name="formatdata_confirm">
1362 <object type="action">
1363 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1364 <actions>
1365 <action function="set">tw_back=formatdata</action>
1366 <action function="set">tw_action=wipe</action>
1367 <action function="set">tw_action_param=DATAMEDIA</action>
1368 <action function="set">tw_action_text1=Formatting Data...</action>
1369 <action function="set">tw_complete_text1=Data Format Complete</action>
1370 <action function="page">action_page</action>
1371 </actions>
1372 </object>
1373
1374 <object type="action">
1375 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1376 <action function="page">formatdata</function>
1377 </object>
1378 </page>
1379
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001380 <page name="checkpartitionlist">
1381 <object type="action">
1382 <condition var1="tw_check_partition_list" op="=" var2="1" />
1383 <actions>
1384 <action function="set">partitionlisterror=0</action>
1385 <action function="getpartitiondetails"></action>
1386 <action function="page">partitionoptions</action>
1387 </actions>
1388 </object>
1389
1390 <object type="action">
1391 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1392 <actions>
1393 <action function="set">partitionlisterror=1</action>
1394 <action function="set">tw_wipe_list=</action>
1395 <action function="page">advancedwipe</action>
1396 </actions>
1397 </object>
1398 </page>
1399
1400 <page name="partitionoptions">
1401 <object type="template" name="header" />
1402
1403 <object type="text" color="%text_color%">
1404 <font resource="font" />
1405 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1406 <text>Partition Options for: %tw_partition_name%</text>
1407 </object>
1408
1409 <object type="text" color="%text_color%">
1410 <font resource="font" />
1411 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1412 <text>Mount Point: %tw_partition_mount_point%</text>
1413 </object>
1414
1415 <object type="text" color="%text_color%">
1416 <font resource="font" />
1417 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1418 <text>Current file system: %tw_partition_file_system%</text>
1419 </object>
1420
1421 <object type="text" color="%text_color%">
1422 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1423 <font resource="font" />
1424 <placement x="%col1_x%" y="%row3_text_y%" />
1425 <text>Present: Yes</text>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <condition var1="tw_partition_is_present" op="=" var2="0" />
1430 <font resource="font" />
1431 <placement x="%col1_x%" y="%row3_text_y%" />
1432 <text>Present: No</text>
1433 </object>
1434
1435 <object type="text" color="%text_color%">
1436 <condition var1="tw_partition_removable" op="!=" var2="0" />
1437 <font resource="font" />
1438 <placement x="%col2_x%" y="%row3_text_y%" />
1439 <text>Removable: Yes</text>
1440 </object>
1441
1442 <object type="text" color="%text_color%">
1443 <condition var1="tw_partition_removable" op="=" var2="0" />
1444 <font resource="font" />
1445 <placement x="%col2_x%" y="%row3_text_y%" />
1446 <text>Removable: No</text>
1447 </object>
1448
1449 <object type="text" color="%text_color%">
1450 <font resource="font" />
1451 <placement x="%col1_x%" y="%row4_text_y%" />
1452 <text>Size: %tw_partition_size%MB</text>
1453 </object>
1454
1455 <object type="text" color="%text_color%">
1456 <font resource="font" />
1457 <placement x="%col2_x%" y="%row4_text_y%" />
1458 <text>Used: %tw_partition_used%MB</text>
1459 </object>
1460
1461 <object type="text" color="%text_color%">
1462 <font resource="font" />
1463 <placement x="%col1_x%" y="%row5_text_y%" />
1464 <text>Free: %tw_partition_free%MB</text>
1465 </object>
1466
1467 <object type="text" color="%text_color%">
1468 <font resource="font" />
1469 <placement x="%col2_x%" y="%row5_text_y%" />
1470 <text>Backup Size: %tw_partition_backup_size%MB</text>
1471 </object>
1472
1473 <object type="button">
1474 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1475 <highlight color="%highlight_color%" />
1476 <placement x="%col1_x%" y="%row4_y%" />
1477 <font resource="font" color="%button_text_color%" />
1478 <text>Repair</text>
1479 <image resource="main_button" />
1480 <actions>
1481 <action function="set">tw_back=partitionoptions</action>
1482 <action function="set">tw_action=repair</action>
1483 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1484 <action function="set">tw_has_action2=0</action>
1485 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1486 <action function="set">tw_text2=</action>
1487 <action function="set">tw_action_text1=Repairing...</action>
1488 <action function="set">tw_complete_text1=Repair Complete</action>
1489 <action function="set">tw_slider_text=Swipe to Repair</action>
1490 <action function="page">confirm_action</action>
1491 </actions>
1492 </object>
1493
1494 <object type="button">
1495 <highlight color="%highlight_color%" />
1496 <placement x="%col2_x%" y="%row4_y%" />
1497 <font resource="font" color="%button_text_color%" />
1498 <text>Change File System</text>
1499 <image resource="main_button" />
1500 <action function="page">selectfilesystem</action>
1501 </object>
1502
1503 <object type="action">
1504 <touch key="home" />
1505 <action function="page">main</action>
1506 </object>
1507
1508 <object type="action">
1509 <touch key="back" />
1510 <action function="page">advancedwipe</action>
1511 </object>
1512
1513 <object type="template" name="footer" />
1514 </page>
1515
1516 <page name="selectfilesystem">
1517 <object type="template" name="header" />
1518
1519 <object type="text" color="%text_color%">
1520 <font resource="font" />
1521 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1522 <text>Change file system for: %tw_partition_name%</text>
1523 </object>
1524
1525 <object type="text" color="%text_color%">
1526 <font resource="font" />
1527 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1528 <text>Mount Point: %tw_partition_mount_point%</text>
1529 </object>
1530
1531 <object type="text" color="%text_color%">
1532 <font resource="font" />
1533 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1534 <text>Current file system: %tw_partition_file_system%</text>
1535 </object>
1536
1537 <object type="text" color="%text_color%">
1538 <font resource="font" />
1539 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1540 <text>Some ROMs or kernels may not support some</text>
1541 </object>
1542
1543 <object type="text" color="%text_color%">
1544 <font resource="font" />
1545 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1546 <text>file systems. Proceed with caution!</text>
1547 </object>
1548
1549 <object type="button">
1550 <condition var1="tw_partition_ext" op="=" var2="1" />
1551 <highlight color="%highlight_color%" />
1552 <placement x="%col1_x%" y="%row2_y%" />
1553 <font resource="font" color="%button_text_color%" />
1554 <text>EXT2</text>
1555 <image resource="main_button" />
1556 <actions>
1557 <action function="set">tw_back=selectfilesystem</action>
1558 <action function="set">tw_action=changefilesystem</action>
1559 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1560 <action function="set">tw_action_new_file_system=ext2</action>
1561 <action function="set">tw_has_action2=0</action>
1562 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1563 <action function="set">tw_text2=</action>
1564 <action function="set">tw_action_text1=Formatting...</action>
1565 <action function="set">tw_complete_text1=Format Complete</action>
1566 <action function="set">tw_slider_text=Swipe to Change</action>
1567 <action function="page">confirm_action</action>
1568 </actions>
1569 </object>
1570
1571 <object type="button">
1572 <condition var1="tw_partition_ext" op="=" var2="1" />
1573 <highlight color="%highlight_color%" />
1574 <placement x="%col2_x%" y="%row2_y%" />
1575 <font resource="font" color="%button_text_color%" />
1576 <text>EXT3</text>
1577 <image resource="main_button" />
1578 <actions>
1579 <action function="set">tw_back=selectfilesystem</action>
1580 <action function="set">tw_action=changefilesystem</action>
1581 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1582 <action function="set">tw_action_new_file_system=ext3</action>
1583 <action function="set">tw_has_action2=0</action>
1584 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1585 <action function="set">tw_text2=</action>
1586 <action function="set">tw_action_text1=Formatting...</action>
1587 <action function="set">tw_complete_text1=Format Complete</action>
1588 <action function="set">tw_slider_text=Swipe to Change</action>
1589 <action function="page">confirm_action</action>
1590 </actions>
1591 </object>
1592
1593 <object type="button">
1594 <condition var1="tw_partition_ext" op="=" var2="1" />
1595 <highlight color="%highlight_color%" />
1596 <placement x="%col1_x%" y="%row3_y%" />
1597 <font resource="font" color="%button_text_color%" />
1598 <text>EXT4</text>
1599 <image resource="main_button" />
1600 <actions>
1601 <action function="set">tw_back=selectfilesystem</action>
1602 <action function="set">tw_action=changefilesystem</action>
1603 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1604 <action function="set">tw_action_new_file_system=ext4</action>
1605 <action function="set">tw_has_action2=0</action>
1606 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1607 <action function="set">tw_text2=</action>
1608 <action function="set">tw_action_text1=Formatting...</action>
1609 <action function="set">tw_complete_text1=Format Complete</action>
1610 <action function="set">tw_slider_text=Swipe to Change</action>
1611 <action function="page">confirm_action</action>
1612 </actions>
1613 </object>
1614
1615 <object type="button">
1616 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1617 <highlight color="%highlight_color%" />
1618 <placement x="%col2_x%" y="%row3_y%" />
1619 <font resource="font" color="%button_text_color%" />
1620 <text>F2FS</text>
1621 <image resource="main_button" />
1622 <actions>
1623 <action function="set">tw_back=selectfilesystem</action>
1624 <action function="set">tw_action=changefilesystem</action>
1625 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1626 <action function="set">tw_action_new_file_system=f2fs</action>
1627 <action function="set">tw_has_action2=0</action>
1628 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1629 <action function="set">tw_text2=</action>
1630 <action function="set">tw_action_text1=Formatting...</action>
1631 <action function="set">tw_complete_text1=Format Complete</action>
1632 <action function="set">tw_slider_text=Swipe to Change</action>
1633 <action function="page">confirm_action</action>
1634 </actions>
1635 </object>
1636
1637 <object type="button">
1638 <condition var1="tw_partition_vfat" op="=" var2="1" />
1639 <highlight color="%highlight_color%" />
1640 <placement x="%col1_x%" y="%row4_y%" />
1641 <font resource="font" color="%button_text_color%" />
1642 <text>FAT</text>
1643 <image resource="main_button" />
1644 <actions>
1645 <action function="set">tw_back=selectfilesystem</action>
1646 <action function="set">tw_action=changefilesystem</action>
1647 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1648 <action function="set">tw_action_new_file_system=vfat</action>
1649 <action function="set">tw_has_action2=0</action>
1650 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1651 <action function="set">tw_text2=</action>
1652 <action function="set">tw_action_text1=Formatting...</action>
1653 <action function="set">tw_complete_text1=Format Complete</action>
1654 <action function="set">tw_slider_text=Swipe to Change</action>
1655 <action function="page">confirm_action</action>
1656 </actions>
1657 </object>
1658
1659 <object type="button">
1660 <condition var1="tw_partition_exfat" op="=" var2="1" />
1661 <highlight color="%highlight_color%" />
1662 <placement x="%col2_x%" y="%row4_y%" />
1663 <font resource="font" color="%button_text_color%" />
1664 <text>exFAT</text>
1665 <image resource="main_button" />
1666 <actions>
1667 <action function="set">tw_back=selectfilesystem</action>
1668 <action function="set">tw_action=changefilesystem</action>
1669 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1670 <action function="set">tw_action_new_file_system=exfat</action>
1671 <action function="set">tw_has_action2=0</action>
1672 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1673 <action function="set">tw_text2=</action>
1674 <action function="set">tw_action_text1=Formatting...</action>
1675 <action function="set">tw_complete_text1=Format Complete</action>
1676 <action function="set">tw_slider_text=Swipe to Change</action>
1677 <action function="page">confirm_action</action>
1678 </actions>
1679 </object>
1680
1681 <object type="action">
1682 <touch key="home" />
1683 <action function="page">main</action>
1684 </object>
1685
1686 <object type="action">
1687 <touch key="back" />
1688 <action function="page">partitionoptions</action>
1689 </object>
1690
1691 <object type="template" name="footer" />
1692 </page>
1693
Dees_Troy51a0e822012-09-05 15:24:24 -04001694 <page name="backup">
1695 <object type="template" name="header" />
1696
Dees_Troy83bd4832013-05-04 12:39:56 +00001697 <object type="button">
1698 <highlight color="%highlight_color%" />
1699 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001700 <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 +00001701 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001702 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001703 <actions>
1704 <action function="set">tw_fileexists=0</action>
1705 <action function="page">backupname1</action>
1706 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 </object>
1708
Dees_Troya13d74f2013-03-24 08:54:55 -05001709 <object type="partitionlist">
1710 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001711 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001712 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1713 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1714 <text>Select Partitions to Back Up:</text>
1715 <icon selected="checkbox_true" unselected="checkbox_false" />
1716 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1717 <background color="%listbox_background%" />
1718 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1719 <data name="tw_backup_list" />
1720 <listtype name="backup" />
1721 </object>
1722
1723 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001724 <conditions>
1725 <condition var1="tw_include_encrypted_backup" var2="1" />
1726 <condition var1="tw_encrypt_backup" var2="0" />
1727 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001728 <highlight color="%highlight_color%" />
1729 <fill color="%button_fill_color%" />
1730 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1731 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001732 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001733 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001734 <action function="page">backupencryption</action>
1735 </actions>
1736 </object>
1737
1738 <object type="button">
1739 <conditions>
1740 <condition var1="tw_include_encrypted_backup" var2="1" />
1741 <condition var1="tw_encrypt_backup" var2="1" />
1742 </conditions>
1743 <highlight color="%highlight_color%" />
1744 <fill color="%button_fill_color%" />
1745 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1746 <font resource="font" color="%button_text_color%" />
1747 <text>Using Encryption</text>
1748 <actions>
1749 <action function="set">tw_password_not_match=0</action>
1750 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001751 </actions>
1752 </object>
1753
1754 <object type="button">
1755 <highlight color="%highlight_color%" />
1756 <fill color="%button_fill_color%" />
1757 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1758 <font resource="font" color="%button_text_color%" />
1759 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001760 <actions>
1761 <action function="refreshsizes"></action>
1762 <action function="page">backup</action>
1763 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001764 </object>
1765
1766 <object type="button">
1767 <highlight color="%highlight_color%" />
1768 <fill color="%button_fill_color%" />
1769 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1770 <font resource="font" color="%button_text_color%" />
1771 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1772 <actions>
1773 <action function="set">tw_back=backup</action>
1774 <action function="page">selectstorage</action>
1775 </actions>
1776 </object>
1777
1778 <object type="checkbox">
1779 <placement x="%col1_x%" y="%row15_text_y%" />
1780 <font resource="font" color="%text_color%" />
1781 <text>Enable compression.</text>
1782 <data variable="tw_use_compression" />
1783 <image checked="checkbox_true" unchecked="checkbox_false" />
1784 </object>
1785
1786 <object type="checkbox">
1787 <placement x="%col1_x%" y="%row16_text_y%" />
1788 <font resource="font" color="%text_color%" />
1789 <text>Skip MD5 generation during backup.</text>
1790 <data variable="tw_skip_md5_generate" />
1791 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001792 </object>
1793
1794 <object type="slider">
1795 <placement x="%slider_x%" y="slider_y" />
1796 <resource base="slider" used="slider-used" touch="slider-touch" />
1797 <action function="page">backup_run</action>
1798 </object>
1799
1800 <object type="text" color="%text_color%">
1801 <font resource="font" />
1802 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1803 <text>Swipe to Back Up</text>
1804 </object>
1805
Dees_Troy51a0e822012-09-05 15:24:24 -04001806 <object type="action">
1807 <touch key="home" />
1808 <action function="page">main</action>
1809 </object>
1810
1811 <object type="action">
1812 <touch key="back" />
1813 <action function="page">main</action>
1814 </object>
1815
1816 <object type="template" name="footer" />
1817 </page>
1818
1819 <page name="backupname1">
1820 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001821 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1822 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001823 </object>
1824
1825 <object type="action">
1826 <action function="page">backupname2</function>
1827 </object>
1828 </page>
1829
1830 <page name="backupname2">
1831 <object type="template" name="header" />
1832
1833 <object type="text" color="%text_color%">
1834 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1835 <font resource="font" />
1836 <text>Please Enter a Backup Name</text>
1837 </object>
1838
1839 <object type="input">
1840 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1841 <background color="%input_background_color%" />
1842 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1843 <font resource="font" color="%text_color%" />
1844 <text>%tw_backup_name%</text>
1845 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001846 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001847 <actions>
1848 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1849 <action function="set">tw_existpage=backupname2</action>
1850 <action function="set">tw_notexistpage=backup</action>
1851 <action function="page">filecheck</action>
1852 </actions>
1853 </object>
1854
1855 <object type="text" color="%text_fail_color%">
1856 <condition var1="tw_fileexists" var2="1" />
1857 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1858 <font resource="font" />
1859 <text>A backup with that name already exists!</text>
1860 </object>
1861
1862 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001863 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001864 <placement x="%col1_x%" y="%row2_y%" />
1865 <font resource="font" color="%button_text_color%" />
1866 <text>Append Date</text>
1867 <image resource="main_button" />
1868 <action function="appenddatetobackupname"></action>
1869 </object>
1870
1871 <object type="button">
1872 <highlight color="%highlight_color%" />
1873 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001874 <font resource="font" color="%button_text_color%" />
1875 <text>Cancel</text>
1876 <image resource="main_button" />
1877 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001878 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001879 <action function="page">backup</action>
1880 </actions>
1881 </object>
1882
1883 <object type="template" name="keyboardtemplate" />
1884
1885 <object type="action">
1886 <touch key="home" />
1887 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001888 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001889 <action function="page">main</action>
1890 </actions>
1891 </object>
1892
1893 <object type="action">
1894 <touch key="back" />
1895 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001896 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001897 <action function="page">backup</action>
1898 </actions>
1899 </object>
1900
1901 <object type="template" name="footer" />
1902 </page>
1903
Dees_Troy83bd4832013-05-04 12:39:56 +00001904 <page name="backupencryption">
1905 <object type="template" name="header" />
1906
1907 <object type="text" color="%text_color%">
1908 <font resource="font" />
1909 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1910 <text>Encrypt your backup?</text>
1911 </object>
1912
1913 <object type="text" color="%text_color%">
1914 <font resource="font" />
1915 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1916 <text>Please Enter A Password:</text>
1917 </object>
1918
1919 <object type="input">
1920 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1921 <background color="%input_background_color%" />
1922 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1923 <font resource="font" color="%text_color%" />
1924 <text>%tw_backup_encrypt_display%</text>
1925 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1926 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1927 <action function="page">backupencryption2</action>
1928 </object>
1929
1930 <object type="text" color="%text_fail_color%">
1931 <condition var1="tw_password_not_match" var2="1" />
1932 <font resource="font" />
1933 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1934 <text>Passwords Do Not Match</text>
1935 </object>
1936
1937 <object type="button">
1938 <highlight color="%highlight_color%" />
1939 <placement x="%col_center_x%" y="%row2_y%" />
1940 <font resource="font" color="%button_text_color%" />
1941 <text>Cancel</text>
1942 <image resource="main_button" />
1943 <actions>
1944 <action function="set">tw_encrypt_backup=0</action>
1945 <action function="set">tw_backup_password=</action>
1946 <action function="set">tw_backup_password2=</action>
1947 <action function="set">tw_backup_encrypt_display=</action>
1948 <action function="set">tw_backup_encrypt_display2=</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </object>
1952
1953 <object type="template" name="keyboardtemplate" />
1954
1955 <object type="action">
1956 <touch key="home" />
1957 <action function="page">main</action>
1958 </object>
1959
1960 <object type="action">
1961 <touch key="back" />
1962 <action function="page">backup</action>
1963 </object>
1964
1965 <object type="template" name="footer" />
1966 </page>
1967
1968 <page name="backupencryption2">
1969 <object type="template" name="header" />
1970
1971 <object type="text" color="%text_color%">
1972 <font resource="font" />
1973 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1974 <text>Encrypt your backup?</text>
1975 </object>
1976
1977 <object type="text" color="%text_color%">
1978 <font resource="font" />
1979 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1980 <text>Please Enter Password Again:</text>
1981 </object>
1982
1983 <object type="input">
1984 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1985 <background color="%input_background_color%" />
1986 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1987 <font resource="font" color="%text_color%" />
1988 <text>%tw_backup_encrypt_display2%</text>
1989 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1990 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1991 <actions>
1992 <action function="page">checkbackuppassword</action>
1993 </actions>
1994 </object>
1995
1996 <object type="button">
1997 <highlight color="%highlight_color%" />
1998 <placement x="%col_center_x%" y="%row2_y%" />
1999 <font resource="font" color="%button_text_color%" />
2000 <text>Cancel</text>
2001 <image resource="main_button" />
2002 <actions>
2003 <action function="set">tw_encrypt_backup=0</action>
2004 <action function="set">tw_backup_password=</action>
2005 <action function="set">tw_backup_password2=</action>
2006 <action function="set">tw_backup_encrypt_display=</action>
2007 <action function="set">tw_backup_encrypt_display2=</action>
2008 <action function="page">backup</action>
2009 </actions>
2010 </object>
2011
2012 <object type="template" name="keyboardtemplate" />
2013
2014 <object type="action">
2015 <touch key="home" />
2016 <action function="page">main</action>
2017 </object>
2018
2019 <object type="action">
2020 <touch key="back" />
2021 <action function="page">backup</action>
2022 </object>
2023
2024 <object type="template" name="footer" />
2025 </page>
2026
2027 <page name="checkbackuppassword">
2028 <object type="action">
2029 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2030 <actions>
2031 <action function="set">tw_encrypt_backup=1</action>
2032 <action function="page">backup</action>
2033 </actions>
2034 </object>
2035
2036 <object type="action">
2037 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2038 <actions>
2039 <action function="set">tw_encrypt_backup=0</action>
2040 <action function="set">tw_password_not_match=1</action>
2041 <action function="set">tw_backup_password=</action>
2042 <action function="set">tw_backup_password2=</action>
2043 <action function="set">tw_backup_encrypt_display=</action>
2044 <action function="set">tw_backup_encrypt_display2=</action>
2045 <action function="page">backupencryption</action>
2046 </actions>
2047 </object>
2048 </page>
2049
Dees_Troy51a0e822012-09-05 15:24:24 -04002050 <page name="backup_run">
2051 <object type="template" name="header" />
2052
2053 <object type="text" color="%text_color%">
2054 <font resource="font" />
2055 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2056 <text>%tw_operation% %tw_partition%</text>
2057 </object>
2058
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002059 <object type="text" color="%text_color%">
2060 <font resource="font" />
2061 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2062 <text>%tw_file_progress%</text>
2063 </object>
2064
2065 <object type="text" color="%text_color%">
2066 <font resource="font" />
2067 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2068 <text>%tw_size_progress%</text>
2069 </object>
2070
Dees_Troy51a0e822012-09-05 15:24:24 -04002071 <object type="template" name="action_page_console" />
2072
2073 <object type="template" name="progress_bar" />
2074
2075 <object type="action">
2076 <action function="nandroid">backup</action>
2077 </object>
2078
2079 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00002080 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002081 <actions>
2082 <action function="set">tw_back=backup</action>
2083 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002084 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002085 <action function="page">action_complete</action>
2086 </actions>
2087 </object>
2088 </page>
2089
2090 <page name="restore">
2091 <object type="template" name="header" />
2092
2093 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002094 <highlight color="%highlight_color%" />
2095 <fill color="%button_fill_color%" />
2096 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2097 <font resource="font" color="%button_text_color%" />
2098 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2099 <actions>
2100 <action function="set">tw_back=restore</action>
2101 <action function="page">selectstorage</action>
2102 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002103 </object>
2104
2105 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002106 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002107 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002108 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002109 <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 -04002110 <text>Select Package to Restore:</text>
2111 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2112 <sort name="tw_gui_sort_order" />
2113 <icon folder="folder_icon" file="file_icon" />
2114 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002115 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002116 <filter folders="1" files="0" nav="0" />
2117 <path name="tw_backups_folder" />
2118 <data name="tw_restore" default="" />
2119 <selection name="tw_restore_name" />
2120 </object>
2121
2122 <object type="template" name="sort_options" />
2123
2124 <object type="action">
2125 <condition var1="tw_restore" op="modified" />
2126 <actions>
2127 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002128 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 </actions>
2130 </object>
2131
2132 <object type="action">
2133 <touch key="home" />
2134 <action function="page">main</action>
2135 </object>
2136
2137 <object type="action">
2138 <touch key="back" />
2139 <action function="page">main</action>
2140 </object>
2141
2142 <object type="template" name="footer" />
2143 </page>
2144
Dees_Troy83bd4832013-05-04 12:39:56 +00002145 <page name="restore_read">
2146 <object type="action">
2147 <condition var1="tw_restore_encrypted" var2="1" />
2148 <actions>
2149 <action function="set">tw_password_fail=0</action>
2150 <action function="page">restore_decrypt</action>
2151 </actions>
2152 </object>
2153
2154 <object type="action">
2155 <condition var1="tw_restore_encrypted" var2="0" />
2156 <actions>
2157 <action function="page">restore_select</action>
2158 </actions>
2159 </object>
2160 </page>
2161
2162 <page name="restore_decrypt">
2163 <object type="template" name="header" />
2164
2165 <object type="text" color="%text_color%">
2166 <font resource="font" />
2167 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2168 <text>Backup Encrypted</text>
2169 </object>
2170
2171 <object type="text" color="%text_color%">
2172 <font resource="font" />
2173 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2174 <text>Please Enter Your Password:</text>
2175 </object>
2176
2177 <object type="input">
2178 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2179 <background color="%input_background_color%" />
2180 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2181 <font resource="font" color="%text_color%" />
2182 <text>%tw_restore_display%</text>
2183 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2184 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2185 <actions>
2186 <action function="page">try_restore_decrypt</action>
2187 </actions>
2188 </object>
2189
2190 <object type="text" color="%text_fail_color%">
2191 <condition var1="tw_password_fail" var2="1" />
2192 <font resource="font" />
2193 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2194 <text>Password Failed, Please Try Again</text>
2195 </object>
2196
2197 <object type="button">
2198 <highlight color="%highlight_color%" />
2199 <placement x="%col1_x%" y="%row2_y%" />
2200 <font resource="font" color="%button_text_color%" />
2201 <text>Cancel</text>
2202 <image resource="main_button" />
2203 <actions>
2204 <action function="set">tw_page_done=1</action>
2205 <action function="page">restore</action>
2206 </actions>
2207 </object>
2208
2209 <object type="button">
2210 <highlight color="%highlight_color%" />
2211 <placement x="%col2_x%" y="%row2_y%" />
2212 <font resource="font" color="%button_text_color%" />
2213 <text>Delete</text>
2214 <image resource="main_button" />
2215 <actions>
2216 <action function="set">tw_back=restore</action>
2217 <action function="set">tw_action=cmd</action>
2218 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2219 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2220 <action function="set">tw_text2=This cannot be undone!</action>
2221 <action function="set">tw_action_text1=Deleting Backup...</action>
2222 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2223 <action function="set">tw_slider_text=Swipe to Delete</action>
2224 <action function="page">confirm_action</action>
2225 </actions>
2226 </object>
2227
2228 <object type="template" name="keyboardtemplate" />
2229
2230 <object type="action">
2231 <touch key="home" />
2232 <action function="page">main</action>
2233 </object>
2234
2235 <object type="action">
2236 <touch key="back" />
2237 <action function="page">restore</action>
2238 </object>
2239
2240 <object type="template" name="footer" />
2241 </page>
2242
2243 <page name="try_restore_decrypt">
2244 <object type="template" name="header" />
2245
2246 <object type="text" color="%text_color%">
2247 <font resource="font" />
2248 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2249 <text>Trying Decryption with Your Password</text>
2250 </object>
2251
2252 <object type="template" name="action_page_console" />
2253
2254 <object type="template" name="progress_bar" />
2255
2256 <object type="action">
2257 <action function="decrypt_backup"></action>
2258 </object>
2259
2260 <object type="action">
2261 <conditions>
2262 <condition var1="tw_operation_state" var2="1" />
2263 <condition var1="tw_operation_status" op="!=" var2="0" />
2264 </conditions>
2265 <actions>
2266 <action function="set">tw_password_fail=1</action>
2267 <action function="page">restore_decrypt</action>
2268 </actions>
2269 </object>
2270
2271 <object type="action">
2272 <conditions>
2273 <condition var1="tw_operation_state" var2="1" />
2274 <condition var1="tw_operation_status" op="=" var2="0" />
2275 </conditions>
2276 <actions>
2277 <action function="set">tw_page_done=1</action>
2278 <action function="page">restore_select</action>
2279 </actions>
2280 </object>
2281 </page>
2282
Dees_Troy51a0e822012-09-05 15:24:24 -04002283 <page name="restore_select">
2284 <object type="template" name="header" />
2285
Dees_Troya13d74f2013-03-24 08:54:55 -05002286 <object type="partitionlist">
2287 <highlight color="%fileselector_highlight_color%" />
2288 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2289 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2290 <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 -04002291 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002292 <icon selected="checkbox_true" unselected="checkbox_false" />
2293 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2294 <background color="%listbox_background%" />
2295 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2296 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2297 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002298 </object>
2299
2300 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002301 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002302 <fill color="%button_fill_color%" />
2303 <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 -04002304 <font resource="font" color="%button_text_color%" />
2305 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002306 <actions>
2307 <action function="set">tw_backup_rename=</action>
2308 <action function="set">tw_fileexists=0</action>
2309 <action function="page">renamebackup</action>
2310 </actions>
2311 </object>
2312
2313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002314 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002315 <fill color="%button_fill_color%" />
2316 <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 -04002317 <font resource="font" color="%button_text_color%" />
2318 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002319 <actions>
2320 <action function="set">tw_back=restore</action>
2321 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002322 <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 -04002323 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2324 <action function="set">tw_text2=This cannot be undone!</action>
2325 <action function="set">tw_action_text1=Deleting Backup...</action>
2326 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2327 <action function="set">tw_slider_text=Swipe to Delete</action>
2328 <action function="page">confirm_action</action>
2329 </actions>
2330 </object>
2331
Dees_Troya13d74f2013-03-24 08:54:55 -05002332 <object type="checkbox">
2333 <placement x="%col1_x%" y="%row15_text_y%" />
2334 <font resource="font" color="%text_color%" />
2335 <text>Enable MD5 verification of backup files.</text>
2336 <data variable="tw_skip_md5_check" />
2337 <image checked="checkbox_true" unchecked="checkbox_false" />
2338 </object>
2339
2340 <object type="text" color="%text_color%">
2341 <font resource="font" />
2342 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2343 <text>Package Date: %tw_restore_file_date%</text>
2344 </object>
2345
Dees_Troy51a0e822012-09-05 15:24:24 -04002346 <object type="slider">
2347 <placement x="%slider_x%" y="%slider_y%" />
2348 <resource base="slider" used="slider-used" touch="slider-touch" />
2349 <action function="page">restore_run</action>
2350 </object>
2351
2352 <object type="text" color="%text_color%">
2353 <font resource="font" />
2354 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2355 <text>Swipe to Restore</text>
2356 </object>
2357
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <object type="action">
2359 <touch key="home" />
2360 <action function="page">main</action>
2361 </object>
2362
2363 <object type="action">
2364 <touch key="back" />
2365 <action function="page">restore</action>
2366 </object>
2367
2368 <object type="template" name="footer" />
2369 </page>
2370
2371 <page name="renamebackup">
2372 <object type="template" name="header" />
2373
2374 <object type="text" color="%text_color%">
2375 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2376 <font resource="font" />
2377 <text>Please Enter a New Backup Name</text>
2378 </object>
2379
2380 <object type="input">
2381 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2382 <background color="%input_background_color%" />
2383 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2384 <font resource="font" color="%text_color%" />
2385 <text>%tw_backup_rename%</text>
2386 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002387 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <actions>
2389 <action function="set">tw_back=restore</action>
2390 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002391 <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 -04002392 <action function="set">tw_text1=Rename Backup?</action>
2393 <action function="set">tw_text2=This cannot be undone!</action>
2394 <action function="set">tw_action_text1=Renaming Backup...</action>
2395 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2396 <action function="set">tw_slider_text=Swipe to Rename</action>
2397 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2398 <action function="set">tw_existpage=renamebackup</action>
2399 <action function="set">tw_notexistpage=confirm_action</action>
2400 <action function="page">filecheck</action>
2401 </actions>
2402 </object>
2403
2404 <object type="text" color="%text_fail_color%">
2405 <condition var1="tw_fileexists" var2="1" />
2406 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2407 <font resource="font" />
2408 <text>A backup with that name already exists!</text>
2409 </object>
2410
2411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <placement x="%col_center_x%" y="%row2_y%" />
2414 <font resource="font" color="%button_text_color%" />
2415 <text>Cancel</text>
2416 <image resource="main_button" />
2417 <action function="page">restore_select</action>
2418 </object>
2419
2420 <object type="template" name="keyboardtemplate" />
2421
2422 <object type="action">
2423 <touch key="home" />
2424 <action function="page">main</action>
2425 </object>
2426
2427 <object type="action">
2428 <touch key="back" />
2429 <action function="page">restore_select</action>
2430 </object>
2431
2432 <object type="template" name="footer" />
2433 </page>
2434
2435 <page name="restore_run">
2436 <object type="template" name="header" />
2437
2438 <object type="text" color="%text_color%">
2439 <font resource="font" />
2440 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2441 <text>%tw_operation% %tw_partition%</text>
2442 </object>
2443
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002444 <object type="text" color="%text_color%">
2445 <font resource="font" />
2446 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2447 <text>%tw_size_progress%</text>
2448 </object>
2449
Dees_Troy51a0e822012-09-05 15:24:24 -04002450 <object type="template" name="action_page_console" />
2451
2452 <object type="template" name="progress_bar" />
2453
2454 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002455 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <actions>
2457 <action function="set">tw_back=restore_select</action>
2458 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002459 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002460 <action function="page">action_complete</action>
2461 </actions>
2462 </object>
2463
2464 <object type="action">
2465 <action function="nandroid">restore</action>
2466 </object>
2467 </page>
2468
Dees_Troya13d74f2013-03-24 08:54:55 -05002469 <page name="selectstorage">
2470 <object type="template" name="header" />
2471
2472 <object type="partitionlist">
2473 <highlight color="%fileselector_highlight_color%" />
2474 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2475 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2476 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2477 <text>Select Storage:</text>
2478 <icon selected="radio_true" unselected="radio_false" />
2479 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2480 <background color="%listbox_background%" />
2481 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2482 <data name="tw_storage_path" />
2483 <listtype name="storage" />
2484 </object>
2485
Dees_Troye7e0ae82013-07-05 14:46:07 +00002486 <object type="button">
2487 <highlight color="%highlight_color%" />
2488 <placement x="%col_center_x%" y="%row4_y%" />
2489 <font resource="font" color="%button_text_color%" />
2490 <text>OK</text>
2491 <image resource="main_button" />
2492 <actions>
2493 <action function="set">tw_clear_destination=%tw_back%</action>
2494 <action function="page">clear_vars</action>
2495 </actions>
2496 </object>
2497
Dees_Troya13d74f2013-03-24 08:54:55 -05002498 <object type="action">
2499 <touch key="home" />
2500 <action function="page">main</action>
2501 </object>
2502
2503 <object type="action">
2504 <touch key="back" />
2505 <actions>
2506 <action function="page">%tw_back%</action>
2507 </actions>
2508 </object>
2509
2510 <object type="template" name="footer" />
2511 </page>
2512
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <page name="mount">
2514 <object type="template" name="header" />
2515
Dees_Troya13d74f2013-03-24 08:54:55 -05002516 <object type="partitionlist">
2517 <highlight color="%fileselector_highlight_color%" />
2518 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2519 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2520 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2521 <text>Select Partitions to Mount:</text>
2522 <icon selected="checkbox_true" unselected="checkbox_false" />
2523 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2524 <background color="%listbox_background%" />
2525 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2526 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002527 </object>
2528
2529 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002530 <highlight color="%highlight_color%" />
2531 <fill color="%button_fill_color%" />
2532 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2533 <font resource="font" color="%button_text_color%" />
2534 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2535 <actions>
2536 <action function="set">tw_back=mount</action>
2537 <action function="page">selectstorage</action>
2538 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002539 </object>
2540
2541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002542 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002543 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002544 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002545 <font resource="font" color="%button_text_color%" />
2546 <text>Mount USB Storage</text>
2547 <image resource="main_button" />
2548 <action function="page">usb_mount</action>
2549 </object>
2550
Gary Peckffdc6ae2012-11-21 18:02:02 -08002551 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002552 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002553 <conditions>
2554 <condition var1="tw_is_encrypted" var2="1" />
2555 <condition var1="tw_is_decrypted" var2="0" />
2556 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002557 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002558 <font resource="font" color="%button_text_color%" />
2559 <text>Decrypt Data</text>
2560 <image resource="main_button" />
2561 <action function="page">decrypt</action>
2562 </object>
2563
Dees_Troy51a0e822012-09-05 15:24:24 -04002564 <object type="action">
2565 <touch key="home" />
2566 <action function="page">main</action>
2567 </object>
2568
2569 <object type="action">
2570 <touch key="back" />
2571 <action function="page">main</action>
2572 </object>
2573
2574 <object type="template" name="footer" />
2575 </page>
2576
2577 <page name="usb_mount">
2578 <object type="template" name="header" />
2579
2580 <object type="text" color="%text_color%">
2581 <font resource="font" />
2582 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2583 <text>USB Storage Mounted</text>
2584 </object>
2585
2586 <object type="text" color="%text_color%">
2587 <placement x="%col1_x%" y="%row1_text_y%" />
2588 <font resource="font" />
2589 <text>Be sure to safely remove your device</text>
2590 </object>
2591
2592 <object type="text" color="%text_color%">
2593 <placement x="%col1_x%" y="%row2_text_y%" />
2594 <font resource="font" />
2595 <text>from your computer before unmounting!</text>
2596 </object>
2597
2598 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002599 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002600 <placement x="%col1_x%" y="%row3_y%" />
2601 <font resource="font" color="%button_text_color%" />
2602 <text>Unmount</text>
2603 <image resource="main_button" />
2604 <action function="page">usb_umount</action>
2605 </object>
2606
2607 <object type="action">
2608 <action function="mount">usb</action>
2609 </object>
2610
2611 <object type="template" name="footer" />
2612 </page>
2613
2614 <page name="usb_umount">
2615 <object type="action">
2616 <action function="unmount">usb</action>
2617 </object>
2618
2619 <object type="action">
2620 <action function="page">mount</action>
2621 </object>
2622 </page>
2623
2624 <page name="reboot">
2625 <object type="template" name="header" />
2626
2627 <object type="text" color="%text_color%">
2628 <font resource="font" />
2629 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2630 <text>Reboot Menu</text>
2631 </object>
2632
2633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002635 <condition var1="tw_reboot_system" var2="1" />
2636 <placement x="%col1_x%" y="%row1_y%" />
2637 <font resource="font" color="%button_text_color%" />
2638 <text>System</text>
2639 <image resource="main_button" />
2640 <actions>
2641 <action function="set">tw_back=reboot</action>
2642 <action function="set">tw_action=reboot</action>
2643 <action function="set">tw_action_param=system</action>
2644 <action function="set">tw_has_action2=0</action>
2645 <action function="set">tw_text1=No OS Installed! Are you</action>
2646 <action function="set">tw_text2=sure you wish to reboot?</action>
2647 <action function="set">tw_action_text1=Rebooting...</action>
2648 <action function="set">tw_complete_text1=Rebooting...</action>
2649 <action function="set">tw_slider_text=Swipe to Reboot</action>
2650 <action function="page">rebootcheck</action>
2651 </actions>
2652 </object>
2653
2654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002656 <condition var1="tw_reboot_poweroff" var2="1" />
2657 <placement x="%col2_x%" y="%row1_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>Power Off</text>
2660 <image resource="main_button" />
2661 <actions>
2662 <action function="set">tw_back=reboot</action>
2663 <action function="set">tw_action=reboot</action>
2664 <action function="set">tw_action_param=poweroff</action>
2665 <action function="set">tw_has_action2=0</action>
2666 <action function="set">tw_text1=No OS Installed! Are you</action>
2667 <action function="set">tw_text2=sure you wish to power off?</action>
2668 <action function="set">tw_action_text1=Turning Off...</action>
2669 <action function="set">tw_complete_text1=Turning Off...</action>
2670 <action function="set">tw_slider_text=Swipe to Power Off</action>
2671 <action function="page">rebootcheck</action>
2672 </actions>
2673 </object>
2674
2675 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002676 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002677 <condition var1="tw_reboot_recovery" var2="1" />
2678 <placement x="%col1_x%" y="%row2_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text>Recovery</text>
2681 <image resource="main_button" />
2682 <actions>
2683 <action function="set">tw_back=reboot</action>
2684 <action function="set">tw_action=reboot</action>
2685 <action function="set">tw_action_param=recovery</action>
2686 <action function="set">tw_has_action2=0</action>
2687 <action function="set">tw_text1=No OS Installed! Are you</action>
2688 <action function="set">tw_text2=sure you wish to reboot?</action>
2689 <action function="set">tw_action_text1=Rebooting...</action>
2690 <action function="set">tw_complete_text1=Rebooting...</action>
2691 <action function="set">tw_slider_text=Swipe to Reboot</action>
2692 <action function="page">rebootcheck</action>
2693 </actions>
2694 </object>
2695
2696 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002697 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002698 <condition var1="tw_reboot_bootloader" var2="1" />
2699 <placement x="%col2_x%" y="%row2_y%" />
2700 <font resource="font" color="%button_text_color%" />
2701 <text>Bootloader</text>
2702 <image resource="main_button" />
2703 <actions>
2704 <action function="set">tw_back=reboot</action>
2705 <action function="set">tw_action=reboot</action>
2706 <action function="set">tw_action_param=bootloader</action>
2707 <action function="set">tw_has_action2=0</action>
2708 <action function="set">tw_text1=No OS Installed! Are you</action>
2709 <action function="set">tw_text2=sure you wish to reboot?</action>
2710 <action function="set">tw_action_text1=Rebooting...</action>
2711 <action function="set">tw_complete_text1=Rebooting...</action>
2712 <action function="set">tw_slider_text=Swipe to Reboot</action>
2713 <action function="page">rebootcheck</action>
2714 </actions>
2715 </object>
2716
2717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002719 <condition var1="tw_download_mode" var2="1" />
2720 <placement x="%col1_x%" y="%row3_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text>Download</text>
2723 <image resource="main_button" />
2724 <actions>
2725 <action function="set">tw_back=reboot</action>
2726 <action function="set">tw_action=reboot</action>
2727 <action function="set">tw_action_param=download</action>
2728 <action function="set">tw_has_action2=0</action>
2729 <action function="set">tw_text1=No OS Installed! Are you</action>
2730 <action function="set">tw_text2=sure you wish to reboot?</action>
2731 <action function="set">tw_action_text1=Rebooting...</action>
2732 <action function="set">tw_complete_text1=Rebooting...</action>
2733 <action function="set">tw_slider_text=Swipe to Reboot</action>
2734 <action function="page">rebootcheck</action>
2735 </actions>
2736 </object>
2737
2738 <object type="action">
2739 <touch key="home" />
2740 <action function="page">main</action>
2741 </object>
2742
2743 <object type="action">
2744 <touch key="back" />
2745 <action function="page">main</action>
2746 </object>
2747
2748 <object type="template" name="footer" />
2749 </page>
2750
2751 <page name="settings">
2752 <object type="template" name="header" />
2753
2754 <object type="text" color="%text_color%">
2755 <font resource="font" />
2756 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2757 <text>Settings</text>
2758 </object>
2759
2760 <object type="checkbox">
2761 <placement x="%col1_x%" y="%row1_text_y%" />
2762 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002763 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <data variable="tw_signed_zip_verify" />
2765 <image checked="checkbox_true" unchecked="checkbox_false" />
2766 </object>
2767
2768 <object type="checkbox">
2769 <placement x="%col1_x%" y="%row2_text_y%" />
2770 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002771 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <data variable="tw_rm_rf" />
2773 <image checked="checkbox_true" unchecked="checkbox_false" />
2774 </object>
2775
2776 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002777 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002779 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <data variable="tw_skip_md5_generate" />
2781 <image checked="checkbox_true" unchecked="checkbox_false" />
2782 </object>
2783
2784 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002785 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002787 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <data variable="tw_skip_md5_check" />
2789 <image checked="checkbox_true" unchecked="checkbox_false" />
2790 </object>
2791
2792 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002793 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002795 <text>Use Military Time.</text>
2796 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002797 <image checked="checkbox_true" unchecked="checkbox_false" />
2798 </object>
2799
2800 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002801 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002802 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002803 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <data variable="tw_simulate_actions" />
2805 <image checked="checkbox_true" unchecked="checkbox_false" />
2806 </object>
2807
2808 <object type="checkbox">
2809 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002810 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002812 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002813 <data variable="tw_simulate_fail" />
2814 <image checked="checkbox_true" unchecked="checkbox_false" />
2815 </object>
2816
2817 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002818 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <placement x="%col1_x%" y="%row3_y%" />
2820 <font resource="font" color="%button_text_color%" />
2821 <text>Time Zone</text>
2822 <image resource="main_button" />
2823 <action function="page">timezone</action>
2824 </object>
2825
2826 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002827 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002828 <placement x="%col2_x%" y="%row3_y%" />
2829 <font resource="font" color="%button_text_color%" />
2830 <text>Screen</text>
2831 <image resource="main_button" />
2832 <action function="page">screen</action>
2833 </object>
2834
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002835 <object type="button">
2836 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002837 <placement x="%col1_x%" y="%row4_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>Restore Defaults</text>
2840 <image resource="main_button" />
2841 <action function="restoredefaultsettings"></action>
2842 </object>
2843
Dees_Troy2f9117a2013-02-17 19:52:09 -06002844 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002845 <highlight color="%highlight_color%" />
2846 <placement x="%col2_x%" y="%row4_y%" />
2847 <font resource="font" color="%button_text_color%" />
2848 <text>Vibration Duration</text>
2849 <image resource="main_button" />
2850 <action function="page">Vibrate</action>
2851 </object>
2852
Dees_Troy51a0e822012-09-05 15:24:24 -04002853 <object type="action">
2854 <touch key="home" />
2855 <action function="page">main</action>
2856 </object>
2857
2858 <object type="action">
2859 <touch key="back" />
2860 <action function="page">main</action>
2861 </object>
2862
2863 <object type="template" name="footer" />
2864 </page>
2865
2866 <page name="timezone">
2867 <object type="template" name="header" />
2868
Dees_Troy51a0e822012-09-05 15:24:24 -04002869 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002870 <highlight color="%fileselector_highlight_color%" />
2871 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2872 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002873 <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 -06002874 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002876 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002877 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002878 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002879 <data name="tw_time_zone_guisel" />
2880 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2881 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2882 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2883 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2884 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2885 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2886 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2887 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2888 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2889 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2890 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2891 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2892 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2893 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2894 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2895 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2896 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2897 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2898 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2899 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2900 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2901 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2902 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2903 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2904 </object>
2905
2906 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002907 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <font resource="font" color="%text_color%" />
2909 <text>Do you use daylight savings time (DST)?</text>
2910 <data variable="tw_time_zone_guidst" />
2911 <image checked="checkbox_true" unchecked="checkbox_false" />
2912 </object>
2913
2914 <object type="text" color="%text_color%">
2915 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002916 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002917 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2918 </object>
2919
2920 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002921 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002922 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002923 <font resource="font" color="%button_text_color%" />
2924 <text>None</text>
2925 <image resource="medium_button" />
2926 <action function="set">tw_time_zone_guioffset=0</action>
2927 </object>
2928
2929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002930 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002931 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002932 <font resource="font" color="%button_text_color%" />
2933 <text>15</text>
2934 <image resource="medium_button" />
2935 <action function="set">tw_time_zone_guioffset=15</action>
2936 </object>
2937
2938 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002939 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002940 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002941 <font resource="font" color="%button_text_color%" />
2942 <text>30</text>
2943 <image resource="medium_button" />
2944 <action function="set">tw_time_zone_guioffset=30</action>
2945 </object>
2946
2947 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002948 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002949 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002950 <font resource="font" color="%button_text_color%" />
2951 <text>45</text>
2952 <image resource="medium_button" />
2953 <action function="set">tw_time_zone_guioffset=45</action>
2954 </object>
2955
2956 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002957 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002958 <placement x="%col_center_x%" y="%tz_set_y%" />
2959 <font resource="font" color="%button_text_color%" />
2960 <text>Set Time Zone</text>
2961 <image resource="main_button" />
2962 <action function="setguitimezone"></action>
2963 </object>
2964
2965 <object type="text" color="%text_color%">
2966 <font resource="font" />
2967 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2968 <text>Current Time Zone: %tw_time_zone%</text>
2969 </object>
2970
2971 <object type="action">
2972 <touch key="home" />
2973 <action function="page">main</action>
2974 </object>
2975
2976 <object type="action">
2977 <touch key="back" />
2978 <action function="page">settings</action>
2979 </object>
2980
2981 <object type="template" name="footer" />
2982 </page>
2983
Dees_Troy2f9117a2013-02-17 19:52:09 -06002984 <page name="screen">
2985 <object type="template" name="header" />
2986
2987 <object type="text" color="%text_color%">
2988 <font resource="font" />
2989 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2990 <text>Screen Settings</text>
2991 </object>
2992
Dees_Troy2f9117a2013-02-17 19:52:09 -06002993 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002994 <placement x="%col1_x%" y="%row2_text_y%" />
2995 <font resource="font" color="%text_color%" />
2996 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002997 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002998 <text>Enable screen timeout.</text>
2999 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003000 <action function="set">tw_screen_timeout_secs=60</action>
3001 </object>
3002
3003 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02003004 <placement x="%col1_x%" y="%row2_text_y%" />
3005 <font resource="font" color="%text_color%" />
3006 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003007 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003008 <text>Enable screen timeout.</text>
3009 <image resource="checkbox_true" />
3010 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003011 </object>
3012
Vojtech Bocek85932342013-04-01 22:11:33 +02003013 <object type="slidervalue">
3014 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003015 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003016 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3017 <font resource="font" color="%text_color%" />
3018 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3019 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3020 <text>Screen timeout in seconds:</text>
3021 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003022 </object>
3023
Vojtech Bocek85932342013-04-01 22:11:33 +02003024 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003025 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003026 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3027 <font resource="font" color="%text_color%" />
3028 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3029 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3030 <text>Brightness: %tw_brightness_pct%%</text>
3031 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003032 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003033 <action function="set">tw_brightness=%tw_brightness_max%</action>
3034 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3035 <action function="compute">tw_brightness/100</action>
3036 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003037 </actions>
3038 </object>
3039
3040 <object type="action">
3041 <touch key="home" />
3042 <action function="page">main</action>
3043 </object>
3044
3045 <object type="action">
3046 <touch key="back" />
3047 <action function="page">settings</action>
3048 </object>
3049
3050 <object type="template" name="footer" />
3051 </page>
3052
Ethan Yonker03db3262014-02-05 08:02:06 -06003053 <page name="Vibrate">
3054 <object type="template" name="header" />
3055
3056 <object type="text" color="%text_color%">
3057 <font resource="font" />
3058 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3059 <text>Vibration Settings :</text>
3060 </object>
3061
3062 <object type="slidervalue">
3063 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3064 <font resource="font" color="%text_color%" />
3065 <text>Button Vibration:</text>
3066 <data variable="tw_button_vibrate" min="0" max="300" />
3067 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3068 </object>
3069
3070 <object type="slidervalue">
3071 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3072 <font resource="font" color="%text_color%" />
3073 <text>Keyboard Vibration:</text>
3074 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3075 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3076 </object>
3077
3078 <object type="slidervalue">
3079 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3080 <font resource="font" color="%text_color%" />
3081 <text>Action Vibration:</text>
3082 <data variable="tw_action_vibrate" min="0" max="500" />
3083 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3084 </object>
3085
3086 <object type="action">
3087 <touch key="home" />
3088 <action function="page">main</action>
3089 </object>
3090
3091 <object type="action">
3092 <touch key="back" />
3093 <action function="page">settings</action>
3094 </object>
3095
3096 <object type="template" name="footer" />
3097 </page>
3098
Dees_Troy51a0e822012-09-05 15:24:24 -04003099 <page name="advanced">
3100 <object type="template" name="header" />
3101
3102 <object type="text" color="%text_color%">
3103 <font resource="font" />
3104 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3105 <text>Advanced</text>
3106 </object>
3107
3108 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003109 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003110 <placement x="%col1_x%" y="%row1_y%" />
3111 <font resource="font" color="%button_text_color%" />
3112 <text>Copy Log to SD</text>
3113 <image resource="main_button" />
3114 <actions>
3115 <action function="set">tw_back=advanced</action>
3116 <action function="set">tw_action=copylog</action>
3117 <action function="set">tw_text1=Copy Log to SD Card?</action>
3118 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3119 <action function="set">tw_complete_text1=Log Copy Complete</action>
3120 <action function="set">tw_slider_text=Swipe to Confirm</action>
3121 <action function="page">confirm_action</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <placement x="%col2_x%" y="%row1_y%" />
3128 <font resource="font" color="%button_text_color%" />
3129 <text>Fix Permissions</text>
3130 <image resource="main_button" />
3131 <actions>
3132 <action function="set">tw_back=advanced</action>
3133 <action function="set">tw_action=fixpermissions</action>
3134 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003135 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003136 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3137 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003138 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003139 <action function="page">confirm_action</action>
3140 </actions>
3141 </object>
3142
3143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003144 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003145 <condition var1="tw_allow_partition_sdcard" var2="1" />
3146 <placement x="%col1_x%" y="%row2_y%" />
3147 <font resource="font" color="%button_text_color%" />
3148 <text>Partition SD Card</text>
3149 <image resource="main_button" />
3150 <action function="page">partsdcard</action>
3151 </object>
3152
3153 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003154 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003155 <placement x="%col2_x%" y="%row2_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>File Manager</text>
3158 <image resource="main_button" />
3159 <action function="page">filemanagerlist</action>
3160 </object>
3161
3162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003163 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003164 <placement x="%col1_x%" y="%row3_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Terminal Command</text>
3167 <image resource="main_button" />
3168 <action function="page">terminalfolder</action>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003173 <placement x="%col2_x%" y="%row3_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Reload Theme</text>
3176 <image resource="main_button" />
3177 <action function="reload"></action>
3178 </object>
3179
3180 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003181 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003182 <placement x="%col1_x%" y="%row4_y%" />
3183 <font resource="font" color="%button_text_color%" />
3184 <text>ADB Sideload</text>
3185 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003186 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04003187 </object>
3188
3189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003191 <condition var1="tw_show_dumlock" var2="1" />
3192 <placement x="%col2_x%" y="%row4_y%" />
3193 <font resource="font" color="%button_text_color%" />
3194 <text>HTC Dumlock</text>
3195 <image resource="main_button" />
3196 <action function="page">htcdumlock</action>
3197 </object>
3198
3199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003201 <condition var1="tw_has_injecttwrp" var2="1" />
3202 <placement x="%col2_x%" y="%row4_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>Re-Inject TWRP</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_back=advanced</action>
3208 <action function="set">tw_action=reinjecttwrp</action>
3209 <action function="set">tw_text1=Re-Inject TWRP?</action>
3210 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3211 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3212 <action function="set">tw_slider_text=Swipe to Confirm</action>
3213 <action function="page">confirm_action</action>
3214 </actions>
3215 </object>
3216
3217 <object type="action">
3218 <touch key="home" />
3219 <action function="page">main</action>
3220 </object>
3221
3222 <object type="action">
3223 <touch key="back" />
3224 <action function="page">main</action>
3225 </object>
3226
3227 <object type="template" name="footer" />
3228 </page>
3229
3230 <page name="partsdcard">
3231 <object type="template" name="header" />
3232
3233 <object type="text" color="%text_color%">
3234 <font resource="font" />
3235 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3236 <text>Partition SD Card</text>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%col1_x%" y="%row1_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text></text>
3244 <image resource="minus_button" />
3245 <action function="addsubtract">tw_sdext_size-128</action>
3246 </object>
3247
3248 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003249 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003250 <placement x="%sd_plus_x%" y="%row1_y%" />
3251 <font resource="font" color="%button_text_color%" />
3252 <text></text>
3253 <image resource="plus_button" />
3254 <action function="addsubtract">tw_sdext_size+128</action>
3255 </object>
3256
3257 <object type="text" color="%text_color%">
3258 <font resource="font" />
3259 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3260 <text>EXT Size: %tw_sdext_size%</text>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <placement x="%col1_x%" y="%sdswap_button_y%" />
3266 <font resource="font" color="%button_text_color%" />
3267 <text></text>
3268 <image resource="minus_button" />
3269 <action function="addsubtract">tw_swap_size-32</action>
3270 </object>
3271
3272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003274 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3275 <font resource="font" color="%button_text_color%" />
3276 <text></text>
3277 <image resource="plus_button" />
3278 <action function="addsubtract">tw_swap_size+32</action>
3279 </object>
3280
3281 <object type="text" color="%text_color%">
3282 <font resource="font" />
3283 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3284 <text>Swap Size: %tw_swap_size%</text>
3285 </object>
3286
3287 <object type="text" color="%text_color%">
3288 <font resource="font" />
3289 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3290 <text>File system: %tw_sdpart_file_system%</text>
3291 </object>
3292
3293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003295 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3296 <font resource="font" color="%button_text_color%" />
3297 <text>EXT3</text>
3298 <image resource="main_button" />
3299 <action function="set">tw_sdpart_file_system=ext3</action>
3300 </object>
3301
3302 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <condition var1="tw_sdext_disable_ext4" var2="0" />
3305 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3306 <font resource="font" color="%button_text_color%" />
3307 <text>EXT4</text>
3308 <image resource="main_button" />
3309 <action function="set">tw_sdpart_file_system=ext4</action>
3310 </object>
3311
3312 <object type="text" color="%text_color%">
3313 <font resource="font" />
3314 <placement x="%col1_x%" y="%row12_text_y%" />
3315 <text>You will lose all files on your SD card!</text>
3316 </object>
3317
3318 <object type="text" color="%text_color%">
3319 <font resource="font" />
3320 <placement x="%col1_x%" y="%row13_text_y%" />
3321 <text>This action cannot be undone!</text>
3322 </object>
3323
3324 <object type="slider">
3325 <placement x="%slider_x%" y="%slider_y%" />
3326 <resource base="slider" used="slider-used" touch="slider-touch" />
3327 <action function="page">partsdcardaction</action>
3328 <actions>
3329 <action function="set">tw_back=partsdcard</action>
3330 <action function="set">tw_action=partitionsd</action>
3331 <action function="set">tw_has_action2=1</action>
3332 <action function="set">tw_action2=set</action>
3333 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3334 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3335 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003336 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <action function="page">action_page</action>
3338 </actions>
3339 </object>
3340
3341 <object type="text" color="%text_color%">
3342 <font resource="font" />
3343 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3344 <text>Swipe to Partition</text>
3345 </object>
3346
3347 <object type="action">
3348 <touch key="home" />
3349 <action function="page">main</action>
3350 </object>
3351
3352 <object type="action">
3353 <touch key="back" />
3354 <action function="page">advanced</action>
3355 </object>
3356
3357 <object type="template" name="footer" />
3358 </page>
3359
3360 <page name="htcdumlock">
3361 <object type="template" name="header" />
3362
3363 <object type="text" color="%text_color%">
3364 <font resource="font" />
3365 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3366 <text>HTC Dumlock</text>
3367 </object>
3368
3369 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003371 <condition var1="tw_show_dumlock" var2="1" />
3372 <placement x="%col1_x%" y="%row1_y%" />
3373 <font resource="font" color="%button_text_color%" />
3374 <text>Restore Original Boot</text>
3375 <image resource="main_button" />
3376 <actions>
3377 <action function="set">tw_back=htcdumlock</action>
3378 <action function="set">tw_action=htcdumlockrestoreboot</action>
3379 <action function="set">tw_text1=Restore original boot image?</action>
3380 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3381 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3382 <action function="set">tw_slider_text=Swipe to Confirm</action>
3383 <action function="page">confirm_action</action>
3384 </actions>
3385 </object>
3386
3387 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003388 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003389 <condition var1="tw_show_dumlock" var2="1" />
3390 <placement x="%col2_x%" y="%row1_y%" />
3391 <font resource="font" color="%button_text_color%" />
3392 <text>Reflash Recovery</text>
3393 <image resource="main_button" />
3394 <actions>
3395 <action function="set">tw_back=htcdumlock</action>
3396 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3397 <action function="set">tw_text1=Reflash recovery to boot?</action>
3398 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3399 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3400 <action function="set">tw_slider_text=Swipe to Confirm</action>
3401 <action function="page">confirm_action</action>
3402 </actions>
3403 </object>
3404
3405 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003406 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003407 <condition var1="tw_show_dumlock" var2="1" />
3408 <placement x="%col1_x%" y="%row2_y%" />
3409 <font resource="font" color="%button_text_color%" />
3410 <text>Install HTC Dumlock</text>
3411 <image resource="main_button" />
3412 <actions>
3413 <action function="set">tw_back=htcdumlock</action>
3414 <action function="set">tw_action=installhtcdumlock</action>
3415 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3416 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3417 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3418 <action function="set">tw_slider_text=Swipe to Confirm</action>
3419 <action function="page">confirm_action</action>
3420 </actions>
3421 </object>
3422
3423 <object type="action">
3424 <touch key="home" />
3425 <action function="page">main</action>
3426 </object>
3427
3428 <object type="action">
3429 <touch key="back" />
3430 <action function="page">advanced</action>
3431 </object>
3432
3433 <object type="template" name="footer" />
3434 </page>
3435
3436 <page name="lock">
3437 <background color="#000000A0" />
3438
3439 <object type="image">
3440 <image resource="unlock-icon" />
3441 <placement x="%lock_x%" y="%lock_y%" />
3442 </object>
3443
3444 <object type="slider">
3445 <placement x="%slider_x%" y="%slider_y%" />
3446 <resource base="slider" used="slider-used" touch="slider-touch" />
3447 <action function="overlay"></action>
3448 </object>
3449
3450 <object type="text" color="%text_color%">
3451 <font resource="font" />
3452 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3453 <text>Swipe to Unlock</text>
3454 </object>
3455 </page>
3456
3457 <page name="filemanagerlist">
3458 <object type="template" name="header" />
3459
3460 <object type="text" color="%text_color%">
3461 <font resource="font" />
3462 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3463 <text>File Manager: Select a File or Folder</text>
3464 </object>
3465
3466 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003467 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003468 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3469 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003470 <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 -04003471 <text>%tw_file_location1%</text>
3472 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3473 <sort name="tw_gui_sort_order" />
3474 <icon folder="folder_icon" file="file_icon" />
3475 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003476 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003477 <folders="1" files="1" />
3478 <path name="tw_file_location1" default="/" />
3479 <data name="tw_filename1" />
3480 <selection name="tw_selection1" />
3481 </object>
3482
3483 <object type="template" name="sort_options" />
3484
3485 <object type="action">
3486 <actions>
3487 <action function="set">tw_fm_type=File</action>
3488 <action function="set">tw_fm_isfolder=0</action>
3489 </actions>
3490 </object>
3491
3492 <object type="action">
3493 <touch key="home" />
3494 <action function="page">main</action>
3495 </object>
3496
3497 <object type="action">
3498 <touch key="back" />
3499 <action function="page">advanced</action>
3500 </object>
3501
3502 <object type="action">
3503 <condition var1="tw_filename1" op="modified" />
3504 <actions>
3505 <action function="page">filemanageroptions</action>
3506 </actions>
3507 </object>
3508
3509 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003510 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003511 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3512 <font resource="font" color="%button_text_color%" />
3513 <text>Select</text>
3514 <image resource="medium_button" />
3515 <actions>
3516 <action function="set">tw_filename1=tw_file_location1</action>
3517 <action function="set">tw_fm_isfolder=1</action>
3518 <action function="set">tw_fm_type=Folder</action>
3519 <action function="page">filemanageroptions</action>
3520 </actions>
3521 </object>
3522
3523 <object type="template" name="footer" />
3524 </page>
3525
3526 <page name="filemanageroptions">
3527 <object type="template" name="header" />
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3532 <text>%tw_fm_type% Selected:</text>
3533 </object>
3534
3535 <object type="text" color="%text_color%">
3536 <font resource="font" />
3537 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3538 <text>%tw_filename1%</text>
3539 </object>
3540
3541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003542 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003543 <condition var1="tw_fm_isfolder" var2="0" />
3544 <placement x="%col1_x%" y="%row2_y%" />
3545 <font resource="font" color="%button_text_color%" />
3546 <text>Copy File</text>
3547 <image resource="main_button" />
3548 <actions>
3549 <action function="set">tw_filemanager_command=cp</action>
3550 <action function="set">tw_fm_text1=Copying</action>
3551 <action function="page">choosedestinationfolder</action>
3552 </actions>
3553 </object>
3554
3555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003557 <condition var1="tw_fm_isfolder" var2="1" />
3558 <placement x="%col1_x%" y="%row2_y%" />
3559 <font resource="font" color="%button_text_color%" />
3560 <text>Copy Folder</text>
3561 <image resource="main_button" />
3562 <actions>
3563 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3564 <action function="set">tw_fm_text1=Copying</action>
3565 <action function="page">choosedestinationfolder</action>
3566 </actions>
3567 </object>
3568
3569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003571 <placement x="%col2_x%" y="%row2_y%" />
3572 <font resource="font" color="%button_text_color%" />
3573 <text>Move</text>
3574 <image resource="main_button" />
3575 <actions>
3576 <action function="set">tw_filemanager_command=mv</action>
3577 <action function="set">tw_fm_text1=Moving</action>
3578 <action function="page">choosedestinationfolder</action>
3579 </actions>
3580 </object>
3581
3582 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003583 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003584 <placement x="%col1_x%" y="%row3_y%" />
3585 <font resource="font" color="%button_text_color%" />
3586 <text>chmod 755</text>
3587 <image resource="main_button" />
3588 <actions>
3589 <action function="set">tw_filemanager_command=chmod 755</action>
3590 <action function="set">tw_fm_text1=chmod 755</action>
3591 <action function="set">tw_fm_text2=</action>
3592 <action function="set">tw_fm_text3=</action>
3593 <action function="set">tw_include_text3=0</action>
3594 <action function="set">tw_back=filemanageroptions</action>
3595 <action function="page">filemanagerconfirm</action>
3596 </actions>
3597 </object>
3598
3599 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003600 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003601 <placement x="%col2_x%" y="%row3_y%" />
3602 <font resource="font" color="%button_text_color%" />
3603 <text>chmod</text>
3604 <image resource="main_button" />
3605 <actions>
3606 <action function="set">tw_filemanager_rename=0000</action>
3607 <action function="set">tw_fm_text2=</action>
3608 <action function="set">tw_fm_text3=</action>
3609 <action function="set">tw_include_text3=0</action>
3610 <action function="set">tw_back=filemanageroptions</action>
3611 <action function="page">filemanagerchmod</action>
3612 </actions>
3613 </object>
3614
3615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003617 <placement x="%col1_x%" y="%row4_y%" />
3618 <font resource="font" color="%button_text_color%" />
3619 <text>Delete</text>
3620 <image resource="main_button" />
3621 <actions>
3622 <action function="set">tw_filemanager_command=rm -rf</action>
3623 <action function="set">tw_fm_text1=Deleting</action>
3624 <action function="set">tw_fm_text2=</action>
3625 <action function="set">tw_fm_text3=</action>
3626 <action function="set">tw_include_text3=0</action>
3627 <action function="set">tw_back=filemanageroptions</action>
3628 <action function="page">filemanagerconfirm</action>
3629 </actions>
3630 </object>
3631
3632 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003633 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003634 <condition var1="tw_fm_isfolder" var2="0" />
3635 <placement x="%col2_x%" y="%row4_y%" />
3636 <font resource="font" color="%button_text_color%" />
3637 <text>Rename File</text>
3638 <image resource="main_button" />
3639 <actions>
3640 <action function="set">tw_filemanager_rename=tw_selection1</action>
3641 <action function="set">tw_fm_text1=Renaming</action>
3642 <action function="set">tw_filemanager_command=mv</action>
3643 <action function="page">filemanagerrenamefile</action>
3644 </actions>
3645 </object>
3646
3647 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003648 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <condition var1="tw_fm_isfolder" var2="1" />
3650 <placement x="%col2_x%" y="%row4_y%" />
3651 <font resource="font" color="%button_text_color%" />
3652 <text>Rename Folder</text>
3653 <image resource="main_button" />
3654 <actions>
3655 <action function="set">tw_filemanager_rename=tw_selection1</action>
3656 <action function="set">tw_fm_text1=Renaming</action>
3657 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3658 <action function="page">filemanagerrenamefolder</action>
3659 </actions>
3660 </object>
3661
3662 <object type="action">
3663 <touch key="home" />
3664 <action function="page">main</action>
3665 </object>
3666
3667 <object type="action">
3668 <touch key="back" />
3669 <action function="page">filemanagerlist</action>
3670 </object>
3671
3672 <object type="template" name="footer" />
3673 </page>
3674
3675 <page name="choosedestinationfolder">
3676 <object type="template" name="header" />
3677
3678 <object type="text" color="%text_color%">
3679 <font resource="font" />
3680 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3681 <text>Browse to Destination Folder & Press Select</text>
3682 </object>
3683
3684 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003685 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003686 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3687 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003688 <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 -04003689 <text>%tw_file_location2%</text>
3690 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3691 <sort name="tw_gui_sort_order" />
3692 <icon folder="folder_icon" file="file_icon" />
3693 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003694 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003695 <filter folders="1" files="0" />
3696 <path name="tw_file_location2" default="/" />
3697 <data name="tw_filename2" />
3698 <selection name="tw_selection2" />
3699 </object>
3700
3701 <object type="template" name="sort_options" />
3702
3703 <object type="action">
3704 <touch key="home" />
3705 <action function="page">main</action>
3706 </object>
3707
3708 <object type="action">
3709 <touch key="back" />
3710 <action function="page">filemanageroptions</action>
3711 </object>
3712
3713 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003714 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003715 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3716 <font resource="font" color="%button_text_color%" />
3717 <text>Select</text>
3718 <image resource="medium_button" />
3719 <actions>
3720 <action function="set">tw_fm_text2=to</action>
3721 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3722 <action function="set">tw_include_text3=1</action>
3723 <action function="set">tw_back=filemanageroptions</action>
3724 <action function="page">filemanagerconfirm</action>
3725 </actions>
3726 </object>
3727
3728 <object type="template" name="footer" />
3729 </page>
3730
3731 <page name="filemanagerrenamefile">
3732 <object type="template" name="header" />
3733
3734 <object type="text" color="%text_color%">
3735 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3736 <font resource="font" />
3737 <text>Please Enter a New %tw_fm_type% Name</text>
3738 </object>
3739
3740 <object type="input">
3741 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3742 <background color="%input_background_color%" />
3743 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3744 <font resource="font" color="%text_color%" />
3745 <text>%tw_filemanager_rename%</text>
3746 <data name="tw_filemanager_rename" />
3747 <restrict minlen="1" maxlen="128" />
3748 <actions>
3749 <action function="set">tw_fm_text2=to</action>
3750 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3751 <action function="set">tw_include_text3=1</action>
3752 <action function="set">tw_back=filemanageroptions</action>
3753 <action function="page">filemanagerconfirm</action>
3754 </actions>
3755 </object>
3756
3757 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003758 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003759 <placement x="%col_center_x%" y="%row2_y%" />
3760 <font resource="font" color="%button_text_color%" />
3761 <text>Cancel</text>
3762 <image resource="main_button" />
3763 <action function="page">filemanageroptions</action>
3764 </object>
3765
3766 <object type="template" name="keyboardtemplate" />
3767
3768 <object type="action">
3769 <touch key="home" />
3770 <action function="page">main</action>
3771 </object>
3772
3773 <object type="action">
3774 <touch key="back" />
3775 <action function="page">filemanageroptions</action>
3776 </object>
3777
3778 <object type="template" name="footer" />
3779 </page>
3780
3781 <page name="filemanagerrenamefolder">
3782 <object type="template" name="header" />
3783
3784 <object type="text" color="%text_color%">
3785 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3786 <font resource="font" />
3787 <text>Please Enter a New %tw_fm_type% Name</text>
3788 </object>
3789
3790 <object type="input">
3791 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3792 <background color="%input_background_color%" />
3793 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3794 <font resource="font" color="%text_color%" />
3795 <text>%tw_filemanager_rename%</text>
3796 <data name="tw_filemanager_rename" />
3797 <restrict minlen="1" maxlen="128" />
3798 <actions>
3799 <action function="set">tw_fm_text2=to</action>
3800 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3801 <action function="set">tw_include_text3=1</action>
3802 <action function="set">tw_back=filemanageroptions</action>
3803 <action function="page">filemanagerconfirm</action>
3804 </actions>
3805 </object>
3806
3807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003809 <placement x="%col_center_x%" y="%row2_y%" />
3810 <font resource="font" color="%button_text_color%" />
3811 <text>Cancel</text>
3812 <image resource="main_button" />
3813 <action function="page">filemanageroptions</action>
3814 </object>
3815
3816 <object type="template" name="keyboardtemplate" />
3817
3818 <object type="action">
3819 <touch key="home" />
3820 <action function="page">main</action>
3821 </object>
3822
3823 <object type="action">
3824 <touch key="back" />
3825 <action function="page">filemanageroptions</action>
3826 </object>
3827
3828 <object type="template" name="footer" />
3829 </page>
3830
3831 <page name="filemanagerchmod">
3832 <object type="template" name="header" />
3833
3834 <object type="text" color="%text_color%">
3835 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3836 <font resource="font" />
3837 <text>Please Enter New Permissions</text>
3838 </object>
3839
3840 <object type="input">
3841 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3842 <background color="%input_background_color%" />
3843 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3844 <font resource="font" color="%text_color%" />
3845 <text>%tw_filemanager_rename%</text>
3846 <data name="tw_filemanager_rename" />
3847 <restrict minlen="3" maxlen="4" allow="0123456789" />
3848 <actions>
3849 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3850 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3851 <action function="set">tw_back=filemanageroptions</action>
3852 <action function="page">filemanagerconfirm</action>
3853 </actions>
3854 </object>
3855
3856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003857 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003858 <placement x="%col_center_x%" y="%row2_y%" />
3859 <font resource="font" color="%button_text_color%" />
3860 <text>Cancel</text>
3861 <image resource="main_button" />
3862 <action function="page">filemanageroptions</action>
3863 </object>
3864
3865 <object type="template" name="keyboardtemplate" />
3866
3867 <object type="action">
3868 <touch key="home" />
3869 <action function="page">main</action>
3870 </object>
3871
3872 <object type="action">
3873 <touch key="back" />
3874 <action function="page">filemanageroptions</action>
3875 </object>
3876
3877 <object type="template" name="footer" />
3878 </page>
3879
3880 <page name="filemanagerconfirm">
3881 <object type="template" name="header" />
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3886 <text>%tw_fm_text1%</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3892 <text>%tw_filename1%</text>
3893 </object>
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3898 <text>%tw_fm_text2%</text>
3899 </object>
3900
3901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3904 <text>%tw_fm_text3%</text>
3905 </object>
3906
3907 <object type="text" color="%text_color%">
3908 <font resource="font" />
3909 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3910 <text>Press back button to cancel.</text>
3911 </object>
3912
3913 <object type="slider">
3914 <placement x="%slider_x%" y="%slider_y%" />
3915 <resource base="slider" used="slider-used" touch="slider-touch" />
3916 <action function="page">filemanageracction</action>
3917 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003918
Dees_Troy51a0e822012-09-05 15:24:24 -04003919 <object type="text" color="%text_color%">
3920 <font resource="font" />
3921 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3922 <text>Swipe to Confirm</text>
3923 </object>
3924
3925 <object type="action">
3926 <touch key="back" />
3927 <action function="page">%tw_back%</action>
3928 </object>
3929
3930 <object type="action">
3931 <touch key="home" />
3932 <action function="page">main</action>
3933 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003934
Dees_Troy51a0e822012-09-05 15:24:24 -04003935 <object type="template" name="footer" />
3936 </page>
3937
3938 <page name="filemanageracction">
3939 <object type="template" name="header" />
3940
3941 <object type="text" color="%text_color%">
3942
3943 <font resource="font" />
3944 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3945 <text>%tw_fm_text1%</text>
3946 </object>
3947
3948 <object type="template" name="action_page_console" />
3949
3950 <object type="template" name="progress_bar" />
3951
3952 <object type="action">
3953 <conditions>
3954 <condition var1="tw_operation_state" var2="1" />
3955 <condition var1="tw_operation_status" var2="0" />
3956 </conditions>
3957 <actions>
3958 <action function="set">tw_back=filemanagerlist</action>
3959 <action function="set">tw_complete_text1=File Operation Complete</action>
3960 <action function="page">action_complete</action>
3961 </actions>
3962 </object>
3963
3964 <object type="action">
3965 <conditions>
3966 <condition var1="tw_operation_state" var2="1" />
3967 <condition var1="tw_operation_status" op="!=" var2="0" />
3968 </conditions>
3969 <actions>
3970 <action function="set">tw_complete_text1=File Operation Complete</action>
3971 <action function="page">action_complete</action>
3972 </actions>
3973 </object>
3974
3975 <object type="action">
3976 <condition var1="tw_include_text3" var2="0" />
3977 <actions>
3978 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3979 </actions>
3980 </object>
3981
3982 <object type="action">
3983 <condition var1="tw_include_text3" var2="1" />
3984 <actions>
3985 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3986 </actions>
3987 </object>
3988 </page>
3989
3990 <page name="decrypt">
3991 <object type="template" name="header" />
3992
3993 <object type="text" color="%text_color%">
3994 <font resource="font" />
3995 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3996 <text>Please Enter Your Password</text>
3997 </object>
3998
3999 <object type="input">
4000 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4001 <background color="%input_background_color%" />
4002 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4003 <font resource="font" color="%text_color%" />
4004 <text>%tw_crypto_display%</text>
4005 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
4006 <restrict minlen="1" maxlen="254" />
4007 <actions>
4008 <action function="page">trydecrypt</action>
4009 </actions>
4010 </object>
4011
4012 <object type="text" color="%text_fail_color%">
4013 <condition var1="tw_password_fail" var2="1" />
4014 <font resource="font" />
4015 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
4016 <text>Password Failed, Please Try Again</text>
4017 </object>
4018
4019 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004020 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004021 <placement x="%col_center_x%" y="%row2_y%" />
4022 <font resource="font" color="%button_text_color%" />
4023 <text>Cancel</text>
4024 <image resource="main_button" />
4025 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004026 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004027 <action function="page">main</action>
4028 </actions>
4029 </object>
4030
4031 <object type="template" name="keyboardtemplate" />
4032
Dees_Troy51a0e822012-09-05 15:24:24 -04004033 <object type="template" name="footer" />
4034 </page>
4035
4036 <page name="trydecrypt">
4037 <object type="template" name="header" />
4038
4039 <object type="text" color="%text_color%">
4040 <font resource="font" />
4041 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4042 <text>Trying Decryption with Your Password</text>
4043 </object>
4044
4045 <object type="template" name="action_page_console" />
4046
4047 <object type="template" name="progress_bar" />
4048
4049 <object type="action">
4050 <action function="decrypt"></action>
4051 </object>
4052
4053 <object type="action">
4054 <conditions>
4055 <condition var1="tw_operation_state" var2="1" />
4056 <condition var1="tw_operation_status" op="!=" var2="0" />
4057 </conditions>
4058 <actions>
4059 <action function="set">tw_password_fail=1</action>
4060 <action function="page">decrypt</action>
4061 </actions>
4062 </object>
4063
4064 <object type="action">
4065 <conditions>
4066 <condition var1="tw_operation_state" var2="1" />
4067 <condition var1="tw_operation_status" op="=" var2="0" />
4068 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004069 <actions>
4070 <action function="set">tw_page_done=1</action>
4071 <action function="page">main</action>
4072 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004073 </object>
4074 </page>
4075
4076 <page name="terminalfolder">
4077 <object type="template" name="header" />
4078
4079 <object type="text" color="%text_color%">
4080 <font resource="font" />
4081 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4082 <text>Browse to Starting Folder</text>
4083 </object>
4084
4085 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004086 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004087 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4088 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004089 <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 -04004090 <text>%tw_terminal_location%</text>
4091 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4092 <sort name="tw_gui_sort_order" />
4093 <icon folder="folder_icon" file="file_icon" />
4094 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004095 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004096 <filter folders="1" files="0" />
4097 <path name="tw_terminal_location" default="/" />
4098 <data name="tw_terminal" />
4099 <selection name="tw_terminal_selection" />
4100 </object>
4101
4102 <object type="template" name="sort_options" />
4103
4104 <object type="action">
4105 <touch key="home" />
4106 <action function="page">main</action>
4107 </object>
4108
4109 <object type="action">
4110 <touch key="back" />
4111 <action function="page">advanced</action>
4112 </object>
4113
4114 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004115 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004116 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4117 <font resource="font" color="%button_text_color%" />
4118 <text>Select</text>
4119 <image resource="medium_button" />
4120 <actions>
4121 <action function="page">terminalcommand</action>
4122 </actions>
4123 </object>
4124
4125 <object type="template" name="footer" />
4126 </page>
4127
4128 <page name="terminalcommand">
4129 <object type="template" name="header" />
4130
4131 <object type="console">
4132 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4133 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4134 <font resource="fixed" />
4135 </object>
4136
4137 <object type="text" color="%text_color%">
4138 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4139 <font resource="font" />
4140 <text>Starting Path: %tw_terminal_location%</text>
4141 </object>
4142
4143 <object type="input">
4144 <condition var1="tw_terminal_state" var2="0" />
4145 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4146 <background color="%input_background_color%" />
4147 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4148 <font resource="font" color="%text_color%" />
4149 <text>%tw_terminal_command%</text>
4150 <data name="tw_terminal_command" />
4151 <restrict minlen="1" />
4152 <action function="terminalcommand">%tw_terminal_command%</action>
4153 </object>
4154
4155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004157 <condition var1="tw_terminal_state" var2="1" />
4158 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4159 <font resource="font" color="%button_text_color%" />
4160 <text>KILL</text>
4161 <image resource="medium_button" />
4162 <action function="killterminal"></action>
4163 </object>
4164
4165 <object type="template" name="keyboardtemplate" />
4166
4167 <object type="action">
4168 <touch key="home" />
4169 <action function="page">main</action>
4170 </object>
4171
4172 <object type="action">
4173 <touch key="back" />
4174 <action function="page">terminalfolder</action>
4175 </object>
4176 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004177
4178 <page name="sideload">
4179 <object type="template" name="header" />
4180
4181 <object type="text" color="%text_color%">
4182 <font resource="font" />
4183 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4184 <text>ADB Sideload</text>
4185 </object>
4186
4187 <object type="checkbox">
4188 <placement x="%col1_x%" y="%row2_text_y%" />
4189 <font resource="font" color="%text_color%" />
4190 <text>Wipe Dalvik Cache.</text>
4191 <data variable="tw_wipe_dalvik" />
4192 <image checked="checkbox_true" unchecked="checkbox_false" />
4193 </object>
4194
4195 <object type="checkbox">
4196 <placement x="%col1_x%" y="%row3_text_y%" />
4197 <font resource="font" color="%text_color%" />
4198 <text>Wipe Cache.</text>
4199 <data variable="tw_wipe_cache" />
4200 <image checked="checkbox_true" unchecked="checkbox_false" />
4201 </object>
4202
4203 <object type="slider">
4204 <placement x="%slider_x%" y="%slider_y%" />
4205 <resource base="slider" used="slider-used" touch="slider-touch" />
4206 <actions>
4207 <action function="set">tw_back=advanced</action>
4208 <action function="set">tw_action=adbsideload</action>
4209 <action function="set">tw_action_text1=ADB Sideload</action>
4210 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4211 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4212 <action function="set">tw_has_cancel=1</action>
4213 <action function="set">tw_show_reboot=1</action>
4214 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4215 <action function="page">action_page</action>
4216 </actions>
4217 </object>
4218
4219 <object type="text" color="%text_color%">
4220 <font resource="font" />
4221 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4222 <text>Swipe to Start Sideload</text>
4223 </object>
4224
4225 <object type="action">
4226 <touch key="home" />
4227 <action function="page">main</action>
4228 </object>
4229
4230 <object type="action">
4231 <touch key="back" />
4232 <action function="page">advanced</action>
4233 </object>
4234
4235 <object type="template" name="footer" />
4236 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004237
4238 <page name="installsu">
4239 <object type="template" name="header" />
4240
4241 <object type="text" color="%text_color%">
4242 <font resource="font" />
4243 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4244 <text>Install SuperSU?</text>
4245 </object>
4246
4247 <object type="text" color="%text_color%">
4248 <font resource="font" />
4249 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4250 <text>Your device does not appear to be rooted.</text>
4251 </object>
4252
4253 <object type="text" color="%text_color%">
4254 <font resource="font" />
4255 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4256 <text>Install SuperSU now?</text>
4257 </object>
4258
4259 <object type="text" color="%text_color%">
4260 <font resource="font" />
4261 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4262 <text>This will root your device.</text>
4263 </object>
4264
4265 <object type="button">
4266 <highlight color="%highlight_color%" />
4267 <placement x="%col_center_x%" y="%row3_y%" />
4268 <font resource="font" color="%button_text_color%" />
4269 <text>Do Not Install</text>
4270 <image resource="main_button" />
4271 <action function="set">tw_page_done=1</action>
4272 </object>
4273
4274 <object type="slider">
4275 <placement x="%slider_x%" y="%slider_y%" />
4276 <resource base="slider" used="slider-used" touch="slider-touch" />
4277 <actions>
4278 <action function="set">tw_action=installsu</action>
4279 <action function="set">tw_action_text1=Installing SuperSU</action>
4280 <action function="set">tw_action_text2=</action>
4281 <action function="page">singleaction_page</action>
4282 </actions>
4283 </object>
4284
4285 <object type="text" color="%text_color%">
4286 <font resource="font" />
4287 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4288 <text>Swipe to Install</text>
4289 </object>
4290 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004291 </pages>
4292</recovery>