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