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