blob: 7194373d4141c788ddc3ed9f083b44bd3d0eab2c [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troya13d74f2013-03-24 08:54:55 -050046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="415" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600100 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400101 <variable name="home_button_x" value="50" />
102 <variable name="home_button_y" value="1226" />
103 <variable name="back_button_x" value="666" />
104 <variable name="back_button_y" value="1226" />
105 <variable name="sort_text_x" value="85" />
106 <variable name="sort_asc_text_y" value="1090" />
107 <variable name="sort_asc_button_y" value="1080" />
108 <variable name="sort_desc_text_y" value="1150" />
109 <variable name="sort_desc_button_y" value="1140" />
110 <variable name="sort_col1_button_x" value="330" />
111 <variable name="sort_col2_button_x" value="430" />
112 <variable name="sort_col3_button_x" value="530" />
113 <variable name="input_width" value="750" />
114 <variable name="input_height" value="50" />
115 <variable name="input_background_color" value="#303030" />
116 <variable name="input_cursor_color" value="#33B5E5" />
117 <variable name="input_cursor_width" value="3" />
118 <variable name="console_x" value="0" />
119 <variable name="console_width" value="800" />
120 <variable name="console_foreground" value="#A0A0A0" />
121 <variable name="console_background" value="#303030" />
122 <variable name="console_scroll" value="#303030" />
123 <variable name="console_action_height" value="470" />
124 <variable name="console_install_height" value="600" />
125 <variable name="console_installdone_height" value="440" />
126 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500127 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400128 <variable name="fileselector_install_height" value="750" />
129 <variable name="fileselector_header_background" value="#202020" />
130 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
131 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
132 <variable name="fileselector_header_separatorheight" value="3" />
133 <variable name="fileselector_separatorcolor" value="#505050" />
134 <variable name="fileselector_separatorheight" value="2" />
135 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600136 <variable name="fileselector_highlight_color" value="#505050" />
137 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400138 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100139 <variable name="fastscroll_linecolor" value="#808080" />
140 <variable name="fastscroll_rectcolor" value="#808080" />
141 <variable name="fastscroll_w" value="60" />
142 <variable name="fastscroll_linew" value="2" />
143 <variable name="fastscroll_rectw" value="40" />
144 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500146 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600147 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="listbox_background" value="#303030" />
149 <variable name="listbox_spacing" value="16" />
150 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400151 <variable name="sdext_text_x" value="115" />
152 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400154 <variable name="sdswap_text_x" value="115" />
155 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="sdfilesystem_text_y" value="340" />
157 <variable name="sdfilesystem_button_y" value="380" />
158 <variable name="lock_x" value="200" />
159 <variable name="lock_y" value="400" />
160 <variable name="filemanager_select_x" value="320" />
161 <variable name="filemanager_select_y" value="950" />
162 <variable name="backup_name_y" value="550" />
163 <variable name="terminal_console_height" value="600" />
164 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400165 <variable name="terminal_button_y" value="620" />
166 <variable name="row_dst_text_y" value="720" />
167 <variable name="row_offset_text_y" value="800" />
168 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500169 <variable name="button_fill_color" value="#303030" />
170 <variable name="button_fill_full_width" value="780" />
171 <variable name="button_fill_main_width" value="375" />
172 <variable name="button_fill_main_height" value="240" />
173 <variable name="button_fill_half_height" value="120" />
174 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000175 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500176 <variable name="backup_button_row1" value="745" />
177 <variable name="backup_button_row2" value="810" />
178 <variable name="mount_list_height" value="690" />
179 <variable name="mount_storage_row" value="830" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000180 <variable name="storage_list_height" value="775" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500181 <variable name="wipe_list_height" value="670" />
182 <variable name="wipe_button_row1" value="900" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500183 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200184 <variable name="slidervalue_w" value="780" />
185 <variable name="slidervalue_line_clr" value="#FFFFFF" />
186 <variable name="slidervalue_slider_clr" value="#33B5E5" />
187 <variable name="slidervalue_lineh" value="2" />
188 <variable name="slidervalue_padding" value="20" />
189 <variable name="slidervalue_sliderw" value="10" />
190 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400191 </variables>
192
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100193 <mousecursor>
194 <placement w="15" h="15" />
195 <background color="#FFFF00FF" resource="cursor" />
196 <speed multiplier="2.5" />
197 </mousecursor>
198
Dees_Troy51a0e822012-09-05 15:24:24 -0400199 <templates>
200 <template name="header">
201 <background color="#000000FF" />
202
203 <object type="image">
204 <image resource="top_bar" />
205 <placement x="0" y="0" />
206 </object>
207
208 <object type="text" color="%text_color%">
209 <font resource="font" />
210 <placement x="120" y="10" />
211 <text>Team Win Recovery Project v%tw_version%</text>
212 </object>
213
214 <object type="text" color="%text_color%">
215 <condition var1="tw_simulate_actions" var2="1" />
216 <font resource="font" />
217 <placement x="120" y="45" />
218 <text>SIMULATING ACTIONS</text>
219 </object>
220
221 <object type="text" color="%text_color%">
222 <font resource="font" />
223 <placement x="120" y="76" />
224 <text>%tw_time%</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="270" y="76" />
230 <conditions>
231 <condition var1="tw_no_battery_percent" var2="0" />
232 <condition var1="tw_battery" op=">" var2="0" />
233 <condition var1="tw_battery" op="<" var2="101" />
234 </conditions>
235 <text>Battery: %tw_battery%</text>
236 </object>
237
238 <object type="button">
239 <placement x="%home_button_x%" y="%home_button_y%" />
240 <font resource="font" color="%button_text_color%" />
241 <text></text>
242 <image resource="home_icon" />
243 <condition var1="tw_busy" var2="0" />
244 <action function="key">home</action>
245 </object>
246
247 <object type="button">
248 <placement x="%back_button_x%" y="%back_button_y%" />
249 <font resource="font" color="%button_text_color%" />
250 <text></text>
251 <image resource="back_icon" />
252 <condition var1="tw_busy" var2="0" />
253 <action function="key">back</action>
254 </object>
255
256 <object type="action">
257 <touch key="power" />
258 <action function="overlay">lock</action>
259 </object>
260 </template>
261
262 <template name="progress_bar">
263 <object type="progressbar">
264 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500265 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400266 <data name="ui_progress" />
267 </object>
268
269 <object type="animation">
270 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
271 <resource name="progress" />
272 <speed fps="15" render="2" />
273 <loop frame="1" />
274 </object>
275 </template>
276
277 <template name="sort_options">
278 <object type="text" color="%text_color%">
279 <font resource="font" />
280 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
281 <text>Sort Ascending:</text>
282 </object>
283
284 <object type="button">
285 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
286 <font resource="font" color="%button_text_color%" />
287 <text>Name</text>
288 <image resource="sort_button" />
289 <action function="set">tw_gui_sort_order=1</action>
290 </object>
291
292 <object type="button">
293 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
294 <font resource="font" color="%button_text_color%" />
295 <text>Date</text>
296 <image resource="sort_button" />
297 <action function="set">tw_gui_sort_order=2</action>
298 </object>
299
300 <object type="button">
301 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Size</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=3</action>
306 </object>
307
308 <object type="text" color="%text_color%">
309 <font resource="font" />
310 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
311 <text>Sort Descending:</text>
312 </object>
313
314 <object type="button">
315 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
316 <font resource="font" color="%button_text_color%" />
317 <text>Name</text>
318 <image resource="sort_button" />
319 <action function="set">tw_gui_sort_order=-1</action>
320 </object>
321
322 <object type="button">
323 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
324 <font resource="font" color="%button_text_color%" />
325 <text>Date</text>
326 <image resource="sort_button" />
327 <action function="set">tw_gui_sort_order=-2</action>
328 </object>
329
330 <object type="button">
331 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
332 <font resource="font" color="%button_text_color%" />
333 <text>Size</text>
334 <image resource="sort_button" />
335 <action function="set">tw_gui_sort_order=-3</action>
336 </object>
337 </template>
338
339 <template name="action_page_console">
340 <object type="console">
341 <placement x="0" y="%row3_text_y%" w="800" h="600" />
342 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
343 <font resource="fixed" />
344 </object>
345 </template>
346
347 <template name="footer">
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500348 <object type="console">
Dees_Troy51a0e822012-09-05 15:24:24 -0400349 <slideout resource="slideout" x="355" y="1220" />
350 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
351 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
352 <font resource="fixed" />
353 </object>
354 </template>
355
356 <template name="keyboardtemplate">
357 <object type="keyboard">
358 <placement x="0" y="740" />
359 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600360 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600361 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400362 <layout1>
363 <keysize height="115" width="80" />
364 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600365 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
366 <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000367 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400368 </layout1>
369 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600370 <keysize height="116" width="80" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600372 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
373 <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400374 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
375 </layout2>
376 <layout3>
377 <keysize height="115" width="80" />
378 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
379 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600380 <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400381 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
382 </layout3>
383 <layout4>
384 <keysize height="116" width="80" />
385 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
386 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600387 <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400388 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
389 </layout4>
390 </object>
391 </template>
392 </templates>
393
394 <pages>
395 <page name="main">
396 <object type="action">
397 <actions>
398 <action function="set">tw_clear_destination=main2</action>
399 <action function="page">clear_vars</action>
400 </actions>
401 </object>
402 </page>
403
404 <page name="main2">
405 <object type="template" name="header" />
406
407 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400409 <placement x="%col1_x%" y="%row1_y%" />
410 <font resource="font" color="%button_text_color%" />
411 <text>Install</text>
412 <image resource="main_button" />
413 <actions>
414 <action function="queueclear"></action>
415 <action function="page">install</action>
416 </actions>
417 </object>
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="%col2_x%" y="%row1_y%" />
422 <font resource="font" color="%button_text_color%" />
423 <text>Wipe</text>
424 <image resource="main_button" />
425 <action function="page">wipe</action>
426 </object>
427
428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400430 <placement x="%col1_x%" y="%row2_y%" />
431 <font resource="font" color="%button_text_color%" />
432 <text>Backup</text>
433 <image resource="main_button" />
434 <action function="page">backup</action>
435 </object>
436
437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400439 <placement x="%col2_x%" y="%row2_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Restore</text>
442 <image resource="main_button" />
443 <action function="page">restore</action>
444 </object>
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col1_x%" y="%row3_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Mount</text>
451 <image resource="main_button" />
452 <action function="page">mount</action>
453 </object>
454
455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col2_x%" y="%row3_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Settings</text>
460 <image resource="main_button" />
461 <action function="page">settings</action>
462 </object>
463
Dees_Troyb46a6842012-09-25 11:06:46 -0400464
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400467 <placement x="%col1_x%" y="%row4_y%" />
468 <font resource="font" color="%button_text_color%" />
469 <text>Advanced</text>
470 <image resource="main_button" />
471 <action function="page">advanced</action>
472 </object>
473
474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600475 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <placement x="%col2_x%" y="%row4_y%" />
477 <font resource="font" color="%button_text_color%" />
478 <text>Reboot</text>
479 <image resource="main_button" />
480 <action function="page">reboot</action>
481 </object>
482
483 <object type="template" name="footer" />
484 </page>
485
486 <page name="install">
487 <object type="template" name="header" />
488
489 <object type="text" color="%text_color%">
490 <font resource="font" />
491 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
492 <text>Select Zip to Install</text>
493 </object>
494
495 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500496 <highlight color="%highlight_color%" />
497 <fill color="%button_fill_color%" />
498 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
499 <font resource="font" color="%button_text_color%" />
500 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
501 <actions>
502 <action function="set">tw_back=install</action>
503 <action function="page">selectstorage</action>
504 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400505 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400506
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600508 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500509 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100511 <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 -0400512 <text>%tw_zip_location%</text>
513 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
514 <sort name="tw_gui_sort_order" />
515 <icon folder="folder_icon" file="file_icon" />
516 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600517 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400518 <filter extn=".zip" folders="1" files="1" />
519 <path name="tw_zip_location" default="/sdcard" />
520 <data name="tw_filename" />
521 <selection name="tw_file" />
522 </object>
523
524 <object type="template" name="sort_options" />
525
526 <object type="action">
527 <condition var1="tw_filename" op="modified" />
528 <actions>
529 <action function="queuezip"></action>
530 <action function="page">flash_confirm</action>
531 </actions>
532 </object>
533
534 <object type="action">
535 <touch key="back" />
536 <action function="page">main</action>
537 </object>
538
539 <object type="action">
540 <touch key="home" />
541 <action function="page">main</action>
542 </object>
543
544 <object type="template" name="footer" />
545 </page>
546
547 <page name="flash_confirm">
548 <object type="template" name="header" />
549
550 <object type="text" color="%text_color%">
551 <font resource="font" />
552 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
553 <text>This operation may install incompatible</text>
554 </object>
555
556 <object type="text" color="%text_color%">
557 <font resource="font" />
558 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
559 <text>software and render your device unusable.</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
565 <text>Folder:</text>
566 </object>
567
568 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400569 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
571 <text>%tw_zip_location%</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
577 <text>File to flash:</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="%row6_text_y%" placement="5" />
583 <text>%tw_file%</text>
584 </object>
585
586 <object type="text" color="%text_color%">
587 <font resource="font" />
588 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
589 <text>Press back to cancel adding this zip.</text>
590 </object>
591
592 <object type="checkbox">
593 <placement x="%col1_x%" y="%row8_text_y%" />
594 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400595 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400596 <data variable="tw_signed_zip_verify" />
597 <image checked="checkbox_true" unchecked="checkbox_false" />
598 </object>
599
600 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400601 <condition var1="tw_has_injecttwrp" var2="1" />
602 <placement x="%col1_x%" y="%row10_text_y%" />
603 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400604 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400605 <data variable="tw_inject_after_zip" />
606 <image checked="checkbox_true" unchecked="checkbox_false" />
607 </object>
608
609 <object type="text" color="%text_color%">
610 <font resource="font" />
611 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
612 <text>File %tw_zip_queue_count% of max of 10</text>
613 </object>
614
615 <object type="slider">
616 <placement x="%slider_x%" y="%slider_y%" placement="5" />
617 <resource base="slider" used="slider-used" touch="slider-touch" />
618 <action function="flash">flash_zip</action>
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="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400624 <text>Swipe to Confirm Flash</text>
625 </object>
626
627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400629 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
630 <placement x="%col1_x%" y="%row_queue_y%" />
631 <font resource="font" color="%button_text_color%" />
632 <text>Add More Zips</text>
633 <image resource="main_button" />
634 <action function="page">install</action>
635 </object>
636
637 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600638 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400639 <placement x="%col2_x%" y="%row_queue_y%" />
640 <font resource="font" color="%button_text_color%" />
641 <text>Clear Zip Queue</text>
642 <image resource="main_button" />
643 <actions>
644 <action function="queueclear"></action>
645 <action function="page">install</action>
646 </actions>
647 </object>
648
649 <object type="action">
650 <touch key="back" />
651 <actions>
652 <action function="cancelzip"></action>
653 <action function="page">install</action>
654 </actions>
655 </object>
656
657 <object type="action">
658 <touch key="home" />
659 <action function="page">main</action>
660 </object>
661
662 <object type="template" name="footer" />
663 </page>
664
665 <page name="flash_zip">
666 <object type="template" name="header" />
667
668 <object type="console">
669 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
670 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
671 <font resource="fixed" />
672 </object>
673
674 <object type="text" color="%text_color%">
675 <font resource="font" />
676 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
677 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
678 </object>
679
680 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400681 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400682 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
683 <text>%tw_filename%</text>
684 </object>
685
686 <object type="template" name="progress_bar" />
687
688 <object type="action">
689 <condition var1="tw_operation_state" var2="1" />
690 <action function="page">flash_done</action>
691 </object>
692 </page>
693
694 <page name="flash_done">
695 <object type="template" name="header" />
696
697 <object type="text" color="%text_color%">
698 <font resource="font" />
699 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
700 <text>Zip Install Complete</text>
701 </object>
702
703 <object type="console">
704 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
705 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
706 <font resource="fixed" />
707 </object>
708
709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400711 <placement x="%col1_x%" y="%row4_y%" />
712 <font resource="font" color="%button_text_color%" />
713 <text>Wipe cache/dalvik</text>
714 <image resource="main_button" />
715 <actions>
716 <action function="set">tw_back=flash_done</action>
717 <action function="set">tw_action=wipe</action>
718 <action function="set">tw_action_param=/cache</action>
719 <action function="set">tw_has_action2=1</action>
720 <action function="set">tw_action2=wipe</action>
721 <action function="set">tw_action2_param=dalvik</action>
722 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
723 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
724 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
725 <action function="set">tw_slider_text=Swipe to Wipe</action>
726 <action function="page">confirm_action</action>
727 </actions>
728 </object>
729
730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400732 <placement x="%col2_x%" y="%row4_y%" />
733 <font resource="font" color="%button_text_color%" />
734 <text>Reboot System</text>
735 <image resource="main_button" />
736 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400737 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400738 <action function="set">tw_action=reboot</action>
739 <action function="set">tw_action_param=system</action>
740 <action function="set">tw_has_action2=0</action>
741 <action function="set">tw_text1=No OS Installed! Are you</action>
742 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_text3=</action>
744 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400746 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <action function="set">tw_complete_text1=Rebooting...</action>
748 <action function="set">tw_slider_text=Swipe to Reboot</action>
749 <action function="page">rebootcheck</action>
750 </actions>
751 </object>
752
753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <placement x="%col_center_x%" y="%row3_y%" />
756 <font resource="font" color="%button_text_color%" />
757 <text>Home</text>
758 <image resource="main_button" />
759 <actions>
760 <action function="set">tw_clear_destination=main2</action>
761 <action function="page">clear_vars</action>
762 </actions>
763 </object>
764
765 <object type="text" color="%text_fail_color%">
766 <condition var1="tw_operation_status" op="!=" var2="0" />
767 <font resource="font" />
768 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
769 <text>Failed</text>
770 </object>
771
772 <object type="text" color="%text_success_color%">
773 <condition var1="tw_operation_status" var2="0" />
774 <font resource="font" />
775 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
776 <text>Successful</text>
777 </object>
778
779 <object type="action">
780 <touch key="back" />
781 <actions>
782 <action function="set">tw_clear_destination=install</action>
783 <action function="page">clear_vars</action>
784 </actions>
785 </object>
786
787 <object type="action">
788 <touch key="home" />
789 <actions>
790 <action function="set">tw_clear_destination=main2</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </object>
794 </page>
795
796 <page name="clear_vars">
797 <object type="action">
798 <action function="set">tw_operation_state=0</action>
799 <action function="set">tw_text1=</action>
800 <action function="set">tw_text2=</action>
801 <action function="set">tw_text3=</action>
802 <action function="set">tw_text4=</action>
803 <action function="set">tw_action_text1=</action>
804 <action function="set">tw_action_text2=</action>
805 <action function="set">tw_action_param=</action>
806 <action function="set">tw_has_action2=0</action>
807 <action function="set">tw_action2=</action>
808 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400809 <action function="set">tw_has_cancel=0</action>
810 <action function="set">tw_cancel_action=</action>
811 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400812 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400813 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400814 <action function="page">%tw_clear_destination%</action>
815 </object>
816 </page>
817
818 <page name="confirm_action">
819 <object type="template" name="header" />
820
821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
824 <text>%tw_text1%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
830 <text>%tw_text2%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
836 <text>%tw_text3%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
842 <text>%tw_text4%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400847 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400848 <text>Press back button to cancel.</text>
849 </object>
850
851 <object type="slider">
852 <placement x="%slider_x%" y="%slider_y%" />
853 <resource base="slider" used="slider-used" touch="slider-touch" />
854 <action function="page">action_page</action>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400859 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <text>%tw_slider_text%</text>
861 </object>
862
863 <object type="action">
864 <touch key="back" />
865 <actions>
866 <action function="set">tw_clear_destination=%tw_back%</action>
867 <action function="page">clear_vars</action>
868 </actions>
869 </object>
870
871 <object type="action">
872 <touch key="home" />
873 <action function="page">main</action>
874 </object>
875
876 <object type="template" name="footer" />
877 </page>
878
879 <page name="action_page">
880 <object type="template" name="header" />
881
882 <object type="text" color="%text_color%">
883 <font resource="font" />
884 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
885 <text>%tw_action_text1%</text>
886 </object>
887
888 <object type="text" color="%text_color%">
889 <font resource="font" />
890 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
891 <text>%tw_action_text2%</text>
892 </object>
893
894 <object type="template" name="action_page_console" />
895
Dees_Troycfb63ae2012-09-19 14:30:17 -0400896 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600897 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400898 <condition var1="tw_has_cancel" var2="1" />
899 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400900 <font resource="font" color="%button_text_color%" />
901 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400902 <image resource="medium_button" />
903 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400904 </object>
905
Dees_Troycfb63ae2012-09-19 14:30:17 -0400906 <object type="template" name="progress_bar" />
907
908 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400909 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400910 <actions>
911 <action function="page">action_complete</action>
912 </actions>
913 </object>
914
915 <object type="action">
916 <condition var1="tw_has_action2" var2="0" />
917 <actions>
918 <action function="%tw_action%">%tw_action_param%</action>
919 </actions>
920 </object>
921
922 <object type="action">
923 <condition var1="tw_has_action2" var2="1" />
924 <actions>
925 <action function="%tw_action%">%tw_action_param%</action>
926 <action function="%tw_action2%">%tw_action2_param%</action>
927 </actions>
928 </object>
929 </page>
930
Dees_Troy6ef66352013-02-21 08:26:57 -0600931 <page name="singleaction_page">
932 <object type="template" name="header" />
933
934 <object type="text" color="%text_color%">
935 <font resource="font" />
936 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
937 <text>%tw_action_text1%</text>
938 </object>
939
940 <object type="text" color="%text_color%">
941 <font resource="font" />
942 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
943 <text>%tw_action_text2%</text>
944 </object>
945
946 <object type="template" name="action_page_console" />
947
948 <object type="template" name="progress_bar" />
949
950 <object type="action">
951 <condition var1="tw_operation_state" var2="1" />
952 <actions>
953 <action function="set">tw_page_done=1</action>
954 </actions>
955 </object>
956
957 <object type="action">
958 <condition var1="tw_has_action2" var2="0" />
959 <actions>
960 <action function="%tw_action%">%tw_action_param%</action>
961 </actions>
962 </object>
963
964 <object type="action">
965 <condition var1="tw_has_action2" var2="1" />
966 <actions>
967 <action function="%tw_action%">%tw_action_param%</action>
968 <action function="%tw_action2%">%tw_action2_param%</action>
969 </actions>
970 </object>
971 </page>
972
Dees_Troy51a0e822012-09-05 15:24:24 -0400973 <page name="action_complete">
974 <object type="template" name="header" />
975
976 <object type="text" color="%text_color%">
977 <font resource="font" />
978 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
979 <text>%tw_complete_text1%</text>
980 </object>
981
982 <object type="text" color="%text_fail_color%">
983 <condition var1="tw_operation_status" op="!=" var2="0" />
984 <font resource="font" />
985 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
986 <text>Failed</text>
987 </object>
988
989 <object type="text" color="%text_success_color%">
990 <condition var1="tw_operation_status" var2="0" />
991 <font resource="font" />
992 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
993 <text>Successful</text>
994 </object>
995
996 <object type="template" name="action_page_console" />
997
998 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600999 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001000 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001001 <placement x="%col_center_x%" y="%row4_y%" />
1002 <font resource="font" color="%button_text_color%" />
1003 <text>Back</text>
1004 <image resource="main_button" />
1005 <actions>
1006 <action function="set">tw_clear_destination=%tw_back%</action>
1007 <action function="page">clear_vars</action>
1008 </actions>
1009 </object>
1010
Dees_Troya3f81542012-10-08 10:58:53 -04001011 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001012 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001013 <condition var1="tw_show_reboot" var2="1" />
1014 <placement x="%col_center_x%" y="%row4_y%" />
1015 <font resource="font" color="%button_text_color%" />
1016 <text>Reboot System</text>
1017 <image resource="main_button" />
1018 <actions>
1019 <action function="set">tw_back=main2</action>
1020 <action function="set">tw_action=reboot</action>
1021 <action function="set">tw_action_param=system</action>
1022 <action function="set">tw_has_action2=0</action>
1023 <action function="set">tw_text1=No OS Installed! Are you</action>
1024 <action function="set">tw_text2=sure you wish to reboot?</action>
1025 <action function="set">tw_text3=</action>
1026 <action function="set">tw_text4=</action>
1027 <action function="set">tw_action_text1=Rebooting...</action>
1028 <action function="set">tw_action_text2=</action>
1029 <action function="set">tw_complete_text1=Rebooting...</action>
1030 <action function="set">tw_slider_text=Swipe to Reboot</action>
1031 <action function="page">rebootcheck</action>
1032 </actions>
1033 </object>
1034
Dees_Troy51a0e822012-09-05 15:24:24 -04001035 <object type="action">
1036 <touch key="home" />
1037 <actions>
1038 <action function="set">tw_clear_destination=main2</action>
1039 <action function="page">clear_vars</action>
1040 </actions>
1041 </object>
1042
1043 <object type="action">
1044 <touch key="back" />
1045 <actions>
1046 <action function="set">tw_clear_destination=%tw_back%</action>
1047 <action function="page">clear_vars</action>
1048 </actions>
1049 </object>
1050 </page>
1051
1052 <page name="filecheck">
1053 <object type="action">
1054 <action function="fileexists">%tw_filecheck%</action>
1055 </object>
1056
1057 <object type="action">
1058 <conditions>
1059 <condition var1="tw_operation_state" var2="1" />
1060 <condition var1="tw_operation_status" var2="0" />
1061 </conditions>
1062 <actions>
1063 <action function="set">tw_fileexists=1</action>
1064 <action function="page">%tw_existpage%</action>
1065 </actions>
1066 </object>
1067
1068 <object type="action">
1069 <conditions>
1070 <condition var1="tw_operation_state" var2="1" />
1071 <condition var1="tw_operation_status" var2="1" />
1072 </conditions>
1073 <actions>
1074 <action function="set">tw_fileexists=0</action>
1075 <action function="page">%tw_notexistpage%</action>
1076 </actions>
1077 </object>
1078 </page>
1079
1080 <page name="rebootcheck">
1081 <object type="action">
1082 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1083 <action function="reboot">%tw_action_param%</action>
1084 </object>
1085
1086 <object type="action">
1087 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1088 <action function="page">confirm_action</action>
1089 </object>
1090 </page>
1091
1092 <page name="wipe">
1093 <object type="template" name="header" />
1094
1095 <object type="text" color="%text_color%">
1096 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001097 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001098 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001099 </object>
1100
1101 <object type="text" color="%text_color%">
1102 <font resource="font" />
1103 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1104 <text>Wipes Data, Cache, and Dalvik</text>
1105 </object>
1106
1107 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001108 <conditions>
1109 <condition var1="tw_has_android_secure" var2="1" />
1110 <condition var1="fileexists" var2="/and-sec" />
1111 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001112 <font resource="font" />
1113 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1114 <text>.android_secure</text>
1115 </object>
1116
1117 <object type="text" color="%text_color%">
1118 <condition var1="tw_has_data_media" var2="1" />
1119 <font resource="font" />
1120 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1121 <text>(not including internal storage)</text>
1122 </object>
1123
1124 <object type="text" color="%text_color%">
1125 <condition var1="tw_has_sdext_partition" var2="1" />
1126 <font resource="font" />
1127 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1128 <text>SD-EXT</text>
1129 </object>
1130
1131 <object type="text" color="%text_color%">
1132 <font resource="font" />
1133 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1134 <text>Most of the time this is</text>
1135 </object>
1136
1137 <object type="text" color="%text_color%">
1138 <font resource="font" />
1139 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1140 <text>the only wipe that you need.</text>
1141 </object>
1142
1143 <object type="text" color="%text_color%">
1144 <font resource="font" />
1145 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1146 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001147 </object>
1148
1149 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001150 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001151 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001152 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001153 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001155 <actions>
1156 <action function="set">partitionlisterror=0</action>
1157 <action function="page">advancedwipe</action>
1158 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001159 </object>
1160
1161 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 <conditions>
1163 <condition var1="tw_has_internal" var2="1" />
1164 <condition var1="tw_has_data_media" var2="1" />
1165 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001166 <highlight color="%highlight_color%" />
1167 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001168 <font resource="font" color="%button_text_color%" />
1169 <text>Format Data</text>
1170 <image resource="main_button" />
1171 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001173 </actions>
1174 </object>
1175
Dees_Troya13d74f2013-03-24 08:54:55 -05001176 <object type="slider">
1177 <placement x="%slider_x%" y="%slider_y%" />
1178 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001179 <actions>
1180 <action function="set">tw_back=wipe</action>
1181 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001182 <action function="set">tw_action_param=data</action>
1183 <action function="set">tw_action_text1=Factory Reset...</action>
1184 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1185 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001186 </actions>
1187 </object>
1188
Dees_Troya13d74f2013-03-24 08:54:55 -05001189 <object type="text" color="%text_color%">
1190 <font resource="font" />
1191 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1192 <text>Swipe to Factory Reset</text>
1193 </object>
1194
1195 <object type="action">
1196 <touch key="back" />
1197 <action function="page">main</action>
1198 </object>
1199
1200 <object type="action">
1201 <touch key="home" />
1202 <action function="page">main</action>
1203 </object>
1204
1205 <object type="template" name="footer" />
1206 </page>
1207
1208 <page name="advancedwipe">
1209 <object type="template" name="header" />
1210
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001211 <object type="action">
1212 <action function="set">tw_wipe_list=</action>
1213 </object>
1214
Dees_Troya13d74f2013-03-24 08:54:55 -05001215 <object type="text" color="%text_color%">
1216 <font resource="font" />
1217 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1218 <text>Wipe Menu</text>
1219 </object>
1220
1221 <object type="partitionlist">
1222 <highlight color="%fileselector_highlight_color%" />
1223 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1224 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1225 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1226 <text>Select Partitions to Wipe:</text>
1227 <icon selected="checkbox_true" unselected="checkbox_false" />
1228 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1229 <background color="%listbox_background%" />
1230 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1231 <data name="tw_wipe_list" />
1232 <listtype name="wipe" />
1233 </object>
1234
1235 <object type="slider">
1236 <placement x="%slider_x%" y="%slider_y%" />
1237 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001238 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001239 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001240 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <action function="set">tw_action_param=LIST</action>
1242 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1243 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1244 <action function="set">tw_complete_text1=Wipe Complete</action>
1245 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001246 </actions>
1247 </object>
1248
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001249 <object type="button">
1250 <highlight color="%highlight_color%" />
1251 <fill color="%button_fill_color%" />
1252 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1253 <font resource="font" color="%button_text_color%" />
1254 <text>Repair or Change File System</text>
1255 <actions>
1256 <action function="checkpartitionlist"></action>
1257 <action function="page">checkpartitionlist</action>
1258 </actions>
1259 </object>
1260
1261 <object type="text" color="%text_fail_color%">
1262 <condition var1="partitionlisterror" var2="1" />
1263 <font resource="font" />
1264 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1265 <text>Invalid partition selection</text>
1266 </object>
1267
Dees_Troya13d74f2013-03-24 08:54:55 -05001268 <object type="text" color="%text_color%">
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1271 <text>Swipe to Wipe</text>
1272 </object>
1273
Dees_Troy51a0e822012-09-05 15:24:24 -04001274 <object type="action">
1275 <touch key="home" />
1276 <action function="page">main</action>
1277 </object>
1278
1279 <object type="action">
1280 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001281 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001282 </object>
1283
1284 <object type="template" name="footer" />
1285 </page>
1286
Dees_Troya13d74f2013-03-24 08:54:55 -05001287 <page name="formatdata">
1288 <object type="template" name="header" />
1289
1290 <object type="text" color="%text_color%">
1291 <font resource="font" />
1292 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1293 <text>Format Data will wipe all of your apps,</text>
1294 </object>
1295
1296 <object type="text" color="%text_color%">
1297 <font resource="font" />
1298 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1299 <text>backups, pictures, videos, media, and</text>
1300 </object>
1301
1302 <object type="text" color="%text_color%">
1303 <font resource="font" />
1304 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1305 <text>removes encryption on internal storage.</text>
1306 </object>
1307
1308 <object type="text" color="%text_color%">
1309 <font resource="font" />
1310 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1311 <text>This cannot be undone. Press back to cancel.</text>
1312 </object>
1313
1314 <object type="text" color="%text_color%">
1315 <font resource="font" />
1316 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1317 <text>Type yes to continue.</text>
1318 </object>
1319
1320 <object type="input">
1321 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1322 <background color="%input_background_color%" />
1323 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1324 <font resource="font" color="%text_color%" />
1325 <text>%tw_confirm_formatdata%</text>
1326 <data name="tw_confirm_formatdata" />
1327 <restrict minlen="3" maxlen="3" allow="yes" />
1328 <action function="page">formatdata_confirm</action>
1329 </object>
1330
1331 <object type="template" name="keyboardtemplate" />
1332
1333 <object type="action">
1334 <touch key="home" />
1335 <action function="page">main</action>
1336 </object>
1337
1338 <object type="action">
1339 <touch key="back" />
1340 <action function="page">wipe</action>
1341 </object>
1342
1343 <object type="template" name="footer" />
1344 </page>
1345
1346 <page name="formatdata_confirm">
1347 <object type="action">
1348 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1349 <actions>
1350 <action function="set">tw_back=formatdata</action>
1351 <action function="set">tw_action=wipe</action>
1352 <action function="set">tw_action_param=DATAMEDIA</action>
1353 <action function="set">tw_action_text1=Formatting Data...</action>
1354 <action function="set">tw_complete_text1=Data Format Complete</action>
1355 <action function="page">action_page</action>
1356 </actions>
1357 </object>
1358
1359 <object type="action">
1360 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1361 <action function="page">formatdata</function>
1362 </object>
1363 </page>
1364
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001365 <page name="checkpartitionlist">
1366 <object type="action">
1367 <condition var1="tw_check_partition_list" op="=" var2="1" />
1368 <actions>
1369 <action function="set">partitionlisterror=0</action>
1370 <action function="getpartitiondetails"></action>
1371 <action function="page">partitionoptions</action>
1372 </actions>
1373 </object>
1374
1375 <object type="action">
1376 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1377 <actions>
1378 <action function="set">partitionlisterror=1</action>
1379 <action function="set">tw_wipe_list=</action>
1380 <action function="page">advancedwipe</action>
1381 </actions>
1382 </object>
1383 </page>
1384
1385 <page name="partitionoptions">
1386 <object type="template" name="header" />
1387
1388 <object type="text" color="%text_color%">
1389 <font resource="font" />
1390 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1391 <text>Partition Options for: %tw_partition_name%</text>
1392 </object>
1393
1394 <object type="text" color="%text_color%">
1395 <font resource="font" />
1396 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1397 <text>Mount Point: %tw_partition_mount_point%</text>
1398 </object>
1399
1400 <object type="text" color="%text_color%">
1401 <font resource="font" />
1402 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1403 <text>Current file system: %tw_partition_file_system%</text>
1404 </object>
1405
1406 <object type="text" color="%text_color%">
1407 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1408 <font resource="font" />
1409 <placement x="%col1_x%" y="%row3_text_y%" />
1410 <text>Present: Yes</text>
1411 </object>
1412
1413 <object type="text" color="%text_color%">
1414 <condition var1="tw_partition_is_present" op="=" var2="0" />
1415 <font resource="font" />
1416 <placement x="%col1_x%" y="%row3_text_y%" />
1417 <text>Present: No</text>
1418 </object>
1419
1420 <object type="text" color="%text_color%">
1421 <condition var1="tw_partition_removable" op="!=" var2="0" />
1422 <font resource="font" />
1423 <placement x="%col2_x%" y="%row3_text_y%" />
1424 <text>Removable: Yes</text>
1425 </object>
1426
1427 <object type="text" color="%text_color%">
1428 <condition var1="tw_partition_removable" op="=" var2="0" />
1429 <font resource="font" />
1430 <placement x="%col2_x%" y="%row3_text_y%" />
1431 <text>Removable: No</text>
1432 </object>
1433
1434 <object type="text" color="%text_color%">
1435 <font resource="font" />
1436 <placement x="%col1_x%" y="%row4_text_y%" />
1437 <text>Size: %tw_partition_size%MB</text>
1438 </object>
1439
1440 <object type="text" color="%text_color%">
1441 <font resource="font" />
1442 <placement x="%col2_x%" y="%row4_text_y%" />
1443 <text>Used: %tw_partition_used%MB</text>
1444 </object>
1445
1446 <object type="text" color="%text_color%">
1447 <font resource="font" />
1448 <placement x="%col1_x%" y="%row5_text_y%" />
1449 <text>Free: %tw_partition_free%MB</text>
1450 </object>
1451
1452 <object type="text" color="%text_color%">
1453 <font resource="font" />
1454 <placement x="%col2_x%" y="%row5_text_y%" />
1455 <text>Backup Size: %tw_partition_backup_size%MB</text>
1456 </object>
1457
1458 <object type="button">
1459 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1460 <highlight color="%highlight_color%" />
1461 <placement x="%col1_x%" y="%row4_y%" />
1462 <font resource="font" color="%button_text_color%" />
1463 <text>Repair</text>
1464 <image resource="main_button" />
1465 <actions>
1466 <action function="set">tw_back=partitionoptions</action>
1467 <action function="set">tw_action=repair</action>
1468 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1469 <action function="set">tw_has_action2=0</action>
1470 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1471 <action function="set">tw_text2=</action>
1472 <action function="set">tw_action_text1=Repairing...</action>
1473 <action function="set">tw_complete_text1=Repair Complete</action>
1474 <action function="set">tw_slider_text=Swipe to Repair</action>
1475 <action function="page">confirm_action</action>
1476 </actions>
1477 </object>
1478
1479 <object type="button">
1480 <highlight color="%highlight_color%" />
1481 <placement x="%col2_x%" y="%row4_y%" />
1482 <font resource="font" color="%button_text_color%" />
1483 <text>Change File System</text>
1484 <image resource="main_button" />
1485 <action function="page">selectfilesystem</action>
1486 </object>
1487
1488 <object type="action">
1489 <touch key="home" />
1490 <action function="page">main</action>
1491 </object>
1492
1493 <object type="action">
1494 <touch key="back" />
1495 <action function="page">advancedwipe</action>
1496 </object>
1497
1498 <object type="template" name="footer" />
1499 </page>
1500
1501 <page name="selectfilesystem">
1502 <object type="template" name="header" />
1503
1504 <object type="text" color="%text_color%">
1505 <font resource="font" />
1506 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1507 <text>Change file system for: %tw_partition_name%</text>
1508 </object>
1509
1510 <object type="text" color="%text_color%">
1511 <font resource="font" />
1512 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1513 <text>Mount Point: %tw_partition_mount_point%</text>
1514 </object>
1515
1516 <object type="text" color="%text_color%">
1517 <font resource="font" />
1518 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1519 <text>Current file system: %tw_partition_file_system%</text>
1520 </object>
1521
1522 <object type="text" color="%text_color%">
1523 <font resource="font" />
1524 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1525 <text>Some ROMs or kernels may not support some</text>
1526 </object>
1527
1528 <object type="text" color="%text_color%">
1529 <font resource="font" />
1530 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1531 <text>file systems. Proceed with caution!</text>
1532 </object>
1533
1534 <object type="button">
1535 <condition var1="tw_partition_ext" op="=" var2="1" />
1536 <highlight color="%highlight_color%" />
1537 <placement x="%col1_x%" y="%row2_y%" />
1538 <font resource="font" color="%button_text_color%" />
1539 <text>EXT2</text>
1540 <image resource="main_button" />
1541 <actions>
1542 <action function="set">tw_back=selectfilesystem</action>
1543 <action function="set">tw_action=changefilesystem</action>
1544 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1545 <action function="set">tw_action_new_file_system=ext2</action>
1546 <action function="set">tw_has_action2=0</action>
1547 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1548 <action function="set">tw_text2=</action>
1549 <action function="set">tw_action_text1=Formatting...</action>
1550 <action function="set">tw_complete_text1=Format Complete</action>
1551 <action function="set">tw_slider_text=Swipe to Change</action>
1552 <action function="page">confirm_action</action>
1553 </actions>
1554 </object>
1555
1556 <object type="button">
1557 <condition var1="tw_partition_ext" op="=" var2="1" />
1558 <highlight color="%highlight_color%" />
1559 <placement x="%col2_x%" y="%row2_y%" />
1560 <font resource="font" color="%button_text_color%" />
1561 <text>EXT3</text>
1562 <image resource="main_button" />
1563 <actions>
1564 <action function="set">tw_back=selectfilesystem</action>
1565 <action function="set">tw_action=changefilesystem</action>
1566 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1567 <action function="set">tw_action_new_file_system=ext3</action>
1568 <action function="set">tw_has_action2=0</action>
1569 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1570 <action function="set">tw_text2=</action>
1571 <action function="set">tw_action_text1=Formatting...</action>
1572 <action function="set">tw_complete_text1=Format Complete</action>
1573 <action function="set">tw_slider_text=Swipe to Change</action>
1574 <action function="page">confirm_action</action>
1575 </actions>
1576 </object>
1577
1578 <object type="button">
1579 <condition var1="tw_partition_ext" op="=" var2="1" />
1580 <highlight color="%highlight_color%" />
1581 <placement x="%col1_x%" y="%row3_y%" />
1582 <font resource="font" color="%button_text_color%" />
1583 <text>EXT4</text>
1584 <image resource="main_button" />
1585 <actions>
1586 <action function="set">tw_back=selectfilesystem</action>
1587 <action function="set">tw_action=changefilesystem</action>
1588 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1589 <action function="set">tw_action_new_file_system=ext4</action>
1590 <action function="set">tw_has_action2=0</action>
1591 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1592 <action function="set">tw_text2=</action>
1593 <action function="set">tw_action_text1=Formatting...</action>
1594 <action function="set">tw_complete_text1=Format Complete</action>
1595 <action function="set">tw_slider_text=Swipe to Change</action>
1596 <action function="page">confirm_action</action>
1597 </actions>
1598 </object>
1599
1600 <object type="button">
1601 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1602 <highlight color="%highlight_color%" />
1603 <placement x="%col2_x%" y="%row3_y%" />
1604 <font resource="font" color="%button_text_color%" />
1605 <text>F2FS</text>
1606 <image resource="main_button" />
1607 <actions>
1608 <action function="set">tw_back=selectfilesystem</action>
1609 <action function="set">tw_action=changefilesystem</action>
1610 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1611 <action function="set">tw_action_new_file_system=f2fs</action>
1612 <action function="set">tw_has_action2=0</action>
1613 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1614 <action function="set">tw_text2=</action>
1615 <action function="set">tw_action_text1=Formatting...</action>
1616 <action function="set">tw_complete_text1=Format Complete</action>
1617 <action function="set">tw_slider_text=Swipe to Change</action>
1618 <action function="page">confirm_action</action>
1619 </actions>
1620 </object>
1621
1622 <object type="button">
1623 <condition var1="tw_partition_vfat" op="=" var2="1" />
1624 <highlight color="%highlight_color%" />
1625 <placement x="%col1_x%" y="%row4_y%" />
1626 <font resource="font" color="%button_text_color%" />
1627 <text>FAT</text>
1628 <image resource="main_button" />
1629 <actions>
1630 <action function="set">tw_back=selectfilesystem</action>
1631 <action function="set">tw_action=changefilesystem</action>
1632 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1633 <action function="set">tw_action_new_file_system=vfat</action>
1634 <action function="set">tw_has_action2=0</action>
1635 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1636 <action function="set">tw_text2=</action>
1637 <action function="set">tw_action_text1=Formatting...</action>
1638 <action function="set">tw_complete_text1=Format Complete</action>
1639 <action function="set">tw_slider_text=Swipe to Change</action>
1640 <action function="page">confirm_action</action>
1641 </actions>
1642 </object>
1643
1644 <object type="button">
1645 <condition var1="tw_partition_exfat" op="=" var2="1" />
1646 <highlight color="%highlight_color%" />
1647 <placement x="%col2_x%" y="%row4_y%" />
1648 <font resource="font" color="%button_text_color%" />
1649 <text>exFAT</text>
1650 <image resource="main_button" />
1651 <actions>
1652 <action function="set">tw_back=selectfilesystem</action>
1653 <action function="set">tw_action=changefilesystem</action>
1654 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1655 <action function="set">tw_action_new_file_system=exfat</action>
1656 <action function="set">tw_has_action2=0</action>
1657 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1658 <action function="set">tw_text2=</action>
1659 <action function="set">tw_action_text1=Formatting...</action>
1660 <action function="set">tw_complete_text1=Format Complete</action>
1661 <action function="set">tw_slider_text=Swipe to Change</action>
1662 <action function="page">confirm_action</action>
1663 </actions>
1664 </object>
1665
1666 <object type="action">
1667 <touch key="home" />
1668 <action function="page">main</action>
1669 </object>
1670
1671 <object type="action">
1672 <touch key="back" />
1673 <action function="page">partitionoptions</action>
1674 </object>
1675
1676 <object type="template" name="footer" />
1677 </page>
1678
Dees_Troy51a0e822012-09-05 15:24:24 -04001679 <page name="backup">
1680 <object type="template" name="header" />
1681
Dees_Troy83bd4832013-05-04 12:39:56 +00001682 <object type="button">
1683 <highlight color="%highlight_color%" />
1684 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001685 <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 +00001686 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001687 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001688 <actions>
1689 <action function="set">tw_fileexists=0</action>
1690 <action function="page">backupname1</action>
1691 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001692 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001693
Dees_Troya13d74f2013-03-24 08:54:55 -05001694 <object type="partitionlist">
1695 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001696 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001697 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1698 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1699 <text>Select Partitions to Back Up:</text>
1700 <icon selected="checkbox_true" unselected="checkbox_false" />
1701 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1702 <background color="%listbox_background%" />
1703 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1704 <data name="tw_backup_list" />
1705 <listtype name="backup" />
1706 </object>
1707
1708 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001709 <conditions>
1710 <condition var1="tw_include_encrypted_backup" var2="1" />
1711 <condition var1="tw_encrypt_backup" var2="0" />
1712 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001713 <highlight color="%highlight_color%" />
1714 <fill color="%button_fill_color%" />
1715 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1716 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001717 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001718 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001719 <action function="page">backupencryption</action>
1720 </actions>
1721 </object>
1722
1723 <object type="button">
1724 <conditions>
1725 <condition var1="tw_include_encrypted_backup" var2="1" />
1726 <condition var1="tw_encrypt_backup" var2="1" />
1727 </conditions>
1728 <highlight color="%highlight_color%" />
1729 <fill color="%button_fill_color%" />
1730 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1731 <font resource="font" color="%button_text_color%" />
1732 <text>Using Encryption</text>
1733 <actions>
1734 <action function="set">tw_password_not_match=0</action>
1735 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001736 </actions>
1737 </object>
1738
1739 <object type="button">
1740 <highlight color="%highlight_color%" />
1741 <fill color="%button_fill_color%" />
1742 <placement x="%col2_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>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001745 <actions>
1746 <action function="refreshsizes"></action>
1747 <action function="page">backup</action>
1748 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001749 </object>
1750
1751 <object type="button">
1752 <highlight color="%highlight_color%" />
1753 <fill color="%button_fill_color%" />
1754 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1755 <font resource="font" color="%button_text_color%" />
1756 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1757 <actions>
1758 <action function="set">tw_back=backup</action>
1759 <action function="page">selectstorage</action>
1760 </actions>
1761 </object>
1762
1763 <object type="checkbox">
1764 <placement x="%col1_x%" y="%row15_text_y%" />
1765 <font resource="font" color="%text_color%" />
1766 <text>Enable compression.</text>
1767 <data variable="tw_use_compression" />
1768 <image checked="checkbox_true" unchecked="checkbox_false" />
1769 </object>
1770
1771 <object type="checkbox">
1772 <placement x="%col1_x%" y="%row16_text_y%" />
1773 <font resource="font" color="%text_color%" />
1774 <text>Skip MD5 generation during backup.</text>
1775 <data variable="tw_skip_md5_generate" />
1776 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001777 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001778
Dees_Troyb46a6842012-09-25 11:06:46 -04001779 <object type="slider">
1780 <placement x="%slider_x%" y="slider_y" />
1781 <resource base="slider" used="slider-used" touch="slider-touch" />
1782 <action function="page">backup_run</action>
1783 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001784
1785 <object type="text" color="%text_color%">
1786 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001787 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001788 <text>Swipe to Back Up</text>
1789 </object>
1790
Dees_Troy51a0e822012-09-05 15:24:24 -04001791 <object type="action">
1792 <touch key="home" />
1793 <action function="page">main</action>
1794 </object>
1795
1796 <object type="action">
1797 <touch key="back" />
1798 <action function="page">main</action>
1799 </object>
1800
1801 <object type="template" name="footer" />
1802 </page>
1803
1804 <page name="backupname1">
1805 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001806 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1807 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001808 </object>
1809
1810 <object type="action">
1811 <action function="page">backupname2</function>
1812 </object>
1813 </page>
1814
1815 <page name="backupname2">
1816 <object type="template" name="header" />
1817
1818 <object type="text" color="%text_color%">
1819 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1820 <font resource="font" />
1821 <text>Please Enter a Backup Name</text>
1822 </object>
1823
1824 <object type="input">
1825 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1826 <background color="%input_background_color%" />
1827 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1828 <font resource="font" color="%text_color%" />
1829 <text>%tw_backup_name%</text>
1830 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001831 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001832 <actions>
1833 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1834 <action function="set">tw_existpage=backupname2</action>
1835 <action function="set">tw_notexistpage=backup</action>
1836 <action function="page">filecheck</action>
1837 </actions>
1838 </object>
1839
1840 <object type="text" color="%text_fail_color%">
1841 <condition var1="tw_fileexists" var2="1" />
1842 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1843 <font resource="font" />
1844 <text>A backup with that name already exists!</text>
1845 </object>
1846
Dees_Troyb46a6842012-09-25 11:06:46 -04001847 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001848 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001849 <placement x="%col1_x%" y="%row2_y%" />
1850 <font resource="font" color="%button_text_color%" />
1851 <text>Append Date</text>
1852 <image resource="main_button" />
1853 <action function="appenddatetobackupname"></action>
1854 </object>
1855
1856 <object type="button">
1857 <highlight color="%highlight_color%" />
1858 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001859 <font resource="font" color="%button_text_color%" />
1860 <text>Cancel</text>
1861 <image resource="main_button" />
1862 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001863 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001864 <action function="page">backup</action>
1865 </actions>
1866 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001867
1868 <object type="template" name="keyboardtemplate" />
1869
Dees_Troyb46a6842012-09-25 11:06:46 -04001870 <object type="action">
1871 <touch key="home" />
1872 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001873 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001874 <action function="page">main</action>
1875 </actions>
1876 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001877
Dees_Troyb46a6842012-09-25 11:06:46 -04001878 <object type="action">
1879 <touch key="back" />
1880 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001881 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001882 <action function="page">backup</action>
1883 </actions>
1884 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001885
1886 <object type="template" name="footer" />
1887 </page>
1888
Dees_Troy83bd4832013-05-04 12:39:56 +00001889 <page name="backupencryption">
1890 <object type="template" name="header" />
1891
1892 <object type="text" color="%text_color%">
1893 <font resource="font" />
1894 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1895 <text>Encrypt your backup?</text>
1896 </object>
1897
1898 <object type="text" color="%text_color%">
1899 <font resource="font" />
1900 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1901 <text>Please Enter A Password:</text>
1902 </object>
1903
1904 <object type="input">
1905 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1906 <background color="%input_background_color%" />
1907 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1908 <font resource="font" color="%text_color%" />
1909 <text>%tw_backup_encrypt_display%</text>
1910 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1911 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1912 <action function="page">backupencryption2</action>
1913 </object>
1914
1915 <object type="text" color="%text_fail_color%">
1916 <condition var1="tw_password_not_match" var2="1" />
1917 <font resource="font" />
1918 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1919 <text>Passwords Do Not Match</text>
1920 </object>
1921
1922 <object type="button">
1923 <highlight color="%highlight_color%" />
1924 <placement x="%col_center_x%" y="%row2_y%" />
1925 <font resource="font" color="%button_text_color%" />
1926 <text>Cancel</text>
1927 <image resource="main_button" />
1928 <actions>
1929 <action function="set">tw_encrypt_backup=0</action>
1930 <action function="set">tw_backup_password=</action>
1931 <action function="set">tw_backup_password2=</action>
1932 <action function="set">tw_backup_encrypt_display=</action>
1933 <action function="set">tw_backup_encrypt_display2=</action>
1934 <action function="page">backup</action>
1935 </actions>
1936 </object>
1937
1938 <object type="template" name="keyboardtemplate" />
1939
1940 <object type="action">
1941 <touch key="home" />
1942 <action function="page">main</action>
1943 </object>
1944
1945 <object type="action">
1946 <touch key="back" />
1947 <action function="page">backup</action>
1948 </object>
1949
1950 <object type="template" name="footer" />
1951 </page>
1952
1953 <page name="backupencryption2">
1954 <object type="template" name="header" />
1955
1956 <object type="text" color="%text_color%">
1957 <font resource="font" />
1958 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1959 <text>Encrypt your backup?</text>
1960 </object>
1961
1962 <object type="text" color="%text_color%">
1963 <font resource="font" />
1964 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1965 <text>Please Enter Password Again:</text>
1966 </object>
1967
1968 <object type="input">
1969 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1970 <background color="%input_background_color%" />
1971 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1972 <font resource="font" color="%text_color%" />
1973 <text>%tw_backup_encrypt_display2%</text>
1974 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1975 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1976 <actions>
1977 <action function="page">checkbackuppassword</action>
1978 </actions>
1979 </object>
1980
1981 <object type="button">
1982 <highlight color="%highlight_color%" />
1983 <placement x="%col_center_x%" y="%row2_y%" />
1984 <font resource="font" color="%button_text_color%" />
1985 <text>Cancel</text>
1986 <image resource="main_button" />
1987 <actions>
1988 <action function="set">tw_encrypt_backup=0</action>
1989 <action function="set">tw_backup_password=</action>
1990 <action function="set">tw_backup_password2=</action>
1991 <action function="set">tw_backup_encrypt_display=</action>
1992 <action function="set">tw_backup_encrypt_display2=</action>
1993 <action function="page">backup</action>
1994 </actions>
1995 </object>
1996
1997 <object type="template" name="keyboardtemplate" />
1998
1999 <object type="action">
2000 <touch key="home" />
2001 <action function="page">main</action>
2002 </object>
2003
2004 <object type="action">
2005 <touch key="back" />
2006 <action function="page">backup</action>
2007 </object>
2008
2009 <object type="template" name="footer" />
2010 </page>
2011
2012 <page name="checkbackuppassword">
2013 <object type="action">
2014 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2015 <actions>
2016 <action function="set">tw_encrypt_backup=1</action>
2017 <action function="page">backup</action>
2018 </actions>
2019 </object>
2020
2021 <object type="action">
2022 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2023 <actions>
2024 <action function="set">tw_encrypt_backup=0</action>
2025 <action function="set">tw_password_not_match=1</action>
2026 <action function="set">tw_backup_password=</action>
2027 <action function="set">tw_backup_password2=</action>
2028 <action function="set">tw_backup_encrypt_display=</action>
2029 <action function="set">tw_backup_encrypt_display2=</action>
2030 <action function="page">backupencryption</action>
2031 </actions>
2032 </object>
2033 </page>
2034
Dees_Troy51a0e822012-09-05 15:24:24 -04002035 <page name="backup_run">
2036 <object type="template" name="header" />
2037
2038 <object type="text" color="%text_color%">
2039 <font resource="font" />
2040 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2041 <text>%tw_operation% %tw_partition%</text>
2042 </object>
2043
2044 <object type="template" name="action_page_console" />
2045
2046 <object type="template" name="progress_bar" />
2047
2048 <object type="action">
2049 <action function="nandroid">backup</action>
2050 </object>
2051
2052 <object type="action">
2053 <condition var1="tw_operation_state" var2="1" />
2054 <actions>
2055 <action function="set">tw_back=backup</action>
2056 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002057 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <action function="page">action_complete</action>
2059 </actions>
2060 </object>
2061 </page>
2062
2063 <page name="restore">
2064 <object type="template" name="header" />
2065
2066 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002067 <highlight color="%highlight_color%" />
2068 <fill color="%button_fill_color%" />
2069 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2070 <font resource="font" color="%button_text_color%" />
2071 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2072 <actions>
2073 <action function="set">tw_back=restore</action>
2074 <action function="page">selectstorage</action>
2075 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002076 </object>
2077
2078 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002079 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002080 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002081 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002082 <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 -04002083 <text>Select Package to Restore:</text>
2084 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2085 <sort name="tw_gui_sort_order" />
2086 <icon folder="folder_icon" file="file_icon" />
2087 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002088 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002089 <filter folders="1" files="0" nav="0" />
2090 <path name="tw_backups_folder" />
2091 <data name="tw_restore" default="" />
2092 <selection name="tw_restore_name" />
2093 </object>
2094
2095 <object type="template" name="sort_options" />
2096
2097 <object type="action">
2098 <condition var1="tw_restore" op="modified" />
2099 <actions>
2100 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002101 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002102 </actions>
2103 </object>
2104
2105 <object type="action">
2106 <touch key="home" />
2107 <action function="page">main</action>
2108 </object>
2109
2110 <object type="action">
2111 <touch key="back" />
2112 <action function="page">main</action>
2113 </object>
2114
2115 <object type="template" name="footer" />
2116 </page>
2117
Dees_Troy83bd4832013-05-04 12:39:56 +00002118 <page name="restore_read">
2119 <object type="action">
2120 <condition var1="tw_restore_encrypted" var2="1" />
2121 <actions>
2122 <action function="set">tw_password_fail=0</action>
2123 <action function="page">restore_decrypt</action>
2124 </actions>
2125 </object>
2126
2127 <object type="action">
2128 <condition var1="tw_restore_encrypted" var2="0" />
2129 <actions>
2130 <action function="page">restore_select</action>
2131 </actions>
2132 </object>
2133 </page>
2134
2135 <page name="restore_decrypt">
2136 <object type="template" name="header" />
2137
2138 <object type="text" color="%text_color%">
2139 <font resource="font" />
2140 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2141 <text>Backup Encrypted</text>
2142 </object>
2143
2144 <object type="text" color="%text_color%">
2145 <font resource="font" />
2146 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2147 <text>Please Enter Your Password:</text>
2148 </object>
2149
2150 <object type="input">
2151 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2152 <background color="%input_background_color%" />
2153 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2154 <font resource="font" color="%text_color%" />
2155 <text>%tw_restore_display%</text>
2156 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2157 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2158 <actions>
2159 <action function="page">try_restore_decrypt</action>
2160 </actions>
2161 </object>
2162
2163 <object type="text" color="%text_fail_color%">
2164 <condition var1="tw_password_fail" var2="1" />
2165 <font resource="font" />
2166 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2167 <text>Password Failed, Please Try Again</text>
2168 </object>
2169
2170 <object type="button">
2171 <highlight color="%highlight_color%" />
2172 <placement x="%col1_x%" y="%row2_y%" />
2173 <font resource="font" color="%button_text_color%" />
2174 <text>Cancel</text>
2175 <image resource="main_button" />
2176 <actions>
2177 <action function="set">tw_page_done=1</action>
2178 <action function="page">restore</action>
2179 </actions>
2180 </object>
2181
2182 <object type="button">
2183 <highlight color="%highlight_color%" />
2184 <placement x="%col2_x%" y="%row2_y%" />
2185 <font resource="font" color="%button_text_color%" />
2186 <text>Delete</text>
2187 <image resource="main_button" />
2188 <actions>
2189 <action function="set">tw_back=restore</action>
2190 <action function="set">tw_action=cmd</action>
2191 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2192 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2193 <action function="set">tw_text2=This cannot be undone!</action>
2194 <action function="set">tw_action_text1=Deleting Backup...</action>
2195 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2196 <action function="set">tw_slider_text=Swipe to Delete</action>
2197 <action function="page">confirm_action</action>
2198 </actions>
2199 </object>
2200
2201 <object type="template" name="keyboardtemplate" />
2202
2203 <object type="action">
2204 <touch key="home" />
2205 <action function="page">main</action>
2206 </object>
2207
2208 <object type="action">
2209 <touch key="back" />
2210 <action function="page">restore</action>
2211 </object>
2212
2213 <object type="template" name="footer" />
2214 </page>
2215
2216 <page name="try_restore_decrypt">
2217 <object type="template" name="header" />
2218
2219 <object type="text" color="%text_color%">
2220 <font resource="font" />
2221 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2222 <text>Trying Decryption with Your Password</text>
2223 </object>
2224
2225 <object type="template" name="action_page_console" />
2226
2227 <object type="template" name="progress_bar" />
2228
2229 <object type="action">
2230 <action function="decrypt_backup"></action>
2231 </object>
2232
2233 <object type="action">
2234 <conditions>
2235 <condition var1="tw_operation_state" var2="1" />
2236 <condition var1="tw_operation_status" op="!=" var2="0" />
2237 </conditions>
2238 <actions>
2239 <action function="set">tw_password_fail=1</action>
2240 <action function="page">restore_decrypt</action>
2241 </actions>
2242 </object>
2243
2244 <object type="action">
2245 <conditions>
2246 <condition var1="tw_operation_state" var2="1" />
2247 <condition var1="tw_operation_status" op="=" var2="0" />
2248 </conditions>
2249 <actions>
2250 <action function="set">tw_page_done=1</action>
2251 <action function="page">restore_select</action>
2252 </actions>
2253 </object>
2254 </page>
2255
Dees_Troy51a0e822012-09-05 15:24:24 -04002256 <page name="restore_select">
2257 <object type="template" name="header" />
2258
Dees_Troya13d74f2013-03-24 08:54:55 -05002259 <object type="partitionlist">
2260 <highlight color="%fileselector_highlight_color%" />
2261 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2262 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2263 <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 -04002264 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002265 <icon selected="checkbox_true" unselected="checkbox_false" />
2266 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2267 <background color="%listbox_background%" />
2268 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2269 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2270 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002271 </object>
2272
2273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002274 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002275 <fill color="%button_fill_color%" />
2276 <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 -04002277 <font resource="font" color="%button_text_color%" />
2278 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002279 <actions>
2280 <action function="set">tw_backup_rename=</action>
2281 <action function="set">tw_fileexists=0</action>
2282 <action function="page">renamebackup</action>
2283 </actions>
2284 </object>
2285
2286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002287 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002288 <fill color="%button_fill_color%" />
2289 <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 -04002290 <font resource="font" color="%button_text_color%" />
2291 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002292 <actions>
2293 <action function="set">tw_back=restore</action>
2294 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002295 <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 -04002296 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2297 <action function="set">tw_text2=This cannot be undone!</action>
2298 <action function="set">tw_action_text1=Deleting Backup...</action>
2299 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2300 <action function="set">tw_slider_text=Swipe to Delete</action>
2301 <action function="page">confirm_action</action>
2302 </actions>
2303 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002304
Dees_Troya13d74f2013-03-24 08:54:55 -05002305 <object type="checkbox">
2306 <placement x="%col1_x%" y="%row15_text_y%" />
2307 <font resource="font" color="%text_color%" />
2308 <text>Enable MD5 verification of backup files.</text>
2309 <data variable="tw_skip_md5_check" />
2310 <image checked="checkbox_true" unchecked="checkbox_false" />
2311 </object>
2312
2313 <object type="text" color="%text_color%">
2314 <font resource="font" />
2315 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2316 <text>Package Date: %tw_restore_file_date%</text>
2317 </object>
2318
Dees_Troy51a0e822012-09-05 15:24:24 -04002319 <object type="slider">
2320 <placement x="%slider_x%" y="%slider_y%" />
2321 <resource base="slider" used="slider-used" touch="slider-touch" />
2322 <action function="page">restore_run</action>
2323 </object>
2324
2325 <object type="text" color="%text_color%">
2326 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002327 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002328 <text>Swipe to Restore</text>
2329 </object>
2330
Dees_Troy51a0e822012-09-05 15:24:24 -04002331 <object type="action">
2332 <touch key="home" />
2333 <action function="page">main</action>
2334 </object>
2335
2336 <object type="action">
2337 <touch key="back" />
2338 <action function="page">restore</action>
2339 </object>
2340
2341 <object type="template" name="footer" />
2342 </page>
2343
2344 <page name="renamebackup">
2345 <object type="template" name="header" />
2346
2347 <object type="text" color="%text_color%">
2348 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2349 <font resource="font" />
2350 <text>Please Enter a New Backup Name</text>
2351 </object>
2352
2353 <object type="input">
2354 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2355 <background color="%input_background_color%" />
2356 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2357 <font resource="font" color="%text_color%" />
2358 <text>%tw_backup_rename%</text>
2359 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002360 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002361 <actions>
2362 <action function="set">tw_back=restore</action>
2363 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002364 <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 -04002365 <action function="set">tw_text1=Rename Backup?</action>
2366 <action function="set">tw_text2=This cannot be undone!</action>
2367 <action function="set">tw_action_text1=Renaming Backup...</action>
2368 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2369 <action function="set">tw_slider_text=Swipe to Rename</action>
2370 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2371 <action function="set">tw_existpage=renamebackup</action>
2372 <action function="set">tw_notexistpage=confirm_action</action>
2373 <action function="page">filecheck</action>
2374 </actions>
2375 </object>
2376
2377 <object type="text" color="%text_fail_color%">
2378 <condition var1="tw_fileexists" var2="1" />
2379 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2380 <font resource="font" />
2381 <text>A backup with that name already exists!</text>
2382 </object>
2383
2384 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <placement x="%col_center_x%" y="%row2_y%" />
2387 <font resource="font" color="%button_text_color%" />
2388 <text>Cancel</text>
2389 <image resource="main_button" />
2390 <action function="page">restore_select</action>
2391 </object>
2392
2393 <object type="template" name="keyboardtemplate" />
2394
2395 <object type="action">
2396 <touch key="home" />
2397 <action function="page">main</action>
2398 </object>
2399
2400 <object type="action">
2401 <touch key="back" />
2402 <action function="page">restore_select</action>
2403 </object>
2404
2405 <object type="template" name="footer" />
2406 </page>
2407
2408 <page name="restore_run">
2409 <object type="template" name="header" />
2410
2411 <object type="text" color="%text_color%">
2412 <font resource="font" />
2413 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2414 <text>%tw_operation% %tw_partition%</text>
2415 </object>
2416
2417 <object type="template" name="action_page_console" />
2418
2419 <object type="template" name="progress_bar" />
2420
2421 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002422 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <actions>
2424 <action function="set">tw_back=restore_select</action>
2425 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002426 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002427 <action function="page">action_complete</action>
2428 </actions>
2429 </object>
2430
2431 <object type="action">
2432 <action function="nandroid">restore</action>
2433 </object>
2434 </page>
2435
Dees_Troya13d74f2013-03-24 08:54:55 -05002436 <page name="selectstorage">
2437 <object type="template" name="header" />
2438
2439 <object type="partitionlist">
2440 <highlight color="%fileselector_highlight_color%" />
2441 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2442 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2443 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2444 <text>Select Storage:</text>
2445 <icon selected="radio_true" unselected="radio_false" />
2446 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2447 <background color="%listbox_background%" />
2448 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2449 <data name="tw_storage_path" />
2450 <listtype name="storage" />
2451 </object>
2452
Dees_Troye7e0ae82013-07-05 14:46:07 +00002453 <object type="button">
2454 <highlight color="%highlight_color%" />
2455 <placement x="%col_center_x%" y="%row4_y%" />
2456 <font resource="font" color="%button_text_color%" />
2457 <text>OK</text>
2458 <image resource="main_button" />
2459 <actions>
2460 <action function="set">tw_clear_destination=%tw_back%</action>
2461 <action function="page">clear_vars</action>
2462 </actions>
2463 </object>
2464
Dees_Troya13d74f2013-03-24 08:54:55 -05002465 <object type="action">
2466 <touch key="home" />
2467 <action function="page">main</action>
2468 </object>
2469
2470 <object type="action">
2471 <touch key="back" />
2472 <actions>
2473 <action function="page">%tw_back%</action>
2474 </actions>
2475 </object>
2476
2477 <object type="template" name="footer" />
2478 </page>
2479
Dees_Troy51a0e822012-09-05 15:24:24 -04002480 <page name="mount">
2481 <object type="template" name="header" />
2482
Dees_Troya13d74f2013-03-24 08:54:55 -05002483 <object type="partitionlist">
2484 <highlight color="%fileselector_highlight_color%" />
2485 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2486 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2487 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2488 <text>Select Partitions to Mount:</text>
2489 <icon selected="checkbox_true" unselected="checkbox_false" />
2490 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2491 <background color="%listbox_background%" />
2492 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2493 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 </object>
2495
2496 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002497 <highlight color="%highlight_color%" />
2498 <fill color="%button_fill_color%" />
2499 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2500 <font resource="font" color="%button_text_color%" />
2501 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2502 <actions>
2503 <action function="set">tw_back=mount</action>
2504 <action function="page">selectstorage</action>
2505 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 </object>
2507
2508 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002509 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002510 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002511 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002512 <font resource="font" color="%button_text_color%" />
2513 <text>Mount USB Storage</text>
2514 <image resource="main_button" />
2515 <action function="page">usb_mount</action>
2516 </object>
2517
Gary Peckffdc6ae2012-11-21 18:02:02 -08002518 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002519 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002520 <conditions>
2521 <condition var1="tw_is_encrypted" var2="1" />
2522 <condition var1="tw_is_decrypted" var2="0" />
2523 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002524 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002525 <font resource="font" color="%button_text_color%" />
2526 <text>Decrypt Data</text>
2527 <image resource="main_button" />
2528 <action function="page">decrypt</action>
2529 </object>
2530
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 <object type="action">
2532 <touch key="home" />
2533 <action function="page">main</action>
2534 </object>
2535
2536 <object type="action">
2537 <touch key="back" />
2538 <action function="page">main</action>
2539 </object>
2540
2541 <object type="template" name="footer" />
2542 </page>
2543
2544 <page name="usb_mount">
2545 <object type="template" name="header" />
2546
2547 <object type="text" color="%text_color%">
2548 <font resource="font" />
2549 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2550 <text>USB Storage Mounted</text>
2551 </object>
2552
2553 <object type="text" color="%text_color%">
2554 <placement x="%col1_x%" y="%row1_text_y%" />
2555 <font resource="font" />
2556 <text>Be sure to safely remove your device</text>
2557 </object>
2558
2559 <object type="text" color="%text_color%">
2560 <placement x="%col1_x%" y="%row2_text_y%" />
2561 <font resource="font" />
2562 <text>from your computer before unmounting!</text>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <placement x="%col1_x%" y="%row3_y%" />
2568 <font resource="font" color="%button_text_color%" />
2569 <text>Unmount</text>
2570 <image resource="main_button" />
2571 <action function="page">usb_umount</action>
2572 </object>
2573
2574 <object type="action">
2575 <action function="mount">usb</action>
2576 </object>
2577
2578 <object type="template" name="footer" />
2579 </page>
2580
2581 <page name="usb_umount">
2582 <object type="action">
2583 <action function="unmount">usb</action>
2584 </object>
2585
2586 <object type="action">
2587 <action function="page">mount</action>
2588 </object>
2589 </page>
2590
2591 <page name="reboot">
2592 <object type="template" name="header" />
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2597 <text>Reboot Menu</text>
2598 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002599
Dees_Troy51a0e822012-09-05 15:24:24 -04002600 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002601 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002602 <condition var1="tw_reboot_system" var2="1" />
2603 <placement x="%col1_x%" y="%row1_y%" />
2604 <font resource="font" color="%button_text_color%" />
2605 <text>System</text>
2606 <image resource="main_button" />
2607 <actions>
2608 <action function="set">tw_back=reboot</action>
2609 <action function="set">tw_action=reboot</action>
2610 <action function="set">tw_action_param=system</action>
2611 <action function="set">tw_has_action2=0</action>
2612 <action function="set">tw_text1=No OS Installed! Are you</action>
2613 <action function="set">tw_text2=sure you wish to reboot?</action>
2614 <action function="set">tw_action_text1=Rebooting...</action>
2615 <action function="set">tw_complete_text1=Rebooting...</action>
2616 <action function="set">tw_slider_text=Swipe to Reboot</action>
2617 <action function="page">rebootcheck</action>
2618 </actions>
2619 </object>
2620
2621 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002622 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002623 <condition var1="tw_reboot_poweroff" var2="1" />
2624 <placement x="%col2_x%" y="%row1_y%" />
2625 <font resource="font" color="%button_text_color%" />
2626 <text>Power Off</text>
2627 <image resource="main_button" />
2628 <actions>
2629 <action function="set">tw_back=reboot</action>
2630 <action function="set">tw_action=reboot</action>
2631 <action function="set">tw_action_param=poweroff</action>
2632 <action function="set">tw_has_action2=0</action>
2633 <action function="set">tw_text1=No OS Installed! Are you</action>
2634 <action function="set">tw_text2=sure you wish to power off?</action>
2635 <action function="set">tw_action_text1=Turning Off...</action>
2636 <action function="set">tw_complete_text1=Turning Off...</action>
2637 <action function="set">tw_slider_text=Swipe to Power Off</action>
2638 <action function="page">rebootcheck</action>
2639 </actions>
2640 </object>
2641
2642 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002643 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002644 <condition var1="tw_reboot_recovery" var2="1" />
2645 <placement x="%col1_x%" y="%row2_y%" />
2646 <font resource="font" color="%button_text_color%" />
2647 <text>Recovery</text>
2648 <image resource="main_button" />
2649 <actions>
2650 <action function="set">tw_back=reboot</action>
2651 <action function="set">tw_action=reboot</action>
2652 <action function="set">tw_action_param=recovery</action>
2653 <action function="set">tw_has_action2=0</action>
2654 <action function="set">tw_text1=No OS Installed! Are you</action>
2655 <action function="set">tw_text2=sure you wish to reboot?</action>
2656 <action function="set">tw_action_text1=Rebooting...</action>
2657 <action function="set">tw_complete_text1=Rebooting...</action>
2658 <action function="set">tw_slider_text=Swipe to Reboot</action>
2659 <action function="page">rebootcheck</action>
2660 </actions>
2661 </object>
2662
2663 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002664 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002665 <condition var1="tw_reboot_bootloader" var2="1" />
2666 <placement x="%col2_x%" y="%row2_y%" />
2667 <font resource="font" color="%button_text_color%" />
2668 <text>Bootloader</text>
2669 <image resource="main_button" />
2670 <actions>
2671 <action function="set">tw_back=reboot</action>
2672 <action function="set">tw_action=reboot</action>
2673 <action function="set">tw_action_param=bootloader</action>
2674 <action function="set">tw_has_action2=0</action>
2675 <action function="set">tw_text1=No OS Installed! Are you</action>
2676 <action function="set">tw_text2=sure you wish to reboot?</action>
2677 <action function="set">tw_action_text1=Rebooting...</action>
2678 <action function="set">tw_complete_text1=Rebooting...</action>
2679 <action function="set">tw_slider_text=Swipe to Reboot</action>
2680 <action function="page">rebootcheck</action>
2681 </actions>
2682 </object>
2683
2684 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002685 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002686 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002687 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002688 <font resource="font" color="%button_text_color%" />
2689 <text>Download</text>
2690 <image resource="main_button" />
2691 <actions>
2692 <action function="set">tw_back=reboot</action>
2693 <action function="set">tw_action=reboot</action>
2694 <action function="set">tw_action_param=download</action>
2695 <action function="set">tw_has_action2=0</action>
2696 <action function="set">tw_text1=No OS Installed! Are you</action>
2697 <action function="set">tw_text2=sure you wish to reboot?</action>
2698 <action function="set">tw_action_text1=Rebooting...</action>
2699 <action function="set">tw_complete_text1=Rebooting...</action>
2700 <action function="set">tw_slider_text=Swipe to Reboot</action>
2701 <action function="page">rebootcheck</action>
2702 </actions>
2703 </object>
2704
2705 <object type="action">
2706 <touch key="home" />
2707 <action function="page">main</action>
2708 </object>
2709
2710 <object type="action">
2711 <touch key="back" />
2712 <action function="page">main</action>
2713 </object>
2714
2715 <object type="template" name="footer" />
2716 </page>
2717
2718 <page name="settings">
2719 <object type="template" name="header" />
2720
2721 <object type="text" color="%text_color%">
2722 <font resource="font" />
2723 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2724 <text>Settings</text>
2725 </object>
2726
2727 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002728 <placement x="%col1_x%" y="%row1_text_y%" />
2729 <font resource="font" color="%text_color%" />
2730 <text>Zip file signature verification.</text>
2731 <data variable="tw_signed_zip_verify" />
2732 <image checked="checkbox_true" unchecked="checkbox_false" />
2733 </object>
2734
2735 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <placement x="%col1_x%" y="%row2_text_y%" />
2737 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002738 <text>Use rm -rf instead of formatting.</text>
2739 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002740 <image checked="checkbox_true" unchecked="checkbox_false" />
2741 </object>
2742
2743 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002744 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002746 <text>Skip MD5 generation during backup.</text>
2747 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <image checked="checkbox_true" unchecked="checkbox_false" />
2749 </object>
2750
2751 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002752 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002754 <text>Enable MD5 verification of backup files.</text>
2755 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <image checked="checkbox_true" unchecked="checkbox_false" />
2757 </object>
2758
2759 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002760 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002762 <text>Use Military Time.</text>
2763 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <image checked="checkbox_true" unchecked="checkbox_false" />
2765 </object>
2766
2767 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002768 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002770 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <data variable="tw_simulate_actions" />
2772 <image checked="checkbox_true" unchecked="checkbox_false" />
2773 </object>
2774
2775 <object type="checkbox">
2776 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002777 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002779 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <data variable="tw_simulate_fail" />
2781 <image checked="checkbox_true" unchecked="checkbox_false" />
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <placement x="%col1_x%" y="%row3_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>Time Zone</text>
2789 <image resource="main_button" />
2790 <action function="page">timezone</action>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002795 <placement x="%col2_x%" y="%row3_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>Screen</text>
2798 <image resource="main_button" />
2799 <action function="page">screen</action>
2800 </object>
2801
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002802 <object type="button">
2803 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002804 <placement x="%col1_x%" y="%row4_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Restore Defaults</text>
2807 <image resource="main_button" />
2808 <action function="restoredefaultsettings"></action>
2809 </object>
2810
Dees_Troy2f9117a2013-02-17 19:52:09 -06002811 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002812 <highlight color="%highlight_color%" />
2813 <placement x="%col2_x%" y="%row4_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>Vibration Duration</text>
2816 <image resource="main_button" />
2817 <action function="page">Vibrate</action>
2818 </object>
2819
Dees_Troy51a0e822012-09-05 15:24:24 -04002820 <object type="action">
2821 <touch key="home" />
2822 <action function="page">main</action>
2823 </object>
2824
2825 <object type="action">
2826 <touch key="back" />
2827 <action function="page">main</action>
2828 </object>
2829
2830 <object type="template" name="footer" />
2831 </page>
2832
2833 <page name="timezone">
2834 <object type="template" name="header" />
2835
Dees_Troy51a0e822012-09-05 15:24:24 -04002836 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002837 <highlight color="%fileselector_highlight_color%" />
2838 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2839 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002840 <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 -06002841 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002842 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002843 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002844 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002845 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002846 <data name="tw_time_zone_guisel" />
2847 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2848 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2849 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2850 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2851 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2852 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2853 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2854 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2855 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2856 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2857 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2858 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2859 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2860 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2861 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2862 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2863 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2864 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2865 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2866 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2867 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2868 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2869 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2870 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2871 </object>
2872
2873 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002874 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <font resource="font" color="%text_color%" />
2876 <text>Do you use daylight savings time (DST)?</text>
2877 <data variable="tw_time_zone_guidst" />
2878 <image checked="checkbox_true" unchecked="checkbox_false" />
2879 </object>
2880
2881 <object type="text" color="%text_color%">
2882 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002883 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002884 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2885 </object>
2886
2887 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002888 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002889 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <font resource="font" color="%button_text_color%" />
2891 <text>None</text>
2892 <image resource="medium_button" />
2893 <action function="set">tw_time_zone_guioffset=0</action>
2894 </object>
2895
2896 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002897 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002898 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <font resource="font" color="%button_text_color%" />
2900 <text>15</text>
2901 <image resource="medium_button" />
2902 <action function="set">tw_time_zone_guioffset=15</action>
2903 </object>
2904
2905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002906 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002907 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <font resource="font" color="%button_text_color%" />
2909 <text>30</text>
2910 <image resource="medium_button" />
2911 <action function="set">tw_time_zone_guioffset=30</action>
2912 </object>
2913
2914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002915 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002916 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002917 <font resource="font" color="%button_text_color%" />
2918 <text>45</text>
2919 <image resource="medium_button" />
2920 <action function="set">tw_time_zone_guioffset=45</action>
2921 </object>
2922
2923 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002924 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002925 <placement x="%col_center_x%" y="%tz_set_y%" />
2926 <font resource="font" color="%button_text_color%" />
2927 <text>Set Time Zone</text>
2928 <image resource="main_button" />
2929 <action function="setguitimezone"></action>
2930 </object>
2931
2932 <object type="text" color="%text_color%">
2933 <font resource="font" />
2934 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2935 <text>Current Time Zone: %tw_time_zone%</text>
2936 </object>
2937
2938 <object type="action">
2939 <touch key="home" />
2940 <action function="page">main</action>
2941 </object>
2942
2943 <object type="action">
2944 <touch key="back" />
2945 <action function="page">settings</action>
2946 </object>
2947
2948 <object type="template" name="footer" />
2949 </page>
2950
Dees_Troy2f9117a2013-02-17 19:52:09 -06002951 <page name="screen">
2952 <object type="template" name="header" />
2953
2954 <object type="text" color="%text_color%">
2955 <font resource="font" />
2956 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2957 <text>Screen Settings</text>
2958 </object>
2959
Dees_Troy2f9117a2013-02-17 19:52:09 -06002960 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002961 <placement x="%col1_x%" y="%row2_text_y%" />
2962 <font resource="font" color="%text_color%" />
2963 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002964 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002965 <text>Enable screen timeout.</text>
2966 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002967 <action function="set">tw_screen_timeout_secs=60</action>
2968 </object>
2969
2970 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002971 <placement x="%col1_x%" y="%row2_text_y%" />
2972 <font resource="font" color="%text_color%" />
2973 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002974 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002975 <text>Enable screen timeout.</text>
2976 <image resource="checkbox_true" />
2977 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002978 </object>
2979
Vojtech Bocek85932342013-04-01 22:11:33 +02002980 <object type="slidervalue">
2981 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002982 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002983 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2984 <font resource="font" color="%text_color%" />
2985 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2986 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2987 <text>Screen timeout in seconds:</text>
2988 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002989 </object>
2990
Vojtech Bocek85932342013-04-01 22:11:33 +02002991 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002992 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002993 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2994 <font resource="font" color="%text_color%" />
2995 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2996 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2997 <text>Brightness: %tw_brightness_pct%%</text>
2998 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002999 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003000 <action function="set">tw_brightness=%tw_brightness_max%</action>
3001 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3002 <action function="compute">tw_brightness/100</action>
3003 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003004 </actions>
3005 </object>
3006
3007 <object type="action">
3008 <touch key="home" />
3009 <action function="page">main</action>
3010 </object>
3011
3012 <object type="action">
3013 <touch key="back" />
3014 <action function="page">settings</action>
3015 </object>
3016
3017 <object type="template" name="footer" />
3018 </page>
3019
Ethan Yonker03db3262014-02-05 08:02:06 -06003020 <page name="Vibrate">
3021 <object type="template" name="header" />
3022
3023 <object type="text" color="%text_color%">
3024 <font resource="font" />
3025 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3026 <text>Vibration Settings :</text>
3027 </object>
3028
3029 <object type="slidervalue">
3030 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3031 <font resource="font" color="%text_color%" />
3032 <text>Button Vibration:</text>
3033 <data variable="tw_button_vibrate" min="0" max="300" />
3034 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3035 </object>
3036
3037 <object type="slidervalue">
3038 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3039 <font resource="font" color="%text_color%" />
3040 <text>Keyboard Vibration:</text>
3041 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3042 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3043 </object>
3044
3045 <object type="slidervalue">
3046 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3047 <font resource="font" color="%text_color%" />
3048 <text>Action Vibration:</text>
3049 <data variable="tw_action_vibrate" min="0" max="500" />
3050 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3051 </object>
3052
3053 <object type="action">
3054 <touch key="home" />
3055 <action function="page">main</action>
3056 </object>
3057
3058 <object type="action">
3059 <touch key="back" />
3060 <action function="page">settings</action>
3061 </object>
3062
3063 <object type="template" name="footer" />
3064 </page>
3065
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <page name="advanced">
3067 <object type="template" name="header" />
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3072 <text>Advanced</text>
3073 </object>
3074
3075 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003076 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <placement x="%col1_x%" y="%row1_y%" />
3078 <font resource="font" color="%button_text_color%" />
3079 <text>Copy Log to SD</text>
3080 <image resource="main_button" />
3081 <actions>
3082 <action function="set">tw_back=advanced</action>
3083 <action function="set">tw_action=copylog</action>
3084 <action function="set">tw_text1=Copy Log to SD Card?</action>
3085 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3086 <action function="set">tw_complete_text1=Log Copy Complete</action>
3087 <action function="set">tw_slider_text=Swipe to Confirm</action>
3088 <action function="page">confirm_action</action>
3089 </actions>
3090 </object>
3091
3092 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003093 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <placement x="%col2_x%" y="%row1_y%" />
3095 <font resource="font" color="%button_text_color%" />
3096 <text>Fix Permissions</text>
3097 <image resource="main_button" />
3098 <actions>
3099 <action function="set">tw_back=advanced</action>
3100 <action function="set">tw_action=fixpermissions</action>
3101 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003102 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003103 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3104 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003105 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003106 <action function="page">confirm_action</action>
3107 </actions>
3108 </object>
3109
3110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003112 <condition var1="tw_allow_partition_sdcard" var2="1" />
3113 <placement x="%col1_x%" y="%row2_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Partition SD Card</text>
3116 <image resource="main_button" />
3117 <action function="page">partsdcard</action>
3118 </object>
3119
3120 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003121 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003122 <placement x="%col2_x%" y="%row2_y%" />
3123 <font resource="font" color="%button_text_color%" />
3124 <text>File Manager</text>
3125 <image resource="main_button" />
3126 <action function="page">filemanagerlist</action>
3127 </object>
3128
3129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <placement x="%col1_x%" y="%row3_y%" />
3132 <font resource="font" color="%button_text_color%" />
3133 <text>Terminal Command</text>
3134 <image resource="main_button" />
3135 <action function="page">terminalfolder</action>
3136 </object>
3137
3138 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003139 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003140 <placement x="%col2_x%" y="%row3_y%" />
3141 <font resource="font" color="%button_text_color%" />
3142 <text>Reload Theme</text>
3143 <image resource="main_button" />
3144 <action function="reload"></action>
3145 </object>
3146
3147 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003148 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04003149 <placement x="%col1_x%" y="%row4_y%" />
3150 <font resource="font" color="%button_text_color%" />
3151 <text>ADB Sideload</text>
3152 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003153 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04003154 </object>
3155
3156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003157 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003158 <condition var1="tw_show_dumlock" var2="1" />
3159 <placement x="%col2_x%" y="%row4_y%" />
3160 <font resource="font" color="%button_text_color%" />
3161 <text>HTC Dumlock</text>
3162 <image resource="main_button" />
3163 <action function="page">htcdumlock</action>
3164 </object>
3165
3166 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003167 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003168 <condition var1="tw_has_injecttwrp" var2="1" />
3169 <placement x="%col2_x%" y="%row4_y%" />
3170 <font resource="font" color="%button_text_color%" />
3171 <text>Re-Inject TWRP</text>
3172 <image resource="main_button" />
3173 <actions>
3174 <action function="set">tw_back=advanced</action>
3175 <action function="set">tw_action=reinjecttwrp</action>
3176 <action function="set">tw_text1=Re-Inject TWRP?</action>
3177 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3178 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3179 <action function="set">tw_slider_text=Swipe to Confirm</action>
3180 <action function="page">confirm_action</action>
3181 </actions>
3182 </object>
3183
Dees_Troy51a0e822012-09-05 15:24:24 -04003184 <object type="action">
3185 <touch key="home" />
3186 <action function="page">main</action>
3187 </object>
3188
3189 <object type="action">
3190 <touch key="back" />
3191 <action function="page">main</action>
3192 </object>
3193
3194 <object type="template" name="footer" />
3195 </page>
3196
3197 <page name="partsdcard">
3198 <object type="template" name="header" />
3199
3200 <object type="text" color="%text_color%">
3201 <font resource="font" />
3202 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3203 <text>Partition SD Card</text>
3204 </object>
3205
3206 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003207 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003208 <placement x="%col1_x%" y="%row1_y%" />
3209 <font resource="font" color="%button_text_color%" />
3210 <text></text>
3211 <image resource="minus_button" />
3212 <action function="addsubtract">tw_sdext_size-128</action>
3213 </object>
3214
3215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003216 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003217 <placement x="%sd_plus_x%" y="%row1_y%" />
3218 <font resource="font" color="%button_text_color%" />
3219 <text></text>
3220 <image resource="plus_button" />
3221 <action function="addsubtract">tw_sdext_size+128</action>
3222 </object>
3223
3224 <object type="text" color="%text_color%">
3225 <font resource="font" />
3226 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3227 <text>EXT Size: %tw_sdext_size%</text>
3228 </object>
3229
3230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <placement x="%col1_x%" y="%sdswap_button_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text></text>
3235 <image resource="minus_button" />
3236 <action function="addsubtract">tw_swap_size-32</action>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text></text>
3244 <image resource="plus_button" />
3245 <action function="addsubtract">tw_swap_size+32</action>
3246 </object>
3247
3248 <object type="text" color="%text_color%">
3249 <font resource="font" />
3250 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3251 <text>Swap Size: %tw_swap_size%</text>
3252 </object>
3253
3254 <object type="text" color="%text_color%">
3255 <font resource="font" />
3256 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3257 <text>File system: %tw_sdpart_file_system%</text>
3258 </object>
3259
3260 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003261 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003262 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3263 <font resource="font" color="%button_text_color%" />
3264 <text>EXT3</text>
3265 <image resource="main_button" />
3266 <action function="set">tw_sdpart_file_system=ext3</action>
3267 </object>
3268
3269 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003270 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003271 <condition var1="tw_sdext_disable_ext4" var2="0" />
3272 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3273 <font resource="font" color="%button_text_color%" />
3274 <text>EXT4</text>
3275 <image resource="main_button" />
3276 <action function="set">tw_sdpart_file_system=ext4</action>
3277 </object>
3278
3279 <object type="text" color="%text_color%">
3280 <font resource="font" />
3281 <placement x="%col1_x%" y="%row12_text_y%" />
3282 <text>You will lose all files on your SD card!</text>
3283 </object>
3284
3285 <object type="text" color="%text_color%">
3286 <font resource="font" />
3287 <placement x="%col1_x%" y="%row13_text_y%" />
3288 <text>This action cannot be undone!</text>
3289 </object>
3290
3291 <object type="slider">
3292 <placement x="%slider_x%" y="%slider_y%" />
3293 <resource base="slider" used="slider-used" touch="slider-touch" />
3294 <action function="page">partsdcardaction</action>
3295 <actions>
3296 <action function="set">tw_back=partsdcard</action>
3297 <action function="set">tw_action=partitionsd</action>
3298 <action function="set">tw_has_action2=1</action>
3299 <action function="set">tw_action2=set</action>
3300 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3301 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3302 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003303 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <action function="page">action_page</action>
3305 </actions>
3306 </object>
3307
3308 <object type="text" color="%text_color%">
3309 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003310 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003311 <text>Swipe to Partition</text>
3312 </object>
3313
3314 <object type="action">
3315 <touch key="home" />
3316 <action function="page">main</action>
3317 </object>
3318
3319 <object type="action">
3320 <touch key="back" />
3321 <action function="page">advanced</action>
3322 </object>
3323
3324 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003325 </page>
3326
3327 <page name="htcdumlock">
3328 <object type="template" name="header" />
3329
3330 <object type="text" color="%text_color%">
3331 <font resource="font" />
3332 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3333 <text>HTC Dumlock</text>
3334 </object>
3335
3336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003338 <condition var1="tw_show_dumlock" var2="1" />
3339 <placement x="%col1_x%" y="%row1_y%" />
3340 <font resource="font" color="%button_text_color%" />
3341 <text>Restore Original Boot</text>
3342 <image resource="main_button" />
3343 <actions>
3344 <action function="set">tw_back=htcdumlock</action>
3345 <action function="set">tw_action=htcdumlockrestoreboot</action>
3346 <action function="set">tw_text1=Restore original boot image?</action>
3347 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3348 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3349 <action function="set">tw_slider_text=Swipe to Confirm</action>
3350 <action function="page">confirm_action</action>
3351 </actions>
3352 </object>
3353
3354 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003355 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003356 <condition var1="tw_show_dumlock" var2="1" />
3357 <placement x="%col2_x%" y="%row1_y%" />
3358 <font resource="font" color="%button_text_color%" />
3359 <text>Reflash Recovery</text>
3360 <image resource="main_button" />
3361 <actions>
3362 <action function="set">tw_back=htcdumlock</action>
3363 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3364 <action function="set">tw_text1=Reflash recovery to boot?</action>
3365 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3366 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3367 <action function="set">tw_slider_text=Swipe to Confirm</action>
3368 <action function="page">confirm_action</action>
3369 </actions>
3370 </object>
3371
3372 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003373 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003374 <condition var1="tw_show_dumlock" var2="1" />
3375 <placement x="%col1_x%" y="%row2_y%" />
3376 <font resource="font" color="%button_text_color%" />
3377 <text>Install HTC Dumlock</text>
3378 <image resource="main_button" />
3379 <actions>
3380 <action function="set">tw_back=htcdumlock</action>
3381 <action function="set">tw_action=installhtcdumlock</action>
3382 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3383 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3384 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3385 <action function="set">tw_slider_text=Swipe to Confirm</action>
3386 <action function="page">confirm_action</action>
3387 </actions>
3388 </object>
3389
3390 <object type="action">
3391 <touch key="home" />
3392 <action function="page">main</action>
3393 </object>
3394
3395 <object type="action">
3396 <touch key="back" />
3397 <action function="page">advanced</action>
3398 </object>
3399
3400 <object type="template" name="footer" />
3401 </page>
3402
3403 <page name="lock">
3404 <background color="#000000A0" />
3405
3406 <object type="image">
3407 <image resource="unlock-icon" />
3408 <placement x="%lock_x%" y="%lock_y%" />
3409 </object>
3410
3411 <object type="slider">
3412 <placement x="%slider_x%" y="%slider_y%" />
3413 <resource base="slider" used="slider-used" touch="slider-touch" />
3414 <action function="overlay"></action>
3415 </object>
3416
3417 <object type="text" color="%text_color%">
3418 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003419 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003420 <text>Swipe to Unlock</text>
3421 </object>
3422 </page>
3423
3424 <page name="filemanagerlist">
3425 <object type="template" name="header" />
3426
3427 <object type="text" color="%text_color%">
3428 <font resource="font" />
3429 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3430 <text>File Manager: Select a File or Folder</text>
3431 </object>
3432
3433 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003434 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003435 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3436 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003437 <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 -04003438 <text>%tw_file_location1%</text>
3439 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3440 <sort name="tw_gui_sort_order" />
3441 <icon folder="folder_icon" file="file_icon" />
3442 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003443 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003444 <folders="1" files="1" />
3445 <path name="tw_file_location1" default="/" />
3446 <data name="tw_filename1" />
3447 <selection name="tw_selection1" />
3448 </object>
3449
3450 <object type="template" name="sort_options" />
3451
3452 <object type="action">
3453 <actions>
3454 <action function="set">tw_fm_type=File</action>
3455 <action function="set">tw_fm_isfolder=0</action>
3456 </actions>
3457 </object>
3458
3459 <object type="action">
3460 <touch key="home" />
3461 <action function="page">main</action>
3462 </object>
3463
3464 <object type="action">
3465 <touch key="back" />
3466 <action function="page">advanced</action>
3467 </object>
3468
3469 <object type="action">
3470 <condition var1="tw_filename1" op="modified" />
3471 <actions>
3472 <action function="page">filemanageroptions</action>
3473 </actions>
3474 </object>
3475
3476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003478 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3479 <font resource="font" color="%button_text_color%" />
3480 <text>Select</text>
3481 <image resource="medium_button" />
3482 <actions>
3483 <action function="set">tw_filename1=tw_file_location1</action>
3484 <action function="set">tw_fm_isfolder=1</action>
3485 <action function="set">tw_fm_type=Folder</action>
3486 <action function="page">filemanageroptions</action>
3487 </actions>
3488 </object>
3489
3490 <object type="template" name="footer" />
3491 </page>
3492
3493 <page name="filemanageroptions">
3494 <object type="template" name="header" />
3495
3496 <object type="text" color="%text_color%">
3497 <font resource="font" />
3498 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3499 <text>%tw_fm_type% Selected:</text>
3500 </object>
3501
3502 <object type="text" color="%text_color%">
3503 <font resource="font" />
3504 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3505 <text>%tw_filename1%</text>
3506 </object>
3507
3508 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003509 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003510 <condition var1="tw_fm_isfolder" var2="0" />
3511 <placement x="%col1_x%" y="%row2_y%" />
3512 <font resource="font" color="%button_text_color%" />
3513 <text>Copy File</text>
3514 <image resource="main_button" />
3515 <actions>
3516 <action function="set">tw_filemanager_command=cp</action>
3517 <action function="set">tw_fm_text1=Copying</action>
3518 <action function="page">choosedestinationfolder</action>
3519 </actions>
3520 </object>
3521
3522 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003523 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003524 <condition var1="tw_fm_isfolder" var2="1" />
3525 <placement x="%col1_x%" y="%row2_y%" />
3526 <font resource="font" color="%button_text_color%" />
3527 <text>Copy Folder</text>
3528 <image resource="main_button" />
3529 <actions>
3530 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3531 <action function="set">tw_fm_text1=Copying</action>
3532 <action function="page">choosedestinationfolder</action>
3533 </actions>
3534 </object>
3535
3536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003537 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003538 <placement x="%col2_x%" y="%row2_y%" />
3539 <font resource="font" color="%button_text_color%" />
3540 <text>Move</text>
3541 <image resource="main_button" />
3542 <actions>
3543 <action function="set">tw_filemanager_command=mv</action>
3544 <action function="set">tw_fm_text1=Moving</action>
3545 <action function="page">choosedestinationfolder</action>
3546 </actions>
3547 </object>
3548
3549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003551 <placement x="%col1_x%" y="%row3_y%" />
3552 <font resource="font" color="%button_text_color%" />
3553 <text>chmod 755</text>
3554 <image resource="main_button" />
3555 <actions>
3556 <action function="set">tw_filemanager_command=chmod 755</action>
3557 <action function="set">tw_fm_text1=chmod 755</action>
3558 <action function="set">tw_fm_text2=</action>
3559 <action function="set">tw_fm_text3=</action>
3560 <action function="set">tw_include_text3=0</action>
3561 <action function="set">tw_back=filemanageroptions</action>
3562 <action function="page">filemanagerconfirm</action>
3563 </actions>
3564 </object>
3565
3566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003567 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003568 <placement x="%col2_x%" y="%row3_y%" />
3569 <font resource="font" color="%button_text_color%" />
3570 <text>chmod</text>
3571 <image resource="main_button" />
3572 <actions>
3573 <action function="set">tw_filemanager_rename=0000</action>
3574 <action function="set">tw_fm_text2=</action>
3575 <action function="set">tw_fm_text3=</action>
3576 <action function="set">tw_include_text3=0</action>
3577 <action function="set">tw_back=filemanageroptions</action>
3578 <action function="page">filemanagerchmod</action>
3579 </actions>
3580 </object>
3581
3582 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003583 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003584 <placement x="%col1_x%" y="%row4_y%" />
3585 <font resource="font" color="%button_text_color%" />
3586 <text>Delete</text>
3587 <image resource="main_button" />
3588 <actions>
3589 <action function="set">tw_filemanager_command=rm -rf</action>
3590 <action function="set">tw_fm_text1=Deleting</action>
3591 <action function="set">tw_fm_text2=</action>
3592 <action function="set">tw_fm_text3=</action>
3593 <action function="set">tw_include_text3=0</action>
3594 <action function="set">tw_back=filemanageroptions</action>
3595 <action function="page">filemanagerconfirm</action>
3596 </actions>
3597 </object>
3598
3599 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003600 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003601 <condition var1="tw_fm_isfolder" var2="0" />
3602 <placement x="%col2_x%" y="%row4_y%" />
3603 <font resource="font" color="%button_text_color%" />
3604 <text>Rename File</text>
3605 <image resource="main_button" />
3606 <actions>
3607 <action function="set">tw_filemanager_rename=tw_selection1</action>
3608 <action function="set">tw_fm_text1=Renaming</action>
3609 <action function="set">tw_filemanager_command=mv</action>
3610 <action function="page">filemanagerrenamefile</action>
3611 </actions>
3612 </object>
3613
3614 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003615 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003616 <condition var1="tw_fm_isfolder" var2="1" />
3617 <placement x="%col2_x%" y="%row4_y%" />
3618 <font resource="font" color="%button_text_color%" />
3619 <text>Rename Folder</text>
3620 <image resource="main_button" />
3621 <actions>
3622 <action function="set">tw_filemanager_rename=tw_selection1</action>
3623 <action function="set">tw_fm_text1=Renaming</action>
3624 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3625 <action function="page">filemanagerrenamefolder</action>
3626 </actions>
3627 </object>
3628
3629 <object type="action">
3630 <touch key="home" />
3631 <action function="page">main</action>
3632 </object>
3633
3634 <object type="action">
3635 <touch key="back" />
3636 <action function="page">filemanagerlist</action>
3637 </object>
3638
3639 <object type="template" name="footer" />
3640 </page>
3641
3642 <page name="choosedestinationfolder">
3643 <object type="template" name="header" />
3644
3645 <object type="text" color="%text_color%">
3646 <font resource="font" />
3647 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3648 <text>Browse to Destination Folder & Press Select</text>
3649 </object>
3650
3651 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003652 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003653 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3654 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003655 <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 -04003656 <text>%tw_file_location2%</text>
3657 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3658 <sort name="tw_gui_sort_order" />
3659 <icon folder="folder_icon" file="file_icon" />
3660 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003661 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003662 <filter folders="1" files="0" />
3663 <path name="tw_file_location2" default="/" />
3664 <data name="tw_filename2" />
3665 <selection name="tw_selection2" />
3666 </object>
3667
3668 <object type="template" name="sort_options" />
3669
3670 <object type="action">
3671 <touch key="home" />
3672 <action function="page">main</action>
3673 </object>
3674
3675 <object type="action">
3676 <touch key="back" />
3677 <action function="page">filemanageroptions</action>
3678 </object>
3679
3680 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003681 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003682 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3683 <font resource="font" color="%button_text_color%" />
3684 <text>Select</text>
3685 <image resource="medium_button" />
3686 <actions>
3687 <action function="set">tw_fm_text2=to</action>
3688 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3689 <action function="set">tw_include_text3=1</action>
3690 <action function="set">tw_back=filemanageroptions</action>
3691 <action function="page">filemanagerconfirm</action>
3692 </actions>
3693 </object>
3694
3695 <object type="template" name="footer" />
3696 </page>
3697
3698 <page name="filemanagerrenamefile">
3699 <object type="template" name="header" />
3700
3701 <object type="text" color="%text_color%">
3702 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3703 <font resource="font" />
3704 <text>Please Enter a New %tw_fm_type% Name</text>
3705 </object>
3706
3707 <object type="input">
3708 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3709 <background color="%input_background_color%" />
3710 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3711 <font resource="font" color="%text_color%" />
3712 <text>%tw_filemanager_rename%</text>
3713 <data name="tw_filemanager_rename" />
3714 <restrict minlen="1" maxlen="128" />
3715 <actions>
3716 <action function="set">tw_fm_text2=to</action>
3717 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3718 <action function="set">tw_include_text3=1</action>
3719 <action function="set">tw_back=filemanageroptions</action>
3720 <action function="page">filemanagerconfirm</action>
3721 </actions>
3722 </object>
3723
3724 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003725 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003726 <placement x="%col_center_x%" y="%row2_y%" />
3727 <font resource="font" color="%button_text_color%" />
3728 <text>Cancel</text>
3729 <image resource="main_button" />
3730 <action function="page">filemanageroptions</action>
3731 </object>
3732
3733 <object type="template" name="keyboardtemplate" />
3734
3735 <object type="action">
3736 <touch key="home" />
3737 <action function="page">main</action>
3738 </object>
3739
3740 <object type="action">
3741 <touch key="back" />
3742 <action function="page">filemanageroptions</action>
3743 </object>
3744
3745 <object type="template" name="footer" />
3746 </page>
3747
3748 <page name="filemanagerrenamefolder">
3749 <object type="template" name="header" />
3750
3751 <object type="text" color="%text_color%">
3752 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3753 <font resource="font" />
3754 <text>Please Enter a New %tw_fm_type% Name</text>
3755 </object>
3756
3757 <object type="input">
3758 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3759 <background color="%input_background_color%" />
3760 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3761 <font resource="font" color="%text_color%" />
3762 <text>%tw_filemanager_rename%</text>
3763 <data name="tw_filemanager_rename" />
3764 <restrict minlen="1" maxlen="128" />
3765 <actions>
3766 <action function="set">tw_fm_text2=to</action>
3767 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3768 <action function="set">tw_include_text3=1</action>
3769 <action function="set">tw_back=filemanageroptions</action>
3770 <action function="page">filemanagerconfirm</action>
3771 </actions>
3772 </object>
3773
3774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003776 <placement x="%col_center_x%" y="%row2_y%" />
3777 <font resource="font" color="%button_text_color%" />
3778 <text>Cancel</text>
3779 <image resource="main_button" />
3780 <action function="page">filemanageroptions</action>
3781 </object>
3782
3783 <object type="template" name="keyboardtemplate" />
3784
3785 <object type="action">
3786 <touch key="home" />
3787 <action function="page">main</action>
3788 </object>
3789
3790 <object type="action">
3791 <touch key="back" />
3792 <action function="page">filemanageroptions</action>
3793 </object>
3794
3795 <object type="template" name="footer" />
3796 </page>
3797
3798 <page name="filemanagerchmod">
3799 <object type="template" name="header" />
3800
3801 <object type="text" color="%text_color%">
3802 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3803 <font resource="font" />
3804 <text>Please Enter New Permissions</text>
3805 </object>
3806
3807 <object type="input">
3808 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3809 <background color="%input_background_color%" />
3810 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3811 <font resource="font" color="%text_color%" />
3812 <text>%tw_filemanager_rename%</text>
3813 <data name="tw_filemanager_rename" />
3814 <restrict minlen="3" maxlen="4" allow="0123456789" />
3815 <actions>
3816 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3817 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3818 <action function="set">tw_back=filemanageroptions</action>
3819 <action function="page">filemanagerconfirm</action>
3820 </actions>
3821 </object>
3822
3823 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003824 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003825 <placement x="%col_center_x%" y="%row2_y%" />
3826 <font resource="font" color="%button_text_color%" />
3827 <text>Cancel</text>
3828 <image resource="main_button" />
3829 <action function="page">filemanageroptions</action>
3830 </object>
3831
3832 <object type="template" name="keyboardtemplate" />
3833
3834 <object type="action">
3835 <touch key="home" />
3836 <action function="page">main</action>
3837 </object>
3838
3839 <object type="action">
3840 <touch key="back" />
3841 <action function="page">filemanageroptions</action>
3842 </object>
3843
3844 <object type="template" name="footer" />
3845 </page>
3846
3847 <page name="filemanagerconfirm">
3848 <object type="template" name="header" />
3849
3850 <object type="text" color="%text_color%">
3851 <font resource="font" />
3852 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3853 <text>%tw_fm_text1%</text>
3854 </object>
3855
3856 <object type="text" color="%text_color%">
3857 <font resource="font" />
3858 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3859 <text>%tw_filename1%</text>
3860 </object>
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3865 <text>%tw_fm_text2%</text>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3871 <text>%tw_fm_text3%</text>
3872 </object>
3873
3874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3877 <text>Press back button to cancel.</text>
3878 </object>
3879
3880 <object type="slider">
3881 <placement x="%slider_x%" y="%slider_y%" />
3882 <resource base="slider" used="slider-used" touch="slider-touch" />
3883 <action function="page">filemanageracction</action>
3884 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003885
Dees_Troy51a0e822012-09-05 15:24:24 -04003886 <object type="text" color="%text_color%">
3887 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003888 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003889 <text>Swipe to Confirm</text>
3890 </object>
3891
3892 <object type="action">
3893 <touch key="back" />
3894 <action function="page">%tw_back%</action>
3895 </object>
3896
3897 <object type="action">
3898 <touch key="home" />
3899 <action function="page">main</action>
3900 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003901
Dees_Troy51a0e822012-09-05 15:24:24 -04003902 <object type="template" name="footer" />
3903 </page>
3904
3905 <page name="filemanageracction">
3906 <object type="template" name="header" />
3907
3908 <object type="text" color="%text_color%">
3909
3910 <font resource="font" />
3911 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3912 <text>%tw_fm_text1%</text>
3913 </object>
3914
3915 <object type="template" name="action_page_console" />
3916
3917 <object type="template" name="progress_bar" />
3918
3919 <object type="action">
3920 <conditions>
3921 <condition var1="tw_operation_state" var2="1" />
3922 <condition var1="tw_operation_status" var2="0" />
3923 </conditions>
3924 <actions>
3925 <action function="set">tw_back=filemanagerlist</action>
3926 <action function="set">tw_complete_text1=File Operation Complete</action>
3927 <action function="page">action_complete</action>
3928 </actions>
3929 </object>
3930
3931 <object type="action">
3932 <conditions>
3933 <condition var1="tw_operation_state" var2="1" />
3934 <condition var1="tw_operation_status" op="!=" var2="0" />
3935 </conditions>
3936 <actions>
3937 <action function="set">tw_complete_text1=File Operation Complete</action>
3938 <action function="page">action_complete</action>
3939 </actions>
3940 </object>
3941
3942 <object type="action">
3943 <condition var1="tw_include_text3" var2="0" />
3944 <actions>
3945 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3946 </actions>
3947 </object>
3948
3949 <object type="action">
3950 <condition var1="tw_include_text3" var2="1" />
3951 <actions>
3952 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3953 </actions>
3954 </object>
3955 </page>
3956
3957 <page name="decrypt">
3958 <object type="template" name="header" />
3959
3960 <object type="text" color="%text_color%">
3961 <font resource="font" />
3962 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3963 <text>Please Enter Your Password</text>
3964 </object>
3965
3966 <object type="input">
3967 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3968 <background color="%input_background_color%" />
3969 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3970 <font resource="font" color="%text_color%" />
3971 <text>%tw_crypto_display%</text>
3972 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3973 <restrict minlen="1" maxlen="254" />
3974 <actions>
3975 <action function="page">trydecrypt</action>
3976 </actions>
3977 </object>
3978
3979 <object type="text" color="%text_fail_color%">
3980 <condition var1="tw_password_fail" var2="1" />
3981 <font resource="font" />
3982 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3983 <text>Password Failed, Please Try Again</text>
3984 </object>
3985
3986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003987 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003988 <placement x="%col_center_x%" y="%row2_y%" />
3989 <font resource="font" color="%button_text_color%" />
3990 <text>Cancel</text>
3991 <image resource="main_button" />
3992 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003993 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003994 <action function="page">main</action>
3995 </actions>
3996 </object>
3997
3998 <object type="template" name="keyboardtemplate" />
3999
Dees_Troy51a0e822012-09-05 15:24:24 -04004000 <object type="template" name="footer" />
4001 </page>
4002
4003 <page name="trydecrypt">
4004 <object type="template" name="header" />
4005
4006 <object type="text" color="%text_color%">
4007 <font resource="font" />
4008 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4009 <text>Trying Decryption with Your Password</text>
4010 </object>
4011
4012 <object type="template" name="action_page_console" />
4013
4014 <object type="template" name="progress_bar" />
4015
4016 <object type="action">
4017 <action function="decrypt"></action>
4018 </object>
4019
4020 <object type="action">
4021 <conditions>
4022 <condition var1="tw_operation_state" var2="1" />
4023 <condition var1="tw_operation_status" op="!=" var2="0" />
4024 </conditions>
4025 <actions>
4026 <action function="set">tw_password_fail=1</action>
4027 <action function="page">decrypt</action>
4028 </actions>
4029 </object>
4030
4031 <object type="action">
4032 <conditions>
4033 <condition var1="tw_operation_state" var2="1" />
4034 <condition var1="tw_operation_status" op="=" var2="0" />
4035 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004036 <actions>
4037 <action function="set">tw_page_done=1</action>
4038 <action function="page">main</action>
4039 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004040 </object>
4041 </page>
4042
4043 <page name="terminalfolder">
4044 <object type="template" name="header" />
4045
4046 <object type="text" color="%text_color%">
4047 <font resource="font" />
4048 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4049 <text>Browse to Starting Folder</text>
4050 </object>
4051
4052 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004053 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004054 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4055 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004056 <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 -04004057 <text>%tw_terminal_location%</text>
4058 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4059 <sort name="tw_gui_sort_order" />
4060 <icon folder="folder_icon" file="file_icon" />
4061 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004062 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004063 <filter folders="1" files="0" />
4064 <path name="tw_terminal_location" default="/" />
4065 <data name="tw_terminal" />
4066 <selection name="tw_terminal_selection" />
4067 </object>
4068
4069 <object type="template" name="sort_options" />
4070
4071 <object type="action">
4072 <touch key="home" />
4073 <action function="page">main</action>
4074 </object>
4075
4076 <object type="action">
4077 <touch key="back" />
4078 <action function="page">advanced</action>
4079 </object>
4080
4081 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004082 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004083 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4084 <font resource="font" color="%button_text_color%" />
4085 <text>Select</text>
4086 <image resource="medium_button" />
4087 <actions>
4088 <action function="page">terminalcommand</action>
4089 </actions>
4090 </object>
4091
4092 <object type="template" name="footer" />
4093 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04004094
Dees_Troy51a0e822012-09-05 15:24:24 -04004095 <page name="terminalcommand">
4096 <object type="template" name="header" />
4097
4098 <object type="console">
4099 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4100 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4101 <font resource="fixed" />
4102 </object>
4103
4104 <object type="text" color="%text_color%">
4105 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4106 <font resource="font" />
4107 <text>Starting Path: %tw_terminal_location%</text>
4108 </object>
4109
4110 <object type="input">
4111 <condition var1="tw_terminal_state" var2="0" />
4112 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4113 <background color="%input_background_color%" />
4114 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4115 <font resource="font" color="%text_color%" />
4116 <text>%tw_terminal_command%</text>
4117 <data name="tw_terminal_command" />
4118 <restrict minlen="1" />
4119 <action function="terminalcommand">%tw_terminal_command%</action>
4120 </object>
4121
4122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004123 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004124 <condition var1="tw_terminal_state" var2="1" />
4125 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4126 <font resource="font" color="%button_text_color%" />
4127 <text>KILL</text>
4128 <image resource="medium_button" />
4129 <action function="killterminal"></action>
4130 </object>
4131
4132 <object type="template" name="keyboardtemplate" />
4133
4134 <object type="action">
4135 <touch key="home" />
4136 <action function="page">main</action>
4137 </object>
4138
4139 <object type="action">
4140 <touch key="back" />
4141 <action function="page">terminalfolder</action>
4142 </object>
4143 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004144
4145 <page name="sideload">
4146 <object type="template" name="header" />
4147
4148 <object type="text" color="%text_color%">
4149 <font resource="font" />
4150 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4151 <text>ADB Sideload</text>
4152 </object>
4153
4154 <object type="checkbox">
4155 <placement x="%col1_x%" y="%row2_text_y%" />
4156 <font resource="font" color="%text_color%" />
4157 <text>Wipe Dalvik Cache.</text>
4158 <data variable="tw_wipe_dalvik" />
4159 <image checked="checkbox_true" unchecked="checkbox_false" />
4160 </object>
4161
4162 <object type="checkbox">
4163 <placement x="%col1_x%" y="%row3_text_y%" />
4164 <font resource="font" color="%text_color%" />
4165 <text>Wipe Cache.</text>
4166 <data variable="tw_wipe_cache" />
4167 <image checked="checkbox_true" unchecked="checkbox_false" />
4168 </object>
4169
4170 <object type="slider">
4171 <placement x="%slider_x%" y="%slider_y%" />
4172 <resource base="slider" used="slider-used" touch="slider-touch" />
4173 <actions>
4174 <action function="set">tw_back=advanced</action>
4175 <action function="set">tw_action=adbsideload</action>
4176 <action function="set">tw_action_text1=ADB Sideload</action>
4177 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4178 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4179 <action function="set">tw_has_cancel=1</action>
4180 <action function="set">tw_show_reboot=1</action>
4181 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4182 <action function="page">action_page</action>
4183 </actions>
4184 </object>
4185
4186 <object type="text" color="%text_color%">
4187 <font resource="font" />
4188 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4189 <text>Swipe to Start Sideload</text>
4190 </object>
4191
4192 <object type="action">
4193 <touch key="home" />
4194 <action function="page">main</action>
4195 </object>
4196
4197 <object type="action">
4198 <touch key="back" />
4199 <action function="page">advanced</action>
4200 </object>
4201
4202 <object type="template" name="footer" />
4203 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004204
4205 <page name="installsu">
4206 <object type="template" name="header" />
4207
4208 <object type="text" color="%text_color%">
4209 <font resource="font" />
4210 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4211 <text>Install SuperSU?</text>
4212 </object>
4213
4214 <object type="text" color="%text_color%">
4215 <font resource="font" />
4216 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4217 <text>Your device does not appear to be rooted.</text>
4218 </object>
4219
4220 <object type="text" color="%text_color%">
4221 <font resource="font" />
4222 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4223 <text>Install SuperSU now?</text>
4224 </object>
4225
4226 <object type="text" color="%text_color%">
4227 <font resource="font" />
4228 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4229 <text>This will root your device.</text>
4230 </object>
4231
4232 <object type="button">
4233 <highlight color="%highlight_color%" />
4234 <placement x="%col_center_x%" y="%row3_y%" />
4235 <font resource="font" color="%button_text_color%" />
4236 <text>Do Not Install</text>
4237 <image resource="main_button" />
4238 <action function="set">tw_page_done=1</action>
4239 </object>
4240
4241 <object type="slider">
4242 <placement x="%slider_x%" y="%slider_y%" />
4243 <resource base="slider" used="slider-used" touch="slider-touch" />
4244 <actions>
4245 <action function="set">tw_action=installsu</action>
4246 <action function="set">tw_action_text1=Installing SuperSU</action>
4247 <action function="set">tw_action_text2=</action>
4248 <action function="page">singleaction_page</action>
4249 </actions>
4250 </object>
4251
4252 <object type="text" color="%text_color%">
4253 <font resource="font" />
4254 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4255 <text>Swipe to Install</text>
4256 </object>
4257 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004258 </pages>
4259</recovery>