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="main_button"> |
| 36 | <highlight color="%highlight_color%"/> |
| 37 | <font resource="font_l" color="%text_button_color%"/> |
| 38 | <image resource="main_button"/> |
| 39 | </style> |
| 40 | |
| 41 | <style name="main_button_half_height"> |
| 42 | <highlight color="%highlight_color%"/> |
| 43 | <font resource="font_m" color="%text_button_color%"/> |
| 44 | <image resource="main_button_half_height"/> |
| 45 | </style> |
| 46 | |
| 47 | <style name="main_button_half_height_full_width"> |
| 48 | <highlight color="%highlight_color%"/> |
| 49 | <font resource="font_m" color="%text_button_color%"/> |
| 50 | <image resource="main_button_half_height_full_width"/> |
| 51 | </style> |
| 52 | |
| 53 | <style name="button_third_width"> |
| 54 | <highlight color="%highlight_color%"/> |
| 55 | <font resource="font_m" color="%text_button_color%"/> |
| 56 | <image resource="tab_3"/> |
| 57 | </style> |
| 58 | |
| 59 | <style name="button_quarter_width"> |
| 60 | <highlight color="%highlight_color%"/> |
| 61 | <font resource="font_m" color="%text_button_color%"/> |
| 62 | <image resource="tab_4"/> |
| 63 | </style> |
| 64 | |
| 65 | <style name="fab"> |
| 66 | <highlight color="%highlight_color%"/> |
| 67 | <placement x="%indent_right%" y="%row21a_y%" placement="1"/> |
| 68 | <font resource="font_m" color="%button_text_color%"/> |
| 69 | </style> |
| 70 | |
| 71 | <style name="tab"> |
| 72 | <highlight color="%highlight_color%"/> |
z31s1g | 56a7a99 | 2016-01-23 17:06:40 +0100 | [diff] [blame] | 73 | <fill color="%transparent%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 74 | <font resource="font_s" color="%text_button_color%"/> |
| 75 | </style> |
| 76 | |
| 77 | <style name="console"> |
| 78 | <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 79 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 80 | <font resource="fixed"/> |
| 81 | </style> |
| 82 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 83 | <style name="terminal"> |
| 84 | <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 85 | <background color="%background_color%"/> |
| 86 | <font resource="fixed" spacing="3" color="%text_color%"/> |
| 87 | </style> |
| 88 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 89 | <style name="fileselector"> |
| 90 | <highlight color="%fileselector_highlight_color%"/> |
| 91 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 92 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 93 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 94 | <sort name="tw_gui_sort_order"/> |
| 95 | <icon folder="folder" file="file"/> |
| 96 | <background color="%background_color%"/> |
| 97 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 98 | </style> |
| 99 | |
| 100 | <style name="listbox"> |
| 101 | <highlight color="%fileselector_highlight_color%"/> |
| 102 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 103 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 104 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 105 | <icon selected="radio_true" unselected="radio_false"/> |
| 106 | <background color="%background_color%"/> |
| 107 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 108 | </style> |
| 109 | |
| 110 | <style name="scrolllist"> |
| 111 | <background color="%background_color%"/> |
| 112 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/> |
nkk71 | 1a230e4 | 2017-08-07 00:28:19 +0300 | [diff] [blame] | 113 | <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] | 114 | </style> |
| 115 | |
| 116 | <style name="partitionlist"> |
| 117 | <highlight color="%fileselector_highlight_color%"/> |
| 118 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 119 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 120 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 121 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 122 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 123 | <background color="%background_color%"/> |
| 124 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 125 | </style> |
| 126 | |
| 127 | <style name="partitionlist_storage"> |
| 128 | <highlight color="%fileselector_highlight_color%"/> |
| 129 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/> |
| 130 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 131 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 132 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 133 | <icon selected="radio_true" unselected="radio_false"/> |
| 134 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 135 | <background color="%background_color%"/> |
| 136 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 137 | </style> |
| 138 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 139 | <style name="advanced_listbox"> |
| 140 | <highlight color="%fileselector_highlight_color%"/> |
| 141 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 142 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 143 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 144 | <icon selected="handle" unselected="handle"/> |
| 145 | <background color="%background_color%"/> |
| 146 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 147 | </style> |
| 148 | |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 149 | <style name="options_listbox"> |
| 150 | <highlight color="%fileselector_highlight_color%"/> |
| 151 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 152 | <separator color="%background_color%" height="%fileselector_separatorheight%"/> |
| 153 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 154 | <background color="%background_color%"/> |
| 155 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 156 | </style> |
| 157 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 158 | <style name="slider"> |
| 159 | <placement x="%center_x%" y="%row23_y%"/> |
| 160 | <font resource="font_s" color="%text_color%"/> |
| 161 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 162 | </style> |
| 163 | |
| 164 | <style name="slidervalue"> |
| 165 | <resource handle="handle"/> |
| 166 | <font resource="font_m" color="%text_color%"/> |
| 167 | <colors line="%fileselector_linecolor%"/> |
| 168 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 169 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 170 | |
| 171 | <style name="patternpassword"> |
| 172 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 173 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 174 | </styles> |
| 175 | |
| 176 | <pages> |
| 177 | <page name="main"> |
| 178 | <action> |
| 179 | <actions> |
| 180 | <action function="set">tw_clear_destination=main2</action> |
| 181 | <action function="page">clear_vars</action> |
| 182 | </actions> |
| 183 | </action> |
| 184 | </page> |
| 185 | |
| 186 | <page name="main2"> |
| 187 | <template name="page"/> |
| 188 | |
| 189 | <text style="text_l"> |
| 190 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 191 | <text>{@twrp_header=Team Win Recovery Project}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 192 | </text> |
| 193 | |
| 194 | <text style="text_m"> |
| 195 | <condition var1="tw_no_cpu_temp" var2="0"/> |
| 196 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 197 | <text>%tw_version%</text> |
| 198 | </text> |
| 199 | |
| 200 | <button style="main_button"> |
| 201 | <placement x="%indent%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 202 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 203 | <actions> |
| 204 | <action function="queueclear"/> |
| 205 | <action function="set">tw_selectimage=0</action> |
| 206 | <action function="page">install</action> |
| 207 | </actions> |
| 208 | </button> |
| 209 | |
| 210 | <button style="main_button"> |
| 211 | <placement x="%center_x%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 212 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 213 | <action function="page">wipe</action> |
| 214 | </button> |
| 215 | |
| 216 | <button style="main_button"> |
| 217 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 218 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 219 | <action function="page">backup</action> |
| 220 | </button> |
| 221 | |
| 222 | <button style="main_button"> |
| 223 | <placement x="%center_x%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 224 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 225 | <action function="page">restore</action> |
| 226 | </button> |
| 227 | |
| 228 | <button style="main_button"> |
| 229 | <placement x="%indent%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 230 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 231 | <action function="page">mount</action> |
| 232 | </button> |
| 233 | |
| 234 | <button style="main_button"> |
| 235 | <placement x="%center_x%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 236 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 237 | <action function="page">settings</action> |
| 238 | </button> |
| 239 | |
| 240 | <button style="main_button"> |
| 241 | <placement x="%indent%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 242 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 243 | <action function="page">advanced</action> |
| 244 | </button> |
| 245 | |
| 246 | <button style="main_button"> |
| 247 | <placement x="%center_x%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 248 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 249 | <action function="page">reboot</action> |
| 250 | </button> |
| 251 | </page> |
| 252 | |
| 253 | <page name="install"> |
| 254 | <template name="page"/> |
| 255 | |
| 256 | <text style="text_l"> |
| 257 | <condition var1="tw_selectimage" var2="0"/> |
| 258 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 259 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 260 | </text> |
| 261 | |
| 262 | <text style="text_l"> |
| 263 | <condition var1="tw_selectimage" var2="1"/> |
| 264 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 265 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 266 | </text> |
| 267 | |
| 268 | <text style="text_m"> |
| 269 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 270 | <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] | 271 | </text> |
| 272 | |
| 273 | <template name="sort_options"/> |
| 274 | |
| 275 | <fileselector> |
| 276 | <condition var1="tw_selectimage" var2="0"/> |
| 277 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 278 | <text>%tw_zip_location%</text> |
mauronofrio | 6d3bf89 | 2019-10-26 19:47:55 +0200 | [diff] [blame] | 279 | <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/> |
Ian Macdonald | e7c34e5 | 2021-01-23 18:52:28 +0100 | [diff] [blame] | 280 | <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] | 281 | <path name="tw_zip_location" default="/sdcard"/> |
| 282 | <data name="tw_filename"/> |
| 283 | <selection name="tw_file"/> |
| 284 | </fileselector> |
| 285 | |
| 286 | <fileselector> |
| 287 | <condition var1="tw_selectimage" var2="1"/> |
| 288 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 289 | <text>%tw_zip_location%</text> |
| 290 | <filter extn=".img" folders="1" files="1"/> |
| 291 | <path name="tw_zip_location" default="/sdcard"/> |
| 292 | <data name="tw_filename"/> |
| 293 | <selection name="tw_file"/> |
| 294 | </fileselector> |
| 295 | |
| 296 | <button style="main_button_half_height"> |
| 297 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 298 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 299 | <actions> |
| 300 | <action function="set">tw_back=install</action> |
| 301 | <action function="overlay">select_storage</action> |
| 302 | </actions> |
| 303 | </button> |
| 304 | |
| 305 | <button style="main_button_half_height"> |
| 306 | <condition var1="tw_selectimage" var2="0"/> |
| 307 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 308 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 309 | <actions> |
| 310 | <action function="set">tw_selectimage=1</action> |
| 311 | <action function="page">install</action> |
| 312 | </actions> |
| 313 | </button> |
| 314 | |
| 315 | <button style="main_button_half_height"> |
| 316 | <condition var1="tw_selectimage" var2="1"/> |
| 317 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 318 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 319 | <actions> |
| 320 | <action function="set">tw_selectimage=0</action> |
| 321 | <action function="page">install</action> |
| 322 | </actions> |
| 323 | </button> |
| 324 | |
| 325 | <action> |
| 326 | <conditions> |
| 327 | <condition var1="tw_selectimage" var2="0"/> |
| 328 | <condition var1="tw_filename" op="modified"/> |
| 329 | </conditions> |
| 330 | <actions> |
| 331 | <action function="queuezip"/> |
| 332 | <action function="page">flash_confirm</action> |
| 333 | </actions> |
| 334 | </action> |
| 335 | |
| 336 | <action> |
| 337 | <conditions> |
| 338 | <condition var1="tw_selectimage" var2="1"/> |
| 339 | <condition var1="tw_filename" op="modified"/> |
| 340 | </conditions> |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 341 | <actions> |
| 342 | <action function="set">tw_is_slot_part=0</action> |
| 343 | <action function="page">flashimage_confirm</action> |
| 344 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 345 | </action> |
| 346 | |
| 347 | <action> |
| 348 | <touch key="back"/> |
| 349 | <action function="page">main</action> |
| 350 | </action> |
| 351 | |
| 352 | <action> |
| 353 | <touch key="home"/> |
| 354 | <action function="page">main</action> |
| 355 | </action> |
| 356 | </page> |
| 357 | |
| 358 | <page name="flash_confirm"> |
| 359 | <template name="page"/> |
| 360 | |
| 361 | <text style="text_l"> |
| 362 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 363 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 364 | </text> |
| 365 | |
| 366 | <text style="text_m"> |
| 367 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 368 | <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] | 369 | </text> |
| 370 | |
| 371 | <text style="text_m_accent"> |
| 372 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 373 | <text>{@zip_warn1=This operation may install incompatible}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 374 | </text> |
| 375 | |
| 376 | <text style="text_m_accent"> |
| 377 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 378 | <text>{@zip_warn2=software and render your device unusable.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 379 | </text> |
| 380 | |
| 381 | <text style="text_m"> |
| 382 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 383 | <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 384 | </text> |
| 385 | |
| 386 | <text style="text_m_accent"> |
| 387 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 388 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 389 | </text> |
| 390 | |
| 391 | <text style="text_m"> |
| 392 | <placement x="%indent%" y="%row8_y%"/> |
| 393 | <text>%tw_zip_location%</text> |
| 394 | </text> |
| 395 | |
| 396 | <text style="text_m_accent"> |
| 397 | <placement x="%indent%" y="%row9a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 398 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 399 | </text> |
| 400 | |
| 401 | <text style="text_m"> |
| 402 | <placement x="%indent%" y="%row10a_y%"/> |
| 403 | <text>%tw_file%</text> |
| 404 | </text> |
| 405 | |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 406 | <listbox style="options_listbox"> |
| 407 | <placement x="%indent%" y="%row12_y%" w="%content_width%" h="%listbox_options_height%"/> |
| 408 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 409 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
| 410 | <data variable="tw_signed_zip_verify"/> |
| 411 | </listitem> |
| 412 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 413 | <data variable="tw_skip_digest_check_zip"/> |
| 414 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 415 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 416 | <conditions> |
| 417 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 418 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 419 | </conditions> |
| 420 | <data variable="tw_auto_reflashtwrp"/> |
| 421 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 422 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 423 | <data variable="tw_install_reboot"/> |
| 424 | </listitem> |
| 425 | <listitem name="{@inject_twrp_chk=Inject TWRP after install}"> |
| 426 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 427 | <data variable="tw_inject_after_zip"/> |
| 428 | </listitem> |
| 429 | </listbox> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 430 | |
| 431 | <button style="main_button_half_height"> |
| 432 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 433 | <text>{@zip_add_btn=Add more Zips}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 434 | <action function="page">install</action> |
| 435 | </button> |
| 436 | |
| 437 | <button style="main_button_half_height"> |
| 438 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 439 | <text>{@zip_clear_btn=Clear Zip Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 440 | <actions> |
| 441 | <action function="queueclear"/> |
| 442 | <action function="page">install</action> |
| 443 | </actions> |
| 444 | </button> |
| 445 | |
| 446 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 447 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 448 | <action function="flash">flash_zip</action> |
| 449 | </slider> |
| 450 | |
| 451 | <action> |
| 452 | <touch key="back"/> |
| 453 | <actions> |
| 454 | <action function="cancelzip"/> |
| 455 | <action function="page">install</action> |
| 456 | </actions> |
| 457 | </action> |
| 458 | |
| 459 | <action> |
| 460 | <touch key="home"/> |
| 461 | <action function="page">main</action> |
| 462 | </action> |
| 463 | </page> |
| 464 | |
| 465 | <page name="flash_zip"> |
| 466 | <template name="page"/> |
| 467 | |
| 468 | <text style="text_l"> |
| 469 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 470 | <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] | 471 | </text> |
| 472 | |
| 473 | <text style="text_m"> |
| 474 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 475 | <text>%tw_file%</text> |
| 476 | </text> |
| 477 | |
| 478 | <template name="console"/> |
| 479 | |
| 480 | <template name="progress_bar"/> |
| 481 | |
| 482 | <action> |
| 483 | <condition var1="tw_operation_state" var2="1"/> |
| 484 | <action function="page">flash_done</action> |
| 485 | </action> |
| 486 | </page> |
| 487 | |
| 488 | <page name="flash_done"> |
| 489 | <template name="page"/> |
| 490 | |
| 491 | <text style="text_l"> |
| 492 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 493 | <text>{@install_zip_hdr=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 494 | </text> |
| 495 | |
| 496 | <text style="text_m_fail"> |
| 497 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 498 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 499 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 500 | </text> |
| 501 | |
| 502 | <text style="text_m"> |
| 503 | <condition var1="tw_operation_status" var2="0"/> |
| 504 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 505 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 506 | </text> |
| 507 | |
| 508 | <template name="console"/> |
| 509 | |
| 510 | <button style="main_button_half_height"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 511 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 512 | <placement x="%indent%" y="%row21a_y%"/> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 513 | <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 514 | <actions> |
| 515 | <action function="set">tw_back=flash_done</action> |
| 516 | <action function="set">tw_action=wipe</action> |
| 517 | <action function="set">tw_action_param=/cache</action> |
| 518 | <action function="set">tw_has_action2=1</action> |
| 519 | <action function="set">tw_action2=wipe</action> |
| 520 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 521 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 522 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 523 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
| 524 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 525 | <action function="page">confirm_action</action> |
| 526 | </actions> |
| 527 | </button> |
| 528 | |
| 529 | <button style="main_button_half_height"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 530 | <condition var1="tw_ab_device" var2="1"/> |
| 531 | <placement x="%indent%" y="%row21a_y%"/> |
| 532 | <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> |
| 533 | <actions> |
| 534 | <action function="set">tw_back=flash_done</action> |
| 535 | <action function="set">tw_action=wipe</action> |
| 536 | <action function="set">tw_action_param=dalvik</action> |
| 537 | <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> |
| 538 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> |
| 539 | <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> |
| 540 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
| 541 | <action function="page">confirm_action</action> |
| 542 | </actions> |
| 543 | </button> |
| 544 | |
| 545 | <button style="main_button_half_height"> |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 546 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 547 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 548 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 549 | <actions> |
| 550 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 551 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 552 | </actions> |
| 553 | </button> |
| 554 | |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 555 | <button style="main_button_half_height"> |
| 556 | <condition var1="tw_ab_device" var2="1"/> |
| 557 | <placement x="%center_x%" y="%row21a_y%"/> |
| 558 | <text>{@reboot_btn=Reboot}</text> |
| 559 | <actions> |
| 560 | <action function="set">tw_back=main2</action> |
| 561 | <action function="page">reboot</action> |
| 562 | </actions> |
| 563 | </button> |
| 564 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 565 | <action> |
| 566 | <touch key="back"/> |
| 567 | <actions> |
| 568 | <action function="set">tw_clear_destination=install</action> |
| 569 | <action function="page">clear_vars</action> |
| 570 | </actions> |
| 571 | </action> |
| 572 | |
| 573 | <action> |
| 574 | <touch key="home"/> |
| 575 | <actions> |
| 576 | <action function="set">tw_clear_destination=main2</action> |
| 577 | <action function="page">clear_vars</action> |
| 578 | </actions> |
| 579 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 580 | |
| 581 | <action> |
| 582 | <conditions> |
| 583 | <condition var1="tw_install_reboot" var2="1"/> |
| 584 | <condition var1="tw_operation_status" var2="0"/> |
| 585 | <condition var1="tw_reboot_system" var2="1"/> |
| 586 | </conditions> |
| 587 | <actions> |
| 588 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 589 | <action function="page">flash_sleep_and_reboot</action> |
| 590 | </actions> |
| 591 | </action> |
| 592 | </page> |
| 593 | |
| 594 | <page name="flash_sleep_and_reboot"> |
| 595 | <template name="page"/> |
| 596 | |
| 597 | <text style="text_l"> |
| 598 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 599 | <text>{@install_zip_hdr=Install Zip}</text> |
| 600 | </text> |
| 601 | |
| 602 | <text style="text_m"> |
| 603 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 604 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 605 | </text> |
| 606 | |
| 607 | <template name="console"/> |
| 608 | |
| 609 | <template name="progress_bar"/> |
| 610 | |
| 611 | <button style="main_button_half_height"> |
| 612 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 613 | <placement x="%center_x%" y="%row21a_y%"/> |
| 614 | <text>{@cancel_btn=Cancel}</text> |
| 615 | <actions> |
| 616 | <action function="set">tw_install_reboot=0</action> |
| 617 | <action function="page">flash_done</action> |
| 618 | </actions> |
| 619 | </button> |
| 620 | |
| 621 | <action> |
| 622 | <conditions> |
| 623 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 624 | <condition var1="tw_install_reboot" var2="1"/> |
| 625 | </conditions> |
| 626 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 627 | </action> |
| 628 | |
| 629 | <action> |
| 630 | <conditions> |
| 631 | <condition var1="tw_sleep" var2="0"/> |
| 632 | <condition var1="tw_install_reboot" var2="1"/> |
| 633 | </conditions> |
| 634 | <actions> |
| 635 | <action function="sleep">50000</action> |
| 636 | <action function="set">tw_back=main2</action> |
| 637 | <action function="page">reboot_system_routine</action> |
| 638 | </actions> |
| 639 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 640 | </page> |
| 641 | |
| 642 | <page name="flashimage_confirm"> |
| 643 | <template name="page"/> |
| 644 | |
| 645 | <text style="text_l"> |
| 646 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 647 | <text>{@install_image_hdr=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 648 | </text> |
| 649 | |
| 650 | <text style="text_m"> |
| 651 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 652 | <text>{@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 653 | </text> |
| 654 | |
| 655 | <text style="text_m_accent"> |
| 656 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 657 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 658 | </text> |
| 659 | |
| 660 | <text style="text_m"> |
| 661 | <placement x="%indent%" y="%row3_y%"/> |
| 662 | <text>%tw_zip_location%</text> |
| 663 | </text> |
| 664 | |
| 665 | <text style="text_m_accent"> |
| 666 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 667 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 668 | </text> |
| 669 | |
| 670 | <text style="text_m"> |
| 671 | <placement x="%indent%" y="%row5a_y%"/> |
| 672 | <text>%tw_file%</text> |
| 673 | </text> |
| 674 | |
| 675 | <partitionlist> |
| 676 | <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/> |
| 677 | <icon selected="radio_true" unselected="radio_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 678 | <text>{@flash_image_select=Select Partition to Flash Image:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 679 | <data name="tw_flash_partition"/> |
| 680 | <listtype name="flashimg"/> |
| 681 | </partitionlist> |
| 682 | |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 683 | <button style="checkbox"> |
| 684 | <conditions> |
| 685 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 686 | <condition var1="tw_flash_both_slots" op="=" var2="0"/> |
| 687 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 688 | </conditions> |
| 689 | <placement x="%indent%" y="%row19a_y%" textplacement="6"/> |
| 690 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 691 | <image resource="checkbox_false"/> |
| 692 | <action function="set">tw_flash_both_slots=1</action> |
| 693 | </button> |
| 694 | |
| 695 | <button style="checkbox"> |
| 696 | <conditions> |
| 697 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 698 | <condition var1="tw_flash_both_slots" op="=" var2="1"/> |
| 699 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 700 | </conditions> |
| 701 | <placement x="%indent%" y="%row19a_y%" textplacement="6"/> |
| 702 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 703 | <image resource="checkbox_true"/> |
| 704 | <action function="set">tw_flash_both_slots=0</action> |
| 705 | </button> |
| 706 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 707 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 708 | <text>{@swipe_flash=Swipe to confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 709 | <actions> |
| 710 | <action function="set">tw_back=flashimage_confirm</action> |
| 711 | <action function="set">tw_action=flashimage</action> |
| 712 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 713 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 714 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 715 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 716 | <action function="page">action_page</action> |
| 717 | </actions> |
| 718 | <action function="flashimage"/> |
| 719 | </slider> |
| 720 | |
| 721 | <action> |
| 722 | <touch key="back"/> |
| 723 | <actions> |
| 724 | <action function="set">tw_clear_destination=install</action> |
| 725 | <action function="page">clear_vars</action> |
| 726 | </actions> |
| 727 | </action> |
| 728 | |
| 729 | <action> |
| 730 | <touch key="home"/> |
| 731 | <actions> |
| 732 | <action function="set">tw_clear_destination=main2</action> |
| 733 | <action function="page">clear_vars</action> |
| 734 | </actions> |
| 735 | </action> |
| 736 | </page> |
| 737 | |
| 738 | <page name="clear_vars"> |
| 739 | <action> |
| 740 | <action function="set">tw_operation_state=0</action> |
| 741 | <action function="set">tw_text1=</action> |
| 742 | <action function="set">tw_text2=</action> |
| 743 | <action function="set">tw_text3=</action> |
| 744 | <action function="set">tw_text4=</action> |
| 745 | <action function="set">tw_action_text1=</action> |
| 746 | <action function="set">tw_action_text2=</action> |
| 747 | <action function="set">tw_action_param=</action> |
| 748 | <action function="set">tw_has_action2=0</action> |
| 749 | <action function="set">tw_action2=</action> |
| 750 | <action function="set">tw_action2_param=</action> |
| 751 | <action function="set">tw_has_cancel=0</action> |
| 752 | <action function="set">tw_cancel_action=</action> |
| 753 | <action function="set">tw_cancel_param=</action> |
| 754 | <action function="set">tw_show_exclamation=0</action> |
| 755 | <action function="set">tw_show_reboot=0</action> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 756 | <action function="set">tw_crypto_user_id=</action> |
| 757 | <action function="set">tw_multiuser_warning_accepted=</action> |
| 758 | <action function="set">tw_multiuser_warning_destination=</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 759 | <action function="page">%tw_clear_destination%</action> |
| 760 | </action> |
| 761 | </page> |
| 762 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 763 | <page name="reboot_system_routine"> |
| 764 | <action> |
| 765 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 766 | <action function="set">tw_action_param=system</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 767 | <action function="set">tw_has_action2=0</action> |
| 768 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 769 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 770 | <action function="set">tw_text3=</action> |
| 771 | <action function="set">tw_text4=</action> |
| 772 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 773 | <action function="set">tw_action_text2=</action> |
| 774 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 775 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 776 | <action function="page">rebootcheck</action> |
| 777 | </action> |
| 778 | </page> |
| 779 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 780 | <page name="confirm_action"> |
| 781 | <template name="page"/> |
| 782 | |
| 783 | <text style="text_l"> |
| 784 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 785 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 786 | </text> |
| 787 | |
| 788 | <text style="text_m"> |
| 789 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 790 | <text/> |
| 791 | </text> |
| 792 | |
| 793 | <text style="text_m_accent"> |
| 794 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 795 | <text>%tw_text1%</text> |
| 796 | </text> |
| 797 | |
| 798 | <text style="text_m_accent"> |
| 799 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 800 | <text>%tw_text2%</text> |
| 801 | </text> |
| 802 | |
| 803 | <text style="text_m"> |
| 804 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
| 805 | <text>%tw_text3%</text> |
| 806 | </text> |
| 807 | |
| 808 | <text style="text_m"> |
| 809 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 810 | <text>%tw_text4%</text> |
| 811 | </text> |
| 812 | |
| 813 | <text style="text_m"> |
| 814 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 815 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 816 | </text> |
| 817 | |
| 818 | <slider> |
| 819 | <text>%tw_slider_text%</text> |
| 820 | <action function="page">action_page</action> |
| 821 | </slider> |
| 822 | |
| 823 | <action> |
| 824 | <touch key="back"/> |
| 825 | <actions> |
| 826 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 827 | <action function="page">clear_vars</action> |
| 828 | </actions> |
| 829 | </action> |
| 830 | |
| 831 | <action> |
| 832 | <touch key="home"/> |
| 833 | <action function="page">main</action> |
| 834 | </action> |
| 835 | </page> |
| 836 | |
| 837 | <page name="action_page"> |
| 838 | <template name="page"/> |
| 839 | |
| 840 | <text style="text_l"> |
| 841 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 842 | <text>%tw_action_text1%</text> |
| 843 | </text> |
| 844 | |
| 845 | <text style="text_m"> |
| 846 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 847 | <text>%tw_action_text2%</text> |
| 848 | </text> |
| 849 | |
| 850 | <template name="console"/> |
| 851 | |
| 852 | <template name="progress_bar"/> |
| 853 | |
| 854 | <button style="main_button_half_height"> |
| 855 | <condition var1="tw_has_cancel" var2="1"/> |
| 856 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 857 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 858 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 859 | </button> |
| 860 | |
| 861 | <action> |
| 862 | <condition var1="tw_operation_state" var2="1"/> |
| 863 | <actions> |
| 864 | <action function="page">action_complete</action> |
| 865 | </actions> |
| 866 | </action> |
| 867 | |
| 868 | <action> |
| 869 | <condition var1="tw_has_action2" var2="0"/> |
| 870 | <actions> |
| 871 | <action function="%tw_action%">%tw_action_param%</action> |
| 872 | </actions> |
| 873 | </action> |
| 874 | |
| 875 | <action> |
| 876 | <condition var1="tw_has_action2" var2="1"/> |
| 877 | <actions> |
| 878 | <action function="%tw_action%">%tw_action_param%</action> |
| 879 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 880 | </actions> |
| 881 | </action> |
| 882 | </page> |
| 883 | |
| 884 | <page name="singleaction_page"> |
| 885 | <template name="page"/> |
| 886 | |
| 887 | <text style="text_l"> |
| 888 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 889 | <text>%tw_action_text1%</text> |
| 890 | </text> |
| 891 | |
| 892 | <text style="text_m"> |
| 893 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 894 | <text>%tw_action_text2%</text> |
| 895 | </text> |
| 896 | |
| 897 | <template name="console"/> |
| 898 | |
| 899 | <template name="progress_bar"/> |
| 900 | |
| 901 | <action> |
| 902 | <condition var1="tw_operation_state" var2="1"/> |
| 903 | <actions> |
| 904 | <action function="set">tw_page_done=1</action> |
| 905 | </actions> |
| 906 | </action> |
| 907 | |
| 908 | <action> |
| 909 | <condition var1="tw_has_action2" var2="0"/> |
| 910 | <actions> |
| 911 | <action function="%tw_action%">%tw_action_param%</action> |
| 912 | </actions> |
| 913 | </action> |
| 914 | |
| 915 | <action> |
| 916 | <condition var1="tw_has_action2" var2="1"/> |
| 917 | <actions> |
| 918 | <action function="%tw_action%">%tw_action_param%</action> |
| 919 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 920 | </actions> |
| 921 | </action> |
| 922 | </page> |
| 923 | |
| 924 | <page name="action_complete"> |
| 925 | <template name="page"/> |
| 926 | |
| 927 | <text style="text_l"> |
| 928 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 929 | <text>%tw_complete_text1%</text> |
| 930 | </text> |
| 931 | |
| 932 | <text style="text_m_fail"> |
| 933 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 934 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 935 | <text>{@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 936 | </text> |
| 937 | |
| 938 | <text style="text_m"> |
| 939 | <condition var1="tw_operation_status" var2="0"/> |
| 940 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 941 | <text>{@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 942 | </text> |
| 943 | |
| 944 | <template name="console"/> |
| 945 | |
| 946 | <button style="main_button_half_height"> |
| 947 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 948 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 949 | <actions> |
| 950 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 951 | <action function="page">clear_vars</action> |
| 952 | </actions> |
| 953 | </button> |
| 954 | |
| 955 | <button style="main_button_half_height"> |
| 956 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 957 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 958 | <actions> |
| 959 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 960 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 961 | </actions> |
| 962 | </button> |
| 963 | |
| 964 | <action> |
| 965 | <touch key="home"/> |
| 966 | <actions> |
| 967 | <action function="set">tw_clear_destination=main2</action> |
| 968 | <action function="page">clear_vars</action> |
| 969 | </actions> |
| 970 | </action> |
| 971 | |
| 972 | <action> |
| 973 | <touch key="back"/> |
| 974 | <actions> |
| 975 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 976 | <action function="page">clear_vars</action> |
| 977 | </actions> |
| 978 | </action> |
| 979 | </page> |
| 980 | |
| 981 | <page name="filecheck"> |
| 982 | <action> |
| 983 | <action function="fileexists">%tw_filecheck%</action> |
| 984 | </action> |
| 985 | |
| 986 | <action> |
| 987 | <conditions> |
| 988 | <condition var1="tw_operation_state" var2="1"/> |
| 989 | <condition var1="tw_operation_status" var2="0"/> |
| 990 | </conditions> |
| 991 | <actions> |
| 992 | <action function="set">tw_fileexists=1</action> |
| 993 | <action function="page">%tw_existpage%</action> |
| 994 | </actions> |
| 995 | </action> |
| 996 | |
| 997 | <action> |
| 998 | <conditions> |
| 999 | <condition var1="tw_operation_state" var2="1"/> |
| 1000 | <condition var1="tw_operation_status" var2="1"/> |
| 1001 | </conditions> |
| 1002 | <actions> |
| 1003 | <action function="set">tw_fileexists=0</action> |
| 1004 | <action function="page">%tw_notexistpage%</action> |
| 1005 | </actions> |
| 1006 | </action> |
| 1007 | </page> |
| 1008 | |
| 1009 | <page name="rebootcheck"> |
| 1010 | <action> |
| 1011 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 1012 | <action function="reboot">%tw_reboot_param%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1013 | </action> |
| 1014 | |
| 1015 | <action> |
| 1016 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1017 | <action function="page">confirm_action</action> |
| 1018 | </action> |
| 1019 | </page> |
| 1020 | |
| 1021 | <page name="wipe"> |
| 1022 | <template name="page"/> |
| 1023 | |
| 1024 | <text style="text_l"> |
| 1025 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1026 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1027 | </text> |
| 1028 | |
| 1029 | <text style="text_m"> |
| 1030 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1031 | <text>{@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1032 | </text> |
| 1033 | |
| 1034 | <text style="text_m_accent"> |
| 1035 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1036 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1037 | </text> |
| 1038 | |
| 1039 | <text style="text_m_accent"> |
bigbiff | adc599e | 2020-05-28 19:36:30 +0000 | [diff] [blame] | 1040 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1041 | <text>{@factory_reset5=(not including users/lockscreen)}</text> |
| 1042 | </text> |
| 1043 | |
| 1044 | <text style="text_m_accent"> |
| 1045 | <condition var1="tw_has_data_media" var2="1"/> |
| 1046 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1047 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1048 | </text> |
| 1049 | |
| 1050 | <text style="text_m_accent"> |
| 1051 | <conditions> |
| 1052 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1053 | <condition var1="fileexists" var2="/and-sec"/> |
| 1054 | </conditions> |
| 1055 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1056 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1057 | </text> |
| 1058 | |
| 1059 | <text style="text_m_accent"> |
| 1060 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1061 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1062 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1063 | </text> |
| 1064 | |
| 1065 | <text style="text_m"> |
| 1066 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1067 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1068 | </text> |
| 1069 | |
| 1070 | <text style="text_m"> |
| 1071 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1072 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1073 | </text> |
| 1074 | |
| 1075 | <text style="text_m"> |
| 1076 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1077 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1078 | </text> |
| 1079 | |
| 1080 | <button style="main_button_half_height"> |
| 1081 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1082 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1083 | <actions> |
| 1084 | <action function="set">partitionlisterror=0</action> |
| 1085 | <action function="page">advancedwipe</action> |
| 1086 | </actions> |
| 1087 | </button> |
| 1088 | |
| 1089 | <button style="main_button_half_height"> |
| 1090 | <condition var1="tw_has_data_media" var2="1"/> |
| 1091 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1092 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1093 | <action function="page">formatdata</action> |
| 1094 | </button> |
| 1095 | |
| 1096 | <button style="main_button_half_height"> |
| 1097 | <conditions> |
| 1098 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1099 | <condition var1="tw_has_data_media" var2="0"/> |
| 1100 | </conditions> |
| 1101 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1102 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1103 | <actions> |
| 1104 | <action function="set">tw_back=wipe</action> |
| 1105 | <action function="set">tw_action=wipe</action> |
| 1106 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1107 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1108 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1109 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1110 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1111 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1112 | <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] | 1113 | <action function="page">confirm_action</action> |
| 1114 | </actions> |
| 1115 | </button> |
| 1116 | |
| 1117 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1118 | <text>{@swipe_factory_reset=Swipe to Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1119 | <actions> |
| 1120 | <action function="set">tw_back=wipe</action> |
| 1121 | <action function="set">tw_action=wipe</action> |
| 1122 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1123 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1124 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1125 | <action function="page">action_page</action> |
| 1126 | </actions> |
| 1127 | </slider> |
| 1128 | |
| 1129 | <action> |
| 1130 | <touch key="back"/> |
| 1131 | <action function="page">main</action> |
| 1132 | </action> |
| 1133 | |
| 1134 | <action> |
| 1135 | <touch key="home"/> |
| 1136 | <action function="page">main</action> |
| 1137 | </action> |
| 1138 | </page> |
| 1139 | |
| 1140 | <page name="advancedwipe"> |
| 1141 | <template name="page"/> |
| 1142 | |
| 1143 | <action> |
| 1144 | <action function="set">tw_wipe_list=</action> |
| 1145 | </action> |
| 1146 | |
| 1147 | <text style="text_l"> |
| 1148 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1149 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1150 | </text> |
| 1151 | |
| 1152 | <text style="text_m"> |
| 1153 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1154 | <text>{@advanced_wipe_hdr=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1155 | </text> |
| 1156 | |
| 1157 | <partitionlist> |
| 1158 | <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1159 | <text>{@sel_part_wipe=Select Partitions to Wipe:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1160 | <data name="tw_wipe_list"/> |
| 1161 | <listtype name="wipe"/> |
| 1162 | </partitionlist> |
| 1163 | |
| 1164 | <text style="text_m_fail"> |
| 1165 | <condition var1="partitionlisterror" var2="1"/> |
| 1166 | <placement x="%center_x%" y="%row17_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1167 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1168 | </text> |
| 1169 | |
| 1170 | <button style="main_button_half_height_full_width"> |
| 1171 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1172 | <text>{@repair_change_btn=Repair or Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1173 | <actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1174 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1175 | <action function="page">checkpartitionlist</action> |
| 1176 | </actions> |
| 1177 | </button> |
| 1178 | |
| 1179 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1180 | <text>{@swipe_wipe=Swipe to Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1181 | <actions> |
| 1182 | <action function="set">tw_back=advancedwipe</action> |
| 1183 | <action function="set">tw_action=wipe</action> |
| 1184 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1185 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1186 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1187 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1188 | <action function="page">action_page</action> |
| 1189 | </actions> |
| 1190 | </slider> |
| 1191 | |
| 1192 | <action> |
| 1193 | <touch key="home"/> |
| 1194 | <action function="page">main</action> |
| 1195 | </action> |
| 1196 | |
| 1197 | <action> |
| 1198 | <touch key="back"/> |
| 1199 | <action function="page">wipe</action> |
| 1200 | </action> |
| 1201 | </page> |
| 1202 | |
| 1203 | <page name="formatdata"> |
| 1204 | <template name="page"/> |
| 1205 | |
| 1206 | <text style="text_l"> |
| 1207 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1208 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1209 | </text> |
| 1210 | |
| 1211 | <text style="text_m"> |
| 1212 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1213 | <text>{@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1214 | </text> |
| 1215 | |
| 1216 | <text style="text_m_fail"> |
| 1217 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1218 | <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1219 | </text> |
| 1220 | |
| 1221 | <text style="text_m_fail"> |
| 1222 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1223 | <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1224 | </text> |
| 1225 | |
| 1226 | <text style="text_m_fail"> |
| 1227 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1228 | <text>{@format_data_ptr3=removes encryption on internal storage.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1229 | </text> |
| 1230 | |
Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 1231 | <text style="text_m_fail"> |
| 1232 | <condition var1="tw_has_adopted_storage" var2="1"/> |
| 1233 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 1234 | <text>{@format_data_adopted=Including Adopted Storage}</text> |
| 1235 | </text> |
| 1236 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1237 | <text style="text_m"> |
| 1238 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1239 | <text>{@format_data_undo=This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1240 | </text> |
| 1241 | |
| 1242 | <text style="text_m"> |
| 1243 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1244 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1245 | </text> |
| 1246 | |
| 1247 | <input> |
| 1248 | <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/> |
| 1249 | <text>%tw_confirm_formatdata%</text> |
| 1250 | <data name="tw_confirm_formatdata"/> |
| 1251 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1252 | <action function="page">formatdata_confirm</action> |
| 1253 | </input> |
| 1254 | |
| 1255 | <fill color="%accent_color%"> |
| 1256 | <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/> |
| 1257 | </fill> |
| 1258 | |
| 1259 | <template name="keyboardtemplate"/> |
| 1260 | |
| 1261 | <action> |
| 1262 | <touch key="home"/> |
| 1263 | <action function="page">main</action> |
| 1264 | </action> |
| 1265 | |
| 1266 | <action> |
| 1267 | <touch key="back"/> |
| 1268 | <action function="page">wipe</action> |
| 1269 | </action> |
| 1270 | </page> |
| 1271 | |
| 1272 | <page name="formatdata_confirm"> |
| 1273 | <action> |
| 1274 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1275 | <actions> |
| 1276 | <action function="set">tw_back=formatdata</action> |
| 1277 | <action function="set">tw_action=wipe</action> |
| 1278 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1279 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1280 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1281 | <action function="page">action_page</action> |
| 1282 | </actions> |
| 1283 | </action> |
| 1284 | |
| 1285 | <action> |
| 1286 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1287 | <action function="page">formatdata</action> |
| 1288 | </action> |
| 1289 | </page> |
| 1290 | |
| 1291 | <page name="checkpartitionlist"> |
| 1292 | <action> |
| 1293 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1294 | <actions> |
| 1295 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1296 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1297 | <action function="page">partitionoptions</action> |
| 1298 | </actions> |
| 1299 | </action> |
| 1300 | |
| 1301 | <action> |
| 1302 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1303 | <actions> |
| 1304 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1305 | <action function="page">advancedwipe</action> |
| 1306 | </actions> |
| 1307 | </action> |
| 1308 | </page> |
| 1309 | |
| 1310 | <page name="partitionoptions"> |
| 1311 | <template name="page"/> |
| 1312 | |
| 1313 | <text style="text_l"> |
| 1314 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1315 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1316 | </text> |
| 1317 | |
| 1318 | <text style="text_m"> |
| 1319 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1320 | <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1321 | </text> |
| 1322 | |
| 1323 | <text style="text_m_accent"> |
| 1324 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1325 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1326 | </text> |
| 1327 | |
| 1328 | <text style="text_m_accent"> |
| 1329 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1330 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1331 | </text> |
| 1332 | |
| 1333 | <text style="text_m"> |
| 1334 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1335 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1336 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1337 | </text> |
| 1338 | |
| 1339 | <text style="text_m"> |
| 1340 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1341 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1342 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1343 | </text> |
| 1344 | |
| 1345 | <text style="text_m"> |
| 1346 | <condition var1="tw_partition_removable" var2="1"/> |
| 1347 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1348 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1349 | </text> |
| 1350 | |
| 1351 | <text style="text_m"> |
| 1352 | <condition var1="tw_partition_removable" var2="0"/> |
| 1353 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1354 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1355 | </text> |
| 1356 | |
| 1357 | <text style="text_m"> |
| 1358 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1359 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1360 | </text> |
| 1361 | |
| 1362 | <text style="text_m"> |
| 1363 | <placement x="%center_x%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1364 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1365 | </text> |
| 1366 | |
| 1367 | <text style="text_m"> |
| 1368 | <placement x="%indent%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1369 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1370 | </text> |
| 1371 | |
| 1372 | <text style="text_m"> |
| 1373 | <placement x="%center_x%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1374 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1375 | </text> |
| 1376 | |
| 1377 | <button style="main_button_half_height"> |
| 1378 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1379 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1380 | <text>{@resize_btn=Resize File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1381 | <actions> |
| 1382 | <action function="set">tw_back=partitionoptions</action> |
| 1383 | <action function="set">tw_action=resize</action> |
| 1384 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1385 | <action function="set">tw_has_action2=1</action> |
| 1386 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1387 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1388 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1389 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1390 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1391 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1392 | <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1393 | <action function="page">confirm_action</action> |
| 1394 | </actions> |
| 1395 | </button> |
| 1396 | |
| 1397 | <button style="main_button_half_height"> |
| 1398 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1399 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1400 | <text>{@repair_btn=Repair File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1401 | <actions> |
| 1402 | <action function="set">tw_back=partitionoptions</action> |
| 1403 | <action function="set">tw_action=repair</action> |
| 1404 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1405 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1406 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1407 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1408 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1409 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1410 | <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1411 | <action function="page">confirm_action</action> |
| 1412 | </actions> |
| 1413 | </button> |
| 1414 | |
| 1415 | <button style="main_button_half_height"> |
| 1416 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1417 | <text>{@change_fs_btn=Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1418 | <action function="page">selectfilesystem</action> |
| 1419 | </button> |
| 1420 | |
| 1421 | <action> |
| 1422 | <touch key="home"/> |
| 1423 | <action function="page">main</action> |
| 1424 | </action> |
| 1425 | |
| 1426 | <action> |
| 1427 | <touch key="back"/> |
| 1428 | <action function="page">advancedwipe</action> |
| 1429 | </action> |
| 1430 | </page> |
| 1431 | |
| 1432 | <page name="refreshfilesystem"> |
| 1433 | <action> |
| 1434 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1435 | <actions> |
| 1436 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1437 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1438 | <action function="page">selectfilesystem</action> |
| 1439 | </actions> |
| 1440 | </action> |
| 1441 | |
| 1442 | <action> |
| 1443 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1444 | <actions> |
| 1445 | <action function="set">partitionlisterror=1</action> |
| 1446 | <action function="set">tw_wipe_list=</action> |
| 1447 | <action function="page">advancedwipe</action> |
| 1448 | </actions> |
| 1449 | </action> |
| 1450 | </page> |
| 1451 | |
| 1452 | <page name="selectfilesystem"> |
| 1453 | <template name="page"/> |
| 1454 | |
| 1455 | <text style="text_l"> |
| 1456 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1457 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1458 | </text> |
| 1459 | |
| 1460 | <text style="text_m"> |
| 1461 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1462 | <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1463 | </text> |
| 1464 | |
| 1465 | <text style="text_m_accent"> |
| 1466 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1467 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1468 | </text> |
| 1469 | |
| 1470 | <text style="text_m_accent"> |
| 1471 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1472 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1473 | </text> |
| 1474 | |
| 1475 | <text style="text_m_fail"> |
| 1476 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1477 | <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1478 | </text> |
| 1479 | |
| 1480 | <text style="text_m_fail"> |
| 1481 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1482 | <text>{@change_fs_warn2=file systems. Proceed with caution!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1483 | </text> |
| 1484 | |
| 1485 | <button style="main_button_half_height"> |
| 1486 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1487 | <placement x="%indent%" y="%row15a_y%"/> |
| 1488 | <text>EXT2</text> |
| 1489 | <actions> |
| 1490 | <action function="set">tw_back=refreshfilesystem</action> |
| 1491 | <action function="set">tw_action=changefilesystem</action> |
| 1492 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1493 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1494 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1495 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1496 | <action function="set">tw_text2=EXT2</action> |
| 1497 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1498 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1499 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1500 | <action function="page">confirm_action</action> |
| 1501 | </actions> |
| 1502 | </button> |
| 1503 | |
| 1504 | <button style="main_button_half_height"> |
| 1505 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1506 | <placement x="%indent%" y="%row18a_y%"/> |
| 1507 | <text>EXT3</text> |
| 1508 | <actions> |
| 1509 | <action function="set">tw_back=refreshfilesystem</action> |
| 1510 | <action function="set">tw_action=changefilesystem</action> |
| 1511 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1512 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1513 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1514 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1515 | <action function="set">tw_text2=EXT3</action> |
| 1516 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1517 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1518 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1519 | <action function="page">confirm_action</action> |
| 1520 | </actions> |
| 1521 | </button> |
| 1522 | |
| 1523 | <button style="main_button_half_height"> |
| 1524 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1525 | <placement x="%indent%" y="%row21a_y%"/> |
| 1526 | <text>EXT4</text> |
| 1527 | <actions> |
| 1528 | <action function="set">tw_back=refreshfilesystem</action> |
| 1529 | <action function="set">tw_action=changefilesystem</action> |
| 1530 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1531 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1532 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1533 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1534 | <action function="set">tw_text2=EXT4</action> |
| 1535 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1536 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1537 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1538 | <action function="page">confirm_action</action> |
| 1539 | </actions> |
| 1540 | </button> |
| 1541 | |
| 1542 | <button style="main_button_half_height"> |
| 1543 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1544 | <placement x="%center_x%" y="%row15a_y%"/> |
| 1545 | <text>FAT</text> |
| 1546 | <actions> |
| 1547 | <action function="set">tw_back=refreshfilesystem</action> |
| 1548 | <action function="set">tw_action=changefilesystem</action> |
| 1549 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1550 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1551 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1552 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1553 | <action function="set">tw_text2=FAT</action> |
| 1554 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1555 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1556 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1557 | <action function="page">confirm_action</action> |
| 1558 | </actions> |
| 1559 | </button> |
| 1560 | |
| 1561 | <button style="main_button_half_height"> |
| 1562 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1563 | <placement x="%center_x%" y="%row18a_y%"/> |
| 1564 | <text>exFAT</text> |
| 1565 | <actions> |
| 1566 | <action function="set">tw_back=refreshfilesystem</action> |
| 1567 | <action function="set">tw_action=changefilesystem</action> |
| 1568 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1569 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1570 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1571 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1572 | <action function="set">tw_text2=exFAT</action> |
| 1573 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1574 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1575 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1576 | <action function="page">confirm_action</action> |
| 1577 | </actions> |
| 1578 | </button> |
| 1579 | |
| 1580 | <button style="main_button_half_height"> |
| 1581 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1582 | <placement x="%center_x%" y="%row21a_y%"/> |
| 1583 | <text>F2FS</text> |
| 1584 | <actions> |
| 1585 | <action function="set">tw_back=refreshfilesystem</action> |
| 1586 | <action function="set">tw_action=changefilesystem</action> |
| 1587 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1588 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1589 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1590 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1591 | <action function="set">tw_text2=F2FS</action> |
| 1592 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1593 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1594 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1595 | <action function="page">confirm_action</action> |
| 1596 | </actions> |
| 1597 | </button> |
| 1598 | |
| 1599 | <action> |
| 1600 | <touch key="home"/> |
| 1601 | <action function="page">main</action> |
| 1602 | </action> |
| 1603 | |
| 1604 | <action> |
| 1605 | <touch key="back"/> |
| 1606 | <action function="page">partitionoptions</action> |
| 1607 | </action> |
| 1608 | </page> |
| 1609 | |
| 1610 | <page name="backup"> |
| 1611 | <template name="page"/> |
| 1612 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1613 | <action> |
| 1614 | <conditions> |
| 1615 | <condition var1="tw_is_fbe" var2="1"/> |
| 1616 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 1617 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 1618 | </conditions> |
| 1619 | <actions> |
| 1620 | <action function="set">tw_multiuser_warning_destination=backup</action> |
| 1621 | <action function="page">multiuser_warning</action> |
| 1622 | </actions> |
| 1623 | </action> |
| 1624 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1625 | <text style="text_l"> |
| 1626 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1627 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1628 | </text> |
| 1629 | |
| 1630 | <text style="text_m"> |
| 1631 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1632 | <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] | 1633 | </text> |
| 1634 | |
| 1635 | <template name="tabs_backup"/> |
| 1636 | |
| 1637 | <fill color="%text_color%"> |
| 1638 | <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1639 | </fill> |
| 1640 | |
| 1641 | <button style="tab"> |
| 1642 | <conditions> |
| 1643 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1644 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1645 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1646 | </conditions> |
| 1647 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1648 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1649 | <font resource="font_s" color="%text_color%"/> |
| 1650 | <actions> |
| 1651 | <action function="set">tw_password_not_match=0</action> |
| 1652 | <action function="page">backupencryption</action> |
| 1653 | </actions> |
| 1654 | </button> |
| 1655 | |
| 1656 | <button style="tab"> |
| 1657 | <conditions> |
| 1658 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1659 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1660 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1661 | </conditions> |
| 1662 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1663 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1664 | <font resource="font_s" color="%text_success_color%"/> |
| 1665 | <actions> |
| 1666 | <action function="set">tw_password_not_match=0</action> |
| 1667 | <action function="page">backupencryption</action> |
| 1668 | </actions> |
| 1669 | </button> |
| 1670 | |
| 1671 | <text style="text_m_accent"> |
| 1672 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1673 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1674 | </text> |
| 1675 | |
| 1676 | <text style="text_m"> |
| 1677 | <placement x="%indent%" y="%row4a_y%"/> |
| 1678 | <text>%tw_backup_name%</text> |
| 1679 | </text> |
| 1680 | |
| 1681 | <fill color="%fileselector_linecolor%"> |
| 1682 | <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/> |
| 1683 | </fill> |
| 1684 | |
| 1685 | <button> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1686 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1687 | <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/> |
| 1688 | <fill color="%transparent%"/> |
| 1689 | <actions> |
| 1690 | <action function="set">tw_fileexists=0</action> |
| 1691 | <action function="page">backupname1</action> |
| 1692 | </actions> |
| 1693 | </button> |
| 1694 | |
| 1695 | <partitionlist> |
| 1696 | <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1697 | <text>{@sel_part_backup=Select Partitions to Backup:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1698 | <data name="tw_backup_list"/> |
| 1699 | <listtype name="backup"/> |
| 1700 | </partitionlist> |
| 1701 | |
| 1702 | <button style="main_button_half_height"> |
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 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1705 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1706 | <actions> |
| 1707 | <action function="set">tw_back=backup</action> |
| 1708 | <action function="overlay">select_storage</action> |
| 1709 | </actions> |
| 1710 | </button> |
| 1711 | |
| 1712 | <button style="main_button_half_height"> |
| 1713 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1714 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1715 | <actions> |
| 1716 | <action function="refreshsizes"/> |
| 1717 | <action function="page">backup</action> |
| 1718 | </actions> |
| 1719 | </button> |
| 1720 | |
| 1721 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1722 | <text>{@swipe_backup=Swipe to Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1723 | <action function="page">backup_run</action> |
| 1724 | </slider> |
| 1725 | |
| 1726 | <action> |
| 1727 | <touch key="home"/> |
| 1728 | <action function="page">main</action> |
| 1729 | </action> |
| 1730 | |
| 1731 | <action> |
| 1732 | <touch key="back"/> |
| 1733 | <action function="page">main</action> |
| 1734 | </action> |
| 1735 | </page> |
| 1736 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1737 | <page name="multiuser_warning"> |
| 1738 | <template name="page"/> |
| 1739 | |
| 1740 | <text style="text_l"> |
| 1741 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 1742 | <text>{@multiuser_warning_hdr=Multiuser Warning}</text> |
| 1743 | </text> |
| 1744 | |
| 1745 | <text style="text_m_fail"> |
| 1746 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
| 1747 | <text>{@multiuser_warning1=Not all users decrypted!}</text> |
| 1748 | </text> |
| 1749 | |
| 1750 | <text style="text_m_fail"> |
| 1751 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
| 1752 | <text>{@multiuser_warning2=Backup/restore operations may fail!}</text> |
| 1753 | </text> |
| 1754 | |
| 1755 | <button style="main_button_half_height_full_width"> |
| 1756 | <placement x="%indent%" y="%row18a_y%"/> |
| 1757 | <text>{@decrypt_users=Decrypt Users}</text> |
| 1758 | <action function="page">decrypt_users</action> |
| 1759 | </button> |
| 1760 | |
| 1761 | <slider>> |
| 1762 | <text>{@multiuser_warning_accept=Continue Anyway}</text> |
| 1763 | <actions> |
| 1764 | <action function="set">tw_multiuser_warning_accepted=1</action> |
| 1765 | <action function="page">%tw_multiuser_warning_destination%</action> |
| 1766 | </actions> |
| 1767 | </slider> |
| 1768 | |
| 1769 | <action> |
| 1770 | <touch key="home"/> |
| 1771 | <action function="page">main</action> |
| 1772 | </action> |
| 1773 | |
| 1774 | <action> |
| 1775 | <touch key="back"/> |
| 1776 | <action function="page">main</action> |
| 1777 | </action> |
| 1778 | </page> |
| 1779 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1780 | <page name="backup_options"> |
| 1781 | <template name="page"/> |
| 1782 | |
| 1783 | <text style="text_l"> |
| 1784 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1785 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1786 | </text> |
| 1787 | |
| 1788 | <text style="text_m"> |
| 1789 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1790 | <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] | 1791 | </text> |
| 1792 | |
| 1793 | <template name="tabs_backup"/> |
| 1794 | |
| 1795 | <fill color="%text_color%"> |
| 1796 | <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1797 | </fill> |
| 1798 | |
| 1799 | <button style="tab"> |
| 1800 | <conditions> |
| 1801 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1802 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1803 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1804 | </conditions> |
| 1805 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1806 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1807 | <font resource="font_s" color="%text_color%"/> |
| 1808 | <actions> |
| 1809 | <action function="set">tw_password_not_match=0</action> |
| 1810 | <action function="page">backupencryption</action> |
| 1811 | </actions> |
| 1812 | </button> |
| 1813 | |
| 1814 | <button style="tab"> |
| 1815 | <conditions> |
| 1816 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1817 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1818 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1819 | </conditions> |
| 1820 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1821 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1822 | <font resource="font_s" color="%text_success_color%"/> |
| 1823 | <actions> |
| 1824 | <action function="set">tw_password_not_match=0</action> |
| 1825 | <action function="page">backupencryption</action> |
| 1826 | </actions> |
| 1827 | </button> |
| 1828 | |
| 1829 | <checkbox> |
| 1830 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1831 | <text>{@enable_backup_comp_chk=Enable compression}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1832 | <data variable="tw_use_compression"/> |
| 1833 | </checkbox> |
| 1834 | |
| 1835 | <checkbox> |
| 1836 | <placement x="%indent%" y="%row5_y%"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 1837 | <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text> |
| 1838 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1839 | </checkbox> |
| 1840 | |
| 1841 | <checkbox> |
| 1842 | <placement x="%indent%" y="%row6a_y%"/> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 1843 | <text>{@disable_backup_space_chk=Disable free space check before backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1844 | <data variable="tw_disable_free_space"/> |
| 1845 | </checkbox> |
| 1846 | |
Ethan Yonker | 1b19016 | 2016-12-05 15:25:19 -0600 | [diff] [blame] | 1847 | <text style="text_m"> |
| 1848 | <condition var1="tw_has_boot_slots" var2="1"/> |
Mauronofrio Matarrese | 1ecb6df | 2019-04-04 23:18:43 +0100 | [diff] [blame] | 1849 | <placement x="%center_x%" y="%row18_y%" placement="5"/> |
Ethan Yonker | 1b19016 | 2016-12-05 15:25:19 -0600 | [diff] [blame] | 1850 | <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text> |
| 1851 | </text> |
| 1852 | |
| 1853 | <button style="main_button"> |
| 1854 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 1855 | <placement x="%indent%" y="%row19_y%"/> |
| 1856 | <text>{@boot_slot_a=Slot A}</text> |
| 1857 | <actions> |
| 1858 | <action function="set">tw_back=backup_options</action> |
| 1859 | <action function="set">tw_action=setbootslot</action> |
| 1860 | <action function="set">tw_action_param=A</action> |
| 1861 | <action function="set">tw_has_action2=0</action> |
| 1862 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 1863 | <action function="set">tw_action_text2=</action> |
| 1864 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 1865 | <action function="page">action_page</action> |
| 1866 | </actions> |
| 1867 | </button> |
| 1868 | |
| 1869 | <button style="main_button"> |
| 1870 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 1871 | <placement x="%center_x%" y="%row19_y%"/> |
| 1872 | <text>{@boot_slot_b=Slot B}</text> |
| 1873 | <actions> |
| 1874 | <action function="set">tw_back=backup_options</action> |
| 1875 | <action function="set">tw_action=setbootslot</action> |
| 1876 | <action function="set">tw_action_param=B</action> |
| 1877 | <action function="set">tw_has_action2=0</action> |
| 1878 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 1879 | <action function="set">tw_action_text2=</action> |
| 1880 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 1881 | <action function="page">action_page</action> |
| 1882 | </actions> |
| 1883 | </button> |
| 1884 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1885 | <action> |
| 1886 | <touch key="home"/> |
| 1887 | <action function="page">main</action> |
| 1888 | </action> |
| 1889 | |
| 1890 | <action> |
| 1891 | <touch key="back"/> |
| 1892 | <action function="page">backup</action> |
| 1893 | </action> |
| 1894 | </page> |
| 1895 | |
| 1896 | <page name="backupname1"> |
| 1897 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1898 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1899 | <action function="generatebackupname"/> |
| 1900 | </action> |
| 1901 | |
| 1902 | <action> |
| 1903 | <action function="page">backupname2</action> |
| 1904 | </action> |
| 1905 | </page> |
| 1906 | |
| 1907 | <page name="backupname2"> |
| 1908 | <template name="page"/> |
| 1909 | |
| 1910 | <text style="text_l"> |
| 1911 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1912 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1913 | </text> |
| 1914 | |
| 1915 | <text style="text_m"> |
| 1916 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1917 | <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] | 1918 | </text> |
| 1919 | |
| 1920 | <template name="tabs_backup"/> |
| 1921 | |
| 1922 | <fill color="%text_color%"> |
| 1923 | <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1924 | </fill> |
| 1925 | |
| 1926 | <button style="tab"> |
| 1927 | <conditions> |
| 1928 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1929 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1930 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1931 | </conditions> |
| 1932 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1933 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1934 | <font resource="font_s" color="%text_color%"/> |
| 1935 | <actions> |
| 1936 | <action function="set">tw_password_not_match=0</action> |
| 1937 | <action function="page">backupencryption</action> |
| 1938 | </actions> |
| 1939 | </button> |
| 1940 | |
| 1941 | <button style="tab"> |
| 1942 | <conditions> |
| 1943 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1944 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1945 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1946 | </conditions> |
| 1947 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1948 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1949 | <font resource="font_s" color="%text_success_color%"/> |
| 1950 | <actions> |
| 1951 | <action function="set">tw_password_not_match=0</action> |
| 1952 | <action function="page">backupencryption</action> |
| 1953 | </actions> |
| 1954 | </button> |
| 1955 | |
| 1956 | <text style="text_m_accent"> |
| 1957 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1958 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1959 | </text> |
| 1960 | |
| 1961 | <input> |
| 1962 | <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/> |
| 1963 | <text>%tw_backup_name%</text> |
| 1964 | <data name="tw_backup_name"/> |
| 1965 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 1966 | <actions> |
| 1967 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1968 | <action function="set">tw_existpage=backupname2</action> |
| 1969 | <action function="set">tw_notexistpage=backup</action> |
| 1970 | <action function="page">filecheck</action> |
| 1971 | </actions> |
| 1972 | </input> |
| 1973 | |
| 1974 | <fill color="%accent_color%"> |
| 1975 | <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1976 | </fill> |
| 1977 | |
| 1978 | <fill color="%text_fail_color%"> |
| 1979 | <condition var1="tw_fileexists" var2="1"/> |
| 1980 | <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1981 | </fill> |
| 1982 | |
| 1983 | <text style="text_m_fail"> |
| 1984 | <condition var1="tw_fileexists" var2="1"/> |
| 1985 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1986 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1987 | </text> |
| 1988 | |
| 1989 | <button style="main_button_half_height"> |
| 1990 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1991 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1992 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1993 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1994 | <action function="page">backup</action> |
| 1995 | </actions> |
| 1996 | </button> |
| 1997 | |
| 1998 | <button style="main_button_half_height"> |
| 1999 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2000 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2001 | <action function="appenddatetobackupname"/> |
| 2002 | </button> |
| 2003 | |
| 2004 | <template name="keyboardtemplate"/> |
| 2005 | |
| 2006 | <action> |
| 2007 | <touch key="home"/> |
| 2008 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2009 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2010 | <action function="page">main</action> |
| 2011 | </actions> |
| 2012 | </action> |
| 2013 | |
| 2014 | <action> |
| 2015 | <touch key="back"/> |
| 2016 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2017 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2018 | <action function="page">backup</action> |
| 2019 | </actions> |
| 2020 | </action> |
| 2021 | </page> |
| 2022 | |
| 2023 | <page name="backupencryption"> |
| 2024 | <template name="page"/> |
| 2025 | |
| 2026 | <text style="text_l"> |
| 2027 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2028 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2029 | </text> |
| 2030 | |
| 2031 | <text style="text_m"> |
| 2032 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2033 | <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2034 | </text> |
| 2035 | |
| 2036 | <template name="tabs_backup"/> |
| 2037 | |
| 2038 | <button style="tab"> |
| 2039 | <conditions> |
| 2040 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2041 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2042 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2043 | </conditions> |
| 2044 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2045 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2046 | <font resource="font_s" color="%text_color%"/> |
| 2047 | <actions> |
| 2048 | <action function="set">tw_password_not_match=0</action> |
| 2049 | <action function="page">backupencryption</action> |
| 2050 | </actions> |
| 2051 | </button> |
| 2052 | |
| 2053 | <button style="tab"> |
| 2054 | <conditions> |
| 2055 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2056 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2057 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2058 | </conditions> |
| 2059 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2060 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2061 | <font resource="font_s" color="%text_success_color%"/> |
| 2062 | <actions> |
| 2063 | <action function="set">tw_password_not_match=0</action> |
| 2064 | <action function="page">backupencryption</action> |
| 2065 | </actions> |
| 2066 | </button> |
| 2067 | |
| 2068 | <fill color="%text_color%"> |
| 2069 | <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 2070 | </fill> |
| 2071 | |
| 2072 | <text style="text_m_accent"> |
| 2073 | <placement x="%center_x%" y="%row3a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2074 | <text>{@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2075 | </text> |
| 2076 | |
| 2077 | <text style="text_m"> |
| 2078 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2079 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2080 | </text> |
| 2081 | |
| 2082 | <input> |
| 2083 | <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/> |
| 2084 | <text>%tw_backup_encrypt_display%</text> |
| 2085 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 2086 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2087 | <action function="page">backupencryption2</action> |
| 2088 | </input> |
| 2089 | |
| 2090 | <fill color="%accent_color%"> |
| 2091 | <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2092 | </fill> |
| 2093 | |
| 2094 | <fill color="%text_fail_color%"> |
| 2095 | <condition var1="tw_password_not_match" var2="1"/> |
| 2096 | <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2097 | </fill> |
| 2098 | |
| 2099 | <text style="text_m_fail"> |
| 2100 | <condition var1="tw_password_not_match" var2="1"/> |
| 2101 | <placement x="%indent%" y="%row8a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2102 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2103 | </text> |
| 2104 | |
| 2105 | <button style="main_button_half_height"> |
| 2106 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2107 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2108 | <actions> |
| 2109 | <action function="set">tw_encrypt_backup=0</action> |
| 2110 | <action function="set">tw_backup_password=</action> |
| 2111 | <action function="set">tw_backup_password2=</action> |
| 2112 | <action function="set">tw_backup_encrypt_display=</action> |
| 2113 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2114 | <action function="page">backup</action> |
| 2115 | </actions> |
| 2116 | </button> |
| 2117 | |
| 2118 | <template name="keyboardtemplate"/> |
| 2119 | |
| 2120 | <action> |
| 2121 | <touch key="home"/> |
| 2122 | <action function="page">main</action> |
| 2123 | </action> |
| 2124 | |
| 2125 | <action> |
| 2126 | <touch key="back"/> |
| 2127 | <action function="page">backup</action> |
| 2128 | </action> |
| 2129 | </page> |
| 2130 | |
| 2131 | <page name="backupencryption2"> |
| 2132 | <template name="page"/> |
| 2133 | |
| 2134 | <text style="text_l"> |
| 2135 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2136 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2137 | </text> |
| 2138 | |
| 2139 | <text style="text_m"> |
| 2140 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2141 | <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] | 2142 | </text> |
| 2143 | |
| 2144 | <template name="tabs_backup"/> |
| 2145 | |
| 2146 | <button style="tab"> |
| 2147 | <conditions> |
| 2148 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2149 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2150 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2151 | </conditions> |
| 2152 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2153 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2154 | <font resource="font_s" color="%text_color%"/> |
| 2155 | <actions> |
| 2156 | <action function="set">tw_password_not_match=0</action> |
| 2157 | <action function="page">backupencryption</action> |
| 2158 | </actions> |
| 2159 | </button> |
| 2160 | |
| 2161 | <button style="tab"> |
| 2162 | <conditions> |
| 2163 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2164 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2165 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2166 | </conditions> |
| 2167 | <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2168 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2169 | <font resource="font_s" color="%text_success_color%"/> |
| 2170 | <actions> |
| 2171 | <action function="set">tw_password_not_match=0</action> |
| 2172 | <action function="page">backupencryption</action> |
| 2173 | </actions> |
| 2174 | </button> |
| 2175 | |
| 2176 | <fill color="%text_color%"> |
| 2177 | <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 2178 | </fill> |
| 2179 | |
| 2180 | <text style="text_m_accent"> |
| 2181 | <placement x="%center_x%" y="%row3a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2182 | <text>{@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2183 | </text> |
| 2184 | |
| 2185 | <text style="text_m"> |
| 2186 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2187 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2188 | </text> |
| 2189 | |
| 2190 | <input> |
| 2191 | <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/> |
| 2192 | <text>%tw_backup_encrypt_display2%</text> |
| 2193 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2194 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2195 | <action function="page">checkbackuppassword</action> |
| 2196 | </input> |
| 2197 | |
| 2198 | <fill color="%accent_color%"> |
| 2199 | <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2200 | </fill> |
| 2201 | |
| 2202 | <button style="main_button_half_height"> |
| 2203 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2204 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2205 | <actions> |
| 2206 | <action function="set">tw_encrypt_backup=0</action> |
| 2207 | <action function="set">tw_backup_password=</action> |
| 2208 | <action function="set">tw_backup_password2=</action> |
| 2209 | <action function="set">tw_backup_encrypt_display=</action> |
| 2210 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2211 | <action function="page">backup</action> |
| 2212 | </actions> |
| 2213 | </button> |
| 2214 | |
| 2215 | <template name="keyboardtemplate"/> |
| 2216 | |
| 2217 | <action> |
| 2218 | <touch key="home"/> |
| 2219 | <action function="page">main</action> |
| 2220 | </action> |
| 2221 | |
| 2222 | <action> |
| 2223 | <touch key="back"/> |
| 2224 | <action function="page">backup</action> |
| 2225 | </action> |
| 2226 | </page> |
| 2227 | |
| 2228 | <page name="checkbackuppassword"> |
| 2229 | <action> |
| 2230 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2231 | <actions> |
| 2232 | <action function="set">tw_encrypt_backup=1</action> |
| 2233 | <action function="page">backup</action> |
| 2234 | </actions> |
| 2235 | </action> |
| 2236 | |
| 2237 | <action> |
| 2238 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2239 | <actions> |
| 2240 | <action function="set">tw_encrypt_backup=0</action> |
| 2241 | <action function="set">tw_password_not_match=1</action> |
| 2242 | <action function="set">tw_backup_password=</action> |
| 2243 | <action function="set">tw_backup_password2=</action> |
| 2244 | <action function="set">tw_backup_encrypt_display=</action> |
| 2245 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2246 | <action function="page">backupencryption</action> |
| 2247 | </actions> |
| 2248 | </action> |
| 2249 | </page> |
| 2250 | |
| 2251 | <page name="backup_run"> |
| 2252 | <template name="page"/> |
| 2253 | |
| 2254 | <text style="text_l"> |
| 2255 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2256 | <text>%tw_operation%</text> |
| 2257 | </text> |
| 2258 | |
| 2259 | <text style="text_m"> |
| 2260 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2261 | <text>%tw_partition% Partition</text> |
| 2262 | </text> |
| 2263 | |
| 2264 | <template name="console"/> |
| 2265 | |
| 2266 | <template name="progress_bar"/> |
| 2267 | |
| 2268 | <text style="text_m_accent"> |
| 2269 | <placement x="%indent%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2270 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2271 | </text> |
| 2272 | |
| 2273 | <text style="text_m"> |
| 2274 | <placement x="%indent%" y="%row20_y%"/> |
| 2275 | <text>%tw_file_progress%</text> |
| 2276 | </text> |
| 2277 | |
| 2278 | <text style="text_m"> |
| 2279 | <placement x="%indent%" y="%row21_y%"/> |
| 2280 | <text>%tw_size_progress%</text> |
| 2281 | </text> |
| 2282 | |
| 2283 | <button style="main_button_half_height"> |
| 2284 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2285 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2286 | <action function="cancelbackup"/> |
| 2287 | </button> |
| 2288 | |
| 2289 | <action> |
| 2290 | <action function="nandroid">backup</action> |
| 2291 | </action> |
| 2292 | |
| 2293 | <action> |
| 2294 | <condition var1="tw_operation_state" var2="1"/> |
| 2295 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2296 | <actions> |
| 2297 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2298 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2299 | <action function="set">tw_show_reboot=1</action> |
| 2300 | <action function="page">action_complete</action> |
| 2301 | </actions> |
| 2302 | </action> |
| 2303 | |
| 2304 | <action> |
| 2305 | <condition var1="tw_operation_state" var2="1"/> |
| 2306 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2307 | <actions> |
| 2308 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2309 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2310 | <action function="set">tw_show_reboot=1</action> |
| 2311 | <action function="page">action_complete</action> |
| 2312 | </actions> |
| 2313 | </action> |
| 2314 | </page> |
| 2315 | |
| 2316 | <page name="restore"> |
| 2317 | <template name="page"/> |
| 2318 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2319 | <action> |
| 2320 | <conditions> |
| 2321 | <condition var1="tw_is_fbe" var2="1"/> |
| 2322 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2323 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2324 | </conditions> |
| 2325 | <actions> |
| 2326 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2327 | <action function="page">multiuser_warning</action> |
| 2328 | </actions> |
| 2329 | </action> |
| 2330 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2331 | <text style="text_l"> |
| 2332 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2333 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2334 | </text> |
| 2335 | |
| 2336 | <text style="text_m"> |
| 2337 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2338 | <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] | 2339 | </text> |
| 2340 | |
| 2341 | <template name="sort_options"/> |
| 2342 | |
| 2343 | <fileselector> |
| 2344 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2345 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2346 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2347 | <path name="tw_backups_folder"/> |
| 2348 | <data name="tw_restore" default=""/> |
| 2349 | <selection name="tw_restore_name"/> |
| 2350 | </fileselector> |
| 2351 | |
| 2352 | <button style="main_button_half_height"> |
| 2353 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2354 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2355 | <actions> |
| 2356 | <action function="set">tw_back=restore</action> |
| 2357 | <action function="overlay">select_storage</action> |
| 2358 | </actions> |
| 2359 | </button> |
| 2360 | |
| 2361 | <action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2362 | <condition var1="tw_crypto_pwtype" op="!=" var2="0"/> |
| 2363 | <actions> |
| 2364 | <action function="page">restore_keymaster</action> |
| 2365 | </actions> |
| 2366 | </action> |
| 2367 | |
| 2368 | <action> |
| 2369 | <condition var1="tw_restore" op="modified"/> |
| 2370 | <actions> |
| 2371 | <action function="readBackup"/> |
| 2372 | <action function="page">restore_read</action> |
| 2373 | </actions> |
| 2374 | </action> |
| 2375 | |
| 2376 | <action> |
| 2377 | <touch key="home"/> |
| 2378 | <action function="page">main</action> |
| 2379 | </action> |
| 2380 | |
| 2381 | <action> |
| 2382 | <touch key="back"/> |
| 2383 | <action function="page">main</action> |
| 2384 | </action> |
| 2385 | </page> |
| 2386 | |
| 2387 | |
| 2388 | <page name="restore_force"> |
| 2389 | <template name="page"/> |
| 2390 | |
| 2391 | <action> |
| 2392 | <conditions> |
| 2393 | <condition var1="tw_is_fbe" var2="1"/> |
| 2394 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2395 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2396 | </conditions> |
| 2397 | <actions> |
| 2398 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2399 | <action function="page">multiuser_warning</action> |
| 2400 | </actions> |
| 2401 | </action> |
| 2402 | |
| 2403 | <text style="text_l"> |
| 2404 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2405 | <text>{@restore_hdr=Restore}</text> |
| 2406 | </text> |
| 2407 | |
| 2408 | <text style="text_m"> |
| 2409 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2410 | <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 2411 | </text> |
| 2412 | |
| 2413 | <template name="sort_options"/> |
| 2414 | |
| 2415 | <fileselector> |
| 2416 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 2417 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
| 2418 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
| 2419 | <path name="tw_backups_folder"/> |
| 2420 | <data name="tw_restore" default=""/> |
| 2421 | <selection name="tw_restore_name"/> |
| 2422 | </fileselector> |
| 2423 | |
| 2424 | <button style="main_button_half_height"> |
| 2425 | <placement x="%indent%" y="%row21a_y%"/> |
| 2426 | <text>{@select_storage_btn=Select Storage}</text> |
| 2427 | <actions> |
| 2428 | <action function="set">tw_back=restore</action> |
| 2429 | <action function="overlay">select_storage</action> |
| 2430 | </actions> |
| 2431 | </button> |
| 2432 | |
| 2433 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2434 | <condition var1="tw_restore" op="modified"/> |
| 2435 | <actions> |
| 2436 | <action function="readBackup"/> |
| 2437 | <action function="page">restore_read</action> |
| 2438 | </actions> |
| 2439 | </action> |
| 2440 | |
| 2441 | <action> |
| 2442 | <touch key="home"/> |
| 2443 | <action function="page">main</action> |
| 2444 | </action> |
| 2445 | |
| 2446 | <action> |
| 2447 | <touch key="back"/> |
| 2448 | <action function="page">main</action> |
| 2449 | </action> |
| 2450 | </page> |
| 2451 | |
| 2452 | <page name="restore_read"> |
| 2453 | <action> |
| 2454 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2455 | <actions> |
| 2456 | <action function="set">tw_password_fail=0</action> |
| 2457 | <action function="page">restore_decrypt</action> |
| 2458 | </actions> |
| 2459 | </action> |
| 2460 | |
| 2461 | <action> |
| 2462 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2463 | <actions> |
| 2464 | <action function="page">restore_select</action> |
| 2465 | </actions> |
| 2466 | </action> |
| 2467 | </page> |
| 2468 | |
| 2469 | <page name="restore_decrypt"> |
| 2470 | <template name="page"/> |
| 2471 | |
| 2472 | <text style="text_l"> |
| 2473 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2474 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2475 | </text> |
| 2476 | |
| 2477 | <text style="text_m"> |
| 2478 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2479 | <text>{@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2480 | </text> |
| 2481 | |
| 2482 | <text style="text_m_accent"> |
| 2483 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2484 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2485 | </text> |
| 2486 | |
| 2487 | <input> |
| 2488 | <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 2489 | <text>%tw_restore_display%</text> |
| 2490 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2491 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2492 | <action function="page">try_restore_decrypt</action> |
| 2493 | </input> |
| 2494 | |
| 2495 | <fill color="%accent_color%"> |
| 2496 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2497 | </fill> |
| 2498 | |
| 2499 | <fill color="%text_fail_color%"> |
| 2500 | <condition var1="tw_password_fail" var2="1"/> |
| 2501 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2502 | </fill> |
| 2503 | |
| 2504 | <text style="text_m_fail"> |
| 2505 | <condition var1="tw_password_fail" var2="1"/> |
| 2506 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2507 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2508 | </text> |
| 2509 | |
| 2510 | <button style="main_button_half_height"> |
| 2511 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2512 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2513 | <actions> |
| 2514 | <action function="set">tw_page_done=1</action> |
| 2515 | <action function="page">restore</action> |
| 2516 | </actions> |
| 2517 | </button> |
| 2518 | |
| 2519 | <button style="main_button_half_height"> |
| 2520 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2521 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2522 | <actions> |
| 2523 | <action function="set">tw_back=restore</action> |
| 2524 | <action function="set">tw_action=cmd</action> |
| 2525 | <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] | 2526 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2527 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2528 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2529 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2530 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2531 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2532 | <action function="page">confirm_action</action> |
| 2533 | </actions> |
| 2534 | </button> |
| 2535 | |
| 2536 | <template name="keyboardtemplate"/> |
| 2537 | |
| 2538 | <action> |
| 2539 | <touch key="home"/> |
| 2540 | <action function="page">main</action> |
| 2541 | </action> |
| 2542 | |
| 2543 | <action> |
| 2544 | <touch key="back"/> |
| 2545 | <action function="page">restore</action> |
| 2546 | </action> |
| 2547 | </page> |
| 2548 | |
| 2549 | <page name="try_restore_decrypt"> |
| 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>{@restore_hdr=Restore}</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>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2560 | </text> |
| 2561 | |
| 2562 | <template name="console"/> |
| 2563 | |
| 2564 | <template name="progress_bar"/> |
| 2565 | |
| 2566 | <action> |
| 2567 | <action function="decrypt_backup"/> |
| 2568 | </action> |
| 2569 | |
| 2570 | <action> |
| 2571 | <conditions> |
| 2572 | <condition var1="tw_operation_state" var2="1"/> |
| 2573 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2574 | </conditions> |
| 2575 | <actions> |
| 2576 | <action function="set">tw_password_fail=1</action> |
| 2577 | <action function="page">restore_decrypt</action> |
| 2578 | </actions> |
| 2579 | </action> |
| 2580 | |
| 2581 | <action> |
| 2582 | <conditions> |
| 2583 | <condition var1="tw_operation_state" var2="1"/> |
| 2584 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2585 | </conditions> |
| 2586 | <actions> |
| 2587 | <action function="set">tw_page_done=1</action> |
| 2588 | <action function="page">restore_select</action> |
| 2589 | </actions> |
| 2590 | </action> |
| 2591 | </page> |
| 2592 | |
| 2593 | <page name="restore_select"> |
| 2594 | <template name="page"/> |
| 2595 | |
| 2596 | <text style="text_l"> |
| 2597 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2598 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2599 | </text> |
| 2600 | |
| 2601 | <text style="text_m"> |
| 2602 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2603 | <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2604 | </text> |
| 2605 | |
| 2606 | <text style="text_m_accent"> |
| 2607 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2608 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2609 | </text> |
| 2610 | |
| 2611 | <text style="text_m"> |
| 2612 | <placement x="%indent%" y="%row3_y%"/> |
| 2613 | <text>%tw_restore_name%</text> |
| 2614 | </text> |
| 2615 | |
| 2616 | <fill color="%fileselector_linecolor%"> |
| 2617 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/> |
| 2618 | </fill> |
| 2619 | |
| 2620 | <button> |
| 2621 | <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/> |
| 2622 | <fill color="%transparent%"/> |
| 2623 | <actions> |
| 2624 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2625 | <action function="set">tw_fileexists=0</action> |
| 2626 | <action function="page">renamebackup</action> |
| 2627 | </actions> |
| 2628 | </button> |
| 2629 | |
| 2630 | <partitionlist> |
| 2631 | <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2632 | <text>{@restore_sel_part=Select Partitions to Restore:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2633 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2634 | <listtype name="restore"/> |
| 2635 | </partitionlist> |
| 2636 | |
| 2637 | <checkbox> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2638 | <condition var1="tw_enable_adb_backup" op="=" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2639 | <placement x="%indent%" y="%row17_y%"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2640 | <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text> |
| 2641 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2642 | </checkbox> |
| 2643 | |
| 2644 | <button style="main_button_half_height"> |
| 2645 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2646 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2647 | <actions> |
| 2648 | <action function="set">tw_back=restore</action> |
| 2649 | <action function="set">tw_action=cmd</action> |
| 2650 | <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] | 2651 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2652 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2653 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2654 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2655 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2656 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2657 | <action function="page">confirm_action</action> |
| 2658 | </actions> |
| 2659 | </button> |
| 2660 | |
| 2661 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2662 | <text>{@swipe_restore=Swipe to Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2663 | <action function="page">restore_run</action> |
| 2664 | </slider> |
| 2665 | |
| 2666 | <action> |
| 2667 | <touch key="home"/> |
| 2668 | <action function="page">main</action> |
| 2669 | </action> |
| 2670 | |
| 2671 | <action> |
| 2672 | <touch key="back"/> |
| 2673 | <action function="page">restore</action> |
| 2674 | </action> |
| 2675 | </page> |
| 2676 | |
| 2677 | <page name="renamebackup"> |
| 2678 | <template name="page"/> |
| 2679 | |
| 2680 | <text style="text_l"> |
| 2681 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2682 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2683 | </text> |
| 2684 | |
| 2685 | <text style="text_m"> |
| 2686 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2687 | <text>{@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2688 | </text> |
| 2689 | |
| 2690 | <text style="text_m_accent"> |
| 2691 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2692 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2693 | </text> |
| 2694 | |
| 2695 | <input> |
| 2696 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 2697 | <text>%tw_backup_rename%</text> |
| 2698 | <data name="tw_backup_rename"/> |
| 2699 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2700 | <actions> |
| 2701 | <action function="set">tw_back=restore</action> |
| 2702 | <action function="set">tw_action=cmd</action> |
| 2703 | <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] | 2704 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2705 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2706 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2707 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2708 | <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2709 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2710 | <action function="set">tw_existpage=renamebackup</action> |
| 2711 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2712 | <action function="page">filecheck</action> |
| 2713 | </actions> |
| 2714 | </input> |
| 2715 | |
| 2716 | <fill color="%accent_color%"> |
| 2717 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2718 | </fill> |
| 2719 | |
| 2720 | <fill color="%text_fail_color%"> |
| 2721 | <condition var1="tw_fileexists" var2="1"/> |
| 2722 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2723 | </fill> |
| 2724 | |
| 2725 | <text style="text_m_fail"> |
| 2726 | <condition var1="tw_fileexists" var2="1"/> |
| 2727 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2728 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2729 | </text> |
| 2730 | |
| 2731 | <button style="main_button_half_height"> |
| 2732 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2733 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2734 | <action function="page">restore_select</action> |
| 2735 | </button> |
| 2736 | |
| 2737 | <template name="keyboardtemplate"/> |
| 2738 | |
| 2739 | <action> |
| 2740 | <touch key="home"/> |
| 2741 | <action function="page">main</action> |
| 2742 | </action> |
| 2743 | |
| 2744 | <action> |
| 2745 | <touch key="back"/> |
| 2746 | <action function="page">restore_select</action> |
| 2747 | </action> |
| 2748 | </page> |
| 2749 | |
| 2750 | <page name="restore_run"> |
| 2751 | <template name="page"/> |
| 2752 | |
| 2753 | <text style="text_l"> |
| 2754 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2755 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2756 | </text> |
| 2757 | |
| 2758 | <text style="text_m"> |
| 2759 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2760 | <text>%tw_operation% %tw_partition%</text> |
| 2761 | </text> |
| 2762 | |
| 2763 | <template name="console"/> |
| 2764 | |
| 2765 | <template name="progress_bar"/> |
| 2766 | |
| 2767 | <text style="text_m_accent"> |
| 2768 | <placement x="%indent%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2769 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2770 | </text> |
| 2771 | |
| 2772 | <text style="text_m"> |
| 2773 | <placement x="%indent%" y="%row20_y%"/> |
| 2774 | <text>%tw_size_progress%</text> |
| 2775 | </text> |
| 2776 | |
| 2777 | <action> |
| 2778 | <condition var1="tw_operation_state" var2="1"/> |
| 2779 | <actions> |
| 2780 | <action function="set">tw_back=restore_select</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2781 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2782 | <action function="set">tw_show_reboot=1</action> |
| 2783 | <action function="page">action_complete</action> |
| 2784 | </actions> |
| 2785 | </action> |
| 2786 | |
| 2787 | <action> |
| 2788 | <action function="nandroid">restore</action> |
| 2789 | </action> |
| 2790 | </page> |
| 2791 | |
| 2792 | <page name="mount"> |
| 2793 | <template name="page"/> |
| 2794 | |
| 2795 | <text style="text_l"> |
| 2796 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2797 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2798 | </text> |
| 2799 | |
| 2800 | <text style="text_m"> |
| 2801 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2802 | <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] | 2803 | </text> |
| 2804 | |
| 2805 | <partitionlist> |
| 2806 | <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2807 | <text>{@mount_sel_part=Select Partitions to Mount:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2808 | <listtype name="mount"/> |
| 2809 | </partitionlist> |
| 2810 | |
| 2811 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2812 | <conditions> |
bigbiff | b640d97 | 2021-10-12 19:08:10 -0400 | [diff] [blame] | 2813 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2814 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2815 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2816 | <placement x="%indent%" y="%row15a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2817 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2818 | <image resource="checkbox_false"/> |
| 2819 | <action function="mountsystemtoggle">1</action> |
| 2820 | </button> |
| 2821 | |
| 2822 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 2823 | <conditions> |
| 2824 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2825 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 2826 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2827 | <placement x="%indent%" y="%row15a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2828 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2829 | <image resource="checkbox_true"/> |
| 2830 | <actions> |
| 2831 | <action function="set">tw_lifetime_writes=2</action> |
| 2832 | <action function="page">system_readonly_check</action> |
| 2833 | </actions> |
| 2834 | </button> |
| 2835 | |
| 2836 | <button style="main_button_half_height"> |
| 2837 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 2838 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2839 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2840 | <action function="page">usb_mount</action> |
| 2841 | </button> |
| 2842 | |
| 2843 | <button style="main_button_half_height"> |
| 2844 | <conditions> |
| 2845 | <condition var1="tw_is_encrypted" var2="1"/> |
| 2846 | <condition var1="tw_is_decrypted" var2="0"/> |
| 2847 | </conditions> |
| 2848 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2849 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2850 | <action function="set">tw_crypto_user_id=0</action> |
| 2851 | <action function="set">tw_crypto_password=</action> |
| 2852 | <action function="set">tw_password_fail=0</action> |
| 2853 | <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2854 | <action function="page">decrypt</action> |
| 2855 | </button> |
| 2856 | |
| 2857 | <button style="main_button_half_height"> |
| 2858 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2859 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2860 | <actions> |
| 2861 | <action function="set">tw_back=mount</action> |
| 2862 | <action function="overlay">select_storage</action> |
| 2863 | </actions> |
| 2864 | </button> |
| 2865 | |
| 2866 | <button style="main_button_half_height"> |
| 2867 | <conditions> |
| 2868 | <condition var1="tw_has_mtp" var2="1"/> |
| 2869 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2870 | </conditions> |
| 2871 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2872 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2873 | <action function="startmtp"/> |
| 2874 | </button> |
| 2875 | |
| 2876 | <button style="main_button_half_height"> |
| 2877 | <conditions> |
| 2878 | <condition var1="tw_has_mtp" var2="1"/> |
| 2879 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2880 | </conditions> |
| 2881 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2882 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2883 | <action function="stopmtp"/> |
| 2884 | </button> |
| 2885 | |
| 2886 | <action> |
| 2887 | <touch key="home"/> |
| 2888 | <action function="page">main</action> |
| 2889 | </action> |
| 2890 | |
| 2891 | <action> |
| 2892 | <touch key="back"/> |
| 2893 | <action function="page">main</action> |
| 2894 | </action> |
| 2895 | </page> |
| 2896 | |
| 2897 | <page name="usb_mount"> |
| 2898 | <template name="page"/> |
| 2899 | |
| 2900 | <text style="text_l"> |
| 2901 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2902 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2903 | </text> |
| 2904 | |
| 2905 | <text style="text_m"> |
| 2906 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 2907 | <text>{@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2908 | </text> |
| 2909 | |
| 2910 | <text style="text_m_accent"> |
| 2911 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2912 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2913 | </text> |
| 2914 | |
| 2915 | <text style="text_m"> |
| 2916 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2917 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2918 | </text> |
| 2919 | |
| 2920 | <text style="text_m"> |
| 2921 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2922 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2923 | </text> |
| 2924 | |
| 2925 | <button style="main_button_half_height"> |
| 2926 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2927 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2928 | <action function="page">usb_umount</action> |
| 2929 | </button> |
| 2930 | |
| 2931 | <action> |
| 2932 | <action function="mount">usb</action> |
| 2933 | <action function="set">tw_busy=1</action> |
| 2934 | </action> |
| 2935 | </page> |
| 2936 | |
| 2937 | <page name="usb_umount"> |
| 2938 | <action> |
| 2939 | <action function="unmount">usb</action> |
| 2940 | </action> |
| 2941 | |
| 2942 | <action> |
| 2943 | <action function="page">mount</action> |
| 2944 | <action function="set">tw_busy=0</action> |
| 2945 | </action> |
| 2946 | </page> |
| 2947 | |
| 2948 | <page name="system_readonly_check"> |
| 2949 | <action> |
| 2950 | <action function="checkpartitionlifetimewrites">/system</action> |
| 2951 | </action> |
| 2952 | |
| 2953 | <action> |
| 2954 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 2955 | <actions> |
| 2956 | <action function="mountsystemtoggle">0</action> |
| 2957 | <action function="page">mount</action> |
| 2958 | </actions> |
| 2959 | </action> |
| 2960 | |
| 2961 | <action> |
| 2962 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 2963 | <actions> |
| 2964 | <action function="set">tw_back=mount</action> |
| 2965 | <action function="page">system_readonly</action> |
| 2966 | </actions> |
| 2967 | </action> |
| 2968 | </page> |
| 2969 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 2970 | <page name="fastbootreboot"> |
| 2971 | <template name="page"/> |
| 2972 | |
| 2973 | <text style="text_l"> |
| 2974 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 2975 | <text>{@reboot_hdr=Reboot}</text> |
| 2976 | </text> |
| 2977 | |
| 2978 | <listbox style="advanced_listbox"> |
| 2979 | <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/> |
| 2980 | |
| 2981 | <listitem name="{@rb_system_btn=System}"> |
| 2982 | <condition var1="tw_reboot_system" var2="1"/> |
| 2983 | <actions> |
| 2984 | <action function="set">tw_back=fastbootreboot</action> |
| 2985 | <action function="set">tw_action=reboot</action> |
| 2986 | <action function="set">tw_action_param=system</action> |
| 2987 | <action function="set">tw_reboot_param=system</action> |
| 2988 | <action function="set">tw_has_action2=0</action> |
| 2989 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2990 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2991 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 2992 | <action function="page">confirm_action</action> |
| 2993 | </actions> |
| 2994 | </listitem> |
| 2995 | |
| 2996 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 2997 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2998 | <actions> |
| 2999 | <action function="set">tw_back=fastbootreboot</action> |
| 3000 | <action function="set">tw_action=reboot</action> |
| 3001 | <action function="set">tw_action_param=poweroff</action> |
| 3002 | <action function="set">tw_reboot_param=poweroff</action> |
| 3003 | <action function="set">tw_has_action2=0</action> |
| 3004 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 3005 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 3006 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 3007 | <action function="page">confirm_action</action> |
| 3008 | </actions> |
| 3009 | </listitem> |
| 3010 | |
| 3011 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 3012 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 3013 | <actions> |
| 3014 | <action function="set">tw_back=fastbootreboot</action> |
| 3015 | <action function="set">tw_action=reboot</action> |
| 3016 | <action function="set">tw_action_param=recovery</action> |
| 3017 | <action function="set">tw_reboot_param=recovery</action> |
| 3018 | <action function="set">tw_has_action2=0</action> |
| 3019 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3020 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3021 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3022 | <action function="page">confirm_action</action> |
| 3023 | </actions> |
| 3024 | </listitem> |
| 3025 | |
| 3026 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 3027 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 3028 | <actions> |
| 3029 | <action function="set">tw_back=fastbootreboot</action> |
| 3030 | <action function="set">tw_action=reboot</action> |
| 3031 | <action function="set">tw_action_param=bootloader</action> |
| 3032 | <action function="set">tw_reboot_param=bootloader</action> |
| 3033 | <action function="set">tw_has_action2=0</action> |
| 3034 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3035 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3036 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3037 | <action function="page">confirm_action</action> |
| 3038 | </actions> |
| 3039 | </listitem> |
| 3040 | |
| 3041 | <listitem name="{@rb_download_btn=Download}"> |
| 3042 | <condition var1="tw_download_mode" var2="1"/> |
| 3043 | <actions> |
| 3044 | <action function="set">tw_back=fastbootreboot</action> |
| 3045 | <action function="set">tw_action=reboot</action> |
| 3046 | <action function="set">tw_action_param=download</action> |
| 3047 | <action function="set">tw_reboot_param=download</action> |
| 3048 | <action function="set">tw_has_action2=0</action> |
| 3049 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3050 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3051 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3052 | <action function="page">confirm_action</action> |
| 3053 | </actions> |
| 3054 | </listitem> |
| 3055 | |
| 3056 | <listitem name="{@fastboot_button=Fastboot}"> |
| 3057 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 3058 | <actions> |
| 3059 | <action function="set">tw_back=fastbootreboot</action> |
| 3060 | <action function="set">tw_action=reboot</action> |
| 3061 | <action function="set">tw_action_param=fastboot</action> |
| 3062 | <action function="set">tw_reboot_param=fastboot</action> |
| 3063 | <action function="set">tw_has_action2=0</action> |
| 3064 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3065 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3066 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3067 | <action function="page">confirm_action</action> |
| 3068 | </actions> |
| 3069 | </listitem> |
| 3070 | |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 3071 | <listitem name="{@rb_edl_btn=EDL}"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3072 | <condition var1="tw_edl_mode" var2="1"/> |
| 3073 | <actions> |
| 3074 | <action function="set">tw_back=fastbootreboot</action> |
| 3075 | <action function="set">tw_action=reboot</action> |
| 3076 | <action function="set">tw_action_param=edl</action> |
| 3077 | <action function="set">tw_reboot_param=edl</action> |
| 3078 | <action function="set">tw_has_action2=0</action> |
| 3079 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3080 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3081 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3082 | <action function="page">confirm_action</action> |
| 3083 | </actions> |
| 3084 | </listitem> |
| 3085 | </listbox> |
| 3086 | |
| 3087 | <action> |
| 3088 | <touch key="home"/> |
| 3089 | <action function="page">fastboot</action> |
| 3090 | </action> |
| 3091 | |
| 3092 | <action> |
| 3093 | <touch key="back"/> |
| 3094 | <action function="page">fastboot</action> |
| 3095 | </action> |
| 3096 | </page> |
| 3097 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3098 | <page name="reboot"> |
| 3099 | <template name="page"/> |
| 3100 | |
| 3101 | <text style="text_l"> |
| 3102 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3103 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3104 | </text> |
| 3105 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3106 | <listbox style="advanced_listbox"> |
| 3107 | <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3108 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3109 | <listitem name="{@rb_system_btn=System}"> |
| 3110 | <condition var1="tw_reboot_system" var2="1"/> |
| 3111 | <actions> |
| 3112 | <action function="set">tw_back=reboot</action> |
| 3113 | <action function="page">reboot_system_routine</action> |
| 3114 | </actions> |
| 3115 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3116 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3117 | <listitem name="{@rb_poweroff_btn=Power Off}"> |
| 3118 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 3119 | <actions> |
| 3120 | <action function="set">tw_back=reboot</action> |
| 3121 | <action function="set">tw_action=reboot</action> |
| 3122 | <action function="set">tw_action_param=poweroff</action> |
| 3123 | <action function="set">tw_reboot_param=poweroff</action> |
| 3124 | <action function="set">tw_has_action2=0</action> |
| 3125 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3126 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 3127 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 3128 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 3129 | <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action> |
| 3130 | <action function="page">rebootcheck</action> |
| 3131 | </actions> |
| 3132 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3133 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3134 | <listitem name="{@rb_recovery_btn=Recovery}"> |
| 3135 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 3136 | <actions> |
| 3137 | <action function="set">tw_back=reboot</action> |
| 3138 | <action function="set">tw_action=reboot</action> |
| 3139 | <action function="set">tw_action_param=recovery</action> |
| 3140 | <action function="set">tw_reboot_param=recovery</action> |
| 3141 | <action function="set">tw_has_action2=0</action> |
| 3142 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3143 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3144 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3145 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3146 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3147 | <action function="page">rebootcheck</action> |
| 3148 | </actions> |
| 3149 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3150 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3151 | <listitem name="{@rb_bootloader_btn=Bootloader}"> |
| 3152 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 3153 | <actions> |
| 3154 | <action function="set">tw_back=reboot</action> |
| 3155 | <action function="set">tw_action=reboot</action> |
| 3156 | <action function="set">tw_action_param=bootloader</action> |
| 3157 | <action function="set">tw_reboot_param=bootloader</action> |
| 3158 | <action function="set">tw_has_action2=0</action> |
| 3159 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3160 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3161 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3162 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3163 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3164 | <action function="page">rebootcheck</action> |
| 3165 | </actions> |
| 3166 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3167 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3168 | <listitem name="{@rb_download_btn=Download}"> |
| 3169 | <condition var1="tw_download_mode" var2="1"/> |
| 3170 | <actions> |
| 3171 | <action function="set">tw_back=reboot</action> |
| 3172 | <action function="set">tw_action=reboot</action> |
| 3173 | <action function="set">tw_action_param=download</action> |
| 3174 | <action function="set">tw_reboot_param=download</action> |
| 3175 | <action function="set">tw_has_action2=0</action> |
| 3176 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3177 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3178 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3179 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3180 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3181 | <action function="page">rebootcheck</action> |
| 3182 | </actions> |
| 3183 | </listitem> |
| 3184 | |
| 3185 | <listitem name="{@fastboot_button=Fastboot}"> |
| 3186 | <condition var1="tw_fastboot_mode" var2="1"/> |
| 3187 | <actions> |
| 3188 | <action function="set">tw_back=reboot</action> |
| 3189 | <action function="set">tw_action=reboot</action> |
| 3190 | <action function="set">tw_action_param=fastboot</action> |
| 3191 | <action function="set">tw_reboot_param=fastboot</action> |
| 3192 | <action function="set">tw_has_action2=0</action> |
| 3193 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3194 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3195 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3196 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3197 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3198 | <action function="page">rebootcheck</action> |
| 3199 | </actions> |
| 3200 | </listitem> |
| 3201 | |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 3202 | <listitem name="{@rb_edl_btn=EDL}"> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3203 | <condition var1="tw_edl_mode" var2="1"/> |
| 3204 | <actions> |
| 3205 | <action function="set">tw_back=reboot</action> |
| 3206 | <action function="set">tw_action=reboot</action> |
| 3207 | <action function="set">tw_action_param=edl</action> |
| 3208 | <action function="set">tw_reboot_param=edl</action> |
| 3209 | <action function="set">tw_has_action2=0</action> |
| 3210 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3211 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3212 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3213 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3214 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
| 3215 | <action function="page">rebootcheck</action> |
| 3216 | </actions> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3217 | </listitem> |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 3218 | </listbox> |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3219 | |
Ethan Yonker | 1b19016 | 2016-12-05 15:25:19 -0600 | [diff] [blame] | 3220 | <text style="text_m"> |
| 3221 | <condition var1="tw_has_boot_slots" var2="1"/> |
LinkBoi00 | 55763ca | 2021-11-16 10:06:28 +0200 | [diff] [blame] | 3222 | <placement x="%center_x%" y="%row17_y%" placement="5"/> |
Ethan Yonker | 1b19016 | 2016-12-05 15:25:19 -0600 | [diff] [blame] | 3223 | <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text> |
| 3224 | </text> |
| 3225 | |
LinkBoi00 | 55763ca | 2021-11-16 10:06:28 +0200 | [diff] [blame] | 3226 | <button style="main_button"> |
Ethan Yonker | 1b19016 | 2016-12-05 15:25:19 -0600 | [diff] [blame] | 3227 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3228 | <placement x="%indent%" y="%row19_y%"/> |
| 3229 | <text>{@boot_slot_a=Slot A}</text> |
| 3230 | <actions> |
| 3231 | <action function="set">tw_back=reboot</action> |
| 3232 | <action function="set">tw_action=setbootslot</action> |
| 3233 | <action function="set">tw_action_param=A</action> |
| 3234 | <action function="set">tw_has_action2=0</action> |
| 3235 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 3236 | <action function="set">tw_action_text2=</action> |
| 3237 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3238 | <action function="page">action_page</action> |
| 3239 | </actions> |
| 3240 | </button> |
| 3241 | |
LinkBoi00 | 55763ca | 2021-11-16 10:06:28 +0200 | [diff] [blame] | 3242 | <button style="main_button"> |
Ethan Yonker | 1b19016 | 2016-12-05 15:25:19 -0600 | [diff] [blame] | 3243 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3244 | <placement x="%center_x%" y="%row19_y%"/> |
| 3245 | <text>{@boot_slot_b=Slot B}</text> |
| 3246 | <actions> |
| 3247 | <action function="set">tw_back=reboot</action> |
| 3248 | <action function="set">tw_action=setbootslot</action> |
| 3249 | <action function="set">tw_action_param=B</action> |
| 3250 | <action function="set">tw_has_action2=0</action> |
| 3251 | <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action> |
| 3252 | <action function="set">tw_action_text2=</action> |
| 3253 | <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action> |
| 3254 | <action function="page">action_page</action> |
| 3255 | </actions> |
| 3256 | </button> |
| 3257 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3258 | <action> |
| 3259 | <touch key="home"/> |
| 3260 | <action function="page">main</action> |
| 3261 | </action> |
| 3262 | |
| 3263 | <action> |
| 3264 | <touch key="back"/> |
| 3265 | <action function="page">main</action> |
| 3266 | </action> |
| 3267 | </page> |
| 3268 | |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3269 | <page name="installapp"> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3270 | <template name="page"/> |
| 3271 | |
| 3272 | <text style="text_l"> |
| 3273 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3274 | <text>%tw_appinstall_title%</text> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3275 | </text> |
| 3276 | |
| 3277 | <text style="text_m"> |
| 3278 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3279 | <text>{@reboot_install_app_hdr=Install TWRP App}</text> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3280 | </text> |
| 3281 | |
| 3282 | <text style="text_m_accent"> |
| 3283 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3284 | <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text> |
| 3285 | </text> |
| 3286 | |
| 3287 | <text style="text_m_accent"> |
| 3288 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 3289 | <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text> |
| 3290 | </text> |
| 3291 | |
| 3292 | <checkbox> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3293 | <condition var1="tw_mount_system_ro" var2="0"/> |
| 3294 | <placement x="%indent%" y="%row7_y%"/> |
| 3295 | <text>{@reboot_install_app_system=Install as a System App}</text> |
| 3296 | <data variable="tw_app_install_system"/> |
| 3297 | </checkbox> |
| 3298 | |
| 3299 | <button style="main_button_half_height"> |
| 3300 | <placement x="%indent%" y="%row16_y%"/> |
Ethan Yonker | fa67cbf | 2018-07-20 12:22:33 -0500 | [diff] [blame] | 3301 | <text>{@install_cancel=Do not Install}</text> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3302 | <action function="page">%tw_back%</action> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3303 | </button> |
| 3304 | |
| 3305 | <slider> |
| 3306 | <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text> |
| 3307 | <actions> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3308 | <action function="set">tw_action=installapp</action> |
| 3309 | <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action> |
| 3310 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3311 | <action function="set">tw_complete_text1={@successful=Successful}</action> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3312 | <action function="page">action_page</action> |
| 3313 | </actions> |
| 3314 | </slider> |
| 3315 | |
| 3316 | <action> |
| 3317 | <touch key="home"/> |
| 3318 | <actions> |
| 3319 | <action function="set">tw_app_install_status=0</action> |
| 3320 | <action function="page">main</action> |
| 3321 | </actions> |
| 3322 | </action> |
| 3323 | |
| 3324 | <action> |
| 3325 | <touch key="back"/> |
| 3326 | <actions> |
| 3327 | <action function="set">tw_app_install_status=0</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3328 | <action function="page">%tw_back%</action> |
Ethan Yonker | b4bff5e | 2016-12-16 07:47:58 -0600 | [diff] [blame] | 3329 | </actions> |
| 3330 | </action> |
| 3331 | </page> |
| 3332 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3333 | <page name="system_readonly"> |
| 3334 | <template name="page"/> |
| 3335 | |
| 3336 | <text style="text_l"> |
| 3337 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3338 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3339 | </text> |
| 3340 | |
| 3341 | <text style="text_m_accent"> |
| 3342 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3343 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3344 | </text> |
| 3345 | |
| 3346 | <text style="text_m"> |
| 3347 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3348 | <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3349 | </text> |
| 3350 | |
| 3351 | <text style="text_m"> |
| 3352 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3353 | <text>{@sys_rop2=to make it easier for you to take official updates.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3354 | </text> |
| 3355 | |
| 3356 | <text style="text_m"> |
| 3357 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3358 | <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3359 | </text> |
| 3360 | |
| 3361 | <text style="text_m"> |
| 3362 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3363 | <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3364 | </text> |
| 3365 | |
| 3366 | <text style="text_m_fail"> |
| 3367 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3368 | <text>{@sys_rop5=Installing zips or performing adb operations may still}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3369 | </text> |
| 3370 | |
| 3371 | <text style="text_m_fail"> |
| 3372 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3373 | <text>{@sys_rop6=modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3374 | </text> |
| 3375 | |
| 3376 | <checkbox> |
| 3377 | <condition var1="tw_is_encrypted" var2="0"/> |
| 3378 | <placement x="%indent%" y="%row15_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3379 | <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] | 3380 | <data variable="tw_never_show_system_ro_page"/> |
| 3381 | </checkbox> |
| 3382 | |
| 3383 | <button style="main_button_half_height"> |
| 3384 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3385 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3386 | <actions> |
| 3387 | <action function="mountsystemtoggle">1</action> |
| 3388 | <action function="set">tw_page_done=1</action> |
| 3389 | <action function="page">%tw_back%</action> |
| 3390 | </actions> |
| 3391 | </button> |
| 3392 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3393 | <button style="main_button_half_height"> |
| 3394 | <placement x="%center_x%" y="%row18a_y%"/> |
| 3395 | <text>{@sel_lang_btn=Select Language}</text> |
| 3396 | <action function="overlay">select_language</action> |
| 3397 | </button> |
| 3398 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3399 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3400 | <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3401 | <actions> |
| 3402 | <action function="mountsystemtoggle">0</action> |
| 3403 | <action function="set">tw_page_done=1</action> |
| 3404 | <action function="page">%tw_back%</action> |
| 3405 | </actions> |
| 3406 | </slider> |
| 3407 | </page> |
| 3408 | |
| 3409 | <page name="settings"> |
| 3410 | <template name="page"/> |
| 3411 | |
| 3412 | <text style="text_l"> |
| 3413 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3414 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3415 | </text> |
| 3416 | |
| 3417 | <text style="text_m"> |
| 3418 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3419 | <text>{@settings_gen_hdr=General Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3420 | </text> |
| 3421 | |
| 3422 | <template name="tabs_settings"/> |
| 3423 | |
| 3424 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3425 | <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] | 3426 | </fill> |
| 3427 | |
| 3428 | <listbox style="scrolllist"> |
| 3429 | <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/> |
| 3430 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3431 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3432 | <data variable="tw_signed_zip_verify"/> |
| 3433 | </listitem> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 3434 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 3435 | <data variable="tw_install_reboot"/> |
| 3436 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3437 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3438 | <data variable="tw_rm_rf"/> |
| 3439 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 3440 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
| 3441 | <data variable="tw_disable_free_space"/> |
| 3442 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3443 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 3444 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3445 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3446 | <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}"> |
| 3447 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3448 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 3449 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 3450 | <data variable="tw_skip_digest_check_zip"/> |
| 3451 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3452 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3453 | <data variable="tw_military_time"/> |
| 3454 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3455 | <listitem name="{@rev_navbar_chk=Reversed navbar layout}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3456 | <data variable="tw_samsung_navbar"/> |
| 3457 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3458 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3459 | <data variable="tw_simulate_actions"/> |
| 3460 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3461 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3462 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3463 | <data variable="tw_simulate_fail"/> |
| 3464 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3465 | <listitem name="{@sha2_chk=Use SHA2 for hashing}"> |
| 3466 | <condition var1="tw_no_sha2" var2="0"/> |
| 3467 | <data variable="tw_use_sha2"/> |
| 3468 | </listitem> |
Chaosmaster | ff4f958 | 2020-01-26 15:38:11 +0100 | [diff] [blame] | 3469 | <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}"> |
| 3470 | <data variable="tw_unmount_system"/> |
| 3471 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3472 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 3473 | <conditions> |
| 3474 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3475 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3476 | </conditions> |
| 3477 | <data variable="tw_auto_reflashtwrp"/> |
| 3478 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3479 | </listbox> |
| 3480 | |
| 3481 | <button style="main_button_half_height"> |
| 3482 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3483 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
z31s1g | 56a7a99 | 2016-01-23 17:06:40 +0100 | [diff] [blame] | 3484 | <actions> |
| 3485 | <action function="set">tw_samsung_navbar=0</action> |
| 3486 | <action function="set">tw_tab_icons=0</action> |
| 3487 | <action function="restoredefaultsettings"/> |
| 3488 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3489 | </button> |
| 3490 | |
| 3491 | <action> |
| 3492 | <touch key="home"/> |
| 3493 | <action function="page">main</action> |
| 3494 | </action> |
| 3495 | |
| 3496 | <action> |
| 3497 | <touch key="back"/> |
| 3498 | <action function="page">main</action> |
| 3499 | </action> |
| 3500 | </page> |
| 3501 | |
| 3502 | <page name="settings_timezone"> |
| 3503 | <template name="page"/> |
| 3504 | |
| 3505 | <text style="text_l"> |
| 3506 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3507 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3508 | </text> |
| 3509 | |
| 3510 | <text style="text_m"> |
| 3511 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3512 | <text>{@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3513 | </text> |
| 3514 | |
| 3515 | <template name="tabs_settings"/> |
| 3516 | |
| 3517 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3518 | <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] | 3519 | </fill> |
| 3520 | |
| 3521 | <listbox> |
| 3522 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3523 | <text>{@sel_tz_list=Select Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3524 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3525 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3526 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3527 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3528 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3529 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3530 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3531 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3532 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3533 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3534 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3535 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3536 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3537 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3538 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3539 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3540 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3541 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3542 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3543 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3544 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3545 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3546 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3547 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3548 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3549 | </listbox> |
| 3550 | |
| 3551 | <text style="text_m_accent"> |
| 3552 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3553 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3554 | </text> |
| 3555 | |
| 3556 | <button style="button_quarter_width"> |
| 3557 | <placement x="%indent%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3558 | <text>{@tz_offset_none=None}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3559 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3560 | </button> |
| 3561 | |
| 3562 | <button style="button_quarter_width"> |
| 3563 | <placement x="%btn4_col2_x%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3564 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3565 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3566 | </button> |
| 3567 | |
| 3568 | <button style="button_quarter_width"> |
| 3569 | <placement x="%btn4_col3_x%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3570 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3571 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3572 | </button> |
| 3573 | |
| 3574 | <button style="button_quarter_width"> |
| 3575 | <placement x="%btn4_col4_x%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3576 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3577 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3578 | </button> |
| 3579 | |
| 3580 | <checkbox> |
| 3581 | <placement x="%indent%" y="%row18a_y%"/> |
| 3582 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3583 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3584 | <data variable="tw_time_zone_guidst"/> |
| 3585 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3586 | </checkbox> |
| 3587 | |
| 3588 | <text color="%text_color%"> |
| 3589 | <font resource="font_m"/> |
| 3590 | <placement x="%indent%" y="%row20_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3591 | <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3592 | </text> |
| 3593 | |
| 3594 | <button> |
| 3595 | <highlight color="%highlight_color%"/> |
| 3596 | <placement x="%center_x%" y="%row21a_y%"/> |
| 3597 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3598 | <text>{@set_tz_btn=Set Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3599 | <image resource="main_button_half_height"/> |
| 3600 | <action function="setguitimezone"/> |
| 3601 | </button> |
| 3602 | |
| 3603 | <action> |
| 3604 | <touch key="home"/> |
| 3605 | <action function="page">main</action> |
| 3606 | </action> |
| 3607 | |
| 3608 | <action> |
| 3609 | <touch key="back"/> |
| 3610 | <action function="page">main</action> |
| 3611 | </action> |
| 3612 | </page> |
| 3613 | |
| 3614 | <page name="settings_screen"> |
| 3615 | <template name="page"/> |
| 3616 | |
| 3617 | <text style="text_l"> |
| 3618 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3619 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3620 | </text> |
| 3621 | |
| 3622 | <text style="text_m"> |
| 3623 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3624 | <text>{@settings_screen_hdr=Screen Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3625 | </text> |
| 3626 | |
| 3627 | <template name="tabs_settings"/> |
| 3628 | |
| 3629 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3630 | <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] | 3631 | </fill> |
| 3632 | |
| 3633 | <button> |
| 3634 | <placement x="%indent%" y="%row3a_y%" textplacement="6"/> |
| 3635 | <font resource="font_m" color="%text_color%"/> |
| 3636 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3637 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3638 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3639 | <image resource="checkbox_false"/> |
| 3640 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3641 | </button> |
| 3642 | |
| 3643 | <button> |
| 3644 | <placement x="%indent%" y="%row3a_y%" textplacement="6"/> |
| 3645 | <font resource="font_m" color="%text_color%"/> |
| 3646 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3647 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3648 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3649 | <image resource="checkbox_true"/> |
| 3650 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3651 | </button> |
| 3652 | |
| 3653 | <slidervalue> |
| 3654 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3655 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3656 | <placement x="indent" y="%row5_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3657 | <text>{@screen_to_slider=Screen timeout in seconds:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3658 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3659 | </slidervalue> |
| 3660 | |
| 3661 | <slidervalue> |
| 3662 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3663 | <placement x="indent" y="%row10_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3664 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3665 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3666 | <actions> |
| 3667 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3668 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3669 | <action function="compute">tw_brightness/100</action> |
| 3670 | <action function="setbrightness">%tw_brightness%</action> |
| 3671 | </actions> |
| 3672 | </slidervalue> |
| 3673 | |
| 3674 | <action> |
| 3675 | <touch key="home"/> |
| 3676 | <action function="page">main</action> |
| 3677 | </action> |
| 3678 | |
| 3679 | <action> |
| 3680 | <touch key="back"/> |
| 3681 | <action function="page">main</action> |
| 3682 | </action> |
| 3683 | </page> |
| 3684 | |
| 3685 | <page name="settings_vibration"> |
| 3686 | <template name="page"/> |
| 3687 | |
| 3688 | <text style="text_l"> |
| 3689 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3690 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3691 | </text> |
| 3692 | |
| 3693 | <text style="text_m"> |
| 3694 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3695 | <text>{@vibration_hdr=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3696 | </text> |
| 3697 | |
| 3698 | <template name="tabs_settings"/> |
| 3699 | |
| 3700 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3701 | <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] | 3702 | </fill> |
| 3703 | |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3704 | <text style="text_m"> |
| 3705 | <condition var1="tw_disable_haptics" var2="1"/> |
| 3706 | <placement x="%indent%" y="%row4_y%"/> |
| 3707 | <text>{@vibration_disabled=Vibration Disabled for Device}</text> |
| 3708 | </text> |
| 3709 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3710 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3711 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3712 | <placement x="indent" y="%row4_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3713 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3714 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3715 | </slidervalue> |
| 3716 | |
| 3717 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3718 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3719 | <placement x="indent" y="%row9_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3720 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3721 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3722 | </slidervalue> |
| 3723 | |
| 3724 | <slidervalue> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3725 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3726 | <placement x="indent" y="%row14_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3727 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3728 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3729 | </slidervalue> |
| 3730 | |
| 3731 | <action> |
| 3732 | <touch key="home"/> |
| 3733 | <action function="page">main</action> |
| 3734 | </action> |
| 3735 | |
| 3736 | <action> |
| 3737 | <touch key="back"/> |
| 3738 | <action function="page">main</action> |
| 3739 | </action> |
| 3740 | </page> |
| 3741 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3742 | <page name="settings_language"> |
| 3743 | <template name="page"/> |
| 3744 | |
| 3745 | <text style="text_l"> |
| 3746 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3747 | <text>{@settings_hdr=Settings}</text> |
| 3748 | </text> |
| 3749 | |
| 3750 | <text style="text_m"> |
| 3751 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3752 | <text>{@language_hdr=Language - %tw_language_display%}</text> |
| 3753 | </text> |
| 3754 | |
| 3755 | <template name="tabs_settings"/> |
| 3756 | |
| 3757 | <fill color="%text_color%"> |
| 3758 | <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
| 3759 | </fill> |
| 3760 | |
| 3761 | <listbox> |
| 3762 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/> |
| 3763 | <text>{@select_language=Select Language:}</text> |
| 3764 | <icon selected="radio_true" unselected="radio_false" /> |
| 3765 | <data name="tw_language" /> |
| 3766 | </listbox> |
| 3767 | |
| 3768 | <button style="main_button_half_height"> |
| 3769 | <placement x="%center_x%" y="%row21a_y%"/> |
| 3770 | <text>{@set_language_btn=Set Language}</text> |
| 3771 | <action function="setlanguage"></action> |
| 3772 | </button> |
| 3773 | |
| 3774 | <action> |
| 3775 | <touch key="home" /> |
| 3776 | <action function="page">main</action> |
| 3777 | </action> |
| 3778 | |
| 3779 | <action> |
| 3780 | <touch key="back" /> |
| 3781 | <action function="page">settings</action> |
| 3782 | </action> |
| 3783 | </page> |
| 3784 | |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3785 | <page name="copylog"> |
| 3786 | <template name="page"/> |
| 3787 | |
| 3788 | <text style="text_l"> |
| 3789 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3790 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3791 | </text> |
| 3792 | |
| 3793 | <checkbox> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3794 | <condition var1="tw_logcat_exists" var2="1"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3795 | <placement x="%indent%" y="%row4_y%"/> |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 3796 | <text>{@include_logcat=Include Logcat}</text> |
| 3797 | <data variable="tw_include_logcat" value="1"/> |
| 3798 | </checkbox> |
| 3799 | |
| 3800 | <checkbox> |
| 3801 | <placement x="%indent%" y="%row6_y%"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3802 | <text>{@include_kernel_log=Include Kernel Log}</text> |
| 3803 | <data variable="tw_include_kernel_log" value="1"/> |
| 3804 | </checkbox> |
| 3805 | |
| 3806 | <slider> |
| 3807 | <text>{@copying_log=Copy Logs to SD Card}</text> |
| 3808 | <actions> |
| 3809 | <action function="set">tw_back=advanced</action> |
| 3810 | <action function="set">tw_action=copylog</action> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 3811 | <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action> |
| 3812 | <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3813 | <action function="page">action_page</action> |
| 3814 | </actions> |
| 3815 | </slider> |
| 3816 | |
| 3817 | <action> |
| 3818 | <touch key="home"/> |
| 3819 | <action function="page">main</action> |
| 3820 | </action> |
| 3821 | |
| 3822 | <action> |
| 3823 | <touch key="back"/> |
| 3824 | <actions> |
| 3825 | <action function="page">advanced</action> |
| 3826 | </actions> |
| 3827 | </action> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3828 | </page> |
| 3829 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3830 | <page name="advanced"> |
| 3831 | <template name="page"/> |
| 3832 | |
| 3833 | <text style="text_l"> |
| 3834 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3835 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3836 | </text> |
| 3837 | |
| 3838 | <button style="main_button"> |
| 3839 | <placement x="%indent%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3840 | <text>{@copy_log_btn=Copy Log}</text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 3841 | <action function="page">copylog</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3842 | </button> |
| 3843 | |
| 3844 | <button style="main_button"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 3845 | <condition var1="tw_has_data_media" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3846 | <placement x="%center_x%" y="%row2a_y%"/> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3847 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
| 3848 | <action function="page">sideload</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3849 | </button> |
| 3850 | |
| 3851 | <button style="main_button"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3852 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3853 | <text>{@terminal_btn=Terminal}</text> |
| 3854 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3855 | </button> |
| 3856 | |
| 3857 | <button style="main_button"> |
| 3858 | <placement x="%center_x%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3859 | <text>{@file_manager_btn=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3860 | <action function="page">filemanagerlist</action> |
| 3861 | </button> |
| 3862 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3863 | <listbox style="advanced_listbox"> |
| 3864 | <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/> |
Ian Macdonald | ef7768e | 2021-03-01 21:31:07 +0100 | [diff] [blame] | 3865 | <listitem name="{@change_twrp_folder_btn=Change TWRP folder}"> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 3866 | <condition var1="tw_is_encrypted" var2="0"/> |
| 3867 | <action function="page">changeTwrpFolder</action> |
| 3868 | </listitem> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 3869 | <listitem name="{@decrypt_users=Decrypt Users}"> |
| 3870 | <conditions> |
| 3871 | <condition var1="tw_is_fbe" var2="1"/> |
| 3872 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 3873 | </conditions> |
| 3874 | <actions> |
| 3875 | <action function="set">tw_crypto_user_id=</action> |
| 3876 | <action function="page">decrypt_users</action> |
| 3877 | </actions> |
| 3878 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 3879 | <listitem name="{@reload_theme_btn=Reload Theme}"> |
| 3880 | <action function="reload"/> |
| 3881 | </listitem> |
| 3882 | <listitem name="{@part_sd_btn=Partition SD Card}"> |
| 3883 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3884 | <actions> |
| 3885 | <action function="set">partitionlisterror=0</action> |
| 3886 | <action function="page">partsdcardsel</action> |
| 3887 | </actions> |
| 3888 | </listitem> |
| 3889 | <listitem name="{@fix_context_btn=Fix Contexts}"> |
| 3890 | <condition var1="tw_has_data_media" var2="1"/> |
| 3891 | <action function="page">fixcontexts</action> |
| 3892 | </listitem> |
| 3893 | <listitem name="{@dumlock_btn=HTC Dumlock}"> |
| 3894 | <condition var1="tw_show_dumlock" var2="1"/> |
| 3895 | <action function="page">htcdumlock</action> |
| 3896 | </listitem> |
| 3897 | <listitem name="{@inject_twrp_btn=Inject TWRP}"> |
| 3898 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3899 | <actions> |
| 3900 | <action function="set">tw_back=advanced</action> |
| 3901 | <action function="set">tw_action=reinjecttwrp</action> |
| 3902 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3903 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3904 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3905 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3906 | <action function="page">confirm_action</action> |
| 3907 | </actions> |
| 3908 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3909 | <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}"> |
| 3910 | <conditions> |
| 3911 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3912 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3913 | </conditions> |
| 3914 | <actions> |
| 3915 | <action function="set">tw_repack_kernel=0</action> |
| 3916 | <action function="page">repackselect</action> |
| 3917 | </actions> |
| 3918 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3919 | <listitem name="{@reflash_twrp=Flash Current TWRP}"> |
| 3920 | <conditions> |
| 3921 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3922 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3923 | </conditions> |
| 3924 | <actions> |
| 3925 | <action function="set">tw_repack_kernel=0</action> |
| 3926 | <action function="set">tw_back=advanced</action> |
| 3927 | <action function="set">tw_action=reflashtwrp</action> |
| 3928 | <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action> |
| 3929 | <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action> |
| 3930 | <action function="set">tw_complete_text1={@reflash_twrp_complete=Done Flashing TWRP}</action> |
| 3931 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3932 | <action function="page">confirm_action</action> |
| 3933 | </actions> |
| 3934 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3935 | <listitem name="{@install_kernel=Install Kernel}"> |
| 3936 | <conditions> |
| 3937 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3938 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3939 | </conditions> |
| 3940 | <actions> |
| 3941 | <action function="set">tw_repack_kernel=1</action> |
| 3942 | <action function="page">repackselect</action> |
| 3943 | </actions> |
| 3944 | </listitem> |
| 3945 | <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}"> |
| 3946 | <conditions> |
| 3947 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3948 | <condition var1="tw_has_repack_tools" var2="1"/> |
Captain Throwback | bc2cfa3 | 2021-09-16 10:04:26 -0400 | [diff] [blame] | 3949 | <condition var1="tw_uses_initramfs" var2="1"/> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 3950 | </conditions> |
| 3951 | <actions> |
| 3952 | <action function="set">tw_back=advanced</action> |
| 3953 | <action function="set">tw_action=fixabrecoverybootloop</action> |
| 3954 | <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action> |
| 3955 | <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action> |
| 3956 | <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action> |
| 3957 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3958 | <action function="page">confirm_action</action> |
| 3959 | </actions> |
| 3960 | </listitem> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3961 | <listitem name="{@reboot_install_app_hdr=Install TWRP App}"> |
| 3962 | <condition var1="tw_app_install_status" var2="1"/> |
| 3963 | <actions> |
| 3964 | <action function="set">tw_back=advanced</action> |
| 3965 | <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action> |
| 3966 | <action function="page">installapp</action> |
| 3967 | </actions> |
| 3968 | </listitem> |
Ethan Yonker | 76bbd3a | 2019-05-10 10:50:04 -0500 | [diff] [blame] | 3969 | <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}"> |
| 3970 | <condition var1="tw_app_installed_in_system" var2="1"/> |
| 3971 | <actions> |
| 3972 | <action function="set">tw_back=advanced</action> |
| 3973 | <action function="set">tw_action=uninstalltwrpsystemapp</action> |
| 3974 | <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action> |
| 3975 | <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action> |
| 3976 | <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action> |
| 3977 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3978 | <action function="page">confirm_action</action> |
| 3979 | </actions> |
| 3980 | </listitem> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 3981 | <listitem name="{@unmap_super_devices=Unmap Super Devices}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 3982 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 3983 | <actions> |
| 3984 | <action function="set">tw_back=advanced</action> |
| 3985 | <action function="set">tw_action=unmapsuperdevices</action> |
| 3986 | <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action> |
| 3987 | <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action> |
| 3988 | <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action> |
| 3989 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 3990 | <action function="page">confirm_action</action> |
| 3991 | </actions> |
| 3992 | </listitem> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 3993 | <listitem name="{@merges_snapshots=Merge Snapshots}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 3994 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 3995 | <actions> |
| 3996 | <action function="set">tw_back=advanced</action> |
| 3997 | <action function="set">tw_action=mergesnapshots</action> |
| 3998 | <action function="set">tw_text1={@merge_snapshots_confirm=Merge Snapshots?}</action> |
| 3999 | <action function="set">tw_action_text1={@merging_snapshots=Merging Snapshots...}</action> |
| 4000 | <action function="set">tw_complete_text1={@merging_snapshots_complete=Merged Snapshots}</action> |
| 4001 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4002 | <action function="page">confirm_action</action> |
| 4003 | </actions> |
| 4004 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4005 | </listbox> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4006 | |
| 4007 | <action> |
| 4008 | <touch key="home"/> |
| 4009 | <action function="page">main</action> |
| 4010 | </action> |
| 4011 | |
| 4012 | <action> |
| 4013 | <touch key="back"/> |
| 4014 | <action function="page">main</action> |
| 4015 | </action> |
| 4016 | </page> |
| 4017 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4018 | <page name="partsdcardsel"> |
| 4019 | <template name="page"/> |
| 4020 | |
| 4021 | <text style="text_l"> |
| 4022 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4023 | <text>{@advanced_hdr=Advanced}</text> |
| 4024 | </text> |
| 4025 | |
| 4026 | <text style="text_m"> |
| 4027 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4028 | <text>{@part_sd_hdr=Partition SD Card}</text> |
| 4029 | </text> |
| 4030 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 4031 | <partitionlist> |
| 4032 | <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4033 | <text>{@sel_storage_list=Select Storage}</text> |
| 4034 | <data name="tw_storage_path"/> |
| 4035 | <listtype name="storage"/> |
| 4036 | </partitionlist> |
| 4037 | |
| 4038 | <text style="text_m_fail"> |
| 4039 | <condition var1="partitionlisterror" var2="1"/> |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 4040 | <placement x="%center_x%" y="%row20_y%" placement="5"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4041 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 4042 | </text> |
| 4043 | |
z31s1g | 782e1c9 | 2016-01-30 16:50:09 +0100 | [diff] [blame] | 4044 | <button style="main_button_half_height"> |
| 4045 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4046 | <text>{@ok_btn=OK}</text> |
| 4047 | <actions> |
| 4048 | <action function="getpartitiondetails">tw_storage_path</action> |
| 4049 | <action function="page">partsdcardcheck</action> |
| 4050 | </actions> |
| 4051 | </button> |
| 4052 | |
| 4053 | <action> |
| 4054 | <touch key="home"/> |
| 4055 | <action function="page">main</action> |
| 4056 | </action> |
| 4057 | |
| 4058 | <action> |
| 4059 | <touch key="back"/> |
| 4060 | <action function="page">advanced</action> |
| 4061 | </action> |
| 4062 | </page> |
| 4063 | |
| 4064 | <page name="partsdcardcheck"> |
| 4065 | <action> |
| 4066 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 4067 | <actions> |
| 4068 | <action function="set">partitionlisterror=0</action> |
| 4069 | <action function="page">partsdcard</action> |
| 4070 | </actions> |
| 4071 | </action> |
| 4072 | |
| 4073 | <action> |
| 4074 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 4075 | <actions> |
| 4076 | <action function="set">partitionlisterror=1</action> |
| 4077 | <action function="page">partsdcardsel</action> |
| 4078 | </actions> |
| 4079 | </action> |
| 4080 | </page> |
| 4081 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4082 | <page name="partsdcard"> |
| 4083 | <template name="page"/> |
| 4084 | |
| 4085 | <text style="text_l"> |
| 4086 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4087 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4088 | </text> |
| 4089 | |
| 4090 | <text style="text_m"> |
| 4091 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4092 | <text>{@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4093 | </text> |
| 4094 | |
| 4095 | <text style="text_m_fail"> |
| 4096 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4097 | <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] | 4098 | </text> |
| 4099 | |
| 4100 | <text style="text_m_fail"> |
| 4101 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4102 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4103 | </text> |
| 4104 | |
| 4105 | <text style="text_m_accent"> |
| 4106 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4107 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4108 | </text> |
| 4109 | |
| 4110 | <text style="text_m"> |
| 4111 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4112 | <text>%tw_sdext_size%</text> |
| 4113 | </text> |
| 4114 | |
| 4115 | <button style="button_quarter_width"> |
| 4116 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4117 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4118 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4119 | </button> |
| 4120 | |
| 4121 | <button style="button_quarter_width"> |
| 4122 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4123 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4124 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4125 | </button> |
| 4126 | |
| 4127 | <text style="text_m_accent"> |
| 4128 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4129 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4130 | </text> |
| 4131 | |
| 4132 | <text style="text_m"> |
| 4133 | <placement x="%center_x%" y="%row10a_y%" placement="5"/> |
| 4134 | <text>%tw_swap_size%</text> |
| 4135 | </text> |
| 4136 | |
| 4137 | <button style="button_quarter_width"> |
| 4138 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4139 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4140 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4141 | </button> |
| 4142 | |
| 4143 | <button style="button_quarter_width"> |
| 4144 | <placement x="%btn4_col4_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4145 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4146 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4147 | </button> |
| 4148 | |
| 4149 | <text style="text_m_accent"> |
| 4150 | <placement x="%center_x%" y="%row13_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4151 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4152 | </text> |
| 4153 | |
| 4154 | <text style="text_m"> |
| 4155 | <placement x="%center_x%" y="%row14a_y%" placement="5"/> |
| 4156 | <text>%tw_sdpart_file_system%</text> |
| 4157 | </text> |
| 4158 | |
| 4159 | <button style="button_quarter_width"> |
| 4160 | <placement x="%indent%" y="%row14_y%"/> |
| 4161 | <text>EXT3</text> |
| 4162 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4163 | </button> |
| 4164 | |
| 4165 | <button style="button_quarter_width"> |
| 4166 | <placement x="%btn4_col4_x%" y="%row14_y%"/> |
| 4167 | <text>EXT4</text> |
| 4168 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4169 | </button> |
| 4170 | |
| 4171 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4172 | <text>{@swipe_part_sd=Swipe to Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4173 | <action function="page">partsdcardaction</action> |
| 4174 | <actions> |
| 4175 | <action function="set">tw_back=partsdcard</action> |
| 4176 | <action function="set">tw_action=partitionsd</action> |
| 4177 | <action function="set">tw_has_action2=1</action> |
| 4178 | <action function="set">tw_action2=set</action> |
| 4179 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4180 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4181 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4182 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4183 | <action function="page">action_page</action> |
| 4184 | </actions> |
| 4185 | </slider> |
| 4186 | |
| 4187 | <action> |
| 4188 | <touch key="home"/> |
| 4189 | <action function="page">main</action> |
| 4190 | </action> |
| 4191 | |
| 4192 | <action> |
| 4193 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4194 | <actions> |
| 4195 | <action function="set">partitionlisterror=0</action> |
| 4196 | <action function="page">partsdcardsel</action> |
| 4197 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4198 | </action> |
| 4199 | </page> |
| 4200 | |
| 4201 | <page name="htcdumlock"> |
| 4202 | <template name="page"/> |
| 4203 | |
| 4204 | <text style="text_l"> |
| 4205 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4206 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4207 | </text> |
| 4208 | |
| 4209 | <text style="text_m"> |
| 4210 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4211 | <text>{@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4212 | </text> |
| 4213 | |
| 4214 | <button style="main_button_half_height_full_width"> |
| 4215 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4216 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4217 | <actions> |
| 4218 | <action function="set">tw_back=htcdumlock</action> |
| 4219 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4220 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 4221 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 4222 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 4223 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4224 | <action function="page">confirm_action</action> |
| 4225 | </actions> |
| 4226 | </button> |
| 4227 | |
| 4228 | <button style="main_button_half_height_full_width"> |
| 4229 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4230 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4231 | <actions> |
| 4232 | <action function="set">tw_back=htcdumlock</action> |
| 4233 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4234 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 4235 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 4236 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 4237 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4238 | <action function="page">confirm_action</action> |
| 4239 | </actions> |
| 4240 | </button> |
| 4241 | |
| 4242 | <button style="main_button_half_height_full_width"> |
| 4243 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4244 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4245 | <actions> |
| 4246 | <action function="set">tw_back=htcdumlock</action> |
| 4247 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4248 | <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action> |
| 4249 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 4250 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 4251 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4252 | <action function="page">confirm_action</action> |
| 4253 | </actions> |
| 4254 | </button> |
| 4255 | |
| 4256 | <action> |
| 4257 | <touch key="home"/> |
| 4258 | <action function="page">main</action> |
| 4259 | </action> |
| 4260 | |
| 4261 | <action> |
| 4262 | <touch key="back"/> |
| 4263 | <action function="page">advanced</action> |
| 4264 | </action> |
| 4265 | </page> |
| 4266 | |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4267 | <page name="repackselect"> |
| 4268 | <template name="page"/> |
| 4269 | |
| 4270 | <text style="text_l"> |
| 4271 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4272 | <text>{@repack_image_hdr=Select Image}</text> |
| 4273 | </text> |
| 4274 | |
| 4275 | <text style="text_m"> |
| 4276 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4277 | <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text> |
| 4278 | </text> |
| 4279 | |
| 4280 | <template name="sort_options"/> |
| 4281 | |
| 4282 | <fileselector> |
| 4283 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 4284 | <text>%tw_zip_location%</text> |
| 4285 | <filter extn=".img" folders="1" files="1"/> |
| 4286 | <path name="tw_zip_location" default="/sdcard"/> |
| 4287 | <data name="tw_filename"/> |
| 4288 | <selection name="tw_file"/> |
| 4289 | </fileselector> |
| 4290 | |
| 4291 | <button style="main_button_half_height"> |
| 4292 | <placement x="%indent%" y="%row21a_y%"/> |
| 4293 | <text>{@select_storage_btn=Select Storage}</text> |
| 4294 | <actions> |
| 4295 | <action function="set">tw_back=repackselect</action> |
| 4296 | <action function="overlay">select_storage</action> |
| 4297 | </actions> |
| 4298 | </button> |
| 4299 | |
| 4300 | <action> |
| 4301 | <conditions> |
| 4302 | <condition var1="tw_filename" op="modified"/> |
| 4303 | </conditions> |
| 4304 | <action function="page">repackconfirm</action> |
| 4305 | </action> |
| 4306 | |
| 4307 | <action> |
| 4308 | <touch key="back"/> |
| 4309 | <action function="page">advanced</action> |
| 4310 | </action> |
| 4311 | |
| 4312 | <action> |
| 4313 | <touch key="home"/> |
| 4314 | <action function="page">main</action> |
| 4315 | </action> |
| 4316 | </page> |
| 4317 | |
| 4318 | <page name="repackconfirm"> |
| 4319 | <template name="page"/> |
| 4320 | |
| 4321 | <text style="text_l"> |
| 4322 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4323 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4324 | <text>{@repack_kernel_confirm_hdr=Install Kernel}</text> |
| 4325 | </text> |
| 4326 | |
| 4327 | <text style="text_l"> |
| 4328 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4329 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 4330 | <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text> |
| 4331 | </text> |
| 4332 | |
| 4333 | <text style="text_m"> |
| 4334 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4335 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4336 | <text>{@repack_kernel_confirm=Install Kernel?}</text> |
| 4337 | </text> |
| 4338 | |
| 4339 | <text style="text_m"> |
| 4340 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4341 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4342 | <text>{@repack_ramdisk_confirm=Install Recovery?}</text> |
| 4343 | </text> |
| 4344 | |
| 4345 | <text style="text_m_accent"> |
| 4346 | <placement x="%indent%" y="%row2_y%"/> |
| 4347 | <text>{@folder=Folder:}</text> |
| 4348 | </text> |
| 4349 | |
| 4350 | <text style="text_m"> |
| 4351 | <placement x="%indent%" y="%row3_y%"/> |
| 4352 | <text>%tw_zip_location%</text> |
| 4353 | </text> |
| 4354 | |
| 4355 | <text style="text_m_accent"> |
| 4356 | <placement x="%indent%" y="%row4_y%"/> |
| 4357 | <text>{@file=File:}</text> |
| 4358 | </text> |
| 4359 | |
| 4360 | <text style="text_m"> |
| 4361 | <placement x="%indent%" y="%row5_y%"/> |
| 4362 | <text>%tw_file%</text> |
| 4363 | </text> |
| 4364 | |
| 4365 | <checkbox> |
| 4366 | <placement x="%indent%" y="%row7_y%"/> |
| 4367 | <text>{@repack_backup_first=Back up existing image first}</text> |
| 4368 | <data variable="tw_repack_backup_first"/> |
| 4369 | </checkbox> |
| 4370 | |
| 4371 | <button style="main_button_half_height"> |
| 4372 | <placement x="%indent%" y="%row16_y%"/> |
| 4373 | <text>{@install_cancel=Do not Install}</text> |
| 4374 | <action function="page">repackselect</action> |
| 4375 | </button> |
| 4376 | |
| 4377 | <slider> |
| 4378 | <text>{@swipe_to_install=Swipe to Install}</text> |
| 4379 | <actions> |
| 4380 | <action function="set">tw_back=advanced</action> |
| 4381 | <action function="set">tw_action=repackimage</action> |
| 4382 | <action function="set">tw_action_param=/boot</action> |
| 4383 | <action function="set">tw_action_text1={@installing=Installing...}</action> |
| 4384 | <action function="set">tw_action_text2=</action> |
| 4385 | <action function="set">tw_complete_text1={@install_complete=Install Complete}</action> |
| 4386 | <action function="page">action_page</action> |
| 4387 | </actions> |
| 4388 | </slider> |
| 4389 | |
| 4390 | <action> |
| 4391 | <touch key="back"/> |
| 4392 | <action function="page">repackselect</action> |
| 4393 | </action> |
| 4394 | |
| 4395 | <action> |
| 4396 | <touch key="home"/> |
| 4397 | <action function="page">main</action> |
| 4398 | </action> |
| 4399 | </page> |
| 4400 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4401 | <page name="lock"> |
| 4402 | <background color="%semi_transparent%"/> |
| 4403 | |
| 4404 | <image> |
| 4405 | <image resource="unlock_icon"/> |
| 4406 | <placement x="%center_x%" y="%row10_y%" placement="4"/> |
| 4407 | </image> |
| 4408 | |
| 4409 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4410 | <text>{@swipe_to_unlock=Swipe to Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4411 | <action function="overlay"/> |
| 4412 | </slider> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 4413 | |
| 4414 | <action> |
| 4415 | <touch key="power"/> |
| 4416 | <action function="togglebacklight"/> |
| 4417 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4418 | </page> |
| 4419 | |
| 4420 | <page name="filemanagerlist"> |
| 4421 | <template name="page"/> |
| 4422 | |
| 4423 | <text style="text_l"> |
| 4424 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4425 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4426 | </text> |
| 4427 | |
| 4428 | <text style="text_m"> |
| 4429 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4430 | <text>{@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4431 | </text> |
| 4432 | |
| 4433 | <template name="sort_options"/> |
| 4434 | |
| 4435 | <fileselector> |
| 4436 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4437 | <text>%tw_file_location1%</text> |
| 4438 | <filter folders="1" files="1"/> |
| 4439 | <path name="tw_file_location1" default="/"/> |
| 4440 | <data name="tw_filename1"/> |
| 4441 | <selection name="tw_selection1"/> |
| 4442 | </fileselector> |
| 4443 | |
| 4444 | <button style="fab"> |
| 4445 | <image resource="fab_selectfolder"/> |
| 4446 | <actions> |
| 4447 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4448 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4449 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4450 | <action function="page">filemanageroptions</action> |
| 4451 | </actions> |
| 4452 | </button> |
| 4453 | |
| 4454 | <action> |
| 4455 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4456 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4457 | <action function="set">tw_fm_isfolder=0</action> |
| 4458 | </actions> |
| 4459 | </action> |
| 4460 | |
| 4461 | <action> |
| 4462 | <touch key="home"/> |
| 4463 | <action function="page">main</action> |
| 4464 | </action> |
| 4465 | |
| 4466 | <action> |
| 4467 | <touch key="back"/> |
| 4468 | <action function="page">advanced</action> |
| 4469 | </action> |
| 4470 | |
| 4471 | <action> |
| 4472 | <condition var1="tw_filename1" op="modified"/> |
| 4473 | <action function="page">filemanageroptions</action> |
| 4474 | </action> |
| 4475 | </page> |
| 4476 | |
| 4477 | <page name="filemanageroptions"> |
| 4478 | <template name="page"/> |
| 4479 | |
| 4480 | <text style="text_l"> |
| 4481 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4482 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4483 | </text> |
| 4484 | |
| 4485 | <text style="text_m"> |
| 4486 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4487 | <text>{@fm_choose_act=Choose Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4488 | </text> |
| 4489 | |
| 4490 | <text style="text_m_accent"> |
| 4491 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4492 | <text>{@fm_selected=%tw_fm_type% selected:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4493 | </text> |
| 4494 | |
| 4495 | <text style="text_m"> |
| 4496 | <placement x="%indent%" y="%row3_y%"/> |
| 4497 | <text>%tw_filename1%</text> |
| 4498 | </text> |
| 4499 | |
| 4500 | <button style="main_button_half_height"> |
Captain Throwback | 16dd81b | 2021-02-12 19:32:36 -0500 | [diff] [blame] | 4501 | <conditions> |
| 4502 | <condition var1="tw_include_nano" var2="1"/> |
| 4503 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4504 | </conditions> |
| 4505 | <placement x="%indent%" y="%row12a_y%"/> |
| 4506 | <text>{@fm_edit_file=Edit File}</text> |
| 4507 | <actions> |
| 4508 | <action function="editfile">nano "%tw_filename1%"</action> |
| 4509 | <action function="page">terminalcommand</action> |
| 4510 | </actions> |
| 4511 | </button> |
| 4512 | |
| 4513 | <button style="main_button_half_height"> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 4514 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4515 | <placement x="%center_x%" y="%row12a_y%"/> |
| 4516 | <text>{@fm_open_terminal_btn=Open Terminal Here}</text> |
| 4517 | <action function="changeterminal">%tw_filename1%</action> |
| 4518 | </button> |
| 4519 | |
| 4520 | <button style="main_button_half_height"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4521 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4522 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4523 | <text>{@fm_copy_file_btn=Copy File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4524 | <actions> |
| 4525 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4526 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4527 | <action function="page">choosedestinationfolder</action> |
| 4528 | </actions> |
| 4529 | </button> |
| 4530 | |
| 4531 | <button style="main_button_half_height"> |
| 4532 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4533 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4534 | <text>{@fm_copy_folder_btn=Copy Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4535 | <actions> |
| 4536 | <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] | 4537 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4538 | <action function="page">choosedestinationfolder</action> |
| 4539 | </actions> |
| 4540 | </button> |
| 4541 | |
| 4542 | <button style="main_button_half_height"> |
| 4543 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4544 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4545 | <actions> |
| 4546 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4547 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4548 | <action function="page">choosedestinationfolder</action> |
| 4549 | </actions> |
| 4550 | </button> |
| 4551 | |
| 4552 | <button style="main_button_half_height"> |
| 4553 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4554 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4555 | <actions> |
| 4556 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4557 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4558 | <action function="set">tw_fm_text2=</action> |
| 4559 | <action function="set">tw_fm_text3=</action> |
| 4560 | <action function="set">tw_include_text3=0</action> |
| 4561 | <action function="set">tw_back=filemanageroptions</action> |
| 4562 | <action function="page">filemanagerconfirm</action> |
| 4563 | </actions> |
| 4564 | </button> |
| 4565 | |
| 4566 | <button style="main_button_half_height"> |
| 4567 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4568 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4569 | <actions> |
| 4570 | <action function="set">tw_filemanager_rename=0000</action> |
| 4571 | <action function="set">tw_fm_text2=</action> |
| 4572 | <action function="set">tw_fm_text3=</action> |
| 4573 | <action function="set">tw_include_text3=0</action> |
| 4574 | <action function="set">tw_back=filemanageroptions</action> |
| 4575 | <action function="page">filemanagerchmod</action> |
| 4576 | </actions> |
| 4577 | </button> |
| 4578 | |
| 4579 | <button style="main_button_half_height"> |
| 4580 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4581 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4582 | <actions> |
| 4583 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4584 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4585 | <action function="set">tw_fm_text2=</action> |
| 4586 | <action function="set">tw_fm_text3=</action> |
| 4587 | <action function="set">tw_include_text3=0</action> |
| 4588 | <action function="set">tw_back=filemanageroptions</action> |
| 4589 | <action function="page">filemanagerconfirm</action> |
| 4590 | </actions> |
| 4591 | </button> |
| 4592 | |
| 4593 | <button style="main_button_half_height"> |
| 4594 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4595 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4596 | <text>{@fm_rename_file_btn=Rename File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4597 | <actions> |
| 4598 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4599 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4600 | <action function="set">tw_filemanager_command=mv</action> |
| 4601 | <action function="page">filemanagerrenamefile</action> |
| 4602 | </actions> |
| 4603 | </button> |
| 4604 | |
| 4605 | <button style="main_button_half_height"> |
| 4606 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4607 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4608 | <text>{@fm_rename_folder_btn=Rename Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4609 | <actions> |
| 4610 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4611 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4612 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 4613 | <action function="page">filemanagerrenamefolder</action> |
| 4614 | </actions> |
| 4615 | </button> |
| 4616 | |
| 4617 | <action> |
| 4618 | <touch key="home"/> |
| 4619 | <action function="page">main</action> |
| 4620 | </action> |
| 4621 | |
| 4622 | <action> |
| 4623 | <touch key="back"/> |
| 4624 | <action function="page">filemanagerlist</action> |
| 4625 | </action> |
| 4626 | </page> |
| 4627 | |
| 4628 | <page name="choosedestinationfolder"> |
| 4629 | <template name="page"/> |
| 4630 | |
| 4631 | <text style="text_l"> |
| 4632 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4633 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4634 | </text> |
| 4635 | |
| 4636 | <text style="text_m"> |
| 4637 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4638 | <text>{@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4639 | </text> |
| 4640 | |
| 4641 | <template name="sort_options"/> |
| 4642 | |
| 4643 | <fileselector> |
| 4644 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4645 | <text>%tw_file_location2%</text> |
| 4646 | <filter folders="1" files="0"/> |
| 4647 | <path name="tw_file_location2" default="/"/> |
| 4648 | <data name="tw_filename2"/> |
| 4649 | <selection name="tw_selection2"/> |
| 4650 | </fileselector> |
| 4651 | |
| 4652 | <button style="fab"> |
| 4653 | <image resource="fab_selectfolder"/> |
| 4654 | <actions> |
| 4655 | <action function="set">tw_fm_text2=to</action> |
| 4656 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 4657 | <action function="set">tw_include_text3=1</action> |
| 4658 | <action function="set">tw_back=filemanageroptions</action> |
| 4659 | <action function="page">filemanagerconfirm</action> |
| 4660 | </actions> |
| 4661 | </button> |
| 4662 | |
| 4663 | <action> |
| 4664 | <touch key="home"/> |
| 4665 | <action function="page">main</action> |
| 4666 | </action> |
| 4667 | |
| 4668 | <action> |
| 4669 | <touch key="back"/> |
| 4670 | <action function="page">filemanageroptions</action> |
| 4671 | </action> |
| 4672 | </page> |
| 4673 | |
| 4674 | <page name="filemanagerrenamefile"> |
| 4675 | <template name="page"/> |
| 4676 | |
| 4677 | <text style="text_l"> |
| 4678 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4679 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4680 | </text> |
| 4681 | |
| 4682 | <text style="text_m"> |
| 4683 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4684 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4685 | </text> |
| 4686 | |
| 4687 | <text style="text_m_accent"> |
| 4688 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4689 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4690 | </text> |
| 4691 | |
| 4692 | <input> |
| 4693 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4694 | <text>%tw_filemanager_rename%</text> |
| 4695 | <data name="tw_filemanager_rename"/> |
| 4696 | <restrict minlen="1" maxlen="128"/> |
| 4697 | <actions> |
| 4698 | <action function="set">tw_fm_text2=to</action> |
| 4699 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 4700 | <action function="set">tw_include_text3=1</action> |
| 4701 | <action function="set">tw_back=filemanageroptions</action> |
| 4702 | <action function="page">filemanagerconfirm</action> |
| 4703 | </actions> |
| 4704 | </input> |
| 4705 | |
| 4706 | <fill color="%accent_color%"> |
| 4707 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4708 | </fill> |
| 4709 | |
| 4710 | <button style="main_button_half_height"> |
| 4711 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4712 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4713 | <action function="page">filemanageroptions</action> |
| 4714 | </button> |
| 4715 | |
| 4716 | <template name="keyboardtemplate"/> |
| 4717 | |
| 4718 | <action> |
| 4719 | <touch key="home"/> |
| 4720 | <action function="page">main</action> |
| 4721 | </action> |
| 4722 | |
| 4723 | <action> |
| 4724 | <touch key="back"/> |
| 4725 | <action function="page">filemanageroptions</action> |
| 4726 | </action> |
| 4727 | </page> |
| 4728 | |
| 4729 | <page name="filemanagerrenamefolder"> |
| 4730 | <template name="page"/> |
| 4731 | |
| 4732 | <text style="text_l"> |
| 4733 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4734 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4735 | </text> |
| 4736 | |
| 4737 | <text style="text_m"> |
| 4738 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4739 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4740 | </text> |
| 4741 | |
| 4742 | <text style="text_m_accent"> |
| 4743 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4744 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4745 | </text> |
| 4746 | |
| 4747 | <input> |
| 4748 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4749 | <text>%tw_filemanager_rename%</text> |
| 4750 | <data name="tw_filemanager_rename"/> |
| 4751 | <restrict minlen="1" maxlen="128"/> |
| 4752 | <actions> |
| 4753 | <action function="set">tw_fm_text2=to</action> |
| 4754 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 4755 | <action function="set">tw_include_text3=1</action> |
| 4756 | <action function="set">tw_back=filemanageroptions</action> |
| 4757 | <action function="page">filemanagerconfirm</action> |
| 4758 | </actions> |
| 4759 | </input> |
| 4760 | |
| 4761 | <fill color="%accent_color%"> |
| 4762 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4763 | </fill> |
| 4764 | |
| 4765 | <button style="main_button_half_height"> |
| 4766 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4767 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4768 | <action function="page">filemanageroptions</action> |
| 4769 | </button> |
| 4770 | |
| 4771 | <template name="keyboardtemplate"/> |
| 4772 | |
| 4773 | <action> |
| 4774 | <touch key="home"/> |
| 4775 | <action function="page">main</action> |
| 4776 | </action> |
| 4777 | |
| 4778 | <action> |
| 4779 | <touch key="back"/> |
| 4780 | <action function="page">filemanageroptions</action> |
| 4781 | </action> |
| 4782 | </page> |
| 4783 | |
| 4784 | <page name="filemanagerchmod"> |
| 4785 | <template name="page"/> |
| 4786 | |
| 4787 | <text style="text_l"> |
| 4788 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4789 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4790 | </text> |
| 4791 | |
| 4792 | <text style="text_m"> |
| 4793 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4794 | <text>{@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4795 | </text> |
| 4796 | |
| 4797 | <text style="text_m_accent"> |
| 4798 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4799 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4800 | </text> |
| 4801 | |
| 4802 | <input> |
| 4803 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 4804 | <text>%tw_filemanager_rename%</text> |
| 4805 | <data name="tw_filemanager_rename"/> |
| 4806 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 4807 | <actions> |
| 4808 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 4809 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 4810 | <action function="set">tw_back=filemanageroptions</action> |
| 4811 | <action function="page">filemanagerconfirm</action> |
| 4812 | </actions> |
| 4813 | </input> |
| 4814 | |
| 4815 | <fill color="%accent_color%"> |
| 4816 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4817 | </fill> |
| 4818 | |
| 4819 | <button style="main_button_half_height"> |
| 4820 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4821 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4822 | <action function="page">filemanageroptions</action> |
| 4823 | </button> |
| 4824 | |
| 4825 | <template name="keyboardtemplate"/> |
| 4826 | |
| 4827 | <action> |
| 4828 | <touch key="home"/> |
| 4829 | <action function="page">main</action> |
| 4830 | </action> |
| 4831 | |
| 4832 | <action> |
| 4833 | <touch key="back"/> |
| 4834 | <action function="page">filemanageroptions</action> |
| 4835 | </action> |
| 4836 | </page> |
| 4837 | |
| 4838 | <page name="filemanagerconfirm"> |
| 4839 | <template name="page"/> |
| 4840 | |
| 4841 | <text style="text_l"> |
| 4842 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4843 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4844 | </text> |
| 4845 | |
| 4846 | <text style="text_m"> |
| 4847 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4848 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4849 | </text> |
| 4850 | |
| 4851 | <text style="text_m_accent"> |
| 4852 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4853 | <text>%tw_fm_text1%</text> |
| 4854 | </text> |
| 4855 | |
| 4856 | <text style="text_m"> |
| 4857 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4858 | <text>%tw_filename1%</text> |
| 4859 | </text> |
| 4860 | |
| 4861 | <text style="text_m_accent"> |
| 4862 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 4863 | <text>%tw_fm_text2%</text> |
| 4864 | </text> |
| 4865 | |
| 4866 | <text style="text_m"> |
| 4867 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 4868 | <text>%tw_fm_text3%</text> |
| 4869 | </text> |
| 4870 | |
| 4871 | <text style="text_m"> |
| 4872 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4873 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4874 | </text> |
| 4875 | |
| 4876 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4877 | <text>{@swipe_to_confirm=Swipe to Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4878 | <action function="page">filemanageraction</action> |
| 4879 | </slider> |
| 4880 | |
| 4881 | <action> |
| 4882 | <touch key="back"/> |
| 4883 | <action function="page">%tw_back%</action> |
| 4884 | </action> |
| 4885 | |
| 4886 | <action> |
| 4887 | <touch key="home"/> |
| 4888 | <action function="page">main</action> |
| 4889 | </action> |
| 4890 | </page> |
| 4891 | |
| 4892 | <page name="filemanageraction"> |
| 4893 | <template name="page"/> |
| 4894 | |
| 4895 | <text style="text_l"> |
| 4896 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4897 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4898 | </text> |
| 4899 | |
| 4900 | <text style="text_m"> |
| 4901 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 4902 | <text>%tw_fm_text1%</text> |
| 4903 | </text> |
| 4904 | |
| 4905 | <template name="console"/> |
| 4906 | |
| 4907 | <template name="progress_bar"/> |
| 4908 | |
| 4909 | <action> |
| 4910 | <conditions> |
| 4911 | <condition var1="tw_operation_state" var2="1"/> |
| 4912 | <condition var1="tw_operation_status" var2="0"/> |
| 4913 | </conditions> |
| 4914 | <actions> |
| 4915 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4916 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4917 | <action function="page">action_complete</action> |
| 4918 | </actions> |
| 4919 | </action> |
| 4920 | |
| 4921 | <action> |
| 4922 | <conditions> |
| 4923 | <condition var1="tw_operation_state" var2="1"/> |
| 4924 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4925 | </conditions> |
| 4926 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4927 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4928 | <action function="page">action_complete</action> |
| 4929 | </actions> |
| 4930 | </action> |
| 4931 | |
| 4932 | <action> |
| 4933 | <condition var1="tw_include_text3" var2="0"/> |
| 4934 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 4935 | </action> |
| 4936 | |
| 4937 | <action> |
| 4938 | <condition var1="tw_include_text3" var2="1"/> |
| 4939 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 4940 | </action> |
| 4941 | </page> |
| 4942 | |
| 4943 | <page name="decrypt"> |
| 4944 | <template name="page"/> |
| 4945 | |
| 4946 | <action> |
| 4947 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 4948 | <action function="page">decrypt_pattern</action> |
| 4949 | </action> |
| 4950 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 4951 | <action> |
| 4952 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 4953 | <action function="page">decrypt_pin</action> |
| 4954 | </action> |
| 4955 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4956 | <text style="text_l"> |
| 4957 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4958 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4959 | </text> |
| 4960 | |
| 4961 | <text style="text_m"> |
| 4962 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4963 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4964 | </text> |
| 4965 | |
| 4966 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4967 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4968 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4969 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4970 | </text> |
| 4971 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4972 | <text style="text_m_accent"> |
| 4973 | <condition var1="tw_is_fbe" var2="1"/> |
| 4974 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 4975 | <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text> |
| 4976 | </text> |
| 4977 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4978 | <input> |
| 4979 | <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4980 | <text>%tw_crypto_display%</text> |
| 4981 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4982 | <restrict minlen="1" maxlen="254"/> |
| 4983 | <action function="page">trydecrypt</action> |
| 4984 | </input> |
| 4985 | |
| 4986 | <fill color="%accent_color%"> |
| 4987 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4988 | </fill> |
| 4989 | |
| 4990 | <fill color="%text_fail_color%"> |
| 4991 | <condition var1="tw_password_fail" var2="1"/> |
| 4992 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4993 | </fill> |
| 4994 | |
| 4995 | <text style="text_m_fail"> |
| 4996 | <condition var1="tw_password_fail" var2="1"/> |
| 4997 | <placement x="%indent%" y="%row5_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 4998 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4999 | </text> |
| 5000 | |
| 5001 | <button style="main_button_half_height"> |
| 5002 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5003 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5004 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5005 | </button> |
| 5006 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5007 | <button style="main_button_half_height"> |
| 5008 | <placement x="%center_x%" y="%row10_y%"/> |
| 5009 | <text>{@sel_lang_btn=Select Language}</text> |
| 5010 | <action function="overlay">select_language</action> |
| 5011 | </button> |
| 5012 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5013 | <template name="keyboardtemplate"/> |
| 5014 | </page> |
| 5015 | |
| 5016 | <page name="decrypt_pattern"> |
| 5017 | <template name="page"/> |
| 5018 | |
| 5019 | <text style="text_l"> |
| 5020 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5021 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5022 | </text> |
| 5023 | |
| 5024 | <text style="text_m"> |
| 5025 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5026 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5027 | </text> |
| 5028 | |
| 5029 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5030 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5031 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5032 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5033 | </text> |
| 5034 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5035 | <text style="text_m_accent"> |
| 5036 | <condition var1="tw_is_fbe" var2="1"/> |
| 5037 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5038 | <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text> |
| 5039 | </text> |
| 5040 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5041 | <text style="text_m_fail"> |
| 5042 | <condition var1="tw_password_fail" var2="1"/> |
| 5043 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 5044 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5045 | </text> |
| 5046 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5047 | <patternpassword> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5048 | <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5049 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 5050 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 5051 | <data name="tw_crypto_password"/> |
| 5052 | <action function="page">trydecrypt</action> |
| 5053 | </patternpassword> |
| 5054 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5055 | <button style="button_quarter_width"> |
| 5056 | <placement x="%indent%" y="%row19a_y%"/> |
| 5057 | <text>3x3</text> |
| 5058 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5059 | </button> |
| 5060 | |
| 5061 | <button style="button_quarter_width"> |
| 5062 | <placement x="%btn4_col2_x%" y="%row19a_y%"/> |
| 5063 | <text>4x4</text> |
| 5064 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 5065 | </button> |
| 5066 | |
| 5067 | <button style="button_quarter_width"> |
| 5068 | <placement x="%btn4_col3_x%" y="%row19a_y%"/> |
| 5069 | <text>5x5</text> |
| 5070 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 5071 | </button> |
| 5072 | |
| 5073 | <button style="button_quarter_width"> |
| 5074 | <placement x="%btn4_col4_x%" y="%row19a_y%"/> |
| 5075 | <text>6x6</text> |
| 5076 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 5077 | </button> |
| 5078 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5079 | <button style="main_button_half_height"> |
| 5080 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5081 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5082 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5083 | </button> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5084 | |
| 5085 | <button style="main_button_half_height"> |
| 5086 | <placement x="%center_x%" y="%row21a_y%"/> |
| 5087 | <text>{@sel_lang_btn=Select Language}</text> |
| 5088 | <action function="overlay">select_language</action> |
| 5089 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5090 | </page> |
| 5091 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 5092 | <page name="decrypt_pin"> |
| 5093 | <template name="page"/> |
| 5094 | |
| 5095 | <text style="text_l"> |
| 5096 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5097 | <text>{@mount_hdr=Mount}</text> |
| 5098 | </text> |
| 5099 | |
| 5100 | <text style="text_m"> |
| 5101 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 5102 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
| 5103 | </text> |
| 5104 | |
| 5105 | <text style="text_m_accent"> |
| 5106 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
| 5107 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5108 | <text>{@decrypt_data_enter_pass=Enter PIN:}</text> |
| 5109 | </text> |
| 5110 | |
| 5111 | <text style="text_m_accent"> |
| 5112 | <condition var1="tw_is_fbe" var2="1"/> |
| 5113 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5114 | <text>{@decrypt_data_enter_pass_fbe=Enter PIN for User [%tw_crypto_user_id%]}</text> |
| 5115 | </text> |
| 5116 | |
| 5117 | <input> |
| 5118 | <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 5119 | <text>%tw_crypto_display%</text> |
| 5120 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 5121 | <restrict minlen="1" maxlen="254"/> |
| 5122 | <action function="page">trydecrypt</action> |
| 5123 | </input> |
| 5124 | |
| 5125 | <fill color="%accent_color%"> |
| 5126 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5127 | </fill> |
| 5128 | |
| 5129 | <fill color="%text_fail_color%"> |
| 5130 | <condition var1="tw_password_fail" var2="1"/> |
| 5131 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5132 | </fill> |
| 5133 | |
| 5134 | <text style="text_m_fail"> |
| 5135 | <condition var1="tw_password_fail" var2="1"/> |
| 5136 | <placement x="%indent%" y="%row5_y%"/> |
| 5137 | <text>{@decrypt_data_failed=PIN failed, please try again!}</text> |
| 5138 | </text> |
| 5139 | |
| 5140 | <button style="main_button_half_height"> |
| 5141 | <placement x="%indent%" y="%row10_y%"/> |
| 5142 | <text>{@cancel_btn=Cancel}</text> |
| 5143 | <action function="page">canceldecrypt</action> |
| 5144 | </button> |
| 5145 | |
| 5146 | <button style="main_button_half_height"> |
| 5147 | <placement x="%center_x%" y="%row10_y%"/> |
| 5148 | <text>{@sel_lang_btn=Select Language}</text> |
| 5149 | <action function="overlay">select_language</action> |
| 5150 | </button> |
| 5151 | |
| 5152 | <template name="keyboardnum"/> |
| 5153 | </page> |
| 5154 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5155 | <page name="trydecrypt"> |
| 5156 | <template name="page"/> |
| 5157 | |
| 5158 | <text style="text_l"> |
| 5159 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5160 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5161 | </text> |
| 5162 | |
| 5163 | <text style="text_m"> |
| 5164 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5165 | <text>{@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5166 | </text> |
| 5167 | |
| 5168 | <template name="console"/> |
| 5169 | |
| 5170 | <template name="progress_bar"/> |
| 5171 | |
| 5172 | <action> |
| 5173 | <action function="decrypt"/> |
| 5174 | </action> |
| 5175 | |
| 5176 | <action> |
| 5177 | <conditions> |
| 5178 | <condition var1="tw_operation_state" var2="1"/> |
| 5179 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5180 | </conditions> |
| 5181 | <actions> |
| 5182 | <action function="set">tw_password_fail=1</action> |
| 5183 | <action function="page">decrypt</action> |
| 5184 | </actions> |
| 5185 | </action> |
| 5186 | |
| 5187 | <action> |
| 5188 | <conditions> |
| 5189 | <condition var1="tw_operation_state" var2="1"/> |
| 5190 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 5191 | </conditions> |
| 5192 | <actions> |
| 5193 | <action function="set">tw_page_done=1</action> |
| 5194 | <action function="page">main</action> |
| 5195 | </actions> |
| 5196 | </action> |
| 5197 | </page> |
| 5198 | |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5199 | <page name="canceldecrypt"> |
| 5200 | <template name="page"/> |
| 5201 | |
| 5202 | <text style="text_l"> |
| 5203 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5204 | <text>{@cancel_btn=Cancel}</text> |
| 5205 | </text> |
| 5206 | |
| 5207 | <text style="text_m"> |
| 5208 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 5209 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
| 5210 | </text> |
| 5211 | |
| 5212 | <template name="console"/> |
| 5213 | |
| 5214 | <template name="progress_bar"/> |
| 5215 | |
| 5216 | <action> |
| 5217 | <action function="refreshsizes"/> |
| 5218 | </action> |
| 5219 | |
| 5220 | <action> |
| 5221 | <conditions> |
| 5222 | <condition var1="tw_operation_state" var2="1"/> |
| 5223 | </conditions> |
| 5224 | <actions> |
| 5225 | <action function="set">tw_page_done=1</action> |
| 5226 | <action function="page">main</action> |
| 5227 | </actions> |
| 5228 | </action> |
| 5229 | </page> |
| 5230 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5231 | <page name="terminalcommand"> |
| 5232 | <template name="page"/> |
| 5233 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5234 | <fill color="%background_color%"> |
| 5235 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5236 | </fill> |
| 5237 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5238 | <terminal> |
| 5239 | <condition var1="tw_hide_kb" var2="0"/> |
| 5240 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/> |
| 5241 | </terminal> |
| 5242 | |
| 5243 | <terminal> |
| 5244 | <condition var1="tw_hide_kb" var2="1"/> |
| 5245 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/> |
| 5246 | </terminal> |
| 5247 | |
| 5248 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5249 | |
| 5250 | <template name="keyboardtemplate"/> |
| 5251 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5252 | <fill color="#000000"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5253 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5254 | </fill> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5255 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5256 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5257 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5258 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5259 | <image resource="back" /> |
| 5260 | <condition var1="tw_busy" var2="0" /> |
| 5261 | <actions> |
| 5262 | <action function="set">tw_hide_kb=0</action> |
| 5263 | <action function="key">back</action> |
| 5264 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5265 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5266 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5267 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5268 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5269 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5270 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5271 | <image resource="kb_hide" /> |
| 5272 | <condition var1="tw_busy" var2="0" /> |
| 5273 | <actions> |
| 5274 | <action function="set">tw_hide_kb=1</action> |
| 5275 | <action function="page">terminalcommand</action> |
| 5276 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5277 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5278 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5279 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5280 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5281 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5282 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5283 | <image resource="kb_show" /> |
| 5284 | <condition var1="tw_busy" var2="0" /> |
| 5285 | <actions> |
| 5286 | <action function="set">tw_hide_kb=0</action> |
| 5287 | <action function="page">terminalcommand</action> |
| 5288 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5289 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5290 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5291 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5292 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5293 | <image resource="home" /> |
| 5294 | <condition var1="tw_busy" var2="0" /> |
| 5295 | <actions> |
| 5296 | <action function="set">tw_hide_kb=0</action> |
| 5297 | <action function="key">home</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5298 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5299 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5300 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5301 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5302 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5303 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5304 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 5305 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5306 | <image resource="kb_hide" /> |
| 5307 | <condition var1="tw_busy" var2="0" /> |
| 5308 | <actions> |
| 5309 | <action function="set">tw_hide_kb=1</action> |
| 5310 | <action function="page">terminalcommand</action> |
| 5311 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5312 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5313 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5314 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5315 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 5316 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 5317 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5318 | <image resource="kb_show" /> |
| 5319 | <condition var1="tw_busy" var2="0" /> |
| 5320 | <actions> |
| 5321 | <action function="set">tw_hide_kb=0</action> |
| 5322 | <action function="page">terminalcommand</action> |
| 5323 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5324 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5325 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5326 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5327 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 5328 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5329 | <image resource="back" /> |
| 5330 | <condition var1="tw_busy" var2="0" /> |
| 5331 | <actions> |
| 5332 | <action function="set">tw_hide_kb=0</action> |
| 5333 | <action function="key">back</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5334 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5335 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5336 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5337 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5338 | <action> |
| 5339 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5340 | <actions> |
| 5341 | <action function="set">tw_hide_kb=0</action> |
| 5342 | <action function="page">main</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5343 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5344 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5345 | </action> |
| 5346 | |
| 5347 | <action> |
| 5348 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5349 | <actions> |
| 5350 | <action function="set">tw_hide_kb=0</action> |
| 5351 | <action function="page">advanced</action> |
Mohd Faraz | 77bbeb0 | 2020-08-12 12:29:42 +0000 | [diff] [blame] | 5352 | <action function="changeterminal"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5353 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5354 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5355 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5356 | <action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5357 | <touch key="power+voldown" /> |
| 5358 | <action function="screenshot" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5359 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5360 | </page> |
| 5361 | |
bigbiff | df8436b | 2020-08-30 16:22:34 -0400 | [diff] [blame] | 5362 | <page name="fastboot"> |
| 5363 | <template name="page"/> |
| 5364 | |
| 5365 | <text style="text_l"> |
| 5366 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5367 | <text>{@fastboot_button=Fastboot}</text> |
| 5368 | </text> |
| 5369 | |
| 5370 | <template name="console"/> |
| 5371 | |
| 5372 | <template name="progress_bar"/> |
| 5373 | |
| 5374 | <button style="main_button_half_height"> |
| 5375 | <condition var1="tw_enable_fastboot" op="=" var2="1" /> |
| 5376 | <placement x="%indent%" y="%row21a_y%"/> |
| 5377 | <text>{@enable_adb=Enable ADB}</text> |
| 5378 | <actions> |
| 5379 | <action function="enableadb"/> |
| 5380 | <action function="set">tw_enable_adb=1</action> |
| 5381 | <action function="set">tw_enable_fastboot=0</action> |
| 5382 | </actions> |
| 5383 | </button> |
| 5384 | |
| 5385 | <button style="main_button_half_height"> |
| 5386 | <condition var1="tw_enable_adb" op="=" var2="1" /> |
| 5387 | <placement x="%indent%" y="%row21a_y%"/> |
| 5388 | <text>{@enable_fastboot=Enable Fastboot}</text> |
| 5389 | <actions> |
| 5390 | <action function="enablefastboot"/> |
| 5391 | <action function="set">tw_enable_fastboot=1</action> |
| 5392 | <action function="set">tw_enable_adb=0</action> |
| 5393 | </actions> |
| 5394 | </button> |
| 5395 | |
| 5396 | <button style="main_button_half_height"> |
| 5397 | <placement x="%center_x%" y="%row21a_y%"/> |
| 5398 | <text>{@reboot_btn=Reboot}</text> |
| 5399 | <action function="page">fastbootreboot</action> |
| 5400 | </button> |
| 5401 | </page> |
| 5402 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5403 | <page name="sideload"> |
| 5404 | <template name="page"/> |
| 5405 | |
| 5406 | <text style="text_l"> |
| 5407 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5408 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5409 | </text> |
| 5410 | |
| 5411 | <text style="text_m"> |
| 5412 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5413 | <text>{@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5414 | </text> |
| 5415 | |
| 5416 | <checkbox> |
| 5417 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5418 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5419 | <data variable="tw_wipe_dalvik"/> |
| 5420 | </checkbox> |
| 5421 | |
| 5422 | <checkbox> |
| 5423 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5424 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5425 | <data variable="tw_wipe_cache"/> |
| 5426 | </checkbox> |
| 5427 | |
| 5428 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5429 | <text>{@swipe_to_sideload=Swipe to Start Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5430 | <actions> |
| 5431 | <action function="set">tw_back=advanced</action> |
| 5432 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5433 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5434 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5435 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5436 | <action function="set">tw_has_cancel=1</action> |
| 5437 | <action function="set">tw_show_reboot=1</action> |
| 5438 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5439 | <action function="page">action_page</action> |
| 5440 | </actions> |
| 5441 | </slider> |
| 5442 | |
| 5443 | <action> |
| 5444 | <touch key="home"/> |
| 5445 | <action function="page">main</action> |
| 5446 | </action> |
| 5447 | |
| 5448 | <action> |
| 5449 | <touch key="back"/> |
| 5450 | <action function="page">advanced</action> |
| 5451 | </action> |
| 5452 | </page> |
| 5453 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5454 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5455 | <template name="page"/> |
| 5456 | |
| 5457 | <text style="text_l"> |
| 5458 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5459 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5460 | </text> |
| 5461 | |
| 5462 | <text style="text_m"> |
| 5463 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5464 | <text>{@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5465 | </text> |
| 5466 | |
| 5467 | <text style="text_m_accent"> |
| 5468 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5469 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5470 | </text> |
| 5471 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5472 | <text style="text_m_fail"> |
| 5473 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5474 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5475 | </text> |
| 5476 | |
| 5477 | <text style="text_m_fail"> |
| 5478 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5479 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5480 | </text> |
| 5481 | |
| 5482 | <slider> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5483 | <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5484 | <actions> |
| 5485 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5486 | <action function="set">tw_action=fixcontexts</action> |
| 5487 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5488 | <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] | 5489 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5490 | <action function="set">tw_show_reboot=1</action> |
| 5491 | <action function="page">action_page</action> |
| 5492 | </actions> |
| 5493 | </slider> |
| 5494 | |
| 5495 | <action> |
| 5496 | <touch key="home"/> |
| 5497 | <action function="page">main</action> |
| 5498 | </action> |
| 5499 | |
| 5500 | <action> |
| 5501 | <touch key="back"/> |
| 5502 | <action function="page">advanced</action> |
| 5503 | </action> |
| 5504 | </page> |
| 5505 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5506 | <page name="slideout"> |
| 5507 | <fill color="%background_color%"> |
| 5508 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5509 | </fill> |
| 5510 | |
| 5511 | <console> |
| 5512 | <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/> |
| 5513 | </console> |
| 5514 | |
| 5515 | <button> |
| 5516 | <fill color="%transparent%"/> |
| 5517 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5518 | <action function="overlay"/> |
| 5519 | </button> |
| 5520 | |
| 5521 | <action> |
Matt Mower | 0c347d5 | 2016-01-21 23:14:39 -0600 | [diff] [blame] | 5522 | <touch key="power"/> |
| 5523 | <action function="togglebacklight"/> |
| 5524 | </action> |
| 5525 | |
| 5526 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5527 | <touch key="power+voldown"/> |
| 5528 | <action function="screenshot"/> |
| 5529 | </action> |
| 5530 | </page> |
| 5531 | |
| 5532 | <page name="select_storage"> |
| 5533 | <fill color="%semi_transparent%"> |
| 5534 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5535 | </fill> |
| 5536 | |
| 5537 | <fill color="%background_color%"> |
| 5538 | <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/> |
| 5539 | </fill> |
| 5540 | |
| 5541 | <partitionlist style="partitionlist_storage"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5542 | <text>{@sel_storage_list=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5543 | <data name="tw_storage_path"/> |
| 5544 | <listtype name="storage"/> |
| 5545 | </partitionlist> |
| 5546 | |
| 5547 | <button style="button_third_width"> |
| 5548 | <placement x="%dialog_button_x%" y="%row14_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5549 | <text>{@ok_btn=OK}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5550 | <actions> |
| 5551 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5552 | <action function="overlay"/> |
| 5553 | <action function="page">clear_vars</action> |
| 5554 | </actions> |
| 5555 | </button> |
| 5556 | |
| 5557 | <fill color="#000000"> |
| 5558 | <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/> |
| 5559 | </fill> |
| 5560 | |
| 5561 | <button> |
| 5562 | <condition var1="tw_samsung_navbar" op="!=" var2="1"/> |
| 5563 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5564 | <image resource="back"/> |
| 5565 | <condition var1="tw_busy" var2="0"/> |
| 5566 | <actions> |
| 5567 | <action function="overlay"/> |
| 5568 | <action function="key">%tw_back%</action> |
| 5569 | </actions> |
| 5570 | </button> |
| 5571 | |
| 5572 | <button> |
| 5573 | <condition var1="tw_samsung_navbar" op="=" var2="1"/> |
| 5574 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5575 | <image resource="console"/> |
| 5576 | <condition var1="tw_busy" var2="0"/> |
| 5577 | <action function="overlay">slideout</action> |
| 5578 | </button> |
| 5579 | |
| 5580 | <button> |
| 5581 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5582 | <image resource="home"/> |
| 5583 | <condition var1="tw_busy" var2="0"/> |
| 5584 | <actions> |
| 5585 | <action function="overlay"/> |
| 5586 | <action function="key">home</action> |
| 5587 | </actions> |
| 5588 | </button> |
| 5589 | |
| 5590 | <button> |
| 5591 | <condition var1="tw_samsung_navbar" op="!=" var2="1"/> |
| 5592 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5593 | <image resource="console"/> |
| 5594 | <condition var1="tw_busy" var2="0"/> |
| 5595 | <action function="overlay">slideout</action> |
| 5596 | </button> |
| 5597 | |
| 5598 | <button> |
| 5599 | <condition var1="tw_samsung_navbar" op="=" var2="1"/> |
| 5600 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5601 | <image resource="back"/> |
| 5602 | <condition var1="tw_busy" var2="0"/> |
| 5603 | <actions> |
| 5604 | <action function="overlay"/> |
| 5605 | <action function="key">%tw_back%</action> |
| 5606 | </actions> |
| 5607 | </button> |
| 5608 | |
| 5609 | <action> |
| 5610 | <touch key="power+voldown"/> |
| 5611 | <action function="screenshot"/> |
| 5612 | </action> |
| 5613 | </page> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5614 | |
| 5615 | <page name="select_language"> |
| 5616 | <fill color="%semi_transparent%"> |
| 5617 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 5618 | </fill> |
| 5619 | |
| 5620 | <fill color="%background_color%"> |
| 5621 | <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/> |
| 5622 | </fill> |
| 5623 | |
| 5624 | <listbox> |
| 5625 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/> |
| 5626 | <text>{@select_language=Select Language:}</text> |
| 5627 | <icon selected="radio_true" unselected="radio_false" /> |
| 5628 | <data name="tw_language" /> |
| 5629 | </listbox> |
| 5630 | |
| 5631 | <button style="button_third_width"> |
| 5632 | <placement x="%dialog_button_x%" y="%row14_y%"/> |
| 5633 | <text>{@ok_btn=OK}</text> |
| 5634 | <actions> |
| 5635 | <action function="overlay"/> |
| 5636 | <action function="setlanguage"></action> |
| 5637 | </actions> |
| 5638 | </button> |
| 5639 | |
| 5640 | <fill color="#000000"> |
| 5641 | <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/> |
| 5642 | </fill> |
| 5643 | |
| 5644 | <button> |
| 5645 | <condition var1="tw_samsung_navbar" op="!=" var2="1"/> |
| 5646 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5647 | <image resource="back"/> |
| 5648 | <condition var1="tw_busy" var2="0"/> |
| 5649 | <actions> |
| 5650 | <action function="overlay"/> |
| 5651 | <action function="key">%tw_back%</action> |
| 5652 | </actions> |
| 5653 | </button> |
| 5654 | |
| 5655 | <button> |
| 5656 | <condition var1="tw_samsung_navbar" op="=" var2="1"/> |
| 5657 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5658 | <image resource="console"/> |
| 5659 | <condition var1="tw_busy" var2="0"/> |
| 5660 | <action function="overlay">slideout</action> |
| 5661 | </button> |
| 5662 | |
| 5663 | <button> |
| 5664 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5665 | <image resource="home"/> |
| 5666 | <condition var1="tw_busy" var2="0"/> |
| 5667 | <actions> |
| 5668 | <action function="overlay"/> |
| 5669 | <action function="key">home</action> |
| 5670 | </actions> |
| 5671 | </button> |
| 5672 | |
| 5673 | <button> |
| 5674 | <condition var1="tw_samsung_navbar" op="!=" var2="1"/> |
| 5675 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5676 | <image resource="console"/> |
| 5677 | <condition var1="tw_busy" var2="0"/> |
| 5678 | <action function="overlay">slideout</action> |
| 5679 | </button> |
| 5680 | |
| 5681 | <button> |
| 5682 | <condition var1="tw_samsung_navbar" op="=" var2="1"/> |
| 5683 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5684 | <image resource="back"/> |
| 5685 | <condition var1="tw_busy" var2="0"/> |
| 5686 | <actions> |
| 5687 | <action function="overlay"/> |
| 5688 | <action function="key">%tw_back%</action> |
| 5689 | </actions> |
| 5690 | </button> |
| 5691 | |
| 5692 | <action> |
| 5693 | <touch key="power+voldown"/> |
| 5694 | <action function="screenshot"/> |
| 5695 | </action> |
| 5696 | </page> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5697 | |
| 5698 | <page name="decrypt_users"> |
| 5699 | <template name="page"/> |
| 5700 | |
| 5701 | <text style="text_l"> |
| 5702 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5703 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5704 | </text> |
| 5705 | |
| 5706 | <text style="text_m_accent"> |
| 5707 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5708 | <text>{@decrypt_users_selection=Select a user ID to decrypt}</text> |
| 5709 | </text> |
| 5710 | |
| 5711 | <listbox> |
| 5712 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_advanced_height%"/> |
| 5713 | <text>{@select_user=Select User}</text> |
| 5714 | <icon selected="radio_true" unselected="radio_false" /> |
| 5715 | <data name="tw_crypto_user_id" /> |
| 5716 | </listbox> |
| 5717 | |
| 5718 | <button style="main_button_half_height"> |
| 5719 | <placement x="%center_x%" y="%row21a_y%"/> |
| 5720 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5721 | <action function="set">tw_crypto_password=</action> |
| 5722 | <action function="set">tw_password_fail=0</action> |
| 5723 | <action function="page">decrypt</action> |
| 5724 | </button> |
| 5725 | |
| 5726 | <action> |
| 5727 | <touch key="home"/> |
| 5728 | <action function="page">main</action> |
| 5729 | </action> |
| 5730 | |
| 5731 | <action> |
| 5732 | <touch key="back"/> |
| 5733 | <action function="page">advanced</action> |
| 5734 | </action> |
| 5735 | </page> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 5736 | |
| 5737 | <page name="changeTwrpFolder"> |
| 5738 | <template name="page"/> |
| 5739 | |
| 5740 | <text style="text_l"> |
| 5741 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5742 | <text>{@advanced_hdr=Advanced}</text> |
| 5743 | </text> |
| 5744 | |
| 5745 | <text style="text_m"> |
| 5746 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 5747 | <text>{@change_twrp_folder_btn=Change TWRP folder}</text> |
| 5748 | </text> |
| 5749 | |
| 5750 | <text style="text_m_accent"> |
| 5751 | <placement x="%indent%" y="%row2_y%"/> |
| 5752 | <text>{@name=Name:}</text> |
| 5753 | </text> |
| 5754 | |
| 5755 | <input> |
| 5756 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 5757 | <text>%tw_custom_folder%</text> |
| 5758 | <data name="tw_custom_folder"/> |
| 5759 | <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/> |
| 5760 | <actions> |
| 5761 | <action function="set">tw_back=changeTwrpFolder</action> |
| 5762 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 5763 | <action function="set">tw_action_param=%tw_custom_folder%</action> |
| 5764 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 5765 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 5766 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 5767 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action> |
| 5768 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 5769 | <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action> |
| 5770 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 5771 | <action function="set">tw_notexistpage=confirm_action</action> |
| 5772 | <action function="page">filecheck</action> |
| 5773 | </actions> |
| 5774 | </input> |
| 5775 | |
| 5776 | <fill color="%accent_color%"> |
| 5777 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5778 | </fill> |
| 5779 | |
| 5780 | <fill color="%text_fail_color%"> |
| 5781 | <condition var1="tw_fileexists" var2="1"/> |
| 5782 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5783 | </fill> |
| 5784 | |
| 5785 | <text style="text_m_fail"> |
| 5786 | <condition var1="tw_fileexists" var2="1"/> |
| 5787 | <placement x="%indent%" y="%row4a_y%"/> |
| 5788 | <text>{@tw_folder_exists=A folder with that name already exists!}</text> |
| 5789 | </text> |
| 5790 | |
| 5791 | <button style="main_button_half_height"> |
| 5792 | <placement x="%indent%" y="%row10_y%"/> |
| 5793 | <text>{@cancel_btn=Cancel}</text> |
| 5794 | <actions> |
| 5795 | <action function="page">advanced</action> |
| 5796 | </actions> |
| 5797 | </button> |
| 5798 | |
| 5799 | <button style="main_button_half_height"> |
| 5800 | <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/> |
| 5801 | <placement x="%center_x%" y="%row10_y%"/> |
| 5802 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
| 5803 | <actions> |
| 5804 | <action function="set">tw_back=changeTwrpFolder</action> |
| 5805 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 5806 | <action function="set">tw_action_param=TWRP</action> |
| 5807 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 5808 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 5809 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 5810 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action> |
| 5811 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 5812 | <action function="set">tw_filecheck=/sdcard/TWRP</action> |
| 5813 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 5814 | <action function="set">tw_notexistpage=confirm_action</action> |
| 5815 | <action function="page">filecheck</action> |
| 5816 | </actions> |
| 5817 | </button> |
| 5818 | |
| 5819 | <template name="keyboardtemplate"/> |
| 5820 | |
| 5821 | <action> |
| 5822 | <touch key="home"/> |
| 5823 | <actions> |
| 5824 | <action function="page">main</action> |
| 5825 | </actions> |
| 5826 | </action> |
| 5827 | |
| 5828 | <action> |
| 5829 | <touch key="back"/> |
| 5830 | <actions> |
| 5831 | <action function="page">advanced</action> |
| 5832 | </actions> |
| 5833 | </action> |
| 5834 | </page> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 5835 | |
| 5836 | <page name="restore_keymaster"> |
| 5837 | <template name="page"/> |
| 5838 | |
| 5839 | <text style="text_m_accent"> |
| 5840 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 5841 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5842 | <text>{@restore_with_pin_password1=PIN/Password is enabled}</text> |
| 5843 | </text> |
| 5844 | |
| 5845 | <text style="text_m_accent"> |
| 5846 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 5847 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 5848 | <text>{@restore_with_pin_password2=PIN/Password should be disabled before restore}</text> |
| 5849 | </text> |
| 5850 | <text style="text_l"> |
| 5851 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 5852 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5853 | <text>{@restore_pin_password=Restore While PIN/Password Enabled?}</text> |
| 5854 | </text> |
| 5855 | |
| 5856 | <text style="text_m_accent"> |
| 5857 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 5858 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5859 | <text>{@restore_with_pattern1=Pattern is enabled}</text> |
| 5860 | </text> |
| 5861 | |
| 5862 | <text style="text_m_accent"> |
| 5863 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 5864 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 5865 | <text>{@restore_with_pattern2=Pattern should be disabled before restore}</text> |
| 5866 | </text> |
| 5867 | |
| 5868 | <text style="text_l"> |
| 5869 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 5870 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5871 | <text>{@restore_pattern=Restore While Pattern Enabled?}</text> |
| 5872 | </text> |
| 5873 | |
| 5874 | <text style="text_m_accent"> |
| 5875 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 5876 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5877 | <text>{@restore_with_pin1=PIN is enabled}</text> |
| 5878 | </text> |
| 5879 | |
| 5880 | <text style="text_m_accent"> |
| 5881 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 5882 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 5883 | <text>{@restore_with_pin2=PIN should be disabled before restore}</text> |
| 5884 | </text> |
| 5885 | |
| 5886 | <text style="text_l"> |
| 5887 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 5888 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5889 | <text>{@restore_pin=Restore While PIN Enabled?}</text> |
| 5890 | </text> |
| 5891 | |
| 5892 | <slider> |
| 5893 | <text>{@continue_restore_encrypted=Continue Restore?}</text> |
| 5894 | <actions> |
| 5895 | <action function="page">restore_force</action> |
| 5896 | </actions> |
| 5897 | </slider> |
| 5898 | |
| 5899 | <action> |
| 5900 | <touch key="home"/> |
| 5901 | <action function="page">main</action> |
| 5902 | </action> |
| 5903 | |
| 5904 | <action> |
| 5905 | <touch key="back"/> |
| 5906 | <actions> |
| 5907 | <action function="page">main</action> |
| 5908 | </actions> |
| 5909 | </action> |
| 5910 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5911 | </pages> |
| 5912 | </recovery> |