blob: b4cbb508e3c776c50477e2af04950a438000b620 [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>
263 </template>
264
265 <template name="progress_bar">
266 <object type="progressbar">
267 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500268 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400269 <data name="ui_progress" />
270 </object>
271
272 <object type="animation">
273 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
274 <resource name="progress" />
275 <speed fps="15" render="2" />
276 <loop frame="1" />
277 </object>
278 </template>
279
280 <template name="sort_options">
281 <object type="text" color="%text_color%">
282 <font resource="font" />
283 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
284 <text>Sort Ascending:</text>
285 </object>
286
287 <object type="button">
288 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
289 <font resource="font" color="%button_text_color%" />
290 <text>Name</text>
291 <image resource="sort_button" />
292 <action function="set">tw_gui_sort_order=1</action>
293 </object>
294
295 <object type="button">
296 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
297 <font resource="font" color="%button_text_color%" />
298 <text>Date</text>
299 <image resource="sort_button" />
300 <action function="set">tw_gui_sort_order=2</action>
301 </object>
302
303 <object type="button">
304 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
305 <font resource="font" color="%button_text_color%" />
306 <text>Size</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=3</action>
309 </object>
310
311 <object type="text" color="%text_color%">
312 <font resource="font" />
313 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
314 <text>Sort Descending:</text>
315 </object>
316
317 <object type="button">
318 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
319 <font resource="font" color="%button_text_color%" />
320 <text>Name</text>
321 <image resource="sort_button" />
322 <action function="set">tw_gui_sort_order=-1</action>
323 </object>
324
325 <object type="button">
326 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
327 <font resource="font" color="%button_text_color%" />
328 <text>Date</text>
329 <image resource="sort_button" />
330 <action function="set">tw_gui_sort_order=-2</action>
331 </object>
332
333 <object type="button">
334 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
335 <font resource="font" color="%button_text_color%" />
336 <text>Size</text>
337 <image resource="sort_button" />
338 <action function="set">tw_gui_sort_order=-3</action>
339 </object>
340 </template>
341
342 <template name="action_page_console">
343 <object type="console">
344 <placement x="0" y="%row3_text_y%" w="800" h="600" />
345 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
346 <font resource="fixed" />
347 </object>
348 </template>
349
350 <template name="footer">
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500351 <object type="console">
Dees_Troy51a0e822012-09-05 15:24:24 -0400352 <slideout resource="slideout" x="355" y="1220" />
353 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
354 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
355 <font resource="fixed" />
356 </object>
357 </template>
358
359 <template name="keyboardtemplate">
360 <object type="keyboard">
361 <placement x="0" y="740" />
362 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600363 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600364 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400365 <layout1>
366 <keysize height="115" width="80" />
367 <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 -0600368 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
369 <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 +0000370 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 </layout1>
372 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600373 <keysize height="116" width="80" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400374 <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 -0600375 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
376 <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 -0400377 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
378 </layout2>
379 <layout3>
380 <keysize height="115" width="80" />
381 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
382 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600383 <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 -0400384 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
385 </layout3>
386 <layout4>
387 <keysize height="116" width="80" />
388 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
389 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600390 <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 -0400391 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
392 </layout4>
393 </object>
394 </template>
395 </templates>
396
397 <pages>
398 <page name="main">
399 <object type="action">
400 <actions>
401 <action function="set">tw_clear_destination=main2</action>
402 <action function="page">clear_vars</action>
403 </actions>
404 </object>
405 </page>
406
407 <page name="main2">
408 <object type="template" name="header" />
409
410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600411 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400412 <placement x="%col1_x%" y="%row1_y%" />
413 <font resource="font" color="%button_text_color%" />
414 <text>Install</text>
415 <image resource="main_button" />
416 <actions>
417 <action function="queueclear"></action>
418 <action function="page">install</action>
419 </actions>
420 </object>
421
422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400424 <placement x="%col2_x%" y="%row1_y%" />
425 <font resource="font" color="%button_text_color%" />
426 <text>Wipe</text>
427 <image resource="main_button" />
428 <action function="page">wipe</action>
429 </object>
430
431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400433 <placement x="%col1_x%" y="%row2_y%" />
434 <font resource="font" color="%button_text_color%" />
435 <text>Backup</text>
436 <image resource="main_button" />
437 <action function="page">backup</action>
438 </object>
439
440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400442 <placement x="%col2_x%" y="%row2_y%" />
443 <font resource="font" color="%button_text_color%" />
444 <text>Restore</text>
445 <image resource="main_button" />
446 <action function="page">restore</action>
447 </object>
448
449 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600450 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400451 <placement x="%col1_x%" y="%row3_y%" />
452 <font resource="font" color="%button_text_color%" />
453 <text>Mount</text>
454 <image resource="main_button" />
455 <action function="page">mount</action>
456 </object>
457
458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400460 <placement x="%col2_x%" y="%row3_y%" />
461 <font resource="font" color="%button_text_color%" />
462 <text>Settings</text>
463 <image resource="main_button" />
464 <action function="page">settings</action>
465 </object>
466
Dees_Troyb46a6842012-09-25 11:06:46 -0400467
Dees_Troy51a0e822012-09-05 15:24:24 -0400468 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600469 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400470 <placement x="%col1_x%" y="%row4_y%" />
471 <font resource="font" color="%button_text_color%" />
472 <text>Advanced</text>
473 <image resource="main_button" />
474 <action function="page">advanced</action>
475 </object>
476
477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400479 <placement x="%col2_x%" y="%row4_y%" />
480 <font resource="font" color="%button_text_color%" />
481 <text>Reboot</text>
482 <image resource="main_button" />
483 <action function="page">reboot</action>
484 </object>
485
486 <object type="template" name="footer" />
487 </page>
488
489 <page name="install">
490 <object type="template" name="header" />
491
492 <object type="text" color="%text_color%">
493 <font resource="font" />
494 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
495 <text>Select Zip to Install</text>
496 </object>
497
498 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500499 <highlight color="%highlight_color%" />
500 <fill color="%button_fill_color%" />
501 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
502 <font resource="font" color="%button_text_color%" />
503 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
504 <actions>
505 <action function="set">tw_back=install</action>
506 <action function="page">selectstorage</action>
507 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400508 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400509
Dees_Troy51a0e822012-09-05 15:24:24 -0400510 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600511 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500512 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400513 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100514 <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 -0400515 <text>%tw_zip_location%</text>
516 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
517 <sort name="tw_gui_sort_order" />
518 <icon folder="folder_icon" file="file_icon" />
519 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600520 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400521 <filter extn=".zip" folders="1" files="1" />
522 <path name="tw_zip_location" default="/sdcard" />
523 <data name="tw_filename" />
524 <selection name="tw_file" />
525 </object>
526
527 <object type="template" name="sort_options" />
528
529 <object type="action">
530 <condition var1="tw_filename" op="modified" />
531 <actions>
532 <action function="queuezip"></action>
533 <action function="page">flash_confirm</action>
534 </actions>
535 </object>
536
537 <object type="action">
538 <touch key="back" />
539 <action function="page">main</action>
540 </object>
541
542 <object type="action">
543 <touch key="home" />
544 <action function="page">main</action>
545 </object>
546
547 <object type="template" name="footer" />
548 </page>
549
550 <page name="flash_confirm">
551 <object type="template" name="header" />
552
553 <object type="text" color="%text_color%">
554 <font resource="font" />
555 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
556 <text>This operation may install incompatible</text>
557 </object>
558
559 <object type="text" color="%text_color%">
560 <font resource="font" />
561 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
562 <text>software and render your device unusable.</text>
563 </object>
564
565 <object type="text" color="%text_color%">
566 <font resource="font" />
567 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
568 <text>Folder:</text>
569 </object>
570
571 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400572 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400573 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
574 <text>%tw_zip_location%</text>
575 </object>
576
577 <object type="text" color="%text_color%">
578 <font resource="font" />
579 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
580 <text>File to flash:</text>
581 </object>
582
583 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400584 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400585 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
586 <text>%tw_file%</text>
587 </object>
588
589 <object type="text" color="%text_color%">
590 <font resource="font" />
591 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
592 <text>Press back to cancel adding this zip.</text>
593 </object>
594
595 <object type="checkbox">
596 <placement x="%col1_x%" y="%row8_text_y%" />
597 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400598 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400599 <data variable="tw_signed_zip_verify" />
600 <image checked="checkbox_true" unchecked="checkbox_false" />
601 </object>
602
603 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400604 <condition var1="tw_has_injecttwrp" var2="1" />
605 <placement x="%col1_x%" y="%row10_text_y%" />
606 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400607 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400608 <data variable="tw_inject_after_zip" />
609 <image checked="checkbox_true" unchecked="checkbox_false" />
610 </object>
611
612 <object type="text" color="%text_color%">
613 <font resource="font" />
614 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
615 <text>File %tw_zip_queue_count% of max of 10</text>
616 </object>
617
618 <object type="slider">
619 <placement x="%slider_x%" y="%slider_y%" placement="5" />
620 <resource base="slider" used="slider-used" touch="slider-touch" />
621 <action function="flash">flash_zip</action>
622 </object>
623
624 <object type="text" color="%text_color%">
625 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400626 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <text>Swipe to Confirm Flash</text>
628 </object>
629
630 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600631 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400632 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
633 <placement x="%col1_x%" y="%row_queue_y%" />
634 <font resource="font" color="%button_text_color%" />
635 <text>Add More Zips</text>
636 <image resource="main_button" />
637 <action function="page">install</action>
638 </object>
639
640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <placement x="%col2_x%" y="%row_queue_y%" />
643 <font resource="font" color="%button_text_color%" />
644 <text>Clear Zip Queue</text>
645 <image resource="main_button" />
646 <actions>
647 <action function="queueclear"></action>
648 <action function="page">install</action>
649 </actions>
650 </object>
651
652 <object type="action">
653 <touch key="back" />
654 <actions>
655 <action function="cancelzip"></action>
656 <action function="page">install</action>
657 </actions>
658 </object>
659
660 <object type="action">
661 <touch key="home" />
662 <action function="page">main</action>
663 </object>
664
665 <object type="template" name="footer" />
666 </page>
667
668 <page name="flash_zip">
669 <object type="template" name="header" />
670
671 <object type="console">
672 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
673 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
674 <font resource="fixed" />
675 </object>
676
677 <object type="text" color="%text_color%">
678 <font resource="font" />
679 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
680 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
681 </object>
682
683 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400684 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400685 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
686 <text>%tw_filename%</text>
687 </object>
688
689 <object type="template" name="progress_bar" />
690
691 <object type="action">
692 <condition var1="tw_operation_state" var2="1" />
693 <action function="page">flash_done</action>
694 </object>
695 </page>
696
697 <page name="flash_done">
698 <object type="template" name="header" />
699
700 <object type="text" color="%text_color%">
701 <font resource="font" />
702 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
703 <text>Zip Install Complete</text>
704 </object>
705
706 <object type="console">
707 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
708 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
709 <font resource="fixed" />
710 </object>
711
712 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600713 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400714 <placement x="%col1_x%" y="%row4_y%" />
715 <font resource="font" color="%button_text_color%" />
716 <text>Wipe cache/dalvik</text>
717 <image resource="main_button" />
718 <actions>
719 <action function="set">tw_back=flash_done</action>
720 <action function="set">tw_action=wipe</action>
721 <action function="set">tw_action_param=/cache</action>
722 <action function="set">tw_has_action2=1</action>
723 <action function="set">tw_action2=wipe</action>
724 <action function="set">tw_action2_param=dalvik</action>
725 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
726 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
727 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
728 <action function="set">tw_slider_text=Swipe to Wipe</action>
729 <action function="page">confirm_action</action>
730 </actions>
731 </object>
732
733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <placement x="%col2_x%" y="%row4_y%" />
736 <font resource="font" color="%button_text_color%" />
737 <text>Reboot System</text>
738 <image resource="main_button" />
739 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400740 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400741 <action function="set">tw_action=reboot</action>
742 <action function="set">tw_action_param=system</action>
743 <action function="set">tw_has_action2=0</action>
744 <action function="set">tw_text1=No OS Installed! Are you</action>
745 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400746 <action function="set">tw_text3=</action>
747 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400748 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400749 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400750 <action function="set">tw_complete_text1=Rebooting...</action>
751 <action function="set">tw_slider_text=Swipe to Reboot</action>
752 <action function="page">rebootcheck</action>
753 </actions>
754 </object>
755
756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400758 <placement x="%col_center_x%" y="%row3_y%" />
759 <font resource="font" color="%button_text_color%" />
760 <text>Home</text>
761 <image resource="main_button" />
762 <actions>
763 <action function="set">tw_clear_destination=main2</action>
764 <action function="page">clear_vars</action>
765 </actions>
766 </object>
767
768 <object type="text" color="%text_fail_color%">
769 <condition var1="tw_operation_status" op="!=" var2="0" />
770 <font resource="font" />
771 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
772 <text>Failed</text>
773 </object>
774
775 <object type="text" color="%text_success_color%">
776 <condition var1="tw_operation_status" var2="0" />
777 <font resource="font" />
778 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
779 <text>Successful</text>
780 </object>
781
782 <object type="action">
783 <touch key="back" />
784 <actions>
785 <action function="set">tw_clear_destination=install</action>
786 <action function="page">clear_vars</action>
787 </actions>
788 </object>
789
790 <object type="action">
791 <touch key="home" />
792 <actions>
793 <action function="set">tw_clear_destination=main2</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </object>
797 </page>
798
799 <page name="clear_vars">
800 <object type="action">
801 <action function="set">tw_operation_state=0</action>
802 <action function="set">tw_text1=</action>
803 <action function="set">tw_text2=</action>
804 <action function="set">tw_text3=</action>
805 <action function="set">tw_text4=</action>
806 <action function="set">tw_action_text1=</action>
807 <action function="set">tw_action_text2=</action>
808 <action function="set">tw_action_param=</action>
809 <action function="set">tw_has_action2=0</action>
810 <action function="set">tw_action2=</action>
811 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400812 <action function="set">tw_has_cancel=0</action>
813 <action function="set">tw_cancel_action=</action>
814 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400815 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400816 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400817 <action function="page">%tw_clear_destination%</action>
818 </object>
819 </page>
820
821 <page name="confirm_action">
822 <object type="template" name="header" />
823
824 <object type="text" color="%text_color%">
825 <font resource="font" />
826 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
827 <text>%tw_text1%</text>
828 </object>
829
830 <object type="text" color="%text_color%">
831 <font resource="font" />
832 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
833 <text>%tw_text2%</text>
834 </object>
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
839 <text>%tw_text3%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
845 <text>%tw_text4%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400850 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400851 <text>Press back button to cancel.</text>
852 </object>
853
854 <object type="slider">
855 <placement x="%slider_x%" y="%slider_y%" />
856 <resource base="slider" used="slider-used" touch="slider-touch" />
857 <action function="page">action_page</action>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400862 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400863 <text>%tw_slider_text%</text>
864 </object>
865
866 <object type="action">
867 <touch key="back" />
868 <actions>
869 <action function="set">tw_clear_destination=%tw_back%</action>
870 <action function="page">clear_vars</action>
871 </actions>
872 </object>
873
874 <object type="action">
875 <touch key="home" />
876 <action function="page">main</action>
877 </object>
878
879 <object type="template" name="footer" />
880 </page>
881
882 <page name="action_page">
883 <object type="template" name="header" />
884
885 <object type="text" color="%text_color%">
886 <font resource="font" />
887 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
888 <text>%tw_action_text1%</text>
889 </object>
890
891 <object type="text" color="%text_color%">
892 <font resource="font" />
893 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
894 <text>%tw_action_text2%</text>
895 </object>
896
897 <object type="template" name="action_page_console" />
898
Dees_Troycfb63ae2012-09-19 14:30:17 -0400899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600900 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400901 <condition var1="tw_has_cancel" var2="1" />
902 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400903 <font resource="font" color="%button_text_color%" />
904 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400905 <image resource="medium_button" />
906 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400907 </object>
908
Dees_Troycfb63ae2012-09-19 14:30:17 -0400909 <object type="template" name="progress_bar" />
910
911 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400912 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400913 <actions>
914 <action function="page">action_complete</action>
915 </actions>
916 </object>
917
918 <object type="action">
919 <condition var1="tw_has_action2" var2="0" />
920 <actions>
921 <action function="%tw_action%">%tw_action_param%</action>
922 </actions>
923 </object>
924
925 <object type="action">
926 <condition var1="tw_has_action2" var2="1" />
927 <actions>
928 <action function="%tw_action%">%tw_action_param%</action>
929 <action function="%tw_action2%">%tw_action2_param%</action>
930 </actions>
931 </object>
932 </page>
933
Dees_Troy6ef66352013-02-21 08:26:57 -0600934 <page name="singleaction_page">
935 <object type="template" name="header" />
936
937 <object type="text" color="%text_color%">
938 <font resource="font" />
939 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
940 <text>%tw_action_text1%</text>
941 </object>
942
943 <object type="text" color="%text_color%">
944 <font resource="font" />
945 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
946 <text>%tw_action_text2%</text>
947 </object>
948
949 <object type="template" name="action_page_console" />
950
951 <object type="template" name="progress_bar" />
952
953 <object type="action">
954 <condition var1="tw_operation_state" var2="1" />
955 <actions>
956 <action function="set">tw_page_done=1</action>
957 </actions>
958 </object>
959
960 <object type="action">
961 <condition var1="tw_has_action2" var2="0" />
962 <actions>
963 <action function="%tw_action%">%tw_action_param%</action>
964 </actions>
965 </object>
966
967 <object type="action">
968 <condition var1="tw_has_action2" var2="1" />
969 <actions>
970 <action function="%tw_action%">%tw_action_param%</action>
971 <action function="%tw_action2%">%tw_action2_param%</action>
972 </actions>
973 </object>
974 </page>
975
Dees_Troy51a0e822012-09-05 15:24:24 -0400976 <page name="action_complete">
977 <object type="template" name="header" />
978
979 <object type="text" color="%text_color%">
980 <font resource="font" />
981 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
982 <text>%tw_complete_text1%</text>
983 </object>
984
985 <object type="text" color="%text_fail_color%">
986 <condition var1="tw_operation_status" op="!=" var2="0" />
987 <font resource="font" />
988 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
989 <text>Failed</text>
990 </object>
991
992 <object type="text" color="%text_success_color%">
993 <condition var1="tw_operation_status" var2="0" />
994 <font resource="font" />
995 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
996 <text>Successful</text>
997 </object>
998
999 <object type="template" name="action_page_console" />
1000
1001 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001002 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001003 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001004 <placement x="%col_center_x%" y="%row4_y%" />
1005 <font resource="font" color="%button_text_color%" />
1006 <text>Back</text>
1007 <image resource="main_button" />
1008 <actions>
1009 <action function="set">tw_clear_destination=%tw_back%</action>
1010 <action function="page">clear_vars</action>
1011 </actions>
1012 </object>
1013
Dees_Troya3f81542012-10-08 10:58:53 -04001014 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001015 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001016 <condition var1="tw_show_reboot" var2="1" />
1017 <placement x="%col_center_x%" y="%row4_y%" />
1018 <font resource="font" color="%button_text_color%" />
1019 <text>Reboot System</text>
1020 <image resource="main_button" />
1021 <actions>
1022 <action function="set">tw_back=main2</action>
1023 <action function="set">tw_action=reboot</action>
1024 <action function="set">tw_action_param=system</action>
1025 <action function="set">tw_has_action2=0</action>
1026 <action function="set">tw_text1=No OS Installed! Are you</action>
1027 <action function="set">tw_text2=sure you wish to reboot?</action>
1028 <action function="set">tw_text3=</action>
1029 <action function="set">tw_text4=</action>
1030 <action function="set">tw_action_text1=Rebooting...</action>
1031 <action function="set">tw_action_text2=</action>
1032 <action function="set">tw_complete_text1=Rebooting...</action>
1033 <action function="set">tw_slider_text=Swipe to Reboot</action>
1034 <action function="page">rebootcheck</action>
1035 </actions>
1036 </object>
1037
Dees_Troy51a0e822012-09-05 15:24:24 -04001038 <object type="action">
1039 <touch key="home" />
1040 <actions>
1041 <action function="set">tw_clear_destination=main2</action>
1042 <action function="page">clear_vars</action>
1043 </actions>
1044 </object>
1045
1046 <object type="action">
1047 <touch key="back" />
1048 <actions>
1049 <action function="set">tw_clear_destination=%tw_back%</action>
1050 <action function="page">clear_vars</action>
1051 </actions>
1052 </object>
1053 </page>
1054
1055 <page name="filecheck">
1056 <object type="action">
1057 <action function="fileexists">%tw_filecheck%</action>
1058 </object>
1059
1060 <object type="action">
1061 <conditions>
1062 <condition var1="tw_operation_state" var2="1" />
1063 <condition var1="tw_operation_status" var2="0" />
1064 </conditions>
1065 <actions>
1066 <action function="set">tw_fileexists=1</action>
1067 <action function="page">%tw_existpage%</action>
1068 </actions>
1069 </object>
1070
1071 <object type="action">
1072 <conditions>
1073 <condition var1="tw_operation_state" var2="1" />
1074 <condition var1="tw_operation_status" var2="1" />
1075 </conditions>
1076 <actions>
1077 <action function="set">tw_fileexists=0</action>
1078 <action function="page">%tw_notexistpage%</action>
1079 </actions>
1080 </object>
1081 </page>
1082
1083 <page name="rebootcheck">
1084 <object type="action">
1085 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1086 <action function="reboot">%tw_action_param%</action>
1087 </object>
1088
1089 <object type="action">
1090 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1091 <action function="page">confirm_action</action>
1092 </object>
1093 </page>
1094
1095 <page name="wipe">
1096 <object type="template" name="header" />
1097
1098 <object type="text" color="%text_color%">
1099 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001100 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001101 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001102 </object>
1103
1104 <object type="text" color="%text_color%">
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1107 <text>Wipes Data, Cache, and Dalvik</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001111 <conditions>
1112 <condition var1="tw_has_android_secure" var2="1" />
1113 <condition var1="fileexists" var2="/and-sec" />
1114 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001115 <font resource="font" />
1116 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1117 <text>.android_secure</text>
1118 </object>
1119
1120 <object type="text" color="%text_color%">
1121 <condition var1="tw_has_data_media" var2="1" />
1122 <font resource="font" />
1123 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1124 <text>(not including internal storage)</text>
1125 </object>
1126
1127 <object type="text" color="%text_color%">
1128 <condition var1="tw_has_sdext_partition" var2="1" />
1129 <font resource="font" />
1130 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1131 <text>SD-EXT</text>
1132 </object>
1133
1134 <object type="text" color="%text_color%">
1135 <font resource="font" />
1136 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1137 <text>Most of the time this is</text>
1138 </object>
1139
1140 <object type="text" color="%text_color%">
1141 <font resource="font" />
1142 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1143 <text>the only wipe that you need.</text>
1144 </object>
1145
1146 <object type="text" color="%text_color%">
1147 <font resource="font" />
1148 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1149 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 </object>
1151
1152 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001153 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001156 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001158 <actions>
1159 <action function="set">partitionlisterror=0</action>
1160 <action function="page">advancedwipe</action>
1161 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 </object>
1163
1164 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 <conditions>
1166 <condition var1="tw_has_internal" var2="1" />
1167 <condition var1="tw_has_data_media" var2="1" />
1168 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001169 <highlight color="%highlight_color%" />
1170 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001171 <font resource="font" color="%button_text_color%" />
1172 <text>Format Data</text>
1173 <image resource="main_button" />
1174 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001175 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001176 </actions>
1177 </object>
1178
Dees_Troya13d74f2013-03-24 08:54:55 -05001179 <object type="slider">
1180 <placement x="%slider_x%" y="%slider_y%" />
1181 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001182 <actions>
1183 <action function="set">tw_back=wipe</action>
1184 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001185 <action function="set">tw_action_param=data</action>
1186 <action function="set">tw_action_text1=Factory Reset...</action>
1187 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1188 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001189 </actions>
1190 </object>
1191
Dees_Troya13d74f2013-03-24 08:54:55 -05001192 <object type="text" color="%text_color%">
1193 <font resource="font" />
1194 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1195 <text>Swipe to Factory Reset</text>
1196 </object>
1197
1198 <object type="action">
1199 <touch key="back" />
1200 <action function="page">main</action>
1201 </object>
1202
1203 <object type="action">
1204 <touch key="home" />
1205 <action function="page">main</action>
1206 </object>
1207
1208 <object type="template" name="footer" />
1209 </page>
1210
1211 <page name="advancedwipe">
1212 <object type="template" name="header" />
1213
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001214 <object type="action">
1215 <action function="set">tw_wipe_list=</action>
1216 </object>
1217
Dees_Troya13d74f2013-03-24 08:54:55 -05001218 <object type="text" color="%text_color%">
1219 <font resource="font" />
1220 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1221 <text>Wipe Menu</text>
1222 </object>
1223
1224 <object type="partitionlist">
1225 <highlight color="%fileselector_highlight_color%" />
1226 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1227 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1228 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1229 <text>Select Partitions to Wipe:</text>
1230 <icon selected="checkbox_true" unselected="checkbox_false" />
1231 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1232 <background color="%listbox_background%" />
1233 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1234 <data name="tw_wipe_list" />
1235 <listtype name="wipe" />
1236 </object>
1237
1238 <object type="slider">
1239 <placement x="%slider_x%" y="%slider_y%" />
1240 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001242 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001244 <action function="set">tw_action_param=LIST</action>
1245 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1246 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1247 <action function="set">tw_complete_text1=Wipe Complete</action>
1248 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001249 </actions>
1250 </object>
1251
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001252 <object type="button">
1253 <highlight color="%highlight_color%" />
1254 <fill color="%button_fill_color%" />
1255 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1256 <font resource="font" color="%button_text_color%" />
1257 <text>Repair or Change File System</text>
1258 <actions>
1259 <action function="checkpartitionlist"></action>
1260 <action function="page">checkpartitionlist</action>
1261 </actions>
1262 </object>
1263
1264 <object type="text" color="%text_fail_color%">
1265 <condition var1="partitionlisterror" var2="1" />
1266 <font resource="font" />
1267 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1268 <text>Invalid partition selection</text>
1269 </object>
1270
Dees_Troya13d74f2013-03-24 08:54:55 -05001271 <object type="text" color="%text_color%">
1272 <font resource="font" />
1273 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1274 <text>Swipe to Wipe</text>
1275 </object>
1276
Dees_Troy51a0e822012-09-05 15:24:24 -04001277 <object type="action">
1278 <touch key="home" />
1279 <action function="page">main</action>
1280 </object>
1281
1282 <object type="action">
1283 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001284 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001285 </object>
1286
1287 <object type="template" name="footer" />
1288 </page>
1289
Dees_Troya13d74f2013-03-24 08:54:55 -05001290 <page name="formatdata">
1291 <object type="template" name="header" />
1292
1293 <object type="text" color="%text_color%">
1294 <font resource="font" />
1295 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1296 <text>Format Data will wipe all of your apps,</text>
1297 </object>
1298
1299 <object type="text" color="%text_color%">
1300 <font resource="font" />
1301 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1302 <text>backups, pictures, videos, media, and</text>
1303 </object>
1304
1305 <object type="text" color="%text_color%">
1306 <font resource="font" />
1307 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1308 <text>removes encryption on internal storage.</text>
1309 </object>
1310
1311 <object type="text" color="%text_color%">
1312 <font resource="font" />
1313 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1314 <text>This cannot be undone. Press back to cancel.</text>
1315 </object>
1316
1317 <object type="text" color="%text_color%">
1318 <font resource="font" />
1319 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1320 <text>Type yes to continue.</text>
1321 </object>
1322
1323 <object type="input">
1324 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1325 <background color="%input_background_color%" />
1326 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1327 <font resource="font" color="%text_color%" />
1328 <text>%tw_confirm_formatdata%</text>
1329 <data name="tw_confirm_formatdata" />
1330 <restrict minlen="3" maxlen="3" allow="yes" />
1331 <action function="page">formatdata_confirm</action>
1332 </object>
1333
1334 <object type="template" name="keyboardtemplate" />
1335
1336 <object type="action">
1337 <touch key="home" />
1338 <action function="page">main</action>
1339 </object>
1340
1341 <object type="action">
1342 <touch key="back" />
1343 <action function="page">wipe</action>
1344 </object>
1345
1346 <object type="template" name="footer" />
1347 </page>
1348
1349 <page name="formatdata_confirm">
1350 <object type="action">
1351 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1352 <actions>
1353 <action function="set">tw_back=formatdata</action>
1354 <action function="set">tw_action=wipe</action>
1355 <action function="set">tw_action_param=DATAMEDIA</action>
1356 <action function="set">tw_action_text1=Formatting Data...</action>
1357 <action function="set">tw_complete_text1=Data Format Complete</action>
1358 <action function="page">action_page</action>
1359 </actions>
1360 </object>
1361
1362 <object type="action">
1363 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1364 <action function="page">formatdata</function>
1365 </object>
1366 </page>
1367
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001368 <page name="checkpartitionlist">
1369 <object type="action">
1370 <condition var1="tw_check_partition_list" op="=" var2="1" />
1371 <actions>
1372 <action function="set">partitionlisterror=0</action>
1373 <action function="getpartitiondetails"></action>
1374 <action function="page">partitionoptions</action>
1375 </actions>
1376 </object>
1377
1378 <object type="action">
1379 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1380 <actions>
1381 <action function="set">partitionlisterror=1</action>
1382 <action function="set">tw_wipe_list=</action>
1383 <action function="page">advancedwipe</action>
1384 </actions>
1385 </object>
1386 </page>
1387
1388 <page name="partitionoptions">
1389 <object type="template" name="header" />
1390
1391 <object type="text" color="%text_color%">
1392 <font resource="font" />
1393 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1394 <text>Partition Options for: %tw_partition_name%</text>
1395 </object>
1396
1397 <object type="text" color="%text_color%">
1398 <font resource="font" />
1399 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1400 <text>Mount Point: %tw_partition_mount_point%</text>
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <font resource="font" />
1405 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1406 <text>Current file system: %tw_partition_file_system%</text>
1407 </object>
1408
1409 <object type="text" color="%text_color%">
1410 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1411 <font resource="font" />
1412 <placement x="%col1_x%" y="%row3_text_y%" />
1413 <text>Present: Yes</text>
1414 </object>
1415
1416 <object type="text" color="%text_color%">
1417 <condition var1="tw_partition_is_present" op="=" var2="0" />
1418 <font resource="font" />
1419 <placement x="%col1_x%" y="%row3_text_y%" />
1420 <text>Present: No</text>
1421 </object>
1422
1423 <object type="text" color="%text_color%">
1424 <condition var1="tw_partition_removable" op="!=" var2="0" />
1425 <font resource="font" />
1426 <placement x="%col2_x%" y="%row3_text_y%" />
1427 <text>Removable: Yes</text>
1428 </object>
1429
1430 <object type="text" color="%text_color%">
1431 <condition var1="tw_partition_removable" op="=" var2="0" />
1432 <font resource="font" />
1433 <placement x="%col2_x%" y="%row3_text_y%" />
1434 <text>Removable: No</text>
1435 </object>
1436
1437 <object type="text" color="%text_color%">
1438 <font resource="font" />
1439 <placement x="%col1_x%" y="%row4_text_y%" />
1440 <text>Size: %tw_partition_size%MB</text>
1441 </object>
1442
1443 <object type="text" color="%text_color%">
1444 <font resource="font" />
1445 <placement x="%col2_x%" y="%row4_text_y%" />
1446 <text>Used: %tw_partition_used%MB</text>
1447 </object>
1448
1449 <object type="text" color="%text_color%">
1450 <font resource="font" />
1451 <placement x="%col1_x%" y="%row5_text_y%" />
1452 <text>Free: %tw_partition_free%MB</text>
1453 </object>
1454
1455 <object type="text" color="%text_color%">
1456 <font resource="font" />
1457 <placement x="%col2_x%" y="%row5_text_y%" />
1458 <text>Backup Size: %tw_partition_backup_size%MB</text>
1459 </object>
1460
1461 <object type="button">
1462 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1463 <highlight color="%highlight_color%" />
1464 <placement x="%col1_x%" y="%row4_y%" />
1465 <font resource="font" color="%button_text_color%" />
1466 <text>Repair</text>
1467 <image resource="main_button" />
1468 <actions>
1469 <action function="set">tw_back=partitionoptions</action>
1470 <action function="set">tw_action=repair</action>
1471 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1472 <action function="set">tw_has_action2=0</action>
1473 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1474 <action function="set">tw_text2=</action>
1475 <action function="set">tw_action_text1=Repairing...</action>
1476 <action function="set">tw_complete_text1=Repair Complete</action>
1477 <action function="set">tw_slider_text=Swipe to Repair</action>
1478 <action function="page">confirm_action</action>
1479 </actions>
1480 </object>
1481
1482 <object type="button">
1483 <highlight color="%highlight_color%" />
1484 <placement x="%col2_x%" y="%row4_y%" />
1485 <font resource="font" color="%button_text_color%" />
1486 <text>Change File System</text>
1487 <image resource="main_button" />
1488 <action function="page">selectfilesystem</action>
1489 </object>
1490
1491 <object type="action">
1492 <touch key="home" />
1493 <action function="page">main</action>
1494 </object>
1495
1496 <object type="action">
1497 <touch key="back" />
1498 <action function="page">advancedwipe</action>
1499 </object>
1500
1501 <object type="template" name="footer" />
1502 </page>
1503
1504 <page name="selectfilesystem">
1505 <object type="template" name="header" />
1506
1507 <object type="text" color="%text_color%">
1508 <font resource="font" />
1509 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1510 <text>Change file system for: %tw_partition_name%</text>
1511 </object>
1512
1513 <object type="text" color="%text_color%">
1514 <font resource="font" />
1515 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1516 <text>Mount Point: %tw_partition_mount_point%</text>
1517 </object>
1518
1519 <object type="text" color="%text_color%">
1520 <font resource="font" />
1521 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1522 <text>Current file system: %tw_partition_file_system%</text>
1523 </object>
1524
1525 <object type="text" color="%text_color%">
1526 <font resource="font" />
1527 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1528 <text>Some ROMs or kernels may not support some</text>
1529 </object>
1530
1531 <object type="text" color="%text_color%">
1532 <font resource="font" />
1533 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1534 <text>file systems. Proceed with caution!</text>
1535 </object>
1536
1537 <object type="button">
1538 <condition var1="tw_partition_ext" op="=" var2="1" />
1539 <highlight color="%highlight_color%" />
1540 <placement x="%col1_x%" y="%row2_y%" />
1541 <font resource="font" color="%button_text_color%" />
1542 <text>EXT2</text>
1543 <image resource="main_button" />
1544 <actions>
1545 <action function="set">tw_back=selectfilesystem</action>
1546 <action function="set">tw_action=changefilesystem</action>
1547 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1548 <action function="set">tw_action_new_file_system=ext2</action>
1549 <action function="set">tw_has_action2=0</action>
1550 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1551 <action function="set">tw_text2=</action>
1552 <action function="set">tw_action_text1=Formatting...</action>
1553 <action function="set">tw_complete_text1=Format Complete</action>
1554 <action function="set">tw_slider_text=Swipe to Change</action>
1555 <action function="page">confirm_action</action>
1556 </actions>
1557 </object>
1558
1559 <object type="button">
1560 <condition var1="tw_partition_ext" op="=" var2="1" />
1561 <highlight color="%highlight_color%" />
1562 <placement x="%col2_x%" y="%row2_y%" />
1563 <font resource="font" color="%button_text_color%" />
1564 <text>EXT3</text>
1565 <image resource="main_button" />
1566 <actions>
1567 <action function="set">tw_back=selectfilesystem</action>
1568 <action function="set">tw_action=changefilesystem</action>
1569 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1570 <action function="set">tw_action_new_file_system=ext3</action>
1571 <action function="set">tw_has_action2=0</action>
1572 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1573 <action function="set">tw_text2=</action>
1574 <action function="set">tw_action_text1=Formatting...</action>
1575 <action function="set">tw_complete_text1=Format Complete</action>
1576 <action function="set">tw_slider_text=Swipe to Change</action>
1577 <action function="page">confirm_action</action>
1578 </actions>
1579 </object>
1580
1581 <object type="button">
1582 <condition var1="tw_partition_ext" op="=" var2="1" />
1583 <highlight color="%highlight_color%" />
1584 <placement x="%col1_x%" y="%row3_y%" />
1585 <font resource="font" color="%button_text_color%" />
1586 <text>EXT4</text>
1587 <image resource="main_button" />
1588 <actions>
1589 <action function="set">tw_back=selectfilesystem</action>
1590 <action function="set">tw_action=changefilesystem</action>
1591 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1592 <action function="set">tw_action_new_file_system=ext4</action>
1593 <action function="set">tw_has_action2=0</action>
1594 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1595 <action function="set">tw_text2=</action>
1596 <action function="set">tw_action_text1=Formatting...</action>
1597 <action function="set">tw_complete_text1=Format Complete</action>
1598 <action function="set">tw_slider_text=Swipe to Change</action>
1599 <action function="page">confirm_action</action>
1600 </actions>
1601 </object>
1602
1603 <object type="button">
1604 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1605 <highlight color="%highlight_color%" />
1606 <placement x="%col2_x%" y="%row3_y%" />
1607 <font resource="font" color="%button_text_color%" />
1608 <text>F2FS</text>
1609 <image resource="main_button" />
1610 <actions>
1611 <action function="set">tw_back=selectfilesystem</action>
1612 <action function="set">tw_action=changefilesystem</action>
1613 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1614 <action function="set">tw_action_new_file_system=f2fs</action>
1615 <action function="set">tw_has_action2=0</action>
1616 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1617 <action function="set">tw_text2=</action>
1618 <action function="set">tw_action_text1=Formatting...</action>
1619 <action function="set">tw_complete_text1=Format Complete</action>
1620 <action function="set">tw_slider_text=Swipe to Change</action>
1621 <action function="page">confirm_action</action>
1622 </actions>
1623 </object>
1624
1625 <object type="button">
1626 <condition var1="tw_partition_vfat" op="=" var2="1" />
1627 <highlight color="%highlight_color%" />
1628 <placement x="%col1_x%" y="%row4_y%" />
1629 <font resource="font" color="%button_text_color%" />
1630 <text>FAT</text>
1631 <image resource="main_button" />
1632 <actions>
1633 <action function="set">tw_back=selectfilesystem</action>
1634 <action function="set">tw_action=changefilesystem</action>
1635 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1636 <action function="set">tw_action_new_file_system=vfat</action>
1637 <action function="set">tw_has_action2=0</action>
1638 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1639 <action function="set">tw_text2=</action>
1640 <action function="set">tw_action_text1=Formatting...</action>
1641 <action function="set">tw_complete_text1=Format Complete</action>
1642 <action function="set">tw_slider_text=Swipe to Change</action>
1643 <action function="page">confirm_action</action>
1644 </actions>
1645 </object>
1646
1647 <object type="button">
1648 <condition var1="tw_partition_exfat" op="=" var2="1" />
1649 <highlight color="%highlight_color%" />
1650 <placement x="%col2_x%" y="%row4_y%" />
1651 <font resource="font" color="%button_text_color%" />
1652 <text>exFAT</text>
1653 <image resource="main_button" />
1654 <actions>
1655 <action function="set">tw_back=selectfilesystem</action>
1656 <action function="set">tw_action=changefilesystem</action>
1657 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1658 <action function="set">tw_action_new_file_system=exfat</action>
1659 <action function="set">tw_has_action2=0</action>
1660 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1661 <action function="set">tw_text2=</action>
1662 <action function="set">tw_action_text1=Formatting...</action>
1663 <action function="set">tw_complete_text1=Format Complete</action>
1664 <action function="set">tw_slider_text=Swipe to Change</action>
1665 <action function="page">confirm_action</action>
1666 </actions>
1667 </object>
1668
1669 <object type="action">
1670 <touch key="home" />
1671 <action function="page">main</action>
1672 </object>
1673
1674 <object type="action">
1675 <touch key="back" />
1676 <action function="page">partitionoptions</action>
1677 </object>
1678
1679 <object type="template" name="footer" />
1680 </page>
1681
Dees_Troy51a0e822012-09-05 15:24:24 -04001682 <page name="backup">
1683 <object type="template" name="header" />
1684
Dees_Troy83bd4832013-05-04 12:39:56 +00001685 <object type="button">
1686 <highlight color="%highlight_color%" />
1687 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001688 <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 +00001689 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001690 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001691 <actions>
1692 <action function="set">tw_fileexists=0</action>
1693 <action function="page">backupname1</action>
1694 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001695 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001696
Dees_Troya13d74f2013-03-24 08:54:55 -05001697 <object type="partitionlist">
1698 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001699 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001700 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1701 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1702 <text>Select Partitions to Back Up:</text>
1703 <icon selected="checkbox_true" unselected="checkbox_false" />
1704 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1705 <background color="%listbox_background%" />
1706 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1707 <data name="tw_backup_list" />
1708 <listtype name="backup" />
1709 </object>
1710
1711 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001712 <conditions>
1713 <condition var1="tw_include_encrypted_backup" var2="1" />
1714 <condition var1="tw_encrypt_backup" var2="0" />
1715 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001716 <highlight color="%highlight_color%" />
1717 <fill color="%button_fill_color%" />
1718 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1719 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001720 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001721 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001722 <action function="page">backupencryption</action>
1723 </actions>
1724 </object>
1725
1726 <object type="button">
1727 <conditions>
1728 <condition var1="tw_include_encrypted_backup" var2="1" />
1729 <condition var1="tw_encrypt_backup" var2="1" />
1730 </conditions>
1731 <highlight color="%highlight_color%" />
1732 <fill color="%button_fill_color%" />
1733 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1734 <font resource="font" color="%button_text_color%" />
1735 <text>Using Encryption</text>
1736 <actions>
1737 <action function="set">tw_password_not_match=0</action>
1738 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001739 </actions>
1740 </object>
1741
1742 <object type="button">
1743 <highlight color="%highlight_color%" />
1744 <fill color="%button_fill_color%" />
1745 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1746 <font resource="font" color="%button_text_color%" />
1747 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001748 <actions>
1749 <action function="refreshsizes"></action>
1750 <action function="page">backup</action>
1751 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001752 </object>
1753
1754 <object type="button">
1755 <highlight color="%highlight_color%" />
1756 <fill color="%button_fill_color%" />
1757 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1758 <font resource="font" color="%button_text_color%" />
1759 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1760 <actions>
1761 <action function="set">tw_back=backup</action>
1762 <action function="page">selectstorage</action>
1763 </actions>
1764 </object>
1765
1766 <object type="checkbox">
1767 <placement x="%col1_x%" y="%row15_text_y%" />
1768 <font resource="font" color="%text_color%" />
1769 <text>Enable compression.</text>
1770 <data variable="tw_use_compression" />
1771 <image checked="checkbox_true" unchecked="checkbox_false" />
1772 </object>
1773
1774 <object type="checkbox">
1775 <placement x="%col1_x%" y="%row16_text_y%" />
1776 <font resource="font" color="%text_color%" />
1777 <text>Skip MD5 generation during backup.</text>
1778 <data variable="tw_skip_md5_generate" />
1779 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001780 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001781
Dees_Troyb46a6842012-09-25 11:06:46 -04001782 <object type="slider">
1783 <placement x="%slider_x%" y="slider_y" />
1784 <resource base="slider" used="slider-used" touch="slider-touch" />
1785 <action function="page">backup_run</action>
1786 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001787
1788 <object type="text" color="%text_color%">
1789 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001790 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001791 <text>Swipe to Back Up</text>
1792 </object>
1793
Dees_Troy51a0e822012-09-05 15:24:24 -04001794 <object type="action">
1795 <touch key="home" />
1796 <action function="page">main</action>
1797 </object>
1798
1799 <object type="action">
1800 <touch key="back" />
1801 <action function="page">main</action>
1802 </object>
1803
1804 <object type="template" name="footer" />
1805 </page>
1806
1807 <page name="backupname1">
1808 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001809 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1810 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001811 </object>
1812
1813 <object type="action">
1814 <action function="page">backupname2</function>
1815 </object>
1816 </page>
1817
1818 <page name="backupname2">
1819 <object type="template" name="header" />
1820
1821 <object type="text" color="%text_color%">
1822 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1823 <font resource="font" />
1824 <text>Please Enter a Backup Name</text>
1825 </object>
1826
1827 <object type="input">
1828 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1829 <background color="%input_background_color%" />
1830 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1831 <font resource="font" color="%text_color%" />
1832 <text>%tw_backup_name%</text>
1833 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001834 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001835 <actions>
1836 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1837 <action function="set">tw_existpage=backupname2</action>
1838 <action function="set">tw_notexistpage=backup</action>
1839 <action function="page">filecheck</action>
1840 </actions>
1841 </object>
1842
1843 <object type="text" color="%text_fail_color%">
1844 <condition var1="tw_fileexists" var2="1" />
1845 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1846 <font resource="font" />
1847 <text>A backup with that name already exists!</text>
1848 </object>
1849
Dees_Troyb46a6842012-09-25 11:06:46 -04001850 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001851 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001852 <placement x="%col1_x%" y="%row2_y%" />
1853 <font resource="font" color="%button_text_color%" />
1854 <text>Append Date</text>
1855 <image resource="main_button" />
1856 <action function="appenddatetobackupname"></action>
1857 </object>
1858
1859 <object type="button">
1860 <highlight color="%highlight_color%" />
1861 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001862 <font resource="font" color="%button_text_color%" />
1863 <text>Cancel</text>
1864 <image resource="main_button" />
1865 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001866 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001867 <action function="page">backup</action>
1868 </actions>
1869 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001870
1871 <object type="template" name="keyboardtemplate" />
1872
Dees_Troyb46a6842012-09-25 11:06:46 -04001873 <object type="action">
1874 <touch key="home" />
1875 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001876 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001877 <action function="page">main</action>
1878 </actions>
1879 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001880
Dees_Troyb46a6842012-09-25 11:06:46 -04001881 <object type="action">
1882 <touch key="back" />
1883 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001884 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001885 <action function="page">backup</action>
1886 </actions>
1887 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001888
1889 <object type="template" name="footer" />
1890 </page>
1891
Dees_Troy83bd4832013-05-04 12:39:56 +00001892 <page name="backupencryption">
1893 <object type="template" name="header" />
1894
1895 <object type="text" color="%text_color%">
1896 <font resource="font" />
1897 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1898 <text>Encrypt your backup?</text>
1899 </object>
1900
1901 <object type="text" color="%text_color%">
1902 <font resource="font" />
1903 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1904 <text>Please Enter A Password:</text>
1905 </object>
1906
1907 <object type="input">
1908 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1909 <background color="%input_background_color%" />
1910 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1911 <font resource="font" color="%text_color%" />
1912 <text>%tw_backup_encrypt_display%</text>
1913 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1914 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1915 <action function="page">backupencryption2</action>
1916 </object>
1917
1918 <object type="text" color="%text_fail_color%">
1919 <condition var1="tw_password_not_match" var2="1" />
1920 <font resource="font" />
1921 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1922 <text>Passwords Do Not Match</text>
1923 </object>
1924
1925 <object type="button">
1926 <highlight color="%highlight_color%" />
1927 <placement x="%col_center_x%" y="%row2_y%" />
1928 <font resource="font" color="%button_text_color%" />
1929 <text>Cancel</text>
1930 <image resource="main_button" />
1931 <actions>
1932 <action function="set">tw_encrypt_backup=0</action>
1933 <action function="set">tw_backup_password=</action>
1934 <action function="set">tw_backup_password2=</action>
1935 <action function="set">tw_backup_encrypt_display=</action>
1936 <action function="set">tw_backup_encrypt_display2=</action>
1937 <action function="page">backup</action>
1938 </actions>
1939 </object>
1940
1941 <object type="template" name="keyboardtemplate" />
1942
1943 <object type="action">
1944 <touch key="home" />
1945 <action function="page">main</action>
1946 </object>
1947
1948 <object type="action">
1949 <touch key="back" />
1950 <action function="page">backup</action>
1951 </object>
1952
1953 <object type="template" name="footer" />
1954 </page>
1955
1956 <page name="backupencryption2">
1957 <object type="template" name="header" />
1958
1959 <object type="text" color="%text_color%">
1960 <font resource="font" />
1961 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1962 <text>Encrypt your backup?</text>
1963 </object>
1964
1965 <object type="text" color="%text_color%">
1966 <font resource="font" />
1967 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1968 <text>Please Enter Password Again:</text>
1969 </object>
1970
1971 <object type="input">
1972 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1973 <background color="%input_background_color%" />
1974 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1975 <font resource="font" color="%text_color%" />
1976 <text>%tw_backup_encrypt_display2%</text>
1977 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1978 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1979 <actions>
1980 <action function="page">checkbackuppassword</action>
1981 </actions>
1982 </object>
1983
1984 <object type="button">
1985 <highlight color="%highlight_color%" />
1986 <placement x="%col_center_x%" y="%row2_y%" />
1987 <font resource="font" color="%button_text_color%" />
1988 <text>Cancel</text>
1989 <image resource="main_button" />
1990 <actions>
1991 <action function="set">tw_encrypt_backup=0</action>
1992 <action function="set">tw_backup_password=</action>
1993 <action function="set">tw_backup_password2=</action>
1994 <action function="set">tw_backup_encrypt_display=</action>
1995 <action function="set">tw_backup_encrypt_display2=</action>
1996 <action function="page">backup</action>
1997 </actions>
1998 </object>
1999
2000 <object type="template" name="keyboardtemplate" />
2001
2002 <object type="action">
2003 <touch key="home" />
2004 <action function="page">main</action>
2005 </object>
2006
2007 <object type="action">
2008 <touch key="back" />
2009 <action function="page">backup</action>
2010 </object>
2011
2012 <object type="template" name="footer" />
2013 </page>
2014
2015 <page name="checkbackuppassword">
2016 <object type="action">
2017 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2018 <actions>
2019 <action function="set">tw_encrypt_backup=1</action>
2020 <action function="page">backup</action>
2021 </actions>
2022 </object>
2023
2024 <object type="action">
2025 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2026 <actions>
2027 <action function="set">tw_encrypt_backup=0</action>
2028 <action function="set">tw_password_not_match=1</action>
2029 <action function="set">tw_backup_password=</action>
2030 <action function="set">tw_backup_password2=</action>
2031 <action function="set">tw_backup_encrypt_display=</action>
2032 <action function="set">tw_backup_encrypt_display2=</action>
2033 <action function="page">backupencryption</action>
2034 </actions>
2035 </object>
2036 </page>
2037
Dees_Troy51a0e822012-09-05 15:24:24 -04002038 <page name="backup_run">
2039 <object type="template" name="header" />
2040
2041 <object type="text" color="%text_color%">
2042 <font resource="font" />
2043 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2044 <text>%tw_operation% %tw_partition%</text>
2045 </object>
2046
2047 <object type="template" name="action_page_console" />
2048
2049 <object type="template" name="progress_bar" />
2050
2051 <object type="action">
2052 <action function="nandroid">backup</action>
2053 </object>
2054
2055 <object type="action">
2056 <condition var1="tw_operation_state" var2="1" />
2057 <actions>
2058 <action function="set">tw_back=backup</action>
2059 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002060 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002061 <action function="page">action_complete</action>
2062 </actions>
2063 </object>
2064 </page>
2065
2066 <page name="restore">
2067 <object type="template" name="header" />
2068
2069 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002070 <highlight color="%highlight_color%" />
2071 <fill color="%button_fill_color%" />
2072 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2073 <font resource="font" color="%button_text_color%" />
2074 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2075 <actions>
2076 <action function="set">tw_back=restore</action>
2077 <action function="page">selectstorage</action>
2078 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002079 </object>
2080
2081 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002082 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002083 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002084 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002085 <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 -04002086 <text>Select Package to Restore:</text>
2087 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2088 <sort name="tw_gui_sort_order" />
2089 <icon folder="folder_icon" file="file_icon" />
2090 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002091 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002092 <filter folders="1" files="0" nav="0" />
2093 <path name="tw_backups_folder" />
2094 <data name="tw_restore" default="" />
2095 <selection name="tw_restore_name" />
2096 </object>
2097
2098 <object type="template" name="sort_options" />
2099
2100 <object type="action">
2101 <condition var1="tw_restore" op="modified" />
2102 <actions>
2103 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002104 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002105 </actions>
2106 </object>
2107
2108 <object type="action">
2109 <touch key="home" />
2110 <action function="page">main</action>
2111 </object>
2112
2113 <object type="action">
2114 <touch key="back" />
2115 <action function="page">main</action>
2116 </object>
2117
2118 <object type="template" name="footer" />
2119 </page>
2120
Dees_Troy83bd4832013-05-04 12:39:56 +00002121 <page name="restore_read">
2122 <object type="action">
2123 <condition var1="tw_restore_encrypted" var2="1" />
2124 <actions>
2125 <action function="set">tw_password_fail=0</action>
2126 <action function="page">restore_decrypt</action>
2127 </actions>
2128 </object>
2129
2130 <object type="action">
2131 <condition var1="tw_restore_encrypted" var2="0" />
2132 <actions>
2133 <action function="page">restore_select</action>
2134 </actions>
2135 </object>
2136 </page>
2137
2138 <page name="restore_decrypt">
2139 <object type="template" name="header" />
2140
2141 <object type="text" color="%text_color%">
2142 <font resource="font" />
2143 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2144 <text>Backup Encrypted</text>
2145 </object>
2146
2147 <object type="text" color="%text_color%">
2148 <font resource="font" />
2149 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2150 <text>Please Enter Your Password:</text>
2151 </object>
2152
2153 <object type="input">
2154 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2155 <background color="%input_background_color%" />
2156 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2157 <font resource="font" color="%text_color%" />
2158 <text>%tw_restore_display%</text>
2159 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2160 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2161 <actions>
2162 <action function="page">try_restore_decrypt</action>
2163 </actions>
2164 </object>
2165
2166 <object type="text" color="%text_fail_color%">
2167 <condition var1="tw_password_fail" var2="1" />
2168 <font resource="font" />
2169 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2170 <text>Password Failed, Please Try Again</text>
2171 </object>
2172
2173 <object type="button">
2174 <highlight color="%highlight_color%" />
2175 <placement x="%col1_x%" y="%row2_y%" />
2176 <font resource="font" color="%button_text_color%" />
2177 <text>Cancel</text>
2178 <image resource="main_button" />
2179 <actions>
2180 <action function="set">tw_page_done=1</action>
2181 <action function="page">restore</action>
2182 </actions>
2183 </object>
2184
2185 <object type="button">
2186 <highlight color="%highlight_color%" />
2187 <placement x="%col2_x%" y="%row2_y%" />
2188 <font resource="font" color="%button_text_color%" />
2189 <text>Delete</text>
2190 <image resource="main_button" />
2191 <actions>
2192 <action function="set">tw_back=restore</action>
2193 <action function="set">tw_action=cmd</action>
2194 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2195 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2196 <action function="set">tw_text2=This cannot be undone!</action>
2197 <action function="set">tw_action_text1=Deleting Backup...</action>
2198 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2199 <action function="set">tw_slider_text=Swipe to Delete</action>
2200 <action function="page">confirm_action</action>
2201 </actions>
2202 </object>
2203
2204 <object type="template" name="keyboardtemplate" />
2205
2206 <object type="action">
2207 <touch key="home" />
2208 <action function="page">main</action>
2209 </object>
2210
2211 <object type="action">
2212 <touch key="back" />
2213 <action function="page">restore</action>
2214 </object>
2215
2216 <object type="template" name="footer" />
2217 </page>
2218
2219 <page name="try_restore_decrypt">
2220 <object type="template" name="header" />
2221
2222 <object type="text" color="%text_color%">
2223 <font resource="font" />
2224 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2225 <text>Trying Decryption with Your Password</text>
2226 </object>
2227
2228 <object type="template" name="action_page_console" />
2229
2230 <object type="template" name="progress_bar" />
2231
2232 <object type="action">
2233 <action function="decrypt_backup"></action>
2234 </object>
2235
2236 <object type="action">
2237 <conditions>
2238 <condition var1="tw_operation_state" var2="1" />
2239 <condition var1="tw_operation_status" op="!=" var2="0" />
2240 </conditions>
2241 <actions>
2242 <action function="set">tw_password_fail=1</action>
2243 <action function="page">restore_decrypt</action>
2244 </actions>
2245 </object>
2246
2247 <object type="action">
2248 <conditions>
2249 <condition var1="tw_operation_state" var2="1" />
2250 <condition var1="tw_operation_status" op="=" var2="0" />
2251 </conditions>
2252 <actions>
2253 <action function="set">tw_page_done=1</action>
2254 <action function="page">restore_select</action>
2255 </actions>
2256 </object>
2257 </page>
2258
Dees_Troy51a0e822012-09-05 15:24:24 -04002259 <page name="restore_select">
2260 <object type="template" name="header" />
2261
Dees_Troya13d74f2013-03-24 08:54:55 -05002262 <object type="partitionlist">
2263 <highlight color="%fileselector_highlight_color%" />
2264 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2265 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2266 <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 -04002267 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002268 <icon selected="checkbox_true" unselected="checkbox_false" />
2269 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2270 <background color="%listbox_background%" />
2271 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2272 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2273 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002274 </object>
2275
2276 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002277 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002278 <fill color="%button_fill_color%" />
2279 <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 -04002280 <font resource="font" color="%button_text_color%" />
2281 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002282 <actions>
2283 <action function="set">tw_backup_rename=</action>
2284 <action function="set">tw_fileexists=0</action>
2285 <action function="page">renamebackup</action>
2286 </actions>
2287 </object>
2288
2289 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002290 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002291 <fill color="%button_fill_color%" />
2292 <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 -04002293 <font resource="font" color="%button_text_color%" />
2294 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002295 <actions>
2296 <action function="set">tw_back=restore</action>
2297 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002298 <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 -04002299 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2300 <action function="set">tw_text2=This cannot be undone!</action>
2301 <action function="set">tw_action_text1=Deleting Backup...</action>
2302 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2303 <action function="set">tw_slider_text=Swipe to Delete</action>
2304 <action function="page">confirm_action</action>
2305 </actions>
2306 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002307
Dees_Troya13d74f2013-03-24 08:54:55 -05002308 <object type="checkbox">
2309 <placement x="%col1_x%" y="%row15_text_y%" />
2310 <font resource="font" color="%text_color%" />
2311 <text>Enable MD5 verification of backup files.</text>
2312 <data variable="tw_skip_md5_check" />
2313 <image checked="checkbox_true" unchecked="checkbox_false" />
2314 </object>
2315
2316 <object type="text" color="%text_color%">
2317 <font resource="font" />
2318 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2319 <text>Package Date: %tw_restore_file_date%</text>
2320 </object>
2321
Dees_Troy51a0e822012-09-05 15:24:24 -04002322 <object type="slider">
2323 <placement x="%slider_x%" y="%slider_y%" />
2324 <resource base="slider" used="slider-used" touch="slider-touch" />
2325 <action function="page">restore_run</action>
2326 </object>
2327
2328 <object type="text" color="%text_color%">
2329 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002330 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002331 <text>Swipe to Restore</text>
2332 </object>
2333
Dees_Troy51a0e822012-09-05 15:24:24 -04002334 <object type="action">
2335 <touch key="home" />
2336 <action function="page">main</action>
2337 </object>
2338
2339 <object type="action">
2340 <touch key="back" />
2341 <action function="page">restore</action>
2342 </object>
2343
2344 <object type="template" name="footer" />
2345 </page>
2346
2347 <page name="renamebackup">
2348 <object type="template" name="header" />
2349
2350 <object type="text" color="%text_color%">
2351 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2352 <font resource="font" />
2353 <text>Please Enter a New Backup Name</text>
2354 </object>
2355
2356 <object type="input">
2357 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2358 <background color="%input_background_color%" />
2359 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2360 <font resource="font" color="%text_color%" />
2361 <text>%tw_backup_rename%</text>
2362 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002363 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002364 <actions>
2365 <action function="set">tw_back=restore</action>
2366 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002367 <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 -04002368 <action function="set">tw_text1=Rename Backup?</action>
2369 <action function="set">tw_text2=This cannot be undone!</action>
2370 <action function="set">tw_action_text1=Renaming Backup...</action>
2371 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2372 <action function="set">tw_slider_text=Swipe to Rename</action>
2373 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2374 <action function="set">tw_existpage=renamebackup</action>
2375 <action function="set">tw_notexistpage=confirm_action</action>
2376 <action function="page">filecheck</action>
2377 </actions>
2378 </object>
2379
2380 <object type="text" color="%text_fail_color%">
2381 <condition var1="tw_fileexists" var2="1" />
2382 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2383 <font resource="font" />
2384 <text>A backup with that name already exists!</text>
2385 </object>
2386
2387 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002388 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <placement x="%col_center_x%" y="%row2_y%" />
2390 <font resource="font" color="%button_text_color%" />
2391 <text>Cancel</text>
2392 <image resource="main_button" />
2393 <action function="page">restore_select</action>
2394 </object>
2395
2396 <object type="template" name="keyboardtemplate" />
2397
2398 <object type="action">
2399 <touch key="home" />
2400 <action function="page">main</action>
2401 </object>
2402
2403 <object type="action">
2404 <touch key="back" />
2405 <action function="page">restore_select</action>
2406 </object>
2407
2408 <object type="template" name="footer" />
2409 </page>
2410
2411 <page name="restore_run">
2412 <object type="template" name="header" />
2413
2414 <object type="text" color="%text_color%">
2415 <font resource="font" />
2416 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2417 <text>%tw_operation% %tw_partition%</text>
2418 </object>
2419
2420 <object type="template" name="action_page_console" />
2421
2422 <object type="template" name="progress_bar" />
2423
2424 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002425 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <actions>
2427 <action function="set">tw_back=restore_select</action>
2428 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002429 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <action function="page">action_complete</action>
2431 </actions>
2432 </object>
2433
2434 <object type="action">
2435 <action function="nandroid">restore</action>
2436 </object>
2437 </page>
2438
Dees_Troya13d74f2013-03-24 08:54:55 -05002439 <page name="selectstorage">
2440 <object type="template" name="header" />
2441
2442 <object type="partitionlist">
2443 <highlight color="%fileselector_highlight_color%" />
2444 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2445 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2446 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2447 <text>Select Storage:</text>
2448 <icon selected="radio_true" unselected="radio_false" />
2449 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2450 <background color="%listbox_background%" />
2451 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2452 <data name="tw_storage_path" />
2453 <listtype name="storage" />
2454 </object>
2455
Dees_Troye7e0ae82013-07-05 14:46:07 +00002456 <object type="button">
2457 <highlight color="%highlight_color%" />
2458 <placement x="%col_center_x%" y="%row4_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>OK</text>
2461 <image resource="main_button" />
2462 <actions>
2463 <action function="set">tw_clear_destination=%tw_back%</action>
2464 <action function="page">clear_vars</action>
2465 </actions>
2466 </object>
2467
Dees_Troya13d74f2013-03-24 08:54:55 -05002468 <object type="action">
2469 <touch key="home" />
2470 <action function="page">main</action>
2471 </object>
2472
2473 <object type="action">
2474 <touch key="back" />
2475 <actions>
2476 <action function="page">%tw_back%</action>
2477 </actions>
2478 </object>
2479
2480 <object type="template" name="footer" />
2481 </page>
2482
Dees_Troy51a0e822012-09-05 15:24:24 -04002483 <page name="mount">
2484 <object type="template" name="header" />
2485
Dees_Troya13d74f2013-03-24 08:54:55 -05002486 <object type="partitionlist">
2487 <highlight color="%fileselector_highlight_color%" />
2488 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2489 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2490 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2491 <text>Select Partitions to Mount:</text>
2492 <icon selected="checkbox_true" unselected="checkbox_false" />
2493 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2494 <background color="%listbox_background%" />
2495 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2496 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 </object>
2498
2499 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002500 <highlight color="%highlight_color%" />
2501 <fill color="%button_fill_color%" />
2502 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2503 <font resource="font" color="%button_text_color%" />
2504 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2505 <actions>
2506 <action function="set">tw_back=mount</action>
2507 <action function="page">selectstorage</action>
2508 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002509 </object>
2510
2511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002514 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <font resource="font" color="%button_text_color%" />
2516 <text>Mount USB Storage</text>
2517 <image resource="main_button" />
2518 <action function="page">usb_mount</action>
2519 </object>
2520
Gary Peckffdc6ae2012-11-21 18:02:02 -08002521 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002522 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002523 <conditions>
2524 <condition var1="tw_is_encrypted" var2="1" />
2525 <condition var1="tw_is_decrypted" var2="0" />
2526 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002527 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002528 <font resource="font" color="%button_text_color%" />
2529 <text>Decrypt Data</text>
2530 <image resource="main_button" />
2531 <action function="page">decrypt</action>
2532 </object>
2533
Dees_Troy51a0e822012-09-05 15:24:24 -04002534 <object type="action">
2535 <touch key="home" />
2536 <action function="page">main</action>
2537 </object>
2538
2539 <object type="action">
2540 <touch key="back" />
2541 <action function="page">main</action>
2542 </object>
2543
2544 <object type="template" name="footer" />
2545 </page>
2546
2547 <page name="usb_mount">
2548 <object type="template" name="header" />
2549
2550 <object type="text" color="%text_color%">
2551 <font resource="font" />
2552 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2553 <text>USB Storage Mounted</text>
2554 </object>
2555
2556 <object type="text" color="%text_color%">
2557 <placement x="%col1_x%" y="%row1_text_y%" />
2558 <font resource="font" />
2559 <text>Be sure to safely remove your device</text>
2560 </object>
2561
2562 <object type="text" color="%text_color%">
2563 <placement x="%col1_x%" y="%row2_text_y%" />
2564 <font resource="font" />
2565 <text>from your computer before unmounting!</text>
2566 </object>
2567
2568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002569 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <placement x="%col1_x%" y="%row3_y%" />
2571 <font resource="font" color="%button_text_color%" />
2572 <text>Unmount</text>
2573 <image resource="main_button" />
2574 <action function="page">usb_umount</action>
2575 </object>
2576
2577 <object type="action">
2578 <action function="mount">usb</action>
2579 </object>
2580
2581 <object type="template" name="footer" />
2582 </page>
2583
2584 <page name="usb_umount">
2585 <object type="action">
2586 <action function="unmount">usb</action>
2587 </object>
2588
2589 <object type="action">
2590 <action function="page">mount</action>
2591 </object>
2592 </page>
2593
2594 <page name="reboot">
2595 <object type="template" name="header" />
2596
2597 <object type="text" color="%text_color%">
2598 <font resource="font" />
2599 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2600 <text>Reboot Menu</text>
2601 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002602
Dees_Troy51a0e822012-09-05 15:24:24 -04002603 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002604 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002605 <condition var1="tw_reboot_system" var2="1" />
2606 <placement x="%col1_x%" y="%row1_y%" />
2607 <font resource="font" color="%button_text_color%" />
2608 <text>System</text>
2609 <image resource="main_button" />
2610 <actions>
2611 <action function="set">tw_back=reboot</action>
2612 <action function="set">tw_action=reboot</action>
2613 <action function="set">tw_action_param=system</action>
2614 <action function="set">tw_has_action2=0</action>
2615 <action function="set">tw_text1=No OS Installed! Are you</action>
2616 <action function="set">tw_text2=sure you wish to reboot?</action>
2617 <action function="set">tw_action_text1=Rebooting...</action>
2618 <action function="set">tw_complete_text1=Rebooting...</action>
2619 <action function="set">tw_slider_text=Swipe to Reboot</action>
2620 <action function="page">rebootcheck</action>
2621 </actions>
2622 </object>
2623
2624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002625 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002626 <condition var1="tw_reboot_poweroff" var2="1" />
2627 <placement x="%col2_x%" y="%row1_y%" />
2628 <font resource="font" color="%button_text_color%" />
2629 <text>Power Off</text>
2630 <image resource="main_button" />
2631 <actions>
2632 <action function="set">tw_back=reboot</action>
2633 <action function="set">tw_action=reboot</action>
2634 <action function="set">tw_action_param=poweroff</action>
2635 <action function="set">tw_has_action2=0</action>
2636 <action function="set">tw_text1=No OS Installed! Are you</action>
2637 <action function="set">tw_text2=sure you wish to power off?</action>
2638 <action function="set">tw_action_text1=Turning Off...</action>
2639 <action function="set">tw_complete_text1=Turning Off...</action>
2640 <action function="set">tw_slider_text=Swipe to Power Off</action>
2641 <action function="page">rebootcheck</action>
2642 </actions>
2643 </object>
2644
2645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002647 <condition var1="tw_reboot_recovery" var2="1" />
2648 <placement x="%col1_x%" y="%row2_y%" />
2649 <font resource="font" color="%button_text_color%" />
2650 <text>Recovery</text>
2651 <image resource="main_button" />
2652 <actions>
2653 <action function="set">tw_back=reboot</action>
2654 <action function="set">tw_action=reboot</action>
2655 <action function="set">tw_action_param=recovery</action>
2656 <action function="set">tw_has_action2=0</action>
2657 <action function="set">tw_text1=No OS Installed! Are you</action>
2658 <action function="set">tw_text2=sure you wish to reboot?</action>
2659 <action function="set">tw_action_text1=Rebooting...</action>
2660 <action function="set">tw_complete_text1=Rebooting...</action>
2661 <action function="set">tw_slider_text=Swipe to Reboot</action>
2662 <action function="page">rebootcheck</action>
2663 </actions>
2664 </object>
2665
2666 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002667 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002668 <condition var1="tw_reboot_bootloader" var2="1" />
2669 <placement x="%col2_x%" y="%row2_y%" />
2670 <font resource="font" color="%button_text_color%" />
2671 <text>Bootloader</text>
2672 <image resource="main_button" />
2673 <actions>
2674 <action function="set">tw_back=reboot</action>
2675 <action function="set">tw_action=reboot</action>
2676 <action function="set">tw_action_param=bootloader</action>
2677 <action function="set">tw_has_action2=0</action>
2678 <action function="set">tw_text1=No OS Installed! Are you</action>
2679 <action function="set">tw_text2=sure you wish to reboot?</action>
2680 <action function="set">tw_action_text1=Rebooting...</action>
2681 <action function="set">tw_complete_text1=Rebooting...</action>
2682 <action function="set">tw_slider_text=Swipe to Reboot</action>
2683 <action function="page">rebootcheck</action>
2684 </actions>
2685 </object>
2686
2687 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002688 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002689 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002690 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <font resource="font" color="%button_text_color%" />
2692 <text>Download</text>
2693 <image resource="main_button" />
2694 <actions>
2695 <action function="set">tw_back=reboot</action>
2696 <action function="set">tw_action=reboot</action>
2697 <action function="set">tw_action_param=download</action>
2698 <action function="set">tw_has_action2=0</action>
2699 <action function="set">tw_text1=No OS Installed! Are you</action>
2700 <action function="set">tw_text2=sure you wish to reboot?</action>
2701 <action function="set">tw_action_text1=Rebooting...</action>
2702 <action function="set">tw_complete_text1=Rebooting...</action>
2703 <action function="set">tw_slider_text=Swipe to Reboot</action>
2704 <action function="page">rebootcheck</action>
2705 </actions>
2706 </object>
2707
2708 <object type="action">
2709 <touch key="home" />
2710 <action function="page">main</action>
2711 </object>
2712
2713 <object type="action">
2714 <touch key="back" />
2715 <action function="page">main</action>
2716 </object>
2717
2718 <object type="template" name="footer" />
2719 </page>
2720
2721 <page name="settings">
2722 <object type="template" name="header" />
2723
2724 <object type="text" color="%text_color%">
2725 <font resource="font" />
2726 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2727 <text>Settings</text>
2728 </object>
2729
2730 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002731 <placement x="%col1_x%" y="%row1_text_y%" />
2732 <font resource="font" color="%text_color%" />
2733 <text>Zip file signature verification.</text>
2734 <data variable="tw_signed_zip_verify" />
2735 <image checked="checkbox_true" unchecked="checkbox_false" />
2736 </object>
2737
2738 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002739 <placement x="%col1_x%" y="%row2_text_y%" />
2740 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002741 <text>Use rm -rf instead of formatting.</text>
2742 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <image checked="checkbox_true" unchecked="checkbox_false" />
2744 </object>
2745
2746 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002747 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002749 <text>Skip MD5 generation during backup.</text>
2750 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <image checked="checkbox_true" unchecked="checkbox_false" />
2752 </object>
2753
2754 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002755 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002757 <text>Enable MD5 verification of backup files.</text>
2758 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <image checked="checkbox_true" unchecked="checkbox_false" />
2760 </object>
2761
2762 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002763 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002765 <text>Use Military Time.</text>
2766 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <image checked="checkbox_true" unchecked="checkbox_false" />
2768 </object>
2769
2770 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002771 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002773 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <data variable="tw_simulate_actions" />
2775 <image checked="checkbox_true" unchecked="checkbox_false" />
2776 </object>
2777
2778 <object type="checkbox">
2779 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002780 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002782 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <data variable="tw_simulate_fail" />
2784 <image checked="checkbox_true" unchecked="checkbox_false" />
2785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <placement x="%col1_x%" y="%row3_y%" />
2790 <font resource="font" color="%button_text_color%" />
2791 <text>Time Zone</text>
2792 <image resource="main_button" />
2793 <action function="page">timezone</action>
2794 </object>
2795
2796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002797 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002798 <placement x="%col2_x%" y="%row3_y%" />
2799 <font resource="font" color="%button_text_color%" />
2800 <text>Screen</text>
2801 <image resource="main_button" />
2802 <action function="page">screen</action>
2803 </object>
2804
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002805 <object type="button">
2806 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002807 <placement x="%col1_x%" y="%row4_y%" />
2808 <font resource="font" color="%button_text_color%" />
2809 <text>Restore Defaults</text>
2810 <image resource="main_button" />
2811 <action function="restoredefaultsettings"></action>
2812 </object>
2813
Dees_Troy2f9117a2013-02-17 19:52:09 -06002814 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002815 <highlight color="%highlight_color%" />
2816 <placement x="%col2_x%" y="%row4_y%" />
2817 <font resource="font" color="%button_text_color%" />
2818 <text>Vibration Duration</text>
2819 <image resource="main_button" />
2820 <action function="page">Vibrate</action>
2821 </object>
2822
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <object type="action">
2824 <touch key="home" />
2825 <action function="page">main</action>
2826 </object>
2827
2828 <object type="action">
2829 <touch key="back" />
2830 <action function="page">main</action>
2831 </object>
2832
2833 <object type="template" name="footer" />
2834 </page>
2835
2836 <page name="timezone">
2837 <object type="template" name="header" />
2838
Dees_Troy51a0e822012-09-05 15:24:24 -04002839 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002840 <highlight color="%fileselector_highlight_color%" />
2841 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2842 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002843 <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 -06002844 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002845 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002846 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002847 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002848 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002849 <data name="tw_time_zone_guisel" />
2850 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2851 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2852 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2853 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2854 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2855 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2856 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2857 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2858 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2859 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2860 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2861 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2862 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2863 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2864 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2865 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2866 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2867 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2868 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2869 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2870 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2871 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2872 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2873 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2874 </object>
2875
2876 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002877 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002878 <font resource="font" color="%text_color%" />
2879 <text>Do you use daylight savings time (DST)?</text>
2880 <data variable="tw_time_zone_guidst" />
2881 <image checked="checkbox_true" unchecked="checkbox_false" />
2882 </object>
2883
2884 <object type="text" color="%text_color%">
2885 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002886 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002887 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2888 </object>
2889
2890 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002891 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002892 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002893 <font resource="font" color="%button_text_color%" />
2894 <text>None</text>
2895 <image resource="medium_button" />
2896 <action function="set">tw_time_zone_guioffset=0</action>
2897 </object>
2898
2899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002900 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002901 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002902 <font resource="font" color="%button_text_color%" />
2903 <text>15</text>
2904 <image resource="medium_button" />
2905 <action function="set">tw_time_zone_guioffset=15</action>
2906 </object>
2907
2908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002909 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002910 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002911 <font resource="font" color="%button_text_color%" />
2912 <text>30</text>
2913 <image resource="medium_button" />
2914 <action function="set">tw_time_zone_guioffset=30</action>
2915 </object>
2916
2917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002918 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002919 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <font resource="font" color="%button_text_color%" />
2921 <text>45</text>
2922 <image resource="medium_button" />
2923 <action function="set">tw_time_zone_guioffset=45</action>
2924 </object>
2925
2926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002927 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002928 <placement x="%col_center_x%" y="%tz_set_y%" />
2929 <font resource="font" color="%button_text_color%" />
2930 <text>Set Time Zone</text>
2931 <image resource="main_button" />
2932 <action function="setguitimezone"></action>
2933 </object>
2934
2935 <object type="text" color="%text_color%">
2936 <font resource="font" />
2937 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2938 <text>Current Time Zone: %tw_time_zone%</text>
2939 </object>
2940
2941 <object type="action">
2942 <touch key="home" />
2943 <action function="page">main</action>
2944 </object>
2945
2946 <object type="action">
2947 <touch key="back" />
2948 <action function="page">settings</action>
2949 </object>
2950
2951 <object type="template" name="footer" />
2952 </page>
2953
Dees_Troy2f9117a2013-02-17 19:52:09 -06002954 <page name="screen">
2955 <object type="template" name="header" />
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2960 <text>Screen Settings</text>
2961 </object>
2962
Dees_Troy2f9117a2013-02-17 19:52:09 -06002963 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002964 <placement x="%col1_x%" y="%row2_text_y%" />
2965 <font resource="font" color="%text_color%" />
2966 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002967 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002968 <text>Enable screen timeout.</text>
2969 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002970 <action function="set">tw_screen_timeout_secs=60</action>
2971 </object>
2972
2973 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002974 <placement x="%col1_x%" y="%row2_text_y%" />
2975 <font resource="font" color="%text_color%" />
2976 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002977 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002978 <text>Enable screen timeout.</text>
2979 <image resource="checkbox_true" />
2980 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002981 </object>
2982
Vojtech Bocek85932342013-04-01 22:11:33 +02002983 <object type="slidervalue">
2984 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002985 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002986 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2987 <font resource="font" color="%text_color%" />
2988 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2989 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2990 <text>Screen timeout in seconds:</text>
2991 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002992 </object>
2993
Vojtech Bocek85932342013-04-01 22:11:33 +02002994 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002995 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002996 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2997 <font resource="font" color="%text_color%" />
2998 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2999 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3000 <text>Brightness: %tw_brightness_pct%%</text>
3001 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003002 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003003 <action function="set">tw_brightness=%tw_brightness_max%</action>
3004 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3005 <action function="compute">tw_brightness/100</action>
3006 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003007 </actions>
3008 </object>
3009
3010 <object type="action">
3011 <touch key="home" />
3012 <action function="page">main</action>
3013 </object>
3014
3015 <object type="action">
3016 <touch key="back" />
3017 <action function="page">settings</action>
3018 </object>
3019
3020 <object type="template" name="footer" />
3021 </page>
3022
Ethan Yonker03db3262014-02-05 08:02:06 -06003023 <page name="Vibrate">
3024 <object type="template" name="header" />
3025
3026 <object type="text" color="%text_color%">
3027 <font resource="font" />
3028 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3029 <text>Vibration Settings :</text>
3030 </object>
3031
3032 <object type="slidervalue">
3033 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3034 <font resource="font" color="%text_color%" />
3035 <text>Button Vibration:</text>
3036 <data variable="tw_button_vibrate" min="0" max="300" />
3037 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3038 </object>
3039
3040 <object type="slidervalue">
3041 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3042 <font resource="font" color="%text_color%" />
3043 <text>Keyboard Vibration:</text>
3044 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3045 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3046 </object>
3047
3048 <object type="slidervalue">
3049 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3050 <font resource="font" color="%text_color%" />
3051 <text>Action Vibration:</text>
3052 <data variable="tw_action_vibrate" min="0" max="500" />
3053 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3054 </object>
3055
3056 <object type="action">
3057 <touch key="home" />
3058 <action function="page">main</action>
3059 </object>
3060
3061 <object type="action">
3062 <touch key="back" />
3063 <action function="page">settings</action>
3064 </object>
3065
3066 <object type="template" name="footer" />
3067 </page>
3068
Dees_Troy51a0e822012-09-05 15:24:24 -04003069 <page name="advanced">
3070 <object type="template" name="header" />
3071
3072 <object type="text" color="%text_color%">
3073 <font resource="font" />
3074 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3075 <text>Advanced</text>
3076 </object>
3077
3078 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003079 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003080 <placement x="%col1_x%" y="%row1_y%" />
3081 <font resource="font" color="%button_text_color%" />
3082 <text>Copy Log to SD</text>
3083 <image resource="main_button" />
3084 <actions>
3085 <action function="set">tw_back=advanced</action>
3086 <action function="set">tw_action=copylog</action>
3087 <action function="set">tw_text1=Copy Log to SD Card?</action>
3088 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3089 <action function="set">tw_complete_text1=Log Copy Complete</action>
3090 <action function="set">tw_slider_text=Swipe to Confirm</action>
3091 <action function="page">confirm_action</action>
3092 </actions>
3093 </object>
3094
3095 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003096 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003097 <placement x="%col2_x%" y="%row1_y%" />
3098 <font resource="font" color="%button_text_color%" />
3099 <text>Fix Permissions</text>
3100 <image resource="main_button" />
3101 <actions>
3102 <action function="set">tw_back=advanced</action>
3103 <action function="set">tw_action=fixpermissions</action>
3104 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003105 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003106 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3107 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003108 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003109 <action function="page">confirm_action</action>
3110 </actions>
3111 </object>
3112
3113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <condition var1="tw_allow_partition_sdcard" var2="1" />
3116 <placement x="%col1_x%" y="%row2_y%" />
3117 <font resource="font" color="%button_text_color%" />
3118 <text>Partition SD Card</text>
3119 <image resource="main_button" />
3120 <action function="page">partsdcard</action>
3121 </object>
3122
3123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003125 <placement x="%col2_x%" y="%row2_y%" />
3126 <font resource="font" color="%button_text_color%" />
3127 <text>File Manager</text>
3128 <image resource="main_button" />
3129 <action function="page">filemanagerlist</action>
3130 </object>
3131
3132 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003133 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003134 <placement x="%col1_x%" y="%row3_y%" />
3135 <font resource="font" color="%button_text_color%" />
3136 <text>Terminal Command</text>
3137 <image resource="main_button" />
3138 <action function="page">terminalfolder</action>
3139 </object>
3140
3141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003142 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003143 <placement x="%col2_x%" y="%row3_y%" />
3144 <font resource="font" color="%button_text_color%" />
3145 <text>Reload Theme</text>
3146 <image resource="main_button" />
3147 <action function="reload"></action>
3148 </object>
3149
3150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003151 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04003152 <placement x="%col1_x%" y="%row4_y%" />
3153 <font resource="font" color="%button_text_color%" />
3154 <text>ADB Sideload</text>
3155 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003156 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04003157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003161 <condition var1="tw_show_dumlock" var2="1" />
3162 <placement x="%col2_x%" y="%row4_y%" />
3163 <font resource="font" color="%button_text_color%" />
3164 <text>HTC Dumlock</text>
3165 <image resource="main_button" />
3166 <action function="page">htcdumlock</action>
3167 </object>
3168
3169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003170 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003171 <condition var1="tw_has_injecttwrp" var2="1" />
3172 <placement x="%col2_x%" y="%row4_y%" />
3173 <font resource="font" color="%button_text_color%" />
3174 <text>Re-Inject TWRP</text>
3175 <image resource="main_button" />
3176 <actions>
3177 <action function="set">tw_back=advanced</action>
3178 <action function="set">tw_action=reinjecttwrp</action>
3179 <action function="set">tw_text1=Re-Inject TWRP?</action>
3180 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3181 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3182 <action function="set">tw_slider_text=Swipe to Confirm</action>
3183 <action function="page">confirm_action</action>
3184 </actions>
3185 </object>
3186
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <object type="action">
3188 <touch key="home" />
3189 <action function="page">main</action>
3190 </object>
3191
3192 <object type="action">
3193 <touch key="back" />
3194 <action function="page">main</action>
3195 </object>
3196
3197 <object type="template" name="footer" />
3198 </page>
3199
3200 <page name="partsdcard">
3201 <object type="template" name="header" />
3202
3203 <object type="text" color="%text_color%">
3204 <font resource="font" />
3205 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3206 <text>Partition SD Card</text>
3207 </object>
3208
3209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003211 <placement x="%col1_x%" y="%row1_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text></text>
3214 <image resource="minus_button" />
3215 <action function="addsubtract">tw_sdext_size-128</action>
3216 </object>
3217
3218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003220 <placement x="%sd_plus_x%" y="%row1_y%" />
3221 <font resource="font" color="%button_text_color%" />
3222 <text></text>
3223 <image resource="plus_button" />
3224 <action function="addsubtract">tw_sdext_size+128</action>
3225 </object>
3226
3227 <object type="text" color="%text_color%">
3228 <font resource="font" />
3229 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3230 <text>EXT Size: %tw_sdext_size%</text>
3231 </object>
3232
3233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003235 <placement x="%col1_x%" y="%sdswap_button_y%" />
3236 <font resource="font" color="%button_text_color%" />
3237 <text></text>
3238 <image resource="minus_button" />
3239 <action function="addsubtract">tw_swap_size-32</action>
3240 </object>
3241
3242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003244 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3245 <font resource="font" color="%button_text_color%" />
3246 <text></text>
3247 <image resource="plus_button" />
3248 <action function="addsubtract">tw_swap_size+32</action>
3249 </object>
3250
3251 <object type="text" color="%text_color%">
3252 <font resource="font" />
3253 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3254 <text>Swap Size: %tw_swap_size%</text>
3255 </object>
3256
3257 <object type="text" color="%text_color%">
3258 <font resource="font" />
3259 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3260 <text>File system: %tw_sdpart_file_system%</text>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3266 <font resource="font" color="%button_text_color%" />
3267 <text>EXT3</text>
3268 <image resource="main_button" />
3269 <action function="set">tw_sdpart_file_system=ext3</action>
3270 </object>
3271
3272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003274 <condition var1="tw_sdext_disable_ext4" var2="0" />
3275 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3276 <font resource="font" color="%button_text_color%" />
3277 <text>EXT4</text>
3278 <image resource="main_button" />
3279 <action function="set">tw_sdpart_file_system=ext4</action>
3280 </object>
3281
3282 <object type="text" color="%text_color%">
3283 <font resource="font" />
3284 <placement x="%col1_x%" y="%row12_text_y%" />
3285 <text>You will lose all files on your SD card!</text>
3286 </object>
3287
3288 <object type="text" color="%text_color%">
3289 <font resource="font" />
3290 <placement x="%col1_x%" y="%row13_text_y%" />
3291 <text>This action cannot be undone!</text>
3292 </object>
3293
3294 <object type="slider">
3295 <placement x="%slider_x%" y="%slider_y%" />
3296 <resource base="slider" used="slider-used" touch="slider-touch" />
3297 <action function="page">partsdcardaction</action>
3298 <actions>
3299 <action function="set">tw_back=partsdcard</action>
3300 <action function="set">tw_action=partitionsd</action>
3301 <action function="set">tw_has_action2=1</action>
3302 <action function="set">tw_action2=set</action>
3303 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3304 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3305 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003306 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003307 <action function="page">action_page</action>
3308 </actions>
3309 </object>
3310
3311 <object type="text" color="%text_color%">
3312 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003313 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003314 <text>Swipe to Partition</text>
3315 </object>
3316
3317 <object type="action">
3318 <touch key="home" />
3319 <action function="page">main</action>
3320 </object>
3321
3322 <object type="action">
3323 <touch key="back" />
3324 <action function="page">advanced</action>
3325 </object>
3326
3327 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003328 </page>
3329
3330 <page name="htcdumlock">
3331 <object type="template" name="header" />
3332
3333 <object type="text" color="%text_color%">
3334 <font resource="font" />
3335 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3336 <text>HTC Dumlock</text>
3337 </object>
3338
3339 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003340 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003341 <condition var1="tw_show_dumlock" var2="1" />
3342 <placement x="%col1_x%" y="%row1_y%" />
3343 <font resource="font" color="%button_text_color%" />
3344 <text>Restore Original Boot</text>
3345 <image resource="main_button" />
3346 <actions>
3347 <action function="set">tw_back=htcdumlock</action>
3348 <action function="set">tw_action=htcdumlockrestoreboot</action>
3349 <action function="set">tw_text1=Restore original boot image?</action>
3350 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3351 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3352 <action function="set">tw_slider_text=Swipe to Confirm</action>
3353 <action function="page">confirm_action</action>
3354 </actions>
3355 </object>
3356
3357 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003358 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003359 <condition var1="tw_show_dumlock" var2="1" />
3360 <placement x="%col2_x%" y="%row1_y%" />
3361 <font resource="font" color="%button_text_color%" />
3362 <text>Reflash Recovery</text>
3363 <image resource="main_button" />
3364 <actions>
3365 <action function="set">tw_back=htcdumlock</action>
3366 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3367 <action function="set">tw_text1=Reflash recovery to boot?</action>
3368 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3369 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3370 <action function="set">tw_slider_text=Swipe to Confirm</action>
3371 <action function="page">confirm_action</action>
3372 </actions>
3373 </object>
3374
3375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003377 <condition var1="tw_show_dumlock" var2="1" />
3378 <placement x="%col1_x%" y="%row2_y%" />
3379 <font resource="font" color="%button_text_color%" />
3380 <text>Install HTC Dumlock</text>
3381 <image resource="main_button" />
3382 <actions>
3383 <action function="set">tw_back=htcdumlock</action>
3384 <action function="set">tw_action=installhtcdumlock</action>
3385 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3386 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3387 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3388 <action function="set">tw_slider_text=Swipe to Confirm</action>
3389 <action function="page">confirm_action</action>
3390 </actions>
3391 </object>
3392
3393 <object type="action">
3394 <touch key="home" />
3395 <action function="page">main</action>
3396 </object>
3397
3398 <object type="action">
3399 <touch key="back" />
3400 <action function="page">advanced</action>
3401 </object>
3402
3403 <object type="template" name="footer" />
3404 </page>
3405
3406 <page name="lock">
3407 <background color="#000000A0" />
3408
3409 <object type="image">
3410 <image resource="unlock-icon" />
3411 <placement x="%lock_x%" y="%lock_y%" />
3412 </object>
3413
3414 <object type="slider">
3415 <placement x="%slider_x%" y="%slider_y%" />
3416 <resource base="slider" used="slider-used" touch="slider-touch" />
3417 <action function="overlay"></action>
3418 </object>
3419
3420 <object type="text" color="%text_color%">
3421 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003422 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003423 <text>Swipe to Unlock</text>
3424 </object>
3425 </page>
3426
3427 <page name="filemanagerlist">
3428 <object type="template" name="header" />
3429
3430 <object type="text" color="%text_color%">
3431 <font resource="font" />
3432 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3433 <text>File Manager: Select a File or Folder</text>
3434 </object>
3435
3436 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003437 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003438 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3439 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003440 <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 -04003441 <text>%tw_file_location1%</text>
3442 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3443 <sort name="tw_gui_sort_order" />
3444 <icon folder="folder_icon" file="file_icon" />
3445 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003446 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003447 <folders="1" files="1" />
3448 <path name="tw_file_location1" default="/" />
3449 <data name="tw_filename1" />
3450 <selection name="tw_selection1" />
3451 </object>
3452
3453 <object type="template" name="sort_options" />
3454
3455 <object type="action">
3456 <actions>
3457 <action function="set">tw_fm_type=File</action>
3458 <action function="set">tw_fm_isfolder=0</action>
3459 </actions>
3460 </object>
3461
3462 <object type="action">
3463 <touch key="home" />
3464 <action function="page">main</action>
3465 </object>
3466
3467 <object type="action">
3468 <touch key="back" />
3469 <action function="page">advanced</action>
3470 </object>
3471
3472 <object type="action">
3473 <condition var1="tw_filename1" op="modified" />
3474 <actions>
3475 <action function="page">filemanageroptions</action>
3476 </actions>
3477 </object>
3478
3479 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003480 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003481 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3482 <font resource="font" color="%button_text_color%" />
3483 <text>Select</text>
3484 <image resource="medium_button" />
3485 <actions>
3486 <action function="set">tw_filename1=tw_file_location1</action>
3487 <action function="set">tw_fm_isfolder=1</action>
3488 <action function="set">tw_fm_type=Folder</action>
3489 <action function="page">filemanageroptions</action>
3490 </actions>
3491 </object>
3492
3493 <object type="template" name="footer" />
3494 </page>
3495
3496 <page name="filemanageroptions">
3497 <object type="template" name="header" />
3498
3499 <object type="text" color="%text_color%">
3500 <font resource="font" />
3501 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3502 <text>%tw_fm_type% Selected:</text>
3503 </object>
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3508 <text>%tw_filename1%</text>
3509 </object>
3510
3511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003513 <condition var1="tw_fm_isfolder" var2="0" />
3514 <placement x="%col1_x%" y="%row2_y%" />
3515 <font resource="font" color="%button_text_color%" />
3516 <text>Copy File</text>
3517 <image resource="main_button" />
3518 <actions>
3519 <action function="set">tw_filemanager_command=cp</action>
3520 <action function="set">tw_fm_text1=Copying</action>
3521 <action function="page">choosedestinationfolder</action>
3522 </actions>
3523 </object>
3524
3525 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003526 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003527 <condition var1="tw_fm_isfolder" var2="1" />
3528 <placement x="%col1_x%" y="%row2_y%" />
3529 <font resource="font" color="%button_text_color%" />
3530 <text>Copy Folder</text>
3531 <image resource="main_button" />
3532 <actions>
3533 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3534 <action function="set">tw_fm_text1=Copying</action>
3535 <action function="page">choosedestinationfolder</action>
3536 </actions>
3537 </object>
3538
3539 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003540 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003541 <placement x="%col2_x%" y="%row2_y%" />
3542 <font resource="font" color="%button_text_color%" />
3543 <text>Move</text>
3544 <image resource="main_button" />
3545 <actions>
3546 <action function="set">tw_filemanager_command=mv</action>
3547 <action function="set">tw_fm_text1=Moving</action>
3548 <action function="page">choosedestinationfolder</action>
3549 </actions>
3550 </object>
3551
3552 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003553 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003554 <placement x="%col1_x%" y="%row3_y%" />
3555 <font resource="font" color="%button_text_color%" />
3556 <text>chmod 755</text>
3557 <image resource="main_button" />
3558 <actions>
3559 <action function="set">tw_filemanager_command=chmod 755</action>
3560 <action function="set">tw_fm_text1=chmod 755</action>
3561 <action function="set">tw_fm_text2=</action>
3562 <action function="set">tw_fm_text3=</action>
3563 <action function="set">tw_include_text3=0</action>
3564 <action function="set">tw_back=filemanageroptions</action>
3565 <action function="page">filemanagerconfirm</action>
3566 </actions>
3567 </object>
3568
3569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003571 <placement x="%col2_x%" y="%row3_y%" />
3572 <font resource="font" color="%button_text_color%" />
3573 <text>chmod</text>
3574 <image resource="main_button" />
3575 <actions>
3576 <action function="set">tw_filemanager_rename=0000</action>
3577 <action function="set">tw_fm_text2=</action>
3578 <action function="set">tw_fm_text3=</action>
3579 <action function="set">tw_include_text3=0</action>
3580 <action function="set">tw_back=filemanageroptions</action>
3581 <action function="page">filemanagerchmod</action>
3582 </actions>
3583 </object>
3584
3585 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003586 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003587 <placement x="%col1_x%" y="%row4_y%" />
3588 <font resource="font" color="%button_text_color%" />
3589 <text>Delete</text>
3590 <image resource="main_button" />
3591 <actions>
3592 <action function="set">tw_filemanager_command=rm -rf</action>
3593 <action function="set">tw_fm_text1=Deleting</action>
3594 <action function="set">tw_fm_text2=</action>
3595 <action function="set">tw_fm_text3=</action>
3596 <action function="set">tw_include_text3=0</action>
3597 <action function="set">tw_back=filemanageroptions</action>
3598 <action function="page">filemanagerconfirm</action>
3599 </actions>
3600 </object>
3601
3602 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003603 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003604 <condition var1="tw_fm_isfolder" var2="0" />
3605 <placement x="%col2_x%" y="%row4_y%" />
3606 <font resource="font" color="%button_text_color%" />
3607 <text>Rename File</text>
3608 <image resource="main_button" />
3609 <actions>
3610 <action function="set">tw_filemanager_rename=tw_selection1</action>
3611 <action function="set">tw_fm_text1=Renaming</action>
3612 <action function="set">tw_filemanager_command=mv</action>
3613 <action function="page">filemanagerrenamefile</action>
3614 </actions>
3615 </object>
3616
3617 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003618 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003619 <condition var1="tw_fm_isfolder" var2="1" />
3620 <placement x="%col2_x%" y="%row4_y%" />
3621 <font resource="font" color="%button_text_color%" />
3622 <text>Rename Folder</text>
3623 <image resource="main_button" />
3624 <actions>
3625 <action function="set">tw_filemanager_rename=tw_selection1</action>
3626 <action function="set">tw_fm_text1=Renaming</action>
3627 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3628 <action function="page">filemanagerrenamefolder</action>
3629 </actions>
3630 </object>
3631
3632 <object type="action">
3633 <touch key="home" />
3634 <action function="page">main</action>
3635 </object>
3636
3637 <object type="action">
3638 <touch key="back" />
3639 <action function="page">filemanagerlist</action>
3640 </object>
3641
3642 <object type="template" name="footer" />
3643 </page>
3644
3645 <page name="choosedestinationfolder">
3646 <object type="template" name="header" />
3647
3648 <object type="text" color="%text_color%">
3649 <font resource="font" />
3650 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3651 <text>Browse to Destination Folder & Press Select</text>
3652 </object>
3653
3654 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003655 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003656 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3657 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003658 <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 -04003659 <text>%tw_file_location2%</text>
3660 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3661 <sort name="tw_gui_sort_order" />
3662 <icon folder="folder_icon" file="file_icon" />
3663 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003664 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003665 <filter folders="1" files="0" />
3666 <path name="tw_file_location2" default="/" />
3667 <data name="tw_filename2" />
3668 <selection name="tw_selection2" />
3669 </object>
3670
3671 <object type="template" name="sort_options" />
3672
3673 <object type="action">
3674 <touch key="home" />
3675 <action function="page">main</action>
3676 </object>
3677
3678 <object type="action">
3679 <touch key="back" />
3680 <action function="page">filemanageroptions</action>
3681 </object>
3682
3683 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003684 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003685 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3686 <font resource="font" color="%button_text_color%" />
3687 <text>Select</text>
3688 <image resource="medium_button" />
3689 <actions>
3690 <action function="set">tw_fm_text2=to</action>
3691 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3692 <action function="set">tw_include_text3=1</action>
3693 <action function="set">tw_back=filemanageroptions</action>
3694 <action function="page">filemanagerconfirm</action>
3695 </actions>
3696 </object>
3697
3698 <object type="template" name="footer" />
3699 </page>
3700
3701 <page name="filemanagerrenamefile">
3702 <object type="template" name="header" />
3703
3704 <object type="text" color="%text_color%">
3705 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3706 <font resource="font" />
3707 <text>Please Enter a New %tw_fm_type% Name</text>
3708 </object>
3709
3710 <object type="input">
3711 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3712 <background color="%input_background_color%" />
3713 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3714 <font resource="font" color="%text_color%" />
3715 <text>%tw_filemanager_rename%</text>
3716 <data name="tw_filemanager_rename" />
3717 <restrict minlen="1" maxlen="128" />
3718 <actions>
3719 <action function="set">tw_fm_text2=to</action>
3720 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3721 <action function="set">tw_include_text3=1</action>
3722 <action function="set">tw_back=filemanageroptions</action>
3723 <action function="page">filemanagerconfirm</action>
3724 </actions>
3725 </object>
3726
3727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003729 <placement x="%col_center_x%" y="%row2_y%" />
3730 <font resource="font" color="%button_text_color%" />
3731 <text>Cancel</text>
3732 <image resource="main_button" />
3733 <action function="page">filemanageroptions</action>
3734 </object>
3735
3736 <object type="template" name="keyboardtemplate" />
3737
3738 <object type="action">
3739 <touch key="home" />
3740 <action function="page">main</action>
3741 </object>
3742
3743 <object type="action">
3744 <touch key="back" />
3745 <action function="page">filemanageroptions</action>
3746 </object>
3747
3748 <object type="template" name="footer" />
3749 </page>
3750
3751 <page name="filemanagerrenamefolder">
3752 <object type="template" name="header" />
3753
3754 <object type="text" color="%text_color%">
3755 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3756 <font resource="font" />
3757 <text>Please Enter a New %tw_fm_type% Name</text>
3758 </object>
3759
3760 <object type="input">
3761 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3762 <background color="%input_background_color%" />
3763 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3764 <font resource="font" color="%text_color%" />
3765 <text>%tw_filemanager_rename%</text>
3766 <data name="tw_filemanager_rename" />
3767 <restrict minlen="1" maxlen="128" />
3768 <actions>
3769 <action function="set">tw_fm_text2=to</action>
3770 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3771 <action function="set">tw_include_text3=1</action>
3772 <action function="set">tw_back=filemanageroptions</action>
3773 <action function="page">filemanagerconfirm</action>
3774 </actions>
3775 </object>
3776
3777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003779 <placement x="%col_center_x%" y="%row2_y%" />
3780 <font resource="font" color="%button_text_color%" />
3781 <text>Cancel</text>
3782 <image resource="main_button" />
3783 <action function="page">filemanageroptions</action>
3784 </object>
3785
3786 <object type="template" name="keyboardtemplate" />
3787
3788 <object type="action">
3789 <touch key="home" />
3790 <action function="page">main</action>
3791 </object>
3792
3793 <object type="action">
3794 <touch key="back" />
3795 <action function="page">filemanageroptions</action>
3796 </object>
3797
3798 <object type="template" name="footer" />
3799 </page>
3800
3801 <page name="filemanagerchmod">
3802 <object type="template" name="header" />
3803
3804 <object type="text" color="%text_color%">
3805 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3806 <font resource="font" />
3807 <text>Please Enter New Permissions</text>
3808 </object>
3809
3810 <object type="input">
3811 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3812 <background color="%input_background_color%" />
3813 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3814 <font resource="font" color="%text_color%" />
3815 <text>%tw_filemanager_rename%</text>
3816 <data name="tw_filemanager_rename" />
3817 <restrict minlen="3" maxlen="4" allow="0123456789" />
3818 <actions>
3819 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3820 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3821 <action function="set">tw_back=filemanageroptions</action>
3822 <action function="page">filemanagerconfirm</action>
3823 </actions>
3824 </object>
3825
3826 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003827 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003828 <placement x="%col_center_x%" y="%row2_y%" />
3829 <font resource="font" color="%button_text_color%" />
3830 <text>Cancel</text>
3831 <image resource="main_button" />
3832 <action function="page">filemanageroptions</action>
3833 </object>
3834
3835 <object type="template" name="keyboardtemplate" />
3836
3837 <object type="action">
3838 <touch key="home" />
3839 <action function="page">main</action>
3840 </object>
3841
3842 <object type="action">
3843 <touch key="back" />
3844 <action function="page">filemanageroptions</action>
3845 </object>
3846
3847 <object type="template" name="footer" />
3848 </page>
3849
3850 <page name="filemanagerconfirm">
3851 <object type="template" name="header" />
3852
3853 <object type="text" color="%text_color%">
3854 <font resource="font" />
3855 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3856 <text>%tw_fm_text1%</text>
3857 </object>
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3862 <text>%tw_filename1%</text>
3863 </object>
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3868 <text>%tw_fm_text2%</text>
3869 </object>
3870
3871 <object type="text" color="%text_color%">
3872 <font resource="font" />
3873 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3874 <text>%tw_fm_text3%</text>
3875 </object>
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3880 <text>Press back button to cancel.</text>
3881 </object>
3882
3883 <object type="slider">
3884 <placement x="%slider_x%" y="%slider_y%" />
3885 <resource base="slider" used="slider-used" touch="slider-touch" />
3886 <action function="page">filemanageracction</action>
3887 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003888
Dees_Troy51a0e822012-09-05 15:24:24 -04003889 <object type="text" color="%text_color%">
3890 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003891 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003892 <text>Swipe to Confirm</text>
3893 </object>
3894
3895 <object type="action">
3896 <touch key="back" />
3897 <action function="page">%tw_back%</action>
3898 </object>
3899
3900 <object type="action">
3901 <touch key="home" />
3902 <action function="page">main</action>
3903 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003904
Dees_Troy51a0e822012-09-05 15:24:24 -04003905 <object type="template" name="footer" />
3906 </page>
3907
3908 <page name="filemanageracction">
3909 <object type="template" name="header" />
3910
3911 <object type="text" color="%text_color%">
3912
3913 <font resource="font" />
3914 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3915 <text>%tw_fm_text1%</text>
3916 </object>
3917
3918 <object type="template" name="action_page_console" />
3919
3920 <object type="template" name="progress_bar" />
3921
3922 <object type="action">
3923 <conditions>
3924 <condition var1="tw_operation_state" var2="1" />
3925 <condition var1="tw_operation_status" var2="0" />
3926 </conditions>
3927 <actions>
3928 <action function="set">tw_back=filemanagerlist</action>
3929 <action function="set">tw_complete_text1=File Operation Complete</action>
3930 <action function="page">action_complete</action>
3931 </actions>
3932 </object>
3933
3934 <object type="action">
3935 <conditions>
3936 <condition var1="tw_operation_state" var2="1" />
3937 <condition var1="tw_operation_status" op="!=" var2="0" />
3938 </conditions>
3939 <actions>
3940 <action function="set">tw_complete_text1=File Operation Complete</action>
3941 <action function="page">action_complete</action>
3942 </actions>
3943 </object>
3944
3945 <object type="action">
3946 <condition var1="tw_include_text3" var2="0" />
3947 <actions>
3948 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3949 </actions>
3950 </object>
3951
3952 <object type="action">
3953 <condition var1="tw_include_text3" var2="1" />
3954 <actions>
3955 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3956 </actions>
3957 </object>
3958 </page>
3959
3960 <page name="decrypt">
3961 <object type="template" name="header" />
3962
3963 <object type="text" color="%text_color%">
3964 <font resource="font" />
3965 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3966 <text>Please Enter Your Password</text>
3967 </object>
3968
3969 <object type="input">
3970 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3971 <background color="%input_background_color%" />
3972 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3973 <font resource="font" color="%text_color%" />
3974 <text>%tw_crypto_display%</text>
3975 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3976 <restrict minlen="1" maxlen="254" />
3977 <actions>
3978 <action function="page">trydecrypt</action>
3979 </actions>
3980 </object>
3981
3982 <object type="text" color="%text_fail_color%">
3983 <condition var1="tw_password_fail" var2="1" />
3984 <font resource="font" />
3985 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3986 <text>Password Failed, Please Try Again</text>
3987 </object>
3988
3989 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003990 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003991 <placement x="%col_center_x%" y="%row2_y%" />
3992 <font resource="font" color="%button_text_color%" />
3993 <text>Cancel</text>
3994 <image resource="main_button" />
3995 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003996 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003997 <action function="page">main</action>
3998 </actions>
3999 </object>
4000
4001 <object type="template" name="keyboardtemplate" />
4002
Dees_Troy51a0e822012-09-05 15:24:24 -04004003 <object type="template" name="footer" />
4004 </page>
4005
4006 <page name="trydecrypt">
4007 <object type="template" name="header" />
4008
4009 <object type="text" color="%text_color%">
4010 <font resource="font" />
4011 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4012 <text>Trying Decryption with Your Password</text>
4013 </object>
4014
4015 <object type="template" name="action_page_console" />
4016
4017 <object type="template" name="progress_bar" />
4018
4019 <object type="action">
4020 <action function="decrypt"></action>
4021 </object>
4022
4023 <object type="action">
4024 <conditions>
4025 <condition var1="tw_operation_state" var2="1" />
4026 <condition var1="tw_operation_status" op="!=" var2="0" />
4027 </conditions>
4028 <actions>
4029 <action function="set">tw_password_fail=1</action>
4030 <action function="page">decrypt</action>
4031 </actions>
4032 </object>
4033
4034 <object type="action">
4035 <conditions>
4036 <condition var1="tw_operation_state" var2="1" />
4037 <condition var1="tw_operation_status" op="=" var2="0" />
4038 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004039 <actions>
4040 <action function="set">tw_page_done=1</action>
4041 <action function="page">main</action>
4042 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004043 </object>
4044 </page>
4045
4046 <page name="terminalfolder">
4047 <object type="template" name="header" />
4048
4049 <object type="text" color="%text_color%">
4050 <font resource="font" />
4051 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4052 <text>Browse to Starting Folder</text>
4053 </object>
4054
4055 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004056 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004057 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4058 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004059 <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 -04004060 <text>%tw_terminal_location%</text>
4061 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4062 <sort name="tw_gui_sort_order" />
4063 <icon folder="folder_icon" file="file_icon" />
4064 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004065 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004066 <filter folders="1" files="0" />
4067 <path name="tw_terminal_location" default="/" />
4068 <data name="tw_terminal" />
4069 <selection name="tw_terminal_selection" />
4070 </object>
4071
4072 <object type="template" name="sort_options" />
4073
4074 <object type="action">
4075 <touch key="home" />
4076 <action function="page">main</action>
4077 </object>
4078
4079 <object type="action">
4080 <touch key="back" />
4081 <action function="page">advanced</action>
4082 </object>
4083
4084 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004085 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004086 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4087 <font resource="font" color="%button_text_color%" />
4088 <text>Select</text>
4089 <image resource="medium_button" />
4090 <actions>
4091 <action function="page">terminalcommand</action>
4092 </actions>
4093 </object>
4094
4095 <object type="template" name="footer" />
4096 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04004097
Dees_Troy51a0e822012-09-05 15:24:24 -04004098 <page name="terminalcommand">
4099 <object type="template" name="header" />
4100
4101 <object type="console">
4102 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4103 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4104 <font resource="fixed" />
4105 </object>
4106
4107 <object type="text" color="%text_color%">
4108 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4109 <font resource="font" />
4110 <text>Starting Path: %tw_terminal_location%</text>
4111 </object>
4112
4113 <object type="input">
4114 <condition var1="tw_terminal_state" var2="0" />
4115 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4116 <background color="%input_background_color%" />
4117 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4118 <font resource="font" color="%text_color%" />
4119 <text>%tw_terminal_command%</text>
4120 <data name="tw_terminal_command" />
4121 <restrict minlen="1" />
4122 <action function="terminalcommand">%tw_terminal_command%</action>
4123 </object>
4124
4125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004127 <condition var1="tw_terminal_state" var2="1" />
4128 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4129 <font resource="font" color="%button_text_color%" />
4130 <text>KILL</text>
4131 <image resource="medium_button" />
4132 <action function="killterminal"></action>
4133 </object>
4134
4135 <object type="template" name="keyboardtemplate" />
4136
4137 <object type="action">
4138 <touch key="home" />
4139 <action function="page">main</action>
4140 </object>
4141
4142 <object type="action">
4143 <touch key="back" />
4144 <action function="page">terminalfolder</action>
4145 </object>
4146 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004147
4148 <page name="sideload">
4149 <object type="template" name="header" />
4150
4151 <object type="text" color="%text_color%">
4152 <font resource="font" />
4153 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4154 <text>ADB Sideload</text>
4155 </object>
4156
4157 <object type="checkbox">
4158 <placement x="%col1_x%" y="%row2_text_y%" />
4159 <font resource="font" color="%text_color%" />
4160 <text>Wipe Dalvik Cache.</text>
4161 <data variable="tw_wipe_dalvik" />
4162 <image checked="checkbox_true" unchecked="checkbox_false" />
4163 </object>
4164
4165 <object type="checkbox">
4166 <placement x="%col1_x%" y="%row3_text_y%" />
4167 <font resource="font" color="%text_color%" />
4168 <text>Wipe Cache.</text>
4169 <data variable="tw_wipe_cache" />
4170 <image checked="checkbox_true" unchecked="checkbox_false" />
4171 </object>
4172
4173 <object type="slider">
4174 <placement x="%slider_x%" y="%slider_y%" />
4175 <resource base="slider" used="slider-used" touch="slider-touch" />
4176 <actions>
4177 <action function="set">tw_back=advanced</action>
4178 <action function="set">tw_action=adbsideload</action>
4179 <action function="set">tw_action_text1=ADB Sideload</action>
4180 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4181 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4182 <action function="set">tw_has_cancel=1</action>
4183 <action function="set">tw_show_reboot=1</action>
4184 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4185 <action function="page">action_page</action>
4186 </actions>
4187 </object>
4188
4189 <object type="text" color="%text_color%">
4190 <font resource="font" />
4191 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4192 <text>Swipe to Start Sideload</text>
4193 </object>
4194
4195 <object type="action">
4196 <touch key="home" />
4197 <action function="page">main</action>
4198 </object>
4199
4200 <object type="action">
4201 <touch key="back" />
4202 <action function="page">advanced</action>
4203 </object>
4204
4205 <object type="template" name="footer" />
4206 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004207
4208 <page name="installsu">
4209 <object type="template" name="header" />
4210
4211 <object type="text" color="%text_color%">
4212 <font resource="font" />
4213 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4214 <text>Install SuperSU?</text>
4215 </object>
4216
4217 <object type="text" color="%text_color%">
4218 <font resource="font" />
4219 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4220 <text>Your device does not appear to be rooted.</text>
4221 </object>
4222
4223 <object type="text" color="%text_color%">
4224 <font resource="font" />
4225 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4226 <text>Install SuperSU now?</text>
4227 </object>
4228
4229 <object type="text" color="%text_color%">
4230 <font resource="font" />
4231 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4232 <text>This will root your device.</text>
4233 </object>
4234
4235 <object type="button">
4236 <highlight color="%highlight_color%" />
4237 <placement x="%col_center_x%" y="%row3_y%" />
4238 <font resource="font" color="%button_text_color%" />
4239 <text>Do Not Install</text>
4240 <image resource="main_button" />
4241 <action function="set">tw_page_done=1</action>
4242 </object>
4243
4244 <object type="slider">
4245 <placement x="%slider_x%" y="%slider_y%" />
4246 <resource base="slider" used="slider-used" touch="slider-touch" />
4247 <actions>
4248 <action function="set">tw_action=installsu</action>
4249 <action function="set">tw_action_text1=Installing SuperSU</action>
4250 <action function="set">tw_action_text2=</action>
4251 <action function="page">singleaction_page</action>
4252 </actions>
4253 </object>
4254
4255 <object type="text" color="%text_color%">
4256 <font resource="font" />
4257 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4258 <text>Swipe to Install</text>
4259 </object>
4260 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004261 </pages>
4262</recovery>