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