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