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