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