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