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