blob: 3d69a352e3b8b48b394a60f3d155adbdda2dce12 [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" />
125 <variable name="console_background" value="#303030" />
126 <variable name="console_scroll" value="#303030" />
127 <variable name="console_action_height" value="470" />
128 <variable name="console_install_height" value="600" />
129 <variable name="console_installdone_height" value="440" />
130 <variable name="fileselector_x" value="5" />
131 <variable name="fileselector_width" value="710" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500132 <variable name="fileselector_install_height" value="780" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400133 <variable name="fileselector_header_background" value="#202020" />
134 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
135 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
136 <variable name="fileselector_header_separatorheight" value="3" />
137 <variable name="fileselector_separatorcolor" value="#505050" />
138 <variable name="fileselector_separatorheight" value="2" />
139 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600140 <variable name="fileselector_highlight_color" value="#505050" />
141 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400142 <variable name="fileselector_spacing" value="36" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100143 <variable name="fastscroll_linecolor" value="#808080" />
144 <variable name="fastscroll_rectcolor" value="#808080" />
145 <variable name="fastscroll_w" value="60" />
146 <variable name="fastscroll_linew" value="2" />
147 <variable name="fastscroll_rectw" value="40" />
148 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400149 <variable name="listbox_x" value="5" />
150 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600151 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="listbox_background" value="#303030" />
153 <variable name="listbox_spacing" value="16" />
154 <variable name="sd_plus_x" value="350" />
155 <variable name="sdext_text_x" value="110" />
156 <variable name="sdext_text_y" value="180" />
157 <variable name="sdswap_button_y" value="260" />
158 <variable name="sdswap_text_x" value="110" />
159 <variable name="sdswap_text_y" value="270" />
160 <variable name="sdfilesystem_text_y" value="340" />
161 <variable name="sdfilesystem_button_y" value="380" />
162 <variable name="lock_x" value="160" />
163 <variable name="lock_y" value="400" />
164 <variable name="filemanager_select_x" value="560" />
165 <variable name="filemanager_select_y" value="1080" />
166 <variable name="backup_name_y" value="550" />
167 <variable name="terminal_console_height" value="700" />
168 <variable name="terminal_text_y" value="730" />
169 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400170 <variable name="row_dst_text_y" value="720" />
171 <variable name="row_offset_text_y" value="770" />
172 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500173 <variable name="button_fill_color" value="#303030" />
174 <variable name="button_fill_full_width" value="700" />
175 <variable name="button_fill_main_width" value="337" />
176 <variable name="button_fill_main_height" value="216" />
177 <variable name="button_fill_half_height" value="108" />
178 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000179 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="backup_button_row1" value="745" />
181 <variable name="backup_button_row2" value="810" />
182 <variable name="mount_list_height" value="690" />
183 <variable name="mount_storage_row" value="820" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000184 <variable name="storage_list_height" value="775" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500185 <variable name="wipe_list_height" value="670" />
186 <variable name="wipe_button_row1" value="900" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500187 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200188 <variable name="slidervalue_w" value="700" />
189 <variable name="slidervalue_line_clr" value="#FFFFFF" />
190 <variable name="slidervalue_slider_clr" value="#33B5E5" />
191 <variable name="slidervalue_lineh" value="2" />
192 <variable name="slidervalue_padding" value="20" />
193 <variable name="slidervalue_sliderw" value="10" />
194 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400195 </variables>
196
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100197 <mousecursor>
198 <placement w="15" h="15" />
199 <background color="#FFFF00FF" resource="cursor" />
200 <speed multiplier="2" />
201 </mousecursor>
202
Dees_Troy51a0e822012-09-05 15:24:24 -0400203 <templates>
204 <template name="header">
205 <background color="#000000FF" />
206
207 <object type="image">
208 <image resource="top_bar" />
209 <placement x="0" y="0" />
210 </object>
211
212 <object type="text" color="%text_color%">
213 <font resource="font" />
214 <placement x="120" y="10" />
215 <text>Team Win Recovery Project v%tw_version%</text>
216 </object>
217
218 <object type="text" color="%text_color%">
219 <condition var1="tw_simulate_actions" var2="1" />
220 <font resource="font" />
221 <placement x="120" y="45" />
222 <text>SIMULATING ACTIONS</text>
223 </object>
224
225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="120" y="76" />
228 <text>%tw_time%</text>
229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
233 <placement x="270" y="76" />
234 <conditions>
235 <condition var1="tw_no_battery_percent" var2="0" />
236 <condition var1="tw_battery" op=">" var2="0" />
237 <condition var1="tw_battery" op="<" var2="101" />
238 </conditions>
239 <text>Battery: %tw_battery%</text>
240 </object>
241
242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400244 <placement x="%home_button_x%" y="%home_button_y%" />
245 <font resource="font" color="%button_text_color%" />
246 <text></text>
247 <image resource="home_icon" />
248 <condition var1="tw_busy" var2="0" />
249 <action function="key">home</action>
250 </object>
251
252 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600253 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400254 <placement x="%back_button_x%" y="%back_button_y%" />
255 <font resource="font" color="%button_text_color%" />
256 <text></text>
257 <image resource="back_icon" />
258 <condition var1="tw_busy" var2="0" />
259 <action function="key">back</action>
260 </object>
261
262 <object type="action">
263 <touch key="power" />
264 <action function="overlay">lock</action>
265 </object>
266 </template>
267
268 <template name="progress_bar">
269 <object type="progressbar">
270 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500271 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400272 <data name="ui_progress" />
273 </object>
274
275 <object type="animation">
276 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
277 <resource name="progress" />
278 <speed fps="15" render="2" />
279 <loop frame="1" />
280 </object>
281 </template>
282
283 <template name="sort_options">
284 <object type="text" color="%text_color%">
285 <font resource="font" />
286 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
287 <text>Sort Ascending:</text>
288 </object>
289
290 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Name</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=1</action>
297 </object>
298
299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=2</action>
306 </object>
307
308 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600309 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400310 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=3</action>
315 </object>
316
317 <object type="text" color="%text_color%">
318 <font resource="font" />
319 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
320 <text>Sort Descending:</text>
321 </object>
322
323 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600324 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400325 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Name</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-1</action>
330 </object>
331
332 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600333 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400334 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
335 <font resource="font" color="%button_text_color%" />
336 <text>Date</text>
337 <image resource="sort_button" />
338 <action function="set">tw_gui_sort_order=-2</action>
339 </object>
340
341 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600342 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400343 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
344 <font resource="font" color="%button_text_color%" />
345 <text>Size</text>
346 <image resource="sort_button" />
347 <action function="set">tw_gui_sort_order=-3</action>
348 </object>
349 </template>
350
351 <template name="action_page_console">
352 <object type="console">
353 <placement x="0" y="%row2_y%" w="720" h="470" />
354 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
355 <font resource="fixed" />
356 </object>
357 </template>
358
359 <template name="footer">
360 <object type="console">
361 <slideout resource="slideout" x="325" y="1220" />
362 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
363 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
364 <font resource="fixed" />
365 </object>
366 </template>
367
368 <template name="keyboardtemplate">
369 <object type="keyboard">
370 <placement x="0" y="800" />
371 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600372 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600373 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400374 <layout1>
375 <keysize height="106" width="72" />
376 <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" />
377 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
378 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
379 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
380 </layout1>
381 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600382 <keysize height="106" width="72" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400383 <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" />
384 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
385 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
386 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
387 </layout2>
388 <layout3>
389 <keysize height="106" width="72" />
390 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
391 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
392 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
393 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
394 </layout3>
395 <layout4>
396 <keysize height="106" width="72" />
397 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
398 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
399 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
400 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
401 </layout4>
402 </object>
403 </template>
404 </templates>
405
406 <pages>
407 <page name="main">
408 <object type="action">
409 <actions>
410 <action function="set">tw_clear_destination=main2</action>
411 <action function="page">clear_vars</action>
412 </actions>
413 </object>
414 </page>
415
416 <page name="main2">
417 <object type="template" name="header" />
418
419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400421 <placement x="%col1_x%" y="%row1_y%" />
422 <font resource="font" color="%button_text_color%" />
423 <text>Install</text>
424 <image resource="main_button" />
425 <actions>
426 <action function="queueclear"></action>
427 <action function="page">install</action>
428 </actions>
429 </object>
430
431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400433 <placement x="%col2_x%" y="%row1_y%" />
434 <font resource="font" color="%button_text_color%" />
435 <text>Wipe</text>
436 <image resource="main_button" />
437 <action function="page">wipe</action>
438 </object>
439
440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400442 <placement x="%col1_x%" y="%row2_y%" />
443 <font resource="font" color="%button_text_color%" />
444 <text>Backup</text>
445 <image resource="main_button" />
446 <action function="page">backup</action>
447 </object>
448
449 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600450 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400451 <placement x="%col2_x%" y="%row2_y%" />
452 <font resource="font" color="%button_text_color%" />
453 <text>Restore</text>
454 <image resource="main_button" />
455 <action function="page">restore</action>
456 </object>
457
458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400460 <placement x="%col1_x%" y="%row3_y%" />
461 <font resource="font" color="%button_text_color%" />
462 <text>Mount</text>
463 <image resource="main_button" />
464 <action function="page">mount</action>
465 </object>
466
467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400469 <placement x="%col2_x%" y="%row3_y%" />
470 <font resource="font" color="%button_text_color%" />
471 <text>Settings</text>
472 <image resource="main_button" />
473 <action function="page">settings</action>
474 </object>
475
476
477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400479 <placement x="%col1_x%" y="%row4_y%" />
480 <font resource="font" color="%button_text_color%" />
481 <text>Advanced</text>
482 <image resource="main_button" />
483 <action function="page">advanced</action>
484 </object>
485
486 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600487 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <placement x="%col2_x%" y="%row4_y%" />
489 <font resource="font" color="%button_text_color%" />
490 <text>Reboot</text>
491 <image resource="main_button" />
492 <action function="page">reboot</action>
493 </object>
494
495 <object type="template" name="footer" />
496 </page>
497
498 <page name="install">
499 <object type="template" name="header" />
500
501 <object type="text" color="%text_color%">
502 <font resource="font" />
503 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
504 <text>Select Zip to Install</text>
505 </object>
506
507 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500508 <highlight color="%highlight_color%" />
509 <fill color="%button_fill_color%" />
510 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
511 <font resource="font" color="%button_text_color%" />
512 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
513 <actions>
514 <action function="set">tw_back=install</action>
515 <action function="page">selectstorage</action>
516 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400517 </object>
518
519 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600520 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500521 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400522 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100523 <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 -0400524 <text>%tw_zip_location%</text>
525 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
526 <sort name="tw_gui_sort_order" />
527 <icon folder="folder_icon" file="file_icon" />
528 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600529 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400530 <filter extn=".zip" folders="1" files="1" />
531 <path name="tw_zip_location" default="/sdcard" />
532 <data name="tw_filename" />
533 <selection name="tw_file" />
534 </object>
535
536 <object type="template" name="sort_options" />
537
538 <object type="action">
539 <condition var1="tw_filename" op="modified" />
540 <actions>
541 <action function="queuezip"></action>
542 <action function="page">flash_confirm</action>
543 </actions>
544 </object>
545
546 <object type="action">
547 <touch key="back" />
548 <action function="page">main</action>
549 </object>
550
551 <object type="action">
552 <touch key="home" />
553 <action function="page">main</action>
554 </object>
555
556 <object type="template" name="footer" />
557 </page>
558
559 <page name="flash_confirm">
560 <object type="template" name="header" />
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
565 <text>This operation may install incompatible</text>
566 </object>
567
568 <object type="text" color="%text_color%">
569 <font resource="font" />
570 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
571 <text>software and render your device unusable.</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
577 <text>Folder:</text>
578 </object>
579
580 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400581 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400582 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
583 <text>%tw_zip_location%</text>
584 </object>
585
586 <object type="text" color="%text_color%">
587 <font resource="font" />
588 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
589 <text>File to flash:</text>
590 </object>
591
592 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
595 <text>%tw_file%</text>
596 </object>
597
598 <object type="text" color="%text_color%">
599 <font resource="font" />
600 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
601 <text>Press back to cancel adding this zip.</text>
602 </object>
603
604 <object type="checkbox">
605 <placement x="%col1_x%" y="%row8_text_y%" />
606 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400607 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400608 <data variable="tw_signed_zip_verify" />
609 <image checked="checkbox_true" unchecked="checkbox_false" />
610 </object>
611
612 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <condition var1="tw_has_injecttwrp" var2="1" />
614 <placement x="%col1_x%" y="%row10_text_y%" />
615 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400616 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400617 <data variable="tw_inject_after_zip" />
618 <image checked="checkbox_true" unchecked="checkbox_false" />
619 </object>
620
621 <object type="text" color="%text_color%">
622 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400623 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400624 <text>File %tw_zip_queue_count% of max of 10</text>
625 </object>
626
627 <object type="slider">
628 <placement x="%slider_x%" y="%slider_y%" placement="5" />
629 <resource base="slider" used="slider-used" touch="slider-touch" />
630 <action function="flash">flash_zip</action>
631 </object>
632
633 <object type="text" color="%text_color%">
634 <font resource="font" />
635 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
636 <text>Swipe to Confirm Flash</text>
637 </object>
638
639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400641 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
642 <placement x="%col1_x%" y="%row_queue_y%" />
643 <font resource="font" color="%button_text_color%" />
644 <text>Add More Zips</text>
645 <image resource="main_button" />
646 <action function="page">install</action>
647 </object>
648
649 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600650 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400651 <placement x="%col2_x%" y="%row_queue_y%" />
652 <font resource="font" color="%button_text_color%" />
653 <text>Clear Zip Queue</text>
654 <image resource="main_button" />
655 <actions>
656 <action function="queueclear"></action>
657 <action function="page">install</action>
658 </actions>
659 </object>
660
661 <object type="action">
662 <touch key="back" />
663 <actions>
664 <action function="cancelzip"></action>
665 <action function="page">install</action>
666 </actions>
667 </object>
668
669 <object type="action">
670 <touch key="home" />
671 <action function="page">main</action>
672 </object>
673
674 <object type="template" name="footer" />
675 </page>
676
677 <page name="flash_zip">
678 <object type="template" name="header" />
679
680 <object type="console">
681 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
682 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
683 <font resource="fixed" />
684 </object>
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
689 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
690 </object>
691
692 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400693 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400694 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
695 <text>%tw_filename%</text>
696 </object>
697
698 <object type="template" name="progress_bar" />
699
700 <object type="action">
701 <condition var1="tw_operation_state" var2="1" />
702 <action function="page">flash_done</action>
703 </object>
704 </page>
705
706 <page name="flash_done">
707 <object type="template" name="header" />
708
709 <object type="text" color="%text_color%">
710 <font resource="font" />
711 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
712 <text>Zip Install Complete</text>
713 </object>
714
715 <object type="console">
716 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
717 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
718 <font resource="fixed" />
719 </object>
720
721 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600722 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400723 <placement x="%col1_x%" y="%row4_y%" />
724 <font resource="font" color="%button_text_color%" />
725 <text>Wipe cache/dalvik</text>
726 <image resource="main_button" />
727 <actions>
728 <action function="set">tw_back=flash_done</action>
729 <action function="set">tw_action=wipe</action>
730 <action function="set">tw_action_param=/cache</action>
731 <action function="set">tw_has_action2=1</action>
732 <action function="set">tw_action2=wipe</action>
733 <action function="set">tw_action2_param=dalvik</action>
734 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
735 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
736 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
737 <action function="set">tw_slider_text=Swipe to Wipe</action>
738 <action function="page">confirm_action</action>
739 </actions>
740 </object>
741
742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <placement x="%col2_x%" y="%row4_y%" />
745 <font resource="font" color="%button_text_color%" />
746 <text>Reboot System</text>
747 <image resource="main_button" />
748 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400749 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400750 <action function="set">tw_action=reboot</action>
751 <action function="set">tw_action_param=system</action>
752 <action function="set">tw_has_action2=0</action>
753 <action function="set">tw_text1=No OS Installed! Are you</action>
754 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400755 <action function="set">tw_text3=</action>
756 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400758 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400759 <action function="set">tw_complete_text1=Rebooting...</action>
760 <action function="set">tw_slider_text=Swipe to Reboot</action>
761 <action function="page">rebootcheck</action>
762 </actions>
763 </object>
764
765 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600766 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400767 <placement x="%col_center_x%" y="%row3_y%" />
768 <font resource="font" color="%button_text_color%" />
769 <text>Home</text>
770 <image resource="main_button" />
771 <actions>
772 <action function="set">tw_clear_destination=main2</action>
773 <action function="page">clear_vars</action>
774 </actions>
775 </object>
776
777 <object type="text" color="%text_fail_color%">
778 <condition var1="tw_operation_status" op="!=" var2="0" />
779 <font resource="font" />
780 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
781 <text>Failed</text>
782 </object>
783
784 <object type="text" color="%text_success_color%">
785 <condition var1="tw_operation_status" var2="0" />
786 <font resource="font" />
787 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
788 <text>Successful</text>
789 </object>
790
791 <object type="action">
792 <touch key="back" />
793 <actions>
794 <action function="set">tw_clear_destination=install</action>
795 <action function="page">clear_vars</action>
796 </actions>
797 </object>
798
799 <object type="action">
800 <touch key="home" />
801 <actions>
802 <action function="set">tw_clear_destination=main2</action>
803 <action function="page">clear_vars</action>
804 </actions>
805 </object>
806 </page>
807
808 <page name="clear_vars">
809 <object type="action">
810 <action function="set">tw_operation_state=0</action>
811 <action function="set">tw_text1=</action>
812 <action function="set">tw_text2=</action>
813 <action function="set">tw_text3=</action>
814 <action function="set">tw_text4=</action>
815 <action function="set">tw_action_text1=</action>
816 <action function="set">tw_action_text2=</action>
817 <action function="set">tw_action_param=</action>
818 <action function="set">tw_has_action2=0</action>
819 <action function="set">tw_action2=</action>
820 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400821 <action function="set">tw_has_cancel=0</action>
822 <action function="set">tw_cancel_action=</action>
823 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400824 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400825 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400826 <action function="page">%tw_clear_destination%</action>
827 </object>
828 </page>
829
830 <page name="confirm_action">
831 <object type="template" name="header" />
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
836 <text>%tw_text1%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
842 <text>%tw_text2%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
848 <text>%tw_text3%</text>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
854 <text>%tw_text4%</text>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400859 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <text>Press back button to cancel.</text>
861 </object>
862
863 <object type="slider">
864 <placement x="%slider_x%" y="%slider_y%" />
865 <resource base="slider" used="slider-used" touch="slider-touch" />
866 <action function="page">action_page</action>
867 </object>
868
869 <object type="text" color="%text_color%">
870 <font resource="font" />
871 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
872 <text>%tw_slider_text%</text>
873 </object>
874
875 <object type="action">
876 <touch key="back" />
877 <actions>
878 <action function="set">tw_clear_destination=%tw_back%</action>
879 <action function="page">clear_vars</action>
880 </actions>
881 </object>
882
883 <object type="action">
884 <touch key="home" />
885 <action function="page">main</action>
886 </object>
887
888 <object type="template" name="footer" />
889 </page>
890
891 <page name="action_page">
892 <object type="template" name="header" />
893
894 <object type="text" color="%text_color%">
895 <font resource="font" />
896 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
897 <text>%tw_action_text1%</text>
898 </object>
899
900 <object type="text" color="%text_color%">
901 <font resource="font" />
902 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
903 <text>%tw_action_text2%</text>
904 </object>
905
906 <object type="template" name="action_page_console" />
907
Dees_Troybbb21012012-09-20 15:59:46 -0400908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600909 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400910 <condition var1="tw_has_cancel" var2="1" />
911 <placement x="%col_center_medium_x%" y="%row4_y%" />
912 <font resource="font" color="%button_text_color%" />
913 <text>Cancel</text>
914 <image resource="medium_button" />
915 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
916 </object>
917
Dees_Troy51a0e822012-09-05 15:24:24 -0400918 <object type="template" name="progress_bar" />
919
920 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400921 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400922 <actions>
923 <action function="page">action_complete</action>
924 </actions>
925 </object>
926
927 <object type="action">
928 <condition var1="tw_has_action2" var2="0" />
929 <actions>
930 <action function="%tw_action%">%tw_action_param%</action>
931 </actions>
932 </object>
933
934 <object type="action">
935 <condition var1="tw_has_action2" var2="1" />
936 <actions>
937 <action function="%tw_action%">%tw_action_param%</action>
938 <action function="%tw_action2%">%tw_action2_param%</action>
939 </actions>
940 </object>
941 </page>
942
Dees_Troy6ef66352013-02-21 08:26:57 -0600943 <page name="singleaction_page">
944 <object type="template" name="header" />
945
946 <object type="text" color="%text_color%">
947 <font resource="font" />
948 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
949 <text>%tw_action_text1%</text>
950 </object>
951
952 <object type="text" color="%text_color%">
953 <font resource="font" />
954 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
955 <text>%tw_action_text2%</text>
956 </object>
957
958 <object type="template" name="action_page_console" />
959
960 <object type="template" name="progress_bar" />
961
962 <object type="action">
963 <condition var1="tw_operation_state" var2="1" />
964 <actions>
965 <action function="set">tw_page_done=1</action>
966 </actions>
967 </object>
968
969 <object type="action">
970 <condition var1="tw_has_action2" var2="0" />
971 <actions>
972 <action function="%tw_action%">%tw_action_param%</action>
973 </actions>
974 </object>
975
976 <object type="action">
977 <condition var1="tw_has_action2" var2="1" />
978 <actions>
979 <action function="%tw_action%">%tw_action_param%</action>
980 <action function="%tw_action2%">%tw_action2_param%</action>
981 </actions>
982 </object>
983 </page>
984
Dees_Troy51a0e822012-09-05 15:24:24 -0400985 <page name="action_complete">
986 <object type="template" name="header" />
987
988 <object type="text" color="%text_color%">
989 <font resource="font" />
990 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
991 <text>%tw_complete_text1%</text>
992 </object>
993
994 <object type="text" color="%text_fail_color%">
995 <condition var1="tw_operation_status" op="!=" var2="0" />
996 <font resource="font" />
997 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
998 <text>Failed</text>
999 </object>
1000
1001 <object type="text" color="%text_success_color%">
1002 <condition var1="tw_operation_status" var2="0" />
1003 <font resource="font" />
1004 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1005 <text>Successful</text>
1006 </object>
1007
1008 <object type="template" name="action_page_console" />
1009
1010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001011 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001012 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001013 <placement x="%col_center_x%" y="%row4_y%" />
1014 <font resource="font" color="%button_text_color%" />
1015 <text>Back</text>
1016 <image resource="main_button" />
1017 <actions>
1018 <action function="set">tw_clear_destination=%tw_back%</action>
1019 <action function="page">clear_vars</action>
1020 </actions>
1021 </object>
1022
Dees_Troya3f81542012-10-08 10:58:53 -04001023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001024 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001025 <condition var1="tw_show_reboot" var2="1" />
1026 <placement x="%col_center_x%" y="%row4_y%" />
1027 <font resource="font" color="%button_text_color%" />
1028 <text>Reboot System</text>
1029 <image resource="main_button" />
1030 <actions>
1031 <action function="set">tw_back=main2</action>
1032 <action function="set">tw_action=reboot</action>
1033 <action function="set">tw_action_param=system</action>
1034 <action function="set">tw_has_action2=0</action>
1035 <action function="set">tw_text1=No OS Installed! Are you</action>
1036 <action function="set">tw_text2=sure you wish to reboot?</action>
1037 <action function="set">tw_text3=</action>
1038 <action function="set">tw_text4=</action>
1039 <action function="set">tw_action_text1=Rebooting...</action>
1040 <action function="set">tw_action_text2=</action>
1041 <action function="set">tw_complete_text1=Rebooting...</action>
1042 <action function="set">tw_slider_text=Swipe to Reboot</action>
1043 <action function="page">rebootcheck</action>
1044 </actions>
1045 </object>
1046
Dees_Troy51a0e822012-09-05 15:24:24 -04001047 <object type="action">
1048 <touch key="home" />
1049 <actions>
1050 <action function="set">tw_clear_destination=main2</action>
1051 <action function="page">clear_vars</action>
1052 </actions>
1053 </object>
1054
1055 <object type="action">
1056 <touch key="back" />
1057 <actions>
1058 <action function="set">tw_clear_destination=%tw_back%</action>
1059 <action function="page">clear_vars</action>
1060 </actions>
1061 </object>
1062 </page>
1063
1064 <page name="filecheck">
1065 <object type="action">
1066 <action function="fileexists">%tw_filecheck%</action>
1067 </object>
1068
1069 <object type="action">
1070 <conditions>
1071 <condition var1="tw_operation_state" var2="1" />
1072 <condition var1="tw_operation_status" var2="0" />
1073 </conditions>
1074 <actions>
1075 <action function="set">tw_fileexists=1</action>
1076 <action function="page">%tw_existpage%</action>
1077 </actions>
1078 </object>
1079
1080 <object type="action">
1081 <conditions>
1082 <condition var1="tw_operation_state" var2="1" />
1083 <condition var1="tw_operation_status" var2="1" />
1084 </conditions>
1085 <actions>
1086 <action function="set">tw_fileexists=0</action>
1087 <action function="page">%tw_notexistpage%</action>
1088 </actions>
1089 </object>
1090 </page>
1091
1092 <page name="rebootcheck">
1093 <object type="action">
1094 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1095 <action function="reboot">%tw_action_param%</action>
1096 </object>
1097
1098 <object type="action">
1099 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1100 <action function="page">confirm_action</action>
1101 </object>
1102 </page>
1103
1104 <page name="wipe">
1105 <object type="template" name="header" />
1106
1107 <object type="text" color="%text_color%">
1108 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001109 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001110 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001111 </object>
1112
1113 <object type="text" color="%text_color%">
1114 <font resource="font" />
1115 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1116 <text>Wipes Data, Cache, and Dalvik</text>
1117 </object>
1118
1119 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001120 <conditions>
1121 <condition var1="tw_has_android_secure" var2="1" />
1122 <condition var1="fileexists" var2="/and-sec" />
1123 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001124 <font resource="font" />
1125 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1126 <text>.android_secure</text>
1127 </object>
1128
1129 <object type="text" color="%text_color%">
1130 <condition var1="tw_has_data_media" var2="1" />
1131 <font resource="font" />
1132 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1133 <text>(not including internal storage)</text>
1134 </object>
1135
1136 <object type="text" color="%text_color%">
1137 <condition var1="tw_has_sdext_partition" var2="1" />
1138 <font resource="font" />
1139 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1140 <text>SD-EXT</text>
1141 </object>
1142
1143 <object type="text" color="%text_color%">
1144 <font resource="font" />
1145 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1146 <text>Most of the time this is</text>
1147 </object>
1148
1149 <object type="text" color="%text_color%">
1150 <font resource="font" />
1151 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1152 <text>the only wipe that you need.</text>
1153 </object>
1154
1155 <object type="text" color="%text_color%">
1156 <font resource="font" />
1157 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1158 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001159 </object>
1160
1161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001162 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001163 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001166 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001167 <actions>
1168 <action function="set">partitionlisterror=0</action>
1169 <action function="page">advancedwipe</action>
1170 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001171 </object>
1172
1173 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001174 <conditions>
1175 <condition var1="tw_has_internal" var2="1" />
1176 <condition var1="tw_has_data_media" var2="1" />
1177 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <highlight color="%highlight_color%" />
1179 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001180 <font resource="font" color="%button_text_color%" />
1181 <text>Format Data</text>
1182 <image resource="main_button" />
1183 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001184 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001185 </actions>
1186 </object>
1187
Dees_Troya13d74f2013-03-24 08:54:55 -05001188 <object type="slider">
1189 <placement x="%slider_x%" y="%slider_y%" />
1190 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001191 <actions>
1192 <action function="set">tw_back=wipe</action>
1193 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001194 <action function="set">tw_action_param=data</action>
1195 <action function="set">tw_action_text1=Factory Reset...</action>
1196 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1197 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001198 </actions>
1199 </object>
1200
Dees_Troya13d74f2013-03-24 08:54:55 -05001201 <object type="text" color="%text_color%">
1202 <font resource="font" />
1203 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1204 <text>Swipe to Factory Reset</text>
1205 </object>
1206
1207 <object type="action">
1208 <touch key="back" />
1209 <action function="page">main</action>
1210 </object>
1211
1212 <object type="action">
1213 <touch key="home" />
1214 <action function="page">main</action>
1215 </object>
1216
1217 <object type="template" name="footer" />
1218 </page>
1219
1220 <page name="advancedwipe">
1221 <object type="template" name="header" />
1222
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001223 <object type="action">
1224 <action function="set">tw_wipe_list=</action>
1225 </object>
1226
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <object type="text" color="%text_color%">
1228 <font resource="font" />
1229 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1230 <text>Wipe Menu</text>
1231 </object>
1232
1233 <object type="partitionlist">
1234 <highlight color="%fileselector_highlight_color%" />
1235 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1236 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1237 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1238 <text>Select Partitions to Wipe:</text>
1239 <icon selected="checkbox_true" unselected="checkbox_false" />
1240 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1241 <background color="%listbox_background%" />
1242 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1243 <data name="tw_wipe_list" />
1244 <listtype name="wipe" />
1245 </object>
1246
1247 <object type="slider">
1248 <placement x="%slider_x%" y="%slider_y%" />
1249 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001250 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001251 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001252 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001253 <action function="set">tw_action_param=LIST</action>
1254 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1255 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1256 <action function="set">tw_complete_text1=Wipe Complete</action>
1257 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001258 </actions>
1259 </object>
1260
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001261 <object type="button">
1262 <highlight color="%highlight_color%" />
1263 <fill color="%button_fill_color%" />
1264 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1265 <font resource="font" color="%button_text_color%" />
1266 <text>Repair or Change File System</text>
1267 <actions>
1268 <action function="checkpartitionlist"></action>
1269 <action function="page">checkpartitionlist</action>
1270 </actions>
1271 </object>
1272
1273 <object type="text" color="%text_fail_color%">
1274 <condition var1="partitionlisterror" var2="1" />
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1277 <text>Invalid partition selection</text>
1278 </object>
1279
Dees_Troya13d74f2013-03-24 08:54:55 -05001280 <object type="text" color="%text_color%">
1281 <font resource="font" />
1282 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1283 <text>Swipe to Wipe</text>
1284 </object>
1285
Dees_Troy51a0e822012-09-05 15:24:24 -04001286 <object type="action">
1287 <touch key="home" />
1288 <action function="page">main</action>
1289 </object>
1290
1291 <object type="action">
1292 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001293 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001294 </object>
1295
1296 <object type="template" name="footer" />
1297 </page>
1298
Dees_Troya13d74f2013-03-24 08:54:55 -05001299 <page name="formatdata">
1300 <object type="template" name="header" />
1301
1302 <object type="text" color="%text_color%">
1303 <font resource="font" />
1304 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1305 <text>Format Data will wipe all of your apps,</text>
1306 </object>
1307
1308 <object type="text" color="%text_color%">
1309 <font resource="font" />
1310 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1311 <text>backups, pictures, videos, media, and</text>
1312 </object>
1313
1314 <object type="text" color="%text_color%">
1315 <font resource="font" />
1316 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1317 <text>removes encryption on internal storage.</text>
1318 </object>
1319
1320 <object type="text" color="%text_color%">
1321 <font resource="font" />
1322 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1323 <text>This cannot be undone. Press back to cancel.</text>
1324 </object>
1325
1326 <object type="text" color="%text_color%">
1327 <font resource="font" />
1328 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1329 <text>Type yes to continue.</text>
1330 </object>
1331
1332 <object type="input">
1333 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1334 <background color="%input_background_color%" />
1335 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1336 <font resource="font" color="%text_color%" />
1337 <text>%tw_confirm_formatdata%</text>
1338 <data name="tw_confirm_formatdata" />
1339 <restrict minlen="3" maxlen="3" allow="yes" />
1340 <action function="page">formatdata_confirm</action>
1341 </object>
1342
1343 <object type="template" name="keyboardtemplate" />
1344
1345 <object type="action">
1346 <touch key="home" />
1347 <action function="page">main</action>
1348 </object>
1349
1350 <object type="action">
1351 <touch key="back" />
1352 <action function="page">wipe</action>
1353 </object>
1354
1355 <object type="template" name="footer" />
1356 </page>
1357
1358 <page name="formatdata_confirm">
1359 <object type="action">
1360 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1361 <actions>
1362 <action function="set">tw_back=formatdata</action>
1363 <action function="set">tw_action=wipe</action>
1364 <action function="set">tw_action_param=DATAMEDIA</action>
1365 <action function="set">tw_action_text1=Formatting Data...</action>
1366 <action function="set">tw_complete_text1=Data Format Complete</action>
1367 <action function="page">action_page</action>
1368 </actions>
1369 </object>
1370
1371 <object type="action">
1372 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1373 <action function="page">formatdata</function>
1374 </object>
1375 </page>
1376
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001377 <page name="checkpartitionlist">
1378 <object type="action">
1379 <condition var1="tw_check_partition_list" op="=" var2="1" />
1380 <actions>
1381 <action function="set">partitionlisterror=0</action>
1382 <action function="getpartitiondetails"></action>
1383 <action function="page">partitionoptions</action>
1384 </actions>
1385 </object>
1386
1387 <object type="action">
1388 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1389 <actions>
1390 <action function="set">partitionlisterror=1</action>
1391 <action function="set">tw_wipe_list=</action>
1392 <action function="page">advancedwipe</action>
1393 </actions>
1394 </object>
1395 </page>
1396
1397 <page name="partitionoptions">
1398 <object type="template" name="header" />
1399
1400 <object type="text" color="%text_color%">
1401 <font resource="font" />
1402 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1403 <text>Partition Options for: %tw_partition_name%</text>
1404 </object>
1405
1406 <object type="text" color="%text_color%">
1407 <font resource="font" />
1408 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1409 <text>Mount Point: %tw_partition_mount_point%</text>
1410 </object>
1411
1412 <object type="text" color="%text_color%">
1413 <font resource="font" />
1414 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1415 <text>Current file system: %tw_partition_file_system%</text>
1416 </object>
1417
1418 <object type="text" color="%text_color%">
1419 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1420 <font resource="font" />
1421 <placement x="%col1_x%" y="%row3_text_y%" />
1422 <text>Present: Yes</text>
1423 </object>
1424
1425 <object type="text" color="%text_color%">
1426 <condition var1="tw_partition_is_present" op="=" var2="0" />
1427 <font resource="font" />
1428 <placement x="%col1_x%" y="%row3_text_y%" />
1429 <text>Present: No</text>
1430 </object>
1431
1432 <object type="text" color="%text_color%">
1433 <condition var1="tw_partition_removable" op="!=" var2="0" />
1434 <font resource="font" />
1435 <placement x="%col2_x%" y="%row3_text_y%" />
1436 <text>Removable: Yes</text>
1437 </object>
1438
1439 <object type="text" color="%text_color%">
1440 <condition var1="tw_partition_removable" op="=" var2="0" />
1441 <font resource="font" />
1442 <placement x="%col2_x%" y="%row3_text_y%" />
1443 <text>Removable: No</text>
1444 </object>
1445
1446 <object type="text" color="%text_color%">
1447 <font resource="font" />
1448 <placement x="%col1_x%" y="%row4_text_y%" />
1449 <text>Size: %tw_partition_size%MB</text>
1450 </object>
1451
1452 <object type="text" color="%text_color%">
1453 <font resource="font" />
1454 <placement x="%col2_x%" y="%row4_text_y%" />
1455 <text>Used: %tw_partition_used%MB</text>
1456 </object>
1457
1458 <object type="text" color="%text_color%">
1459 <font resource="font" />
1460 <placement x="%col1_x%" y="%row5_text_y%" />
1461 <text>Free: %tw_partition_free%MB</text>
1462 </object>
1463
1464 <object type="text" color="%text_color%">
1465 <font resource="font" />
1466 <placement x="%col2_x%" y="%row5_text_y%" />
1467 <text>Backup Size: %tw_partition_backup_size%MB</text>
1468 </object>
1469
1470 <object type="button">
1471 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1472 <highlight color="%highlight_color%" />
1473 <placement x="%col1_x%" y="%row4_y%" />
1474 <font resource="font" color="%button_text_color%" />
1475 <text>Repair</text>
1476 <image resource="main_button" />
1477 <actions>
1478 <action function="set">tw_back=partitionoptions</action>
1479 <action function="set">tw_action=repair</action>
1480 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1481 <action function="set">tw_has_action2=0</action>
1482 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1483 <action function="set">tw_text2=</action>
1484 <action function="set">tw_action_text1=Repairing...</action>
1485 <action function="set">tw_complete_text1=Repair Complete</action>
1486 <action function="set">tw_slider_text=Swipe to Repair</action>
1487 <action function="page">confirm_action</action>
1488 </actions>
1489 </object>
1490
1491 <object type="button">
1492 <highlight color="%highlight_color%" />
1493 <placement x="%col2_x%" y="%row4_y%" />
1494 <font resource="font" color="%button_text_color%" />
1495 <text>Change File System</text>
1496 <image resource="main_button" />
1497 <action function="page">selectfilesystem</action>
1498 </object>
1499
1500 <object type="action">
1501 <touch key="home" />
1502 <action function="page">main</action>
1503 </object>
1504
1505 <object type="action">
1506 <touch key="back" />
1507 <action function="page">advancedwipe</action>
1508 </object>
1509
1510 <object type="template" name="footer" />
1511 </page>
1512
1513 <page name="selectfilesystem">
1514 <object type="template" name="header" />
1515
1516 <object type="text" color="%text_color%">
1517 <font resource="font" />
1518 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1519 <text>Change file system for: %tw_partition_name%</text>
1520 </object>
1521
1522 <object type="text" color="%text_color%">
1523 <font resource="font" />
1524 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1525 <text>Mount Point: %tw_partition_mount_point%</text>
1526 </object>
1527
1528 <object type="text" color="%text_color%">
1529 <font resource="font" />
1530 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1531 <text>Current file system: %tw_partition_file_system%</text>
1532 </object>
1533
1534 <object type="text" color="%text_color%">
1535 <font resource="font" />
1536 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1537 <text>Some ROMs or kernels may not support some</text>
1538 </object>
1539
1540 <object type="text" color="%text_color%">
1541 <font resource="font" />
1542 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1543 <text>file systems. Proceed with caution!</text>
1544 </object>
1545
1546 <object type="button">
1547 <condition var1="tw_partition_ext" op="=" var2="1" />
1548 <highlight color="%highlight_color%" />
1549 <placement x="%col1_x%" y="%row2_y%" />
1550 <font resource="font" color="%button_text_color%" />
1551 <text>EXT2</text>
1552 <image resource="main_button" />
1553 <actions>
1554 <action function="set">tw_back=selectfilesystem</action>
1555 <action function="set">tw_action=changefilesystem</action>
1556 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1557 <action function="set">tw_action_new_file_system=ext2</action>
1558 <action function="set">tw_has_action2=0</action>
1559 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1560 <action function="set">tw_text2=</action>
1561 <action function="set">tw_action_text1=Formatting...</action>
1562 <action function="set">tw_complete_text1=Format Complete</action>
1563 <action function="set">tw_slider_text=Swipe to Change</action>
1564 <action function="page">confirm_action</action>
1565 </actions>
1566 </object>
1567
1568 <object type="button">
1569 <condition var1="tw_partition_ext" op="=" var2="1" />
1570 <highlight color="%highlight_color%" />
1571 <placement x="%col2_x%" y="%row2_y%" />
1572 <font resource="font" color="%button_text_color%" />
1573 <text>EXT3</text>
1574 <image resource="main_button" />
1575 <actions>
1576 <action function="set">tw_back=selectfilesystem</action>
1577 <action function="set">tw_action=changefilesystem</action>
1578 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1579 <action function="set">tw_action_new_file_system=ext3</action>
1580 <action function="set">tw_has_action2=0</action>
1581 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1582 <action function="set">tw_text2=</action>
1583 <action function="set">tw_action_text1=Formatting...</action>
1584 <action function="set">tw_complete_text1=Format Complete</action>
1585 <action function="set">tw_slider_text=Swipe to Change</action>
1586 <action function="page">confirm_action</action>
1587 </actions>
1588 </object>
1589
1590 <object type="button">
1591 <condition var1="tw_partition_ext" op="=" var2="1" />
1592 <highlight color="%highlight_color%" />
1593 <placement x="%col1_x%" y="%row3_y%" />
1594 <font resource="font" color="%button_text_color%" />
1595 <text>EXT4</text>
1596 <image resource="main_button" />
1597 <actions>
1598 <action function="set">tw_back=selectfilesystem</action>
1599 <action function="set">tw_action=changefilesystem</action>
1600 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1601 <action function="set">tw_action_new_file_system=ext4</action>
1602 <action function="set">tw_has_action2=0</action>
1603 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1604 <action function="set">tw_text2=</action>
1605 <action function="set">tw_action_text1=Formatting...</action>
1606 <action function="set">tw_complete_text1=Format Complete</action>
1607 <action function="set">tw_slider_text=Swipe to Change</action>
1608 <action function="page">confirm_action</action>
1609 </actions>
1610 </object>
1611
1612 <object type="button">
1613 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1614 <highlight color="%highlight_color%" />
1615 <placement x="%col2_x%" y="%row3_y%" />
1616 <font resource="font" color="%button_text_color%" />
1617 <text>F2FS</text>
1618 <image resource="main_button" />
1619 <actions>
1620 <action function="set">tw_back=selectfilesystem</action>
1621 <action function="set">tw_action=changefilesystem</action>
1622 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1623 <action function="set">tw_action_new_file_system=f2fs</action>
1624 <action function="set">tw_has_action2=0</action>
1625 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1626 <action function="set">tw_text2=</action>
1627 <action function="set">tw_action_text1=Formatting...</action>
1628 <action function="set">tw_complete_text1=Format Complete</action>
1629 <action function="set">tw_slider_text=Swipe to Change</action>
1630 <action function="page">confirm_action</action>
1631 </actions>
1632 </object>
1633
1634 <object type="button">
1635 <condition var1="tw_partition_vfat" op="=" var2="1" />
1636 <highlight color="%highlight_color%" />
1637 <placement x="%col1_x%" y="%row4_y%" />
1638 <font resource="font" color="%button_text_color%" />
1639 <text>FAT</text>
1640 <image resource="main_button" />
1641 <actions>
1642 <action function="set">tw_back=selectfilesystem</action>
1643 <action function="set">tw_action=changefilesystem</action>
1644 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1645 <action function="set">tw_action_new_file_system=vfat</action>
1646 <action function="set">tw_has_action2=0</action>
1647 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1648 <action function="set">tw_text2=</action>
1649 <action function="set">tw_action_text1=Formatting...</action>
1650 <action function="set">tw_complete_text1=Format Complete</action>
1651 <action function="set">tw_slider_text=Swipe to Change</action>
1652 <action function="page">confirm_action</action>
1653 </actions>
1654 </object>
1655
1656 <object type="button">
1657 <condition var1="tw_partition_exfat" op="=" var2="1" />
1658 <highlight color="%highlight_color%" />
1659 <placement x="%col2_x%" y="%row4_y%" />
1660 <font resource="font" color="%button_text_color%" />
1661 <text>exFAT</text>
1662 <image resource="main_button" />
1663 <actions>
1664 <action function="set">tw_back=selectfilesystem</action>
1665 <action function="set">tw_action=changefilesystem</action>
1666 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1667 <action function="set">tw_action_new_file_system=exfat</action>
1668 <action function="set">tw_has_action2=0</action>
1669 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1670 <action function="set">tw_text2=</action>
1671 <action function="set">tw_action_text1=Formatting...</action>
1672 <action function="set">tw_complete_text1=Format Complete</action>
1673 <action function="set">tw_slider_text=Swipe to Change</action>
1674 <action function="page">confirm_action</action>
1675 </actions>
1676 </object>
1677
1678 <object type="action">
1679 <touch key="home" />
1680 <action function="page">main</action>
1681 </object>
1682
1683 <object type="action">
1684 <touch key="back" />
1685 <action function="page">partitionoptions</action>
1686 </object>
1687
1688 <object type="template" name="footer" />
1689 </page>
1690
Dees_Troy51a0e822012-09-05 15:24:24 -04001691 <page name="backup">
1692 <object type="template" name="header" />
1693
Dees_Troy83bd4832013-05-04 12:39:56 +00001694 <object type="button">
1695 <highlight color="%highlight_color%" />
1696 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001697 <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 +00001698 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001700 <actions>
1701 <action function="set">tw_fileexists=0</action>
1702 <action function="page">backupname1</action>
1703 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001704 </object>
1705
Dees_Troya13d74f2013-03-24 08:54:55 -05001706 <object type="partitionlist">
1707 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001708 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001709 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1710 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1711 <text>Select Partitions to Back Up:</text>
1712 <icon selected="checkbox_true" unselected="checkbox_false" />
1713 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1714 <background color="%listbox_background%" />
1715 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1716 <data name="tw_backup_list" />
1717 <listtype name="backup" />
1718 </object>
1719
1720 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001721 <conditions>
1722 <condition var1="tw_include_encrypted_backup" var2="1" />
1723 <condition var1="tw_encrypt_backup" var2="0" />
1724 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001725 <highlight color="%highlight_color%" />
1726 <fill color="%button_fill_color%" />
1727 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1728 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001729 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001730 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001731 <action function="page">backupencryption</action>
1732 </actions>
1733 </object>
1734
1735 <object type="button">
1736 <conditions>
1737 <condition var1="tw_include_encrypted_backup" var2="1" />
1738 <condition var1="tw_encrypt_backup" var2="1" />
1739 </conditions>
1740 <highlight color="%highlight_color%" />
1741 <fill color="%button_fill_color%" />
1742 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1743 <font resource="font" color="%button_text_color%" />
1744 <text>Using Encryption</text>
1745 <actions>
1746 <action function="set">tw_password_not_match=0</action>
1747 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001748 </actions>
1749 </object>
1750
1751 <object type="button">
1752 <highlight color="%highlight_color%" />
1753 <fill color="%button_fill_color%" />
1754 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1755 <font resource="font" color="%button_text_color%" />
1756 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001757 <actions>
1758 <action function="refreshsizes"></action>
1759 <action function="page">backup</action>
1760 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001761 </object>
1762
1763 <object type="button">
1764 <highlight color="%highlight_color%" />
1765 <fill color="%button_fill_color%" />
1766 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1767 <font resource="font" color="%button_text_color%" />
1768 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1769 <actions>
1770 <action function="set">tw_back=backup</action>
1771 <action function="page">selectstorage</action>
1772 </actions>
1773 </object>
1774
1775 <object type="checkbox">
1776 <placement x="%col1_x%" y="%row15_text_y%" />
1777 <font resource="font" color="%text_color%" />
1778 <text>Enable compression.</text>
1779 <data variable="tw_use_compression" />
1780 <image checked="checkbox_true" unchecked="checkbox_false" />
1781 </object>
1782
1783 <object type="checkbox">
1784 <placement x="%col1_x%" y="%row16_text_y%" />
1785 <font resource="font" color="%text_color%" />
1786 <text>Skip MD5 generation during backup.</text>
1787 <data variable="tw_skip_md5_generate" />
1788 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001789 </object>
1790
1791 <object type="slider">
1792 <placement x="%slider_x%" y="slider_y" />
1793 <resource base="slider" used="slider-used" touch="slider-touch" />
1794 <action function="page">backup_run</action>
1795 </object>
1796
1797 <object type="text" color="%text_color%">
1798 <font resource="font" />
1799 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1800 <text>Swipe to Back Up</text>
1801 </object>
1802
Dees_Troy51a0e822012-09-05 15:24:24 -04001803 <object type="action">
1804 <touch key="home" />
1805 <action function="page">main</action>
1806 </object>
1807
1808 <object type="action">
1809 <touch key="back" />
1810 <action function="page">main</action>
1811 </object>
1812
1813 <object type="template" name="footer" />
1814 </page>
1815
1816 <page name="backupname1">
1817 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001818 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1819 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001820 </object>
1821
1822 <object type="action">
1823 <action function="page">backupname2</function>
1824 </object>
1825 </page>
1826
1827 <page name="backupname2">
1828 <object type="template" name="header" />
1829
1830 <object type="text" color="%text_color%">
1831 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1832 <font resource="font" />
1833 <text>Please Enter a Backup Name</text>
1834 </object>
1835
1836 <object type="input">
1837 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1838 <background color="%input_background_color%" />
1839 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1840 <font resource="font" color="%text_color%" />
1841 <text>%tw_backup_name%</text>
1842 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001843 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001844 <actions>
1845 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1846 <action function="set">tw_existpage=backupname2</action>
1847 <action function="set">tw_notexistpage=backup</action>
1848 <action function="page">filecheck</action>
1849 </actions>
1850 </object>
1851
1852 <object type="text" color="%text_fail_color%">
1853 <condition var1="tw_fileexists" var2="1" />
1854 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1855 <font resource="font" />
1856 <text>A backup with that name already exists!</text>
1857 </object>
1858
1859 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001860 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001861 <placement x="%col1_x%" y="%row2_y%" />
1862 <font resource="font" color="%button_text_color%" />
1863 <text>Append Date</text>
1864 <image resource="main_button" />
1865 <action function="appenddatetobackupname"></action>
1866 </object>
1867
1868 <object type="button">
1869 <highlight color="%highlight_color%" />
1870 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001871 <font resource="font" color="%button_text_color%" />
1872 <text>Cancel</text>
1873 <image resource="main_button" />
1874 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001875 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001876 <action function="page">backup</action>
1877 </actions>
1878 </object>
1879
1880 <object type="template" name="keyboardtemplate" />
1881
1882 <object type="action">
1883 <touch key="home" />
1884 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001885 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001886 <action function="page">main</action>
1887 </actions>
1888 </object>
1889
1890 <object type="action">
1891 <touch key="back" />
1892 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001893 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001894 <action function="page">backup</action>
1895 </actions>
1896 </object>
1897
1898 <object type="template" name="footer" />
1899 </page>
1900
Dees_Troy83bd4832013-05-04 12:39:56 +00001901 <page name="backupencryption">
1902 <object type="template" name="header" />
1903
1904 <object type="text" color="%text_color%">
1905 <font resource="font" />
1906 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1907 <text>Encrypt your backup?</text>
1908 </object>
1909
1910 <object type="text" color="%text_color%">
1911 <font resource="font" />
1912 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1913 <text>Please Enter A Password:</text>
1914 </object>
1915
1916 <object type="input">
1917 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1918 <background color="%input_background_color%" />
1919 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1920 <font resource="font" color="%text_color%" />
1921 <text>%tw_backup_encrypt_display%</text>
1922 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1923 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1924 <action function="page">backupencryption2</action>
1925 </object>
1926
1927 <object type="text" color="%text_fail_color%">
1928 <condition var1="tw_password_not_match" var2="1" />
1929 <font resource="font" />
1930 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1931 <text>Passwords Do Not Match</text>
1932 </object>
1933
1934 <object type="button">
1935 <highlight color="%highlight_color%" />
1936 <placement x="%col_center_x%" y="%row2_y%" />
1937 <font resource="font" color="%button_text_color%" />
1938 <text>Cancel</text>
1939 <image resource="main_button" />
1940 <actions>
1941 <action function="set">tw_encrypt_backup=0</action>
1942 <action function="set">tw_backup_password=</action>
1943 <action function="set">tw_backup_password2=</action>
1944 <action function="set">tw_backup_encrypt_display=</action>
1945 <action function="set">tw_backup_encrypt_display2=</action>
1946 <action function="page">backup</action>
1947 </actions>
1948 </object>
1949
1950 <object type="template" name="keyboardtemplate" />
1951
1952 <object type="action">
1953 <touch key="home" />
1954 <action function="page">main</action>
1955 </object>
1956
1957 <object type="action">
1958 <touch key="back" />
1959 <action function="page">backup</action>
1960 </object>
1961
1962 <object type="template" name="footer" />
1963 </page>
1964
1965 <page name="backupencryption2">
1966 <object type="template" name="header" />
1967
1968 <object type="text" color="%text_color%">
1969 <font resource="font" />
1970 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1971 <text>Encrypt your backup?</text>
1972 </object>
1973
1974 <object type="text" color="%text_color%">
1975 <font resource="font" />
1976 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1977 <text>Please Enter Password Again:</text>
1978 </object>
1979
1980 <object type="input">
1981 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1982 <background color="%input_background_color%" />
1983 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1984 <font resource="font" color="%text_color%" />
1985 <text>%tw_backup_encrypt_display2%</text>
1986 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1987 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1988 <actions>
1989 <action function="page">checkbackuppassword</action>
1990 </actions>
1991 </object>
1992
1993 <object type="button">
1994 <highlight color="%highlight_color%" />
1995 <placement x="%col_center_x%" y="%row2_y%" />
1996 <font resource="font" color="%button_text_color%" />
1997 <text>Cancel</text>
1998 <image resource="main_button" />
1999 <actions>
2000 <action function="set">tw_encrypt_backup=0</action>
2001 <action function="set">tw_backup_password=</action>
2002 <action function="set">tw_backup_password2=</action>
2003 <action function="set">tw_backup_encrypt_display=</action>
2004 <action function="set">tw_backup_encrypt_display2=</action>
2005 <action function="page">backup</action>
2006 </actions>
2007 </object>
2008
2009 <object type="template" name="keyboardtemplate" />
2010
2011 <object type="action">
2012 <touch key="home" />
2013 <action function="page">main</action>
2014 </object>
2015
2016 <object type="action">
2017 <touch key="back" />
2018 <action function="page">backup</action>
2019 </object>
2020
2021 <object type="template" name="footer" />
2022 </page>
2023
2024 <page name="checkbackuppassword">
2025 <object type="action">
2026 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2027 <actions>
2028 <action function="set">tw_encrypt_backup=1</action>
2029 <action function="page">backup</action>
2030 </actions>
2031 </object>
2032
2033 <object type="action">
2034 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2035 <actions>
2036 <action function="set">tw_encrypt_backup=0</action>
2037 <action function="set">tw_password_not_match=1</action>
2038 <action function="set">tw_backup_password=</action>
2039 <action function="set">tw_backup_password2=</action>
2040 <action function="set">tw_backup_encrypt_display=</action>
2041 <action function="set">tw_backup_encrypt_display2=</action>
2042 <action function="page">backupencryption</action>
2043 </actions>
2044 </object>
2045 </page>
2046
Dees_Troy51a0e822012-09-05 15:24:24 -04002047 <page name="backup_run">
2048 <object type="template" name="header" />
2049
2050 <object type="text" color="%text_color%">
2051 <font resource="font" />
2052 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2053 <text>%tw_operation% %tw_partition%</text>
2054 </object>
2055
2056 <object type="template" name="action_page_console" />
2057
2058 <object type="template" name="progress_bar" />
2059
2060 <object type="action">
2061 <action function="nandroid">backup</action>
2062 </object>
2063
2064 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00002065 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <actions>
2067 <action function="set">tw_back=backup</action>
2068 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002069 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002070 <action function="page">action_complete</action>
2071 </actions>
2072 </object>
2073 </page>
2074
2075 <page name="restore">
2076 <object type="template" name="header" />
2077
2078 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002079 <highlight color="%highlight_color%" />
2080 <fill color="%button_fill_color%" />
2081 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2082 <font resource="font" color="%button_text_color%" />
2083 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2084 <actions>
2085 <action function="set">tw_back=restore</action>
2086 <action function="page">selectstorage</action>
2087 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002088 </object>
2089
2090 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002091 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002092 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002093 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002094 <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 -04002095 <text>Select Package to Restore:</text>
2096 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2097 <sort name="tw_gui_sort_order" />
2098 <icon folder="folder_icon" file="file_icon" />
2099 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002100 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002101 <filter folders="1" files="0" nav="0" />
2102 <path name="tw_backups_folder" />
2103 <data name="tw_restore" default="" />
2104 <selection name="tw_restore_name" />
2105 </object>
2106
2107 <object type="template" name="sort_options" />
2108
2109 <object type="action">
2110 <condition var1="tw_restore" op="modified" />
2111 <actions>
2112 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002113 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002114 </actions>
2115 </object>
2116
2117 <object type="action">
2118 <touch key="home" />
2119 <action function="page">main</action>
2120 </object>
2121
2122 <object type="action">
2123 <touch key="back" />
2124 <action function="page">main</action>
2125 </object>
2126
2127 <object type="template" name="footer" />
2128 </page>
2129
Dees_Troy83bd4832013-05-04 12:39:56 +00002130 <page name="restore_read">
2131 <object type="action">
2132 <condition var1="tw_restore_encrypted" var2="1" />
2133 <actions>
2134 <action function="set">tw_password_fail=0</action>
2135 <action function="page">restore_decrypt</action>
2136 </actions>
2137 </object>
2138
2139 <object type="action">
2140 <condition var1="tw_restore_encrypted" var2="0" />
2141 <actions>
2142 <action function="page">restore_select</action>
2143 </actions>
2144 </object>
2145 </page>
2146
2147 <page name="restore_decrypt">
2148 <object type="template" name="header" />
2149
2150 <object type="text" color="%text_color%">
2151 <font resource="font" />
2152 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2153 <text>Backup Encrypted</text>
2154 </object>
2155
2156 <object type="text" color="%text_color%">
2157 <font resource="font" />
2158 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2159 <text>Please Enter Your Password:</text>
2160 </object>
2161
2162 <object type="input">
2163 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2164 <background color="%input_background_color%" />
2165 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2166 <font resource="font" color="%text_color%" />
2167 <text>%tw_restore_display%</text>
2168 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2169 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2170 <actions>
2171 <action function="page">try_restore_decrypt</action>
2172 </actions>
2173 </object>
2174
2175 <object type="text" color="%text_fail_color%">
2176 <condition var1="tw_password_fail" var2="1" />
2177 <font resource="font" />
2178 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2179 <text>Password Failed, Please Try Again</text>
2180 </object>
2181
2182 <object type="button">
2183 <highlight color="%highlight_color%" />
2184 <placement x="%col1_x%" y="%row2_y%" />
2185 <font resource="font" color="%button_text_color%" />
2186 <text>Cancel</text>
2187 <image resource="main_button" />
2188 <actions>
2189 <action function="set">tw_page_done=1</action>
2190 <action function="page">restore</action>
2191 </actions>
2192 </object>
2193
2194 <object type="button">
2195 <highlight color="%highlight_color%" />
2196 <placement x="%col2_x%" y="%row2_y%" />
2197 <font resource="font" color="%button_text_color%" />
2198 <text>Delete</text>
2199 <image resource="main_button" />
2200 <actions>
2201 <action function="set">tw_back=restore</action>
2202 <action function="set">tw_action=cmd</action>
2203 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2204 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2205 <action function="set">tw_text2=This cannot be undone!</action>
2206 <action function="set">tw_action_text1=Deleting Backup...</action>
2207 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2208 <action function="set">tw_slider_text=Swipe to Delete</action>
2209 <action function="page">confirm_action</action>
2210 </actions>
2211 </object>
2212
2213 <object type="template" name="keyboardtemplate" />
2214
2215 <object type="action">
2216 <touch key="home" />
2217 <action function="page">main</action>
2218 </object>
2219
2220 <object type="action">
2221 <touch key="back" />
2222 <action function="page">restore</action>
2223 </object>
2224
2225 <object type="template" name="footer" />
2226 </page>
2227
2228 <page name="try_restore_decrypt">
2229 <object type="template" name="header" />
2230
2231 <object type="text" color="%text_color%">
2232 <font resource="font" />
2233 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2234 <text>Trying Decryption with Your Password</text>
2235 </object>
2236
2237 <object type="template" name="action_page_console" />
2238
2239 <object type="template" name="progress_bar" />
2240
2241 <object type="action">
2242 <action function="decrypt_backup"></action>
2243 </object>
2244
2245 <object type="action">
2246 <conditions>
2247 <condition var1="tw_operation_state" var2="1" />
2248 <condition var1="tw_operation_status" op="!=" var2="0" />
2249 </conditions>
2250 <actions>
2251 <action function="set">tw_password_fail=1</action>
2252 <action function="page">restore_decrypt</action>
2253 </actions>
2254 </object>
2255
2256 <object type="action">
2257 <conditions>
2258 <condition var1="tw_operation_state" var2="1" />
2259 <condition var1="tw_operation_status" op="=" var2="0" />
2260 </conditions>
2261 <actions>
2262 <action function="set">tw_page_done=1</action>
2263 <action function="page">restore_select</action>
2264 </actions>
2265 </object>
2266 </page>
2267
Dees_Troy51a0e822012-09-05 15:24:24 -04002268 <page name="restore_select">
2269 <object type="template" name="header" />
2270
Dees_Troya13d74f2013-03-24 08:54:55 -05002271 <object type="partitionlist">
2272 <highlight color="%fileselector_highlight_color%" />
2273 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2274 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2275 <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 -04002276 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002277 <icon selected="checkbox_true" unselected="checkbox_false" />
2278 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2279 <background color="%listbox_background%" />
2280 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2281 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2282 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002283 </object>
2284
2285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002286 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002287 <fill color="%button_fill_color%" />
2288 <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 -04002289 <font resource="font" color="%button_text_color%" />
2290 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 <actions>
2292 <action function="set">tw_backup_rename=</action>
2293 <action function="set">tw_fileexists=0</action>
2294 <action function="page">renamebackup</action>
2295 </actions>
2296 </object>
2297
2298 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002299 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002300 <fill color="%button_fill_color%" />
2301 <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 -04002302 <font resource="font" color="%button_text_color%" />
2303 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002304 <actions>
2305 <action function="set">tw_back=restore</action>
2306 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002307 <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 -04002308 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2309 <action function="set">tw_text2=This cannot be undone!</action>
2310 <action function="set">tw_action_text1=Deleting Backup...</action>
2311 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2312 <action function="set">tw_slider_text=Swipe to Delete</action>
2313 <action function="page">confirm_action</action>
2314 </actions>
2315 </object>
2316
Dees_Troya13d74f2013-03-24 08:54:55 -05002317 <object type="checkbox">
2318 <placement x="%col1_x%" y="%row15_text_y%" />
2319 <font resource="font" color="%text_color%" />
2320 <text>Enable MD5 verification of backup files.</text>
2321 <data variable="tw_skip_md5_check" />
2322 <image checked="checkbox_true" unchecked="checkbox_false" />
2323 </object>
2324
2325 <object type="text" color="%text_color%">
2326 <font resource="font" />
2327 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2328 <text>Package Date: %tw_restore_file_date%</text>
2329 </object>
2330
Dees_Troy51a0e822012-09-05 15:24:24 -04002331 <object type="slider">
2332 <placement x="%slider_x%" y="%slider_y%" />
2333 <resource base="slider" used="slider-used" touch="slider-touch" />
2334 <action function="page">restore_run</action>
2335 </object>
2336
2337 <object type="text" color="%text_color%">
2338 <font resource="font" />
2339 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2340 <text>Swipe to Restore</text>
2341 </object>
2342
Dees_Troy51a0e822012-09-05 15:24:24 -04002343 <object type="action">
2344 <touch key="home" />
2345 <action function="page">main</action>
2346 </object>
2347
2348 <object type="action">
2349 <touch key="back" />
2350 <action function="page">restore</action>
2351 </object>
2352
2353 <object type="template" name="footer" />
2354 </page>
2355
2356 <page name="renamebackup">
2357 <object type="template" name="header" />
2358
2359 <object type="text" color="%text_color%">
2360 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2361 <font resource="font" />
2362 <text>Please Enter a New Backup Name</text>
2363 </object>
2364
2365 <object type="input">
2366 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2367 <background color="%input_background_color%" />
2368 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2369 <font resource="font" color="%text_color%" />
2370 <text>%tw_backup_rename%</text>
2371 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002372 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002373 <actions>
2374 <action function="set">tw_back=restore</action>
2375 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002376 <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 -04002377 <action function="set">tw_text1=Rename Backup?</action>
2378 <action function="set">tw_text2=This cannot be undone!</action>
2379 <action function="set">tw_action_text1=Renaming Backup...</action>
2380 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2381 <action function="set">tw_slider_text=Swipe to Rename</action>
2382 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2383 <action function="set">tw_existpage=renamebackup</action>
2384 <action function="set">tw_notexistpage=confirm_action</action>
2385 <action function="page">filecheck</action>
2386 </actions>
2387 </object>
2388
2389 <object type="text" color="%text_fail_color%">
2390 <condition var1="tw_fileexists" var2="1" />
2391 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2392 <font resource="font" />
2393 <text>A backup with that name already exists!</text>
2394 </object>
2395
2396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <placement x="%col_center_x%" y="%row2_y%" />
2399 <font resource="font" color="%button_text_color%" />
2400 <text>Cancel</text>
2401 <image resource="main_button" />
2402 <action function="page">restore_select</action>
2403 </object>
2404
2405 <object type="template" name="keyboardtemplate" />
2406
2407 <object type="action">
2408 <touch key="home" />
2409 <action function="page">main</action>
2410 </object>
2411
2412 <object type="action">
2413 <touch key="back" />
2414 <action function="page">restore_select</action>
2415 </object>
2416
2417 <object type="template" name="footer" />
2418 </page>
2419
2420 <page name="restore_run">
2421 <object type="template" name="header" />
2422
2423 <object type="text" color="%text_color%">
2424 <font resource="font" />
2425 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2426 <text>%tw_operation% %tw_partition%</text>
2427 </object>
2428
2429 <object type="template" name="action_page_console" />
2430
2431 <object type="template" name="progress_bar" />
2432
2433 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002434 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <actions>
2436 <action function="set">tw_back=restore_select</action>
2437 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002438 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <action function="page">action_complete</action>
2440 </actions>
2441 </object>
2442
2443 <object type="action">
2444 <action function="nandroid">restore</action>
2445 </object>
2446 </page>
2447
Dees_Troya13d74f2013-03-24 08:54:55 -05002448 <page name="selectstorage">
2449 <object type="template" name="header" />
2450
2451 <object type="partitionlist">
2452 <highlight color="%fileselector_highlight_color%" />
2453 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2454 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2455 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2456 <text>Select Storage:</text>
2457 <icon selected="radio_true" unselected="radio_false" />
2458 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2459 <background color="%listbox_background%" />
2460 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2461 <data name="tw_storage_path" />
2462 <listtype name="storage" />
2463 </object>
2464
Dees_Troye7e0ae82013-07-05 14:46:07 +00002465 <object type="button">
2466 <highlight color="%highlight_color%" />
2467 <placement x="%col_center_x%" y="%row4_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>OK</text>
2470 <image resource="main_button" />
2471 <actions>
2472 <action function="set">tw_clear_destination=%tw_back%</action>
2473 <action function="page">clear_vars</action>
2474 </actions>
2475 </object>
2476
Dees_Troya13d74f2013-03-24 08:54:55 -05002477 <object type="action">
2478 <touch key="home" />
2479 <action function="page">main</action>
2480 </object>
2481
2482 <object type="action">
2483 <touch key="back" />
2484 <actions>
2485 <action function="page">%tw_back%</action>
2486 </actions>
2487 </object>
2488
2489 <object type="template" name="footer" />
2490 </page>
2491
Dees_Troy51a0e822012-09-05 15:24:24 -04002492 <page name="mount">
2493 <object type="template" name="header" />
2494
Dees_Troya13d74f2013-03-24 08:54:55 -05002495 <object type="partitionlist">
2496 <highlight color="%fileselector_highlight_color%" />
2497 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2498 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2499 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2500 <text>Select Partitions to Mount:</text>
2501 <icon selected="checkbox_true" unselected="checkbox_false" />
2502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2503 <background color="%listbox_background%" />
2504 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2505 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 </object>
2507
2508 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002509 <highlight color="%highlight_color%" />
2510 <fill color="%button_fill_color%" />
2511 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2512 <font resource="font" color="%button_text_color%" />
2513 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2514 <actions>
2515 <action function="set">tw_back=mount</action>
2516 <action function="page">selectstorage</action>
2517 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002518 </object>
2519
2520 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002521 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002522 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002523 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <font resource="font" color="%button_text_color%" />
2525 <text>Mount USB Storage</text>
2526 <image resource="main_button" />
2527 <action function="page">usb_mount</action>
2528 </object>
2529
Gary Peckffdc6ae2012-11-21 18:02:02 -08002530 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002531 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002532 <conditions>
2533 <condition var1="tw_is_encrypted" var2="1" />
2534 <condition var1="tw_is_decrypted" var2="0" />
2535 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002536 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002537 <font resource="font" color="%button_text_color%" />
2538 <text>Decrypt Data</text>
2539 <image resource="main_button" />
2540 <action function="page">decrypt</action>
2541 </object>
2542
Dees_Troy51a0e822012-09-05 15:24:24 -04002543 <object type="action">
2544 <touch key="home" />
2545 <action function="page">main</action>
2546 </object>
2547
2548 <object type="action">
2549 <touch key="back" />
2550 <action function="page">main</action>
2551 </object>
2552
2553 <object type="template" name="footer" />
2554 </page>
2555
2556 <page name="usb_mount">
2557 <object type="template" name="header" />
2558
2559 <object type="text" color="%text_color%">
2560 <font resource="font" />
2561 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2562 <text>USB Storage Mounted</text>
2563 </object>
2564
2565 <object type="text" color="%text_color%">
2566 <placement x="%col1_x%" y="%row1_text_y%" />
2567 <font resource="font" />
2568 <text>Be sure to safely remove your device</text>
2569 </object>
2570
2571 <object type="text" color="%text_color%">
2572 <placement x="%col1_x%" y="%row2_text_y%" />
2573 <font resource="font" />
2574 <text>from your computer before unmounting!</text>
2575 </object>
2576
2577 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002578 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002579 <placement x="%col1_x%" y="%row3_y%" />
2580 <font resource="font" color="%button_text_color%" />
2581 <text>Unmount</text>
2582 <image resource="main_button" />
2583 <action function="page">usb_umount</action>
2584 </object>
2585
2586 <object type="action">
2587 <action function="mount">usb</action>
2588 </object>
2589
2590 <object type="template" name="footer" />
2591 </page>
2592
2593 <page name="usb_umount">
2594 <object type="action">
2595 <action function="unmount">usb</action>
2596 </object>
2597
2598 <object type="action">
2599 <action function="page">mount</action>
2600 </object>
2601 </page>
2602
2603 <page name="reboot">
2604 <object type="template" name="header" />
2605
2606 <object type="text" color="%text_color%">
2607 <font resource="font" />
2608 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2609 <text>Reboot Menu</text>
2610 </object>
2611
2612 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002613 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002614 <condition var1="tw_reboot_system" var2="1" />
2615 <placement x="%col1_x%" y="%row1_y%" />
2616 <font resource="font" color="%button_text_color%" />
2617 <text>System</text>
2618 <image resource="main_button" />
2619 <actions>
2620 <action function="set">tw_back=reboot</action>
2621 <action function="set">tw_action=reboot</action>
2622 <action function="set">tw_action_param=system</action>
2623 <action function="set">tw_has_action2=0</action>
2624 <action function="set">tw_text1=No OS Installed! Are you</action>
2625 <action function="set">tw_text2=sure you wish to reboot?</action>
2626 <action function="set">tw_action_text1=Rebooting...</action>
2627 <action function="set">tw_complete_text1=Rebooting...</action>
2628 <action function="set">tw_slider_text=Swipe to Reboot</action>
2629 <action function="page">rebootcheck</action>
2630 </actions>
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_poweroff" var2="1" />
2636 <placement x="%col2_x%" y="%row1_y%" />
2637 <font resource="font" color="%button_text_color%" />
2638 <text>Power Off</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=poweroff</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 power off?</action>
2647 <action function="set">tw_action_text1=Turning Off...</action>
2648 <action function="set">tw_complete_text1=Turning Off...</action>
2649 <action function="set">tw_slider_text=Swipe to Power Off</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_recovery" var2="1" />
2657 <placement x="%col1_x%" y="%row2_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>Recovery</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=recovery</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 reboot?</action>
2668 <action function="set">tw_action_text1=Rebooting...</action>
2669 <action function="set">tw_complete_text1=Rebooting...</action>
2670 <action function="set">tw_slider_text=Swipe to Reboot</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_bootloader" var2="1" />
2678 <placement x="%col2_x%" y="%row2_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text>Bootloader</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=bootloader</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_download_mode" var2="1" />
2699 <placement x="%col1_x%" y="%row3_y%" />
2700 <font resource="font" color="%button_text_color%" />
2701 <text>Download</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=download</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="action">
2718 <touch key="home" />
2719 <action function="page">main</action>
2720 </object>
2721
2722 <object type="action">
2723 <touch key="back" />
2724 <action function="page">main</action>
2725 </object>
2726
2727 <object type="template" name="footer" />
2728 </page>
2729
2730 <page name="settings">
2731 <object type="template" name="header" />
2732
2733 <object type="text" color="%text_color%">
2734 <font resource="font" />
2735 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2736 <text>Settings</text>
2737 </object>
2738
2739 <object type="checkbox">
2740 <placement x="%col1_x%" y="%row1_text_y%" />
2741 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002742 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <data variable="tw_signed_zip_verify" />
2744 <image checked="checkbox_true" unchecked="checkbox_false" />
2745 </object>
2746
2747 <object type="checkbox">
2748 <placement x="%col1_x%" y="%row2_text_y%" />
2749 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002750 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <data variable="tw_rm_rf" />
2752 <image checked="checkbox_true" unchecked="checkbox_false" />
2753 </object>
2754
2755 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002756 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002758 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <data variable="tw_skip_md5_generate" />
2760 <image checked="checkbox_true" unchecked="checkbox_false" />
2761 </object>
2762
2763 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002764 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002766 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <data variable="tw_skip_md5_check" />
2768 <image checked="checkbox_true" unchecked="checkbox_false" />
2769 </object>
2770
2771 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002772 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002774 <text>Use Military Time.</text>
2775 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <image checked="checkbox_true" unchecked="checkbox_false" />
2777 </object>
2778
2779 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002780 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002782 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <data variable="tw_simulate_actions" />
2784 <image checked="checkbox_true" unchecked="checkbox_false" />
2785 </object>
2786
2787 <object type="checkbox">
2788 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002789 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002790 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002791 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002792 <data variable="tw_simulate_fail" />
2793 <image checked="checkbox_true" unchecked="checkbox_false" />
2794 </object>
2795
2796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002797 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002798 <placement x="%col1_x%" y="%row3_y%" />
2799 <font resource="font" color="%button_text_color%" />
2800 <text>Time Zone</text>
2801 <image resource="main_button" />
2802 <action function="page">timezone</action>
2803 </object>
2804
2805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002806 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002807 <placement x="%col2_x%" y="%row3_y%" />
2808 <font resource="font" color="%button_text_color%" />
2809 <text>Screen</text>
2810 <image resource="main_button" />
2811 <action function="page">screen</action>
2812 </object>
2813
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002814 <object type="button">
2815 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002816 <placement x="%col1_x%" y="%row4_y%" />
2817 <font resource="font" color="%button_text_color%" />
2818 <text>Restore Defaults</text>
2819 <image resource="main_button" />
2820 <action function="restoredefaultsettings"></action>
2821 </object>
2822
Dees_Troy2f9117a2013-02-17 19:52:09 -06002823 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002824 <highlight color="%highlight_color%" />
2825 <placement x="%col2_x%" y="%row4_y%" />
2826 <font resource="font" color="%button_text_color%" />
2827 <text>Vibration Duration</text>
2828 <image resource="main_button" />
2829 <action function="page">Vibrate</action>
2830 </object>
2831
Dees_Troy51a0e822012-09-05 15:24:24 -04002832 <object type="action">
2833 <touch key="home" />
2834 <action function="page">main</action>
2835 </object>
2836
2837 <object type="action">
2838 <touch key="back" />
2839 <action function="page">main</action>
2840 </object>
2841
2842 <object type="template" name="footer" />
2843 </page>
2844
2845 <page name="timezone">
2846 <object type="template" name="header" />
2847
Dees_Troy51a0e822012-09-05 15:24:24 -04002848 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002849 <highlight color="%fileselector_highlight_color%" />
2850 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2851 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002852 <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 -06002853 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002854 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002855 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002856 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002857 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <data name="tw_time_zone_guisel" />
2859 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2860 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2861 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2862 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2863 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2864 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2865 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2866 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2867 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2868 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2869 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2870 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2871 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2872 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2873 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2874 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2875 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2876 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2877 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2878 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2879 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2880 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2881 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2882 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2883 </object>
2884
2885 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002886 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002887 <font resource="font" color="%text_color%" />
2888 <text>Do you use daylight savings time (DST)?</text>
2889 <data variable="tw_time_zone_guidst" />
2890 <image checked="checkbox_true" unchecked="checkbox_false" />
2891 </object>
2892
2893 <object type="text" color="%text_color%">
2894 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002895 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002896 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2897 </object>
2898
2899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002900 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002901 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002902 <font resource="font" color="%button_text_color%" />
2903 <text>None</text>
2904 <image resource="medium_button" />
2905 <action function="set">tw_time_zone_guioffset=0</action>
2906 </object>
2907
2908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002909 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002910 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002911 <font resource="font" color="%button_text_color%" />
2912 <text>15</text>
2913 <image resource="medium_button" />
2914 <action function="set">tw_time_zone_guioffset=15</action>
2915 </object>
2916
2917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002918 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002919 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <font resource="font" color="%button_text_color%" />
2921 <text>30</text>
2922 <image resource="medium_button" />
2923 <action function="set">tw_time_zone_guioffset=30</action>
2924 </object>
2925
2926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002927 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002928 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002929 <font resource="font" color="%button_text_color%" />
2930 <text>45</text>
2931 <image resource="medium_button" />
2932 <action function="set">tw_time_zone_guioffset=45</action>
2933 </object>
2934
2935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <placement x="%col_center_x%" y="%tz_set_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>Set Time Zone</text>
2940 <image resource="main_button" />
2941 <action function="setguitimezone"></action>
2942 </object>
2943
2944 <object type="text" color="%text_color%">
2945 <font resource="font" />
2946 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2947 <text>Current Time Zone: %tw_time_zone%</text>
2948 </object>
2949
2950 <object type="action">
2951 <touch key="home" />
2952 <action function="page">main</action>
2953 </object>
2954
2955 <object type="action">
2956 <touch key="back" />
2957 <action function="page">settings</action>
2958 </object>
2959
2960 <object type="template" name="footer" />
2961 </page>
2962
Dees_Troy2f9117a2013-02-17 19:52:09 -06002963 <page name="screen">
2964 <object type="template" name="header" />
2965
2966 <object type="text" color="%text_color%">
2967 <font resource="font" />
2968 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2969 <text>Screen Settings</text>
2970 </object>
2971
Dees_Troy2f9117a2013-02-17 19:52:09 -06002972 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002973 <placement x="%col1_x%" y="%row2_text_y%" />
2974 <font resource="font" color="%text_color%" />
2975 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002976 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002977 <text>Enable screen timeout.</text>
2978 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002979 <action function="set">tw_screen_timeout_secs=60</action>
2980 </object>
2981
2982 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002983 <placement x="%col1_x%" y="%row2_text_y%" />
2984 <font resource="font" color="%text_color%" />
2985 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002986 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002987 <text>Enable screen timeout.</text>
2988 <image resource="checkbox_true" />
2989 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002990 </object>
2991
Vojtech Bocek85932342013-04-01 22:11:33 +02002992 <object type="slidervalue">
2993 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002994 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002995 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2996 <font resource="font" color="%text_color%" />
2997 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2998 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2999 <text>Screen timeout in seconds:</text>
3000 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003001 </object>
3002
Vojtech Bocek85932342013-04-01 22:11:33 +02003003 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003004 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003005 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3006 <font resource="font" color="%text_color%" />
3007 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3008 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3009 <text>Brightness: %tw_brightness_pct%%</text>
3010 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003011 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003012 <action function="set">tw_brightness=%tw_brightness_max%</action>
3013 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3014 <action function="compute">tw_brightness/100</action>
3015 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003016 </actions>
3017 </object>
3018
3019 <object type="action">
3020 <touch key="home" />
3021 <action function="page">main</action>
3022 </object>
3023
3024 <object type="action">
3025 <touch key="back" />
3026 <action function="page">settings</action>
3027 </object>
3028
3029 <object type="template" name="footer" />
3030 </page>
3031
Ethan Yonker03db3262014-02-05 08:02:06 -06003032 <page name="Vibrate">
3033 <object type="template" name="header" />
3034
3035 <object type="text" color="%text_color%">
3036 <font resource="font" />
3037 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3038 <text>Vibration Settings :</text>
3039 </object>
3040
3041 <object type="slidervalue">
3042 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3043 <font resource="font" color="%text_color%" />
3044 <text>Button Vibration:</text>
3045 <data variable="tw_button_vibrate" min="0" max="300" />
3046 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3047 </object>
3048
3049 <object type="slidervalue">
3050 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3051 <font resource="font" color="%text_color%" />
3052 <text>Keyboard Vibration:</text>
3053 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3054 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3055 </object>
3056
3057 <object type="slidervalue">
3058 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3059 <font resource="font" color="%text_color%" />
3060 <text>Action Vibration:</text>
3061 <data variable="tw_action_vibrate" min="0" max="500" />
3062 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3063 </object>
3064
3065 <object type="action">
3066 <touch key="home" />
3067 <action function="page">main</action>
3068 </object>
3069
3070 <object type="action">
3071 <touch key="back" />
3072 <action function="page">settings</action>
3073 </object>
3074
3075 <object type="template" name="footer" />
3076 </page>
3077
Dees_Troy51a0e822012-09-05 15:24:24 -04003078 <page name="advanced">
3079 <object type="template" name="header" />
3080
3081 <object type="text" color="%text_color%">
3082 <font resource="font" />
3083 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3084 <text>Advanced</text>
3085 </object>
3086
3087 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003088 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003089 <placement x="%col1_x%" y="%row1_y%" />
3090 <font resource="font" color="%button_text_color%" />
3091 <text>Copy Log to SD</text>
3092 <image resource="main_button" />
3093 <actions>
3094 <action function="set">tw_back=advanced</action>
3095 <action function="set">tw_action=copylog</action>
3096 <action function="set">tw_text1=Copy Log to SD Card?</action>
3097 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3098 <action function="set">tw_complete_text1=Log Copy Complete</action>
3099 <action function="set">tw_slider_text=Swipe to Confirm</action>
3100 <action function="page">confirm_action</action>
3101 </actions>
3102 </object>
3103
3104 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003105 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003106 <placement x="%col2_x%" y="%row1_y%" />
3107 <font resource="font" color="%button_text_color%" />
3108 <text>Fix Permissions</text>
3109 <image resource="main_button" />
3110 <actions>
3111 <action function="set">tw_back=advanced</action>
3112 <action function="set">tw_action=fixpermissions</action>
3113 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003114 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3116 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003117 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003118 <action function="page">confirm_action</action>
3119 </actions>
3120 </object>
3121
3122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003123 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003124 <condition var1="tw_allow_partition_sdcard" var2="1" />
3125 <placement x="%col1_x%" y="%row2_y%" />
3126 <font resource="font" color="%button_text_color%" />
3127 <text>Partition SD Card</text>
3128 <image resource="main_button" />
3129 <action function="page">partsdcard</action>
3130 </object>
3131
3132 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003133 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003134 <placement x="%col2_x%" y="%row2_y%" />
3135 <font resource="font" color="%button_text_color%" />
3136 <text>File Manager</text>
3137 <image resource="main_button" />
3138 <action function="page">filemanagerlist</action>
3139 </object>
3140
3141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003143 <placement x="%col1_x%" y="%row3_y%" />
3144 <font resource="font" color="%button_text_color%" />
3145 <text>Terminal Command</text>
3146 <image resource="main_button" />
3147 <action function="page">terminalfolder</action>
3148 </object>
3149
3150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003151 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003152 <placement x="%col2_x%" y="%row3_y%" />
3153 <font resource="font" color="%button_text_color%" />
3154 <text>Reload Theme</text>
3155 <image resource="main_button" />
3156 <action function="reload"></action>
3157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003161 <placement x="%col1_x%" y="%row4_y%" />
3162 <font resource="font" color="%button_text_color%" />
3163 <text>ADB Sideload</text>
3164 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003165 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04003166 </object>
3167
3168 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003169 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003170 <condition var1="tw_show_dumlock" var2="1" />
3171 <placement x="%col2_x%" y="%row4_y%" />
3172 <font resource="font" color="%button_text_color%" />
3173 <text>HTC Dumlock</text>
3174 <image resource="main_button" />
3175 <action function="page">htcdumlock</action>
3176 </object>
3177
3178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003179 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003180 <condition var1="tw_has_injecttwrp" var2="1" />
3181 <placement x="%col2_x%" y="%row4_y%" />
3182 <font resource="font" color="%button_text_color%" />
3183 <text>Re-Inject TWRP</text>
3184 <image resource="main_button" />
3185 <actions>
3186 <action function="set">tw_back=advanced</action>
3187 <action function="set">tw_action=reinjecttwrp</action>
3188 <action function="set">tw_text1=Re-Inject TWRP?</action>
3189 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3190 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3191 <action function="set">tw_slider_text=Swipe to Confirm</action>
3192 <action function="page">confirm_action</action>
3193 </actions>
3194 </object>
3195
3196 <object type="action">
3197 <touch key="home" />
3198 <action function="page">main</action>
3199 </object>
3200
3201 <object type="action">
3202 <touch key="back" />
3203 <action function="page">main</action>
3204 </object>
3205
3206 <object type="template" name="footer" />
3207 </page>
3208
3209 <page name="partsdcard">
3210 <object type="template" name="header" />
3211
3212 <object type="text" color="%text_color%">
3213 <font resource="font" />
3214 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3215 <text>Partition SD Card</text>
3216 </object>
3217
3218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003220 <placement x="%col1_x%" y="%row1_y%" />
3221 <font resource="font" color="%button_text_color%" />
3222 <text></text>
3223 <image resource="minus_button" />
3224 <action function="addsubtract">tw_sdext_size-128</action>
3225 </object>
3226
3227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003228 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003229 <placement x="%sd_plus_x%" y="%row1_y%" />
3230 <font resource="font" color="%button_text_color%" />
3231 <text></text>
3232 <image resource="plus_button" />
3233 <action function="addsubtract">tw_sdext_size+128</action>
3234 </object>
3235
3236 <object type="text" color="%text_color%">
3237 <font resource="font" />
3238 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3239 <text>EXT Size: %tw_sdext_size%</text>
3240 </object>
3241
3242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003244 <placement x="%col1_x%" y="%sdswap_button_y%" />
3245 <font resource="font" color="%button_text_color%" />
3246 <text></text>
3247 <image resource="minus_button" />
3248 <action function="addsubtract">tw_swap_size-32</action>
3249 </object>
3250
3251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003253 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3254 <font resource="font" color="%button_text_color%" />
3255 <text></text>
3256 <image resource="plus_button" />
3257 <action function="addsubtract">tw_swap_size+32</action>
3258 </object>
3259
3260 <object type="text" color="%text_color%">
3261 <font resource="font" />
3262 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3263 <text>Swap Size: %tw_swap_size%</text>
3264 </object>
3265
3266 <object type="text" color="%text_color%">
3267 <font resource="font" />
3268 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3269 <text>File system: %tw_sdpart_file_system%</text>
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="%col1_x%" y="%sdfilesystem_button_y%" />
3275 <font resource="font" color="%button_text_color%" />
3276 <text>EXT3</text>
3277 <image resource="main_button" />
3278 <action function="set">tw_sdpart_file_system=ext3</action>
3279 </object>
3280
3281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003283 <condition var1="tw_sdext_disable_ext4" var2="0" />
3284 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3285 <font resource="font" color="%button_text_color%" />
3286 <text>EXT4</text>
3287 <image resource="main_button" />
3288 <action function="set">tw_sdpart_file_system=ext4</action>
3289 </object>
3290
3291 <object type="text" color="%text_color%">
3292 <font resource="font" />
3293 <placement x="%col1_x%" y="%row12_text_y%" />
3294 <text>You will lose all files on your SD card!</text>
3295 </object>
3296
3297 <object type="text" color="%text_color%">
3298 <font resource="font" />
3299 <placement x="%col1_x%" y="%row13_text_y%" />
3300 <text>This action cannot be undone!</text>
3301 </object>
3302
3303 <object type="slider">
3304 <placement x="%slider_x%" y="%slider_y%" />
3305 <resource base="slider" used="slider-used" touch="slider-touch" />
3306 <action function="page">partsdcardaction</action>
3307 <actions>
3308 <action function="set">tw_back=partsdcard</action>
3309 <action function="set">tw_action=partitionsd</action>
3310 <action function="set">tw_has_action2=1</action>
3311 <action function="set">tw_action2=set</action>
3312 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3313 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3314 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003315 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <action function="page">action_page</action>
3317 </actions>
3318 </object>
3319
3320 <object type="text" color="%text_color%">
3321 <font resource="font" />
3322 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3323 <text>Swipe to Partition</text>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="home" />
3328 <action function="page">main</action>
3329 </object>
3330
3331 <object type="action">
3332 <touch key="back" />
3333 <action function="page">advanced</action>
3334 </object>
3335
3336 <object type="template" name="footer" />
3337 </page>
3338
3339 <page name="htcdumlock">
3340 <object type="template" name="header" />
3341
3342 <object type="text" color="%text_color%">
3343 <font resource="font" />
3344 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3345 <text>HTC Dumlock</text>
3346 </object>
3347
3348 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003350 <condition var1="tw_show_dumlock" var2="1" />
3351 <placement x="%col1_x%" y="%row1_y%" />
3352 <font resource="font" color="%button_text_color%" />
3353 <text>Restore Original Boot</text>
3354 <image resource="main_button" />
3355 <actions>
3356 <action function="set">tw_back=htcdumlock</action>
3357 <action function="set">tw_action=htcdumlockrestoreboot</action>
3358 <action function="set">tw_text1=Restore original boot image?</action>
3359 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3360 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3361 <action function="set">tw_slider_text=Swipe to Confirm</action>
3362 <action function="page">confirm_action</action>
3363 </actions>
3364 </object>
3365
3366 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003367 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003368 <condition var1="tw_show_dumlock" var2="1" />
3369 <placement x="%col2_x%" y="%row1_y%" />
3370 <font resource="font" color="%button_text_color%" />
3371 <text>Reflash Recovery</text>
3372 <image resource="main_button" />
3373 <actions>
3374 <action function="set">tw_back=htcdumlock</action>
3375 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3376 <action function="set">tw_text1=Reflash recovery to boot?</action>
3377 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3378 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3379 <action function="set">tw_slider_text=Swipe to Confirm</action>
3380 <action function="page">confirm_action</action>
3381 </actions>
3382 </object>
3383
3384 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003386 <condition var1="tw_show_dumlock" var2="1" />
3387 <placement x="%col1_x%" y="%row2_y%" />
3388 <font resource="font" color="%button_text_color%" />
3389 <text>Install HTC Dumlock</text>
3390 <image resource="main_button" />
3391 <actions>
3392 <action function="set">tw_back=htcdumlock</action>
3393 <action function="set">tw_action=installhtcdumlock</action>
3394 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3395 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3396 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3397 <action function="set">tw_slider_text=Swipe to Confirm</action>
3398 <action function="page">confirm_action</action>
3399 </actions>
3400 </object>
3401
3402 <object type="action">
3403 <touch key="home" />
3404 <action function="page">main</action>
3405 </object>
3406
3407 <object type="action">
3408 <touch key="back" />
3409 <action function="page">advanced</action>
3410 </object>
3411
3412 <object type="template" name="footer" />
3413 </page>
3414
3415 <page name="lock">
3416 <background color="#000000A0" />
3417
3418 <object type="image">
3419 <image resource="unlock-icon" />
3420 <placement x="%lock_x%" y="%lock_y%" />
3421 </object>
3422
3423 <object type="slider">
3424 <placement x="%slider_x%" y="%slider_y%" />
3425 <resource base="slider" used="slider-used" touch="slider-touch" />
3426 <action function="overlay"></action>
3427 </object>
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3432 <text>Swipe to Unlock</text>
3433 </object>
3434 </page>
3435
3436 <page name="filemanagerlist">
3437 <object type="template" name="header" />
3438
3439 <object type="text" color="%text_color%">
3440 <font resource="font" />
3441 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3442 <text>File Manager: Select a File or Folder</text>
3443 </object>
3444
3445 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003446 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003447 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3448 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003449 <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 -04003450 <text>%tw_file_location1%</text>
3451 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3452 <sort name="tw_gui_sort_order" />
3453 <icon folder="folder_icon" file="file_icon" />
3454 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003455 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003456 <folders="1" files="1" />
3457 <path name="tw_file_location1" default="/" />
3458 <data name="tw_filename1" />
3459 <selection name="tw_selection1" />
3460 </object>
3461
3462 <object type="template" name="sort_options" />
3463
3464 <object type="action">
3465 <actions>
3466 <action function="set">tw_fm_type=File</action>
3467 <action function="set">tw_fm_isfolder=0</action>
3468 </actions>
3469 </object>
3470
3471 <object type="action">
3472 <touch key="home" />
3473 <action function="page">main</action>
3474 </object>
3475
3476 <object type="action">
3477 <touch key="back" />
3478 <action function="page">advanced</action>
3479 </object>
3480
3481 <object type="action">
3482 <condition var1="tw_filename1" op="modified" />
3483 <actions>
3484 <action function="page">filemanageroptions</action>
3485 </actions>
3486 </object>
3487
3488 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003489 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003490 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3491 <font resource="font" color="%button_text_color%" />
3492 <text>Select</text>
3493 <image resource="medium_button" />
3494 <actions>
3495 <action function="set">tw_filename1=tw_file_location1</action>
3496 <action function="set">tw_fm_isfolder=1</action>
3497 <action function="set">tw_fm_type=Folder</action>
3498 <action function="page">filemanageroptions</action>
3499 </actions>
3500 </object>
3501
3502 <object type="template" name="footer" />
3503 </page>
3504
3505 <page name="filemanageroptions">
3506 <object type="template" name="header" />
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3511 <text>%tw_fm_type% Selected:</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3517 <text>%tw_filename1%</text>
3518 </object>
3519
3520 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003521 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003522 <condition var1="tw_fm_isfolder" var2="0" />
3523 <placement x="%col1_x%" y="%row2_y%" />
3524 <font resource="font" color="%button_text_color%" />
3525 <text>Copy File</text>
3526 <image resource="main_button" />
3527 <actions>
3528 <action function="set">tw_filemanager_command=cp</action>
3529 <action function="set">tw_fm_text1=Copying</action>
3530 <action function="page">choosedestinationfolder</action>
3531 </actions>
3532 </object>
3533
3534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003535 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003536 <condition var1="tw_fm_isfolder" var2="1" />
3537 <placement x="%col1_x%" y="%row2_y%" />
3538 <font resource="font" color="%button_text_color%" />
3539 <text>Copy Folder</text>
3540 <image resource="main_button" />
3541 <actions>
3542 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3543 <action function="set">tw_fm_text1=Copying</action>
3544 <action function="page">choosedestinationfolder</action>
3545 </actions>
3546 </object>
3547
3548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003550 <placement x="%col2_x%" y="%row2_y%" />
3551 <font resource="font" color="%button_text_color%" />
3552 <text>Move</text>
3553 <image resource="main_button" />
3554 <actions>
3555 <action function="set">tw_filemanager_command=mv</action>
3556 <action function="set">tw_fm_text1=Moving</action>
3557 <action function="page">choosedestinationfolder</action>
3558 </actions>
3559 </object>
3560
3561 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003562 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003563 <placement x="%col1_x%" y="%row3_y%" />
3564 <font resource="font" color="%button_text_color%" />
3565 <text>chmod 755</text>
3566 <image resource="main_button" />
3567 <actions>
3568 <action function="set">tw_filemanager_command=chmod 755</action>
3569 <action function="set">tw_fm_text1=chmod 755</action>
3570 <action function="set">tw_fm_text2=</action>
3571 <action function="set">tw_fm_text3=</action>
3572 <action function="set">tw_include_text3=0</action>
3573 <action function="set">tw_back=filemanageroptions</action>
3574 <action function="page">filemanagerconfirm</action>
3575 </actions>
3576 </object>
3577
3578 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003579 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003580 <placement x="%col2_x%" y="%row3_y%" />
3581 <font resource="font" color="%button_text_color%" />
3582 <text>chmod</text>
3583 <image resource="main_button" />
3584 <actions>
3585 <action function="set">tw_filemanager_rename=0000</action>
3586 <action function="set">tw_fm_text2=</action>
3587 <action function="set">tw_fm_text3=</action>
3588 <action function="set">tw_include_text3=0</action>
3589 <action function="set">tw_back=filemanageroptions</action>
3590 <action function="page">filemanagerchmod</action>
3591 </actions>
3592 </object>
3593
3594 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003595 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003596 <placement x="%col1_x%" y="%row4_y%" />
3597 <font resource="font" color="%button_text_color%" />
3598 <text>Delete</text>
3599 <image resource="main_button" />
3600 <actions>
3601 <action function="set">tw_filemanager_command=rm -rf</action>
3602 <action function="set">tw_fm_text1=Deleting</action>
3603 <action function="set">tw_fm_text2=</action>
3604 <action function="set">tw_fm_text3=</action>
3605 <action function="set">tw_include_text3=0</action>
3606 <action function="set">tw_back=filemanageroptions</action>
3607 <action function="page">filemanagerconfirm</action>
3608 </actions>
3609 </object>
3610
3611 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003612 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003613 <condition var1="tw_fm_isfolder" var2="0" />
3614 <placement x="%col2_x%" y="%row4_y%" />
3615 <font resource="font" color="%button_text_color%" />
3616 <text>Rename File</text>
3617 <image resource="main_button" />
3618 <actions>
3619 <action function="set">tw_filemanager_rename=tw_selection1</action>
3620 <action function="set">tw_fm_text1=Renaming</action>
3621 <action function="set">tw_filemanager_command=mv</action>
3622 <action function="page">filemanagerrenamefile</action>
3623 </actions>
3624 </object>
3625
3626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 <condition var1="tw_fm_isfolder" var2="1" />
3629 <placement x="%col2_x%" y="%row4_y%" />
3630 <font resource="font" color="%button_text_color%" />
3631 <text>Rename Folder</text>
3632 <image resource="main_button" />
3633 <actions>
3634 <action function="set">tw_filemanager_rename=tw_selection1</action>
3635 <action function="set">tw_fm_text1=Renaming</action>
3636 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3637 <action function="page">filemanagerrenamefolder</action>
3638 </actions>
3639 </object>
3640
3641 <object type="action">
3642 <touch key="home" />
3643 <action function="page">main</action>
3644 </object>
3645
3646 <object type="action">
3647 <touch key="back" />
3648 <action function="page">filemanagerlist</action>
3649 </object>
3650
3651 <object type="template" name="footer" />
3652 </page>
3653
3654 <page name="choosedestinationfolder">
3655 <object type="template" name="header" />
3656
3657 <object type="text" color="%text_color%">
3658 <font resource="font" />
3659 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3660 <text>Browse to Destination Folder & Press Select</text>
3661 </object>
3662
3663 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003664 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003665 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3666 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003667 <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 -04003668 <text>%tw_file_location2%</text>
3669 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3670 <sort name="tw_gui_sort_order" />
3671 <icon folder="folder_icon" file="file_icon" />
3672 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003673 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003674 <filter folders="1" files="0" />
3675 <path name="tw_file_location2" default="/" />
3676 <data name="tw_filename2" />
3677 <selection name="tw_selection2" />
3678 </object>
3679
3680 <object type="template" name="sort_options" />
3681
3682 <object type="action">
3683 <touch key="home" />
3684 <action function="page">main</action>
3685 </object>
3686
3687 <object type="action">
3688 <touch key="back" />
3689 <action function="page">filemanageroptions</action>
3690 </object>
3691
3692 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003693 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003694 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3695 <font resource="font" color="%button_text_color%" />
3696 <text>Select</text>
3697 <image resource="medium_button" />
3698 <actions>
3699 <action function="set">tw_fm_text2=to</action>
3700 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3701 <action function="set">tw_include_text3=1</action>
3702 <action function="set">tw_back=filemanageroptions</action>
3703 <action function="page">filemanagerconfirm</action>
3704 </actions>
3705 </object>
3706
3707 <object type="template" name="footer" />
3708 </page>
3709
3710 <page name="filemanagerrenamefile">
3711 <object type="template" name="header" />
3712
3713 <object type="text" color="%text_color%">
3714 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3715 <font resource="font" />
3716 <text>Please Enter a New %tw_fm_type% Name</text>
3717 </object>
3718
3719 <object type="input">
3720 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3721 <background color="%input_background_color%" />
3722 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3723 <font resource="font" color="%text_color%" />
3724 <text>%tw_filemanager_rename%</text>
3725 <data name="tw_filemanager_rename" />
3726 <restrict minlen="1" maxlen="128" />
3727 <actions>
3728 <action function="set">tw_fm_text2=to</action>
3729 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3730 <action function="set">tw_include_text3=1</action>
3731 <action function="set">tw_back=filemanageroptions</action>
3732 <action function="page">filemanagerconfirm</action>
3733 </actions>
3734 </object>
3735
3736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003738 <placement x="%col_center_x%" y="%row2_y%" />
3739 <font resource="font" color="%button_text_color%" />
3740 <text>Cancel</text>
3741 <image resource="main_button" />
3742 <action function="page">filemanageroptions</action>
3743 </object>
3744
3745 <object type="template" name="keyboardtemplate" />
3746
3747 <object type="action">
3748 <touch key="home" />
3749 <action function="page">main</action>
3750 </object>
3751
3752 <object type="action">
3753 <touch key="back" />
3754 <action function="page">filemanageroptions</action>
3755 </object>
3756
3757 <object type="template" name="footer" />
3758 </page>
3759
3760 <page name="filemanagerrenamefolder">
3761 <object type="template" name="header" />
3762
3763 <object type="text" color="%text_color%">
3764 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3765 <font resource="font" />
3766 <text>Please Enter a New %tw_fm_type% Name</text>
3767 </object>
3768
3769 <object type="input">
3770 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3771 <background color="%input_background_color%" />
3772 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3773 <font resource="font" color="%text_color%" />
3774 <text>%tw_filemanager_rename%</text>
3775 <data name="tw_filemanager_rename" />
3776 <restrict minlen="1" maxlen="128" />
3777 <actions>
3778 <action function="set">tw_fm_text2=to</action>
3779 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3780 <action function="set">tw_include_text3=1</action>
3781 <action function="set">tw_back=filemanageroptions</action>
3782 <action function="page">filemanagerconfirm</action>
3783 </actions>
3784 </object>
3785
3786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003787 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003788 <placement x="%col_center_x%" y="%row2_y%" />
3789 <font resource="font" color="%button_text_color%" />
3790 <text>Cancel</text>
3791 <image resource="main_button" />
3792 <action function="page">filemanageroptions</action>
3793 </object>
3794
3795 <object type="template" name="keyboardtemplate" />
3796
3797 <object type="action">
3798 <touch key="home" />
3799 <action function="page">main</action>
3800 </object>
3801
3802 <object type="action">
3803 <touch key="back" />
3804 <action function="page">filemanageroptions</action>
3805 </object>
3806
3807 <object type="template" name="footer" />
3808 </page>
3809
3810 <page name="filemanagerchmod">
3811 <object type="template" name="header" />
3812
3813 <object type="text" color="%text_color%">
3814 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3815 <font resource="font" />
3816 <text>Please Enter New Permissions</text>
3817 </object>
3818
3819 <object type="input">
3820 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3821 <background color="%input_background_color%" />
3822 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3823 <font resource="font" color="%text_color%" />
3824 <text>%tw_filemanager_rename%</text>
3825 <data name="tw_filemanager_rename" />
3826 <restrict minlen="3" maxlen="4" allow="0123456789" />
3827 <actions>
3828 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3829 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3830 <action function="set">tw_back=filemanageroptions</action>
3831 <action function="page">filemanagerconfirm</action>
3832 </actions>
3833 </object>
3834
3835 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003836 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003837 <placement x="%col_center_x%" y="%row2_y%" />
3838 <font resource="font" color="%button_text_color%" />
3839 <text>Cancel</text>
3840 <image resource="main_button" />
3841 <action function="page">filemanageroptions</action>
3842 </object>
3843
3844 <object type="template" name="keyboardtemplate" />
3845
3846 <object type="action">
3847 <touch key="home" />
3848 <action function="page">main</action>
3849 </object>
3850
3851 <object type="action">
3852 <touch key="back" />
3853 <action function="page">filemanageroptions</action>
3854 </object>
3855
3856 <object type="template" name="footer" />
3857 </page>
3858
3859 <page name="filemanagerconfirm">
3860 <object type="template" name="header" />
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3865 <text>%tw_fm_text1%</text>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3871 <text>%tw_filename1%</text>
3872 </object>
3873
3874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3877 <text>%tw_fm_text2%</text>
3878 </object>
3879
3880 <object type="text" color="%text_color%">
3881 <font resource="font" />
3882 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3883 <text>%tw_fm_text3%</text>
3884 </object>
3885
3886 <object type="text" color="%text_color%">
3887 <font resource="font" />
3888 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3889 <text>Press back button to cancel.</text>
3890 </object>
3891
3892 <object type="slider">
3893 <placement x="%slider_x%" y="%slider_y%" />
3894 <resource base="slider" used="slider-used" touch="slider-touch" />
3895 <action function="page">filemanageracction</action>
3896 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003897
Dees_Troy51a0e822012-09-05 15:24:24 -04003898 <object type="text" color="%text_color%">
3899 <font resource="font" />
3900 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3901 <text>Swipe to Confirm</text>
3902 </object>
3903
3904 <object type="action">
3905 <touch key="back" />
3906 <action function="page">%tw_back%</action>
3907 </object>
3908
3909 <object type="action">
3910 <touch key="home" />
3911 <action function="page">main</action>
3912 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003913
Dees_Troy51a0e822012-09-05 15:24:24 -04003914 <object type="template" name="footer" />
3915 </page>
3916
3917 <page name="filemanageracction">
3918 <object type="template" name="header" />
3919
3920 <object type="text" color="%text_color%">
3921
3922 <font resource="font" />
3923 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3924 <text>%tw_fm_text1%</text>
3925 </object>
3926
3927 <object type="template" name="action_page_console" />
3928
3929 <object type="template" name="progress_bar" />
3930
3931 <object type="action">
3932 <conditions>
3933 <condition var1="tw_operation_state" var2="1" />
3934 <condition var1="tw_operation_status" var2="0" />
3935 </conditions>
3936 <actions>
3937 <action function="set">tw_back=filemanagerlist</action>
3938 <action function="set">tw_complete_text1=File Operation Complete</action>
3939 <action function="page">action_complete</action>
3940 </actions>
3941 </object>
3942
3943 <object type="action">
3944 <conditions>
3945 <condition var1="tw_operation_state" var2="1" />
3946 <condition var1="tw_operation_status" op="!=" var2="0" />
3947 </conditions>
3948 <actions>
3949 <action function="set">tw_complete_text1=File Operation Complete</action>
3950 <action function="page">action_complete</action>
3951 </actions>
3952 </object>
3953
3954 <object type="action">
3955 <condition var1="tw_include_text3" var2="0" />
3956 <actions>
3957 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3958 </actions>
3959 </object>
3960
3961 <object type="action">
3962 <condition var1="tw_include_text3" var2="1" />
3963 <actions>
3964 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3965 </actions>
3966 </object>
3967 </page>
3968
3969 <page name="decrypt">
3970 <object type="template" name="header" />
3971
3972 <object type="text" color="%text_color%">
3973 <font resource="font" />
3974 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3975 <text>Please Enter Your Password</text>
3976 </object>
3977
3978 <object type="input">
3979 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3980 <background color="%input_background_color%" />
3981 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3982 <font resource="font" color="%text_color%" />
3983 <text>%tw_crypto_display%</text>
3984 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3985 <restrict minlen="1" maxlen="254" />
3986 <actions>
3987 <action function="page">trydecrypt</action>
3988 </actions>
3989 </object>
3990
3991 <object type="text" color="%text_fail_color%">
3992 <condition var1="tw_password_fail" var2="1" />
3993 <font resource="font" />
3994 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3995 <text>Password Failed, Please Try Again</text>
3996 </object>
3997
3998 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003999 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004000 <placement x="%col_center_x%" y="%row2_y%" />
4001 <font resource="font" color="%button_text_color%" />
4002 <text>Cancel</text>
4003 <image resource="main_button" />
4004 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004005 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004006 <action function="page">main</action>
4007 </actions>
4008 </object>
4009
4010 <object type="template" name="keyboardtemplate" />
4011
Dees_Troy51a0e822012-09-05 15:24:24 -04004012 <object type="template" name="footer" />
4013 </page>
4014
4015 <page name="trydecrypt">
4016 <object type="template" name="header" />
4017
4018 <object type="text" color="%text_color%">
4019 <font resource="font" />
4020 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4021 <text>Trying Decryption with Your Password</text>
4022 </object>
4023
4024 <object type="template" name="action_page_console" />
4025
4026 <object type="template" name="progress_bar" />
4027
4028 <object type="action">
4029 <action function="decrypt"></action>
4030 </object>
4031
4032 <object type="action">
4033 <conditions>
4034 <condition var1="tw_operation_state" var2="1" />
4035 <condition var1="tw_operation_status" op="!=" var2="0" />
4036 </conditions>
4037 <actions>
4038 <action function="set">tw_password_fail=1</action>
4039 <action function="page">decrypt</action>
4040 </actions>
4041 </object>
4042
4043 <object type="action">
4044 <conditions>
4045 <condition var1="tw_operation_state" var2="1" />
4046 <condition var1="tw_operation_status" op="=" var2="0" />
4047 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004048 <actions>
4049 <action function="set">tw_page_done=1</action>
4050 <action function="page">main</action>
4051 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004052 </object>
4053 </page>
4054
4055 <page name="terminalfolder">
4056 <object type="template" name="header" />
4057
4058 <object type="text" color="%text_color%">
4059 <font resource="font" />
4060 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4061 <text>Browse to Starting Folder</text>
4062 </object>
4063
4064 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004065 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004066 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4067 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004068 <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 -04004069 <text>%tw_terminal_location%</text>
4070 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4071 <sort name="tw_gui_sort_order" />
4072 <icon folder="folder_icon" file="file_icon" />
4073 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004074 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004075 <filter folders="1" files="0" />
4076 <path name="tw_terminal_location" default="/" />
4077 <data name="tw_terminal" />
4078 <selection name="tw_terminal_selection" />
4079 </object>
4080
4081 <object type="template" name="sort_options" />
4082
4083 <object type="action">
4084 <touch key="home" />
4085 <action function="page">main</action>
4086 </object>
4087
4088 <object type="action">
4089 <touch key="back" />
4090 <action function="page">advanced</action>
4091 </object>
4092
4093 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004094 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004095 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4096 <font resource="font" color="%button_text_color%" />
4097 <text>Select</text>
4098 <image resource="medium_button" />
4099 <actions>
4100 <action function="page">terminalcommand</action>
4101 </actions>
4102 </object>
4103
4104 <object type="template" name="footer" />
4105 </page>
4106
4107 <page name="terminalcommand">
4108 <object type="template" name="header" />
4109
4110 <object type="console">
4111 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4112 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4113 <font resource="fixed" />
4114 </object>
4115
4116 <object type="text" color="%text_color%">
4117 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4118 <font resource="font" />
4119 <text>Starting Path: %tw_terminal_location%</text>
4120 </object>
4121
4122 <object type="input">
4123 <condition var1="tw_terminal_state" var2="0" />
4124 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4125 <background color="%input_background_color%" />
4126 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4127 <font resource="font" color="%text_color%" />
4128 <text>%tw_terminal_command%</text>
4129 <data name="tw_terminal_command" />
4130 <restrict minlen="1" />
4131 <action function="terminalcommand">%tw_terminal_command%</action>
4132 </object>
4133
4134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004136 <condition var1="tw_terminal_state" var2="1" />
4137 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4138 <font resource="font" color="%button_text_color%" />
4139 <text>KILL</text>
4140 <image resource="medium_button" />
4141 <action function="killterminal"></action>
4142 </object>
4143
4144 <object type="template" name="keyboardtemplate" />
4145
4146 <object type="action">
4147 <touch key="home" />
4148 <action function="page">main</action>
4149 </object>
4150
4151 <object type="action">
4152 <touch key="back" />
4153 <action function="page">terminalfolder</action>
4154 </object>
4155 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004156
4157 <page name="sideload">
4158 <object type="template" name="header" />
4159
4160 <object type="text" color="%text_color%">
4161 <font resource="font" />
4162 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4163 <text>ADB Sideload</text>
4164 </object>
4165
4166 <object type="checkbox">
4167 <placement x="%col1_x%" y="%row2_text_y%" />
4168 <font resource="font" color="%text_color%" />
4169 <text>Wipe Dalvik Cache.</text>
4170 <data variable="tw_wipe_dalvik" />
4171 <image checked="checkbox_true" unchecked="checkbox_false" />
4172 </object>
4173
4174 <object type="checkbox">
4175 <placement x="%col1_x%" y="%row3_text_y%" />
4176 <font resource="font" color="%text_color%" />
4177 <text>Wipe Cache.</text>
4178 <data variable="tw_wipe_cache" />
4179 <image checked="checkbox_true" unchecked="checkbox_false" />
4180 </object>
4181
4182 <object type="slider">
4183 <placement x="%slider_x%" y="%slider_y%" />
4184 <resource base="slider" used="slider-used" touch="slider-touch" />
4185 <actions>
4186 <action function="set">tw_back=advanced</action>
4187 <action function="set">tw_action=adbsideload</action>
4188 <action function="set">tw_action_text1=ADB Sideload</action>
4189 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4190 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4191 <action function="set">tw_has_cancel=1</action>
4192 <action function="set">tw_show_reboot=1</action>
4193 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4194 <action function="page">action_page</action>
4195 </actions>
4196 </object>
4197
4198 <object type="text" color="%text_color%">
4199 <font resource="font" />
4200 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4201 <text>Swipe to Start Sideload</text>
4202 </object>
4203
4204 <object type="action">
4205 <touch key="home" />
4206 <action function="page">main</action>
4207 </object>
4208
4209 <object type="action">
4210 <touch key="back" />
4211 <action function="page">advanced</action>
4212 </object>
4213
4214 <object type="template" name="footer" />
4215 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004216
4217 <page name="installsu">
4218 <object type="template" name="header" />
4219
4220 <object type="text" color="%text_color%">
4221 <font resource="font" />
4222 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4223 <text>Install SuperSU?</text>
4224 </object>
4225
4226 <object type="text" color="%text_color%">
4227 <font resource="font" />
4228 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4229 <text>Your device does not appear to be rooted.</text>
4230 </object>
4231
4232 <object type="text" color="%text_color%">
4233 <font resource="font" />
4234 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4235 <text>Install SuperSU now?</text>
4236 </object>
4237
4238 <object type="text" color="%text_color%">
4239 <font resource="font" />
4240 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4241 <text>This will root your device.</text>
4242 </object>
4243
4244 <object type="button">
4245 <highlight color="%highlight_color%" />
4246 <placement x="%col_center_x%" y="%row3_y%" />
4247 <font resource="font" color="%button_text_color%" />
4248 <text>Do Not Install</text>
4249 <image resource="main_button" />
4250 <action function="set">tw_page_done=1</action>
4251 </object>
4252
4253 <object type="slider">
4254 <placement x="%slider_x%" y="%slider_y%" />
4255 <resource base="slider" used="slider-used" touch="slider-touch" />
4256 <actions>
4257 <action function="set">tw_action=installsu</action>
4258 <action function="set">tw_action_text1=Installing SuperSU</action>
4259 <action function="set">tw_action_text2=</action>
4260 <action function="page">singleaction_page</action>
4261 </actions>
4262 </object>
4263
4264 <object type="text" color="%text_color%">
4265 <font resource="font" />
4266 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4267 <text>Swipe to Install</text>
4268 </object>
4269 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004270 </pages>
4271</recovery>