z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <recovery> |
| 3 | <styles> |
| 4 | <style name="text_l"> |
| 5 | <font resource="font_l" color="%text_color%"/> |
| 6 | </style> |
| 7 | |
| 8 | <style name="text_m"> |
| 9 | <font resource="font_m" color="%text_color%"/> |
| 10 | </style> |
| 11 | |
| 12 | <style name="text_m_accent"> |
| 13 | <font resource="font_m" color="%accent_color%"/> |
| 14 | </style> |
| 15 | |
| 16 | <style name="text_m_fail"> |
| 17 | <font resource="font_m" color="%text_fail_color%"/> |
| 18 | </style> |
| 19 | |
| 20 | <style name="text_s"> |
| 21 | <font resource="font_s" color="%text_color%"/> |
| 22 | </style> |
| 23 | |
| 24 | <style name="input"> |
| 25 | <background color="%background_color%"/> |
| 26 | <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/> |
| 27 | <font resource="font_m" color="%text_color%"/> |
| 28 | </style> |
| 29 | |
| 30 | <style name="checkbox"> |
| 31 | <font resource="font_m" color="%text_color%"/> |
| 32 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 33 | </style> |
| 34 | |
| 35 | <style name="main_button"> |
| 36 | <highlight color="%highlight_color%"/> |
| 37 | <font resource="font_l" color="%text_button_color%"/> |
| 38 | <image resource="main_button"/> |
| 39 | </style> |
| 40 | |
| 41 | <style name="main_button_full_width"> |
| 42 | <highlight color="%highlight_color%"/> |
| 43 | <font resource="font_l" color="%text_button_color%"/> |
| 44 | <image resource="main_button_full_width"/> |
| 45 | </style> |
| 46 | |
| 47 | <style name="main_button_quarter_width"> |
| 48 | <highlight color="%highlight_color%"/> |
| 49 | <font resource="font_l" color="%text_button_color%"/> |
| 50 | <image resource="main_button_quarter_width"/> |
| 51 | </style> |
| 52 | |
| 53 | <style name="main_button_half_height"> |
| 54 | <highlight color="%highlight_color%"/> |
| 55 | <font resource="font_m" color="%text_button_color%"/> |
| 56 | <image resource="main_button_half_height"/> |
| 57 | </style> |
| 58 | |
| 59 | <style name="main_button_half_height_full_width"> |
| 60 | <highlight color="%highlight_color%"/> |
| 61 | <font resource="font_m" color="%text_button_color%"/> |
| 62 | <image resource="main_button_half_height_full_width"/> |
| 63 | </style> |
| 64 | |
| 65 | <style name="button_third_width"> |
| 66 | <highlight color="%highlight_color%"/> |
| 67 | <font resource="font_m" color="%text_button_color%"/> |
| 68 | <image resource="tab_3"/> |
| 69 | </style> |
| 70 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 71 | <style name="button_navbar"> |
| 72 | <font resource="font_m" color="%text_button_color%"/> |
| 73 | </style> |
| 74 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 75 | <style name="console"> |
| 76 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 77 | <font resource="fixed"/> |
| 78 | </style> |
| 79 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 80 | <style name="terminal"> |
| 81 | <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 82 | <background color="%background_color%"/> |
| 83 | <font resource="fixed" spacing="2" color="%text_color%"/> |
| 84 | </style> |
| 85 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 86 | <style name="fileselector"> |
| 87 | <highlight color="%fileselector_highlight_color%"/> |
| 88 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 89 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 90 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 91 | <sort name="tw_gui_sort_order"/> |
| 92 | <icon folder="folder" file="file"/> |
| 93 | <background color="%background_color%"/> |
| 94 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 95 | </style> |
| 96 | |
| 97 | <style name="listbox"> |
| 98 | <highlight color="%fileselector_highlight_color%"/> |
| 99 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 100 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 101 | <icon selected="radio_true" unselected="radio_false"/> |
| 102 | <background color="%background_color%"/> |
| 103 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 104 | </style> |
| 105 | |
| 106 | <style name="listbox_headerless"> |
| 107 | <highlight color="%fileselector_highlight_color%"/> |
| 108 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 109 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 110 | <icon selected="radio_true" unselected="radio_false"/> |
| 111 | <background color="%background_color%"/> |
| 112 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 113 | </style> |
| 114 | |
| 115 | <style name="listbox_options"> |
| 116 | <background color="%background_color%"/> |
| 117 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 118 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 119 | </style> |
| 120 | |
| 121 | <style name="scrolllist"> |
| 122 | <highlight color="%fileselector_highlight_color%"/> |
| 123 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 124 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 125 | <background color="%background_color%"/> |
| 126 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 127 | </style> |
| 128 | |
| 129 | <style name="partitionlist"> |
| 130 | <highlight color="%fileselector_highlight_color%"/> |
| 131 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 132 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 133 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 134 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 135 | <background color="%background_color%"/> |
| 136 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 137 | </style> |
| 138 | |
| 139 | <style name="partitionlist_summary"> |
| 140 | <highlight color="%fileselector_highlight_color%"/> |
| 141 | <background color="%background_color%"/> |
| 142 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 143 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 144 | </style> |
| 145 | |
| 146 | <style name="partitionlist_headerless_rb"> |
| 147 | <highlight color="%fileselector_highlight_color%"/> |
| 148 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 149 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 150 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 151 | <icon selected="radio_true" unselected="radio_false"/> |
| 152 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 153 | <background color="%background_color%"/> |
| 154 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 155 | </style> |
| 156 | |
| 157 | <style name="partitionlist_headerless_cb"> |
| 158 | <highlight color="%fileselector_highlight_color%"/> |
| 159 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 160 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 161 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 162 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 163 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 164 | <background color="%background_color%"/> |
| 165 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 166 | </style> |
| 167 | |
| 168 | <style name="slider"> |
| 169 | <placement x="%center_x%" y="%slider_y%"/> |
| 170 | <font resource="font_l" color="%text_color%"/> |
| 171 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 172 | </style> |
| 173 | |
| 174 | <style name="slidervalue"> |
| 175 | <resource handle="handle"/> |
| 176 | <font resource="font_m" color="%text_color%"/> |
| 177 | <colors line="%fileselector_linecolor%"/> |
| 178 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 179 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 180 | |
| 181 | <style name="patternpassword"> |
| 182 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 183 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 184 | </styles> |
| 185 | |
| 186 | <pages> |
| 187 | <page name="main"> |
| 188 | <action> |
| 189 | <actions> |
| 190 | <action function="set">tw_clear_destination=main2</action> |
| 191 | <action function="page">clear_vars</action> |
| 192 | </actions> |
| 193 | </action> |
| 194 | </page> |
| 195 | |
| 196 | <page name="main2"> |
| 197 | <template name="page"/> |
| 198 | |
| 199 | <button style="main_button"> |
| 200 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 201 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 202 | <action function="page">install_type</action> |
| 203 | </button> |
| 204 | |
| 205 | <button style="main_button"> |
| 206 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 207 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 208 | <action function="page">wipe_type1</action> |
| 209 | </button> |
| 210 | |
| 211 | <button style="main_button"> |
| 212 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 213 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 214 | <actions> |
| 215 | <action function="set">tw_back=main</action> |
| 216 | <action function="page">backup_selectstorage</action> |
| 217 | </actions> |
| 218 | </button> |
| 219 | |
| 220 | <button style="main_button"> |
| 221 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 222 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 223 | <action function="page">restore</action> |
| 224 | </button> |
| 225 | |
| 226 | <button style="main_button"> |
| 227 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 228 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 229 | <action function="page">reboot</action> |
| 230 | </button> |
| 231 | |
| 232 | <button> |
| 233 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 234 | <highlight color="%highlight_color%"/> |
| 235 | <image resource="q_btn_arrow_right"/> |
| 236 | <action function="page">main3</action> |
| 237 | </button> |
| 238 | </page> |
| 239 | |
| 240 | <page name="main3"> |
| 241 | <template name="page"/> |
| 242 | |
| 243 | <button style="main_button"> |
| 244 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 245 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 246 | <action function="page">mount</action> |
| 247 | </button> |
| 248 | |
| 249 | <button style="main_button"> |
| 250 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 251 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 252 | <action function="page">settings</action> |
| 253 | </button> |
| 254 | |
| 255 | <button style="main_button"> |
| 256 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 257 | <text>{@files_btn=Files}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 258 | <action function="page">filemanagerlist</action> |
| 259 | </button> |
| 260 | |
| 261 | <button style="main_button"> |
| 262 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 263 | <text>{@copy_log_btn=Copy Log}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 264 | <actions> |
| 265 | <action function="set">tw_back=main3</action> |
| 266 | <action function="set">tw_action=copylog</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 267 | <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action> |
| 268 | <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action> |
| 269 | <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action> |
| 270 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 271 | <action function="page">confirm_action</action> |
| 272 | </actions> |
| 273 | </button> |
| 274 | |
| 275 | <button style="main_button"> |
| 276 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 277 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 278 | <action function="page">advanced</action> |
| 279 | </button> |
| 280 | |
| 281 | <button> |
| 282 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 283 | <highlight color="%highlight_color%"/> |
| 284 | <image resource="q_btn_arrow_left"/> |
| 285 | <action function="page">main2</action> |
| 286 | </button> |
| 287 | |
| 288 | <action> |
| 289 | <touch key="back"/> |
| 290 | <action function="page">main2</action> |
| 291 | </action> |
| 292 | |
| 293 | <action> |
| 294 | <touch key="home"/> |
| 295 | <action function="page">main</action> |
| 296 | </action> |
| 297 | </page> |
| 298 | |
| 299 | <page name="install_type"> |
| 300 | <template name="page"/> |
| 301 | |
| 302 | <template name="statusbar"/> |
| 303 | |
| 304 | <text style="text_m"> |
| 305 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 306 | <text>{@install_hdr=Install} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 307 | </text> |
| 308 | |
| 309 | <button style="main_button_full_width"> |
| 310 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 311 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 312 | <actions> |
| 313 | <action function="queueclear"/> |
| 314 | <action function="set">tw_selectimage=0</action> |
| 315 | <action function="page">install</action> |
| 316 | </actions> |
| 317 | </button> |
| 318 | |
| 319 | <button style="main_button_full_width"> |
| 320 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 321 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 322 | <actions> |
| 323 | <action function="queueclear"/> |
| 324 | <action function="set">tw_selectimage=1</action> |
| 325 | <action function="page">install</action> |
| 326 | </actions> |
| 327 | </button> |
| 328 | |
| 329 | <button style="main_button_full_width"> |
| 330 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 331 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 332 | <action function="page">sideload</action> |
| 333 | </button> |
| 334 | |
| 335 | <action> |
| 336 | <touch key="home"/> |
| 337 | <action function="page">main</action> |
| 338 | </action> |
| 339 | |
| 340 | <action> |
| 341 | <touch key="back"/> |
| 342 | <action function="page">main</action> |
| 343 | </action> |
| 344 | </page> |
| 345 | |
| 346 | <page name="install"> |
| 347 | <template name="page"/> |
| 348 | |
| 349 | <template name="statusbar"/> |
| 350 | |
| 351 | <text style="text_m"> |
| 352 | <condition var1="tw_selectimage" var2="0"/> |
| 353 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 354 | <text>{@install_zip_hdr=Install Zip} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 355 | </text> |
| 356 | |
| 357 | <text style="text_m"> |
| 358 | <condition var1="tw_selectimage" var2="1"/> |
| 359 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 360 | <text>{@install_image_hdr=Install Image} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 361 | </text> |
| 362 | |
| 363 | <fileselector> |
| 364 | <condition var1="tw_selectimage" var2="0"/> |
| 365 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 366 | <text>%tw_zip_location%</text> |
| 367 | <filter extn=".zip" folders="1" files="1"/> |
| 368 | <path name="tw_zip_location" default="/sdcard"/> |
| 369 | <data name="tw_filename"/> |
| 370 | <selection name="tw_file"/> |
| 371 | </fileselector> |
| 372 | |
| 373 | <fileselector> |
| 374 | <condition var1="tw_selectimage" var2="1"/> |
| 375 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 376 | <text>%tw_zip_location%</text> |
| 377 | <filter extn=".img" folders="1" files="1"/> |
| 378 | <path name="tw_zip_location" default="/sdcard"/> |
| 379 | <data name="tw_filename"/> |
| 380 | <selection name="tw_file"/> |
| 381 | </fileselector> |
| 382 | |
| 383 | <button> |
| 384 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 385 | <highlight color="%highlight_color%"/> |
| 386 | <image resource="q_btn_storage"/> |
| 387 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 388 | <action function="set">tw_storagetext={@install_hdr=Install} > {@select_storage_hdr=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 389 | <action function="set">tw_back=install</action> |
| 390 | <action function="page">select_storage</action> |
| 391 | </actions> |
| 392 | </button> |
| 393 | |
| 394 | <action> |
| 395 | <conditions> |
| 396 | <condition var1="tw_selectimage" var2="0"/> |
| 397 | <condition var1="tw_filename" op="modified"/> |
| 398 | </conditions> |
| 399 | <actions> |
| 400 | <action function="queuezip"/> |
| 401 | <action function="page">flash_queue</action> |
| 402 | </actions> |
| 403 | </action> |
| 404 | |
| 405 | <action> |
| 406 | <conditions> |
| 407 | <condition var1="tw_selectimage" var2="1"/> |
| 408 | <condition var1="tw_filename" op="modified"/> |
| 409 | </conditions> |
| 410 | <action function="page">flashimage_type</action> |
| 411 | </action> |
| 412 | |
| 413 | <action> |
| 414 | <touch key="back"/> |
| 415 | <action function="page">install_type</action> |
| 416 | </action> |
| 417 | |
| 418 | <action> |
| 419 | <touch key="home"/> |
| 420 | <action function="page">main</action> |
| 421 | </action> |
| 422 | </page> |
| 423 | |
| 424 | <page name="flash_queue"> |
| 425 | <template name="page"/> |
| 426 | |
| 427 | <template name="statusbar"/> |
| 428 | |
| 429 | <text style="text_m"> |
| 430 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 431 | <text>{@install_zip_hdr=Install Zip} > {@queue_hdr=Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 432 | </text> |
| 433 | |
| 434 | <text style="text_m_accent"> |
| 435 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 436 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 437 | </text> |
| 438 | |
| 439 | <text style="text_m"> |
| 440 | <placement x="%indent%" y="%row2_y%"/> |
| 441 | <text>%tw_file%</text> |
| 442 | </text> |
| 443 | |
| 444 | <text style="text_m_accent"> |
| 445 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 446 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 447 | </text> |
| 448 | |
| 449 | <text style="text_m"> |
| 450 | <placement x="%indent%" y="%row5_y%"/> |
| 451 | <text>%tw_zip_location%</text> |
| 452 | </text> |
| 453 | |
| 454 | <text style="text_m"> |
| 455 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 456 | <text>{@zip_back_clear=Press back button to clear the queue.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 457 | </text> |
| 458 | |
| 459 | <button> |
| 460 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 461 | <highlight color="%highlight_color%"/> |
| 462 | <image resource="q_btn_arrow_left"/> |
| 463 | <actions> |
| 464 | <action function="queueclear"/> |
| 465 | <action function="page">install</action> |
| 466 | </actions> |
| 467 | </button> |
| 468 | |
| 469 | <button> |
| 470 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 471 | <highlight color="%highlight_color%"/> |
| 472 | <image resource="q_btn_addzip"/> |
| 473 | <action function="page">install</action> |
| 474 | </button> |
| 475 | |
| 476 | <button> |
| 477 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 478 | <highlight color="%highlight_color%"/> |
| 479 | <image resource="q_btn_accept"/> |
| 480 | <action function="page">flash_confirm</action> |
| 481 | </button> |
| 482 | |
| 483 | <button> |
| 484 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 485 | <highlight color="%highlight_color%"/> |
| 486 | <image resource="q_btn_arrow_right"/> |
| 487 | <action function="page">flash_options</action> |
| 488 | </button> |
| 489 | |
| 490 | <action> |
| 491 | <touch key="back"/> |
| 492 | <actions> |
| 493 | <action function="queueclear"/> |
| 494 | <action function="page">install</action> |
| 495 | </actions> |
| 496 | </action> |
| 497 | |
| 498 | <action> |
| 499 | <touch key="home"/> |
| 500 | <action function="page">main</action> |
| 501 | </action> |
| 502 | </page> |
| 503 | |
| 504 | <page name="flash_options"> |
| 505 | <template name="page"/> |
| 506 | |
| 507 | <template name="statusbar"/> |
| 508 | |
| 509 | <text style="text_m"> |
| 510 | <condition var1="tw_selectimage" var2="0"/> |
| 511 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 512 | <text>{@install_zip_hdr=Install Zip} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 513 | </text> |
| 514 | |
| 515 | <checkbox> |
| 516 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 517 | <text>{@zip_sig_chk=Zip file signature verification}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 518 | <data variable="tw_signed_zip_verify"/> |
| 519 | </checkbox> |
| 520 | |
| 521 | <checkbox> |
| 522 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 523 | <placement x="%indent%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 524 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 525 | <data variable="tw_inject_after_zip"/> |
| 526 | </checkbox> |
| 527 | |
| 528 | <button> |
| 529 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 530 | <highlight color="%highlight_color%"/> |
| 531 | <image resource="q_btn_arrow_left"/> |
| 532 | <action function="page">flash_queue</action> |
| 533 | </button> |
| 534 | |
| 535 | <button> |
| 536 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 537 | <highlight color="%highlight_color%"/> |
| 538 | <image resource="q_btn_accept_transp"/> |
| 539 | <action function="page">flash_confirm</action> |
| 540 | </button> |
| 541 | |
| 542 | <action> |
| 543 | <touch key="back"/> |
| 544 | <action function="page">flash_queue</action> |
| 545 | </action> |
| 546 | |
| 547 | <action> |
| 548 | <touch key="home"/> |
| 549 | <action function="page">main</action> |
| 550 | </action> |
| 551 | </page> |
| 552 | |
| 553 | <page name="flash_confirm"> |
| 554 | <template name="page"/> |
| 555 | |
| 556 | <template name="statusbar"/> |
| 557 | |
| 558 | <text style="text_m"> |
| 559 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 560 | <text>{@install_zip_hdr=Install Zip} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 561 | </text> |
| 562 | |
| 563 | <text style="text_m_accent"> |
| 564 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 565 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 566 | </text> |
| 567 | |
| 568 | <text style="text_m"> |
| 569 | <placement x="%indent%" y="%row2_y%"/> |
| 570 | <text>%tw_file%</text> |
| 571 | </text> |
| 572 | |
| 573 | <button> |
| 574 | <fill color="%transparent%"/> |
| 575 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 576 | <action function="page">flash_queue</action> |
| 577 | </button> |
| 578 | |
| 579 | <text style="text_m_accent"> |
| 580 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 581 | <text>{@zip_queue=Queue:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 582 | </text> |
| 583 | |
| 584 | <text style="text_m"> |
| 585 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 586 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 587 | </text> |
| 588 | |
| 589 | <button> |
| 590 | <fill color="%transparent%"/> |
| 591 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 592 | <action function="page">flash_queue</action> |
| 593 | </button> |
| 594 | |
| 595 | <listbox style="listbox_options"> |
| 596 | <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 597 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 598 | <data variable="tw_signed_zip_verify"/> |
| 599 | </listitem> |
| 600 | </listbox> |
| 601 | |
| 602 | <text style="text_m_accent"> |
| 603 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 604 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 605 | </text> |
| 606 | |
| 607 | <text style="text_m"> |
| 608 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 609 | <condition var1="tw_inject_after_zip" var2="1"/> |
| 610 | <placement x="%indent%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 611 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 612 | </text> |
| 613 | |
| 614 | <button> |
| 615 | <fill color="%transparent%"/> |
| 616 | <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/> |
| 617 | <action function="page">flash_options</action> |
| 618 | </button> |
| 619 | |
| 620 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 621 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 622 | <action function="flash">flash_zip</action> |
| 623 | </slider> |
| 624 | |
| 625 | <action> |
| 626 | <touch key="back"/> |
| 627 | <actions> |
| 628 | <action function="cancelzip"/> |
| 629 | <action function="page">install</action> |
| 630 | </actions> |
| 631 | </action> |
| 632 | |
| 633 | <action> |
| 634 | <touch key="home"/> |
| 635 | <action function="page">main</action> |
| 636 | </action> |
| 637 | </page> |
| 638 | |
| 639 | <page name="flash_zip"> |
| 640 | <template name="page"/> |
| 641 | |
| 642 | <template name="statusbar"/> |
| 643 | |
| 644 | <text style="text_m"> |
| 645 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 646 | <text>{@installing_zip=Installing Zip: %tw_file%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 647 | </text> |
| 648 | |
| 649 | <template name="console"/> |
| 650 | |
| 651 | <template name="progress_bar"/> |
| 652 | |
| 653 | <action> |
| 654 | <condition var1="tw_operation_state" var2="1"/> |
| 655 | <action function="page">flash_done</action> |
| 656 | </action> |
| 657 | </page> |
| 658 | |
| 659 | <page name="flash_done"> |
| 660 | <template name="page"/> |
| 661 | |
| 662 | <template name="statusbar"/> |
| 663 | |
| 664 | <text style="text_m_fail"> |
| 665 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 666 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 667 | <text>{@install_failed=Installation Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 668 | </text> |
| 669 | |
| 670 | <text style="text_m"> |
| 671 | <condition var1="tw_operation_status" var2="0"/> |
| 672 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 673 | <text>{@install_successful=Installation Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 674 | </text> |
| 675 | |
| 676 | <template name="console"/> |
| 677 | |
| 678 | <button style="main_button_half_height"> |
| 679 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 680 | <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 681 | <actions> |
| 682 | <action function="set">tw_back=flash_done</action> |
| 683 | <action function="set">tw_action=wipe</action> |
| 684 | <action function="set">tw_action_param=/cache</action> |
| 685 | <action function="set">tw_has_action2=1</action> |
| 686 | <action function="set">tw_action2=wipe</action> |
| 687 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 688 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 689 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 690 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
| 691 | <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 692 | <action function="page">confirm_action</action> |
| 693 | </actions> |
| 694 | </button> |
| 695 | |
| 696 | <button style="main_button_half_height"> |
| 697 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 698 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 699 | <actions> |
| 700 | <action function="set">tw_back=main2</action> |
| 701 | <action function="set">tw_action=reboot</action> |
| 702 | <action function="set">tw_action_param=system</action> |
| 703 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 704 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 705 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 706 | <action function="set">tw_text3=</action> |
| 707 | <action function="set">tw_text4=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 708 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 709 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 710 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 711 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 712 | <action function="page">rebootcheck</action> |
| 713 | </actions> |
| 714 | </button> |
| 715 | |
| 716 | <action> |
| 717 | <touch key="back"/> |
| 718 | <actions> |
| 719 | <action function="set">tw_clear_destination=install_type</action> |
| 720 | <action function="page">clear_vars</action> |
| 721 | </actions> |
| 722 | </action> |
| 723 | |
| 724 | <action> |
| 725 | <touch key="home"/> |
| 726 | <actions> |
| 727 | <action function="set">tw_clear_destination=main2</action> |
| 728 | <action function="page">clear_vars</action> |
| 729 | </actions> |
| 730 | </action> |
| 731 | </page> |
| 732 | |
| 733 | <page name="flashimage_type"> |
| 734 | <template name="page"/> |
| 735 | |
| 736 | <template name="statusbar"/> |
| 737 | |
| 738 | <text style="text_m"> |
| 739 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 740 | <text>{@install_image_hdr=Install Image} > {install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 741 | </text> |
| 742 | |
| 743 | <partitionlist style="partitionlist_headerless_rb"> |
| 744 | <data name="tw_flash_partition"/> |
| 745 | <listtype name="flashimg"/> |
| 746 | </partitionlist> |
| 747 | |
| 748 | <button> |
| 749 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 750 | <highlight color="%highlight_color%"/> |
| 751 | <image resource="q_btn_arrow_left"/> |
| 752 | <action function="page">install</action> |
| 753 | </button> |
| 754 | |
| 755 | <button> |
| 756 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 757 | <highlight color="%highlight_color%"/> |
| 758 | <image resource="q_btn_accept_transp"/> |
| 759 | <action function="page">flashimage_confirm</action> |
| 760 | </button> |
| 761 | |
| 762 | <action> |
| 763 | <touch key="back"/> |
| 764 | <action function="page">install</action> |
| 765 | </action> |
| 766 | |
| 767 | <action> |
| 768 | <touch key="home"/> |
| 769 | <action function="page">main</action> |
| 770 | </action> |
| 771 | </page> |
| 772 | |
| 773 | <page name="flashimage_confirm"> |
| 774 | <template name="page"/> |
| 775 | |
| 776 | <template name="statusbar"/> |
| 777 | |
| 778 | <text style="text_m"> |
| 779 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 780 | <text>{@install_image_hdr=Install Image} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 781 | </text> |
| 782 | |
| 783 | <text style="text_m_accent"> |
| 784 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 785 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 786 | </text> |
| 787 | |
| 788 | <text style="text_m"> |
| 789 | <placement x="%indent%" y="%row2_y%"/> |
| 790 | <text>%tw_file%</text> |
| 791 | </text> |
| 792 | |
| 793 | <button> |
| 794 | <fill color="%transparent%"/> |
| 795 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 796 | <action function="page">install</action> |
| 797 | </button> |
| 798 | |
| 799 | <text style="text_m_accent"> |
| 800 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 801 | <text>{@target_partition=Target Partition:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 802 | </text> |
| 803 | |
| 804 | <text style="text_m"> |
| 805 | <placement x="%indent%" y="%row5_y%"/> |
| 806 | <text>%tw_flash_partition%</text> |
| 807 | </text> |
| 808 | |
| 809 | <button> |
| 810 | <fill color="%transparent%"/> |
| 811 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 812 | <action function="page">flashimage_type</action> |
| 813 | </button> |
| 814 | |
| 815 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 816 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 817 | <actions> |
| 818 | <action function="set">tw_back=flashimage_confirm</action> |
| 819 | <action function="set">tw_action=flashimage</action> |
| 820 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 821 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 822 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 823 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 824 | <action function="page">action_page</action> |
| 825 | </actions> |
| 826 | <action function="flashimage"/> |
| 827 | </slider> |
| 828 | |
| 829 | <action> |
| 830 | <touch key="back"/> |
| 831 | <actions> |
| 832 | <action function="set">tw_clear_destination=install</action> |
| 833 | <action function="page">clear_vars</action> |
| 834 | </actions> |
| 835 | </action> |
| 836 | |
| 837 | <action> |
| 838 | <touch key="home"/> |
| 839 | <actions> |
| 840 | <action function="set">tw_clear_destination=main2</action> |
| 841 | <action function="page">clear_vars</action> |
| 842 | </actions> |
| 843 | </action> |
| 844 | </page> |
| 845 | |
| 846 | <page name="clear_vars"> |
| 847 | <action> |
| 848 | <action function="set">tw_operation_state=0</action> |
| 849 | <action function="set">tw_text1=</action> |
| 850 | <action function="set">tw_text2=</action> |
| 851 | <action function="set">tw_text3=</action> |
| 852 | <action function="set">tw_text4=</action> |
| 853 | <action function="set">tw_action_text1=</action> |
| 854 | <action function="set">tw_action_text2=</action> |
| 855 | <action function="set">tw_action_param=</action> |
| 856 | <action function="set">tw_has_action2=0</action> |
| 857 | <action function="set">tw_action2=</action> |
| 858 | <action function="set">tw_action2_param=</action> |
| 859 | <action function="set">tw_has_cancel=0</action> |
| 860 | <action function="set">tw_cancel_action=</action> |
| 861 | <action function="set">tw_cancel_param=</action> |
| 862 | <action function="set">tw_show_exclamation=0</action> |
| 863 | <action function="set">tw_show_reboot=0</action> |
| 864 | <action function="page">%tw_clear_destination%</action> |
| 865 | </action> |
| 866 | </page> |
| 867 | |
| 868 | <page name="confirm_action"> |
| 869 | <template name="page"/> |
| 870 | |
| 871 | <template name="statusbar"/> |
| 872 | |
| 873 | <text style="text_m"> |
| 874 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 875 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 876 | </text> |
| 877 | |
| 878 | <text style="text_m_accent"> |
| 879 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 880 | <text>%tw_text1%</text> |
| 881 | </text> |
| 882 | |
| 883 | <text style="text_m_accent"> |
| 884 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 885 | <text>%tw_text2%</text> |
| 886 | </text> |
| 887 | |
| 888 | <text style="text_m"> |
| 889 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 890 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 891 | <text>%tw_text3%</text> |
| 892 | </text> |
| 893 | |
| 894 | <text style="text_m"> |
| 895 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 896 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 897 | <text>%tw_text4%</text> |
| 898 | </text> |
| 899 | |
| 900 | <text style="text_m_fail"> |
| 901 | <condition var1="tw_action" var2="changefilesystem"/> |
| 902 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 903 | <text>%tw_text3%</text> |
| 904 | </text> |
| 905 | |
| 906 | <text style="text_m_fail"> |
| 907 | <condition var1="tw_action" var2="changefilesystem"/> |
| 908 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 909 | <text>%tw_text4%</text> |
| 910 | </text> |
| 911 | |
| 912 | <text style="text_m"> |
| 913 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 914 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 915 | </text> |
| 916 | |
| 917 | <slider> |
| 918 | <text>%tw_slider_text%</text> |
| 919 | <action function="page">action_page</action> |
| 920 | </slider> |
| 921 | |
| 922 | <action> |
| 923 | <touch key="back"/> |
| 924 | <actions> |
| 925 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 926 | <action function="page">clear_vars</action> |
| 927 | </actions> |
| 928 | </action> |
| 929 | |
| 930 | <action> |
| 931 | <touch key="home"/> |
| 932 | <action function="page">main</action> |
| 933 | </action> |
| 934 | </page> |
| 935 | |
| 936 | <page name="action_page"> |
| 937 | <template name="page"/> |
| 938 | |
| 939 | <template name="statusbar"/> |
| 940 | |
| 941 | <text style="text_m"> |
| 942 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 943 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 944 | </text> |
| 945 | |
| 946 | <template name="console"/> |
| 947 | |
| 948 | <template name="progress_bar"/> |
| 949 | |
| 950 | <button style="main_button_half_height"> |
| 951 | <condition var1="tw_has_cancel" var2="1"/> |
| 952 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 953 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 954 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 955 | </button> |
| 956 | |
| 957 | <action> |
| 958 | <condition var1="tw_operation_state" var2="1"/> |
| 959 | <actions> |
| 960 | <action function="page">action_complete</action> |
| 961 | </actions> |
| 962 | </action> |
| 963 | |
| 964 | <action> |
| 965 | <condition var1="tw_has_action2" var2="0"/> |
| 966 | <actions> |
| 967 | <action function="%tw_action%">%tw_action_param%</action> |
| 968 | </actions> |
| 969 | </action> |
| 970 | |
| 971 | <action> |
| 972 | <condition var1="tw_has_action2" var2="1"/> |
| 973 | <actions> |
| 974 | <action function="%tw_action%">%tw_action_param%</action> |
| 975 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 976 | </actions> |
| 977 | </action> |
| 978 | </page> |
| 979 | |
| 980 | <page name="singleaction_page"> |
| 981 | <template name="page"/> |
| 982 | |
| 983 | <template name="statusbar"/> |
| 984 | |
| 985 | <text style="text_m"> |
| 986 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 987 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 988 | </text> |
| 989 | |
| 990 | <template name="console"/> |
| 991 | |
| 992 | <template name="progress_bar"/> |
| 993 | |
| 994 | <action> |
| 995 | <condition var1="tw_operation_state" var2="1"/> |
| 996 | <actions> |
| 997 | <action function="set">tw_page_done=1</action> |
| 998 | </actions> |
| 999 | </action> |
| 1000 | |
| 1001 | <action> |
| 1002 | <condition var1="tw_has_action2" var2="0"/> |
| 1003 | <actions> |
| 1004 | <action function="%tw_action%">%tw_action_param%</action> |
| 1005 | </actions> |
| 1006 | </action> |
| 1007 | |
| 1008 | <action> |
| 1009 | <condition var1="tw_has_action2" var2="1"/> |
| 1010 | <actions> |
| 1011 | <action function="%tw_action%">%tw_action_param%</action> |
| 1012 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1013 | </actions> |
| 1014 | </action> |
| 1015 | </page> |
| 1016 | |
| 1017 | <page name="action_complete"> |
| 1018 | <template name="page"/> |
| 1019 | |
| 1020 | <template name="statusbar"/> |
| 1021 | |
| 1022 | <text style="text_m_fail"> |
| 1023 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 1024 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1025 | <text>%tw_complete_text1% {@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1026 | </text> |
| 1027 | |
| 1028 | <text style="text_m"> |
| 1029 | <condition var1="tw_operation_status" var2="0"/> |
| 1030 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1031 | <text>%tw_complete_text1% {@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1032 | </text> |
| 1033 | |
| 1034 | <template name="console"/> |
| 1035 | |
| 1036 | <button style="main_button_half_height"> |
| 1037 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1038 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1039 | <actions> |
| 1040 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1041 | <action function="page">clear_vars</action> |
| 1042 | </actions> |
| 1043 | </button> |
| 1044 | |
| 1045 | <button style="main_button_half_height"> |
| 1046 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1047 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1048 | <actions> |
| 1049 | <action function="set">tw_back=main2</action> |
| 1050 | <action function="set">tw_action=reboot</action> |
| 1051 | <action function="set">tw_action_param=system</action> |
| 1052 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1053 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 1054 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1055 | <action function="set">tw_text3=</action> |
| 1056 | <action function="set">tw_text4=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1057 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1058 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1059 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 1060 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1061 | <action function="page">rebootcheck</action> |
| 1062 | </actions> |
| 1063 | </button> |
| 1064 | |
| 1065 | <action> |
| 1066 | <touch key="home"/> |
| 1067 | <actions> |
| 1068 | <action function="set">tw_clear_destination=main2</action> |
| 1069 | <action function="page">clear_vars</action> |
| 1070 | </actions> |
| 1071 | </action> |
| 1072 | |
| 1073 | <action> |
| 1074 | <touch key="back"/> |
| 1075 | <actions> |
| 1076 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1077 | <action function="page">clear_vars</action> |
| 1078 | </actions> |
| 1079 | </action> |
| 1080 | </page> |
| 1081 | |
| 1082 | <page name="filecheck"> |
| 1083 | <action> |
| 1084 | <action function="fileexists">%tw_filecheck%</action> |
| 1085 | </action> |
| 1086 | |
| 1087 | <action> |
| 1088 | <conditions> |
| 1089 | <condition var1="tw_operation_state" var2="1"/> |
| 1090 | <condition var1="tw_operation_status" var2="0"/> |
| 1091 | </conditions> |
| 1092 | <actions> |
| 1093 | <action function="set">tw_fileexists=1</action> |
| 1094 | <action function="page">%tw_existpage%</action> |
| 1095 | </actions> |
| 1096 | </action> |
| 1097 | |
| 1098 | <action> |
| 1099 | <conditions> |
| 1100 | <condition var1="tw_operation_state" var2="1"/> |
| 1101 | <condition var1="tw_operation_status" var2="1"/> |
| 1102 | </conditions> |
| 1103 | <actions> |
| 1104 | <action function="set">tw_fileexists=0</action> |
| 1105 | <action function="page">%tw_notexistpage%</action> |
| 1106 | </actions> |
| 1107 | </action> |
| 1108 | </page> |
| 1109 | |
| 1110 | <page name="rebootcheck"> |
| 1111 | <action> |
| 1112 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
| 1113 | <action function="reboot">%tw_action_param%</action> |
| 1114 | </action> |
| 1115 | |
| 1116 | <action> |
| 1117 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1118 | <action function="page">confirm_action</action> |
| 1119 | </action> |
| 1120 | </page> |
| 1121 | |
| 1122 | <page name="wipe_type1"> |
| 1123 | <template name="page"/> |
| 1124 | |
| 1125 | <template name="statusbar"/> |
| 1126 | |
| 1127 | <text style="text_m"> |
| 1128 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1129 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1130 | </text> |
| 1131 | |
| 1132 | <button style="main_button_full_width"> |
| 1133 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1134 | <text>{@factory_reset_btn=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1135 | <action function="page">wipe</action> |
| 1136 | </button> |
| 1137 | |
| 1138 | <button style="main_button_full_width"> |
| 1139 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1140 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1141 | <actions> |
| 1142 | <action function="set">partitionlisterror=0</action> |
| 1143 | <action function="page">advancedwipe</action> |
| 1144 | </actions> |
| 1145 | </button> |
| 1146 | |
| 1147 | <button> |
| 1148 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1149 | <highlight color="%highlight_color%"/> |
| 1150 | <image resource="q_btn_arrow_right"/> |
| 1151 | <action function="page">wipe_type2</action> |
| 1152 | </button> |
| 1153 | |
| 1154 | <action> |
| 1155 | <touch key="home"/> |
| 1156 | <action function="page">main</action> |
| 1157 | </action> |
| 1158 | |
| 1159 | <action> |
| 1160 | <touch key="back"/> |
| 1161 | <action function="page">main</action> |
| 1162 | </action> |
| 1163 | </page> |
| 1164 | |
| 1165 | <page name="wipe_type2"> |
| 1166 | <template name="page"/> |
| 1167 | |
| 1168 | <template name="statusbar"/> |
| 1169 | |
| 1170 | <text style="text_m"> |
| 1171 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1172 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1173 | </text> |
| 1174 | |
| 1175 | <button style="main_button_full_width"> |
| 1176 | <condition var1="tw_has_data_media" var2="1"/> |
| 1177 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1178 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1179 | <action function="page">formatdata</action> |
| 1180 | </button> |
| 1181 | |
| 1182 | <button style="main_button_full_width"> |
| 1183 | <conditions> |
| 1184 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1185 | <condition var1="tw_has_data_media" var2="0"/> |
| 1186 | </conditions> |
| 1187 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1188 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1189 | <actions> |
| 1190 | <action function="set">tw_back=wipe</action> |
| 1191 | <action function="set">tw_action=wipe</action> |
| 1192 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1193 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1194 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1195 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1196 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1197 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1198 | <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1199 | <action function="page">confirm_action</action> |
| 1200 | </actions> |
| 1201 | </button> |
| 1202 | |
| 1203 | <button style="main_button_full_width"> |
| 1204 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1205 | <text>{@file_sys_opt=File System Options}</text><actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1206 | <action function="set">partitionlisterror=0</action> |
| 1207 | <action function="page">partitionoptions_select</action> |
| 1208 | </actions> |
| 1209 | </button> |
| 1210 | |
| 1211 | <button> |
| 1212 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1213 | <highlight color="%highlight_color%"/> |
| 1214 | <image resource="q_btn_arrow_left"/> |
| 1215 | <action function="page">wipe_type1</action> |
| 1216 | </button> |
| 1217 | |
| 1218 | <action> |
| 1219 | <touch key="home"/> |
| 1220 | <action function="page">main</action> |
| 1221 | </action> |
| 1222 | |
| 1223 | <action> |
| 1224 | <touch key="back"/> |
| 1225 | <action function="page">main</action> |
| 1226 | </action> |
| 1227 | </page> |
| 1228 | |
| 1229 | <page name="wipe"> |
| 1230 | <template name="page"/> |
| 1231 | |
| 1232 | <template name="statusbar"/> |
| 1233 | |
| 1234 | <text style="text_m"> |
| 1235 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1236 | <text>{@wipe_hdr=Wipe} > {@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1237 | </text> |
| 1238 | |
| 1239 | <text style="text_m_accent"> |
| 1240 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1241 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1242 | </text> |
| 1243 | |
| 1244 | <text style="text_m_accent"> |
| 1245 | <condition var1="tw_has_data_media" var2="1"/> |
| 1246 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1247 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1248 | </text> |
| 1249 | |
| 1250 | <text style="text_m_accent"> |
| 1251 | <conditions> |
| 1252 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1253 | <condition var1="fileexists" var2="/and-sec"/> |
| 1254 | </conditions> |
| 1255 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1256 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1257 | </text> |
| 1258 | |
| 1259 | <text style="text_m_accent"> |
| 1260 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1261 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1262 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1263 | </text> |
| 1264 | |
| 1265 | <text style="text_m"> |
| 1266 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1267 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1268 | </text> |
| 1269 | |
| 1270 | <text style="text_m"> |
| 1271 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1272 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1273 | </text> |
| 1274 | |
| 1275 | <text style="text_m"> |
| 1276 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1277 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1278 | </text> |
| 1279 | |
| 1280 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1281 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1282 | <actions> |
| 1283 | <action function="set">tw_back=wipe</action> |
| 1284 | <action function="set">tw_action=wipe</action> |
| 1285 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1286 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1287 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1288 | <action function="page">action_page</action> |
| 1289 | </actions> |
| 1290 | </slider> |
| 1291 | |
| 1292 | <action> |
| 1293 | <touch key="back"/> |
| 1294 | <action function="page">wipe_type1</action> |
| 1295 | </action> |
| 1296 | |
| 1297 | <action> |
| 1298 | <touch key="home"/> |
| 1299 | <action function="page">main</action> |
| 1300 | </action> |
| 1301 | </page> |
| 1302 | |
| 1303 | <page name="advancedwipe"> |
| 1304 | <action> |
| 1305 | <action function="set">tw_wipe_list=</action> |
| 1306 | </action> |
| 1307 | |
| 1308 | <template name="page"/> |
| 1309 | |
| 1310 | <template name="statusbar"/> |
| 1311 | |
| 1312 | <text style="text_m"> |
| 1313 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1314 | <text>{@wipe_hdr=Wipe} > {@advanced_wipe_hdr=Advanced Wipe} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1315 | </text> |
| 1316 | |
| 1317 | <partitionlist style="partitionlist_headerless_cb"> |
| 1318 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1319 | <data name="tw_wipe_list"/> |
| 1320 | <listtype name="wipe"/> |
| 1321 | </partitionlist> |
| 1322 | |
| 1323 | <fill color="%accent_color%"> |
| 1324 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1325 | </fill> |
| 1326 | |
| 1327 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1328 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1329 | <actions> |
| 1330 | <action function="set">tw_back=advancedwipe</action> |
| 1331 | <action function="set">tw_action=wipe</action> |
| 1332 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1333 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1334 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1335 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1336 | <action function="page">action_page</action> |
| 1337 | </actions> |
| 1338 | </slider> |
| 1339 | |
| 1340 | <action> |
| 1341 | <touch key="home"/> |
| 1342 | <action function="page">main</action> |
| 1343 | </action> |
| 1344 | |
| 1345 | <action> |
| 1346 | <touch key="back"/> |
| 1347 | <action function="page">wipe_type1</action> |
| 1348 | </action> |
| 1349 | </page> |
| 1350 | |
| 1351 | <page name="formatdata"> |
| 1352 | <template name="page"/> |
| 1353 | |
| 1354 | <template name="statusbar"/> |
| 1355 | |
| 1356 | <text style="text_m"> |
| 1357 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1358 | <text>{@wipe_hdr=Wipe} > {@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1359 | </text> |
| 1360 | |
| 1361 | <text style="text_m_fail"> |
| 1362 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1363 | <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1364 | </text> |
| 1365 | |
| 1366 | <text style="text_m_fail"> |
| 1367 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1368 | <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1369 | </text> |
| 1370 | |
| 1371 | <text style="text_m"> |
| 1372 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1373 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1374 | </text> |
| 1375 | |
| 1376 | <input> |
| 1377 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/> |
| 1378 | <text>%tw_confirm_formatdata%</text> |
| 1379 | <data name="tw_confirm_formatdata"/> |
| 1380 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1381 | <action function="page">formatdata_confirm</action> |
| 1382 | </input> |
| 1383 | |
| 1384 | <fill color="%accent_color%"> |
| 1385 | <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/> |
| 1386 | </fill> |
| 1387 | |
| 1388 | <template name="keyboardtemplate"/> |
| 1389 | |
| 1390 | <action> |
| 1391 | <touch key="home"/> |
| 1392 | <action function="page">main</action> |
| 1393 | </action> |
| 1394 | |
| 1395 | <action> |
| 1396 | <touch key="back"/> |
| 1397 | <action function="page">wipe_type2</action> |
| 1398 | </action> |
| 1399 | </page> |
| 1400 | |
| 1401 | <page name="formatdata_confirm"> |
| 1402 | <action> |
| 1403 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1404 | <actions> |
| 1405 | <action function="set">tw_back=formatdata</action> |
| 1406 | <action function="set">tw_action=wipe</action> |
| 1407 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1408 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1409 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1410 | <action function="page">action_page</action> |
| 1411 | </actions> |
| 1412 | </action> |
| 1413 | |
| 1414 | <action> |
| 1415 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1416 | <action function="page">formatdata</action> |
| 1417 | </action> |
| 1418 | </page> |
| 1419 | |
| 1420 | <page name="checkpartitionlist"> |
| 1421 | <action> |
| 1422 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1423 | <actions> |
| 1424 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1425 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1426 | <action function="page">partitionoptions</action> |
| 1427 | </actions> |
| 1428 | </action> |
| 1429 | |
| 1430 | <action> |
| 1431 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1432 | <actions> |
| 1433 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1434 | <action function="page">partitionoptions_select</action> |
| 1435 | </actions> |
| 1436 | </action> |
| 1437 | </page> |
| 1438 | |
| 1439 | <page name="partitionoptions_select"> |
| 1440 | <action> |
| 1441 | <action function="set">tw_wipe_list=</action> |
| 1442 | </action> |
| 1443 | |
| 1444 | <template name="page"/> |
| 1445 | |
| 1446 | <template name="statusbar"/> |
| 1447 | |
| 1448 | <text style="text_m"> |
| 1449 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1450 | <text>{@wipe_hdr=Wipe} > {@file_sys_opt=File System Options} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1451 | </text> |
| 1452 | |
| 1453 | <partitionlist style="partitionlist_headerless_cb"> |
| 1454 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1455 | <data name="tw_wipe_list"/> |
| 1456 | <listtype name="wipe"/> |
| 1457 | </partitionlist> |
| 1458 | |
| 1459 | <fill color="%accent_color%"> |
| 1460 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1461 | </fill> |
| 1462 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1463 | <text style="text_m_fail"> |
| 1464 | <condition var1="partitionlisterror" var2="1"/> |
| 1465 | <placement x="%col1_x_left%" y="%row12_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1466 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1467 | </text> |
| 1468 | |
| 1469 | <button> |
| 1470 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1471 | <highlight color="%highlight_color%"/> |
| 1472 | <image resource="q_btn_arrow_right"/><actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1473 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1474 | <action function="page">checkpartitionlist</action> |
| 1475 | </actions> |
| 1476 | </button> |
| 1477 | |
| 1478 | <action> |
| 1479 | <touch key="home"/> |
| 1480 | <action function="page">main</action> |
| 1481 | </action> |
| 1482 | |
| 1483 | <action> |
| 1484 | <touch key="back"/> |
| 1485 | <action function="page">wipe_type2</action> |
| 1486 | </action> |
| 1487 | </page> |
| 1488 | |
| 1489 | <page name="partitionoptions"> |
| 1490 | |
| 1491 | <template name="page"/> |
| 1492 | |
| 1493 | <template name="statusbar"/> |
| 1494 | |
| 1495 | <text style="text_m"> |
| 1496 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1497 | <text>{@wipe_hdr=Wipe} > {@file_sys_opt=File System Options} > {@sel_act_hdr=Select Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1498 | </text> |
| 1499 | |
| 1500 | <text style="text_m_accent"> |
| 1501 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1502 | <text>{@partition=Partition: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1503 | </text> |
| 1504 | |
| 1505 | <text style="text_m_accent"> |
| 1506 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1507 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1508 | </text> |
| 1509 | |
| 1510 | <text style="text_m"> |
| 1511 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1512 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1513 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1514 | </text> |
| 1515 | |
| 1516 | <text style="text_m"> |
| 1517 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1518 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1519 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1520 | </text> |
| 1521 | |
| 1522 | <text style="text_m"> |
| 1523 | <condition var1="tw_partition_removable" var2="1"/> |
| 1524 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1525 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1526 | </text> |
| 1527 | |
| 1528 | <text style="text_m"> |
| 1529 | <condition var1="tw_partition_removable" var2="0"/> |
| 1530 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1531 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1532 | </text> |
| 1533 | |
| 1534 | <text style="text_m"> |
| 1535 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1536 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1537 | </text> |
| 1538 | |
| 1539 | <text style="text_m"> |
| 1540 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1541 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1542 | </text> |
| 1543 | |
| 1544 | <text style="text_m"> |
| 1545 | <placement x="%col1_x_left%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1546 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1547 | </text> |
| 1548 | |
| 1549 | <text style="text_m"> |
| 1550 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1551 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1552 | </text> |
| 1553 | |
| 1554 | <button style="main_button"> |
| 1555 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1556 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1557 | <text>{@resize_btn_s=Resize}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1558 | <actions> |
| 1559 | <action function="set">tw_back=partitionoptions</action> |
| 1560 | <action function="set">tw_action=resize</action> |
| 1561 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1562 | <action function="set">tw_has_action2=1</action> |
| 1563 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1564 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1565 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1566 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1567 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1568 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1569 | <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1570 | <action function="page">confirm_action</action> |
| 1571 | </actions> |
| 1572 | </button> |
| 1573 | |
| 1574 | <button style="main_button"> |
| 1575 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1576 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1577 | <text>{@repair_btn_s=Repair}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1578 | <actions> |
| 1579 | <action function="set">tw_back=partitionoptions</action> |
| 1580 | <action function="set">tw_action=repair</action> |
| 1581 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1582 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1583 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1584 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1585 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1586 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1587 | <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1588 | <action function="page">confirm_action</action> |
| 1589 | </actions> |
| 1590 | </button> |
| 1591 | |
| 1592 | <button> |
| 1593 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1594 | <highlight color="%highlight_color%"/> |
| 1595 | <image resource="q_btn_arrow_left"/> |
| 1596 | <action function="page">partitionoptions_select</action> |
| 1597 | </button> |
| 1598 | |
| 1599 | <button style="main_button"> |
| 1600 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1601 | <text>{@change_fs_btn_s=Change}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1602 | <action function="page">selectfilesystem</action> |
| 1603 | </button> |
| 1604 | |
| 1605 | <action> |
| 1606 | <touch key="home"/> |
| 1607 | <action function="page">main</action> |
| 1608 | </action> |
| 1609 | |
| 1610 | <action> |
| 1611 | <touch key="back"/> |
| 1612 | <action function="page">partitionoptions_select</action> |
| 1613 | </action> |
| 1614 | </page> |
| 1615 | |
| 1616 | <page name="refreshfilesystem"> |
| 1617 | <action> |
| 1618 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1619 | <actions> |
| 1620 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1621 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1622 | <action function="page">selectfilesystem</action> |
| 1623 | </actions> |
| 1624 | </action> |
| 1625 | |
| 1626 | <action> |
| 1627 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1628 | <actions> |
| 1629 | <action function="set">partitionlisterror=1</action> |
| 1630 | <action function="set">tw_wipe_list=</action> |
| 1631 | <action function="page">advancedwipe</action> |
| 1632 | </actions> |
| 1633 | </action> |
| 1634 | </page> |
| 1635 | |
| 1636 | <page name="selectfilesystem"> |
| 1637 | <template name="page"/> |
| 1638 | |
| 1639 | <template name="statusbar"/> |
| 1640 | |
| 1641 | <text style="text_m"> |
| 1642 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1643 | <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% > Select File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1644 | </text> |
| 1645 | |
| 1646 | <button style="main_button"> |
| 1647 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1648 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 1649 | <text>EXT2</text> |
| 1650 | <actions> |
| 1651 | <action function="set">tw_back=refreshfilesystem</action> |
| 1652 | <action function="set">tw_action=changefilesystem</action> |
| 1653 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1654 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1655 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1656 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1657 | <action function="set">tw_text2=EXT2</action> |
| 1658 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1659 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1660 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1661 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1662 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1663 | <action function="page">confirm_action</action> |
| 1664 | </actions> |
| 1665 | </button> |
| 1666 | |
| 1667 | <button style="main_button"> |
| 1668 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1669 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 1670 | <text>EXT3</text> |
| 1671 | <actions> |
| 1672 | <action function="set">tw_back=refreshfilesystem</action> |
| 1673 | <action function="set">tw_action=changefilesystem</action> |
| 1674 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1675 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1676 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1677 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1678 | <action function="set">tw_text2=EXT3</action> |
| 1679 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1680 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1681 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1682 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1683 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1684 | <action function="page">confirm_action</action> |
| 1685 | </actions> |
| 1686 | </button> |
| 1687 | |
| 1688 | <button style="main_button"> |
| 1689 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1690 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1691 | <text>EXT4</text> |
| 1692 | <actions> |
| 1693 | <action function="set">tw_back=refreshfilesystem</action> |
| 1694 | <action function="set">tw_action=changefilesystem</action> |
| 1695 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1696 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1697 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1698 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1699 | <action function="set">tw_text2=EXT4</action> |
| 1700 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1701 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1702 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1703 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1704 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1705 | <action function="page">confirm_action</action> |
| 1706 | </actions> |
| 1707 | </button> |
| 1708 | |
| 1709 | <button style="main_button"> |
| 1710 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1711 | <placement x="%col1_x_right%" y="%row1_y%"/> |
| 1712 | <text>FAT</text> |
| 1713 | <actions> |
| 1714 | <action function="set">tw_back=refreshfilesystem</action> |
| 1715 | <action function="set">tw_action=changefilesystem</action> |
| 1716 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1717 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1718 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1719 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1720 | <action function="set">tw_text2=FAT</action> |
| 1721 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1722 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1723 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1724 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1725 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1726 | <action function="page">confirm_action</action> |
| 1727 | </actions> |
| 1728 | </button> |
| 1729 | |
| 1730 | <button style="main_button"> |
| 1731 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1732 | <placement x="%col1_x_right%" y="%row6_y%"/> |
| 1733 | <text>exFAT</text> |
| 1734 | <actions> |
| 1735 | <action function="set">tw_back=refreshfilesystem</action> |
| 1736 | <action function="set">tw_action=changefilesystem</action> |
| 1737 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1738 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1739 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1740 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1741 | <action function="set">tw_text2=exFAT</action> |
| 1742 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1743 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1744 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1745 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1746 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1747 | <action function="page">confirm_action</action> |
| 1748 | </actions> |
| 1749 | </button> |
| 1750 | |
| 1751 | <button style="main_button"> |
| 1752 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1753 | <placement x="%col1_x_right%" y="%row11_y%"/> |
| 1754 | <text>F2FS</text> |
| 1755 | <actions> |
| 1756 | <action function="set">tw_back=refreshfilesystem</action> |
| 1757 | <action function="set">tw_action=changefilesystem</action> |
| 1758 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1759 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1760 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1761 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1762 | <action function="set">tw_text2=F2FS</action> |
| 1763 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1764 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1765 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1766 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1767 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1768 | <action function="page">confirm_action</action> |
| 1769 | </actions> |
| 1770 | </button> |
| 1771 | |
| 1772 | <action> |
| 1773 | <touch key="home"/> |
| 1774 | <action function="page">main</action> |
| 1775 | </action> |
| 1776 | |
| 1777 | <action> |
| 1778 | <touch key="back"/> |
| 1779 | <action function="page">partitionoptions</action> |
| 1780 | </action> |
| 1781 | </page> |
| 1782 | |
| 1783 | <page name="backup_selectstorage"> |
| 1784 | <template name="page"/> |
| 1785 | |
| 1786 | <template name="statusbar"/> |
| 1787 | |
| 1788 | <text style="text_m"> |
| 1789 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1790 | <text>{@backup_hdr=Backup} > {@select_storage_hdr=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1791 | </text> |
| 1792 | |
| 1793 | <partitionlist style="partitionlist_headerless_rb"> |
| 1794 | <data name="tw_storage_path"/> |
| 1795 | <listtype name="storage"/> |
| 1796 | </partitionlist> |
| 1797 | |
| 1798 | <button> |
| 1799 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1800 | <highlight color="%highlight_color%"/> |
| 1801 | <image resource="q_btn_refresh"/> |
| 1802 | <actions> |
| 1803 | <action function="refreshsizes"/> |
| 1804 | <action function="page">backup_selectstorage</action> |
| 1805 | </actions> |
| 1806 | </button> |
| 1807 | |
| 1808 | <button> |
| 1809 | <condition var1="tw_back" var2="backup_confirm"/> |
| 1810 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1811 | <highlight color="%highlight_color%"/> |
| 1812 | <image resource="q_btn_accept"/> |
| 1813 | <action function="page">backup_confirm</action> |
| 1814 | </button> |
| 1815 | |
| 1816 | <button> |
| 1817 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1818 | <highlight color="%highlight_color%"/> |
| 1819 | <image resource="q_btn_arrow_right"/> |
| 1820 | <actions> |
| 1821 | <action function="set">tw_back=backup_selectstorage</action> |
| 1822 | <action function="page">backup_selectpartitions</action> |
| 1823 | </actions> |
| 1824 | </button> |
| 1825 | |
| 1826 | <action> |
| 1827 | <touch key="home"/> |
| 1828 | <action function="page">main</action> |
| 1829 | </action> |
| 1830 | |
| 1831 | <action> |
| 1832 | <touch key="back"/> |
| 1833 | <action function="page">%tw_back%</action> |
| 1834 | </action> |
| 1835 | |
| 1836 | <action> |
| 1837 | <touch key="power+voldown"/> |
| 1838 | <action function="screenshot"/> |
| 1839 | </action> |
| 1840 | </page> |
| 1841 | |
| 1842 | <page name="backup_selectpartitions"> |
| 1843 | <template name="page"/> |
| 1844 | |
| 1845 | <template name="statusbar"/> |
| 1846 | |
| 1847 | <text style="text_m"> |
| 1848 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1849 | <text>{@backup_hdr=Backup} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1850 | </text> |
| 1851 | |
| 1852 | <partitionlist style="partitionlist_headerless_cb"> |
| 1853 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1854 | <data name="tw_backup_list"/> |
| 1855 | <listtype name="backup"/> |
| 1856 | </partitionlist> |
| 1857 | |
| 1858 | <fill color="%accent_color%"> |
| 1859 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1860 | </fill> |
| 1861 | |
| 1862 | <button> |
| 1863 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1864 | <highlight color="%highlight_color%"/> |
| 1865 | <image resource="q_btn_arrow_left"/> |
| 1866 | <action function="page">backup_selectstorage</action> |
| 1867 | </button> |
| 1868 | |
| 1869 | <button> |
| 1870 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1871 | <highlight color="%highlight_color%"/> |
| 1872 | <image resource="q_btn_refresh"/> |
| 1873 | <action function="page">backup_selectpartitions</action> |
| 1874 | </button> |
| 1875 | |
| 1876 | <button> |
| 1877 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1878 | <highlight color="%highlight_color%"/> |
| 1879 | <image resource="q_btn_accept"/> |
| 1880 | <action function="page">backup_confirm</action> |
| 1881 | </button> |
| 1882 | |
| 1883 | <button> |
| 1884 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1885 | <highlight color="%highlight_color%"/> |
| 1886 | <image resource="q_btn_arrow_right"/> |
| 1887 | <actions> |
| 1888 | <action function="set">tw_back=backup_selectpartitions</action> |
| 1889 | <action function="page">backup_options</action> |
| 1890 | </actions> |
| 1891 | </button> |
| 1892 | |
| 1893 | <action> |
| 1894 | <touch key="home"/> |
| 1895 | <action function="page">main</action> |
| 1896 | </action> |
| 1897 | |
| 1898 | <action> |
| 1899 | <touch key="back"/> |
| 1900 | <action function="page">%tw_back%</action> |
| 1901 | </action> |
| 1902 | |
| 1903 | <action> |
| 1904 | <touch key="power+voldown"/> |
| 1905 | <action function="screenshot"/> |
| 1906 | </action> |
| 1907 | </page> |
| 1908 | |
| 1909 | <page name="backup_options"> |
| 1910 | <template name="page"/> |
| 1911 | |
| 1912 | <template name="statusbar"/> |
| 1913 | |
| 1914 | <text style="text_m"> |
| 1915 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1916 | <text>{@backup_hdr=Backup} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1917 | </text> |
| 1918 | |
| 1919 | <listbox style="scrolllist"> |
| 1920 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1921 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1922 | <data variable="tw_use_compression"/> |
| 1923 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1924 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1925 | <data variable="tw_skip_md5_generate"/> |
| 1926 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1927 | <listitem name="{@disable_backup_space_chk=Disable Free Space Check}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1928 | <data variable="tw_disable_free_space"/> |
| 1929 | </listitem> |
| 1930 | </listbox> |
| 1931 | |
| 1932 | <button> |
| 1933 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1934 | <highlight color="%highlight_color%"/> |
| 1935 | <image resource="q_btn_arrow_left"/> |
| 1936 | <action function="page">backup_selectpartitions</action> |
| 1937 | </button> |
| 1938 | |
| 1939 | <button> |
| 1940 | <conditions> |
| 1941 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1942 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1943 | </conditions> |
| 1944 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1945 | <highlight color="%highlight_color%"/> |
| 1946 | <image resource="q_btn_encryption_dis"/> |
| 1947 | <actions> |
| 1948 | <action function="set">tw_password_not_match=0</action> |
| 1949 | <action function="set">tw_back=backup_options</action> |
| 1950 | <action function="page">backupencryption</action> |
| 1951 | </actions> |
| 1952 | </button> |
| 1953 | |
| 1954 | <button> |
| 1955 | <conditions> |
| 1956 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1957 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1958 | </conditions> |
| 1959 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1960 | <highlight color="%highlight_color%"/> |
| 1961 | <image resource="q_btn_encryption_en"/> |
| 1962 | <actions> |
| 1963 | <action function="set">tw_password_not_match=0</action> |
| 1964 | <action function="set">tw_back=backup_options</action> |
| 1965 | <action function="page">backupencryption</action> |
| 1966 | </actions> |
| 1967 | </button> |
| 1968 | |
| 1969 | <button> |
| 1970 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1971 | <highlight color="%highlight_color%"/> |
| 1972 | <image resource="q_btn_accept_transp"/> |
| 1973 | <actions> |
| 1974 | <action function="set">tw_back=backup_options</action> |
| 1975 | <action function="page">backup_confirm</action> |
| 1976 | </actions> |
| 1977 | </button> |
| 1978 | |
| 1979 | <action> |
| 1980 | <touch key="home"/> |
| 1981 | <action function="page">main</action> |
| 1982 | </action> |
| 1983 | |
| 1984 | <action> |
| 1985 | <touch key="back"/> |
| 1986 | <action function="page">%tw_back%</action> |
| 1987 | </action> |
| 1988 | |
| 1989 | <action> |
| 1990 | <touch key="power+voldown"/> |
| 1991 | <action function="screenshot"/> |
| 1992 | </action> |
| 1993 | </page> |
| 1994 | |
| 1995 | <page name="backup_confirm"> |
| 1996 | <template name="page"/> |
| 1997 | |
| 1998 | <template name="statusbar"/> |
| 1999 | |
| 2000 | <text style="text_m"> |
| 2001 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2002 | <text>{@backup_hdr=Backup} > {@backup_confirm_hdr=Confirm Backup{</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2003 | </text> |
| 2004 | |
| 2005 | <text style="text_m_accent"> |
| 2006 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2007 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2008 | </text> |
| 2009 | |
| 2010 | <text style="text_m"> |
| 2011 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 2012 | <text>%tw_backup_name%</text> |
| 2013 | </text> |
| 2014 | |
| 2015 | <fill color="%accent_color%"> |
| 2016 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2017 | </fill> |
| 2018 | |
| 2019 | <button> |
| 2020 | <fill color="%transparent%"/> |
| 2021 | <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2022 | <actions> |
| 2023 | <action function="set">tw_back=backup_confirm</action> |
| 2024 | <action function="set">tw_fileexists=0</action> |
| 2025 | <action function="page">backup_name1</action> |
| 2026 | </actions> |
| 2027 | </button> |
| 2028 | |
| 2029 | <fill color="%background_color%"> |
| 2030 | <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2031 | </fill> |
| 2032 | |
| 2033 | <text style="text_m_accent"> |
| 2034 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2035 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2036 | </text> |
| 2037 | |
| 2038 | <partitionlist style="partitionlist_summary"> |
| 2039 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2040 | <data name="tw_backup_list"/> |
| 2041 | <listtype name="backup"/> |
| 2042 | </partitionlist> |
| 2043 | |
| 2044 | <button> |
| 2045 | <fill color="%transparent%"/> |
| 2046 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2047 | <actions> |
| 2048 | <action function="set">tw_back=backup_confirm</action> |
| 2049 | <action function="page">backup_selectpartitions</action> |
| 2050 | </actions> |
| 2051 | </button> |
| 2052 | |
| 2053 | <text style="text_m_accent"> |
| 2054 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2055 | <text>{@storage=Storage:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2056 | </text> |
| 2057 | |
| 2058 | <text style="text_m"> |
| 2059 | <placement x="%col1_x_right%" y="%row2_y%"/> |
| 2060 | <text>%tw_storage_display_name%</text> |
| 2061 | </text> |
| 2062 | |
| 2063 | <button> |
| 2064 | <fill color="%transparent%"/> |
| 2065 | <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2066 | <actions> |
| 2067 | <action function="set">tw_back=backup_confirm</action> |
| 2068 | <action function="page">backup_selectstorage</action> |
| 2069 | </actions> |
| 2070 | </button> |
| 2071 | |
| 2072 | <text style="text_m_accent"> |
| 2073 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2074 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2075 | </text> |
| 2076 | |
| 2077 | <text style="text_m"> |
| 2078 | <conditions> |
| 2079 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2080 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 2081 | </conditions> |
| 2082 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2083 | <text>{@disabled=Disabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2084 | </text> |
| 2085 | |
| 2086 | <text style="text_m"> |
| 2087 | <conditions> |
| 2088 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2089 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 2090 | </conditions> |
| 2091 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2092 | <text>{@enabled=Enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2093 | </text> |
| 2094 | |
| 2095 | <button> |
| 2096 | <fill color="%transparent%"/> |
| 2097 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/> |
| 2098 | <actions> |
| 2099 | <action function="set">tw_back=backup_confirm</action> |
| 2100 | <action function="page">backupencryption</action> |
| 2101 | </actions> |
| 2102 | </button> |
| 2103 | |
| 2104 | <listbox style="listbox_options"> |
| 2105 | <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2106 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2107 | <data variable="tw_use_compression"/> |
| 2108 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2109 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2110 | <data variable="tw_skip_md5_generate"/> |
| 2111 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2112 | <listitem name="{@disable_backup_space_chk=Disable Free Space Check}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2113 | <data variable="tw_disable_free_space"/> |
| 2114 | </listitem> |
| 2115 | </listbox> |
| 2116 | |
| 2117 | <text style="text_m_accent"> |
| 2118 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2119 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2120 | </text> |
| 2121 | |
| 2122 | <button> |
| 2123 | <fill color="%transparent%"/> |
| 2124 | <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/> |
| 2125 | <actions> |
| 2126 | <action function="set">tw_back=backup_confirm</action> |
| 2127 | <action function="page">backup_options</action> |
| 2128 | </actions> |
| 2129 | </button> |
| 2130 | |
| 2131 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2132 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2133 | <action function="page">backup_run</action> |
| 2134 | </slider> |
| 2135 | |
| 2136 | <action> |
| 2137 | <touch key="home"/> |
| 2138 | <action function="page">main</action> |
| 2139 | </action> |
| 2140 | |
| 2141 | <action> |
| 2142 | <touch key="back"/> |
| 2143 | <action function="page">backup_selectstorage</action> |
| 2144 | </action> |
| 2145 | </page> |
| 2146 | |
| 2147 | <page name="backup_name1"> |
| 2148 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2149 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2150 | <action function="generatebackupname"/> |
| 2151 | </action> |
| 2152 | |
| 2153 | <action> |
| 2154 | <action function="page">backup_name2</action> |
| 2155 | </action> |
| 2156 | </page> |
| 2157 | |
| 2158 | <page name="backup_name2"> |
| 2159 | <template name="page"/> |
| 2160 | |
| 2161 | <template name="statusbar"/> |
| 2162 | |
| 2163 | <text style="text_m"> |
| 2164 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2165 | <text>{@backup_hdr=Backup} > {@backup_name_hdr=Set Backup Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2166 | </text> |
| 2167 | |
| 2168 | <text style="text_m_accent"> |
| 2169 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2170 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2171 | </text> |
| 2172 | |
| 2173 | <input> |
| 2174 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2175 | <text>%tw_backup_name%</text> |
| 2176 | <data name="tw_backup_name"/> |
| 2177 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2178 | <actions> |
| 2179 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 2180 | <action function="set">tw_existpage=backup_name2</action> |
| 2181 | <action function="set">tw_notexistpage=backup_confirm</action> |
| 2182 | <action function="page">filecheck</action> |
| 2183 | </actions> |
| 2184 | </input> |
| 2185 | |
| 2186 | <fill color="%accent_color%"> |
| 2187 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2188 | </fill> |
| 2189 | |
| 2190 | <fill color="%text_fail_color%"> |
| 2191 | <condition var1="tw_fileexists" var2="1"/> |
| 2192 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2193 | </fill> |
| 2194 | |
| 2195 | <text style="text_m_fail"> |
| 2196 | <condition var1="tw_fileexists" var2="1"/> |
| 2197 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2198 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2199 | </text> |
| 2200 | |
| 2201 | <button style="main_button_half_height"> |
| 2202 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2203 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2204 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2205 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2206 | <action function="page">backup_confirm</action> |
| 2207 | </actions> |
| 2208 | </button> |
| 2209 | |
| 2210 | <button style="main_button_half_height"> |
| 2211 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2212 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2213 | <action function="appenddatetobackupname"/> |
| 2214 | </button> |
| 2215 | |
| 2216 | <template name="keyboardtemplate"/> |
| 2217 | |
| 2218 | <action> |
| 2219 | <touch key="home"/> |
| 2220 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2221 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2222 | <action function="page">main</action> |
| 2223 | </actions> |
| 2224 | </action> |
| 2225 | |
| 2226 | <action> |
| 2227 | <touch key="back"/> |
| 2228 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2229 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2230 | <action function="page">backup_confirm</action> |
| 2231 | </actions> |
| 2232 | </action> |
| 2233 | </page> |
| 2234 | |
| 2235 | <page name="backupencryption"> |
| 2236 | <template name="page"/> |
| 2237 | |
| 2238 | <template name="statusbar"/> |
| 2239 | |
| 2240 | <text style="text_m"> |
| 2241 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2242 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2243 | </text> |
| 2244 | |
| 2245 | <text style="text_m_accent"> |
| 2246 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2247 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2248 | </text> |
| 2249 | |
| 2250 | <input> |
| 2251 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2252 | <text>%tw_backup_encrypt_display%</text> |
| 2253 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 2254 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2255 | <action function="page">backupencryption2</action> |
| 2256 | </input> |
| 2257 | |
| 2258 | <fill color="%accent_color%"> |
| 2259 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2260 | </fill> |
| 2261 | |
| 2262 | <fill color="%text_fail_color%"> |
| 2263 | <condition var1="tw_password_not_match" var2="1"/> |
| 2264 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2265 | </fill> |
| 2266 | |
| 2267 | <text style="text_m_fail"> |
| 2268 | <condition var1="tw_password_not_match" var2="1"/> |
| 2269 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2270 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2271 | </text> |
| 2272 | |
| 2273 | <button style="main_button_half_height"> |
| 2274 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2275 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2276 | <actions> |
| 2277 | <action function="set">tw_encrypt_backup=0</action> |
| 2278 | <action function="set">tw_backup_password=</action> |
| 2279 | <action function="set">tw_backup_password2=</action> |
| 2280 | <action function="set">tw_backup_encrypt_display=</action> |
| 2281 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2282 | <action function="page">%tw_back%</action> |
| 2283 | </actions> |
| 2284 | </button> |
| 2285 | |
| 2286 | <template name="keyboardtemplate"/> |
| 2287 | |
| 2288 | <action> |
| 2289 | <touch key="home"/> |
| 2290 | <action function="page">main</action> |
| 2291 | </action> |
| 2292 | |
| 2293 | <action> |
| 2294 | <touch key="back"/> |
| 2295 | <action function="page">%tw_back%</action> |
| 2296 | </action> |
| 2297 | </page> |
| 2298 | |
| 2299 | <page name="backupencryption2"> |
| 2300 | <template name="page"/> |
| 2301 | |
| 2302 | <template name="statusbar"/> |
| 2303 | |
| 2304 | <text style="text_m"> |
| 2305 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2306 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2307 | </text> |
| 2308 | |
| 2309 | <text style="text_m_accent"> |
| 2310 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2311 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2312 | </text> |
| 2313 | |
| 2314 | <input> |
| 2315 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2316 | <text>%tw_backup_encrypt_display2%</text> |
| 2317 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2318 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2319 | <action function="page">checkbackuppassword</action> |
| 2320 | </input> |
| 2321 | |
| 2322 | <fill color="%accent_color%"> |
| 2323 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2324 | </fill> |
| 2325 | |
| 2326 | <button style="main_button_half_height"> |
| 2327 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2328 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2329 | <actions> |
| 2330 | <action function="set">tw_encrypt_backup=0</action> |
| 2331 | <action function="set">tw_backup_password=</action> |
| 2332 | <action function="set">tw_backup_password2=</action> |
| 2333 | <action function="set">tw_backup_encrypt_display=</action> |
| 2334 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2335 | <action function="page">%tw_back%</action> |
| 2336 | </actions> |
| 2337 | </button> |
| 2338 | |
| 2339 | <template name="keyboardtemplate"/> |
| 2340 | |
| 2341 | <action> |
| 2342 | <touch key="home"/> |
| 2343 | <action function="page">main</action> |
| 2344 | </action> |
| 2345 | |
| 2346 | <action> |
| 2347 | <touch key="back"/> |
| 2348 | <action function="page">%tw_back%</action> |
| 2349 | </action> |
| 2350 | </page> |
| 2351 | |
| 2352 | <page name="checkbackuppassword"> |
| 2353 | <action> |
| 2354 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2355 | <actions> |
| 2356 | <action function="set">tw_encrypt_backup=1</action> |
| 2357 | <action function="page">%tw_back%</action> |
| 2358 | </actions> |
| 2359 | </action> |
| 2360 | |
| 2361 | <action> |
| 2362 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2363 | <actions> |
| 2364 | <action function="set">tw_encrypt_backup=0</action> |
| 2365 | <action function="set">tw_password_not_match=1</action> |
| 2366 | <action function="set">tw_backup_password=</action> |
| 2367 | <action function="set">tw_backup_password2=</action> |
| 2368 | <action function="set">tw_backup_encrypt_display=</action> |
| 2369 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2370 | <action function="page">backupencryption</action> |
| 2371 | </actions> |
| 2372 | </action> |
| 2373 | </page> |
| 2374 | |
| 2375 | <page name="backup_run"> |
| 2376 | <template name="page"/> |
| 2377 | |
| 2378 | <template name="statusbar"/> |
| 2379 | |
| 2380 | <text style="text_m"> |
| 2381 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2382 | <text>%tw_operation% %tw_partition%</text> |
| 2383 | </text> |
| 2384 | |
| 2385 | <template name="console"/> |
| 2386 | |
| 2387 | <template name="progress_bar"/> |
| 2388 | |
| 2389 | <text style="text_m"> |
| 2390 | <placement x="%indent%" y="%row13a_y%"/> |
| 2391 | <text>%tw_file_progress%</text> |
| 2392 | </text> |
| 2393 | |
| 2394 | <text style="text_m"> |
| 2395 | <placement x="%indent%" y="%row14a_y%"/> |
| 2396 | <text>%tw_size_progress%</text> |
| 2397 | </text> |
| 2398 | |
| 2399 | <button style="main_button_half_height"> |
| 2400 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2401 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2402 | <action function="cancelbackup"/> |
| 2403 | </button> |
| 2404 | |
| 2405 | <action> |
| 2406 | <action function="nandroid">backup</action> |
| 2407 | </action> |
| 2408 | |
| 2409 | <action> |
| 2410 | <condition var1="tw_operation_state" var2="1"/> |
| 2411 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2412 | <actions> |
| 2413 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2414 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2415 | <action function="set">tw_show_reboot=1</action> |
| 2416 | <action function="page">action_complete</action> |
| 2417 | </actions> |
| 2418 | </action> |
| 2419 | |
| 2420 | <action> |
| 2421 | <condition var1="tw_operation_state" var2="1"/> |
| 2422 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2423 | <actions> |
| 2424 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2425 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2426 | <action function="set">tw_show_reboot=1</action> |
| 2427 | <action function="page">action_complete</action> |
| 2428 | </actions> |
| 2429 | </action> |
| 2430 | </page> |
| 2431 | |
| 2432 | <page name="restore"> |
| 2433 | <template name="page"/> |
| 2434 | |
| 2435 | <template name="statusbar"/> |
| 2436 | |
| 2437 | <text style="text_m"> |
| 2438 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2439 | <text>{@restore_hdr=Restore} > {@sel_backup_hdr=Select Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2440 | </text> |
| 2441 | |
| 2442 | <fileselector> |
| 2443 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 2444 | <text>%tw_storage_display_name%</text> |
| 2445 | <filter folders="1" files="0" nav="0"/> |
| 2446 | <path name="tw_backups_folder"/> |
| 2447 | <data name="tw_restore" default=""/> |
| 2448 | <selection name="tw_restore_name"/> |
| 2449 | </fileselector> |
| 2450 | |
| 2451 | <button> |
| 2452 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2453 | <highlight color="%highlight_color%"/> |
| 2454 | <image resource="q_btn_storage"/> |
| 2455 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2456 | <action function="set">tw_storagetext={@restore_btn=Restore} > {@select_storage_btn=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2457 | <action function="set">tw_back=restore</action> |
| 2458 | <action function="page">select_storage</action> |
| 2459 | </actions> |
| 2460 | </button> |
| 2461 | |
| 2462 | <action> |
| 2463 | <condition var1="tw_restore" op="modified"/> |
| 2464 | <actions> |
| 2465 | <action function="readBackup"/> |
| 2466 | <action function="set">tw_back=restore</action> |
| 2467 | <action function="page">restore_read</action> |
| 2468 | </actions> |
| 2469 | </action> |
| 2470 | |
| 2471 | <action> |
| 2472 | <touch key="home"/> |
| 2473 | <action function="page">main</action> |
| 2474 | </action> |
| 2475 | |
| 2476 | <action> |
| 2477 | <touch key="back"/> |
| 2478 | <action function="page">main</action> |
| 2479 | </action> |
| 2480 | </page> |
| 2481 | |
| 2482 | <page name="restore_read"> |
| 2483 | <action> |
| 2484 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2485 | <actions> |
| 2486 | <action function="set">tw_password_fail=0</action> |
| 2487 | <action function="page">restore_decrypt</action> |
| 2488 | </actions> |
| 2489 | </action> |
| 2490 | |
| 2491 | <action> |
| 2492 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2493 | <actions> |
| 2494 | <action function="page">restore_select</action> |
| 2495 | </actions> |
| 2496 | </action> |
| 2497 | </page> |
| 2498 | |
| 2499 | <page name="restore_decrypt"> |
| 2500 | <template name="page"/> |
| 2501 | |
| 2502 | <template name="statusbar"/> |
| 2503 | |
| 2504 | <text style="text_m"> |
| 2505 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2506 | <text>{@restore_hdr=Restore} > {@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2507 | </text> |
| 2508 | |
| 2509 | <text style="text_m_accent"> |
| 2510 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2511 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2512 | </text> |
| 2513 | |
| 2514 | <input> |
| 2515 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2516 | <text>%tw_restore_display%</text> |
| 2517 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2518 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2519 | <action function="page">try_restore_decrypt</action> |
| 2520 | </input> |
| 2521 | |
| 2522 | <fill color="%accent_color%"> |
| 2523 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2524 | </fill> |
| 2525 | |
| 2526 | <fill color="%text_fail_color%"> |
| 2527 | <condition var1="tw_password_fail" var2="1"/> |
| 2528 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2529 | </fill> |
| 2530 | |
| 2531 | <text style="text_m_fail"> |
| 2532 | <condition var1="tw_password_fail" var2="1"/> |
| 2533 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2534 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2535 | </text> |
| 2536 | |
| 2537 | <button style="main_button_half_height"> |
| 2538 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2539 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2540 | <actions> |
| 2541 | <action function="set">tw_page_done=1</action> |
| 2542 | <action function="page">restore</action> |
| 2543 | </actions> |
| 2544 | </button> |
| 2545 | |
| 2546 | <button style="main_button_half_height"> |
| 2547 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2548 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2549 | <actions> |
| 2550 | <action function="set">tw_back=restore</action> |
| 2551 | <action function="set">tw_action=cmd</action> |
| 2552 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2553 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2554 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2555 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2556 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2557 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2558 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2559 | <action function="page">confirm_action</action> |
| 2560 | </actions> |
| 2561 | </button> |
| 2562 | |
| 2563 | <template name="keyboardtemplate"/> |
| 2564 | |
| 2565 | <action> |
| 2566 | <touch key="home"/> |
| 2567 | <action function="page">main</action> |
| 2568 | </action> |
| 2569 | |
| 2570 | <action> |
| 2571 | <touch key="back"/> |
| 2572 | <action function="page">restore</action> |
| 2573 | </action> |
| 2574 | </page> |
| 2575 | |
| 2576 | <page name="try_restore_decrypt"> |
| 2577 | <template name="page"/> |
| 2578 | |
| 2579 | <template name="statusbar"/> |
| 2580 | |
| 2581 | <text style="text_m"> |
| 2582 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2583 | <text>{@restore_hdr=Restore} > {@restore_try_decrypt_s=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2584 | </text> |
| 2585 | |
| 2586 | <template name="console"/> |
| 2587 | |
| 2588 | <template name="progress_bar"/> |
| 2589 | |
| 2590 | <action> |
| 2591 | <action function="decrypt_backup"/> |
| 2592 | </action> |
| 2593 | |
| 2594 | <action> |
| 2595 | <conditions> |
| 2596 | <condition var1="tw_operation_state" var2="1"/> |
| 2597 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2598 | </conditions> |
| 2599 | <actions> |
| 2600 | <action function="set">tw_password_fail=1</action> |
| 2601 | <action function="page">restore_decrypt</action> |
| 2602 | </actions> |
| 2603 | </action> |
| 2604 | |
| 2605 | <action> |
| 2606 | <conditions> |
| 2607 | <condition var1="tw_operation_state" var2="1"/> |
| 2608 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2609 | </conditions> |
| 2610 | <actions> |
| 2611 | <action function="set">tw_page_done=1</action> |
| 2612 | <action function="page">restore_select</action> |
| 2613 | </actions> |
| 2614 | </action> |
| 2615 | </page> |
| 2616 | |
| 2617 | <page name="restore_select"> |
| 2618 | <template name="page"/> |
| 2619 | |
| 2620 | <template name="statusbar"/> |
| 2621 | |
| 2622 | <text style="text_m"> |
| 2623 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2624 | <text>{@restore_hdr=Restore} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2625 | </text> |
| 2626 | |
| 2627 | <partitionlist style="partitionlist_headerless_cb"> |
| 2628 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2629 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2630 | <listtype name="restore"/> |
| 2631 | </partitionlist> |
| 2632 | |
| 2633 | <fill color="%accent_color%"> |
| 2634 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2635 | </fill> |
| 2636 | |
| 2637 | <button> |
| 2638 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2639 | <highlight color="%highlight_color%"/> |
| 2640 | <image resource="q_btn_arrow_left"/> |
| 2641 | <action function="page">restore</action> |
| 2642 | </button> |
| 2643 | |
| 2644 | <button> |
| 2645 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2646 | <highlight color="%highlight_color%"/> |
| 2647 | <image resource="q_btn_delete"/> |
| 2648 | <actions> |
| 2649 | <action function="set">tw_back=restore</action> |
| 2650 | <action function="set">tw_action=cmd</action> |
| 2651 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2652 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2653 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2654 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2655 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2656 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2657 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2658 | <action function="page">confirm_action</action> |
| 2659 | </actions> |
| 2660 | </button> |
| 2661 | |
| 2662 | <button> |
| 2663 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2664 | <highlight color="%highlight_color%"/> |
| 2665 | <image resource="q_btn_accept"/> |
| 2666 | <action function="page">restore_confirm</action> |
| 2667 | </button> |
| 2668 | |
| 2669 | <button> |
| 2670 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2671 | <highlight color="%highlight_color%"/> |
| 2672 | <image resource="q_btn_arrow_right"/> |
| 2673 | <actions> |
| 2674 | <action function="set">tw_back=restore_select</action> |
| 2675 | <action function="page">restore_options</action> |
| 2676 | </actions> |
| 2677 | </button> |
| 2678 | |
| 2679 | <action> |
| 2680 | <touch key="home"/> |
| 2681 | <action function="page">main</action> |
| 2682 | </action> |
| 2683 | |
| 2684 | <action> |
| 2685 | <touch key="back"/> |
| 2686 | <action function="page">%tw_back%</action> |
| 2687 | </action> |
| 2688 | </page> |
| 2689 | |
| 2690 | <page name="restore_options"> |
| 2691 | <template name="page"/> |
| 2692 | |
| 2693 | <template name="statusbar"/> |
| 2694 | |
| 2695 | <text style="text_m"> |
| 2696 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2697 | <text>{@restore_hdr=Restore} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2698 | </text> |
| 2699 | |
| 2700 | <listbox style="scrolllist"> |
| 2701 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2702 | <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2703 | <data variable="tw_skip_md5_check"/> |
| 2704 | </listitem> |
| 2705 | </listbox> |
| 2706 | |
| 2707 | <button> |
| 2708 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2709 | <highlight color="%highlight_color%"/> |
| 2710 | <image resource="q_btn_arrow_left"/> |
| 2711 | <action function="page">restore_select</action> |
| 2712 | </button> |
| 2713 | |
| 2714 | <button> |
| 2715 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2716 | <highlight color="%highlight_color%"/> |
| 2717 | <image resource="q_btn_accept_transp"/> |
| 2718 | <actions> |
| 2719 | <action function="set">tw_back=restore_options</action> |
| 2720 | <action function="page">restore_confirm</action> |
| 2721 | </actions> |
| 2722 | </button> |
| 2723 | |
| 2724 | <action> |
| 2725 | <touch key="home"/> |
| 2726 | <action function="page">main</action> |
| 2727 | </action> |
| 2728 | |
| 2729 | <action> |
| 2730 | <touch key="back"/> |
| 2731 | <action function="page">%tw_back%</action> |
| 2732 | </action> |
| 2733 | |
| 2734 | <action> |
| 2735 | <touch key="power+voldown"/> |
| 2736 | <action function="screenshot"/> |
| 2737 | </action> |
| 2738 | </page> |
| 2739 | |
| 2740 | <page name="renamebackup"> |
| 2741 | <template name="page"/> |
| 2742 | |
| 2743 | <template name="statusbar"/> |
| 2744 | |
| 2745 | <text style="text_m"> |
| 2746 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2747 | <text>{@restore_hdr=Restore} > {@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2748 | </text> |
| 2749 | |
| 2750 | <text style="text_m_accent"> |
| 2751 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2752 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2753 | </text> |
| 2754 | |
| 2755 | <input> |
| 2756 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2757 | <text>%tw_backup_rename%</text> |
| 2758 | <data name="tw_backup_rename"/> |
| 2759 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2760 | <actions> |
| 2761 | <action function="set">tw_back=restore</action> |
| 2762 | <action function="set">tw_action=cmd</action> |
| 2763 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2764 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2765 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2766 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2767 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2768 | <action function="set">tw_slider_text={@swipe_rename= Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2769 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2770 | <action function="set">tw_existpage=renamebackup</action> |
| 2771 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2772 | <action function="page">filecheck</action> |
| 2773 | </actions> |
| 2774 | </input> |
| 2775 | |
| 2776 | <fill color="%accent_color%"> |
| 2777 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2778 | </fill> |
| 2779 | |
| 2780 | <fill color="%text_fail_color%"> |
| 2781 | <condition var1="tw_fileexists" var2="1"/> |
| 2782 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2783 | </fill> |
| 2784 | |
| 2785 | <text style="text_m_fail"> |
| 2786 | <condition var1="tw_fileexists" var2="1"/> |
| 2787 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2788 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2789 | </text> |
| 2790 | |
| 2791 | <button style="main_button_half_height"> |
| 2792 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2793 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2794 | <action function="page">restore_confirm</action> |
| 2795 | </button> |
| 2796 | |
| 2797 | <template name="keyboardtemplate"/> |
| 2798 | |
| 2799 | <action> |
| 2800 | <touch key="home"/> |
| 2801 | <action function="page">main</action> |
| 2802 | </action> |
| 2803 | |
| 2804 | <action> |
| 2805 | <touch key="back"/> |
| 2806 | <action function="page">restore_confirm</action> |
| 2807 | </action> |
| 2808 | </page> |
| 2809 | |
| 2810 | <page name="restore_confirm"> |
| 2811 | <template name="page"/> |
| 2812 | |
| 2813 | <template name="statusbar"/> |
| 2814 | |
| 2815 | <text style="text_m"> |
| 2816 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2817 | <text>{@restore_hdr=Restore} > {@confirm_hdr=Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2818 | </text> |
| 2819 | |
| 2820 | <text style="text_m_accent"> |
| 2821 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2822 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2823 | </text> |
| 2824 | |
| 2825 | <text style="text_m"> |
| 2826 | <placement x="%indent%" y="%row2_y%"/> |
| 2827 | <text>%tw_restore_name%</text> |
| 2828 | </text> |
| 2829 | |
| 2830 | <fill color="%accent_color%"> |
| 2831 | <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/> |
| 2832 | </fill> |
| 2833 | |
| 2834 | <button> |
| 2835 | <fill color="%transparent%"/> |
| 2836 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 2837 | <actions> |
| 2838 | <action function="set">tw_back=restore_confirm</action> |
| 2839 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2840 | <action function="set">tw_fileexists=0</action> |
| 2841 | <action function="page">renamebackup</action> |
| 2842 | </actions> |
| 2843 | </button> |
| 2844 | |
| 2845 | <text style="text_m_accent"> |
| 2846 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2847 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2848 | </text> |
| 2849 | |
| 2850 | <partitionlist style="partitionlist_summary"> |
| 2851 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2852 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2853 | <listtype name="restore"/> |
| 2854 | </partitionlist> |
| 2855 | |
| 2856 | <button> |
| 2857 | <fill color="%transparent%"/> |
| 2858 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2859 | <actions> |
| 2860 | <action function="set">tw_back=restore_confirm</action> |
| 2861 | <action function="page">restore_select</action> |
| 2862 | </actions> |
| 2863 | </button> |
| 2864 | |
| 2865 | <listbox style="listbox_options"> |
| 2866 | <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2867 | <listitem name="{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2868 | <data variable="tw_skip_md5_check"/> |
| 2869 | </listitem> |
| 2870 | </listbox> |
| 2871 | |
| 2872 | <text style="text_m_accent"> |
| 2873 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2874 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2875 | </text> |
| 2876 | |
| 2877 | <button> |
| 2878 | <fill color="%transparent%"/> |
| 2879 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/> |
| 2880 | <actions> |
| 2881 | <action function="set">tw_back=restore_confirm</action> |
| 2882 | <action function="page">restore_options</action> |
| 2883 | </actions> |
| 2884 | </button> |
| 2885 | |
| 2886 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2887 | <text>{@swipe_restore_s= Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2888 | <action function="page">restore_run</action> |
| 2889 | </slider> |
| 2890 | |
| 2891 | <action> |
| 2892 | <touch key="home"/> |
| 2893 | <action function="page">main</action> |
| 2894 | </action> |
| 2895 | |
| 2896 | <action> |
| 2897 | <touch key="back"/> |
| 2898 | <action function="page">restore_options</action> |
| 2899 | </action> |
| 2900 | </page> |
| 2901 | |
| 2902 | <page name="restore_run"> |
| 2903 | <template name="page"/> |
| 2904 | |
| 2905 | <template name="statusbar"/> |
| 2906 | |
| 2907 | <text style="text_m"> |
| 2908 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2909 | <text>%tw_operation% %tw_partition%</text> |
| 2910 | </text> |
| 2911 | |
| 2912 | <template name="console"/> |
| 2913 | |
| 2914 | <template name="progress_bar"/> |
| 2915 | |
| 2916 | <text style="text_m"> |
| 2917 | <placement x="%indent%" y="%row14a_y%"/> |
| 2918 | <text>%tw_size_progress%</text> |
| 2919 | </text> |
| 2920 | |
| 2921 | <action> |
| 2922 | <condition var1="tw_operation_state" var2="1"/> |
| 2923 | <actions> |
| 2924 | <action function="set">tw_back=restore</action> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2925 | <action function="set">tw_complete_text1={@restore_completed=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2926 | <action function="set">tw_show_reboot=1</action> |
| 2927 | <action function="page">action_complete</action> |
| 2928 | </actions> |
| 2929 | </action> |
| 2930 | |
| 2931 | <action> |
| 2932 | <action function="nandroid">restore</action> |
| 2933 | </action> |
| 2934 | </page> |
| 2935 | |
| 2936 | <page name="mount"> |
| 2937 | <template name="page"/> |
| 2938 | |
| 2939 | <template name="statusbar"/> |
| 2940 | |
| 2941 | <text style="text_m"> |
| 2942 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2943 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2944 | </text> |
| 2945 | |
| 2946 | <partitionlist style="partitionlist_headerless_cb"> |
| 2947 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2948 | <listtype name="mount"/> |
| 2949 | </partitionlist> |
| 2950 | |
| 2951 | <fill color="%accent_color%"> |
| 2952 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2953 | </fill> |
| 2954 | |
| 2955 | <button style="checkbox"> |
| 2956 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
| 2957 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2958 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2959 | <image resource="checkbox_false"/> |
| 2960 | <action function="mountsystemtoggle">1</action> |
| 2961 | </button> |
| 2962 | |
| 2963 | <button style="checkbox"> |
| 2964 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2965 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2966 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2967 | <image resource="checkbox_true"/> |
| 2968 | <actions> |
| 2969 | <action function="set">tw_lifetime_writes=2</action> |
| 2970 | <action function="page">system_readonly_check</action> |
| 2971 | </actions> |
| 2972 | </button> |
| 2973 | |
| 2974 | <button style="checkbox"> |
| 2975 | <conditions> |
| 2976 | <condition var1="tw_has_mtp" var2="1"/> |
| 2977 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2978 | </conditions> |
| 2979 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 2980 | <image resource="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2981 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2982 | <action function="startmtp"/> |
| 2983 | </button> |
| 2984 | |
| 2985 | <button style="checkbox"> |
| 2986 | <conditions> |
| 2987 | <condition var1="tw_has_mtp" var2="1"/> |
| 2988 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2989 | </conditions> |
| 2990 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 2991 | <image resource="checkbox_true"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2992 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2993 | <action function="stopmtp"/> |
| 2994 | </button> |
| 2995 | |
| 2996 | <button> |
| 2997 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2998 | <highlight color="%highlight_color%"/> |
| 2999 | <image resource="q_btn_storage"/> |
| 3000 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3001 | <action function="set">tw_storagetext={@mount_hdr=Mount} > {@select_storage_hdr=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3002 | <action function="set">tw_back=mount</action> |
| 3003 | <action function="page">select_storage</action> |
| 3004 | </actions> |
| 3005 | </button> |
| 3006 | |
| 3007 | <button> |
| 3008 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3009 | <highlight color="%highlight_color%"/> |
| 3010 | <image resource="q_btn_arrow_right"/> |
| 3011 | <action function="page">mount_options</action> |
| 3012 | </button> |
| 3013 | |
| 3014 | <action> |
| 3015 | <touch key="home"/> |
| 3016 | <action function="page">main</action> |
| 3017 | </action> |
| 3018 | |
| 3019 | <action> |
| 3020 | <touch key="back"/> |
| 3021 | <action function="page">main</action> |
| 3022 | </action> |
| 3023 | </page> |
| 3024 | |
| 3025 | <page name="mount_options"> |
| 3026 | <template name="page"/> |
| 3027 | |
| 3028 | <template name="statusbar"/> |
| 3029 | |
| 3030 | <text style="text_m"> |
| 3031 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3032 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3033 | </text> |
| 3034 | |
| 3035 | <button style="main_button_full_width"> |
| 3036 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 3037 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3038 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3039 | <action function="page">usb_mount</action> |
| 3040 | </button> |
| 3041 | |
| 3042 | <button style="main_button_full_width"> |
| 3043 | <conditions> |
| 3044 | <condition var1="tw_is_encrypted" var2="1"/> |
| 3045 | <condition var1="tw_is_decrypted" var2="0"/> |
| 3046 | </conditions> |
| 3047 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3048 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3049 | <action function="page">decrypt</action> |
| 3050 | </button> |
| 3051 | |
| 3052 | <button> |
| 3053 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3054 | <highlight color="%highlight_color%"/> |
| 3055 | <image resource="q_btn_arrow_left"/> |
| 3056 | <action function="page">mount</action> |
| 3057 | </button> |
| 3058 | |
| 3059 | <action> |
| 3060 | <touch key="home"/> |
| 3061 | <action function="page">main</action> |
| 3062 | </action> |
| 3063 | |
| 3064 | <action> |
| 3065 | <touch key="back"/> |
| 3066 | <action function="page">mount</action> |
| 3067 | </action> |
| 3068 | </page> |
| 3069 | |
| 3070 | <page name="usb_mount"> |
| 3071 | <template name="page"/> |
| 3072 | |
| 3073 | <template name="statusbar"/> |
| 3074 | |
| 3075 | <text style="text_m"> |
| 3076 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3077 | <text>{@mount_hdr=Mount} > {usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3078 | </text> |
| 3079 | |
| 3080 | <text style="text_m_accent"> |
| 3081 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3082 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3083 | </text> |
| 3084 | |
| 3085 | <text style="text_m_fail"> |
| 3086 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3087 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3088 | </text> |
| 3089 | |
| 3090 | <text style="text_m_fail"> |
| 3091 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3092 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3093 | </text> |
| 3094 | |
| 3095 | <button style="main_button"> |
| 3096 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3097 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3098 | <action function="page">usb_umount</action> |
| 3099 | </button> |
| 3100 | |
| 3101 | <action> |
| 3102 | <action function="mount">usb</action> |
| 3103 | <action function="set">tw_busy=1</action> |
| 3104 | </action> |
| 3105 | </page> |
| 3106 | |
| 3107 | <page name="usb_umount"> |
| 3108 | <action> |
| 3109 | <action function="unmount">usb</action> |
| 3110 | </action> |
| 3111 | |
| 3112 | <action> |
| 3113 | <action function="page">mount_options</action> |
| 3114 | <action function="set">tw_busy=0</action> |
| 3115 | </action> |
| 3116 | </page> |
| 3117 | |
| 3118 | <page name="system_readonly_check"> |
| 3119 | <action> |
| 3120 | <action function="checkpartitionlifetimewrites">/system</action> |
| 3121 | </action> |
| 3122 | |
| 3123 | <action> |
| 3124 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 3125 | <actions> |
| 3126 | <action function="mountsystemtoggle">0</action> |
| 3127 | <action function="page">mount</action> |
| 3128 | </actions> |
| 3129 | </action> |
| 3130 | |
| 3131 | <action> |
| 3132 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 3133 | <actions> |
| 3134 | <action function="set">tw_back=mount</action> |
| 3135 | <action function="page">system_readonly</action> |
| 3136 | </actions> |
| 3137 | </action> |
| 3138 | </page> |
| 3139 | |
| 3140 | <page name="reboot"> |
| 3141 | <template name="page"/> |
| 3142 | |
| 3143 | <template name="statusbar"/> |
| 3144 | |
| 3145 | <text style="text_m"> |
| 3146 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3147 | <text>{@reboot_hdr=Reboot Menu}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3148 | </text> |
| 3149 | |
| 3150 | <button style="main_button"> |
| 3151 | <condition var1="tw_reboot_system" var2="1"/> |
| 3152 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3153 | <text>{@rb_system_btn=System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3154 | <actions> |
| 3155 | <action function="set">tw_back=reboot</action> |
| 3156 | <action function="set">tw_action=reboot</action> |
| 3157 | <action function="set">tw_action_param=system</action> |
| 3158 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3159 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3160 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3161 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3162 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3163 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3164 | <action function="page">rebootcheck</action> |
| 3165 | </actions> |
| 3166 | </button> |
| 3167 | |
| 3168 | <button style="main_button"> |
| 3169 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 3170 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3171 | <text>{@rb_poweroff_btn=Power Off}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3172 | <actions> |
| 3173 | <action function="set">tw_back=reboot</action> |
| 3174 | <action function="set">tw_action=reboot</action> |
| 3175 | <action function="set">tw_action_param=poweroff</action> |
| 3176 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3177 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3178 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 3179 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 3180 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 3181 | <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3182 | <action function="page">rebootcheck</action> |
| 3183 | </actions> |
| 3184 | </button> |
| 3185 | |
| 3186 | <button style="main_button"> |
| 3187 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 3188 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3189 | <text>{@rb_recovery_btn=Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3190 | <actions> |
| 3191 | <action function="set">tw_back=reboot</action> |
| 3192 | <action function="set">tw_action=reboot</action> |
| 3193 | <action function="set">tw_action_param=recovery</action> |
| 3194 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3195 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3196 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3197 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3198 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3199 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3200 | <action function="page">rebootcheck</action> |
| 3201 | </actions> |
| 3202 | </button> |
| 3203 | |
| 3204 | <button style="main_button"> |
| 3205 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 3206 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3207 | <text>{@rb_bootloader_btn=Bootloader}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3208 | <actions> |
| 3209 | <action function="set">tw_back=reboot</action> |
| 3210 | <action function="set">tw_action=reboot</action> |
| 3211 | <action function="set">tw_action_param=bootloader</action> |
| 3212 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3213 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3214 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3215 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3216 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3217 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3218 | <action function="page">rebootcheck</action> |
| 3219 | </actions> |
| 3220 | </button> |
| 3221 | |
| 3222 | <button style="main_button"> |
| 3223 | <condition var1="tw_download_mode" var2="1"/> |
| 3224 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3225 | <text>{@rb_download_btn=Download}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3226 | <actions> |
| 3227 | <action function="set">tw_back=reboot</action> |
| 3228 | <action function="set">tw_action=reboot</action> |
| 3229 | <action function="set">tw_action_param=download</action> |
| 3230 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3231 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3232 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3233 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3234 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3235 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3236 | <action function="page">rebootcheck</action> |
| 3237 | </actions> |
| 3238 | </button> |
| 3239 | |
| 3240 | <action> |
| 3241 | <touch key="home"/> |
| 3242 | <action function="page">main</action> |
| 3243 | </action> |
| 3244 | |
| 3245 | <action> |
| 3246 | <touch key="back"/> |
| 3247 | <action function="page">main</action> |
| 3248 | </action> |
| 3249 | </page> |
| 3250 | |
| 3251 | <page name="system_readonly"> |
| 3252 | <template name="page"/> |
| 3253 | |
| 3254 | <template name="statusbar"/> |
| 3255 | |
| 3256 | <text style="text_m"> |
| 3257 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3258 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3259 | </text> |
| 3260 | |
| 3261 | <text style="text_m_accent"> |
| 3262 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3263 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3264 | </text> |
| 3265 | |
| 3266 | <text style="text_m"> |
| 3267 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3268 | <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3269 | </text> |
| 3270 | |
| 3271 | <text style="text_m"> |
| 3272 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3273 | <text>{@sys_rop2=to make it easier for you to take official updates.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3274 | </text> |
| 3275 | |
| 3276 | <text style="text_m"> |
| 3277 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3278 | <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3279 | </text> |
| 3280 | |
| 3281 | <text style="text_m"> |
| 3282 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3283 | <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3284 | </text> |
| 3285 | |
| 3286 | <text style="text_m_fail"> |
| 3287 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3288 | <text>{@sys_rop5=Installing zips or performing adb operations may still}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3289 | </text> |
| 3290 | |
| 3291 | <text style="text_m_fail"> |
| 3292 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3293 | <text>{@sys_rop6=modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3294 | </text> |
| 3295 | |
| 3296 | <checkbox> |
| 3297 | <condition var1="tw_is_encrypted" var2="0"/> |
| 3298 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3299 | <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3300 | <data variable="tw_never_show_system_ro_page"/> |
| 3301 | </checkbox> |
| 3302 | |
| 3303 | <button style="main_button_half_height"> |
| 3304 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3305 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3306 | <actions> |
| 3307 | <action function="mountsystemtoggle">1</action> |
| 3308 | <action function="set">tw_page_done=1</action> |
| 3309 | <action function="page">%tw_back%</action> |
| 3310 | </actions> |
| 3311 | </button> |
| 3312 | |
| 3313 | <button style="main_button_half_height"> |
| 3314 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3315 | <text>{@swipe_allow_mod_s=Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3316 | <actions> |
| 3317 | <action function="mountsystemtoggle">0</action> |
| 3318 | <action function="set">tw_page_done=1</action> |
| 3319 | <action function="page">%tw_back%</action> |
| 3320 | </actions> |
| 3321 | </button> |
| 3322 | </page> |
| 3323 | |
| 3324 | <page name="settings"> |
| 3325 | <template name="page"/> |
| 3326 | |
| 3327 | <template name="statusbar"/> |
| 3328 | |
| 3329 | <text style="text_m"> |
| 3330 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3331 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3332 | </text> |
| 3333 | |
| 3334 | <button style="main_button"> |
| 3335 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3336 | <text>{@settings_gen_btn=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3337 | <action function="page">settings_general</action> |
| 3338 | </button> |
| 3339 | |
| 3340 | <button style="main_button"> |
| 3341 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3342 | <text>{@settings_tz_btn=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3343 | <action function="page">settings_timezone</action> |
| 3344 | </button> |
| 3345 | |
| 3346 | <button style="main_button"> |
| 3347 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3348 | <text>{@settings_screen_btn=Screen}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3349 | <action function="page">settings_screen</action> |
| 3350 | </button> |
| 3351 | |
| 3352 | <button style="main_button"> |
| 3353 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3354 | <text>{@settings_vibration_btn=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3355 | <action function="page">settings_vibration</action> |
| 3356 | </button> |
| 3357 | |
| 3358 | <button style="main_button"> |
| 3359 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3360 | <text>{@settings_language_btn=Language}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3361 | <action function="page">settings_language</action> |
| 3362 | </button> |
| 3363 | |
| 3364 | <button> |
| 3365 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3366 | <highlight color="%highlight_color%"/> |
| 3367 | <image resource="q_btn_reset"/> |
| 3368 | <action function="restoredefaultsettings"/> |
| 3369 | </button> |
| 3370 | |
| 3371 | <action> |
| 3372 | <touch key="home"/> |
| 3373 | <action function="page">main</action> |
| 3374 | </action> |
| 3375 | |
| 3376 | <action> |
| 3377 | <touch key="back"/> |
| 3378 | <action function="page">main3</action> |
| 3379 | </action> |
| 3380 | </page> |
| 3381 | |
| 3382 | <page name="settings_general"> |
| 3383 | <template name="page"/> |
| 3384 | |
| 3385 | <template name="statusbar"/> |
| 3386 | |
| 3387 | <text style="text_m"> |
| 3388 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3389 | <text>{@settings_hdr=Settings} > {@settings_gen_s_hdr=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3390 | </text> |
| 3391 | |
| 3392 | <listbox style="scrolllist"> |
| 3393 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3394 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3395 | <data variable="tw_signed_zip_verify"/> |
| 3396 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3397 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3398 | <data variable="tw_rm_rf"/> |
| 3399 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3400 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3401 | <data variable="tw_skip_md5_generate"/> |
| 3402 | </listitem> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 3403 | <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3404 | <data variable="tw_skip_md5_check"/> |
| 3405 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3406 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3407 | <data variable="tw_military_time"/> |
| 3408 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3409 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3410 | <data variable="tw_simulate_actions"/> |
| 3411 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3412 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3413 | <data variable="tw_simulate_fail"/> |
| 3414 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3415 | </listitem> |
| 3416 | </listbox> |
| 3417 | |
| 3418 | <action> |
| 3419 | <touch key="home"/> |
| 3420 | <action function="page">main</action> |
| 3421 | </action> |
| 3422 | |
| 3423 | <action> |
| 3424 | <touch key="back"/> |
| 3425 | <action function="page">settings</action> |
| 3426 | </action> |
| 3427 | </page> |
| 3428 | |
| 3429 | <page name="settings_timezone"> |
| 3430 | <template name="page"/> |
| 3431 | |
| 3432 | <template name="statusbar"/> |
| 3433 | |
| 3434 | <text style="text_m"> |
| 3435 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3436 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3437 | </text> |
| 3438 | |
| 3439 | <text color="%text_color%"> |
| 3440 | <font resource="font_m"/> |
| 3441 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3442 | <text>%tw_time%</text> |
| 3443 | </text> |
| 3444 | |
| 3445 | <listbox style="listbox_headerless"> |
| 3446 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/> |
| 3447 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3448 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3449 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3450 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3451 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3452 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3453 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3454 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3455 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3456 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3457 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3458 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3459 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3460 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3461 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3462 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3463 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3464 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3465 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3466 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3467 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3468 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3469 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3470 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3471 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3472 | </listbox> |
| 3473 | |
| 3474 | <button> |
| 3475 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3476 | <highlight color="%highlight_color%"/> |
| 3477 | <image resource="q_btn_arrow_right"/> |
| 3478 | <actions> |
| 3479 | <action function="setguitimezone"/> |
| 3480 | <action function="page">settings_timezone2</action> |
| 3481 | </actions> |
| 3482 | </button> |
| 3483 | |
| 3484 | <action> |
| 3485 | <condition var1="tw_time_zone_guisel" op="modified"/> |
| 3486 | <action function="setguitimezone"/> |
| 3487 | </action> |
| 3488 | |
| 3489 | <action> |
| 3490 | <touch key="home"/> |
| 3491 | <actions> |
| 3492 | <action function="page">main</action> |
| 3493 | <action function="setguitimezone"/> |
| 3494 | </actions> |
| 3495 | </action> |
| 3496 | |
| 3497 | <action> |
| 3498 | <touch key="back"/> |
| 3499 | <actions> |
| 3500 | <action function="page">settings</action> |
| 3501 | <action function="setguitimezone"/> |
| 3502 | </actions> |
| 3503 | </action> |
| 3504 | |
| 3505 | <action> |
| 3506 | <touch key="power+voldown"/> |
| 3507 | <action function="screenshot"/> |
| 3508 | </action> |
| 3509 | </page> |
| 3510 | |
| 3511 | <page name="settings_timezone2"> |
| 3512 | <template name="page"/> |
| 3513 | |
| 3514 | <template name="statusbar"/> |
| 3515 | |
| 3516 | <text style="text_m"> |
| 3517 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3518 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3519 | </text> |
| 3520 | |
| 3521 | <text color="%text_color%"> |
| 3522 | <font resource="font_m"/> |
| 3523 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3524 | <text>%tw_time%</text> |
| 3525 | </text> |
| 3526 | |
| 3527 | <checkbox> |
| 3528 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 3529 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3530 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3531 | <data variable="tw_time_zone_guidst"/> |
| 3532 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3533 | </checkbox> |
| 3534 | |
| 3535 | <text style="text_m_accent"> |
| 3536 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3537 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3538 | </text> |
| 3539 | |
| 3540 | <button style="main_button_quarter_width"> |
| 3541 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3542 | <text>{@tz_offset_0=0}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3543 | <actions> |
| 3544 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3545 | <action function="setguitimezone"/> |
| 3546 | </actions> |
| 3547 | </button> |
| 3548 | |
| 3549 | <button style="main_button_quarter_width"> |
| 3550 | <placement x="%btn4_col2_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3551 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3552 | <actions> |
| 3553 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3554 | <action function="setguitimezone"/> |
| 3555 | </actions> |
| 3556 | </button> |
| 3557 | |
| 3558 | <button style="main_button_quarter_width"> |
| 3559 | <placement x="%btn4_col3_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3560 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3561 | <actions> |
| 3562 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3563 | <action function="setguitimezone"/> |
| 3564 | </actions> |
| 3565 | </button> |
| 3566 | |
| 3567 | <button style="main_button_quarter_width"> |
| 3568 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3569 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3570 | <actions> |
| 3571 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3572 | <action function="setguitimezone"/> |
| 3573 | </actions> |
| 3574 | </button> |
| 3575 | |
| 3576 | <button> |
| 3577 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3578 | <highlight color="%highlight_color%"/> |
| 3579 | <image resource="q_btn_arrow_left"/> |
| 3580 | <actions> |
| 3581 | <action function="setguitimezone"/> |
| 3582 | <action function="page">settings_timezone</action> |
| 3583 | </actions> |
| 3584 | </button> |
| 3585 | |
| 3586 | <text style="text_m_accent"> |
| 3587 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3588 | <text>{@curr_tz_s=Current Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3589 | </text> |
| 3590 | |
| 3591 | <text style="text_m"> |
| 3592 | <placement x="%btn4_col2_x%" y="%row12a_y%"/> |
| 3593 | <text>%tw_time_zone%</text> |
| 3594 | </text> |
| 3595 | |
| 3596 | <action> |
| 3597 | <condition var1="tw_time_zone_guidst" op="modified"/> |
| 3598 | <action function="setguitimezone"/> |
| 3599 | </action> |
| 3600 | |
| 3601 | <action> |
| 3602 | <touch key="home"/> |
| 3603 | <actions> |
| 3604 | <action function="setguitimezone"/> |
| 3605 | <action function="page">main</action> |
| 3606 | </actions> |
| 3607 | </action> |
| 3608 | |
| 3609 | <action> |
| 3610 | <touch key="back"/> |
| 3611 | <actions> |
| 3612 | <action function="setguitimezone"/> |
| 3613 | <action function="page">settings_timezone</action> |
| 3614 | </actions> |
| 3615 | </action> |
| 3616 | </page> |
| 3617 | |
| 3618 | <page name="settings_screen"> |
| 3619 | <template name="page"/> |
| 3620 | |
| 3621 | <template name="statusbar"/> |
| 3622 | |
| 3623 | <text style="text_m"> |
| 3624 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3625 | <text>{@settings_hdr=Settings} > {@settings_screen_timeout_hdr=Screen Timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3626 | </text> |
| 3627 | |
| 3628 | <button style="checkbox"> |
| 3629 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3630 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3631 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3632 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3633 | <image resource="checkbox_false"/> |
| 3634 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3635 | </button> |
| 3636 | |
| 3637 | <button style="checkbox"> |
| 3638 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3639 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3640 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3641 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3642 | <image resource="checkbox_true"/> |
| 3643 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3644 | </button> |
| 3645 | |
| 3646 | <slidervalue> |
| 3647 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3648 | <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3649 | <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3650 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3651 | </slidervalue> |
| 3652 | |
| 3653 | <text style="text_m_fail"> |
| 3654 | <condition var1="tw_no_screen_timeout" op="=" var2="1"/> |
| 3655 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3656 | <text>{@screen_to_na=Screen timeout setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3657 | </text> |
| 3658 | |
| 3659 | <button> |
| 3660 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3661 | <highlight color="%highlight_color%"/> |
| 3662 | <image resource="q_btn_arrow_right"/> |
| 3663 | <action function="page">settings_screen2</action> |
| 3664 | </button> |
| 3665 | |
| 3666 | <action> |
| 3667 | <touch key="home"/> |
| 3668 | <action function="page">main</action> |
| 3669 | </action> |
| 3670 | |
| 3671 | <action> |
| 3672 | <touch key="back"/> |
| 3673 | <action function="page">settings</action> |
| 3674 | </action> |
| 3675 | </page> |
| 3676 | |
| 3677 | <page name="settings_screen2"> |
| 3678 | <template name="page"/> |
| 3679 | |
| 3680 | <template name="statusbar"/> |
| 3681 | |
| 3682 | <text style="text_m"> |
| 3683 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3684 | <text>{@settings_hdr=Settings} > {@settings_screen_bright_btn=Screen Brightness}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3685 | </text> |
| 3686 | |
| 3687 | <slidervalue> |
| 3688 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3689 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3690 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3691 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3692 | <actions> |
| 3693 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3694 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3695 | <action function="compute">tw_brightness/100</action> |
| 3696 | <action function="setbrightness">%tw_brightness%</action> |
| 3697 | </actions> |
| 3698 | </slidervalue> |
| 3699 | |
| 3700 | <text style="text_m_fail"> |
| 3701 | <condition var1="tw_has_brightnesss_file" var2="0"/> |
| 3702 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3703 | <text>{@screen_bright_na=Brightness setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3704 | </text> |
| 3705 | |
| 3706 | <button> |
| 3707 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3708 | <highlight color="%highlight_color%"/> |
| 3709 | <image resource="q_btn_arrow_left"/> |
| 3710 | <action function="page">settings_screen</action> |
| 3711 | </button> |
| 3712 | |
| 3713 | <action> |
| 3714 | <touch key="home"/> |
| 3715 | <action function="page">main</action> |
| 3716 | </action> |
| 3717 | |
| 3718 | <action> |
| 3719 | <touch key="back"/> |
| 3720 | <action function="page">settings</action> |
| 3721 | </action> |
| 3722 | </page> |
| 3723 | |
| 3724 | <page name="settings_vibration"> |
| 3725 | <template name="page"/> |
| 3726 | |
| 3727 | <template name="statusbar"/> |
| 3728 | |
| 3729 | <text style="text_m"> |
| 3730 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3731 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3732 | </text> |
| 3733 | |
| 3734 | <slidervalue> |
| 3735 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3736 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3737 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3738 | </slidervalue> |
| 3739 | |
| 3740 | <button> |
| 3741 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3742 | <highlight color="%highlight_color%"/> |
| 3743 | <image resource="q_btn_arrow_right"/> |
| 3744 | <action function="page">settings_vibration2</action> |
| 3745 | </button> |
| 3746 | |
| 3747 | <action> |
| 3748 | <touch key="home"/> |
| 3749 | <action function="page">main</action> |
| 3750 | </action> |
| 3751 | |
| 3752 | <action> |
| 3753 | <touch key="back"/> |
| 3754 | <action function="page">settings</action> |
| 3755 | </action> |
| 3756 | </page> |
| 3757 | |
| 3758 | <page name="settings_vibration2"> |
| 3759 | <template name="page"/> |
| 3760 | |
| 3761 | <template name="statusbar"/> |
| 3762 | |
| 3763 | <text style="text_m"> |
| 3764 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3765 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3766 | </text> |
| 3767 | |
| 3768 | <slidervalue> |
| 3769 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3770 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3771 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3772 | </slidervalue> |
| 3773 | |
| 3774 | <button> |
| 3775 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3776 | <highlight color="%highlight_color%"/> |
| 3777 | <image resource="q_btn_arrow_left"/> |
| 3778 | <action function="page">settings_vibration</action> |
| 3779 | </button> |
| 3780 | |
| 3781 | <button> |
| 3782 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3783 | <highlight color="%highlight_color%"/> |
| 3784 | <image resource="q_btn_arrow_right"/> |
| 3785 | <action function="page">settings_vibration3</action> |
| 3786 | </button> |
| 3787 | |
| 3788 | <action> |
| 3789 | <touch key="home"/> |
| 3790 | <action function="page">main</action> |
| 3791 | </action> |
| 3792 | |
| 3793 | <action> |
| 3794 | <touch key="back"/> |
| 3795 | <action function="page">settings</action> |
| 3796 | </action> |
| 3797 | </page> |
| 3798 | |
| 3799 | <page name="settings_vibration3"> |
| 3800 | <template name="page"/> |
| 3801 | |
| 3802 | <template name="statusbar"/> |
| 3803 | |
| 3804 | <text style="text_m"> |
| 3805 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3806 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3807 | </text> |
| 3808 | |
| 3809 | <slidervalue> |
| 3810 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3811 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3812 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3813 | </slidervalue> |
| 3814 | |
| 3815 | <button> |
| 3816 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3817 | <highlight color="%highlight_color%"/> |
| 3818 | <image resource="q_btn_arrow_left"/> |
| 3819 | <action function="page">settings_vibration2</action> |
| 3820 | </button> |
| 3821 | |
| 3822 | <action> |
| 3823 | <touch key="home"/> |
| 3824 | <action function="page">main</action> |
| 3825 | </action> |
| 3826 | |
| 3827 | <action> |
| 3828 | <touch key="back"/> |
| 3829 | <action function="page">settings</action> |
| 3830 | </action> |
| 3831 | </page> |
| 3832 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3833 | <page name="settings_language"> |
| 3834 | <template name="page"/> |
| 3835 | |
| 3836 | <template name="statusbar"/> |
| 3837 | |
| 3838 | <text style="text_m"> |
| 3839 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 3840 | <text>{@settings_hdr=Settings} > {@language_hdr=Language} - %tw_language_display%</text> |
| 3841 | </text> |
| 3842 | |
| 3843 | <object type="listbox" style="scrolllist"> |
| 3844 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 3845 | <icon selected="radio_true" unselected="radio_false" /> |
| 3846 | <data name="tw_language" /> |
| 3847 | </object> |
| 3848 | |
| 3849 | <button> |
| 3850 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3851 | <highlight color="%highlight_color%"/> |
| 3852 | <image resource="q_btn_folder"/> |
| 3853 | <action function="setlanguage"></action> |
| 3854 | </button> |
| 3855 | |
| 3856 | <object type="action"> |
| 3857 | <touch key="home" /> |
| 3858 | <action function="page">main</action> |
| 3859 | </object> |
| 3860 | |
| 3861 | <object type="action"> |
| 3862 | <touch key="back" /> |
| 3863 | <action function="page">settings</action> |
| 3864 | </object> |
| 3865 | </page> |
| 3866 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3867 | <page name="advanced"> |
| 3868 | <template name="page"/> |
| 3869 | |
| 3870 | <template name="statusbar"/> |
| 3871 | |
| 3872 | <text style="text_m"> |
| 3873 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3874 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3875 | </text> |
| 3876 | |
| 3877 | <button style="main_button"> |
| 3878 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3879 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3880 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3881 | </button> |
| 3882 | |
| 3883 | <button style="main_button"> |
| 3884 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3885 | <text>{@fix_perm_s_btn=Fix Perms}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3886 | <action function="page">fixperms</action> |
| 3887 | </button> |
| 3888 | |
| 3889 | <button style="main_button"> |
| 3890 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3891 | <text>{@reload_theme_btn=Reload Theme}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3892 | <action function="reload"/> |
| 3893 | </button> |
| 3894 | |
| 3895 | <button style="main_button"> |
| 3896 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3897 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3898 | <text>{@part_sd_s_btn=SD Card}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3899 | <actions> |
| 3900 | <action function="set">partitionlisterror=0</action> |
| 3901 | <action function="page">partsdcardsel</action> |
| 3902 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3903 | </button> |
| 3904 | |
| 3905 | <button style="main_button"> |
| 3906 | <condition var1="tw_show_dumlock" var2="1"/> |
| 3907 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3908 | <text>{@dumlock_btn=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3909 | <action function="page">htcdumlock</action> |
| 3910 | </button> |
| 3911 | |
| 3912 | <button style="main_button"> |
| 3913 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3914 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3915 | <text>{@inject_twrp_btn=Inject TWRP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3916 | <actions> |
| 3917 | <action function="set">tw_back=advanced</action> |
| 3918 | <action function="set">tw_action=reinjecttwrp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3919 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3920 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3921 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3922 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3923 | <action function="page">confirm_action</action> |
| 3924 | </actions> |
| 3925 | </button> |
| 3926 | |
| 3927 | <action> |
| 3928 | <touch key="home"/> |
| 3929 | <action function="page">main</action> |
| 3930 | </action> |
| 3931 | |
| 3932 | <action> |
| 3933 | <touch key="back"/> |
| 3934 | <action function="page">main3</action> |
| 3935 | </action> |
| 3936 | </page> |
| 3937 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3938 | <page name="partsdcardsel"> |
| 3939 | <template name="page"/> |
| 3940 | |
| 3941 | <template name="statusbar"/> |
| 3942 | |
| 3943 | <text style="text_m"> |
| 3944 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 3945 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
| 3946 | </text> |
| 3947 | |
| 3948 | <partitionlist style="partitionlist_headerless_rb"> |
| 3949 | <data name="tw_storage_path"/> |
| 3950 | <listtype name="storage"/> |
| 3951 | </partitionlist> |
| 3952 | |
| 3953 | <text style="text_m_fail"> |
| 3954 | <condition var1="partitionlisterror" var2="1"/> |
| 3955 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
| 3956 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 3957 | </text> |
| 3958 | |
| 3959 | <button> |
| 3960 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 3961 | <highlight color="%highlight_color%"/> |
| 3962 | <image resource="q_btn_refresh"/> |
| 3963 | <action function="refreshsizes"/> |
| 3964 | </button> |
| 3965 | |
| 3966 | <button> |
| 3967 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 3968 | <highlight color="%highlight_color%"/> |
| 3969 | <image resource="q_btn_accept"/> |
| 3970 | <actions> |
| 3971 | <action function="getpartitiondetails">tw_storage_path</action> |
| 3972 | <action function="page">partsdcardcheck</action> |
| 3973 | </actions> |
| 3974 | </button> |
| 3975 | |
| 3976 | <action> |
| 3977 | <touch key="home"/> |
| 3978 | <action function="page">main</action> |
| 3979 | </action> |
| 3980 | |
| 3981 | <action> |
| 3982 | <touch key="back"/> |
| 3983 | <action function="page">advanced</action> |
| 3984 | </action> |
| 3985 | </page> |
| 3986 | |
| 3987 | <page name="partsdcardcheck"> |
| 3988 | <action> |
| 3989 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 3990 | <actions> |
| 3991 | <action function="set">partitionlisterror=0</action> |
| 3992 | <action function="page">partsdcard</action> |
| 3993 | </actions> |
| 3994 | </action> |
| 3995 | |
| 3996 | <action> |
| 3997 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 3998 | <actions> |
| 3999 | <action function="set">partitionlisterror=1</action> |
| 4000 | <action function="page">partsdcardsel</action> |
| 4001 | </actions> |
| 4002 | </action> |
| 4003 | </page> |
| 4004 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4005 | <page name="partsdcard"> |
| 4006 | <template name="page"/> |
| 4007 | |
| 4008 | <template name="statusbar"/> |
| 4009 | |
| 4010 | <text style="text_m"> |
| 4011 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4012 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4013 | </text> |
| 4014 | |
| 4015 | <text style="text_m_fail"> |
| 4016 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4017 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4018 | </text> |
| 4019 | |
| 4020 | <text style="text_m_fail"> |
| 4021 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4022 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4023 | </text> |
| 4024 | |
| 4025 | <text style="text_m_accent"> |
| 4026 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4027 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4028 | </text> |
| 4029 | |
| 4030 | <text style="text_m"> |
| 4031 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4032 | <text>%tw_sdext_size%</text> |
| 4033 | </text> |
| 4034 | |
| 4035 | <button style="main_button_quarter_width"> |
| 4036 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4037 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4038 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4039 | </button> |
| 4040 | |
| 4041 | <button style="main_button_quarter_width"> |
| 4042 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4043 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4044 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4045 | </button> |
| 4046 | |
| 4047 | <button> |
| 4048 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4049 | <highlight color="%highlight_color%"/> |
| 4050 | <image resource="q_btn_arrow_right"/> |
| 4051 | <action function="page">partsdcard2</action> |
| 4052 | </button> |
| 4053 | |
| 4054 | <action> |
| 4055 | <touch key="home"/> |
| 4056 | <action function="page">main</action> |
| 4057 | </action> |
| 4058 | |
| 4059 | <action> |
| 4060 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4061 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4062 | </action> |
| 4063 | </page> |
| 4064 | |
| 4065 | <page name="partsdcard2"> |
| 4066 | <template name="page"/> |
| 4067 | |
| 4068 | <template name="statusbar"/> |
| 4069 | |
| 4070 | <text style="text_m"> |
| 4071 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4072 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4073 | </text> |
| 4074 | |
| 4075 | <text style="text_m_fail"> |
| 4076 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4077 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4078 | </text> |
| 4079 | |
| 4080 | <text style="text_m_fail"> |
| 4081 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4082 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4083 | </text> |
| 4084 | |
| 4085 | <text style="text_m_accent"> |
| 4086 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4087 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4088 | </text> |
| 4089 | |
| 4090 | <text style="text_m"> |
| 4091 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4092 | <text>%tw_swap_size%</text> |
| 4093 | </text> |
| 4094 | |
| 4095 | <button style="main_button_quarter_width"> |
| 4096 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4097 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4098 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4099 | </button> |
| 4100 | |
| 4101 | <button style="main_button_quarter_width"> |
| 4102 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4103 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4104 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4105 | </button> |
| 4106 | |
| 4107 | <button> |
| 4108 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4109 | <highlight color="%highlight_color%"/> |
| 4110 | <image resource="q_btn_arrow_left"/> |
| 4111 | <action function="page">partsdcard</action> |
| 4112 | </button> |
| 4113 | |
| 4114 | <button> |
| 4115 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4116 | <highlight color="%highlight_color%"/> |
| 4117 | <image resource="q_btn_arrow_right"/> |
| 4118 | <action function="page">partsdcard3</action> |
| 4119 | </button> |
| 4120 | |
| 4121 | <action> |
| 4122 | <touch key="home"/> |
| 4123 | <action function="page">main</action> |
| 4124 | </action> |
| 4125 | |
| 4126 | <action> |
| 4127 | <touch key="back"/> |
| 4128 | <action function="page">advanced</action> |
| 4129 | </action> |
| 4130 | </page> |
| 4131 | |
| 4132 | <page name="partsdcard3"> |
| 4133 | <template name="page"/> |
| 4134 | |
| 4135 | <template name="statusbar"/> |
| 4136 | |
| 4137 | <text style="text_m"> |
| 4138 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4139 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4140 | </text> |
| 4141 | |
| 4142 | <text style="text_m_fail"> |
| 4143 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4144 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4145 | </text> |
| 4146 | |
| 4147 | <text style="text_m_fail"> |
| 4148 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4149 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4150 | </text> |
| 4151 | |
| 4152 | <text style="text_m_accent"> |
| 4153 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4154 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4155 | </text> |
| 4156 | |
| 4157 | <text style="text_m"> |
| 4158 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4159 | <text>%tw_sdpart_file_system%</text> |
| 4160 | </text> |
| 4161 | |
| 4162 | <button style="main_button_quarter_width"> |
| 4163 | <placement x="%indent%" y="%row6_y%"/> |
| 4164 | <text>EXT3</text> |
| 4165 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4166 | </button> |
| 4167 | |
| 4168 | <button style="main_button_quarter_width"> |
| 4169 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
| 4170 | <text>EXT4</text> |
| 4171 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4172 | </button> |
| 4173 | |
| 4174 | <button> |
| 4175 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4176 | <highlight color="%highlight_color%"/> |
| 4177 | <image resource="q_btn_arrow_left"/> |
| 4178 | <action function="page">partsdcard2</action> |
| 4179 | </button> |
| 4180 | |
| 4181 | <button> |
| 4182 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4183 | <highlight color="%highlight_color%"/> |
| 4184 | <image resource="q_btn_arrow_right"/> |
| 4185 | <action function="page">partsdcard_confirm</action> |
| 4186 | </button> |
| 4187 | |
| 4188 | <action> |
| 4189 | <touch key="home"/> |
| 4190 | <action function="page">main</action> |
| 4191 | </action> |
| 4192 | |
| 4193 | <action> |
| 4194 | <touch key="back"/> |
| 4195 | <action function="page">advanced</action> |
| 4196 | </action> |
| 4197 | </page> |
| 4198 | |
| 4199 | <page name="partsdcard_confirm"> |
| 4200 | <template name="page"/> |
| 4201 | |
| 4202 | <template name="statusbar"/> |
| 4203 | |
| 4204 | <text style="text_m"> |
| 4205 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4206 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4207 | </text> |
| 4208 | |
| 4209 | <text style="text_m_fail"> |
| 4210 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4211 | <text>{@part_sd_lose=You will lose all files on your SD card!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4212 | </text> |
| 4213 | |
| 4214 | <text style="text_m_fail"> |
| 4215 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4216 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4217 | </text> |
| 4218 | |
| 4219 | <text style="text_m_accent"> |
| 4220 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4221 | <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4222 | </text> |
| 4223 | |
| 4224 | <text style="text_m_accent"> |
| 4225 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4226 | <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4227 | </text> |
| 4228 | |
| 4229 | <text style="text_m_accent"> |
| 4230 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4231 | <text>{@file_system=File System:} %tw_sdpart_file_system%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4232 | </text> |
| 4233 | |
| 4234 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4235 | <text>{@swipe_part_sd_s=Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4236 | <action function="page">partsdcardaction</action> |
| 4237 | <actions> |
| 4238 | <action function="set">tw_back=partsdcard</action> |
| 4239 | <action function="set">tw_action=partitionsd</action> |
| 4240 | <action function="set">tw_has_action2=1</action> |
| 4241 | <action function="set">tw_action2=set</action> |
| 4242 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4243 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4244 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4245 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4246 | <action function="page">action_page</action> |
| 4247 | </actions> |
| 4248 | </slider> |
| 4249 | |
| 4250 | <action> |
| 4251 | <touch key="home"/> |
| 4252 | <action function="page">main</action> |
| 4253 | </action> |
| 4254 | |
| 4255 | <action> |
| 4256 | <touch key="back"/> |
| 4257 | <action function="page">advanced</action> |
| 4258 | </action> |
| 4259 | </page> |
| 4260 | |
| 4261 | <page name="htcdumlock"> |
| 4262 | <template name="page"/> |
| 4263 | |
| 4264 | <template name="statusbar"/> |
| 4265 | |
| 4266 | <text style="text_m"> |
| 4267 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4268 | <text>{@advanced_hdr=Advanced} > {@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4269 | </text> |
| 4270 | |
| 4271 | <button style="main_button_full_width"> |
| 4272 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4273 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4274 | <actions> |
| 4275 | <action function="set">tw_back=htcdumlock</action> |
| 4276 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4277 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 4278 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 4279 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 4280 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4281 | <action function="page">confirm_action</action> |
| 4282 | </actions> |
| 4283 | </button> |
| 4284 | |
| 4285 | <button style="main_button_full_width"> |
| 4286 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4287 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4288 | <actions> |
| 4289 | <action function="set">tw_back=htcdumlock</action> |
| 4290 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4291 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 4292 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 4293 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 4294 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4295 | <action function="page">confirm_action</action> |
| 4296 | </actions> |
| 4297 | </button> |
| 4298 | |
| 4299 | <button style="main_button_full_width"> |
| 4300 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4301 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4302 | <actions> |
| 4303 | <action function="set">tw_back=htcdumlock</action> |
| 4304 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4305 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 4306 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 4307 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4308 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4309 | <action function="page">confirm_action</action> |
| 4310 | </actions> |
| 4311 | </button> |
| 4312 | |
| 4313 | <action> |
| 4314 | <touch key="home"/> |
| 4315 | <action function="page">main</action> |
| 4316 | </action> |
| 4317 | |
| 4318 | <action> |
| 4319 | <touch key="back"/> |
| 4320 | <action function="page">advanced</action> |
| 4321 | </action> |
| 4322 | </page> |
| 4323 | |
| 4324 | <page name="lock"> |
| 4325 | <background color="%semi_transparent%"/> |
| 4326 | |
| 4327 | <image> |
| 4328 | <image resource="unlock_icon"/> |
| 4329 | <placement x="%center_x%" y="%row6_y%" placement="4"/> |
| 4330 | </image> |
| 4331 | |
| 4332 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4333 | <text>{@swipe_unlock= Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4334 | <action function="overlay"/> |
| 4335 | </slider> |
| 4336 | </page> |
| 4337 | |
| 4338 | <page name="filemanagerlist"> |
| 4339 | <template name="page"/> |
| 4340 | |
| 4341 | <template name="statusbar"/> |
| 4342 | |
| 4343 | <text style="text_m"> |
| 4344 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4345 | <text>{@fm_hdr=File Manager} > {@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4346 | </text> |
| 4347 | |
| 4348 | <fileselector> |
| 4349 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4350 | <text>%tw_file_location1%</text> |
| 4351 | <filter folders="1" files="1"/> |
| 4352 | <path name="tw_file_location1" default="/"/> |
| 4353 | <data name="tw_filename1"/> |
| 4354 | <selection name="tw_selection1"/> |
| 4355 | </fileselector> |
| 4356 | |
| 4357 | <button> |
| 4358 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4359 | <highlight color="%highlight_color%"/> |
| 4360 | <image resource="q_btn_folder"/> |
| 4361 | <actions> |
| 4362 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4363 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4364 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4365 | <action function="page">filemanageroptions</action> |
| 4366 | </actions> |
| 4367 | </button> |
| 4368 | |
| 4369 | <action> |
| 4370 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4371 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4372 | <action function="set">tw_fm_isfolder=0</action> |
| 4373 | </actions> |
| 4374 | </action> |
| 4375 | |
| 4376 | <action> |
| 4377 | <touch key="home"/> |
| 4378 | <action function="page">main</action> |
| 4379 | </action> |
| 4380 | |
| 4381 | <action> |
| 4382 | <touch key="back"/> |
| 4383 | <action function="page">main3</action> |
| 4384 | </action> |
| 4385 | |
| 4386 | <action> |
| 4387 | <condition var1="tw_filename1" op="modified"/> |
| 4388 | <action function="page">filemanageroptions</action> |
| 4389 | </action> |
| 4390 | </page> |
| 4391 | |
| 4392 | <page name="filemanageroptions"> |
| 4393 | <template name="page"/> |
| 4394 | |
| 4395 | <template name="statusbar"/> |
| 4396 | |
| 4397 | <text style="text_m"> |
| 4398 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4399 | <text>%tw_fm_type% > %tw_filename1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4400 | </text> |
| 4401 | |
| 4402 | <button style="main_button"> |
| 4403 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4404 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4405 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4406 | <actions> |
| 4407 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4408 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4409 | <action function="page">choosedestinationfolder</action> |
| 4410 | </actions> |
| 4411 | </button> |
| 4412 | |
| 4413 | <button style="main_button"> |
| 4414 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4415 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4416 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4417 | <actions> |
| 4418 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4419 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4420 | <action function="page">choosedestinationfolder</action> |
| 4421 | </actions> |
| 4422 | </button> |
| 4423 | |
| 4424 | <button style="main_button"> |
| 4425 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4426 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4427 | <actions> |
| 4428 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4429 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4430 | <action function="page">choosedestinationfolder</action> |
| 4431 | </actions> |
| 4432 | </button> |
| 4433 | |
| 4434 | <button style="main_button"> |
| 4435 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4436 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4437 | <actions> |
| 4438 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4439 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4440 | <action function="set">tw_fm_text2=</action> |
| 4441 | <action function="set">tw_fm_text3=</action> |
| 4442 | <action function="set">tw_include_text3=0</action> |
| 4443 | <action function="set">tw_back=filemanageroptions</action> |
| 4444 | <action function="page">filemanagerconfirm</action> |
| 4445 | </actions> |
| 4446 | </button> |
| 4447 | |
| 4448 | <button style="main_button"> |
| 4449 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4450 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4451 | <actions> |
| 4452 | <action function="set">tw_filemanager_rename=0000</action> |
| 4453 | <action function="set">tw_fm_text2=</action> |
| 4454 | <action function="set">tw_fm_text3=</action> |
| 4455 | <action function="set">tw_include_text3=0</action> |
| 4456 | <action function="set">tw_back=filemanageroptions</action> |
| 4457 | <action function="page">filemanagerchmod</action> |
| 4458 | </actions> |
| 4459 | </button> |
| 4460 | |
| 4461 | <button style="main_button"> |
| 4462 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4463 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4464 | <actions> |
| 4465 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4466 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4467 | <action function="set">tw_fm_text2=</action> |
| 4468 | <action function="set">tw_fm_text3=</action> |
| 4469 | <action function="set">tw_include_text3=0</action> |
| 4470 | <action function="set">tw_back=filemanageroptions</action> |
| 4471 | <action function="page">filemanagerconfirm</action> |
| 4472 | </actions> |
| 4473 | </button> |
| 4474 | |
| 4475 | <button style="main_button"> |
| 4476 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4477 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4478 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4479 | <actions> |
| 4480 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4481 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4482 | <action function="set">tw_filemanager_command=mv</action> |
| 4483 | <action function="page">filemanagerrenamefile</action> |
| 4484 | </actions> |
| 4485 | </button> |
| 4486 | |
| 4487 | <button style="main_button"> |
| 4488 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4489 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4490 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4491 | <actions> |
| 4492 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4493 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4494 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 4495 | <action function="page">filemanagerrenamefolder</action> |
| 4496 | </actions> |
| 4497 | </button> |
| 4498 | |
| 4499 | <action> |
| 4500 | <touch key="home"/> |
| 4501 | <action function="page">main</action> |
| 4502 | </action> |
| 4503 | |
| 4504 | <action> |
| 4505 | <touch key="back"/> |
| 4506 | <action function="page">filemanagerlist</action> |
| 4507 | </action> |
| 4508 | </page> |
| 4509 | |
| 4510 | <page name="choosedestinationfolder"> |
| 4511 | <template name="page"/> |
| 4512 | |
| 4513 | <template name="statusbar"/> |
| 4514 | |
| 4515 | <text style="text_m"> |
| 4516 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4517 | <text>{@fm_hdr=File Manager} > {@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4518 | </text> |
| 4519 | |
| 4520 | <fileselector> |
| 4521 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4522 | <text>%tw_file_location2%</text> |
| 4523 | <filter folders="1" files="0"/> |
| 4524 | <path name="tw_file_location2" default="/"/> |
| 4525 | <data name="tw_filename2"/> |
| 4526 | <selection name="tw_selection2"/> |
| 4527 | </fileselector> |
| 4528 | |
| 4529 | <button> |
| 4530 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4531 | <highlight color="%highlight_color%"/> |
| 4532 | <image resource="q_btn_folder"/> |
| 4533 | <actions> |
| 4534 | <action function="set">tw_fm_text2=to</action> |
| 4535 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 4536 | <action function="set">tw_include_text3=1</action> |
| 4537 | <action function="set">tw_back=filemanageroptions</action> |
| 4538 | <action function="page">filemanagerconfirm</action> |
| 4539 | </actions> |
| 4540 | </button> |
| 4541 | |
| 4542 | <action> |
| 4543 | <touch key="home"/> |
| 4544 | <action function="page">main</action> |
| 4545 | </action> |
| 4546 | |
| 4547 | <action> |
| 4548 | <touch key="back"/> |
| 4549 | <action function="page">filemanageroptions</action> |
| 4550 | </action> |
| 4551 | </page> |
| 4552 | |
| 4553 | <page name="filemanagerrenamefile"> |
| 4554 | <template name="page"/> |
| 4555 | |
| 4556 | <template name="statusbar"/> |
| 4557 | |
| 4558 | <text style="text_m"> |
| 4559 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4560 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4561 | </text> |
| 4562 | |
| 4563 | <text style="text_m_accent"> |
| 4564 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4565 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4566 | </text> |
| 4567 | |
| 4568 | <input> |
| 4569 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4570 | <text>%tw_filemanager_rename%</text> |
| 4571 | <data name="tw_filemanager_rename"/> |
| 4572 | <restrict minlen="1" maxlen="128"/> |
| 4573 | <actions> |
| 4574 | <action function="set">tw_fm_text2=to</action> |
| 4575 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 4576 | <action function="set">tw_include_text3=1</action> |
| 4577 | <action function="set">tw_back=filemanageroptions</action> |
| 4578 | <action function="page">filemanagerconfirm</action> |
| 4579 | </actions> |
| 4580 | </input> |
| 4581 | |
| 4582 | <fill color="%accent_color%"> |
| 4583 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 4584 | </fill> |
| 4585 | |
| 4586 | <button style="main_button_half_height"> |
| 4587 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4588 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4589 | <action function="page">filemanageroptions</action> |
| 4590 | </button> |
| 4591 | |
| 4592 | <template name="keyboardtemplate"/> |
| 4593 | |
| 4594 | <action> |
| 4595 | <touch key="home"/> |
| 4596 | <action function="page">main</action> |
| 4597 | </action> |
| 4598 | |
| 4599 | <action> |
| 4600 | <touch key="back"/> |
| 4601 | <action function="page">filemanageroptions</action> |
| 4602 | </action> |
| 4603 | </page> |
| 4604 | |
| 4605 | <page name="filemanagerrenamefolder"> |
| 4606 | <template name="page"/> |
| 4607 | |
| 4608 | <template name="statusbar"/> |
| 4609 | |
| 4610 | <text style="text_m"> |
| 4611 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4612 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4613 | </text> |
| 4614 | |
| 4615 | <text style="text_m_accent"> |
| 4616 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4617 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4618 | </text> |
| 4619 | |
| 4620 | <input> |
| 4621 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4622 | <text>%tw_filemanager_rename%</text> |
| 4623 | <data name="tw_filemanager_rename"/> |
| 4624 | <restrict minlen="1" maxlen="128"/> |
| 4625 | <actions> |
| 4626 | <action function="set">tw_fm_text2=to</action> |
| 4627 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 4628 | <action function="set">tw_include_text3=1</action> |
| 4629 | <action function="set">tw_back=filemanageroptions</action> |
| 4630 | <action function="page">filemanagerconfirm</action> |
| 4631 | </actions> |
| 4632 | </input> |
| 4633 | |
| 4634 | <fill color="%accent_color%"> |
| 4635 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4636 | </fill> |
| 4637 | |
| 4638 | <button style="main_button_half_height"> |
| 4639 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4640 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4641 | <action function="page">filemanageroptions</action> |
| 4642 | </button> |
| 4643 | |
| 4644 | <template name="keyboardtemplate"/> |
| 4645 | |
| 4646 | <action> |
| 4647 | <touch key="home"/> |
| 4648 | <action function="page">main</action> |
| 4649 | </action> |
| 4650 | |
| 4651 | <action> |
| 4652 | <touch key="back"/> |
| 4653 | <action function="page">filemanageroptions</action> |
| 4654 | </action> |
| 4655 | </page> |
| 4656 | |
| 4657 | <page name="filemanagerchmod"> |
| 4658 | <template name="page"/> |
| 4659 | |
| 4660 | <template name="statusbar"/> |
| 4661 | |
| 4662 | <text style="text_m"> |
| 4663 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4664 | <text>{@fm_hdr=File Manager} > {@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4665 | </text> |
| 4666 | |
| 4667 | <text style="text_m_accent"> |
| 4668 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4669 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4670 | </text> |
| 4671 | |
| 4672 | <input> |
| 4673 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4674 | <text>%tw_filemanager_rename%</text> |
| 4675 | <data name="tw_filemanager_rename"/> |
| 4676 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 4677 | <actions> |
| 4678 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 4679 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 4680 | <action function="set">tw_back=filemanageroptions</action> |
| 4681 | <action function="page">filemanagerconfirm</action> |
| 4682 | </actions> |
| 4683 | </input> |
| 4684 | |
| 4685 | <fill color="%accent_color%"> |
| 4686 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4687 | </fill> |
| 4688 | |
| 4689 | <button style="main_button_half_height"> |
| 4690 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4691 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4692 | <action function="page">filemanageroptions</action> |
| 4693 | </button> |
| 4694 | |
| 4695 | <template name="keyboardtemplate"/> |
| 4696 | |
| 4697 | <action> |
| 4698 | <touch key="home"/> |
| 4699 | <action function="page">main</action> |
| 4700 | </action> |
| 4701 | |
| 4702 | <action> |
| 4703 | <touch key="back"/> |
| 4704 | <action function="page">filemanageroptions</action> |
| 4705 | </action> |
| 4706 | </page> |
| 4707 | |
| 4708 | <page name="filemanagerconfirm"> |
| 4709 | <template name="page"/> |
| 4710 | |
| 4711 | <template name="statusbar"/> |
| 4712 | |
| 4713 | <text style="text_m"> |
| 4714 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4715 | <text>{@fm_hdr=File Manager} > {@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4716 | </text> |
| 4717 | |
| 4718 | <text style="text_m_accent"> |
| 4719 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4720 | <text>%tw_fm_text1%</text> |
| 4721 | </text> |
| 4722 | |
| 4723 | <text style="text_m"> |
| 4724 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4725 | <text>%tw_filename1%</text> |
| 4726 | </text> |
| 4727 | |
| 4728 | <text style="text_m_accent"> |
| 4729 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4730 | <text>%tw_fm_text2%</text> |
| 4731 | </text> |
| 4732 | |
| 4733 | <text style="text_m"> |
| 4734 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 4735 | <text>%tw_fm_text3%</text> |
| 4736 | </text> |
| 4737 | |
| 4738 | <text style="text_m"> |
| 4739 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4740 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4741 | </text> |
| 4742 | |
| 4743 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4744 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4745 | <action function="page">filemanageraction</action> |
| 4746 | </slider> |
| 4747 | |
| 4748 | <action> |
| 4749 | <touch key="back"/> |
| 4750 | <action function="page">%tw_back%</action> |
| 4751 | </action> |
| 4752 | |
| 4753 | <action> |
| 4754 | <touch key="home"/> |
| 4755 | <action function="page">main</action> |
| 4756 | </action> |
| 4757 | </page> |
| 4758 | |
| 4759 | <page name="filemanageraction"> |
| 4760 | <template name="page"/> |
| 4761 | |
| 4762 | <template name="statusbar"/> |
| 4763 | |
| 4764 | <text style="text_m"> |
| 4765 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4766 | <text>{@fm_hdr=File Manager} > %tw_fm_text1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4767 | </text> |
| 4768 | |
| 4769 | <template name="console"/> |
| 4770 | |
| 4771 | <template name="progress_bar"/> |
| 4772 | |
| 4773 | <action> |
| 4774 | <conditions> |
| 4775 | <condition var1="tw_operation_state" var2="1"/> |
| 4776 | <condition var1="tw_operation_status" var2="0"/> |
| 4777 | </conditions> |
| 4778 | <actions> |
| 4779 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4780 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4781 | <action function="page">action_complete</action> |
| 4782 | </actions> |
| 4783 | </action> |
| 4784 | |
| 4785 | <action> |
| 4786 | <conditions> |
| 4787 | <condition var1="tw_operation_state" var2="1"/> |
| 4788 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4789 | </conditions> |
| 4790 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4791 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4792 | <action function="page">action_complete</action> |
| 4793 | </actions> |
| 4794 | </action> |
| 4795 | |
| 4796 | <action> |
| 4797 | <condition var1="tw_include_text3" var2="0"/> |
| 4798 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 4799 | </action> |
| 4800 | |
| 4801 | <action> |
| 4802 | <condition var1="tw_include_text3" var2="1"/> |
| 4803 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 4804 | </action> |
| 4805 | </page> |
| 4806 | |
| 4807 | <page name="decrypt"> |
| 4808 | <template name="page"/> |
| 4809 | |
| 4810 | <template name="statusbar"/> |
| 4811 | |
| 4812 | <action> |
| 4813 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 4814 | <action function="page">decrypt_pattern</action> |
| 4815 | </action> |
| 4816 | |
| 4817 | <text style="text_m"> |
| 4818 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4819 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4820 | </text> |
| 4821 | |
| 4822 | <text style="text_m_accent"> |
| 4823 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4824 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4825 | </text> |
| 4826 | |
| 4827 | <input> |
| 4828 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 4829 | <text>%tw_crypto_display%</text> |
| 4830 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4831 | <restrict minlen="1" maxlen="254"/> |
| 4832 | <action function="page">trydecrypt</action> |
| 4833 | </input> |
| 4834 | |
| 4835 | <fill color="%accent_color%"> |
| 4836 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4837 | </fill> |
| 4838 | |
| 4839 | <fill color="%text_fail_color%"> |
| 4840 | <condition var1="tw_password_fail" var2="1"/> |
| 4841 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4842 | </fill> |
| 4843 | |
| 4844 | <text style="text_m_fail"> |
| 4845 | <condition var1="tw_password_fail" var2="1"/> |
| 4846 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4847 | <text>{@decryt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4848 | </text> |
| 4849 | |
| 4850 | <button style="main_button_half_height"> |
| 4851 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4852 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4853 | <actions> |
| 4854 | <action function="set">tw_page_done=1</action> |
| 4855 | <action function="page">main</action> |
| 4856 | </actions> |
| 4857 | </button> |
| 4858 | |
| 4859 | <template name="keyboardtemplate"/> |
| 4860 | </page> |
| 4861 | |
| 4862 | <page name="decrypt_pattern"> |
| 4863 | <template name="page"/> |
| 4864 | |
| 4865 | <template name="statusbar"/> |
| 4866 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4867 | <action> |
| 4868 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4869 | </action> |
| 4870 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4871 | <text style="text_m"> |
| 4872 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4873 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4874 | </text> |
| 4875 | |
| 4876 | <text style="text_m_accent"> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4877 | <condition var1="tw_password_fail" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4878 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4879 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4880 | </text> |
| 4881 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4882 | <text style="text_m_fail"> |
| 4883 | <condition var1="tw_password_fail" var2="1"/> |
| 4884 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4885 | <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text> |
| 4886 | </text> |
| 4887 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4888 | <text style="text_m"> |
| 4889 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4890 | <text>{@back_cancel=Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4891 | </text> |
| 4892 | |
| 4893 | <patternpassword> |
| 4894 | <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4895 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 4896 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 4897 | <data name="tw_crypto_password"/> |
| 4898 | <action function="page">trydecrypt</action> |
| 4899 | </patternpassword> |
| 4900 | |
| 4901 | <fill color="#000000"> |
| 4902 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 4903 | </fill> |
| 4904 | |
| 4905 | <button> |
| 4906 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4907 | <image resource="back"/> |
| 4908 | <condition var1="tw_busy" var2="0"/> |
| 4909 | <actions> |
| 4910 | <action function="set">tw_page_done=1</action> |
| 4911 | <action function="page">main</action> |
| 4912 | </actions> |
| 4913 | </button> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4914 | |
| 4915 | <button> |
| 4916 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 4917 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4918 | <image resource="grid_less"/> |
| 4919 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4920 | </button> |
| 4921 | |
| 4922 | <button> |
| 4923 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 4924 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4925 | <image resource="grid_less"/> |
| 4926 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4927 | </button> |
| 4928 | |
| 4929 | <button> |
| 4930 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 4931 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4932 | <image resource="grid_less"/> |
| 4933 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4934 | </button> |
| 4935 | |
| 4936 | <button> |
| 4937 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 4938 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4939 | <image resource="grid_less"/> |
| 4940 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4941 | </button> |
| 4942 | |
| 4943 | <button> |
| 4944 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 4945 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4946 | <image resource="grid_more"/> |
| 4947 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4948 | </button> |
| 4949 | |
| 4950 | <button> |
| 4951 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 4952 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4953 | <image resource="grid_more"/> |
| 4954 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4955 | </button> |
| 4956 | |
| 4957 | <button> |
| 4958 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 4959 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4960 | <image resource="grid_more"/> |
| 4961 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4962 | </button> |
| 4963 | |
| 4964 | <button> |
| 4965 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 4966 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4967 | <image resource="grid_more"/> |
| 4968 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4969 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4970 | </page> |
| 4971 | |
| 4972 | <page name="trydecrypt"> |
| 4973 | <template name="page"/> |
| 4974 | |
| 4975 | <template name="statusbar"/> |
| 4976 | |
| 4977 | <text style="text_m"> |
| 4978 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4979 | <text>{@mount_hdr=Mount} > {@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4980 | </text> |
| 4981 | |
| 4982 | <template name="console"/> |
| 4983 | |
| 4984 | <template name="progress_bar"/> |
| 4985 | |
| 4986 | <action> |
| 4987 | <action function="decrypt"/> |
| 4988 | </action> |
| 4989 | |
| 4990 | <action> |
| 4991 | <conditions> |
| 4992 | <condition var1="tw_operation_state" var2="1"/> |
| 4993 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4994 | </conditions> |
| 4995 | <actions> |
| 4996 | <action function="set">tw_password_fail=1</action> |
| 4997 | <action function="page">decrypt</action> |
| 4998 | </actions> |
| 4999 | </action> |
| 5000 | |
| 5001 | <action> |
| 5002 | <conditions> |
| 5003 | <condition var1="tw_operation_state" var2="1"/> |
| 5004 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 5005 | </conditions> |
| 5006 | <actions> |
| 5007 | <action function="set">tw_page_done=1</action> |
| 5008 | <action function="page">main</action> |
| 5009 | </actions> |
| 5010 | </action> |
| 5011 | </page> |
| 5012 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5013 | <page name="terminalcommand"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5014 | <terminal> |
| 5015 | <condition var1="tw_hide_kb" var2="0"/> |
| 5016 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/> |
| 5017 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5018 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5019 | <terminal> |
| 5020 | <condition var1="tw_hide_kb" var2="1"/> |
| 5021 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/> |
| 5022 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5023 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5024 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5025 | |
| 5026 | <template name="keyboardtemplate"/> |
| 5027 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5028 | <object type="fill" color="#000000"> |
| 5029 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 5030 | </object> |
| 5031 | |
| 5032 | <object type="button"> |
| 5033 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5034 | <image resource="back" /> |
| 5035 | <condition var1="tw_busy" var2="0" /> |
| 5036 | <actions> |
| 5037 | <action function="set">tw_hide_kb=0</action> |
| 5038 | <action function="key">back</action> |
| 5039 | </actions> |
| 5040 | </object> |
| 5041 | |
| 5042 | <object type="button"> |
| 5043 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5044 | <image resource="home" /> |
| 5045 | <condition var1="tw_busy" var2="0" /> |
| 5046 | <actions> |
| 5047 | <action function="set">tw_hide_kb=0</action> |
| 5048 | <action function="key">home</action> |
| 5049 | </actions> |
| 5050 | </object> |
| 5051 | |
| 5052 | <object type="button"> |
| 5053 | <condition var1="tw_hide_kb" var2="0"/> |
| 5054 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5055 | <image resource="kb_hide" /> |
| 5056 | <condition var1="tw_busy" var2="0" /> |
| 5057 | <actions> |
| 5058 | <action function="set">tw_hide_kb=1</action> |
| 5059 | <action function="page">terminalcommand</action> |
| 5060 | </actions> |
| 5061 | </object> |
| 5062 | |
| 5063 | <object type="button"> |
| 5064 | <condition var1="tw_hide_kb" var2="1"/> |
| 5065 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5066 | <image resource="kb_show" /> |
| 5067 | <condition var1="tw_busy" var2="0" /> |
| 5068 | <actions> |
| 5069 | <action function="set">tw_hide_kb=0</action> |
| 5070 | <action function="page">terminalcommand</action> |
| 5071 | </actions> |
| 5072 | </object> |
| 5073 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5074 | <action> |
| 5075 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5076 | <actions> |
| 5077 | <action function="set">tw_hide_kb=0</action> |
| 5078 | <action function="page">main</action> |
| 5079 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5080 | </action> |
| 5081 | |
| 5082 | <action> |
| 5083 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5084 | <actions> |
| 5085 | <action function="set">tw_hide_kb=0</action> |
| 5086 | <action function="page">advanced</action> |
| 5087 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5088 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5089 | |
| 5090 | <object type="action"> |
| 5091 | <touch key="power+voldown" /> |
| 5092 | <action function="screenshot" /> |
| 5093 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5094 | </page> |
| 5095 | |
| 5096 | <page name="sideload"> |
| 5097 | <template name="page"/> |
| 5098 | |
| 5099 | <template name="statusbar"/> |
| 5100 | |
| 5101 | <text style="text_m"> |
| 5102 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5103 | <text>{@install_hdr=Install} > {@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5104 | </text> |
| 5105 | |
| 5106 | <text style="text_m_accent"> |
| 5107 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5108 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5109 | </text> |
| 5110 | |
| 5111 | <checkbox> |
| 5112 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5113 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5114 | <data variable="tw_wipe_dalvik"/> |
| 5115 | </checkbox> |
| 5116 | |
| 5117 | <checkbox> |
| 5118 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5119 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5120 | <data variable="tw_wipe_cache"/> |
| 5121 | </checkbox> |
| 5122 | |
| 5123 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5124 | <text>{@swipe_sideload= Start}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5125 | <actions> |
| 5126 | <action function="set">tw_back=install_type</action> |
| 5127 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5128 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5129 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5130 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5131 | <action function="set">tw_has_cancel=1</action> |
| 5132 | <action function="set">tw_show_reboot=1</action> |
| 5133 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5134 | <action function="page">action_page</action> |
| 5135 | </actions> |
| 5136 | </slider> |
| 5137 | |
| 5138 | <action> |
| 5139 | <touch key="home"/> |
| 5140 | <action function="page">main</action> |
| 5141 | </action> |
| 5142 | |
| 5143 | <action> |
| 5144 | <touch key="back"/> |
| 5145 | <action function="page">install_type</action> |
| 5146 | </action> |
| 5147 | </page> |
| 5148 | |
| 5149 | <page name="fixperms"> |
| 5150 | <template name="page"/> |
| 5151 | |
| 5152 | <template name="statusbar"/> |
| 5153 | |
| 5154 | <text style="text_m"> |
| 5155 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5156 | <text>{@advanced_hdr=Advanced} > {@fix_perms_hdr=Fix Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5157 | </text> |
| 5158 | |
| 5159 | <text style="text_m_accent"> |
| 5160 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5161 | <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5162 | </text> |
| 5163 | |
| 5164 | <checkbox> |
| 5165 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5166 | <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5167 | <data variable="tw_fixperms_restorecon"/> |
| 5168 | </checkbox> |
| 5169 | |
| 5170 | <text style="text_m_fail"> |
| 5171 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5172 | <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5173 | </text> |
| 5174 | |
| 5175 | <text style="text_m_fail"> |
| 5176 | <placement x="%center_x%" y="%row7a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5177 | <text>{@fix_perms_sel_note2=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5178 | </text> |
| 5179 | |
| 5180 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5181 | <text>{@swipe_fix_perms= Fix Perms}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5182 | <actions> |
| 5183 | <action function="set">tw_back=advanced</action> |
| 5184 | <action function="set">tw_action=fixpermissions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5185 | <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action> |
| 5186 | <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action> |
| 5187 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5188 | <action function="set">tw_show_reboot=1</action> |
| 5189 | <action function="page">action_page</action> |
| 5190 | </actions> |
| 5191 | </slider> |
| 5192 | |
| 5193 | <action> |
| 5194 | <touch key="home"/> |
| 5195 | <action function="page">main</action> |
| 5196 | </action> |
| 5197 | |
| 5198 | <action> |
| 5199 | <touch key="back"/> |
| 5200 | <action function="page">advanced</action> |
| 5201 | </action> |
| 5202 | </page> |
| 5203 | |
| 5204 | <page name="installsu"> |
| 5205 | <template name="page"/> |
| 5206 | |
| 5207 | <template name="statusbar"/> |
| 5208 | |
| 5209 | <text style="text_m"> |
| 5210 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5211 | <text>{@reboot_hdr=Reboot} > {@su_hdr=SuperSU Check}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5212 | </text> |
| 5213 | |
| 5214 | <text style="text_m_accent"> |
| 5215 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5216 | <text>{@su_note1=Your device does not appear to be rooted.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5217 | </text> |
| 5218 | |
| 5219 | <text style="text_m"> |
| 5220 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5221 | <text>{@su_note2=Install SuperSU now?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5222 | </text> |
| 5223 | |
| 5224 | <text style="text_m"> |
| 5225 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5226 | <text>{@su_note3=This will root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5227 | </text> |
| 5228 | |
| 5229 | <button style="main_button_full_width"> |
| 5230 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5231 | <text>{@su_cancel=Do not Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5232 | <action function="set">tw_page_done=1</action> |
| 5233 | </button> |
| 5234 | |
| 5235 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5236 | <text>{@swipe_su_install= Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5237 | <actions> |
| 5238 | <action function="set">tw_action=installsu</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5239 | <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5240 | <action function="set">tw_action_text2=</action> |
| 5241 | <action function="page">singleaction_page</action> |
| 5242 | </actions> |
| 5243 | </slider> |
| 5244 | </page> |
| 5245 | |
| 5246 | <page name="slideout"> |
| 5247 | <fill color="%background_color%"> |
| 5248 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5249 | </fill> |
| 5250 | |
| 5251 | <console> |
| 5252 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/> |
| 5253 | </console> |
| 5254 | |
| 5255 | <fill color="%fileselector_linecolor%"> |
| 5256 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5257 | </fill> |
| 5258 | |
| 5259 | <fill color="%fileselector_linecolor%"> |
| 5260 | <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/> |
| 5261 | </fill> |
| 5262 | |
| 5263 | <button> |
| 5264 | <fill color="%transparent%"/> |
| 5265 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5266 | <action function="overlay"/> |
| 5267 | </button> |
| 5268 | |
| 5269 | <action> |
| 5270 | <touch key="power+voldown"/> |
| 5271 | <action function="screenshot"/> |
| 5272 | </action> |
| 5273 | </page> |
| 5274 | |
| 5275 | <page name="select_storage"> |
| 5276 | <template name="page"/> |
| 5277 | |
| 5278 | <template name="statusbar"/> |
| 5279 | |
| 5280 | <text style="text_m"> |
| 5281 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 5282 | <text>%tw_storagetext%</text> |
| 5283 | </text> |
| 5284 | |
| 5285 | <partitionlist style="partitionlist_headerless_rb"> |
| 5286 | <data name="tw_storage_path"/> |
| 5287 | <listtype name="storage"/> |
| 5288 | </partitionlist> |
| 5289 | |
| 5290 | <button> |
| 5291 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 5292 | <highlight color="%highlight_color%"/> |
| 5293 | <image resource="q_btn_refresh"/> |
| 5294 | <actions> |
| 5295 | <action function="refreshsizes"/> |
| 5296 | <action function="page">select_storage</action> |
| 5297 | </actions> |
| 5298 | </button> |
| 5299 | |
| 5300 | <button> |
| 5301 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 5302 | <highlight color="%highlight_color%"/> |
| 5303 | <image resource="q_btn_accept"/> |
| 5304 | <actions> |
| 5305 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5306 | <action function="page">clear_vars</action> |
| 5307 | </actions> |
| 5308 | </button> |
| 5309 | |
| 5310 | <action> |
| 5311 | <touch key="power+voldown"/> |
| 5312 | <action function="screenshot"/> |
| 5313 | </action> |
| 5314 | </page> |
| 5315 | </pages> |
| 5316 | </recovery> |