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