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