blob: 718074e0fcc7f6f3c7cf349962ec67fd948602f2 [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" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500121 <variable name="warning" value="#F8F8A0" />
122 <variable name="error" value="#FF4040" />
123 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="470" />
127 <variable name="console_install_height" value="600" />
128 <variable name="console_installdone_height" value="440" />
129 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500130 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400131 <variable name="fileselector_install_height" value="750" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="3" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="2" />
138 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100142 <variable name="fastscroll_linecolor" value="#808080" />
143 <variable name="fastscroll_rectcolor" value="#808080" />
144 <variable name="fastscroll_w" value="60" />
145 <variable name="fastscroll_linew" value="2" />
146 <variable name="fastscroll_rectw" value="40" />
147 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500149 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600150 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="listbox_background" value="#303030" />
152 <variable name="listbox_spacing" value="16" />
153 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400154 <variable name="sdext_text_x" value="115" />
155 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400157 <variable name="sdswap_text_x" value="115" />
158 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400159 <variable name="sdfilesystem_text_y" value="340" />
160 <variable name="sdfilesystem_button_y" value="380" />
161 <variable name="lock_x" value="200" />
162 <variable name="lock_y" value="400" />
163 <variable name="filemanager_select_x" value="320" />
164 <variable name="filemanager_select_y" value="950" />
165 <variable name="backup_name_y" value="550" />
166 <variable name="terminal_console_height" value="600" />
167 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400168 <variable name="terminal_button_y" value="620" />
169 <variable name="row_dst_text_y" value="720" />
170 <variable name="row_offset_text_y" value="800" />
171 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500172 <variable name="button_fill_color" value="#303030" />
173 <variable name="button_fill_full_width" value="780" />
174 <variable name="button_fill_main_width" value="375" />
175 <variable name="button_fill_main_height" value="240" />
176 <variable name="button_fill_half_height" value="120" />
177 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000178 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="backup_button_row1" value="745" />
180 <variable name="backup_button_row2" value="810" />
181 <variable name="mount_list_height" value="690" />
182 <variable name="mount_storage_row" value="830" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000183 <variable name="storage_list_height" value="775" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500184 <variable name="wipe_list_height" value="670" />
185 <variable name="wipe_button_row1" value="900" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500186 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200187 <variable name="slidervalue_w" value="780" />
188 <variable name="slidervalue_line_clr" value="#FFFFFF" />
189 <variable name="slidervalue_slider_clr" value="#33B5E5" />
190 <variable name="slidervalue_lineh" value="2" />
191 <variable name="slidervalue_padding" value="20" />
192 <variable name="slidervalue_sliderw" value="10" />
193 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400194 </variables>
195
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100196 <mousecursor>
197 <placement w="15" h="15" />
198 <background color="#FFFF00FF" resource="cursor" />
199 <speed multiplier="2.5" />
200 </mousecursor>
201
Dees_Troy51a0e822012-09-05 15:24:24 -0400202 <templates>
203 <template name="header">
204 <background color="#000000FF" />
205
206 <object type="image">
207 <image resource="top_bar" />
208 <placement x="0" y="0" />
209 </object>
210
211 <object type="text" color="%text_color%">
212 <font resource="font" />
213 <placement x="120" y="10" />
214 <text>Team Win Recovery Project v%tw_version%</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <condition var1="tw_simulate_actions" var2="1" />
219 <font resource="font" />
220 <placement x="120" y="45" />
221 <text>SIMULATING ACTIONS</text>
222 </object>
223
224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="120" y="76" />
227 <text>%tw_time%</text>
228 </object>
229
230 <object type="text" color="%text_color%">
231 <font resource="font" />
232 <placement x="270" y="76" />
233 <conditions>
234 <condition var1="tw_no_battery_percent" var2="0" />
235 <condition var1="tw_battery" op=">" var2="0" />
236 <condition var1="tw_battery" op="<" var2="101" />
237 </conditions>
238 <text>Battery: %tw_battery%</text>
239 </object>
240
241 <object type="button">
242 <placement x="%home_button_x%" y="%home_button_y%" />
243 <font resource="font" color="%button_text_color%" />
244 <text></text>
245 <image resource="home_icon" />
246 <condition var1="tw_busy" var2="0" />
247 <action function="key">home</action>
248 </object>
249
250 <object type="button">
251 <placement x="%back_button_x%" y="%back_button_y%" />
252 <font resource="font" color="%button_text_color%" />
253 <text></text>
254 <image resource="back_icon" />
255 <condition var1="tw_busy" var2="0" />
256 <action function="key">back</action>
257 </object>
258
259 <object type="action">
260 <touch key="power" />
261 <action function="overlay">lock</action>
262 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100263
264 <object type="action">
265 <touch key="power+voldown" />
266 <action function="screenshot" />
267 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 </template>
269
270 <template name="progress_bar">
271 <object type="progressbar">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500273 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400274 <data name="ui_progress" />
275 </object>
276
277 <object type="animation">
278 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
279 <resource name="progress" />
280 <speed fps="15" render="2" />
281 <loop frame="1" />
282 </object>
283 </template>
284
285 <template name="sort_options">
286 <object type="text" color="%text_color%">
287 <font resource="font" />
288 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
289 <text>Sort Ascending:</text>
290 </object>
291
292 <object type="button">
293 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
294 <font resource="font" color="%button_text_color%" />
295 <text>Name</text>
296 <image resource="sort_button" />
297 <action function="set">tw_gui_sort_order=1</action>
298 </object>
299
300 <object type="button">
301 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=2</action>
306 </object>
307
308 <object type="button">
309 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
310 <font resource="font" color="%button_text_color%" />
311 <text>Size</text>
312 <image resource="sort_button" />
313 <action function="set">tw_gui_sort_order=3</action>
314 </object>
315
316 <object type="text" color="%text_color%">
317 <font resource="font" />
318 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
319 <text>Sort Descending:</text>
320 </object>
321
322 <object type="button">
323 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
324 <font resource="font" color="%button_text_color%" />
325 <text>Name</text>
326 <image resource="sort_button" />
327 <action function="set">tw_gui_sort_order=-1</action>
328 </object>
329
330 <object type="button">
331 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
332 <font resource="font" color="%button_text_color%" />
333 <text>Date</text>
334 <image resource="sort_button" />
335 <action function="set">tw_gui_sort_order=-2</action>
336 </object>
337
338 <object type="button">
339 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
340 <font resource="font" color="%button_text_color%" />
341 <text>Size</text>
342 <image resource="sort_button" />
343 <action function="set">tw_gui_sort_order=-3</action>
344 </object>
345 </template>
346
347 <template name="action_page_console">
348 <object type="console">
349 <placement x="0" y="%row3_text_y%" w="800" h="600" />
350 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
351 <font resource="fixed" />
352 </object>
353 </template>
354
355 <template name="footer">
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500356 <object type="console">
Dees_Troy51a0e822012-09-05 15:24:24 -0400357 <slideout resource="slideout" x="355" y="1220" />
358 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
359 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
360 <font resource="fixed" />
361 </object>
362 </template>
363
364 <template name="keyboardtemplate">
365 <object type="keyboard">
366 <placement x="0" y="740" />
367 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600368 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600369 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400370 <layout1>
371 <keysize height="115" width="80" />
372 <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 -0600373 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
374 <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 +0000375 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400376 </layout1>
377 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600378 <keysize height="116" width="80" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400379 <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 -0600380 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
381 <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 -0400382 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
383 </layout2>
384 <layout3>
385 <keysize height="115" width="80" />
386 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
387 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600388 <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 -0400389 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
390 </layout3>
391 <layout4>
392 <keysize height="116" width="80" />
393 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
394 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600395 <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 -0400396 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
397 </layout4>
398 </object>
399 </template>
400 </templates>
401
402 <pages>
403 <page name="main">
404 <object type="action">
405 <actions>
406 <action function="set">tw_clear_destination=main2</action>
407 <action function="page">clear_vars</action>
408 </actions>
409 </object>
410 </page>
411
412 <page name="main2">
413 <object type="template" name="header" />
414
415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <placement x="%col1_x%" y="%row1_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Install</text>
420 <image resource="main_button" />
421 <actions>
422 <action function="queueclear"></action>
423 <action function="page">install</action>
424 </actions>
425 </object>
426
427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400429 <placement x="%col2_x%" y="%row1_y%" />
430 <font resource="font" color="%button_text_color%" />
431 <text>Wipe</text>
432 <image resource="main_button" />
433 <action function="page">wipe</action>
434 </object>
435
436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400438 <placement x="%col1_x%" y="%row2_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Backup</text>
441 <image resource="main_button" />
442 <action function="page">backup</action>
443 </object>
444
445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400447 <placement x="%col2_x%" y="%row2_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Restore</text>
450 <image resource="main_button" />
451 <action function="page">restore</action>
452 </object>
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col1_x%" y="%row3_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Mount</text>
459 <image resource="main_button" />
460 <action function="page">mount</action>
461 </object>
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col2_x%" y="%row3_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Settings</text>
468 <image resource="main_button" />
469 <action function="page">settings</action>
470 </object>
471
Dees_Troyb46a6842012-09-25 11:06:46 -0400472
Dees_Troy51a0e822012-09-05 15:24:24 -0400473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <placement x="%col1_x%" y="%row4_y%" />
476 <font resource="font" color="%button_text_color%" />
477 <text>Advanced</text>
478 <image resource="main_button" />
479 <action function="page">advanced</action>
480 </object>
481
482 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600483 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400484 <placement x="%col2_x%" y="%row4_y%" />
485 <font resource="font" color="%button_text_color%" />
486 <text>Reboot</text>
487 <image resource="main_button" />
488 <action function="page">reboot</action>
489 </object>
490
491 <object type="template" name="footer" />
492 </page>
493
494 <page name="install">
495 <object type="template" name="header" />
496
497 <object type="text" color="%text_color%">
498 <font resource="font" />
499 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
500 <text>Select Zip to Install</text>
501 </object>
502
503 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500504 <highlight color="%highlight_color%" />
505 <fill color="%button_fill_color%" />
506 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
507 <font resource="font" color="%button_text_color%" />
508 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
509 <actions>
510 <action function="set">tw_back=install</action>
511 <action function="page">selectstorage</action>
512 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400513 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400514
Dees_Troy51a0e822012-09-05 15:24:24 -0400515 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600516 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500517 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400518 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100519 <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 -0400520 <text>%tw_zip_location%</text>
521 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
522 <sort name="tw_gui_sort_order" />
523 <icon folder="folder_icon" file="file_icon" />
524 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600525 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400526 <filter extn=".zip" folders="1" files="1" />
527 <path name="tw_zip_location" default="/sdcard" />
528 <data name="tw_filename" />
529 <selection name="tw_file" />
530 </object>
531
532 <object type="template" name="sort_options" />
533
534 <object type="action">
535 <condition var1="tw_filename" op="modified" />
536 <actions>
537 <action function="queuezip"></action>
538 <action function="page">flash_confirm</action>
539 </actions>
540 </object>
541
542 <object type="action">
543 <touch key="back" />
544 <action function="page">main</action>
545 </object>
546
547 <object type="action">
548 <touch key="home" />
549 <action function="page">main</action>
550 </object>
551
552 <object type="template" name="footer" />
553 </page>
554
555 <page name="flash_confirm">
556 <object type="template" name="header" />
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
561 <text>This operation may install incompatible</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
567 <text>software and render your device unusable.</text>
568 </object>
569
570 <object type="text" color="%text_color%">
571 <font resource="font" />
572 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
573 <text>Folder:</text>
574 </object>
575
576 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400577 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400578 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
579 <text>%tw_zip_location%</text>
580 </object>
581
582 <object type="text" color="%text_color%">
583 <font resource="font" />
584 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
585 <text>File to flash:</text>
586 </object>
587
588 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400589 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400590 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
591 <text>%tw_file%</text>
592 </object>
593
594 <object type="text" color="%text_color%">
595 <font resource="font" />
596 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
597 <text>Press back to cancel adding this zip.</text>
598 </object>
599
600 <object type="checkbox">
601 <placement x="%col1_x%" y="%row8_text_y%" />
602 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400603 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400604 <data variable="tw_signed_zip_verify" />
605 <image checked="checkbox_true" unchecked="checkbox_false" />
606 </object>
607
608 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <condition var1="tw_has_injecttwrp" var2="1" />
610 <placement x="%col1_x%" y="%row10_text_y%" />
611 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400612 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <data variable="tw_inject_after_zip" />
614 <image checked="checkbox_true" unchecked="checkbox_false" />
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
619 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
620 <text>File %tw_zip_queue_count% of max of 10</text>
621 </object>
622
623 <object type="slider">
624 <placement x="%slider_x%" y="%slider_y%" placement="5" />
625 <resource base="slider" used="slider-used" touch="slider-touch" />
626 <action function="flash">flash_zip</action>
627 </object>
628
629 <object type="text" color="%text_color%">
630 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400631 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400632 <text>Swipe to Confirm Flash</text>
633 </object>
634
635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400637 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
638 <placement x="%col1_x%" y="%row_queue_y%" />
639 <font resource="font" color="%button_text_color%" />
640 <text>Add More Zips</text>
641 <image resource="main_button" />
642 <action function="page">install</action>
643 </object>
644
645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400647 <placement x="%col2_x%" y="%row_queue_y%" />
648 <font resource="font" color="%button_text_color%" />
649 <text>Clear Zip Queue</text>
650 <image resource="main_button" />
651 <actions>
652 <action function="queueclear"></action>
653 <action function="page">install</action>
654 </actions>
655 </object>
656
657 <object type="action">
658 <touch key="back" />
659 <actions>
660 <action function="cancelzip"></action>
661 <action function="page">install</action>
662 </actions>
663 </object>
664
665 <object type="action">
666 <touch key="home" />
667 <action function="page">main</action>
668 </object>
669
670 <object type="template" name="footer" />
671 </page>
672
673 <page name="flash_zip">
674 <object type="template" name="header" />
675
676 <object type="console">
677 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
678 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
679 <font resource="fixed" />
680 </object>
681
682 <object type="text" color="%text_color%">
683 <font resource="font" />
684 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
685 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
686 </object>
687
688 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400689 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400690 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
691 <text>%tw_filename%</text>
692 </object>
693
694 <object type="template" name="progress_bar" />
695
696 <object type="action">
697 <condition var1="tw_operation_state" var2="1" />
698 <action function="page">flash_done</action>
699 </object>
700 </page>
701
702 <page name="flash_done">
703 <object type="template" name="header" />
704
705 <object type="text" color="%text_color%">
706 <font resource="font" />
707 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
708 <text>Zip Install Complete</text>
709 </object>
710
711 <object type="console">
712 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
713 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
714 <font resource="fixed" />
715 </object>
716
717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400719 <placement x="%col1_x%" y="%row4_y%" />
720 <font resource="font" color="%button_text_color%" />
721 <text>Wipe cache/dalvik</text>
722 <image resource="main_button" />
723 <actions>
724 <action function="set">tw_back=flash_done</action>
725 <action function="set">tw_action=wipe</action>
726 <action function="set">tw_action_param=/cache</action>
727 <action function="set">tw_has_action2=1</action>
728 <action function="set">tw_action2=wipe</action>
729 <action function="set">tw_action2_param=dalvik</action>
730 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
731 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
732 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
733 <action function="set">tw_slider_text=Swipe to Wipe</action>
734 <action function="page">confirm_action</action>
735 </actions>
736 </object>
737
738 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600739 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <placement x="%col2_x%" y="%row4_y%" />
741 <font resource="font" color="%button_text_color%" />
742 <text>Reboot System</text>
743 <image resource="main_button" />
744 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action=reboot</action>
747 <action function="set">tw_action_param=system</action>
748 <action function="set">tw_has_action2=0</action>
749 <action function="set">tw_text1=No OS Installed! Are you</action>
750 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400751 <action function="set">tw_text3=</action>
752 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400754 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <action function="set">tw_complete_text1=Rebooting...</action>
756 <action function="set">tw_slider_text=Swipe to Reboot</action>
757 <action function="page">rebootcheck</action>
758 </actions>
759 </object>
760
761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400763 <placement x="%col_center_x%" y="%row3_y%" />
764 <font resource="font" color="%button_text_color%" />
765 <text>Home</text>
766 <image resource="main_button" />
767 <actions>
768 <action function="set">tw_clear_destination=main2</action>
769 <action function="page">clear_vars</action>
770 </actions>
771 </object>
772
773 <object type="text" color="%text_fail_color%">
774 <condition var1="tw_operation_status" op="!=" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Failed</text>
778 </object>
779
780 <object type="text" color="%text_success_color%">
781 <condition var1="tw_operation_status" var2="0" />
782 <font resource="font" />
783 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
784 <text>Successful</text>
785 </object>
786
787 <object type="action">
788 <touch key="back" />
789 <actions>
790 <action function="set">tw_clear_destination=install</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </object>
794
795 <object type="action">
796 <touch key="home" />
797 <actions>
798 <action function="set">tw_clear_destination=main2</action>
799 <action function="page">clear_vars</action>
800 </actions>
801 </object>
802 </page>
803
804 <page name="clear_vars">
805 <object type="action">
806 <action function="set">tw_operation_state=0</action>
807 <action function="set">tw_text1=</action>
808 <action function="set">tw_text2=</action>
809 <action function="set">tw_text3=</action>
810 <action function="set">tw_text4=</action>
811 <action function="set">tw_action_text1=</action>
812 <action function="set">tw_action_text2=</action>
813 <action function="set">tw_action_param=</action>
814 <action function="set">tw_has_action2=0</action>
815 <action function="set">tw_action2=</action>
816 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400817 <action function="set">tw_has_cancel=0</action>
818 <action function="set">tw_cancel_action=</action>
819 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400820 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400821 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400822 <action function="page">%tw_clear_destination%</action>
823 </object>
824 </page>
825
826 <page name="confirm_action">
827 <object type="template" name="header" />
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
832 <text>%tw_text1%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
837 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
838 <text>%tw_text2%</text>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
844 <text>%tw_text3%</text>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
849 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
850 <text>%tw_text4%</text>
851 </object>
852
853 <object type="text" color="%text_color%">
854 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400855 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400856 <text>Press back button to cancel.</text>
857 </object>
858
859 <object type="slider">
860 <placement x="%slider_x%" y="%slider_y%" />
861 <resource base="slider" used="slider-used" touch="slider-touch" />
862 <action function="page">action_page</action>
863 </object>
864
865 <object type="text" color="%text_color%">
866 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400867 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400868 <text>%tw_slider_text%</text>
869 </object>
870
871 <object type="action">
872 <touch key="back" />
873 <actions>
874 <action function="set">tw_clear_destination=%tw_back%</action>
875 <action function="page">clear_vars</action>
876 </actions>
877 </object>
878
879 <object type="action">
880 <touch key="home" />
881 <action function="page">main</action>
882 </object>
883
884 <object type="template" name="footer" />
885 </page>
886
887 <page name="action_page">
888 <object type="template" name="header" />
889
890 <object type="text" color="%text_color%">
891 <font resource="font" />
892 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
893 <text>%tw_action_text1%</text>
894 </object>
895
896 <object type="text" color="%text_color%">
897 <font resource="font" />
898 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
899 <text>%tw_action_text2%</text>
900 </object>
901
902 <object type="template" name="action_page_console" />
903
Dees_Troycfb63ae2012-09-19 14:30:17 -0400904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600905 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400906 <condition var1="tw_has_cancel" var2="1" />
907 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400908 <font resource="font" color="%button_text_color%" />
909 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400910 <image resource="medium_button" />
911 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400912 </object>
913
Dees_Troycfb63ae2012-09-19 14:30:17 -0400914 <object type="template" name="progress_bar" />
915
916 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400917 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400918 <actions>
919 <action function="page">action_complete</action>
920 </actions>
921 </object>
922
923 <object type="action">
924 <condition var1="tw_has_action2" var2="0" />
925 <actions>
926 <action function="%tw_action%">%tw_action_param%</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="1" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 <action function="%tw_action2%">%tw_action2_param%</action>
935 </actions>
936 </object>
937 </page>
938
Dees_Troy6ef66352013-02-21 08:26:57 -0600939 <page name="singleaction_page">
940 <object type="template" name="header" />
941
942 <object type="text" color="%text_color%">
943 <font resource="font" />
944 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
945 <text>%tw_action_text1%</text>
946 </object>
947
948 <object type="text" color="%text_color%">
949 <font resource="font" />
950 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
951 <text>%tw_action_text2%</text>
952 </object>
953
954 <object type="template" name="action_page_console" />
955
956 <object type="template" name="progress_bar" />
957
958 <object type="action">
959 <condition var1="tw_operation_state" var2="1" />
960 <actions>
961 <action function="set">tw_page_done=1</action>
962 </actions>
963 </object>
964
965 <object type="action">
966 <condition var1="tw_has_action2" var2="0" />
967 <actions>
968 <action function="%tw_action%">%tw_action_param%</action>
969 </actions>
970 </object>
971
972 <object type="action">
973 <condition var1="tw_has_action2" var2="1" />
974 <actions>
975 <action function="%tw_action%">%tw_action_param%</action>
976 <action function="%tw_action2%">%tw_action2_param%</action>
977 </actions>
978 </object>
979 </page>
980
Dees_Troy51a0e822012-09-05 15:24:24 -0400981 <page name="action_complete">
982 <object type="template" name="header" />
983
984 <object type="text" color="%text_color%">
985 <font resource="font" />
986 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
987 <text>%tw_complete_text1%</text>
988 </object>
989
990 <object type="text" color="%text_fail_color%">
991 <condition var1="tw_operation_status" op="!=" var2="0" />
992 <font resource="font" />
993 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
994 <text>Failed</text>
995 </object>
996
997 <object type="text" color="%text_success_color%">
998 <condition var1="tw_operation_status" var2="0" />
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1001 <text>Successful</text>
1002 </object>
1003
1004 <object type="template" name="action_page_console" />
1005
1006 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001007 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001008 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001009 <placement x="%col_center_x%" y="%row4_y%" />
1010 <font resource="font" color="%button_text_color%" />
1011 <text>Back</text>
1012 <image resource="main_button" />
1013 <actions>
1014 <action function="set">tw_clear_destination=%tw_back%</action>
1015 <action function="page">clear_vars</action>
1016 </actions>
1017 </object>
1018
Dees_Troya3f81542012-10-08 10:58:53 -04001019 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001020 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001021 <condition var1="tw_show_reboot" var2="1" />
1022 <placement x="%col_center_x%" y="%row4_y%" />
1023 <font resource="font" color="%button_text_color%" />
1024 <text>Reboot System</text>
1025 <image resource="main_button" />
1026 <actions>
1027 <action function="set">tw_back=main2</action>
1028 <action function="set">tw_action=reboot</action>
1029 <action function="set">tw_action_param=system</action>
1030 <action function="set">tw_has_action2=0</action>
1031 <action function="set">tw_text1=No OS Installed! Are you</action>
1032 <action function="set">tw_text2=sure you wish to reboot?</action>
1033 <action function="set">tw_text3=</action>
1034 <action function="set">tw_text4=</action>
1035 <action function="set">tw_action_text1=Rebooting...</action>
1036 <action function="set">tw_action_text2=</action>
1037 <action function="set">tw_complete_text1=Rebooting...</action>
1038 <action function="set">tw_slider_text=Swipe to Reboot</action>
1039 <action function="page">rebootcheck</action>
1040 </actions>
1041 </object>
1042
Dees_Troy51a0e822012-09-05 15:24:24 -04001043 <object type="action">
1044 <touch key="home" />
1045 <actions>
1046 <action function="set">tw_clear_destination=main2</action>
1047 <action function="page">clear_vars</action>
1048 </actions>
1049 </object>
1050
1051 <object type="action">
1052 <touch key="back" />
1053 <actions>
1054 <action function="set">tw_clear_destination=%tw_back%</action>
1055 <action function="page">clear_vars</action>
1056 </actions>
1057 </object>
1058 </page>
1059
1060 <page name="filecheck">
1061 <object type="action">
1062 <action function="fileexists">%tw_filecheck%</action>
1063 </object>
1064
1065 <object type="action">
1066 <conditions>
1067 <condition var1="tw_operation_state" var2="1" />
1068 <condition var1="tw_operation_status" var2="0" />
1069 </conditions>
1070 <actions>
1071 <action function="set">tw_fileexists=1</action>
1072 <action function="page">%tw_existpage%</action>
1073 </actions>
1074 </object>
1075
1076 <object type="action">
1077 <conditions>
1078 <condition var1="tw_operation_state" var2="1" />
1079 <condition var1="tw_operation_status" var2="1" />
1080 </conditions>
1081 <actions>
1082 <action function="set">tw_fileexists=0</action>
1083 <action function="page">%tw_notexistpage%</action>
1084 </actions>
1085 </object>
1086 </page>
1087
1088 <page name="rebootcheck">
1089 <object type="action">
1090 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1091 <action function="reboot">%tw_action_param%</action>
1092 </object>
1093
1094 <object type="action">
1095 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1096 <action function="page">confirm_action</action>
1097 </object>
1098 </page>
1099
1100 <page name="wipe">
1101 <object type="template" name="header" />
1102
1103 <object type="text" color="%text_color%">
1104 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001105 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001106 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <font resource="font" />
1111 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1112 <text>Wipes Data, Cache, and Dalvik</text>
1113 </object>
1114
1115 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001116 <conditions>
1117 <condition var1="tw_has_android_secure" var2="1" />
1118 <condition var1="fileexists" var2="/and-sec" />
1119 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001120 <font resource="font" />
1121 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1122 <text>.android_secure</text>
1123 </object>
1124
1125 <object type="text" color="%text_color%">
1126 <condition var1="tw_has_data_media" var2="1" />
1127 <font resource="font" />
1128 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1129 <text>(not including internal storage)</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <condition var1="tw_has_sdext_partition" var2="1" />
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1136 <text>SD-EXT</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <font resource="font" />
1141 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1142 <text>Most of the time this is</text>
1143 </object>
1144
1145 <object type="text" color="%text_color%">
1146 <font resource="font" />
1147 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1148 <text>the only wipe that you need.</text>
1149 </object>
1150
1151 <object type="text" color="%text_color%">
1152 <font resource="font" />
1153 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1154 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 </object>
1156
1157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001158 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001159 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001161 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001163 <actions>
1164 <action function="set">partitionlisterror=0</action>
1165 <action function="page">advancedwipe</action>
1166 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001167 </object>
1168
1169 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001170 <conditions>
1171 <condition var1="tw_has_internal" var2="1" />
1172 <condition var1="tw_has_data_media" var2="1" />
1173 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001174 <highlight color="%highlight_color%" />
1175 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001176 <font resource="font" color="%button_text_color%" />
1177 <text>Format Data</text>
1178 <image resource="main_button" />
1179 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001180 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001181 </actions>
1182 </object>
1183
Dees_Troya13d74f2013-03-24 08:54:55 -05001184 <object type="slider">
1185 <placement x="%slider_x%" y="%slider_y%" />
1186 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001187 <actions>
1188 <action function="set">tw_back=wipe</action>
1189 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001190 <action function="set">tw_action_param=data</action>
1191 <action function="set">tw_action_text1=Factory Reset...</action>
1192 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1193 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001194 </actions>
1195 </object>
1196
Dees_Troya13d74f2013-03-24 08:54:55 -05001197 <object type="text" color="%text_color%">
1198 <font resource="font" />
1199 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1200 <text>Swipe to Factory Reset</text>
1201 </object>
1202
1203 <object type="action">
1204 <touch key="back" />
1205 <action function="page">main</action>
1206 </object>
1207
1208 <object type="action">
1209 <touch key="home" />
1210 <action function="page">main</action>
1211 </object>
1212
1213 <object type="template" name="footer" />
1214 </page>
1215
1216 <page name="advancedwipe">
1217 <object type="template" name="header" />
1218
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001219 <object type="action">
1220 <action function="set">tw_wipe_list=</action>
1221 </object>
1222
Dees_Troya13d74f2013-03-24 08:54:55 -05001223 <object type="text" color="%text_color%">
1224 <font resource="font" />
1225 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1226 <text>Wipe Menu</text>
1227 </object>
1228
1229 <object type="partitionlist">
1230 <highlight color="%fileselector_highlight_color%" />
1231 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1232 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1233 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1234 <text>Select Partitions to Wipe:</text>
1235 <icon selected="checkbox_true" unselected="checkbox_false" />
1236 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1237 <background color="%listbox_background%" />
1238 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1239 <data name="tw_wipe_list" />
1240 <listtype name="wipe" />
1241 </object>
1242
1243 <object type="slider">
1244 <placement x="%slider_x%" y="%slider_y%" />
1245 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001246 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001247 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001248 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001249 <action function="set">tw_action_param=LIST</action>
1250 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1251 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1252 <action function="set">tw_complete_text1=Wipe Complete</action>
1253 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001254 </actions>
1255 </object>
1256
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001257 <object type="button">
1258 <highlight color="%highlight_color%" />
1259 <fill color="%button_fill_color%" />
1260 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1261 <font resource="font" color="%button_text_color%" />
1262 <text>Repair or Change File System</text>
1263 <actions>
1264 <action function="checkpartitionlist"></action>
1265 <action function="page">checkpartitionlist</action>
1266 </actions>
1267 </object>
1268
1269 <object type="text" color="%text_fail_color%">
1270 <condition var1="partitionlisterror" var2="1" />
1271 <font resource="font" />
1272 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1273 <text>Invalid partition selection</text>
1274 </object>
1275
Dees_Troya13d74f2013-03-24 08:54:55 -05001276 <object type="text" color="%text_color%">
1277 <font resource="font" />
1278 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1279 <text>Swipe to Wipe</text>
1280 </object>
1281
Dees_Troy51a0e822012-09-05 15:24:24 -04001282 <object type="action">
1283 <touch key="home" />
1284 <action function="page">main</action>
1285 </object>
1286
1287 <object type="action">
1288 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001289 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001290 </object>
1291
1292 <object type="template" name="footer" />
1293 </page>
1294
Dees_Troya13d74f2013-03-24 08:54:55 -05001295 <page name="formatdata">
1296 <object type="template" name="header" />
1297
1298 <object type="text" color="%text_color%">
1299 <font resource="font" />
1300 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1301 <text>Format Data will wipe all of your apps,</text>
1302 </object>
1303
1304 <object type="text" color="%text_color%">
1305 <font resource="font" />
1306 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1307 <text>backups, pictures, videos, media, and</text>
1308 </object>
1309
1310 <object type="text" color="%text_color%">
1311 <font resource="font" />
1312 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1313 <text>removes encryption on internal storage.</text>
1314 </object>
1315
1316 <object type="text" color="%text_color%">
1317 <font resource="font" />
1318 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1319 <text>This cannot be undone. Press back to cancel.</text>
1320 </object>
1321
1322 <object type="text" color="%text_color%">
1323 <font resource="font" />
1324 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1325 <text>Type yes to continue.</text>
1326 </object>
1327
1328 <object type="input">
1329 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1330 <background color="%input_background_color%" />
1331 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1332 <font resource="font" color="%text_color%" />
1333 <text>%tw_confirm_formatdata%</text>
1334 <data name="tw_confirm_formatdata" />
1335 <restrict minlen="3" maxlen="3" allow="yes" />
1336 <action function="page">formatdata_confirm</action>
1337 </object>
1338
1339 <object type="template" name="keyboardtemplate" />
1340
1341 <object type="action">
1342 <touch key="home" />
1343 <action function="page">main</action>
1344 </object>
1345
1346 <object type="action">
1347 <touch key="back" />
1348 <action function="page">wipe</action>
1349 </object>
1350
1351 <object type="template" name="footer" />
1352 </page>
1353
1354 <page name="formatdata_confirm">
1355 <object type="action">
1356 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1357 <actions>
1358 <action function="set">tw_back=formatdata</action>
1359 <action function="set">tw_action=wipe</action>
1360 <action function="set">tw_action_param=DATAMEDIA</action>
1361 <action function="set">tw_action_text1=Formatting Data...</action>
1362 <action function="set">tw_complete_text1=Data Format Complete</action>
1363 <action function="page">action_page</action>
1364 </actions>
1365 </object>
1366
1367 <object type="action">
1368 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1369 <action function="page">formatdata</function>
1370 </object>
1371 </page>
1372
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001373 <page name="checkpartitionlist">
1374 <object type="action">
1375 <condition var1="tw_check_partition_list" op="=" var2="1" />
1376 <actions>
1377 <action function="set">partitionlisterror=0</action>
1378 <action function="getpartitiondetails"></action>
1379 <action function="page">partitionoptions</action>
1380 </actions>
1381 </object>
1382
1383 <object type="action">
1384 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1385 <actions>
1386 <action function="set">partitionlisterror=1</action>
1387 <action function="set">tw_wipe_list=</action>
1388 <action function="page">advancedwipe</action>
1389 </actions>
1390 </object>
1391 </page>
1392
1393 <page name="partitionoptions">
1394 <object type="template" name="header" />
1395
1396 <object type="text" color="%text_color%">
1397 <font resource="font" />
1398 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1399 <text>Partition Options for: %tw_partition_name%</text>
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <font resource="font" />
1404 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1405 <text>Mount Point: %tw_partition_mount_point%</text>
1406 </object>
1407
1408 <object type="text" color="%text_color%">
1409 <font resource="font" />
1410 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1411 <text>Current file system: %tw_partition_file_system%</text>
1412 </object>
1413
1414 <object type="text" color="%text_color%">
1415 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1416 <font resource="font" />
1417 <placement x="%col1_x%" y="%row3_text_y%" />
1418 <text>Present: Yes</text>
1419 </object>
1420
1421 <object type="text" color="%text_color%">
1422 <condition var1="tw_partition_is_present" op="=" var2="0" />
1423 <font resource="font" />
1424 <placement x="%col1_x%" y="%row3_text_y%" />
1425 <text>Present: No</text>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <condition var1="tw_partition_removable" op="!=" var2="0" />
1430 <font resource="font" />
1431 <placement x="%col2_x%" y="%row3_text_y%" />
1432 <text>Removable: Yes</text>
1433 </object>
1434
1435 <object type="text" color="%text_color%">
1436 <condition var1="tw_partition_removable" op="=" var2="0" />
1437 <font resource="font" />
1438 <placement x="%col2_x%" y="%row3_text_y%" />
1439 <text>Removable: No</text>
1440 </object>
1441
1442 <object type="text" color="%text_color%">
1443 <font resource="font" />
1444 <placement x="%col1_x%" y="%row4_text_y%" />
1445 <text>Size: %tw_partition_size%MB</text>
1446 </object>
1447
1448 <object type="text" color="%text_color%">
1449 <font resource="font" />
1450 <placement x="%col2_x%" y="%row4_text_y%" />
1451 <text>Used: %tw_partition_used%MB</text>
1452 </object>
1453
1454 <object type="text" color="%text_color%">
1455 <font resource="font" />
1456 <placement x="%col1_x%" y="%row5_text_y%" />
1457 <text>Free: %tw_partition_free%MB</text>
1458 </object>
1459
1460 <object type="text" color="%text_color%">
1461 <font resource="font" />
1462 <placement x="%col2_x%" y="%row5_text_y%" />
1463 <text>Backup Size: %tw_partition_backup_size%MB</text>
1464 </object>
1465
1466 <object type="button">
1467 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1468 <highlight color="%highlight_color%" />
1469 <placement x="%col1_x%" y="%row4_y%" />
1470 <font resource="font" color="%button_text_color%" />
1471 <text>Repair</text>
1472 <image resource="main_button" />
1473 <actions>
1474 <action function="set">tw_back=partitionoptions</action>
1475 <action function="set">tw_action=repair</action>
1476 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1477 <action function="set">tw_has_action2=0</action>
1478 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1479 <action function="set">tw_text2=</action>
1480 <action function="set">tw_action_text1=Repairing...</action>
1481 <action function="set">tw_complete_text1=Repair Complete</action>
1482 <action function="set">tw_slider_text=Swipe to Repair</action>
1483 <action function="page">confirm_action</action>
1484 </actions>
1485 </object>
1486
1487 <object type="button">
1488 <highlight color="%highlight_color%" />
1489 <placement x="%col2_x%" y="%row4_y%" />
1490 <font resource="font" color="%button_text_color%" />
1491 <text>Change File System</text>
1492 <image resource="main_button" />
1493 <action function="page">selectfilesystem</action>
1494 </object>
1495
1496 <object type="action">
1497 <touch key="home" />
1498 <action function="page">main</action>
1499 </object>
1500
1501 <object type="action">
1502 <touch key="back" />
1503 <action function="page">advancedwipe</action>
1504 </object>
1505
1506 <object type="template" name="footer" />
1507 </page>
1508
1509 <page name="selectfilesystem">
1510 <object type="template" name="header" />
1511
1512 <object type="text" color="%text_color%">
1513 <font resource="font" />
1514 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1515 <text>Change file system for: %tw_partition_name%</text>
1516 </object>
1517
1518 <object type="text" color="%text_color%">
1519 <font resource="font" />
1520 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1521 <text>Mount Point: %tw_partition_mount_point%</text>
1522 </object>
1523
1524 <object type="text" color="%text_color%">
1525 <font resource="font" />
1526 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1527 <text>Current file system: %tw_partition_file_system%</text>
1528 </object>
1529
1530 <object type="text" color="%text_color%">
1531 <font resource="font" />
1532 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1533 <text>Some ROMs or kernels may not support some</text>
1534 </object>
1535
1536 <object type="text" color="%text_color%">
1537 <font resource="font" />
1538 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1539 <text>file systems. Proceed with caution!</text>
1540 </object>
1541
1542 <object type="button">
1543 <condition var1="tw_partition_ext" op="=" var2="1" />
1544 <highlight color="%highlight_color%" />
1545 <placement x="%col1_x%" y="%row2_y%" />
1546 <font resource="font" color="%button_text_color%" />
1547 <text>EXT2</text>
1548 <image resource="main_button" />
1549 <actions>
1550 <action function="set">tw_back=selectfilesystem</action>
1551 <action function="set">tw_action=changefilesystem</action>
1552 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1553 <action function="set">tw_action_new_file_system=ext2</action>
1554 <action function="set">tw_has_action2=0</action>
1555 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1556 <action function="set">tw_text2=</action>
1557 <action function="set">tw_action_text1=Formatting...</action>
1558 <action function="set">tw_complete_text1=Format Complete</action>
1559 <action function="set">tw_slider_text=Swipe to Change</action>
1560 <action function="page">confirm_action</action>
1561 </actions>
1562 </object>
1563
1564 <object type="button">
1565 <condition var1="tw_partition_ext" op="=" var2="1" />
1566 <highlight color="%highlight_color%" />
1567 <placement x="%col2_x%" y="%row2_y%" />
1568 <font resource="font" color="%button_text_color%" />
1569 <text>EXT3</text>
1570 <image resource="main_button" />
1571 <actions>
1572 <action function="set">tw_back=selectfilesystem</action>
1573 <action function="set">tw_action=changefilesystem</action>
1574 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1575 <action function="set">tw_action_new_file_system=ext3</action>
1576 <action function="set">tw_has_action2=0</action>
1577 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1578 <action function="set">tw_text2=</action>
1579 <action function="set">tw_action_text1=Formatting...</action>
1580 <action function="set">tw_complete_text1=Format Complete</action>
1581 <action function="set">tw_slider_text=Swipe to Change</action>
1582 <action function="page">confirm_action</action>
1583 </actions>
1584 </object>
1585
1586 <object type="button">
1587 <condition var1="tw_partition_ext" op="=" var2="1" />
1588 <highlight color="%highlight_color%" />
1589 <placement x="%col1_x%" y="%row3_y%" />
1590 <font resource="font" color="%button_text_color%" />
1591 <text>EXT4</text>
1592 <image resource="main_button" />
1593 <actions>
1594 <action function="set">tw_back=selectfilesystem</action>
1595 <action function="set">tw_action=changefilesystem</action>
1596 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1597 <action function="set">tw_action_new_file_system=ext4</action>
1598 <action function="set">tw_has_action2=0</action>
1599 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1600 <action function="set">tw_text2=</action>
1601 <action function="set">tw_action_text1=Formatting...</action>
1602 <action function="set">tw_complete_text1=Format Complete</action>
1603 <action function="set">tw_slider_text=Swipe to Change</action>
1604 <action function="page">confirm_action</action>
1605 </actions>
1606 </object>
1607
1608 <object type="button">
1609 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1610 <highlight color="%highlight_color%" />
1611 <placement x="%col2_x%" y="%row3_y%" />
1612 <font resource="font" color="%button_text_color%" />
1613 <text>F2FS</text>
1614 <image resource="main_button" />
1615 <actions>
1616 <action function="set">tw_back=selectfilesystem</action>
1617 <action function="set">tw_action=changefilesystem</action>
1618 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1619 <action function="set">tw_action_new_file_system=f2fs</action>
1620 <action function="set">tw_has_action2=0</action>
1621 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1622 <action function="set">tw_text2=</action>
1623 <action function="set">tw_action_text1=Formatting...</action>
1624 <action function="set">tw_complete_text1=Format Complete</action>
1625 <action function="set">tw_slider_text=Swipe to Change</action>
1626 <action function="page">confirm_action</action>
1627 </actions>
1628 </object>
1629
1630 <object type="button">
1631 <condition var1="tw_partition_vfat" op="=" var2="1" />
1632 <highlight color="%highlight_color%" />
1633 <placement x="%col1_x%" y="%row4_y%" />
1634 <font resource="font" color="%button_text_color%" />
1635 <text>FAT</text>
1636 <image resource="main_button" />
1637 <actions>
1638 <action function="set">tw_back=selectfilesystem</action>
1639 <action function="set">tw_action=changefilesystem</action>
1640 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1641 <action function="set">tw_action_new_file_system=vfat</action>
1642 <action function="set">tw_has_action2=0</action>
1643 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1644 <action function="set">tw_text2=</action>
1645 <action function="set">tw_action_text1=Formatting...</action>
1646 <action function="set">tw_complete_text1=Format Complete</action>
1647 <action function="set">tw_slider_text=Swipe to Change</action>
1648 <action function="page">confirm_action</action>
1649 </actions>
1650 </object>
1651
1652 <object type="button">
1653 <condition var1="tw_partition_exfat" op="=" var2="1" />
1654 <highlight color="%highlight_color%" />
1655 <placement x="%col2_x%" y="%row4_y%" />
1656 <font resource="font" color="%button_text_color%" />
1657 <text>exFAT</text>
1658 <image resource="main_button" />
1659 <actions>
1660 <action function="set">tw_back=selectfilesystem</action>
1661 <action function="set">tw_action=changefilesystem</action>
1662 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1663 <action function="set">tw_action_new_file_system=exfat</action>
1664 <action function="set">tw_has_action2=0</action>
1665 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1666 <action function="set">tw_text2=</action>
1667 <action function="set">tw_action_text1=Formatting...</action>
1668 <action function="set">tw_complete_text1=Format Complete</action>
1669 <action function="set">tw_slider_text=Swipe to Change</action>
1670 <action function="page">confirm_action</action>
1671 </actions>
1672 </object>
1673
1674 <object type="action">
1675 <touch key="home" />
1676 <action function="page">main</action>
1677 </object>
1678
1679 <object type="action">
1680 <touch key="back" />
1681 <action function="page">partitionoptions</action>
1682 </object>
1683
1684 <object type="template" name="footer" />
1685 </page>
1686
Dees_Troy51a0e822012-09-05 15:24:24 -04001687 <page name="backup">
1688 <object type="template" name="header" />
1689
Dees_Troy83bd4832013-05-04 12:39:56 +00001690 <object type="button">
1691 <highlight color="%highlight_color%" />
1692 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001693 <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 +00001694 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001695 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001696 <actions>
1697 <action function="set">tw_fileexists=0</action>
1698 <action function="page">backupname1</action>
1699 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001700 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001701
Dees_Troya13d74f2013-03-24 08:54:55 -05001702 <object type="partitionlist">
1703 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001704 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001705 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1706 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1707 <text>Select Partitions to Back Up:</text>
1708 <icon selected="checkbox_true" unselected="checkbox_false" />
1709 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1710 <background color="%listbox_background%" />
1711 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1712 <data name="tw_backup_list" />
1713 <listtype name="backup" />
1714 </object>
1715
1716 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001717 <conditions>
1718 <condition var1="tw_include_encrypted_backup" var2="1" />
1719 <condition var1="tw_encrypt_backup" var2="0" />
1720 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001721 <highlight color="%highlight_color%" />
1722 <fill color="%button_fill_color%" />
1723 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1724 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001725 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001726 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001727 <action function="page">backupencryption</action>
1728 </actions>
1729 </object>
1730
1731 <object type="button">
1732 <conditions>
1733 <condition var1="tw_include_encrypted_backup" var2="1" />
1734 <condition var1="tw_encrypt_backup" var2="1" />
1735 </conditions>
1736 <highlight color="%highlight_color%" />
1737 <fill color="%button_fill_color%" />
1738 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1739 <font resource="font" color="%button_text_color%" />
1740 <text>Using Encryption</text>
1741 <actions>
1742 <action function="set">tw_password_not_match=0</action>
1743 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001744 </actions>
1745 </object>
1746
1747 <object type="button">
1748 <highlight color="%highlight_color%" />
1749 <fill color="%button_fill_color%" />
1750 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1751 <font resource="font" color="%button_text_color%" />
1752 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001753 <actions>
1754 <action function="refreshsizes"></action>
1755 <action function="page">backup</action>
1756 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001757 </object>
1758
1759 <object type="button">
1760 <highlight color="%highlight_color%" />
1761 <fill color="%button_fill_color%" />
1762 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1763 <font resource="font" color="%button_text_color%" />
1764 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1765 <actions>
1766 <action function="set">tw_back=backup</action>
1767 <action function="page">selectstorage</action>
1768 </actions>
1769 </object>
1770
1771 <object type="checkbox">
1772 <placement x="%col1_x%" y="%row15_text_y%" />
1773 <font resource="font" color="%text_color%" />
1774 <text>Enable compression.</text>
1775 <data variable="tw_use_compression" />
1776 <image checked="checkbox_true" unchecked="checkbox_false" />
1777 </object>
1778
1779 <object type="checkbox">
1780 <placement x="%col1_x%" y="%row16_text_y%" />
1781 <font resource="font" color="%text_color%" />
1782 <text>Skip MD5 generation during backup.</text>
1783 <data variable="tw_skip_md5_generate" />
1784 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001785 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001786
Dees_Troyb46a6842012-09-25 11:06:46 -04001787 <object type="slider">
1788 <placement x="%slider_x%" y="slider_y" />
1789 <resource base="slider" used="slider-used" touch="slider-touch" />
1790 <action function="page">backup_run</action>
1791 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001792
1793 <object type="text" color="%text_color%">
1794 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001795 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001796 <text>Swipe to Back Up</text>
1797 </object>
1798
Dees_Troy51a0e822012-09-05 15:24:24 -04001799 <object type="action">
1800 <touch key="home" />
1801 <action function="page">main</action>
1802 </object>
1803
1804 <object type="action">
1805 <touch key="back" />
1806 <action function="page">main</action>
1807 </object>
1808
1809 <object type="template" name="footer" />
1810 </page>
1811
1812 <page name="backupname1">
1813 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001814 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1815 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001816 </object>
1817
1818 <object type="action">
1819 <action function="page">backupname2</function>
1820 </object>
1821 </page>
1822
1823 <page name="backupname2">
1824 <object type="template" name="header" />
1825
1826 <object type="text" color="%text_color%">
1827 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1828 <font resource="font" />
1829 <text>Please Enter a Backup Name</text>
1830 </object>
1831
1832 <object type="input">
1833 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1834 <background color="%input_background_color%" />
1835 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1836 <font resource="font" color="%text_color%" />
1837 <text>%tw_backup_name%</text>
1838 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001839 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001840 <actions>
1841 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1842 <action function="set">tw_existpage=backupname2</action>
1843 <action function="set">tw_notexistpage=backup</action>
1844 <action function="page">filecheck</action>
1845 </actions>
1846 </object>
1847
1848 <object type="text" color="%text_fail_color%">
1849 <condition var1="tw_fileexists" var2="1" />
1850 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1851 <font resource="font" />
1852 <text>A backup with that name already exists!</text>
1853 </object>
1854
Dees_Troyb46a6842012-09-25 11:06:46 -04001855 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001856 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001857 <placement x="%col1_x%" y="%row2_y%" />
1858 <font resource="font" color="%button_text_color%" />
1859 <text>Append Date</text>
1860 <image resource="main_button" />
1861 <action function="appenddatetobackupname"></action>
1862 </object>
1863
1864 <object type="button">
1865 <highlight color="%highlight_color%" />
1866 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001867 <font resource="font" color="%button_text_color%" />
1868 <text>Cancel</text>
1869 <image resource="main_button" />
1870 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001871 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001872 <action function="page">backup</action>
1873 </actions>
1874 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001875
1876 <object type="template" name="keyboardtemplate" />
1877
Dees_Troyb46a6842012-09-25 11:06:46 -04001878 <object type="action">
1879 <touch key="home" />
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">main</action>
1883 </actions>
1884 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001885
Dees_Troyb46a6842012-09-25 11:06:46 -04001886 <object type="action">
1887 <touch key="back" />
1888 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001889 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001890 <action function="page">backup</action>
1891 </actions>
1892 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001893
1894 <object type="template" name="footer" />
1895 </page>
1896
Dees_Troy83bd4832013-05-04 12:39:56 +00001897 <page name="backupencryption">
1898 <object type="template" name="header" />
1899
1900 <object type="text" color="%text_color%">
1901 <font resource="font" />
1902 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1903 <text>Encrypt your backup?</text>
1904 </object>
1905
1906 <object type="text" color="%text_color%">
1907 <font resource="font" />
1908 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1909 <text>Please Enter A Password:</text>
1910 </object>
1911
1912 <object type="input">
1913 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1914 <background color="%input_background_color%" />
1915 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1916 <font resource="font" color="%text_color%" />
1917 <text>%tw_backup_encrypt_display%</text>
1918 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1919 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1920 <action function="page">backupencryption2</action>
1921 </object>
1922
1923 <object type="text" color="%text_fail_color%">
1924 <condition var1="tw_password_not_match" var2="1" />
1925 <font resource="font" />
1926 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1927 <text>Passwords Do Not Match</text>
1928 </object>
1929
1930 <object type="button">
1931 <highlight color="%highlight_color%" />
1932 <placement x="%col_center_x%" y="%row2_y%" />
1933 <font resource="font" color="%button_text_color%" />
1934 <text>Cancel</text>
1935 <image resource="main_button" />
1936 <actions>
1937 <action function="set">tw_encrypt_backup=0</action>
1938 <action function="set">tw_backup_password=</action>
1939 <action function="set">tw_backup_password2=</action>
1940 <action function="set">tw_backup_encrypt_display=</action>
1941 <action function="set">tw_backup_encrypt_display2=</action>
1942 <action function="page">backup</action>
1943 </actions>
1944 </object>
1945
1946 <object type="template" name="keyboardtemplate" />
1947
1948 <object type="action">
1949 <touch key="home" />
1950 <action function="page">main</action>
1951 </object>
1952
1953 <object type="action">
1954 <touch key="back" />
1955 <action function="page">backup</action>
1956 </object>
1957
1958 <object type="template" name="footer" />
1959 </page>
1960
1961 <page name="backupencryption2">
1962 <object type="template" name="header" />
1963
1964 <object type="text" color="%text_color%">
1965 <font resource="font" />
1966 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1967 <text>Encrypt your backup?</text>
1968 </object>
1969
1970 <object type="text" color="%text_color%">
1971 <font resource="font" />
1972 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1973 <text>Please Enter Password Again:</text>
1974 </object>
1975
1976 <object type="input">
1977 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1978 <background color="%input_background_color%" />
1979 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1980 <font resource="font" color="%text_color%" />
1981 <text>%tw_backup_encrypt_display2%</text>
1982 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1983 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1984 <actions>
1985 <action function="page">checkbackuppassword</action>
1986 </actions>
1987 </object>
1988
1989 <object type="button">
1990 <highlight color="%highlight_color%" />
1991 <placement x="%col_center_x%" y="%row2_y%" />
1992 <font resource="font" color="%button_text_color%" />
1993 <text>Cancel</text>
1994 <image resource="main_button" />
1995 <actions>
1996 <action function="set">tw_encrypt_backup=0</action>
1997 <action function="set">tw_backup_password=</action>
1998 <action function="set">tw_backup_password2=</action>
1999 <action function="set">tw_backup_encrypt_display=</action>
2000 <action function="set">tw_backup_encrypt_display2=</action>
2001 <action function="page">backup</action>
2002 </actions>
2003 </object>
2004
2005 <object type="template" name="keyboardtemplate" />
2006
2007 <object type="action">
2008 <touch key="home" />
2009 <action function="page">main</action>
2010 </object>
2011
2012 <object type="action">
2013 <touch key="back" />
2014 <action function="page">backup</action>
2015 </object>
2016
2017 <object type="template" name="footer" />
2018 </page>
2019
2020 <page name="checkbackuppassword">
2021 <object type="action">
2022 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2023 <actions>
2024 <action function="set">tw_encrypt_backup=1</action>
2025 <action function="page">backup</action>
2026 </actions>
2027 </object>
2028
2029 <object type="action">
2030 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2031 <actions>
2032 <action function="set">tw_encrypt_backup=0</action>
2033 <action function="set">tw_password_not_match=1</action>
2034 <action function="set">tw_backup_password=</action>
2035 <action function="set">tw_backup_password2=</action>
2036 <action function="set">tw_backup_encrypt_display=</action>
2037 <action function="set">tw_backup_encrypt_display2=</action>
2038 <action function="page">backupencryption</action>
2039 </actions>
2040 </object>
2041 </page>
2042
Dees_Troy51a0e822012-09-05 15:24:24 -04002043 <page name="backup_run">
2044 <object type="template" name="header" />
2045
2046 <object type="text" color="%text_color%">
2047 <font resource="font" />
2048 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2049 <text>%tw_operation% %tw_partition%</text>
2050 </object>
2051
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002052 <object type="text" color="%text_color%">
2053 <font resource="font" />
2054 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2055 <text>%tw_file_progress%</text>
2056 </object>
2057
2058 <object type="text" color="%text_color%">
2059 <font resource="font" />
2060 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2061 <text>%tw_size_progress%</text>
2062 </object>
2063
Dees_Troy51a0e822012-09-05 15:24:24 -04002064 <object type="template" name="action_page_console" />
2065
2066 <object type="template" name="progress_bar" />
2067
2068 <object type="action">
2069 <action function="nandroid">backup</action>
2070 </object>
2071
2072 <object type="action">
2073 <condition var1="tw_operation_state" var2="1" />
2074 <actions>
2075 <action function="set">tw_back=backup</action>
2076 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002077 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002078 <action function="page">action_complete</action>
2079 </actions>
2080 </object>
2081 </page>
2082
2083 <page name="restore">
2084 <object type="template" name="header" />
2085
2086 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002087 <highlight color="%highlight_color%" />
2088 <fill color="%button_fill_color%" />
2089 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2090 <font resource="font" color="%button_text_color%" />
2091 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2092 <actions>
2093 <action function="set">tw_back=restore</action>
2094 <action function="page">selectstorage</action>
2095 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002096 </object>
2097
2098 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002099 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002100 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002101 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002102 <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 -04002103 <text>Select Package to Restore:</text>
2104 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2105 <sort name="tw_gui_sort_order" />
2106 <icon folder="folder_icon" file="file_icon" />
2107 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002108 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002109 <filter folders="1" files="0" nav="0" />
2110 <path name="tw_backups_folder" />
2111 <data name="tw_restore" default="" />
2112 <selection name="tw_restore_name" />
2113 </object>
2114
2115 <object type="template" name="sort_options" />
2116
2117 <object type="action">
2118 <condition var1="tw_restore" op="modified" />
2119 <actions>
2120 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002121 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002122 </actions>
2123 </object>
2124
2125 <object type="action">
2126 <touch key="home" />
2127 <action function="page">main</action>
2128 </object>
2129
2130 <object type="action">
2131 <touch key="back" />
2132 <action function="page">main</action>
2133 </object>
2134
2135 <object type="template" name="footer" />
2136 </page>
2137
Dees_Troy83bd4832013-05-04 12:39:56 +00002138 <page name="restore_read">
2139 <object type="action">
2140 <condition var1="tw_restore_encrypted" var2="1" />
2141 <actions>
2142 <action function="set">tw_password_fail=0</action>
2143 <action function="page">restore_decrypt</action>
2144 </actions>
2145 </object>
2146
2147 <object type="action">
2148 <condition var1="tw_restore_encrypted" var2="0" />
2149 <actions>
2150 <action function="page">restore_select</action>
2151 </actions>
2152 </object>
2153 </page>
2154
2155 <page name="restore_decrypt">
2156 <object type="template" name="header" />
2157
2158 <object type="text" color="%text_color%">
2159 <font resource="font" />
2160 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2161 <text>Backup Encrypted</text>
2162 </object>
2163
2164 <object type="text" color="%text_color%">
2165 <font resource="font" />
2166 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2167 <text>Please Enter Your Password:</text>
2168 </object>
2169
2170 <object type="input">
2171 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2172 <background color="%input_background_color%" />
2173 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2174 <font resource="font" color="%text_color%" />
2175 <text>%tw_restore_display%</text>
2176 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2177 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2178 <actions>
2179 <action function="page">try_restore_decrypt</action>
2180 </actions>
2181 </object>
2182
2183 <object type="text" color="%text_fail_color%">
2184 <condition var1="tw_password_fail" var2="1" />
2185 <font resource="font" />
2186 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2187 <text>Password Failed, Please Try Again</text>
2188 </object>
2189
2190 <object type="button">
2191 <highlight color="%highlight_color%" />
2192 <placement x="%col1_x%" y="%row2_y%" />
2193 <font resource="font" color="%button_text_color%" />
2194 <text>Cancel</text>
2195 <image resource="main_button" />
2196 <actions>
2197 <action function="set">tw_page_done=1</action>
2198 <action function="page">restore</action>
2199 </actions>
2200 </object>
2201
2202 <object type="button">
2203 <highlight color="%highlight_color%" />
2204 <placement x="%col2_x%" y="%row2_y%" />
2205 <font resource="font" color="%button_text_color%" />
2206 <text>Delete</text>
2207 <image resource="main_button" />
2208 <actions>
2209 <action function="set">tw_back=restore</action>
2210 <action function="set">tw_action=cmd</action>
2211 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2212 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2213 <action function="set">tw_text2=This cannot be undone!</action>
2214 <action function="set">tw_action_text1=Deleting Backup...</action>
2215 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2216 <action function="set">tw_slider_text=Swipe to Delete</action>
2217 <action function="page">confirm_action</action>
2218 </actions>
2219 </object>
2220
2221 <object type="template" name="keyboardtemplate" />
2222
2223 <object type="action">
2224 <touch key="home" />
2225 <action function="page">main</action>
2226 </object>
2227
2228 <object type="action">
2229 <touch key="back" />
2230 <action function="page">restore</action>
2231 </object>
2232
2233 <object type="template" name="footer" />
2234 </page>
2235
2236 <page name="try_restore_decrypt">
2237 <object type="template" name="header" />
2238
2239 <object type="text" color="%text_color%">
2240 <font resource="font" />
2241 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2242 <text>Trying Decryption with Your Password</text>
2243 </object>
2244
2245 <object type="template" name="action_page_console" />
2246
2247 <object type="template" name="progress_bar" />
2248
2249 <object type="action">
2250 <action function="decrypt_backup"></action>
2251 </object>
2252
2253 <object type="action">
2254 <conditions>
2255 <condition var1="tw_operation_state" var2="1" />
2256 <condition var1="tw_operation_status" op="!=" var2="0" />
2257 </conditions>
2258 <actions>
2259 <action function="set">tw_password_fail=1</action>
2260 <action function="page">restore_decrypt</action>
2261 </actions>
2262 </object>
2263
2264 <object type="action">
2265 <conditions>
2266 <condition var1="tw_operation_state" var2="1" />
2267 <condition var1="tw_operation_status" op="=" var2="0" />
2268 </conditions>
2269 <actions>
2270 <action function="set">tw_page_done=1</action>
2271 <action function="page">restore_select</action>
2272 </actions>
2273 </object>
2274 </page>
2275
Dees_Troy51a0e822012-09-05 15:24:24 -04002276 <page name="restore_select">
2277 <object type="template" name="header" />
2278
Dees_Troya13d74f2013-03-24 08:54:55 -05002279 <object type="partitionlist">
2280 <highlight color="%fileselector_highlight_color%" />
2281 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2282 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2283 <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 -04002284 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002285 <icon selected="checkbox_true" unselected="checkbox_false" />
2286 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2287 <background color="%listbox_background%" />
2288 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2289 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2290 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 </object>
2292
2293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002294 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002295 <fill color="%button_fill_color%" />
2296 <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 -04002297 <font resource="font" color="%button_text_color%" />
2298 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002299 <actions>
2300 <action function="set">tw_backup_rename=</action>
2301 <action function="set">tw_fileexists=0</action>
2302 <action function="page">renamebackup</action>
2303 </actions>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002308 <fill color="%button_fill_color%" />
2309 <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 -04002310 <font resource="font" color="%button_text_color%" />
2311 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002312 <actions>
2313 <action function="set">tw_back=restore</action>
2314 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002315 <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 -04002316 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2317 <action function="set">tw_text2=This cannot be undone!</action>
2318 <action function="set">tw_action_text1=Deleting Backup...</action>
2319 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2320 <action function="set">tw_slider_text=Swipe to Delete</action>
2321 <action function="page">confirm_action</action>
2322 </actions>
2323 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002324
Dees_Troya13d74f2013-03-24 08:54:55 -05002325 <object type="checkbox">
2326 <placement x="%col1_x%" y="%row15_text_y%" />
2327 <font resource="font" color="%text_color%" />
2328 <text>Enable MD5 verification of backup files.</text>
2329 <data variable="tw_skip_md5_check" />
2330 <image checked="checkbox_true" unchecked="checkbox_false" />
2331 </object>
2332
2333 <object type="text" color="%text_color%">
2334 <font resource="font" />
2335 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2336 <text>Package Date: %tw_restore_file_date%</text>
2337 </object>
2338
Dees_Troy51a0e822012-09-05 15:24:24 -04002339 <object type="slider">
2340 <placement x="%slider_x%" y="%slider_y%" />
2341 <resource base="slider" used="slider-used" touch="slider-touch" />
2342 <action function="page">restore_run</action>
2343 </object>
2344
2345 <object type="text" color="%text_color%">
2346 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002347 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002348 <text>Swipe to Restore</text>
2349 </object>
2350
Dees_Troy51a0e822012-09-05 15:24:24 -04002351 <object type="action">
2352 <touch key="home" />
2353 <action function="page">main</action>
2354 </object>
2355
2356 <object type="action">
2357 <touch key="back" />
2358 <action function="page">restore</action>
2359 </object>
2360
2361 <object type="template" name="footer" />
2362 </page>
2363
2364 <page name="renamebackup">
2365 <object type="template" name="header" />
2366
2367 <object type="text" color="%text_color%">
2368 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2369 <font resource="font" />
2370 <text>Please Enter a New Backup Name</text>
2371 </object>
2372
2373 <object type="input">
2374 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2375 <background color="%input_background_color%" />
2376 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2377 <font resource="font" color="%text_color%" />
2378 <text>%tw_backup_rename%</text>
2379 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002380 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002381 <actions>
2382 <action function="set">tw_back=restore</action>
2383 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002384 <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 -04002385 <action function="set">tw_text1=Rename Backup?</action>
2386 <action function="set">tw_text2=This cannot be undone!</action>
2387 <action function="set">tw_action_text1=Renaming Backup...</action>
2388 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2389 <action function="set">tw_slider_text=Swipe to Rename</action>
2390 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2391 <action function="set">tw_existpage=renamebackup</action>
2392 <action function="set">tw_notexistpage=confirm_action</action>
2393 <action function="page">filecheck</action>
2394 </actions>
2395 </object>
2396
2397 <object type="text" color="%text_fail_color%">
2398 <condition var1="tw_fileexists" var2="1" />
2399 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2400 <font resource="font" />
2401 <text>A backup with that name already exists!</text>
2402 </object>
2403
2404 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002405 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <placement x="%col_center_x%" y="%row2_y%" />
2407 <font resource="font" color="%button_text_color%" />
2408 <text>Cancel</text>
2409 <image resource="main_button" />
2410 <action function="page">restore_select</action>
2411 </object>
2412
2413 <object type="template" name="keyboardtemplate" />
2414
2415 <object type="action">
2416 <touch key="home" />
2417 <action function="page">main</action>
2418 </object>
2419
2420 <object type="action">
2421 <touch key="back" />
2422 <action function="page">restore_select</action>
2423 </object>
2424
2425 <object type="template" name="footer" />
2426 </page>
2427
2428 <page name="restore_run">
2429 <object type="template" name="header" />
2430
2431 <object type="text" color="%text_color%">
2432 <font resource="font" />
2433 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2434 <text>%tw_operation% %tw_partition%</text>
2435 </object>
2436
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002437 <object type="text" color="%text_color%">
2438 <font resource="font" />
2439 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2440 <text>%tw_size_progress%</text>
2441 </object>
2442
Dees_Troy51a0e822012-09-05 15:24:24 -04002443 <object type="template" name="action_page_console" />
2444
2445 <object type="template" name="progress_bar" />
2446
2447 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002448 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002449 <actions>
2450 <action function="set">tw_back=restore_select</action>
2451 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002452 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002453 <action function="page">action_complete</action>
2454 </actions>
2455 </object>
2456
2457 <object type="action">
2458 <action function="nandroid">restore</action>
2459 </object>
2460 </page>
2461
Dees_Troya13d74f2013-03-24 08:54:55 -05002462 <page name="selectstorage">
2463 <object type="template" name="header" />
2464
2465 <object type="partitionlist">
2466 <highlight color="%fileselector_highlight_color%" />
2467 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2468 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2469 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2470 <text>Select Storage:</text>
2471 <icon selected="radio_true" unselected="radio_false" />
2472 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2473 <background color="%listbox_background%" />
2474 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2475 <data name="tw_storage_path" />
2476 <listtype name="storage" />
2477 </object>
2478
Dees_Troye7e0ae82013-07-05 14:46:07 +00002479 <object type="button">
2480 <highlight color="%highlight_color%" />
2481 <placement x="%col_center_x%" y="%row4_y%" />
2482 <font resource="font" color="%button_text_color%" />
2483 <text>OK</text>
2484 <image resource="main_button" />
2485 <actions>
2486 <action function="set">tw_clear_destination=%tw_back%</action>
2487 <action function="page">clear_vars</action>
2488 </actions>
2489 </object>
2490
Dees_Troya13d74f2013-03-24 08:54:55 -05002491 <object type="action">
2492 <touch key="home" />
2493 <action function="page">main</action>
2494 </object>
2495
2496 <object type="action">
2497 <touch key="back" />
2498 <actions>
2499 <action function="page">%tw_back%</action>
2500 </actions>
2501 </object>
2502
2503 <object type="template" name="footer" />
2504 </page>
2505
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 <page name="mount">
2507 <object type="template" name="header" />
2508
Dees_Troya13d74f2013-03-24 08:54:55 -05002509 <object type="partitionlist">
2510 <highlight color="%fileselector_highlight_color%" />
2511 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2513 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2514 <text>Select Partitions to Mount:</text>
2515 <icon selected="checkbox_true" unselected="checkbox_false" />
2516 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2517 <background color="%listbox_background%" />
2518 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2519 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002520 </object>
2521
2522 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002523 <highlight color="%highlight_color%" />
2524 <fill color="%button_fill_color%" />
2525 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2526 <font resource="font" color="%button_text_color%" />
2527 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2528 <actions>
2529 <action function="set">tw_back=mount</action>
2530 <action function="page">selectstorage</action>
2531 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 </object>
2533
2534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002535 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002536 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002537 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <font resource="font" color="%button_text_color%" />
2539 <text>Mount USB Storage</text>
2540 <image resource="main_button" />
2541 <action function="page">usb_mount</action>
2542 </object>
2543
Gary Peckffdc6ae2012-11-21 18:02:02 -08002544 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002545 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002546 <conditions>
2547 <condition var1="tw_is_encrypted" var2="1" />
2548 <condition var1="tw_is_decrypted" var2="0" />
2549 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002550 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002551 <font resource="font" color="%button_text_color%" />
2552 <text>Decrypt Data</text>
2553 <image resource="main_button" />
2554 <action function="page">decrypt</action>
2555 </object>
2556
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <object type="action">
2558 <touch key="home" />
2559 <action function="page">main</action>
2560 </object>
2561
2562 <object type="action">
2563 <touch key="back" />
2564 <action function="page">main</action>
2565 </object>
2566
2567 <object type="template" name="footer" />
2568 </page>
2569
2570 <page name="usb_mount">
2571 <object type="template" name="header" />
2572
2573 <object type="text" color="%text_color%">
2574 <font resource="font" />
2575 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2576 <text>USB Storage Mounted</text>
2577 </object>
2578
2579 <object type="text" color="%text_color%">
2580 <placement x="%col1_x%" y="%row1_text_y%" />
2581 <font resource="font" />
2582 <text>Be sure to safely remove your device</text>
2583 </object>
2584
2585 <object type="text" color="%text_color%">
2586 <placement x="%col1_x%" y="%row2_text_y%" />
2587 <font resource="font" />
2588 <text>from your computer before unmounting!</text>
2589 </object>
2590
2591 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002592 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002593 <placement x="%col1_x%" y="%row3_y%" />
2594 <font resource="font" color="%button_text_color%" />
2595 <text>Unmount</text>
2596 <image resource="main_button" />
2597 <action function="page">usb_umount</action>
2598 </object>
2599
2600 <object type="action">
2601 <action function="mount">usb</action>
2602 </object>
2603
2604 <object type="template" name="footer" />
2605 </page>
2606
2607 <page name="usb_umount">
2608 <object type="action">
2609 <action function="unmount">usb</action>
2610 </object>
2611
2612 <object type="action">
2613 <action function="page">mount</action>
2614 </object>
2615 </page>
2616
2617 <page name="reboot">
2618 <object type="template" name="header" />
2619
2620 <object type="text" color="%text_color%">
2621 <font resource="font" />
2622 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2623 <text>Reboot Menu</text>
2624 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002625
Dees_Troy51a0e822012-09-05 15:24:24 -04002626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002628 <condition var1="tw_reboot_system" var2="1" />
2629 <placement x="%col1_x%" y="%row1_y%" />
2630 <font resource="font" color="%button_text_color%" />
2631 <text>System</text>
2632 <image resource="main_button" />
2633 <actions>
2634 <action function="set">tw_back=reboot</action>
2635 <action function="set">tw_action=reboot</action>
2636 <action function="set">tw_action_param=system</action>
2637 <action function="set">tw_has_action2=0</action>
2638 <action function="set">tw_text1=No OS Installed! Are you</action>
2639 <action function="set">tw_text2=sure you wish to reboot?</action>
2640 <action function="set">tw_action_text1=Rebooting...</action>
2641 <action function="set">tw_complete_text1=Rebooting...</action>
2642 <action function="set">tw_slider_text=Swipe to Reboot</action>
2643 <action function="page">rebootcheck</action>
2644 </actions>
2645 </object>
2646
2647 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002648 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002649 <condition var1="tw_reboot_poweroff" var2="1" />
2650 <placement x="%col2_x%" y="%row1_y%" />
2651 <font resource="font" color="%button_text_color%" />
2652 <text>Power Off</text>
2653 <image resource="main_button" />
2654 <actions>
2655 <action function="set">tw_back=reboot</action>
2656 <action function="set">tw_action=reboot</action>
2657 <action function="set">tw_action_param=poweroff</action>
2658 <action function="set">tw_has_action2=0</action>
2659 <action function="set">tw_text1=No OS Installed! Are you</action>
2660 <action function="set">tw_text2=sure you wish to power off?</action>
2661 <action function="set">tw_action_text1=Turning Off...</action>
2662 <action function="set">tw_complete_text1=Turning Off...</action>
2663 <action function="set">tw_slider_text=Swipe to Power Off</action>
2664 <action function="page">rebootcheck</action>
2665 </actions>
2666 </object>
2667
2668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002670 <condition var1="tw_reboot_recovery" var2="1" />
2671 <placement x="%col1_x%" y="%row2_y%" />
2672 <font resource="font" color="%button_text_color%" />
2673 <text>Recovery</text>
2674 <image resource="main_button" />
2675 <actions>
2676 <action function="set">tw_back=reboot</action>
2677 <action function="set">tw_action=reboot</action>
2678 <action function="set">tw_action_param=recovery</action>
2679 <action function="set">tw_has_action2=0</action>
2680 <action function="set">tw_text1=No OS Installed! Are you</action>
2681 <action function="set">tw_text2=sure you wish to reboot?</action>
2682 <action function="set">tw_action_text1=Rebooting...</action>
2683 <action function="set">tw_complete_text1=Rebooting...</action>
2684 <action function="set">tw_slider_text=Swipe to Reboot</action>
2685 <action function="page">rebootcheck</action>
2686 </actions>
2687 </object>
2688
2689 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002690 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <condition var1="tw_reboot_bootloader" var2="1" />
2692 <placement x="%col2_x%" y="%row2_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text>Bootloader</text>
2695 <image resource="main_button" />
2696 <actions>
2697 <action function="set">tw_back=reboot</action>
2698 <action function="set">tw_action=reboot</action>
2699 <action function="set">tw_action_param=bootloader</action>
2700 <action function="set">tw_has_action2=0</action>
2701 <action function="set">tw_text1=No OS Installed! Are you</action>
2702 <action function="set">tw_text2=sure you wish to reboot?</action>
2703 <action function="set">tw_action_text1=Rebooting...</action>
2704 <action function="set">tw_complete_text1=Rebooting...</action>
2705 <action function="set">tw_slider_text=Swipe to Reboot</action>
2706 <action function="page">rebootcheck</action>
2707 </actions>
2708 </object>
2709
2710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002712 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002713 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002714 <font resource="font" color="%button_text_color%" />
2715 <text>Download</text>
2716 <image resource="main_button" />
2717 <actions>
2718 <action function="set">tw_back=reboot</action>
2719 <action function="set">tw_action=reboot</action>
2720 <action function="set">tw_action_param=download</action>
2721 <action function="set">tw_has_action2=0</action>
2722 <action function="set">tw_text1=No OS Installed! Are you</action>
2723 <action function="set">tw_text2=sure you wish to reboot?</action>
2724 <action function="set">tw_action_text1=Rebooting...</action>
2725 <action function="set">tw_complete_text1=Rebooting...</action>
2726 <action function="set">tw_slider_text=Swipe to Reboot</action>
2727 <action function="page">rebootcheck</action>
2728 </actions>
2729 </object>
2730
2731 <object type="action">
2732 <touch key="home" />
2733 <action function="page">main</action>
2734 </object>
2735
2736 <object type="action">
2737 <touch key="back" />
2738 <action function="page">main</action>
2739 </object>
2740
2741 <object type="template" name="footer" />
2742 </page>
2743
2744 <page name="settings">
2745 <object type="template" name="header" />
2746
2747 <object type="text" color="%text_color%">
2748 <font resource="font" />
2749 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2750 <text>Settings</text>
2751 </object>
2752
2753 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002754 <placement x="%col1_x%" y="%row1_text_y%" />
2755 <font resource="font" color="%text_color%" />
2756 <text>Zip file signature verification.</text>
2757 <data variable="tw_signed_zip_verify" />
2758 <image checked="checkbox_true" unchecked="checkbox_false" />
2759 </object>
2760
2761 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002762 <placement x="%col1_x%" y="%row2_text_y%" />
2763 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002764 <text>Use rm -rf instead of formatting.</text>
2765 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <image checked="checkbox_true" unchecked="checkbox_false" />
2767 </object>
2768
2769 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002770 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002772 <text>Skip MD5 generation during backup.</text>
2773 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <image checked="checkbox_true" unchecked="checkbox_false" />
2775 </object>
2776
2777 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002778 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002780 <text>Enable MD5 verification of backup files.</text>
2781 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002782 <image checked="checkbox_true" unchecked="checkbox_false" />
2783 </object>
2784
2785 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002786 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002788 <text>Use Military Time.</text>
2789 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002790 <image checked="checkbox_true" unchecked="checkbox_false" />
2791 </object>
2792
2793 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002794 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002796 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002797 <data variable="tw_simulate_actions" />
2798 <image checked="checkbox_true" unchecked="checkbox_false" />
2799 </object>
2800
2801 <object type="checkbox">
2802 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002803 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002805 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002806 <data variable="tw_simulate_fail" />
2807 <image checked="checkbox_true" unchecked="checkbox_false" />
2808 </object>
2809
2810 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002811 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002812 <placement x="%col1_x%" y="%row3_y%" />
2813 <font resource="font" color="%button_text_color%" />
2814 <text>Time Zone</text>
2815 <image resource="main_button" />
2816 <action function="page">timezone</action>
2817 </object>
2818
2819 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002820 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002821 <placement x="%col2_x%" y="%row3_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>Screen</text>
2824 <image resource="main_button" />
2825 <action function="page">screen</action>
2826 </object>
2827
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002828 <object type="button">
2829 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002830 <placement x="%col1_x%" y="%row4_y%" />
2831 <font resource="font" color="%button_text_color%" />
2832 <text>Restore Defaults</text>
2833 <image resource="main_button" />
2834 <action function="restoredefaultsettings"></action>
2835 </object>
2836
Dees_Troy2f9117a2013-02-17 19:52:09 -06002837 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002838 <highlight color="%highlight_color%" />
2839 <placement x="%col2_x%" y="%row4_y%" />
2840 <font resource="font" color="%button_text_color%" />
2841 <text>Vibration Duration</text>
2842 <image resource="main_button" />
2843 <action function="page">Vibrate</action>
2844 </object>
2845
Dees_Troy51a0e822012-09-05 15:24:24 -04002846 <object type="action">
2847 <touch key="home" />
2848 <action function="page">main</action>
2849 </object>
2850
2851 <object type="action">
2852 <touch key="back" />
2853 <action function="page">main</action>
2854 </object>
2855
2856 <object type="template" name="footer" />
2857 </page>
2858
2859 <page name="timezone">
2860 <object type="template" name="header" />
2861
Dees_Troy51a0e822012-09-05 15:24:24 -04002862 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002863 <highlight color="%fileselector_highlight_color%" />
2864 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2865 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002866 <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 -06002867 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002869 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002870 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002871 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002872 <data name="tw_time_zone_guisel" />
2873 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2874 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2875 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2876 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2877 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2878 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2879 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2880 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2881 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2882 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2883 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2884 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2885 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2886 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2887 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2888 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2889 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2890 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2891 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2892 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2893 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2894 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2895 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2896 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2897 </object>
2898
2899 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002900 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002901 <font resource="font" color="%text_color%" />
2902 <text>Do you use daylight savings time (DST)?</text>
2903 <data variable="tw_time_zone_guidst" />
2904 <image checked="checkbox_true" unchecked="checkbox_false" />
2905 </object>
2906
2907 <object type="text" color="%text_color%">
2908 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002909 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002910 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002915 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <font resource="font" color="%button_text_color%" />
2917 <text>None</text>
2918 <image resource="medium_button" />
2919 <action function="set">tw_time_zone_guioffset=0</action>
2920 </object>
2921
2922 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002923 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002924 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002925 <font resource="font" color="%button_text_color%" />
2926 <text>15</text>
2927 <image resource="medium_button" />
2928 <action function="set">tw_time_zone_guioffset=15</action>
2929 </object>
2930
2931 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002932 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002933 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002934 <font resource="font" color="%button_text_color%" />
2935 <text>30</text>
2936 <image resource="medium_button" />
2937 <action function="set">tw_time_zone_guioffset=30</action>
2938 </object>
2939
2940 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002941 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002942 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002943 <font resource="font" color="%button_text_color%" />
2944 <text>45</text>
2945 <image resource="medium_button" />
2946 <action function="set">tw_time_zone_guioffset=45</action>
2947 </object>
2948
2949 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002950 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002951 <placement x="%col_center_x%" y="%tz_set_y%" />
2952 <font resource="font" color="%button_text_color%" />
2953 <text>Set Time Zone</text>
2954 <image resource="main_button" />
2955 <action function="setguitimezone"></action>
2956 </object>
2957
2958 <object type="text" color="%text_color%">
2959 <font resource="font" />
2960 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2961 <text>Current Time Zone: %tw_time_zone%</text>
2962 </object>
2963
2964 <object type="action">
2965 <touch key="home" />
2966 <action function="page">main</action>
2967 </object>
2968
2969 <object type="action">
2970 <touch key="back" />
2971 <action function="page">settings</action>
2972 </object>
2973
2974 <object type="template" name="footer" />
2975 </page>
2976
Dees_Troy2f9117a2013-02-17 19:52:09 -06002977 <page name="screen">
2978 <object type="template" name="header" />
2979
2980 <object type="text" color="%text_color%">
2981 <font resource="font" />
2982 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2983 <text>Screen Settings</text>
2984 </object>
2985
Dees_Troy2f9117a2013-02-17 19:52:09 -06002986 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002987 <placement x="%col1_x%" y="%row2_text_y%" />
2988 <font resource="font" color="%text_color%" />
2989 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002990 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002991 <text>Enable screen timeout.</text>
2992 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002993 <action function="set">tw_screen_timeout_secs=60</action>
2994 </object>
2995
2996 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002997 <placement x="%col1_x%" y="%row2_text_y%" />
2998 <font resource="font" color="%text_color%" />
2999 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003000 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003001 <text>Enable screen timeout.</text>
3002 <image resource="checkbox_true" />
3003 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003004 </object>
3005
Vojtech Bocek85932342013-04-01 22:11:33 +02003006 <object type="slidervalue">
3007 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003008 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003009 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3010 <font resource="font" color="%text_color%" />
3011 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3012 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3013 <text>Screen timeout in seconds:</text>
3014 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003015 </object>
3016
Vojtech Bocek85932342013-04-01 22:11:33 +02003017 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003018 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003019 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3020 <font resource="font" color="%text_color%" />
3021 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3022 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3023 <text>Brightness: %tw_brightness_pct%%</text>
3024 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003025 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003026 <action function="set">tw_brightness=%tw_brightness_max%</action>
3027 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3028 <action function="compute">tw_brightness/100</action>
3029 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003030 </actions>
3031 </object>
3032
3033 <object type="action">
3034 <touch key="home" />
3035 <action function="page">main</action>
3036 </object>
3037
3038 <object type="action">
3039 <touch key="back" />
3040 <action function="page">settings</action>
3041 </object>
3042
3043 <object type="template" name="footer" />
3044 </page>
3045
Ethan Yonker03db3262014-02-05 08:02:06 -06003046 <page name="Vibrate">
3047 <object type="template" name="header" />
3048
3049 <object type="text" color="%text_color%">
3050 <font resource="font" />
3051 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3052 <text>Vibration Settings :</text>
3053 </object>
3054
3055 <object type="slidervalue">
3056 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3057 <font resource="font" color="%text_color%" />
3058 <text>Button Vibration:</text>
3059 <data variable="tw_button_vibrate" min="0" max="300" />
3060 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3061 </object>
3062
3063 <object type="slidervalue">
3064 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3065 <font resource="font" color="%text_color%" />
3066 <text>Keyboard Vibration:</text>
3067 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3068 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3069 </object>
3070
3071 <object type="slidervalue">
3072 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3073 <font resource="font" color="%text_color%" />
3074 <text>Action Vibration:</text>
3075 <data variable="tw_action_vibrate" min="0" max="500" />
3076 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3077 </object>
3078
3079 <object type="action">
3080 <touch key="home" />
3081 <action function="page">main</action>
3082 </object>
3083
3084 <object type="action">
3085 <touch key="back" />
3086 <action function="page">settings</action>
3087 </object>
3088
3089 <object type="template" name="footer" />
3090 </page>
3091
Dees_Troy51a0e822012-09-05 15:24:24 -04003092 <page name="advanced">
3093 <object type="template" name="header" />
3094
3095 <object type="text" color="%text_color%">
3096 <font resource="font" />
3097 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3098 <text>Advanced</text>
3099 </object>
3100
3101 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003102 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003103 <placement x="%col1_x%" y="%row1_y%" />
3104 <font resource="font" color="%button_text_color%" />
3105 <text>Copy Log to SD</text>
3106 <image resource="main_button" />
3107 <actions>
3108 <action function="set">tw_back=advanced</action>
3109 <action function="set">tw_action=copylog</action>
3110 <action function="set">tw_text1=Copy Log to SD Card?</action>
3111 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3112 <action function="set">tw_complete_text1=Log Copy Complete</action>
3113 <action function="set">tw_slider_text=Swipe to Confirm</action>
3114 <action function="page">confirm_action</action>
3115 </actions>
3116 </object>
3117
3118 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003119 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003120 <placement x="%col2_x%" y="%row1_y%" />
3121 <font resource="font" color="%button_text_color%" />
3122 <text>Fix Permissions</text>
3123 <image resource="main_button" />
3124 <actions>
3125 <action function="set">tw_back=advanced</action>
3126 <action function="set">tw_action=fixpermissions</action>
3127 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003128 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3130 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003131 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003132 <action function="page">confirm_action</action>
3133 </actions>
3134 </object>
3135
3136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003137 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003138 <condition var1="tw_allow_partition_sdcard" var2="1" />
3139 <placement x="%col1_x%" y="%row2_y%" />
3140 <font resource="font" color="%button_text_color%" />
3141 <text>Partition SD Card</text>
3142 <image resource="main_button" />
3143 <action function="page">partsdcard</action>
3144 </object>
3145
3146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003148 <placement x="%col2_x%" y="%row2_y%" />
3149 <font resource="font" color="%button_text_color%" />
3150 <text>File Manager</text>
3151 <image resource="main_button" />
3152 <action function="page">filemanagerlist</action>
3153 </object>
3154
3155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003157 <placement x="%col1_x%" y="%row3_y%" />
3158 <font resource="font" color="%button_text_color%" />
3159 <text>Terminal Command</text>
3160 <image resource="main_button" />
3161 <action function="page">terminalfolder</action>
3162 </object>
3163
3164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003165 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003166 <placement x="%col2_x%" y="%row3_y%" />
3167 <font resource="font" color="%button_text_color%" />
3168 <text>Reload Theme</text>
3169 <image resource="main_button" />
3170 <action function="reload"></action>
3171 </object>
3172
3173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003174 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04003175 <placement x="%col1_x%" y="%row4_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>ADB Sideload</text>
3178 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003179 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04003180 </object>
3181
3182 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003183 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003184 <condition var1="tw_show_dumlock" var2="1" />
3185 <placement x="%col2_x%" y="%row4_y%" />
3186 <font resource="font" color="%button_text_color%" />
3187 <text>HTC Dumlock</text>
3188 <image resource="main_button" />
3189 <action function="page">htcdumlock</action>
3190 </object>
3191
3192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003193 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003194 <condition var1="tw_has_injecttwrp" var2="1" />
3195 <placement x="%col2_x%" y="%row4_y%" />
3196 <font resource="font" color="%button_text_color%" />
3197 <text>Re-Inject TWRP</text>
3198 <image resource="main_button" />
3199 <actions>
3200 <action function="set">tw_back=advanced</action>
3201 <action function="set">tw_action=reinjecttwrp</action>
3202 <action function="set">tw_text1=Re-Inject TWRP?</action>
3203 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3204 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3205 <action function="set">tw_slider_text=Swipe to Confirm</action>
3206 <action function="page">confirm_action</action>
3207 </actions>
3208 </object>
3209
Dees_Troy51a0e822012-09-05 15:24:24 -04003210 <object type="action">
3211 <touch key="home" />
3212 <action function="page">main</action>
3213 </object>
3214
3215 <object type="action">
3216 <touch key="back" />
3217 <action function="page">main</action>
3218 </object>
3219
3220 <object type="template" name="footer" />
3221 </page>
3222
3223 <page name="partsdcard">
3224 <object type="template" name="header" />
3225
3226 <object type="text" color="%text_color%">
3227 <font resource="font" />
3228 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3229 <text>Partition SD Card</text>
3230 </object>
3231
3232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003233 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003234 <placement x="%col1_x%" y="%row1_y%" />
3235 <font resource="font" color="%button_text_color%" />
3236 <text></text>
3237 <image resource="minus_button" />
3238 <action function="addsubtract">tw_sdext_size-128</action>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <placement x="%sd_plus_x%" y="%row1_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text></text>
3246 <image resource="plus_button" />
3247 <action function="addsubtract">tw_sdext_size+128</action>
3248 </object>
3249
3250 <object type="text" color="%text_color%">
3251 <font resource="font" />
3252 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3253 <text>EXT Size: %tw_sdext_size%</text>
3254 </object>
3255
3256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003257 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003258 <placement x="%col1_x%" y="%sdswap_button_y%" />
3259 <font resource="font" color="%button_text_color%" />
3260 <text></text>
3261 <image resource="minus_button" />
3262 <action function="addsubtract">tw_swap_size-32</action>
3263 </object>
3264
3265 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003266 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003267 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3268 <font resource="font" color="%button_text_color%" />
3269 <text></text>
3270 <image resource="plus_button" />
3271 <action function="addsubtract">tw_swap_size+32</action>
3272 </object>
3273
3274 <object type="text" color="%text_color%">
3275 <font resource="font" />
3276 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3277 <text>Swap Size: %tw_swap_size%</text>
3278 </object>
3279
3280 <object type="text" color="%text_color%">
3281 <font resource="font" />
3282 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3283 <text>File system: %tw_sdpart_file_system%</text>
3284 </object>
3285
3286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003288 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3289 <font resource="font" color="%button_text_color%" />
3290 <text>EXT3</text>
3291 <image resource="main_button" />
3292 <action function="set">tw_sdpart_file_system=ext3</action>
3293 </object>
3294
3295 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003296 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003297 <condition var1="tw_sdext_disable_ext4" var2="0" />
3298 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3299 <font resource="font" color="%button_text_color%" />
3300 <text>EXT4</text>
3301 <image resource="main_button" />
3302 <action function="set">tw_sdpart_file_system=ext4</action>
3303 </object>
3304
3305 <object type="text" color="%text_color%">
3306 <font resource="font" />
3307 <placement x="%col1_x%" y="%row12_text_y%" />
3308 <text>You will lose all files on your SD card!</text>
3309 </object>
3310
3311 <object type="text" color="%text_color%">
3312 <font resource="font" />
3313 <placement x="%col1_x%" y="%row13_text_y%" />
3314 <text>This action cannot be undone!</text>
3315 </object>
3316
3317 <object type="slider">
3318 <placement x="%slider_x%" y="%slider_y%" />
3319 <resource base="slider" used="slider-used" touch="slider-touch" />
3320 <action function="page">partsdcardaction</action>
3321 <actions>
3322 <action function="set">tw_back=partsdcard</action>
3323 <action function="set">tw_action=partitionsd</action>
3324 <action function="set">tw_has_action2=1</action>
3325 <action function="set">tw_action2=set</action>
3326 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3327 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3328 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003329 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003330 <action function="page">action_page</action>
3331 </actions>
3332 </object>
3333
3334 <object type="text" color="%text_color%">
3335 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003336 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <text>Swipe to Partition</text>
3338 </object>
3339
3340 <object type="action">
3341 <touch key="home" />
3342 <action function="page">main</action>
3343 </object>
3344
3345 <object type="action">
3346 <touch key="back" />
3347 <action function="page">advanced</action>
3348 </object>
3349
3350 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003351 </page>
3352
3353 <page name="htcdumlock">
3354 <object type="template" name="header" />
3355
3356 <object type="text" color="%text_color%">
3357 <font resource="font" />
3358 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3359 <text>HTC Dumlock</text>
3360 </object>
3361
3362 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003363 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003364 <condition var1="tw_show_dumlock" var2="1" />
3365 <placement x="%col1_x%" y="%row1_y%" />
3366 <font resource="font" color="%button_text_color%" />
3367 <text>Restore Original Boot</text>
3368 <image resource="main_button" />
3369 <actions>
3370 <action function="set">tw_back=htcdumlock</action>
3371 <action function="set">tw_action=htcdumlockrestoreboot</action>
3372 <action function="set">tw_text1=Restore original boot image?</action>
3373 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3374 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3375 <action function="set">tw_slider_text=Swipe to Confirm</action>
3376 <action function="page">confirm_action</action>
3377 </actions>
3378 </object>
3379
3380 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003381 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003382 <condition var1="tw_show_dumlock" var2="1" />
3383 <placement x="%col2_x%" y="%row1_y%" />
3384 <font resource="font" color="%button_text_color%" />
3385 <text>Reflash Recovery</text>
3386 <image resource="main_button" />
3387 <actions>
3388 <action function="set">tw_back=htcdumlock</action>
3389 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3390 <action function="set">tw_text1=Reflash recovery to boot?</action>
3391 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3392 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3393 <action function="set">tw_slider_text=Swipe to Confirm</action>
3394 <action function="page">confirm_action</action>
3395 </actions>
3396 </object>
3397
3398 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003399 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003400 <condition var1="tw_show_dumlock" var2="1" />
3401 <placement x="%col1_x%" y="%row2_y%" />
3402 <font resource="font" color="%button_text_color%" />
3403 <text>Install HTC Dumlock</text>
3404 <image resource="main_button" />
3405 <actions>
3406 <action function="set">tw_back=htcdumlock</action>
3407 <action function="set">tw_action=installhtcdumlock</action>
3408 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3409 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3410 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3411 <action function="set">tw_slider_text=Swipe to Confirm</action>
3412 <action function="page">confirm_action</action>
3413 </actions>
3414 </object>
3415
3416 <object type="action">
3417 <touch key="home" />
3418 <action function="page">main</action>
3419 </object>
3420
3421 <object type="action">
3422 <touch key="back" />
3423 <action function="page">advanced</action>
3424 </object>
3425
3426 <object type="template" name="footer" />
3427 </page>
3428
3429 <page name="lock">
3430 <background color="#000000A0" />
3431
3432 <object type="image">
3433 <image resource="unlock-icon" />
3434 <placement x="%lock_x%" y="%lock_y%" />
3435 </object>
3436
3437 <object type="slider">
3438 <placement x="%slider_x%" y="%slider_y%" />
3439 <resource base="slider" used="slider-used" touch="slider-touch" />
3440 <action function="overlay"></action>
3441 </object>
3442
3443 <object type="text" color="%text_color%">
3444 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003445 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003446 <text>Swipe to Unlock</text>
3447 </object>
3448 </page>
3449
3450 <page name="filemanagerlist">
3451 <object type="template" name="header" />
3452
3453 <object type="text" color="%text_color%">
3454 <font resource="font" />
3455 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3456 <text>File Manager: Select a File or Folder</text>
3457 </object>
3458
3459 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003460 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003461 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3462 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003463 <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 -04003464 <text>%tw_file_location1%</text>
3465 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3466 <sort name="tw_gui_sort_order" />
3467 <icon folder="folder_icon" file="file_icon" />
3468 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003469 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003470 <folders="1" files="1" />
3471 <path name="tw_file_location1" default="/" />
3472 <data name="tw_filename1" />
3473 <selection name="tw_selection1" />
3474 </object>
3475
3476 <object type="template" name="sort_options" />
3477
3478 <object type="action">
3479 <actions>
3480 <action function="set">tw_fm_type=File</action>
3481 <action function="set">tw_fm_isfolder=0</action>
3482 </actions>
3483 </object>
3484
3485 <object type="action">
3486 <touch key="home" />
3487 <action function="page">main</action>
3488 </object>
3489
3490 <object type="action">
3491 <touch key="back" />
3492 <action function="page">advanced</action>
3493 </object>
3494
3495 <object type="action">
3496 <condition var1="tw_filename1" op="modified" />
3497 <actions>
3498 <action function="page">filemanageroptions</action>
3499 </actions>
3500 </object>
3501
3502 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003503 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003504 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3505 <font resource="font" color="%button_text_color%" />
3506 <text>Select</text>
3507 <image resource="medium_button" />
3508 <actions>
3509 <action function="set">tw_filename1=tw_file_location1</action>
3510 <action function="set">tw_fm_isfolder=1</action>
3511 <action function="set">tw_fm_type=Folder</action>
3512 <action function="page">filemanageroptions</action>
3513 </actions>
3514 </object>
3515
3516 <object type="template" name="footer" />
3517 </page>
3518
3519 <page name="filemanageroptions">
3520 <object type="template" name="header" />
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3525 <text>%tw_fm_type% Selected:</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3531 <text>%tw_filename1%</text>
3532 </object>
3533
3534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003535 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003536 <condition var1="tw_fm_isfolder" var2="0" />
3537 <placement x="%col1_x%" y="%row2_y%" />
3538 <font resource="font" color="%button_text_color%" />
3539 <text>Copy File</text>
3540 <image resource="main_button" />
3541 <actions>
3542 <action function="set">tw_filemanager_command=cp</action>
3543 <action function="set">tw_fm_text1=Copying</action>
3544 <action function="page">choosedestinationfolder</action>
3545 </actions>
3546 </object>
3547
3548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003550 <condition var1="tw_fm_isfolder" var2="1" />
3551 <placement x="%col1_x%" y="%row2_y%" />
3552 <font resource="font" color="%button_text_color%" />
3553 <text>Copy Folder</text>
3554 <image resource="main_button" />
3555 <actions>
3556 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3557 <action function="set">tw_fm_text1=Copying</action>
3558 <action function="page">choosedestinationfolder</action>
3559 </actions>
3560 </object>
3561
3562 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003563 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003564 <placement x="%col2_x%" y="%row2_y%" />
3565 <font resource="font" color="%button_text_color%" />
3566 <text>Move</text>
3567 <image resource="main_button" />
3568 <actions>
3569 <action function="set">tw_filemanager_command=mv</action>
3570 <action function="set">tw_fm_text1=Moving</action>
3571 <action function="page">choosedestinationfolder</action>
3572 </actions>
3573 </object>
3574
3575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003576 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003577 <placement x="%col1_x%" y="%row3_y%" />
3578 <font resource="font" color="%button_text_color%" />
3579 <text>chmod 755</text>
3580 <image resource="main_button" />
3581 <actions>
3582 <action function="set">tw_filemanager_command=chmod 755</action>
3583 <action function="set">tw_fm_text1=chmod 755</action>
3584 <action function="set">tw_fm_text2=</action>
3585 <action function="set">tw_fm_text3=</action>
3586 <action function="set">tw_include_text3=0</action>
3587 <action function="set">tw_back=filemanageroptions</action>
3588 <action function="page">filemanagerconfirm</action>
3589 </actions>
3590 </object>
3591
3592 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003593 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003594 <placement x="%col2_x%" y="%row3_y%" />
3595 <font resource="font" color="%button_text_color%" />
3596 <text>chmod</text>
3597 <image resource="main_button" />
3598 <actions>
3599 <action function="set">tw_filemanager_rename=0000</action>
3600 <action function="set">tw_fm_text2=</action>
3601 <action function="set">tw_fm_text3=</action>
3602 <action function="set">tw_include_text3=0</action>
3603 <action function="set">tw_back=filemanageroptions</action>
3604 <action function="page">filemanagerchmod</action>
3605 </actions>
3606 </object>
3607
3608 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003609 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003610 <placement x="%col1_x%" y="%row4_y%" />
3611 <font resource="font" color="%button_text_color%" />
3612 <text>Delete</text>
3613 <image resource="main_button" />
3614 <actions>
3615 <action function="set">tw_filemanager_command=rm -rf</action>
3616 <action function="set">tw_fm_text1=Deleting</action>
3617 <action function="set">tw_fm_text2=</action>
3618 <action function="set">tw_fm_text3=</action>
3619 <action function="set">tw_include_text3=0</action>
3620 <action function="set">tw_back=filemanageroptions</action>
3621 <action function="page">filemanagerconfirm</action>
3622 </actions>
3623 </object>
3624
3625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003627 <condition var1="tw_fm_isfolder" var2="0" />
3628 <placement x="%col2_x%" y="%row4_y%" />
3629 <font resource="font" color="%button_text_color%" />
3630 <text>Rename File</text>
3631 <image resource="main_button" />
3632 <actions>
3633 <action function="set">tw_filemanager_rename=tw_selection1</action>
3634 <action function="set">tw_fm_text1=Renaming</action>
3635 <action function="set">tw_filemanager_command=mv</action>
3636 <action function="page">filemanagerrenamefile</action>
3637 </actions>
3638 </object>
3639
3640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <condition var1="tw_fm_isfolder" var2="1" />
3643 <placement x="%col2_x%" y="%row4_y%" />
3644 <font resource="font" color="%button_text_color%" />
3645 <text>Rename Folder</text>
3646 <image resource="main_button" />
3647 <actions>
3648 <action function="set">tw_filemanager_rename=tw_selection1</action>
3649 <action function="set">tw_fm_text1=Renaming</action>
3650 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3651 <action function="page">filemanagerrenamefolder</action>
3652 </actions>
3653 </object>
3654
3655 <object type="action">
3656 <touch key="home" />
3657 <action function="page">main</action>
3658 </object>
3659
3660 <object type="action">
3661 <touch key="back" />
3662 <action function="page">filemanagerlist</action>
3663 </object>
3664
3665 <object type="template" name="footer" />
3666 </page>
3667
3668 <page name="choosedestinationfolder">
3669 <object type="template" name="header" />
3670
3671 <object type="text" color="%text_color%">
3672 <font resource="font" />
3673 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3674 <text>Browse to Destination Folder & Press Select</text>
3675 </object>
3676
3677 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003678 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003679 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3680 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003681 <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 -04003682 <text>%tw_file_location2%</text>
3683 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3684 <sort name="tw_gui_sort_order" />
3685 <icon folder="folder_icon" file="file_icon" />
3686 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003687 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003688 <filter folders="1" files="0" />
3689 <path name="tw_file_location2" default="/" />
3690 <data name="tw_filename2" />
3691 <selection name="tw_selection2" />
3692 </object>
3693
3694 <object type="template" name="sort_options" />
3695
3696 <object type="action">
3697 <touch key="home" />
3698 <action function="page">main</action>
3699 </object>
3700
3701 <object type="action">
3702 <touch key="back" />
3703 <action function="page">filemanageroptions</action>
3704 </object>
3705
3706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003708 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3709 <font resource="font" color="%button_text_color%" />
3710 <text>Select</text>
3711 <image resource="medium_button" />
3712 <actions>
3713 <action function="set">tw_fm_text2=to</action>
3714 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3715 <action function="set">tw_include_text3=1</action>
3716 <action function="set">tw_back=filemanageroptions</action>
3717 <action function="page">filemanagerconfirm</action>
3718 </actions>
3719 </object>
3720
3721 <object type="template" name="footer" />
3722 </page>
3723
3724 <page name="filemanagerrenamefile">
3725 <object type="template" name="header" />
3726
3727 <object type="text" color="%text_color%">
3728 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3729 <font resource="font" />
3730 <text>Please Enter a New %tw_fm_type% Name</text>
3731 </object>
3732
3733 <object type="input">
3734 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3735 <background color="%input_background_color%" />
3736 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3737 <font resource="font" color="%text_color%" />
3738 <text>%tw_filemanager_rename%</text>
3739 <data name="tw_filemanager_rename" />
3740 <restrict minlen="1" maxlen="128" />
3741 <actions>
3742 <action function="set">tw_fm_text2=to</action>
3743 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3744 <action function="set">tw_include_text3=1</action>
3745 <action function="set">tw_back=filemanageroptions</action>
3746 <action function="page">filemanagerconfirm</action>
3747 </actions>
3748 </object>
3749
3750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003752 <placement x="%col_center_x%" y="%row2_y%" />
3753 <font resource="font" color="%button_text_color%" />
3754 <text>Cancel</text>
3755 <image resource="main_button" />
3756 <action function="page">filemanageroptions</action>
3757 </object>
3758
3759 <object type="template" name="keyboardtemplate" />
3760
3761 <object type="action">
3762 <touch key="home" />
3763 <action function="page">main</action>
3764 </object>
3765
3766 <object type="action">
3767 <touch key="back" />
3768 <action function="page">filemanageroptions</action>
3769 </object>
3770
3771 <object type="template" name="footer" />
3772 </page>
3773
3774 <page name="filemanagerrenamefolder">
3775 <object type="template" name="header" />
3776
3777 <object type="text" color="%text_color%">
3778 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3779 <font resource="font" />
3780 <text>Please Enter a New %tw_fm_type% Name</text>
3781 </object>
3782
3783 <object type="input">
3784 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3785 <background color="%input_background_color%" />
3786 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3787 <font resource="font" color="%text_color%" />
3788 <text>%tw_filemanager_rename%</text>
3789 <data name="tw_filemanager_rename" />
3790 <restrict minlen="1" maxlen="128" />
3791 <actions>
3792 <action function="set">tw_fm_text2=to</action>
3793 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3794 <action function="set">tw_include_text3=1</action>
3795 <action function="set">tw_back=filemanageroptions</action>
3796 <action function="page">filemanagerconfirm</action>
3797 </actions>
3798 </object>
3799
3800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003801 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003802 <placement x="%col_center_x%" y="%row2_y%" />
3803 <font resource="font" color="%button_text_color%" />
3804 <text>Cancel</text>
3805 <image resource="main_button" />
3806 <action function="page">filemanageroptions</action>
3807 </object>
3808
3809 <object type="template" name="keyboardtemplate" />
3810
3811 <object type="action">
3812 <touch key="home" />
3813 <action function="page">main</action>
3814 </object>
3815
3816 <object type="action">
3817 <touch key="back" />
3818 <action function="page">filemanageroptions</action>
3819 </object>
3820
3821 <object type="template" name="footer" />
3822 </page>
3823
3824 <page name="filemanagerchmod">
3825 <object type="template" name="header" />
3826
3827 <object type="text" color="%text_color%">
3828 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3829 <font resource="font" />
3830 <text>Please Enter New Permissions</text>
3831 </object>
3832
3833 <object type="input">
3834 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3835 <background color="%input_background_color%" />
3836 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3837 <font resource="font" color="%text_color%" />
3838 <text>%tw_filemanager_rename%</text>
3839 <data name="tw_filemanager_rename" />
3840 <restrict minlen="3" maxlen="4" allow="0123456789" />
3841 <actions>
3842 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3843 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3844 <action function="set">tw_back=filemanageroptions</action>
3845 <action function="page">filemanagerconfirm</action>
3846 </actions>
3847 </object>
3848
3849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003850 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003851 <placement x="%col_center_x%" y="%row2_y%" />
3852 <font resource="font" color="%button_text_color%" />
3853 <text>Cancel</text>
3854 <image resource="main_button" />
3855 <action function="page">filemanageroptions</action>
3856 </object>
3857
3858 <object type="template" name="keyboardtemplate" />
3859
3860 <object type="action">
3861 <touch key="home" />
3862 <action function="page">main</action>
3863 </object>
3864
3865 <object type="action">
3866 <touch key="back" />
3867 <action function="page">filemanageroptions</action>
3868 </object>
3869
3870 <object type="template" name="footer" />
3871 </page>
3872
3873 <page name="filemanagerconfirm">
3874 <object type="template" name="header" />
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3879 <text>%tw_fm_text1%</text>
3880 </object>
3881
3882 <object type="text" color="%text_color%">
3883 <font resource="font" />
3884 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3885 <text>%tw_filename1%</text>
3886 </object>
3887
3888 <object type="text" color="%text_color%">
3889 <font resource="font" />
3890 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3891 <text>%tw_fm_text2%</text>
3892 </object>
3893
3894 <object type="text" color="%text_color%">
3895 <font resource="font" />
3896 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3897 <text>%tw_fm_text3%</text>
3898 </object>
3899
3900 <object type="text" color="%text_color%">
3901 <font resource="font" />
3902 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3903 <text>Press back button to cancel.</text>
3904 </object>
3905
3906 <object type="slider">
3907 <placement x="%slider_x%" y="%slider_y%" />
3908 <resource base="slider" used="slider-used" touch="slider-touch" />
3909 <action function="page">filemanageracction</action>
3910 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003911
Dees_Troy51a0e822012-09-05 15:24:24 -04003912 <object type="text" color="%text_color%">
3913 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003914 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003915 <text>Swipe to Confirm</text>
3916 </object>
3917
3918 <object type="action">
3919 <touch key="back" />
3920 <action function="page">%tw_back%</action>
3921 </object>
3922
3923 <object type="action">
3924 <touch key="home" />
3925 <action function="page">main</action>
3926 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003927
Dees_Troy51a0e822012-09-05 15:24:24 -04003928 <object type="template" name="footer" />
3929 </page>
3930
3931 <page name="filemanageracction">
3932 <object type="template" name="header" />
3933
3934 <object type="text" color="%text_color%">
3935
3936 <font resource="font" />
3937 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3938 <text>%tw_fm_text1%</text>
3939 </object>
3940
3941 <object type="template" name="action_page_console" />
3942
3943 <object type="template" name="progress_bar" />
3944
3945 <object type="action">
3946 <conditions>
3947 <condition var1="tw_operation_state" var2="1" />
3948 <condition var1="tw_operation_status" var2="0" />
3949 </conditions>
3950 <actions>
3951 <action function="set">tw_back=filemanagerlist</action>
3952 <action function="set">tw_complete_text1=File Operation Complete</action>
3953 <action function="page">action_complete</action>
3954 </actions>
3955 </object>
3956
3957 <object type="action">
3958 <conditions>
3959 <condition var1="tw_operation_state" var2="1" />
3960 <condition var1="tw_operation_status" op="!=" var2="0" />
3961 </conditions>
3962 <actions>
3963 <action function="set">tw_complete_text1=File Operation Complete</action>
3964 <action function="page">action_complete</action>
3965 </actions>
3966 </object>
3967
3968 <object type="action">
3969 <condition var1="tw_include_text3" var2="0" />
3970 <actions>
3971 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3972 </actions>
3973 </object>
3974
3975 <object type="action">
3976 <condition var1="tw_include_text3" var2="1" />
3977 <actions>
3978 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3979 </actions>
3980 </object>
3981 </page>
3982
3983 <page name="decrypt">
3984 <object type="template" name="header" />
3985
3986 <object type="text" color="%text_color%">
3987 <font resource="font" />
3988 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3989 <text>Please Enter Your Password</text>
3990 </object>
3991
3992 <object type="input">
3993 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3994 <background color="%input_background_color%" />
3995 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3996 <font resource="font" color="%text_color%" />
3997 <text>%tw_crypto_display%</text>
3998 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3999 <restrict minlen="1" maxlen="254" />
4000 <actions>
4001 <action function="page">trydecrypt</action>
4002 </actions>
4003 </object>
4004
4005 <object type="text" color="%text_fail_color%">
4006 <condition var1="tw_password_fail" var2="1" />
4007 <font resource="font" />
4008 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
4009 <text>Password Failed, Please Try Again</text>
4010 </object>
4011
4012 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004013 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004014 <placement x="%col_center_x%" y="%row2_y%" />
4015 <font resource="font" color="%button_text_color%" />
4016 <text>Cancel</text>
4017 <image resource="main_button" />
4018 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004019 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004020 <action function="page">main</action>
4021 </actions>
4022 </object>
4023
4024 <object type="template" name="keyboardtemplate" />
4025
Dees_Troy51a0e822012-09-05 15:24:24 -04004026 <object type="template" name="footer" />
4027 </page>
4028
4029 <page name="trydecrypt">
4030 <object type="template" name="header" />
4031
4032 <object type="text" color="%text_color%">
4033 <font resource="font" />
4034 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4035 <text>Trying Decryption with Your Password</text>
4036 </object>
4037
4038 <object type="template" name="action_page_console" />
4039
4040 <object type="template" name="progress_bar" />
4041
4042 <object type="action">
4043 <action function="decrypt"></action>
4044 </object>
4045
4046 <object type="action">
4047 <conditions>
4048 <condition var1="tw_operation_state" var2="1" />
4049 <condition var1="tw_operation_status" op="!=" var2="0" />
4050 </conditions>
4051 <actions>
4052 <action function="set">tw_password_fail=1</action>
4053 <action function="page">decrypt</action>
4054 </actions>
4055 </object>
4056
4057 <object type="action">
4058 <conditions>
4059 <condition var1="tw_operation_state" var2="1" />
4060 <condition var1="tw_operation_status" op="=" var2="0" />
4061 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004062 <actions>
4063 <action function="set">tw_page_done=1</action>
4064 <action function="page">main</action>
4065 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004066 </object>
4067 </page>
4068
4069 <page name="terminalfolder">
4070 <object type="template" name="header" />
4071
4072 <object type="text" color="%text_color%">
4073 <font resource="font" />
4074 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4075 <text>Browse to Starting Folder</text>
4076 </object>
4077
4078 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004079 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004080 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4081 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004082 <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 -04004083 <text>%tw_terminal_location%</text>
4084 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4085 <sort name="tw_gui_sort_order" />
4086 <icon folder="folder_icon" file="file_icon" />
4087 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004088 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004089 <filter folders="1" files="0" />
4090 <path name="tw_terminal_location" default="/" />
4091 <data name="tw_terminal" />
4092 <selection name="tw_terminal_selection" />
4093 </object>
4094
4095 <object type="template" name="sort_options" />
4096
4097 <object type="action">
4098 <touch key="home" />
4099 <action function="page">main</action>
4100 </object>
4101
4102 <object type="action">
4103 <touch key="back" />
4104 <action function="page">advanced</action>
4105 </object>
4106
4107 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004108 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004109 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4110 <font resource="font" color="%button_text_color%" />
4111 <text>Select</text>
4112 <image resource="medium_button" />
4113 <actions>
4114 <action function="page">terminalcommand</action>
4115 </actions>
4116 </object>
4117
4118 <object type="template" name="footer" />
4119 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04004120
Dees_Troy51a0e822012-09-05 15:24:24 -04004121 <page name="terminalcommand">
4122 <object type="template" name="header" />
4123
4124 <object type="console">
4125 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4126 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4127 <font resource="fixed" />
4128 </object>
4129
4130 <object type="text" color="%text_color%">
4131 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4132 <font resource="font" />
4133 <text>Starting Path: %tw_terminal_location%</text>
4134 </object>
4135
4136 <object type="input">
4137 <condition var1="tw_terminal_state" var2="0" />
4138 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4139 <background color="%input_background_color%" />
4140 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4141 <font resource="font" color="%text_color%" />
4142 <text>%tw_terminal_command%</text>
4143 <data name="tw_terminal_command" />
4144 <restrict minlen="1" />
4145 <action function="terminalcommand">%tw_terminal_command%</action>
4146 </object>
4147
4148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004150 <condition var1="tw_terminal_state" var2="1" />
4151 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4152 <font resource="font" color="%button_text_color%" />
4153 <text>KILL</text>
4154 <image resource="medium_button" />
4155 <action function="killterminal"></action>
4156 </object>
4157
4158 <object type="template" name="keyboardtemplate" />
4159
4160 <object type="action">
4161 <touch key="home" />
4162 <action function="page">main</action>
4163 </object>
4164
4165 <object type="action">
4166 <touch key="back" />
4167 <action function="page">terminalfolder</action>
4168 </object>
4169 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004170
4171 <page name="sideload">
4172 <object type="template" name="header" />
4173
4174 <object type="text" color="%text_color%">
4175 <font resource="font" />
4176 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4177 <text>ADB Sideload</text>
4178 </object>
4179
4180 <object type="checkbox">
4181 <placement x="%col1_x%" y="%row2_text_y%" />
4182 <font resource="font" color="%text_color%" />
4183 <text>Wipe Dalvik Cache.</text>
4184 <data variable="tw_wipe_dalvik" />
4185 <image checked="checkbox_true" unchecked="checkbox_false" />
4186 </object>
4187
4188 <object type="checkbox">
4189 <placement x="%col1_x%" y="%row3_text_y%" />
4190 <font resource="font" color="%text_color%" />
4191 <text>Wipe Cache.</text>
4192 <data variable="tw_wipe_cache" />
4193 <image checked="checkbox_true" unchecked="checkbox_false" />
4194 </object>
4195
4196 <object type="slider">
4197 <placement x="%slider_x%" y="%slider_y%" />
4198 <resource base="slider" used="slider-used" touch="slider-touch" />
4199 <actions>
4200 <action function="set">tw_back=advanced</action>
4201 <action function="set">tw_action=adbsideload</action>
4202 <action function="set">tw_action_text1=ADB Sideload</action>
4203 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4204 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4205 <action function="set">tw_has_cancel=1</action>
4206 <action function="set">tw_show_reboot=1</action>
4207 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4208 <action function="page">action_page</action>
4209 </actions>
4210 </object>
4211
4212 <object type="text" color="%text_color%">
4213 <font resource="font" />
4214 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4215 <text>Swipe to Start Sideload</text>
4216 </object>
4217
4218 <object type="action">
4219 <touch key="home" />
4220 <action function="page">main</action>
4221 </object>
4222
4223 <object type="action">
4224 <touch key="back" />
4225 <action function="page">advanced</action>
4226 </object>
4227
4228 <object type="template" name="footer" />
4229 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004230
4231 <page name="installsu">
4232 <object type="template" name="header" />
4233
4234 <object type="text" color="%text_color%">
4235 <font resource="font" />
4236 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4237 <text>Install SuperSU?</text>
4238 </object>
4239
4240 <object type="text" color="%text_color%">
4241 <font resource="font" />
4242 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4243 <text>Your device does not appear to be rooted.</text>
4244 </object>
4245
4246 <object type="text" color="%text_color%">
4247 <font resource="font" />
4248 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4249 <text>Install SuperSU now?</text>
4250 </object>
4251
4252 <object type="text" color="%text_color%">
4253 <font resource="font" />
4254 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4255 <text>This will root your device.</text>
4256 </object>
4257
4258 <object type="button">
4259 <highlight color="%highlight_color%" />
4260 <placement x="%col_center_x%" y="%row3_y%" />
4261 <font resource="font" color="%button_text_color%" />
4262 <text>Do Not Install</text>
4263 <image resource="main_button" />
4264 <action function="set">tw_page_done=1</action>
4265 </object>
4266
4267 <object type="slider">
4268 <placement x="%slider_x%" y="%slider_y%" />
4269 <resource base="slider" used="slider-used" touch="slider-touch" />
4270 <actions>
4271 <action function="set">tw_action=installsu</action>
4272 <action function="set">tw_action_text1=Installing SuperSU</action>
4273 <action function="set">tw_action_text2=</action>
4274 <action function="page">singleaction_page</action>
4275 </actions>
4276 </object>
4277
4278 <object type="text" color="%text_color%">
4279 <font resource="font" />
4280 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4281 <text>Swipe to Install</text>
4282 </object>
4283 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004284 </pages>
4285</recovery>