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