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_full_width"> |
| 42 | <highlight color="%highlight_color%"/> |
| 43 | <font resource="font_l" color="%text_button_color%"/> |
| 44 | <image resource="main_button_full_width"/> |
| 45 | </style> |
| 46 | |
| 47 | <style name="main_button_quarter_width"> |
| 48 | <highlight color="%highlight_color%"/> |
| 49 | <font resource="font_l" color="%text_button_color%"/> |
| 50 | <image resource="main_button_quarter_width"/> |
| 51 | </style> |
| 52 | |
| 53 | <style name="main_button_half_height"> |
| 54 | <highlight color="%highlight_color%"/> |
| 55 | <font resource="font_m" color="%text_button_color%"/> |
| 56 | <image resource="main_button_half_height"/> |
| 57 | </style> |
| 58 | |
| 59 | <style name="main_button_half_height_full_width"> |
| 60 | <highlight color="%highlight_color%"/> |
| 61 | <font resource="font_m" color="%text_button_color%"/> |
| 62 | <image resource="main_button_half_height_full_width"/> |
| 63 | </style> |
| 64 | |
| 65 | <style name="button_third_width"> |
| 66 | <highlight color="%highlight_color%"/> |
| 67 | <font resource="font_m" color="%text_button_color%"/> |
| 68 | <image resource="tab_3"/> |
| 69 | </style> |
| 70 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 71 | <style name="button_navbar"> |
| 72 | <font resource="font_m" color="%text_button_color%"/> |
| 73 | </style> |
| 74 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 75 | <style name="console"> |
| 76 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 77 | <font resource="fixed"/> |
| 78 | </style> |
| 79 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 80 | <style name="terminal"> |
| 81 | <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 82 | <background color="%background_color%"/> |
| 83 | <font resource="fixed" spacing="2" color="%text_color%"/> |
| 84 | </style> |
| 85 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 86 | <style name="fileselector"> |
| 87 | <highlight color="%fileselector_highlight_color%"/> |
| 88 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 89 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 90 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 91 | <sort name="tw_gui_sort_order"/> |
| 92 | <icon folder="folder" file="file"/> |
| 93 | <background color="%background_color%"/> |
| 94 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 95 | </style> |
| 96 | |
| 97 | <style name="listbox"> |
| 98 | <highlight color="%fileselector_highlight_color%"/> |
| 99 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 100 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 101 | <icon selected="radio_true" unselected="radio_false"/> |
| 102 | <background color="%background_color%"/> |
| 103 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 104 | </style> |
| 105 | |
| 106 | <style name="listbox_headerless"> |
| 107 | <highlight color="%fileselector_highlight_color%"/> |
| 108 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 109 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 110 | <icon selected="radio_true" unselected="radio_false"/> |
| 111 | <background color="%background_color%"/> |
| 112 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 113 | </style> |
| 114 | |
| 115 | <style name="listbox_options"> |
| 116 | <background color="%background_color%"/> |
| 117 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 118 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 119 | </style> |
| 120 | |
| 121 | <style name="scrolllist"> |
| 122 | <highlight color="%fileselector_highlight_color%"/> |
| 123 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 124 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 125 | <background color="%background_color%"/> |
| 126 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
nkk71 | 1a230e4 | 2017-08-07 00:28:19 +0300 | [diff] [blame] | 127 | <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] | 128 | </style> |
| 129 | |
| 130 | <style name="partitionlist"> |
| 131 | <highlight color="%fileselector_highlight_color%"/> |
| 132 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 133 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 134 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 135 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 136 | <background color="%background_color%"/> |
| 137 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 138 | </style> |
| 139 | |
| 140 | <style name="partitionlist_summary"> |
| 141 | <highlight color="%fileselector_highlight_color%"/> |
| 142 | <background color="%background_color%"/> |
| 143 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 144 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 145 | </style> |
| 146 | |
| 147 | <style name="partitionlist_headerless_rb"> |
| 148 | <highlight color="%fileselector_highlight_color%"/> |
| 149 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 150 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 151 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 152 | <icon selected="radio_true" unselected="radio_false"/> |
| 153 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 154 | <background color="%background_color%"/> |
| 155 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 156 | </style> |
| 157 | |
| 158 | <style name="partitionlist_headerless_cb"> |
| 159 | <highlight color="%fileselector_highlight_color%"/> |
| 160 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 161 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 162 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 163 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 164 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 165 | <background color="%background_color%"/> |
| 166 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 167 | </style> |
| 168 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 169 | <style name="advanced_listbox"> |
| 170 | <highlight color="%fileselector_highlight_color%"/> |
| 171 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 172 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 173 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 174 | <icon selected="handle" unselected="handle"/> |
| 175 | <background color="%background_color%"/> |
| 176 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 177 | </style> |
| 178 | |
epicX | 40b7f7a | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 179 | <style name="options_listbox"> |
| 180 | <highlight color="%fileselector_highlight_color%"/> |
| 181 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 182 | <separator color="%background_color%" height="%fileselector_separatorheight%"/> |
| 183 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 184 | <background color="%background_color%"/> |
| 185 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 186 | </style> |
| 187 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 188 | <style name="slider"> |
| 189 | <placement x="%center_x%" y="%slider_y%"/> |
| 190 | <font resource="font_l" color="%text_color%"/> |
| 191 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 192 | </style> |
| 193 | |
| 194 | <style name="slidervalue"> |
| 195 | <resource handle="handle"/> |
| 196 | <font resource="font_m" color="%text_color%"/> |
| 197 | <colors line="%fileselector_linecolor%"/> |
| 198 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 199 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 200 | |
| 201 | <style name="patternpassword"> |
| 202 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 203 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 204 | </styles> |
| 205 | |
| 206 | <pages> |
| 207 | <page name="main"> |
| 208 | <action> |
| 209 | <actions> |
| 210 | <action function="set">tw_clear_destination=main2</action> |
| 211 | <action function="page">clear_vars</action> |
| 212 | </actions> |
| 213 | </action> |
| 214 | </page> |
| 215 | |
| 216 | <page name="main2"> |
| 217 | <template name="page"/> |
| 218 | |
| 219 | <button style="main_button"> |
| 220 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 221 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 222 | <action function="page">install_type</action> |
| 223 | </button> |
| 224 | |
| 225 | <button style="main_button"> |
| 226 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 227 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 228 | <action function="page">wipe_type1</action> |
| 229 | </button> |
| 230 | |
| 231 | <button style="main_button"> |
| 232 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 233 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 234 | <actions> |
| 235 | <action function="set">tw_back=main</action> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 236 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 237 | </actions> |
| 238 | </button> |
| 239 | |
| 240 | <button style="main_button"> |
| 241 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 242 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 243 | <action function="page">restore</action> |
| 244 | </button> |
| 245 | |
| 246 | <button style="main_button"> |
| 247 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 248 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 249 | <action function="page">reboot</action> |
| 250 | </button> |
| 251 | |
| 252 | <button> |
| 253 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 254 | <highlight color="%highlight_color%"/> |
| 255 | <image resource="q_btn_arrow_right"/> |
| 256 | <action function="page">main3</action> |
| 257 | </button> |
| 258 | </page> |
| 259 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 260 | <page name="copylog"> |
| 261 | <template name="page"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 262 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 263 | <checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 264 | <placement x="%indent%" y="%row1_y%"/> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 265 | <text>{@include_kernel_log=Include Kernel Log}</text> |
| 266 | <data variable="tw_include_kernel_log" value="1"/> |
| 267 | </checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 268 | |
| 269 | <slider> |
| 270 | <text>{@swipe_confirm= Confirm}</text> |
| 271 | <actions> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 272 | <action function="set">tw_back=main3</action> |
| 273 | <action function="set">tw_action=copylog</action> |
| 274 | <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action> |
| 275 | <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] | 276 | <action function="page">action_page</action> |
| 277 | </actions> |
| 278 | </slider> |
| 279 | |
| 280 | <action> |
| 281 | <touch key="back"/> |
| 282 | <action function="page">main2</action> |
| 283 | </action> |
| 284 | |
| 285 | <action> |
| 286 | <touch key="home"/> |
| 287 | <action function="page">main</action> |
| 288 | </action> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 289 | </page> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 290 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 291 | <page name="main3"> |
| 292 | <template name="page"/> |
| 293 | |
| 294 | <button style="main_button"> |
| 295 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 296 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 297 | <action function="page">mount</action> |
| 298 | </button> |
| 299 | |
| 300 | <button style="main_button"> |
| 301 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 302 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 303 | <action function="page">settings</action> |
| 304 | </button> |
| 305 | |
| 306 | <button style="main_button"> |
| 307 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 308 | <text>{@files_btn=Files}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 309 | <action function="page">filemanagerlist</action> |
| 310 | </button> |
| 311 | |
| 312 | <button style="main_button"> |
| 313 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 314 | <text>{@copy_log_btn=Copy Log}</text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 315 | <action function="page">copylog</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 316 | </button> |
| 317 | |
| 318 | <button style="main_button"> |
| 319 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 320 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 321 | <action function="page">advanced</action> |
| 322 | </button> |
| 323 | |
| 324 | <button> |
| 325 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 326 | <highlight color="%highlight_color%"/> |
| 327 | <image resource="q_btn_arrow_left"/> |
| 328 | <action function="page">main2</action> |
| 329 | </button> |
| 330 | |
| 331 | <action> |
| 332 | <touch key="back"/> |
| 333 | <action function="page">main2</action> |
| 334 | </action> |
| 335 | |
| 336 | <action> |
| 337 | <touch key="home"/> |
| 338 | <action function="page">main</action> |
| 339 | </action> |
| 340 | </page> |
| 341 | |
| 342 | <page name="install_type"> |
| 343 | <template name="page"/> |
| 344 | |
| 345 | <template name="statusbar"/> |
| 346 | |
| 347 | <text style="text_m"> |
| 348 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 349 | <text>{@install_hdr=Install} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 350 | </text> |
| 351 | |
| 352 | <button style="main_button_full_width"> |
| 353 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 354 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 355 | <actions> |
| 356 | <action function="queueclear"/> |
| 357 | <action function="set">tw_selectimage=0</action> |
| 358 | <action function="page">install</action> |
| 359 | </actions> |
| 360 | </button> |
| 361 | |
| 362 | <button style="main_button_full_width"> |
| 363 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 364 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 365 | <actions> |
| 366 | <action function="queueclear"/> |
| 367 | <action function="set">tw_selectimage=1</action> |
| 368 | <action function="page">install</action> |
| 369 | </actions> |
| 370 | </button> |
| 371 | |
| 372 | <button style="main_button_full_width"> |
| 373 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 374 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 375 | <action function="page">sideload</action> |
| 376 | </button> |
| 377 | |
| 378 | <action> |
| 379 | <touch key="home"/> |
| 380 | <action function="page">main</action> |
| 381 | </action> |
| 382 | |
| 383 | <action> |
| 384 | <touch key="back"/> |
| 385 | <action function="page">main</action> |
| 386 | </action> |
| 387 | </page> |
| 388 | |
| 389 | <page name="install"> |
| 390 | <template name="page"/> |
| 391 | |
| 392 | <template name="statusbar"/> |
| 393 | |
| 394 | <text style="text_m"> |
| 395 | <condition var1="tw_selectimage" var2="0"/> |
| 396 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 397 | <text>{@install_zip_hdr=Install Zip} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 398 | </text> |
| 399 | |
| 400 | <text style="text_m"> |
| 401 | <condition var1="tw_selectimage" var2="1"/> |
| 402 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 403 | <text>{@install_image_hdr=Install Image} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 404 | </text> |
| 405 | |
| 406 | <fileselector> |
| 407 | <condition var1="tw_selectimage" var2="0"/> |
| 408 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 409 | <text>%tw_zip_location%</text> |
mauronofrio | 0ff5984 | 2019-10-26 19:47:55 +0200 | [diff] [blame] | 410 | <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/> |
Ian Macdonald | 15430b6 | 2021-01-23 18:52:28 +0100 | [diff] [blame] | 411 | <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 412 | <path name="tw_zip_location" default="/sdcard"/> |
| 413 | <data name="tw_filename"/> |
| 414 | <selection name="tw_file"/> |
| 415 | </fileselector> |
| 416 | |
| 417 | <fileselector> |
| 418 | <condition var1="tw_selectimage" var2="1"/> |
| 419 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 420 | <text>%tw_zip_location%</text> |
| 421 | <filter extn=".img" folders="1" files="1"/> |
| 422 | <path name="tw_zip_location" default="/sdcard"/> |
| 423 | <data name="tw_filename"/> |
| 424 | <selection name="tw_file"/> |
| 425 | </fileselector> |
| 426 | |
| 427 | <button> |
| 428 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 429 | <highlight color="%highlight_color%"/> |
| 430 | <image resource="q_btn_storage"/> |
| 431 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 432 | <action function="set">tw_storagetext={@install_hdr=Install} > {@select_storage_hdr=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 433 | <action function="set">tw_back=install</action> |
| 434 | <action function="page">select_storage</action> |
| 435 | </actions> |
| 436 | </button> |
| 437 | |
| 438 | <action> |
| 439 | <conditions> |
| 440 | <condition var1="tw_selectimage" var2="0"/> |
| 441 | <condition var1="tw_filename" op="modified"/> |
| 442 | </conditions> |
| 443 | <actions> |
| 444 | <action function="queuezip"/> |
| 445 | <action function="page">flash_queue</action> |
| 446 | </actions> |
| 447 | </action> |
| 448 | |
| 449 | <action> |
| 450 | <conditions> |
| 451 | <condition var1="tw_selectimage" var2="1"/> |
| 452 | <condition var1="tw_filename" op="modified"/> |
| 453 | </conditions> |
epicX | b733737 | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 454 | <actions> |
| 455 | <action function="set">tw_is_slot_part=0</action> |
| 456 | <action function="page">flashimage_type</action> |
| 457 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 458 | </action> |
| 459 | |
| 460 | <action> |
| 461 | <touch key="back"/> |
| 462 | <action function="page">install_type</action> |
| 463 | </action> |
| 464 | |
| 465 | <action> |
| 466 | <touch key="home"/> |
| 467 | <action function="page">main</action> |
| 468 | </action> |
| 469 | </page> |
| 470 | |
| 471 | <page name="flash_queue"> |
| 472 | <template name="page"/> |
| 473 | |
| 474 | <template name="statusbar"/> |
| 475 | |
| 476 | <text style="text_m"> |
| 477 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 478 | <text>{@install_zip_hdr=Install Zip} > {@queue_hdr=Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 479 | </text> |
| 480 | |
| 481 | <text style="text_m_accent"> |
| 482 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 483 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 484 | </text> |
| 485 | |
| 486 | <text style="text_m"> |
| 487 | <placement x="%indent%" y="%row2_y%"/> |
| 488 | <text>%tw_file%</text> |
| 489 | </text> |
| 490 | |
| 491 | <text style="text_m_accent"> |
| 492 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 493 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 494 | </text> |
| 495 | |
| 496 | <text style="text_m"> |
| 497 | <placement x="%indent%" y="%row5_y%"/> |
| 498 | <text>%tw_zip_location%</text> |
| 499 | </text> |
| 500 | |
| 501 | <text style="text_m"> |
| 502 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 503 | <text>{@zip_back_clear=Press back button to clear the queue.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 504 | </text> |
| 505 | |
| 506 | <button> |
| 507 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 508 | <highlight color="%highlight_color%"/> |
| 509 | <image resource="q_btn_arrow_left"/> |
| 510 | <actions> |
| 511 | <action function="queueclear"/> |
| 512 | <action function="page">install</action> |
| 513 | </actions> |
| 514 | </button> |
| 515 | |
| 516 | <button> |
| 517 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 518 | <highlight color="%highlight_color%"/> |
| 519 | <image resource="q_btn_addzip"/> |
| 520 | <action function="page">install</action> |
| 521 | </button> |
| 522 | |
| 523 | <button> |
| 524 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 525 | <highlight color="%highlight_color%"/> |
| 526 | <image resource="q_btn_accept"/> |
| 527 | <action function="page">flash_confirm</action> |
| 528 | </button> |
| 529 | |
| 530 | <button> |
| 531 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 532 | <highlight color="%highlight_color%"/> |
| 533 | <image resource="q_btn_arrow_right"/> |
| 534 | <action function="page">flash_options</action> |
| 535 | </button> |
| 536 | |
| 537 | <action> |
| 538 | <touch key="back"/> |
| 539 | <actions> |
| 540 | <action function="queueclear"/> |
| 541 | <action function="page">install</action> |
| 542 | </actions> |
| 543 | </action> |
| 544 | |
| 545 | <action> |
| 546 | <touch key="home"/> |
| 547 | <action function="page">main</action> |
| 548 | </action> |
| 549 | </page> |
| 550 | |
| 551 | <page name="flash_options"> |
| 552 | <template name="page"/> |
| 553 | |
| 554 | <template name="statusbar"/> |
| 555 | |
| 556 | <text style="text_m"> |
| 557 | <condition var1="tw_selectimage" var2="0"/> |
| 558 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 559 | <text>{@install_zip_hdr=Install Zip} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 560 | </text> |
| 561 | |
epicX | 40b7f7a | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 562 | <listbox style="options_listbox"> |
| 563 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%listbox_options_height%"/> |
| 564 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 565 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
| 566 | <data variable="tw_signed_zip_verify"/> |
| 567 | </listitem> |
| 568 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 569 | <data variable="tw_skip_digest_check_zip"/> |
| 570 | </listitem> |
| 571 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 572 | <data variable="tw_install_reboot"/> |
| 573 | </listitem> |
| 574 | <listitem name="{@inject_twrp_chk=Inject TWRP after install}"> |
| 575 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 576 | <data variable="tw_inject_after_zip"/> |
| 577 | </listitem> |
| 578 | </listbox> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 579 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 580 | <button> |
| 581 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 582 | <highlight color="%highlight_color%"/> |
| 583 | <image resource="q_btn_arrow_left"/> |
| 584 | <action function="page">flash_queue</action> |
| 585 | </button> |
| 586 | |
| 587 | <button> |
| 588 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 589 | <highlight color="%highlight_color%"/> |
| 590 | <image resource="q_btn_accept_transp"/> |
| 591 | <action function="page">flash_confirm</action> |
| 592 | </button> |
| 593 | |
| 594 | <action> |
| 595 | <touch key="back"/> |
| 596 | <action function="page">flash_queue</action> |
| 597 | </action> |
| 598 | |
| 599 | <action> |
| 600 | <touch key="home"/> |
| 601 | <action function="page">main</action> |
| 602 | </action> |
| 603 | </page> |
| 604 | |
| 605 | <page name="flash_confirm"> |
| 606 | <template name="page"/> |
| 607 | |
| 608 | <template name="statusbar"/> |
| 609 | |
| 610 | <text style="text_m"> |
| 611 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 612 | <text>{@install_zip_hdr=Install Zip} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 613 | </text> |
| 614 | |
| 615 | <text style="text_m_accent"> |
| 616 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 617 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 618 | </text> |
| 619 | |
| 620 | <text style="text_m"> |
| 621 | <placement x="%indent%" y="%row2_y%"/> |
| 622 | <text>%tw_file%</text> |
| 623 | </text> |
| 624 | |
| 625 | <button> |
| 626 | <fill color="%transparent%"/> |
| 627 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 628 | <action function="page">flash_queue</action> |
| 629 | </button> |
| 630 | |
| 631 | <text style="text_m_accent"> |
| 632 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 633 | <text>{@zip_queue=Queue:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 634 | </text> |
| 635 | |
| 636 | <text style="text_m"> |
| 637 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 638 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 639 | </text> |
| 640 | |
| 641 | <button> |
| 642 | <fill color="%transparent%"/> |
| 643 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 644 | <action function="page">flash_queue</action> |
| 645 | </button> |
| 646 | |
| 647 | <listbox style="listbox_options"> |
| 648 | <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 649 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 650 | <data variable="tw_signed_zip_verify"/> |
| 651 | </listitem> |
| 652 | </listbox> |
| 653 | |
| 654 | <text style="text_m_accent"> |
| 655 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 656 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 657 | </text> |
| 658 | |
| 659 | <text style="text_m"> |
| 660 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 661 | <condition var1="tw_inject_after_zip" var2="1"/> |
| 662 | <placement x="%indent%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 663 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 664 | </text> |
| 665 | |
| 666 | <button> |
| 667 | <fill color="%transparent%"/> |
| 668 | <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/> |
| 669 | <action function="page">flash_options</action> |
| 670 | </button> |
| 671 | |
| 672 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 673 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 674 | <action function="flash">flash_zip</action> |
| 675 | </slider> |
| 676 | |
| 677 | <action> |
| 678 | <touch key="back"/> |
| 679 | <actions> |
| 680 | <action function="cancelzip"/> |
| 681 | <action function="page">install</action> |
| 682 | </actions> |
| 683 | </action> |
| 684 | |
| 685 | <action> |
| 686 | <touch key="home"/> |
| 687 | <action function="page">main</action> |
| 688 | </action> |
| 689 | </page> |
| 690 | |
| 691 | <page name="flash_zip"> |
| 692 | <template name="page"/> |
| 693 | |
| 694 | <template name="statusbar"/> |
| 695 | |
| 696 | <text style="text_m"> |
| 697 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 698 | <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 699 | </text> |
| 700 | |
| 701 | <template name="console"/> |
| 702 | |
| 703 | <template name="progress_bar"/> |
| 704 | |
| 705 | <action> |
| 706 | <condition var1="tw_operation_state" var2="1"/> |
| 707 | <action function="page">flash_done</action> |
| 708 | </action> |
| 709 | </page> |
| 710 | |
| 711 | <page name="flash_done"> |
| 712 | <template name="page"/> |
| 713 | |
| 714 | <template name="statusbar"/> |
| 715 | |
| 716 | <text style="text_m_fail"> |
| 717 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 718 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 719 | <text>{@install_failed=Installation Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 720 | </text> |
| 721 | |
| 722 | <text style="text_m"> |
| 723 | <condition var1="tw_operation_status" var2="0"/> |
| 724 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 725 | <text>{@install_successful=Installation Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 726 | </text> |
| 727 | |
| 728 | <template name="console"/> |
| 729 | |
| 730 | <button style="main_button_half_height"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 731 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 732 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 733 | <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 734 | <actions> |
| 735 | <action function="set">tw_back=flash_done</action> |
| 736 | <action function="set">tw_action=wipe</action> |
| 737 | <action function="set">tw_action_param=/cache</action> |
| 738 | <action function="set">tw_has_action2=1</action> |
| 739 | <action function="set">tw_action2=wipe</action> |
| 740 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 741 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 742 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 743 | <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache & Dalvik Wipe Complete}</action> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 744 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
| 745 | <action function="page">confirm_action</action> |
| 746 | </actions> |
| 747 | </button> |
| 748 | |
| 749 | <button style="main_button_half_height"> |
| 750 | <condition var1="tw_ab_device" var2="1"/> |
| 751 | <placement x="%indent%" y="%row21a_y%"/> |
| 752 | <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> |
| 753 | <actions> |
| 754 | <action function="set">tw_back=flash_done</action> |
| 755 | <action function="set">tw_action=wipe</action> |
| 756 | <action function="set">tw_action_param=dalvik</action> |
| 757 | <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> |
| 758 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> |
| 759 | <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> |
| 760 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 761 | <action function="page">confirm_action</action> |
| 762 | </actions> |
| 763 | </button> |
| 764 | |
| 765 | <button style="main_button_half_height"> |
Chaosmaster | 90df3de | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 766 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 767 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 768 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 769 | <actions> |
| 770 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 771 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 772 | </actions> |
| 773 | </button> |
| 774 | |
Chaosmaster | 90df3de | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 775 | <button style="main_button_half_height"> |
| 776 | <condition var1="tw_ab_device" var2="1"/> |
| 777 | <placement x="%col1_x_right%" y="%row13_y%"/> |
| 778 | <text>{@reboot_btn=Reboot}</text> |
| 779 | <actions> |
| 780 | <action function="set">tw_back=main2</action> |
| 781 | <action function="page">reboot</action> |
| 782 | </actions> |
| 783 | </button> |
| 784 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 785 | <action> |
| 786 | <touch key="back"/> |
| 787 | <actions> |
| 788 | <action function="set">tw_clear_destination=install_type</action> |
| 789 | <action function="page">clear_vars</action> |
| 790 | </actions> |
| 791 | </action> |
| 792 | |
| 793 | <action> |
| 794 | <touch key="home"/> |
| 795 | <actions> |
| 796 | <action function="set">tw_clear_destination=main2</action> |
| 797 | <action function="page">clear_vars</action> |
| 798 | </actions> |
| 799 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 800 | |
| 801 | <action> |
| 802 | <conditions> |
| 803 | <condition var1="tw_install_reboot" var2="1"/> |
| 804 | <condition var1="tw_operation_status" var2="0"/> |
| 805 | <condition var1="tw_reboot_system" var2="1"/> |
| 806 | </conditions> |
| 807 | <actions> |
| 808 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 809 | <action function="page">flash_sleep_and_reboot</action> |
| 810 | </actions> |
| 811 | </action> |
| 812 | </page> |
| 813 | |
| 814 | <page name="flash_sleep_and_reboot"> |
| 815 | <template name="page"/> |
| 816 | |
| 817 | <template name="statusbar"/> |
| 818 | |
| 819 | <text style="text_m"> |
| 820 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 821 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 822 | </text> |
| 823 | |
| 824 | <template name="console"/> |
| 825 | |
| 826 | <template name="progress_bar"/> |
| 827 | |
| 828 | <button style="main_button_half_height"> |
| 829 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 830 | <placement x="%col1_x_right%" y="%row13_y%"/> |
| 831 | <text>{@cancel_btn=Cancel}</text> |
| 832 | <actions> |
| 833 | <action function="set">tw_install_reboot=0</action> |
| 834 | <action function="page">flash_done</action> |
| 835 | </actions> |
| 836 | </button> |
| 837 | |
| 838 | <action> |
| 839 | <conditions> |
| 840 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 841 | <condition var1="tw_install_reboot" var2="1"/> |
| 842 | </conditions> |
| 843 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 844 | </action> |
| 845 | |
| 846 | <action> |
| 847 | <conditions> |
| 848 | <condition var1="tw_sleep" var2="0"/> |
| 849 | <condition var1="tw_install_reboot" var2="1"/> |
| 850 | </conditions> |
| 851 | <actions> |
| 852 | <action function="sleep">50000</action> |
| 853 | <action function="set">tw_back=main2</action> |
| 854 | <action function="page">reboot_system_routine</action> |
| 855 | </actions> |
| 856 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 857 | </page> |
| 858 | |
| 859 | <page name="flashimage_type"> |
| 860 | <template name="page"/> |
| 861 | |
| 862 | <template name="statusbar"/> |
| 863 | |
| 864 | <text style="text_m"> |
| 865 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 866 | <text>{@install_image_hdr=Install Image} > {@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 867 | </text> |
| 868 | |
| 869 | <partitionlist style="partitionlist_headerless_rb"> |
| 870 | <data name="tw_flash_partition"/> |
| 871 | <listtype name="flashimg"/> |
| 872 | </partitionlist> |
| 873 | |
epicX | b733737 | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 874 | <button style="checkbox"> |
| 875 | <conditions> |
| 876 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 877 | <condition var1="tw_flash_both_slots" op="=" var2="0"/> |
| 878 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 879 | </conditions> |
| 880 | <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/> |
| 881 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 882 | <image resource="checkbox_false"/> |
| 883 | <action function="set">tw_flash_both_slots=1</action> |
| 884 | </button> |
| 885 | |
| 886 | <button style="checkbox"> |
| 887 | <conditions> |
| 888 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 889 | <condition var1="tw_flash_both_slots" op="=" var2="1"/> |
| 890 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 891 | </conditions> |
| 892 | <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/> |
| 893 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 894 | <image resource="checkbox_true"/> |
| 895 | <action function="set">tw_flash_both_slots=0</action> |
| 896 | </button> |
| 897 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 898 | <button> |
| 899 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 900 | <highlight color="%highlight_color%"/> |
| 901 | <image resource="q_btn_arrow_left"/> |
| 902 | <action function="page">install</action> |
| 903 | </button> |
| 904 | |
| 905 | <button> |
| 906 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 907 | <highlight color="%highlight_color%"/> |
| 908 | <image resource="q_btn_accept_transp"/> |
| 909 | <action function="page">flashimage_confirm</action> |
| 910 | </button> |
| 911 | |
| 912 | <action> |
| 913 | <touch key="back"/> |
| 914 | <action function="page">install</action> |
| 915 | </action> |
| 916 | |
| 917 | <action> |
| 918 | <touch key="home"/> |
| 919 | <action function="page">main</action> |
| 920 | </action> |
| 921 | </page> |
| 922 | |
| 923 | <page name="flashimage_confirm"> |
| 924 | <template name="page"/> |
| 925 | |
| 926 | <template name="statusbar"/> |
| 927 | |
| 928 | <text style="text_m"> |
| 929 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 930 | <text>{@install_image_hdr=Install Image} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 931 | </text> |
| 932 | |
| 933 | <text style="text_m_accent"> |
| 934 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 935 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 936 | </text> |
| 937 | |
| 938 | <text style="text_m"> |
| 939 | <placement x="%indent%" y="%row2_y%"/> |
| 940 | <text>%tw_file%</text> |
| 941 | </text> |
| 942 | |
| 943 | <button> |
| 944 | <fill color="%transparent%"/> |
| 945 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 946 | <action function="page">install</action> |
| 947 | </button> |
| 948 | |
| 949 | <text style="text_m_accent"> |
| 950 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 951 | <text>{@target_partition=Target Partition:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 952 | </text> |
| 953 | |
| 954 | <text style="text_m"> |
| 955 | <placement x="%indent%" y="%row5_y%"/> |
| 956 | <text>%tw_flash_partition%</text> |
| 957 | </text> |
| 958 | |
| 959 | <button> |
| 960 | <fill color="%transparent%"/> |
| 961 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 962 | <action function="page">flashimage_type</action> |
| 963 | </button> |
| 964 | |
| 965 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 966 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 967 | <actions> |
| 968 | <action function="set">tw_back=flashimage_confirm</action> |
| 969 | <action function="set">tw_action=flashimage</action> |
| 970 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 971 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 972 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 973 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 974 | <action function="page">action_page</action> |
| 975 | </actions> |
| 976 | <action function="flashimage"/> |
| 977 | </slider> |
| 978 | |
| 979 | <action> |
| 980 | <touch key="back"/> |
| 981 | <actions> |
| 982 | <action function="set">tw_clear_destination=install</action> |
| 983 | <action function="page">clear_vars</action> |
| 984 | </actions> |
| 985 | </action> |
| 986 | |
| 987 | <action> |
| 988 | <touch key="home"/> |
| 989 | <actions> |
| 990 | <action function="set">tw_clear_destination=main2</action> |
| 991 | <action function="page">clear_vars</action> |
| 992 | </actions> |
| 993 | </action> |
| 994 | </page> |
| 995 | |
| 996 | <page name="clear_vars"> |
| 997 | <action> |
| 998 | <action function="set">tw_operation_state=0</action> |
| 999 | <action function="set">tw_text1=</action> |
| 1000 | <action function="set">tw_text2=</action> |
| 1001 | <action function="set">tw_text3=</action> |
| 1002 | <action function="set">tw_text4=</action> |
| 1003 | <action function="set">tw_action_text1=</action> |
| 1004 | <action function="set">tw_action_text2=</action> |
| 1005 | <action function="set">tw_action_param=</action> |
| 1006 | <action function="set">tw_has_action2=0</action> |
| 1007 | <action function="set">tw_action2=</action> |
| 1008 | <action function="set">tw_action2_param=</action> |
| 1009 | <action function="set">tw_has_cancel=0</action> |
| 1010 | <action function="set">tw_cancel_action=</action> |
| 1011 | <action function="set">tw_cancel_param=</action> |
| 1012 | <action function="set">tw_show_exclamation=0</action> |
| 1013 | <action function="set">tw_show_reboot=0</action> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1014 | <action function="set">tw_crypto_user_id=</action> |
Noah Jacobson | 3ad80f4 | 2020-07-21 01:28:22 -0400 | [diff] [blame] | 1015 | <action function="set">tw_multiuser_warning_accepted=</action> |
| 1016 | <action function="set">tw_multiuser_warning_destination=</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1017 | <action function="page">%tw_clear_destination%</action> |
| 1018 | </action> |
| 1019 | </page> |
| 1020 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1021 | <page name="reboot_system_routine"> |
| 1022 | <action> |
| 1023 | <action function="set">tw_back=main2</action> |
| 1024 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 1025 | <action function="set">tw_action_param=system</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1026 | <action function="set">tw_has_action2=0</action> |
| 1027 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 1028 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 1029 | <action function="set">tw_text3=</action> |
| 1030 | <action function="set">tw_text4=</action> |
| 1031 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 1032 | <action function="set">tw_action_text2=</action> |
| 1033 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 1034 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
| 1035 | <action function="page">rebootcheck</action> |
| 1036 | </action> |
| 1037 | </page> |
| 1038 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1039 | <page name="confirm_action"> |
| 1040 | <template name="page"/> |
| 1041 | |
| 1042 | <template name="statusbar"/> |
| 1043 | |
| 1044 | <text style="text_m"> |
| 1045 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1046 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1047 | </text> |
| 1048 | |
| 1049 | <text style="text_m_accent"> |
| 1050 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 1051 | <text>%tw_text1%</text> |
| 1052 | </text> |
| 1053 | |
| 1054 | <text style="text_m_accent"> |
| 1055 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 1056 | <text>%tw_text2%</text> |
| 1057 | </text> |
| 1058 | |
| 1059 | <text style="text_m"> |
| 1060 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 1061 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 1062 | <text>%tw_text3%</text> |
| 1063 | </text> |
| 1064 | |
| 1065 | <text style="text_m"> |
| 1066 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 1067 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 1068 | <text>%tw_text4%</text> |
| 1069 | </text> |
| 1070 | |
| 1071 | <text style="text_m_fail"> |
| 1072 | <condition var1="tw_action" var2="changefilesystem"/> |
| 1073 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 1074 | <text>%tw_text3%</text> |
| 1075 | </text> |
| 1076 | |
| 1077 | <text style="text_m_fail"> |
| 1078 | <condition var1="tw_action" var2="changefilesystem"/> |
| 1079 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 1080 | <text>%tw_text4%</text> |
| 1081 | </text> |
| 1082 | |
| 1083 | <text style="text_m"> |
| 1084 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1085 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1086 | </text> |
| 1087 | |
| 1088 | <slider> |
| 1089 | <text>%tw_slider_text%</text> |
| 1090 | <action function="page">action_page</action> |
| 1091 | </slider> |
| 1092 | |
| 1093 | <action> |
| 1094 | <touch key="back"/> |
| 1095 | <actions> |
| 1096 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1097 | <action function="page">clear_vars</action> |
| 1098 | </actions> |
| 1099 | </action> |
| 1100 | |
| 1101 | <action> |
| 1102 | <touch key="home"/> |
| 1103 | <action function="page">main</action> |
| 1104 | </action> |
| 1105 | </page> |
| 1106 | |
| 1107 | <page name="action_page"> |
| 1108 | <template name="page"/> |
| 1109 | |
| 1110 | <template name="statusbar"/> |
| 1111 | |
| 1112 | <text style="text_m"> |
| 1113 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 1114 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 1115 | </text> |
| 1116 | |
| 1117 | <template name="console"/> |
| 1118 | |
| 1119 | <template name="progress_bar"/> |
| 1120 | |
| 1121 | <button style="main_button_half_height"> |
| 1122 | <condition var1="tw_has_cancel" var2="1"/> |
| 1123 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1124 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1125 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 1126 | </button> |
| 1127 | |
| 1128 | <action> |
| 1129 | <condition var1="tw_operation_state" var2="1"/> |
| 1130 | <actions> |
| 1131 | <action function="page">action_complete</action> |
| 1132 | </actions> |
| 1133 | </action> |
| 1134 | |
| 1135 | <action> |
| 1136 | <condition var1="tw_has_action2" var2="0"/> |
| 1137 | <actions> |
| 1138 | <action function="%tw_action%">%tw_action_param%</action> |
| 1139 | </actions> |
| 1140 | </action> |
| 1141 | |
| 1142 | <action> |
| 1143 | <condition var1="tw_has_action2" var2="1"/> |
| 1144 | <actions> |
| 1145 | <action function="%tw_action%">%tw_action_param%</action> |
| 1146 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1147 | </actions> |
| 1148 | </action> |
| 1149 | </page> |
| 1150 | |
| 1151 | <page name="singleaction_page"> |
| 1152 | <template name="page"/> |
| 1153 | |
| 1154 | <template name="statusbar"/> |
| 1155 | |
| 1156 | <text style="text_m"> |
| 1157 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 1158 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 1159 | </text> |
| 1160 | |
| 1161 | <template name="console"/> |
| 1162 | |
| 1163 | <template name="progress_bar"/> |
| 1164 | |
| 1165 | <action> |
| 1166 | <condition var1="tw_operation_state" var2="1"/> |
| 1167 | <actions> |
| 1168 | <action function="set">tw_page_done=1</action> |
| 1169 | </actions> |
| 1170 | </action> |
| 1171 | |
| 1172 | <action> |
| 1173 | <condition var1="tw_has_action2" var2="0"/> |
| 1174 | <actions> |
| 1175 | <action function="%tw_action%">%tw_action_param%</action> |
| 1176 | </actions> |
| 1177 | </action> |
| 1178 | |
| 1179 | <action> |
| 1180 | <condition var1="tw_has_action2" var2="1"/> |
| 1181 | <actions> |
| 1182 | <action function="%tw_action%">%tw_action_param%</action> |
| 1183 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1184 | </actions> |
| 1185 | </action> |
| 1186 | </page> |
| 1187 | |
| 1188 | <page name="action_complete"> |
| 1189 | <template name="page"/> |
| 1190 | |
| 1191 | <template name="statusbar"/> |
| 1192 | |
| 1193 | <text style="text_m_fail"> |
| 1194 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 1195 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1196 | <text>%tw_complete_text1% {@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1197 | </text> |
| 1198 | |
| 1199 | <text style="text_m"> |
| 1200 | <condition var1="tw_operation_status" var2="0"/> |
| 1201 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1202 | <text>%tw_complete_text1% {@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1203 | </text> |
| 1204 | |
| 1205 | <template name="console"/> |
| 1206 | |
| 1207 | <button style="main_button_half_height"> |
| 1208 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1209 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1210 | <actions> |
| 1211 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1212 | <action function="page">clear_vars</action> |
| 1213 | </actions> |
| 1214 | </button> |
| 1215 | |
| 1216 | <button style="main_button_half_height"> |
| 1217 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1218 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1219 | <actions> |
| 1220 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1221 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1222 | </actions> |
| 1223 | </button> |
| 1224 | |
| 1225 | <action> |
| 1226 | <touch key="home"/> |
| 1227 | <actions> |
| 1228 | <action function="set">tw_clear_destination=main2</action> |
| 1229 | <action function="page">clear_vars</action> |
| 1230 | </actions> |
| 1231 | </action> |
| 1232 | |
| 1233 | <action> |
| 1234 | <touch key="back"/> |
| 1235 | <actions> |
| 1236 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1237 | <action function="page">clear_vars</action> |
| 1238 | </actions> |
| 1239 | </action> |
| 1240 | </page> |
| 1241 | |
| 1242 | <page name="filecheck"> |
| 1243 | <action> |
| 1244 | <action function="fileexists">%tw_filecheck%</action> |
| 1245 | </action> |
| 1246 | |
| 1247 | <action> |
| 1248 | <conditions> |
| 1249 | <condition var1="tw_operation_state" var2="1"/> |
| 1250 | <condition var1="tw_operation_status" var2="0"/> |
| 1251 | </conditions> |
| 1252 | <actions> |
| 1253 | <action function="set">tw_fileexists=1</action> |
| 1254 | <action function="page">%tw_existpage%</action> |
| 1255 | </actions> |
| 1256 | </action> |
| 1257 | |
| 1258 | <action> |
| 1259 | <conditions> |
| 1260 | <condition var1="tw_operation_state" var2="1"/> |
| 1261 | <condition var1="tw_operation_status" var2="1"/> |
| 1262 | </conditions> |
| 1263 | <actions> |
| 1264 | <action function="set">tw_fileexists=0</action> |
| 1265 | <action function="page">%tw_notexistpage%</action> |
| 1266 | </actions> |
| 1267 | </action> |
| 1268 | </page> |
| 1269 | |
| 1270 | <page name="rebootcheck"> |
| 1271 | <action> |
| 1272 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 1273 | <action function="reboot">%tw_reboot_param%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1274 | </action> |
| 1275 | |
| 1276 | <action> |
| 1277 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1278 | <action function="page">confirm_action</action> |
| 1279 | </action> |
| 1280 | </page> |
| 1281 | |
| 1282 | <page name="wipe_type1"> |
| 1283 | <template name="page"/> |
| 1284 | |
| 1285 | <template name="statusbar"/> |
| 1286 | |
| 1287 | <text style="text_m"> |
| 1288 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1289 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1290 | </text> |
| 1291 | |
| 1292 | <button style="main_button_full_width"> |
| 1293 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1294 | <text>{@factory_reset_btn=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1295 | <action function="page">wipe</action> |
| 1296 | </button> |
| 1297 | |
| 1298 | <button style="main_button_full_width"> |
| 1299 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1300 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1301 | <actions> |
| 1302 | <action function="set">partitionlisterror=0</action> |
| 1303 | <action function="page">advancedwipe</action> |
| 1304 | </actions> |
| 1305 | </button> |
| 1306 | |
| 1307 | <button> |
| 1308 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1309 | <highlight color="%highlight_color%"/> |
| 1310 | <image resource="q_btn_arrow_right"/> |
| 1311 | <action function="page">wipe_type2</action> |
| 1312 | </button> |
| 1313 | |
| 1314 | <action> |
| 1315 | <touch key="home"/> |
| 1316 | <action function="page">main</action> |
| 1317 | </action> |
| 1318 | |
| 1319 | <action> |
| 1320 | <touch key="back"/> |
| 1321 | <action function="page">main</action> |
| 1322 | </action> |
| 1323 | </page> |
| 1324 | |
| 1325 | <page name="wipe_type2"> |
| 1326 | <template name="page"/> |
| 1327 | |
| 1328 | <template name="statusbar"/> |
| 1329 | |
| 1330 | <text style="text_m"> |
| 1331 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1332 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1333 | </text> |
| 1334 | |
| 1335 | <button style="main_button_full_width"> |
| 1336 | <condition var1="tw_has_data_media" var2="1"/> |
| 1337 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1338 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1339 | <action function="page">formatdata</action> |
| 1340 | </button> |
| 1341 | |
| 1342 | <button style="main_button_full_width"> |
| 1343 | <conditions> |
| 1344 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1345 | <condition var1="tw_has_data_media" var2="0"/> |
| 1346 | </conditions> |
| 1347 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1348 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1349 | <actions> |
| 1350 | <action function="set">tw_back=wipe</action> |
| 1351 | <action function="set">tw_action=wipe</action> |
| 1352 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1353 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1354 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1355 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1356 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1357 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1358 | <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1359 | <action function="page">confirm_action</action> |
| 1360 | </actions> |
| 1361 | </button> |
| 1362 | |
| 1363 | <button style="main_button_full_width"> |
| 1364 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1365 | <text>{@file_sys_opt=File System Options}</text><actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1366 | <action function="set">partitionlisterror=0</action> |
| 1367 | <action function="page">partitionoptions_select</action> |
| 1368 | </actions> |
| 1369 | </button> |
| 1370 | |
| 1371 | <button> |
| 1372 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1373 | <highlight color="%highlight_color%"/> |
| 1374 | <image resource="q_btn_arrow_left"/> |
| 1375 | <action function="page">wipe_type1</action> |
| 1376 | </button> |
| 1377 | |
| 1378 | <action> |
| 1379 | <touch key="home"/> |
| 1380 | <action function="page">main</action> |
| 1381 | </action> |
| 1382 | |
| 1383 | <action> |
| 1384 | <touch key="back"/> |
| 1385 | <action function="page">main</action> |
| 1386 | </action> |
| 1387 | </page> |
| 1388 | |
| 1389 | <page name="wipe"> |
| 1390 | <template name="page"/> |
| 1391 | |
| 1392 | <template name="statusbar"/> |
| 1393 | |
| 1394 | <text style="text_m"> |
| 1395 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1396 | <text>{@wipe_hdr=Wipe} > {@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1397 | </text> |
| 1398 | |
| 1399 | <text style="text_m_accent"> |
| 1400 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1401 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1402 | </text> |
| 1403 | |
| 1404 | <text style="text_m_accent"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1405 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1406 | <text>{@factory_reset5=(not including users/lockscreen)}</text> |
| 1407 | </text> |
| 1408 | |
| 1409 | <text style="text_m_accent"> |
| 1410 | <condition var1="tw_has_data_media" var2="1"/> |
| 1411 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1412 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1413 | </text> |
| 1414 | |
| 1415 | <text style="text_m_accent"> |
| 1416 | <conditions> |
| 1417 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1418 | <condition var1="fileexists" var2="/and-sec"/> |
| 1419 | </conditions> |
| 1420 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1421 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1422 | </text> |
| 1423 | |
| 1424 | <text style="text_m_accent"> |
| 1425 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1426 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1427 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1428 | </text> |
| 1429 | |
| 1430 | <text style="text_m"> |
| 1431 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1432 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1433 | </text> |
| 1434 | |
| 1435 | <text style="text_m"> |
| 1436 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1437 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1438 | </text> |
| 1439 | |
| 1440 | <text style="text_m"> |
| 1441 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1442 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1443 | </text> |
| 1444 | |
| 1445 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1446 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1447 | <actions> |
| 1448 | <action function="set">tw_back=wipe</action> |
| 1449 | <action function="set">tw_action=wipe</action> |
| 1450 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1451 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1452 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1453 | <action function="page">action_page</action> |
| 1454 | </actions> |
| 1455 | </slider> |
| 1456 | |
| 1457 | <action> |
| 1458 | <touch key="back"/> |
| 1459 | <action function="page">wipe_type1</action> |
| 1460 | </action> |
| 1461 | |
| 1462 | <action> |
| 1463 | <touch key="home"/> |
| 1464 | <action function="page">main</action> |
| 1465 | </action> |
| 1466 | </page> |
| 1467 | |
| 1468 | <page name="advancedwipe"> |
| 1469 | <action> |
| 1470 | <action function="set">tw_wipe_list=</action> |
| 1471 | </action> |
| 1472 | |
| 1473 | <template name="page"/> |
| 1474 | |
| 1475 | <template name="statusbar"/> |
| 1476 | |
| 1477 | <text style="text_m"> |
| 1478 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1479 | <text>{@wipe_hdr=Wipe} > {@advanced_wipe_hdr=Advanced Wipe} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1480 | </text> |
| 1481 | |
| 1482 | <partitionlist style="partitionlist_headerless_cb"> |
| 1483 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1484 | <data name="tw_wipe_list"/> |
| 1485 | <listtype name="wipe"/> |
| 1486 | </partitionlist> |
| 1487 | |
| 1488 | <fill color="%accent_color%"> |
| 1489 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1490 | </fill> |
| 1491 | |
| 1492 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1493 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1494 | <actions> |
| 1495 | <action function="set">tw_back=advancedwipe</action> |
| 1496 | <action function="set">tw_action=wipe</action> |
| 1497 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1498 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1499 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1500 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1501 | <action function="page">action_page</action> |
| 1502 | </actions> |
| 1503 | </slider> |
| 1504 | |
| 1505 | <action> |
| 1506 | <touch key="home"/> |
| 1507 | <action function="page">main</action> |
| 1508 | </action> |
| 1509 | |
| 1510 | <action> |
| 1511 | <touch key="back"/> |
| 1512 | <action function="page">wipe_type1</action> |
| 1513 | </action> |
| 1514 | </page> |
| 1515 | |
| 1516 | <page name="formatdata"> |
| 1517 | <template name="page"/> |
| 1518 | |
| 1519 | <template name="statusbar"/> |
| 1520 | |
| 1521 | <text style="text_m"> |
| 1522 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1523 | <text>{@wipe_hdr=Wipe} > {@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1524 | </text> |
| 1525 | |
| 1526 | <text style="text_m_fail"> |
| 1527 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1528 | <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1529 | </text> |
| 1530 | |
| 1531 | <text style="text_m_fail"> |
| 1532 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1533 | <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1534 | </text> |
| 1535 | |
| 1536 | <text style="text_m"> |
| 1537 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1538 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1539 | </text> |
| 1540 | |
| 1541 | <input> |
| 1542 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/> |
| 1543 | <text>%tw_confirm_formatdata%</text> |
| 1544 | <data name="tw_confirm_formatdata"/> |
| 1545 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1546 | <action function="page">formatdata_confirm</action> |
| 1547 | </input> |
| 1548 | |
| 1549 | <fill color="%accent_color%"> |
| 1550 | <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/> |
| 1551 | </fill> |
| 1552 | |
| 1553 | <template name="keyboardtemplate"/> |
| 1554 | |
| 1555 | <action> |
| 1556 | <touch key="home"/> |
| 1557 | <action function="page">main</action> |
| 1558 | </action> |
| 1559 | |
| 1560 | <action> |
| 1561 | <touch key="back"/> |
| 1562 | <action function="page">wipe_type2</action> |
| 1563 | </action> |
| 1564 | </page> |
| 1565 | |
| 1566 | <page name="formatdata_confirm"> |
| 1567 | <action> |
| 1568 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1569 | <actions> |
| 1570 | <action function="set">tw_back=formatdata</action> |
| 1571 | <action function="set">tw_action=wipe</action> |
| 1572 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1573 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1574 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1575 | <action function="page">action_page</action> |
| 1576 | </actions> |
| 1577 | </action> |
| 1578 | |
| 1579 | <action> |
| 1580 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1581 | <action function="page">formatdata</action> |
| 1582 | </action> |
| 1583 | </page> |
| 1584 | |
| 1585 | <page name="checkpartitionlist"> |
| 1586 | <action> |
| 1587 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1588 | <actions> |
| 1589 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1590 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1591 | <action function="page">partitionoptions</action> |
| 1592 | </actions> |
| 1593 | </action> |
| 1594 | |
| 1595 | <action> |
| 1596 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1597 | <actions> |
| 1598 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1599 | <action function="page">partitionoptions_select</action> |
| 1600 | </actions> |
| 1601 | </action> |
| 1602 | </page> |
| 1603 | |
| 1604 | <page name="partitionoptions_select"> |
| 1605 | <action> |
| 1606 | <action function="set">tw_wipe_list=</action> |
| 1607 | </action> |
| 1608 | |
| 1609 | <template name="page"/> |
| 1610 | |
| 1611 | <template name="statusbar"/> |
| 1612 | |
| 1613 | <text style="text_m"> |
| 1614 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1615 | <text>{@wipe_hdr=Wipe} > {@file_sys_opt=File System Options} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1616 | </text> |
| 1617 | |
| 1618 | <partitionlist style="partitionlist_headerless_cb"> |
| 1619 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1620 | <data name="tw_wipe_list"/> |
| 1621 | <listtype name="wipe"/> |
| 1622 | </partitionlist> |
| 1623 | |
| 1624 | <fill color="%accent_color%"> |
| 1625 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1626 | </fill> |
| 1627 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1628 | <text style="text_m_fail"> |
| 1629 | <condition var1="partitionlisterror" var2="1"/> |
| 1630 | <placement x="%col1_x_left%" y="%row12_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1631 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1632 | </text> |
| 1633 | |
| 1634 | <button> |
| 1635 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1636 | <highlight color="%highlight_color%"/> |
| 1637 | <image resource="q_btn_arrow_right"/><actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1638 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1639 | <action function="page">checkpartitionlist</action> |
| 1640 | </actions> |
| 1641 | </button> |
| 1642 | |
| 1643 | <action> |
| 1644 | <touch key="home"/> |
| 1645 | <action function="page">main</action> |
| 1646 | </action> |
| 1647 | |
| 1648 | <action> |
| 1649 | <touch key="back"/> |
| 1650 | <action function="page">wipe_type2</action> |
| 1651 | </action> |
| 1652 | </page> |
| 1653 | |
| 1654 | <page name="partitionoptions"> |
| 1655 | |
| 1656 | <template name="page"/> |
| 1657 | |
| 1658 | <template name="statusbar"/> |
| 1659 | |
| 1660 | <text style="text_m"> |
| 1661 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1662 | <text>{@wipe_hdr=Wipe} > {@file_sys_opt=File System Options} > {@sel_act_hdr=Select Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1663 | </text> |
| 1664 | |
| 1665 | <text style="text_m_accent"> |
| 1666 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1667 | <text>{@partition=Partition: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1668 | </text> |
| 1669 | |
| 1670 | <text style="text_m_accent"> |
| 1671 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1672 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1673 | </text> |
| 1674 | |
| 1675 | <text style="text_m"> |
| 1676 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1677 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1678 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1679 | </text> |
| 1680 | |
| 1681 | <text style="text_m"> |
| 1682 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1683 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1684 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1685 | </text> |
| 1686 | |
| 1687 | <text style="text_m"> |
| 1688 | <condition var1="tw_partition_removable" var2="1"/> |
| 1689 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1690 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1691 | </text> |
| 1692 | |
| 1693 | <text style="text_m"> |
| 1694 | <condition var1="tw_partition_removable" var2="0"/> |
| 1695 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1696 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1697 | </text> |
| 1698 | |
| 1699 | <text style="text_m"> |
| 1700 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1701 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1702 | </text> |
| 1703 | |
| 1704 | <text style="text_m"> |
| 1705 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1706 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1707 | </text> |
| 1708 | |
| 1709 | <text style="text_m"> |
| 1710 | <placement x="%col1_x_left%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1711 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1712 | </text> |
| 1713 | |
| 1714 | <text style="text_m"> |
| 1715 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1716 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1717 | </text> |
| 1718 | |
| 1719 | <button style="main_button"> |
| 1720 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1721 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1722 | <text>{@resize_btn_s=Resize}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1723 | <actions> |
| 1724 | <action function="set">tw_back=partitionoptions</action> |
| 1725 | <action function="set">tw_action=resize</action> |
| 1726 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1727 | <action function="set">tw_has_action2=1</action> |
| 1728 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1729 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1730 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1731 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1732 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1733 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1734 | <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1735 | <action function="page">confirm_action</action> |
| 1736 | </actions> |
| 1737 | </button> |
| 1738 | |
| 1739 | <button style="main_button"> |
| 1740 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1741 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1742 | <text>{@repair_btn_s=Repair}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1743 | <actions> |
| 1744 | <action function="set">tw_back=partitionoptions</action> |
| 1745 | <action function="set">tw_action=repair</action> |
| 1746 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1747 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1748 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1749 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1750 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1751 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1752 | <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1753 | <action function="page">confirm_action</action> |
| 1754 | </actions> |
| 1755 | </button> |
| 1756 | |
| 1757 | <button> |
| 1758 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1759 | <highlight color="%highlight_color%"/> |
| 1760 | <image resource="q_btn_arrow_left"/> |
| 1761 | <action function="page">partitionoptions_select</action> |
| 1762 | </button> |
| 1763 | |
| 1764 | <button style="main_button"> |
| 1765 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1766 | <text>{@change_fs_btn_s=Change}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1767 | <action function="page">selectfilesystem</action> |
| 1768 | </button> |
| 1769 | |
| 1770 | <action> |
| 1771 | <touch key="home"/> |
| 1772 | <action function="page">main</action> |
| 1773 | </action> |
| 1774 | |
| 1775 | <action> |
| 1776 | <touch key="back"/> |
| 1777 | <action function="page">partitionoptions_select</action> |
| 1778 | </action> |
| 1779 | </page> |
| 1780 | |
| 1781 | <page name="refreshfilesystem"> |
| 1782 | <action> |
| 1783 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1784 | <actions> |
| 1785 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1786 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1787 | <action function="page">selectfilesystem</action> |
| 1788 | </actions> |
| 1789 | </action> |
| 1790 | |
| 1791 | <action> |
| 1792 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1793 | <actions> |
| 1794 | <action function="set">partitionlisterror=1</action> |
| 1795 | <action function="set">tw_wipe_list=</action> |
| 1796 | <action function="page">advancedwipe</action> |
| 1797 | </actions> |
| 1798 | </action> |
| 1799 | </page> |
| 1800 | |
| 1801 | <page name="selectfilesystem"> |
| 1802 | <template name="page"/> |
| 1803 | |
| 1804 | <template name="statusbar"/> |
| 1805 | |
| 1806 | <text style="text_m"> |
| 1807 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1808 | <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% > Select File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1809 | </text> |
| 1810 | |
| 1811 | <button style="main_button"> |
| 1812 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1813 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 1814 | <text>EXT2</text> |
| 1815 | <actions> |
| 1816 | <action function="set">tw_back=refreshfilesystem</action> |
| 1817 | <action function="set">tw_action=changefilesystem</action> |
| 1818 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1819 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1820 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1821 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1822 | <action function="set">tw_text2=EXT2</action> |
| 1823 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1824 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1825 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1826 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1827 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1828 | <action function="page">confirm_action</action> |
| 1829 | </actions> |
| 1830 | </button> |
| 1831 | |
| 1832 | <button style="main_button"> |
| 1833 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1834 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 1835 | <text>EXT3</text> |
| 1836 | <actions> |
| 1837 | <action function="set">tw_back=refreshfilesystem</action> |
| 1838 | <action function="set">tw_action=changefilesystem</action> |
| 1839 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1840 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1841 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1842 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1843 | <action function="set">tw_text2=EXT3</action> |
| 1844 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1845 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1846 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1847 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1848 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1849 | <action function="page">confirm_action</action> |
| 1850 | </actions> |
| 1851 | </button> |
| 1852 | |
| 1853 | <button style="main_button"> |
| 1854 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1855 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1856 | <text>EXT4</text> |
| 1857 | <actions> |
| 1858 | <action function="set">tw_back=refreshfilesystem</action> |
| 1859 | <action function="set">tw_action=changefilesystem</action> |
| 1860 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1861 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1862 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1863 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1864 | <action function="set">tw_text2=EXT4</action> |
| 1865 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1866 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1867 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1868 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1869 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1870 | <action function="page">confirm_action</action> |
| 1871 | </actions> |
| 1872 | </button> |
| 1873 | |
| 1874 | <button style="main_button"> |
| 1875 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1876 | <placement x="%col1_x_right%" y="%row1_y%"/> |
| 1877 | <text>FAT</text> |
| 1878 | <actions> |
| 1879 | <action function="set">tw_back=refreshfilesystem</action> |
| 1880 | <action function="set">tw_action=changefilesystem</action> |
| 1881 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1882 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1883 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1884 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1885 | <action function="set">tw_text2=FAT</action> |
| 1886 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1887 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1888 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1889 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1890 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1891 | <action function="page">confirm_action</action> |
| 1892 | </actions> |
| 1893 | </button> |
| 1894 | |
| 1895 | <button style="main_button"> |
| 1896 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1897 | <placement x="%col1_x_right%" y="%row6_y%"/> |
| 1898 | <text>exFAT</text> |
| 1899 | <actions> |
| 1900 | <action function="set">tw_back=refreshfilesystem</action> |
| 1901 | <action function="set">tw_action=changefilesystem</action> |
| 1902 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1903 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1904 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1905 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1906 | <action function="set">tw_text2=exFAT</action> |
| 1907 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1908 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1909 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1910 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1911 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1912 | <action function="page">confirm_action</action> |
| 1913 | </actions> |
| 1914 | </button> |
| 1915 | |
| 1916 | <button style="main_button"> |
| 1917 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1918 | <placement x="%col1_x_right%" y="%row11_y%"/> |
| 1919 | <text>F2FS</text> |
| 1920 | <actions> |
| 1921 | <action function="set">tw_back=refreshfilesystem</action> |
| 1922 | <action function="set">tw_action=changefilesystem</action> |
| 1923 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1924 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1925 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1926 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1927 | <action function="set">tw_text2=F2FS</action> |
| 1928 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1929 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1930 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1931 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1932 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1933 | <action function="page">confirm_action</action> |
| 1934 | </actions> |
| 1935 | </button> |
| 1936 | |
| 1937 | <action> |
| 1938 | <touch key="home"/> |
| 1939 | <action function="page">main</action> |
| 1940 | </action> |
| 1941 | |
| 1942 | <action> |
| 1943 | <touch key="back"/> |
| 1944 | <action function="page">partitionoptions</action> |
| 1945 | </action> |
| 1946 | </page> |
| 1947 | |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1948 | <page name="backup"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1949 | <template name="page"/> |
| 1950 | |
Noah Jacobson | 3ad80f4 | 2020-07-21 01:28:22 -0400 | [diff] [blame] | 1951 | <action> |
| 1952 | <conditions> |
| 1953 | <condition var1="tw_is_fbe" var2="1"/> |
| 1954 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 1955 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 1956 | </conditions> |
| 1957 | <actions> |
| 1958 | <action function="set">tw_multiuser_warning_destination=backup</action> |
| 1959 | <action function="page">multiuser_warning</action> |
| 1960 | </actions> |
| 1961 | </action> |
| 1962 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1963 | <template name="statusbar"/> |
| 1964 | |
| 1965 | <text style="text_m"> |
| 1966 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1967 | <text>{@backup_hdr=Backup} > {@select_storage_hdr=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1968 | </text> |
| 1969 | |
| 1970 | <partitionlist style="partitionlist_headerless_rb"> |
| 1971 | <data name="tw_storage_path"/> |
| 1972 | <listtype name="storage"/> |
| 1973 | </partitionlist> |
| 1974 | |
| 1975 | <button> |
| 1976 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1977 | <highlight color="%highlight_color%"/> |
| 1978 | <image resource="q_btn_refresh"/> |
| 1979 | <actions> |
| 1980 | <action function="refreshsizes"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1981 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1982 | </actions> |
| 1983 | </button> |
| 1984 | |
| 1985 | <button> |
| 1986 | <condition var1="tw_back" var2="backup_confirm"/> |
| 1987 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 1988 | <highlight color="%highlight_color%"/> |
| 1989 | <image resource="q_btn_accept"/> |
| 1990 | <action function="page">backup_confirm</action> |
| 1991 | </button> |
| 1992 | |
| 1993 | <button> |
| 1994 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1995 | <highlight color="%highlight_color%"/> |
| 1996 | <image resource="q_btn_arrow_right"/> |
| 1997 | <actions> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1998 | <action function="set">tw_back=backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1999 | <action function="page">backup_selectpartitions</action> |
| 2000 | </actions> |
| 2001 | </button> |
| 2002 | |
| 2003 | <action> |
| 2004 | <touch key="home"/> |
| 2005 | <action function="page">main</action> |
| 2006 | </action> |
| 2007 | |
| 2008 | <action> |
| 2009 | <touch key="back"/> |
| 2010 | <action function="page">%tw_back%</action> |
| 2011 | </action> |
| 2012 | |
| 2013 | <action> |
| 2014 | <touch key="power+voldown"/> |
| 2015 | <action function="screenshot"/> |
| 2016 | </action> |
| 2017 | </page> |
| 2018 | |
| 2019 | <page name="backup_selectpartitions"> |
| 2020 | <template name="page"/> |
| 2021 | |
| 2022 | <template name="statusbar"/> |
| 2023 | |
| 2024 | <text style="text_m"> |
| 2025 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2026 | <text>{@backup_hdr=Backup} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2027 | </text> |
| 2028 | |
| 2029 | <partitionlist style="partitionlist_headerless_cb"> |
| 2030 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2031 | <data name="tw_backup_list"/> |
| 2032 | <listtype name="backup"/> |
| 2033 | </partitionlist> |
| 2034 | |
| 2035 | <fill color="%accent_color%"> |
| 2036 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2037 | </fill> |
| 2038 | |
| 2039 | <button> |
| 2040 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2041 | <highlight color="%highlight_color%"/> |
| 2042 | <image resource="q_btn_arrow_left"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2043 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2044 | </button> |
| 2045 | |
| 2046 | <button> |
| 2047 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2048 | <highlight color="%highlight_color%"/> |
| 2049 | <image resource="q_btn_refresh"/> |
| 2050 | <action function="page">backup_selectpartitions</action> |
| 2051 | </button> |
| 2052 | |
| 2053 | <button> |
| 2054 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2055 | <highlight color="%highlight_color%"/> |
| 2056 | <image resource="q_btn_accept"/> |
| 2057 | <action function="page">backup_confirm</action> |
| 2058 | </button> |
| 2059 | |
| 2060 | <button> |
| 2061 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2062 | <highlight color="%highlight_color%"/> |
| 2063 | <image resource="q_btn_arrow_right"/> |
| 2064 | <actions> |
| 2065 | <action function="set">tw_back=backup_selectpartitions</action> |
| 2066 | <action function="page">backup_options</action> |
| 2067 | </actions> |
| 2068 | </button> |
| 2069 | |
| 2070 | <action> |
| 2071 | <touch key="home"/> |
| 2072 | <action function="page">main</action> |
| 2073 | </action> |
| 2074 | |
| 2075 | <action> |
| 2076 | <touch key="back"/> |
| 2077 | <action function="page">%tw_back%</action> |
| 2078 | </action> |
| 2079 | |
| 2080 | <action> |
| 2081 | <touch key="power+voldown"/> |
| 2082 | <action function="screenshot"/> |
| 2083 | </action> |
| 2084 | </page> |
| 2085 | |
Noah Jacobson | 3ad80f4 | 2020-07-21 01:28:22 -0400 | [diff] [blame] | 2086 | <page name="multiuser_warning"> |
| 2087 | <template name="page"/> |
| 2088 | |
| 2089 | <text style="text_m"> |
| 2090 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2091 | <text>{@multiuser_warning_hdr=Multiuser Warning}</text> |
| 2092 | </text> |
| 2093 | |
| 2094 | <text style="text_m_fail"> |
| 2095 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 2096 | <text>{@multiuser_warning1=Not all users decrypted!}</text> |
| 2097 | </text> |
| 2098 | |
| 2099 | <text style="text_m_fail"> |
| 2100 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
| 2101 | <text>{@multiuser_warning2=Backup/restore operations may fail!}</text> |
| 2102 | </text> |
| 2103 | |
| 2104 | <button style="main_button_full_width"> |
| 2105 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 2106 | <text>{@decrypt_users=Decrypt Users}</text> |
| 2107 | <action function="page">decrypt_users</action> |
| 2108 | </button> |
| 2109 | |
| 2110 | <slider> |
| 2111 | <text>{@multiuser_warning_accept=Continue Anyway}</text> |
| 2112 | <actions> |
| 2113 | <action function="set">tw_multiuser_warning_accepted=1</action> |
| 2114 | <action function="page">%tw_multiuser_warning_destination%</action> |
| 2115 | </actions> |
| 2116 | </slider> |
| 2117 | |
| 2118 | <action> |
| 2119 | <touch key="home"/> |
| 2120 | <action function="page">main</action> |
| 2121 | </action> |
| 2122 | |
| 2123 | <action> |
| 2124 | <touch key="back"/> |
| 2125 | <action function="page">main</action> |
| 2126 | </action> |
| 2127 | </page> |
| 2128 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2129 | <page name="backup_options"> |
| 2130 | <template name="page"/> |
| 2131 | |
| 2132 | <template name="statusbar"/> |
| 2133 | |
| 2134 | <text style="text_m"> |
| 2135 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2136 | <text>{@backup_hdr=Backup} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2137 | </text> |
| 2138 | |
| 2139 | <listbox style="scrolllist"> |
| 2140 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2141 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2142 | <data variable="tw_use_compression"/> |
| 2143 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2144 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 2145 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2146 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 2147 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2148 | <data variable="tw_disable_free_space"/> |
| 2149 | </listitem> |
| 2150 | </listbox> |
| 2151 | |
| 2152 | <button> |
| 2153 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2154 | <highlight color="%highlight_color%"/> |
| 2155 | <image resource="q_btn_arrow_left"/> |
| 2156 | <action function="page">backup_selectpartitions</action> |
| 2157 | </button> |
| 2158 | |
| 2159 | <button> |
| 2160 | <conditions> |
| 2161 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2162 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2163 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2164 | </conditions> |
| 2165 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2166 | <highlight color="%highlight_color%"/> |
| 2167 | <image resource="q_btn_encryption_dis"/> |
| 2168 | <actions> |
| 2169 | <action function="set">tw_password_not_match=0</action> |
| 2170 | <action function="set">tw_back=backup_options</action> |
| 2171 | <action function="page">backupencryption</action> |
| 2172 | </actions> |
| 2173 | </button> |
| 2174 | |
| 2175 | <button> |
| 2176 | <conditions> |
| 2177 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2178 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2179 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2180 | </conditions> |
| 2181 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2182 | <highlight color="%highlight_color%"/> |
| 2183 | <image resource="q_btn_encryption_en"/> |
| 2184 | <actions> |
| 2185 | <action function="set">tw_password_not_match=0</action> |
| 2186 | <action function="set">tw_back=backup_options</action> |
| 2187 | <action function="page">backupencryption</action> |
| 2188 | </actions> |
| 2189 | </button> |
| 2190 | |
| 2191 | <button> |
| 2192 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2193 | <highlight color="%highlight_color%"/> |
| 2194 | <image resource="q_btn_accept_transp"/> |
| 2195 | <actions> |
| 2196 | <action function="set">tw_back=backup_options</action> |
| 2197 | <action function="page">backup_confirm</action> |
| 2198 | </actions> |
| 2199 | </button> |
| 2200 | |
| 2201 | <action> |
| 2202 | <touch key="home"/> |
| 2203 | <action function="page">main</action> |
| 2204 | </action> |
| 2205 | |
| 2206 | <action> |
| 2207 | <touch key="back"/> |
| 2208 | <action function="page">%tw_back%</action> |
| 2209 | </action> |
| 2210 | |
| 2211 | <action> |
| 2212 | <touch key="power+voldown"/> |
| 2213 | <action function="screenshot"/> |
| 2214 | </action> |
| 2215 | </page> |
| 2216 | |
| 2217 | <page name="backup_confirm"> |
| 2218 | <template name="page"/> |
| 2219 | |
| 2220 | <template name="statusbar"/> |
| 2221 | |
| 2222 | <text style="text_m"> |
| 2223 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 090751a | 2016-01-23 16:31:41 -0600 | [diff] [blame] | 2224 | <text>{@backup_hdr=Backup} > {@backup_confirm_hdr=Confirm Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2225 | </text> |
| 2226 | |
| 2227 | <text style="text_m_accent"> |
| 2228 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2229 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2230 | </text> |
| 2231 | |
| 2232 | <text style="text_m"> |
| 2233 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 2234 | <text>%tw_backup_name%</text> |
| 2235 | </text> |
| 2236 | |
| 2237 | <fill color="%accent_color%"> |
| 2238 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2239 | </fill> |
| 2240 | |
| 2241 | <button> |
| 2242 | <fill color="%transparent%"/> |
| 2243 | <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2244 | <actions> |
| 2245 | <action function="set">tw_back=backup_confirm</action> |
| 2246 | <action function="set">tw_fileexists=0</action> |
| 2247 | <action function="page">backup_name1</action> |
| 2248 | </actions> |
| 2249 | </button> |
| 2250 | |
| 2251 | <fill color="%background_color%"> |
| 2252 | <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2253 | </fill> |
| 2254 | |
| 2255 | <text style="text_m_accent"> |
| 2256 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2257 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2258 | </text> |
| 2259 | |
| 2260 | <partitionlist style="partitionlist_summary"> |
| 2261 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2262 | <data name="tw_backup_list"/> |
| 2263 | <listtype name="backup"/> |
| 2264 | </partitionlist> |
| 2265 | |
| 2266 | <button> |
| 2267 | <fill color="%transparent%"/> |
| 2268 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2269 | <actions> |
| 2270 | <action function="set">tw_back=backup_confirm</action> |
| 2271 | <action function="page">backup_selectpartitions</action> |
| 2272 | </actions> |
| 2273 | </button> |
| 2274 | |
| 2275 | <text style="text_m_accent"> |
| 2276 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2277 | <text>{@storage=Storage:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2278 | </text> |
| 2279 | |
| 2280 | <text style="text_m"> |
| 2281 | <placement x="%col1_x_right%" y="%row2_y%"/> |
| 2282 | <text>%tw_storage_display_name%</text> |
| 2283 | </text> |
| 2284 | |
| 2285 | <button> |
| 2286 | <fill color="%transparent%"/> |
| 2287 | <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2288 | <actions> |
| 2289 | <action function="set">tw_back=backup_confirm</action> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2290 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2291 | </actions> |
| 2292 | </button> |
| 2293 | |
| 2294 | <text style="text_m_accent"> |
| 2295 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2296 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2297 | </text> |
| 2298 | |
| 2299 | <text style="text_m"> |
| 2300 | <conditions> |
| 2301 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2302 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2303 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2304 | </conditions> |
| 2305 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2306 | <text>{@disabled=Disabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2307 | </text> |
| 2308 | |
| 2309 | <text style="text_m"> |
| 2310 | <conditions> |
| 2311 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2312 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2313 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2314 | </conditions> |
| 2315 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2316 | <text>{@enabled=Enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2317 | </text> |
| 2318 | |
| 2319 | <button> |
| 2320 | <fill color="%transparent%"/> |
| 2321 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/> |
| 2322 | <actions> |
| 2323 | <action function="set">tw_back=backup_confirm</action> |
| 2324 | <action function="page">backupencryption</action> |
| 2325 | </actions> |
| 2326 | </button> |
| 2327 | |
| 2328 | <listbox style="listbox_options"> |
| 2329 | <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2330 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2331 | <data variable="tw_use_compression"/> |
| 2332 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2333 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 2334 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2335 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 2336 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2337 | <data variable="tw_disable_free_space"/> |
| 2338 | </listitem> |
| 2339 | </listbox> |
| 2340 | |
| 2341 | <text style="text_m_accent"> |
| 2342 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2343 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2344 | </text> |
| 2345 | |
| 2346 | <button> |
| 2347 | <fill color="%transparent%"/> |
| 2348 | <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/> |
| 2349 | <actions> |
| 2350 | <action function="set">tw_back=backup_confirm</action> |
| 2351 | <action function="page">backup_options</action> |
| 2352 | </actions> |
| 2353 | </button> |
| 2354 | |
| 2355 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2356 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2357 | <action function="page">backup_run</action> |
| 2358 | </slider> |
| 2359 | |
| 2360 | <action> |
| 2361 | <touch key="home"/> |
| 2362 | <action function="page">main</action> |
| 2363 | </action> |
| 2364 | |
| 2365 | <action> |
| 2366 | <touch key="back"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2367 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2368 | </action> |
| 2369 | </page> |
| 2370 | |
| 2371 | <page name="backup_name1"> |
| 2372 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2373 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2374 | <action function="generatebackupname"/> |
| 2375 | </action> |
| 2376 | |
| 2377 | <action> |
| 2378 | <action function="page">backup_name2</action> |
| 2379 | </action> |
| 2380 | </page> |
| 2381 | |
| 2382 | <page name="backup_name2"> |
| 2383 | <template name="page"/> |
| 2384 | |
| 2385 | <template name="statusbar"/> |
| 2386 | |
| 2387 | <text style="text_m"> |
| 2388 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2389 | <text>{@backup_hdr=Backup} > {@backup_name_hdr=Set Backup Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2390 | </text> |
| 2391 | |
| 2392 | <text style="text_m_accent"> |
| 2393 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2394 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2395 | </text> |
| 2396 | |
| 2397 | <input> |
| 2398 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2399 | <text>%tw_backup_name%</text> |
| 2400 | <data name="tw_backup_name"/> |
| 2401 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2402 | <actions> |
| 2403 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 2404 | <action function="set">tw_existpage=backup_name2</action> |
| 2405 | <action function="set">tw_notexistpage=backup_confirm</action> |
| 2406 | <action function="page">filecheck</action> |
| 2407 | </actions> |
| 2408 | </input> |
| 2409 | |
| 2410 | <fill color="%accent_color%"> |
| 2411 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2412 | </fill> |
| 2413 | |
| 2414 | <fill color="%text_fail_color%"> |
| 2415 | <condition var1="tw_fileexists" var2="1"/> |
| 2416 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2417 | </fill> |
| 2418 | |
| 2419 | <text style="text_m_fail"> |
| 2420 | <condition var1="tw_fileexists" var2="1"/> |
| 2421 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2422 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2423 | </text> |
| 2424 | |
| 2425 | <button style="main_button_half_height"> |
| 2426 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2427 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2428 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2429 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2430 | <action function="page">backup_confirm</action> |
| 2431 | </actions> |
| 2432 | </button> |
| 2433 | |
| 2434 | <button style="main_button_half_height"> |
| 2435 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2436 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2437 | <action function="appenddatetobackupname"/> |
| 2438 | </button> |
| 2439 | |
| 2440 | <template name="keyboardtemplate"/> |
| 2441 | |
| 2442 | <action> |
| 2443 | <touch key="home"/> |
| 2444 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2445 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2446 | <action function="page">main</action> |
| 2447 | </actions> |
| 2448 | </action> |
| 2449 | |
| 2450 | <action> |
| 2451 | <touch key="back"/> |
| 2452 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2453 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2454 | <action function="page">backup_confirm</action> |
| 2455 | </actions> |
| 2456 | </action> |
| 2457 | </page> |
| 2458 | |
| 2459 | <page name="backupencryption"> |
| 2460 | <template name="page"/> |
| 2461 | |
| 2462 | <template name="statusbar"/> |
| 2463 | |
| 2464 | <text style="text_m"> |
| 2465 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2466 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2467 | </text> |
| 2468 | |
| 2469 | <text style="text_m_accent"> |
| 2470 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2471 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2472 | </text> |
| 2473 | |
| 2474 | <input> |
| 2475 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2476 | <text>%tw_backup_encrypt_display%</text> |
| 2477 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 2478 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2479 | <action function="page">backupencryption2</action> |
| 2480 | </input> |
| 2481 | |
| 2482 | <fill color="%accent_color%"> |
| 2483 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2484 | </fill> |
| 2485 | |
| 2486 | <fill color="%text_fail_color%"> |
| 2487 | <condition var1="tw_password_not_match" var2="1"/> |
| 2488 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2489 | </fill> |
| 2490 | |
| 2491 | <text style="text_m_fail"> |
| 2492 | <condition var1="tw_password_not_match" var2="1"/> |
| 2493 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2494 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2495 | </text> |
| 2496 | |
| 2497 | <button style="main_button_half_height"> |
| 2498 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2499 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2500 | <actions> |
| 2501 | <action function="set">tw_encrypt_backup=0</action> |
| 2502 | <action function="set">tw_backup_password=</action> |
| 2503 | <action function="set">tw_backup_password2=</action> |
| 2504 | <action function="set">tw_backup_encrypt_display=</action> |
| 2505 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2506 | <action function="page">%tw_back%</action> |
| 2507 | </actions> |
| 2508 | </button> |
| 2509 | |
| 2510 | <template name="keyboardtemplate"/> |
| 2511 | |
| 2512 | <action> |
| 2513 | <touch key="home"/> |
| 2514 | <action function="page">main</action> |
| 2515 | </action> |
| 2516 | |
| 2517 | <action> |
| 2518 | <touch key="back"/> |
| 2519 | <action function="page">%tw_back%</action> |
| 2520 | </action> |
| 2521 | </page> |
| 2522 | |
| 2523 | <page name="backupencryption2"> |
| 2524 | <template name="page"/> |
| 2525 | |
| 2526 | <template name="statusbar"/> |
| 2527 | |
| 2528 | <text style="text_m"> |
| 2529 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2530 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2531 | </text> |
| 2532 | |
| 2533 | <text style="text_m_accent"> |
| 2534 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2535 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2536 | </text> |
| 2537 | |
| 2538 | <input> |
| 2539 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2540 | <text>%tw_backup_encrypt_display2%</text> |
| 2541 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2542 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2543 | <action function="page">checkbackuppassword</action> |
| 2544 | </input> |
| 2545 | |
| 2546 | <fill color="%accent_color%"> |
| 2547 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2548 | </fill> |
| 2549 | |
| 2550 | <button style="main_button_half_height"> |
| 2551 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2552 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2553 | <actions> |
| 2554 | <action function="set">tw_encrypt_backup=0</action> |
| 2555 | <action function="set">tw_backup_password=</action> |
| 2556 | <action function="set">tw_backup_password2=</action> |
| 2557 | <action function="set">tw_backup_encrypt_display=</action> |
| 2558 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2559 | <action function="page">%tw_back%</action> |
| 2560 | </actions> |
| 2561 | </button> |
| 2562 | |
| 2563 | <template name="keyboardtemplate"/> |
| 2564 | |
| 2565 | <action> |
| 2566 | <touch key="home"/> |
| 2567 | <action function="page">main</action> |
| 2568 | </action> |
| 2569 | |
| 2570 | <action> |
| 2571 | <touch key="back"/> |
| 2572 | <action function="page">%tw_back%</action> |
| 2573 | </action> |
| 2574 | </page> |
| 2575 | |
| 2576 | <page name="checkbackuppassword"> |
| 2577 | <action> |
| 2578 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2579 | <actions> |
| 2580 | <action function="set">tw_encrypt_backup=1</action> |
| 2581 | <action function="page">%tw_back%</action> |
| 2582 | </actions> |
| 2583 | </action> |
| 2584 | |
| 2585 | <action> |
| 2586 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2587 | <actions> |
| 2588 | <action function="set">tw_encrypt_backup=0</action> |
| 2589 | <action function="set">tw_password_not_match=1</action> |
| 2590 | <action function="set">tw_backup_password=</action> |
| 2591 | <action function="set">tw_backup_password2=</action> |
| 2592 | <action function="set">tw_backup_encrypt_display=</action> |
| 2593 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2594 | <action function="page">backupencryption</action> |
| 2595 | </actions> |
| 2596 | </action> |
| 2597 | </page> |
| 2598 | |
| 2599 | <page name="backup_run"> |
| 2600 | <template name="page"/> |
| 2601 | |
| 2602 | <template name="statusbar"/> |
| 2603 | |
| 2604 | <text style="text_m"> |
| 2605 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2606 | <text>%tw_operation% %tw_partition%</text> |
| 2607 | </text> |
| 2608 | |
| 2609 | <template name="console"/> |
| 2610 | |
| 2611 | <template name="progress_bar"/> |
| 2612 | |
| 2613 | <text style="text_m"> |
| 2614 | <placement x="%indent%" y="%row13a_y%"/> |
| 2615 | <text>%tw_file_progress%</text> |
| 2616 | </text> |
| 2617 | |
| 2618 | <text style="text_m"> |
| 2619 | <placement x="%indent%" y="%row14a_y%"/> |
| 2620 | <text>%tw_size_progress%</text> |
| 2621 | </text> |
| 2622 | |
| 2623 | <button style="main_button_half_height"> |
| 2624 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2625 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2626 | <action function="cancelbackup"/> |
| 2627 | </button> |
| 2628 | |
| 2629 | <action> |
| 2630 | <action function="nandroid">backup</action> |
| 2631 | </action> |
| 2632 | |
| 2633 | <action> |
| 2634 | <condition var1="tw_operation_state" var2="1"/> |
| 2635 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2636 | <actions> |
| 2637 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2638 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2639 | <action function="set">tw_show_reboot=1</action> |
| 2640 | <action function="page">action_complete</action> |
| 2641 | </actions> |
| 2642 | </action> |
| 2643 | |
| 2644 | <action> |
| 2645 | <condition var1="tw_operation_state" var2="1"/> |
| 2646 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2647 | <actions> |
| 2648 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2649 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2650 | <action function="set">tw_show_reboot=1</action> |
| 2651 | <action function="page">action_complete</action> |
| 2652 | </actions> |
| 2653 | </action> |
| 2654 | </page> |
| 2655 | |
| 2656 | <page name="restore"> |
| 2657 | <template name="page"/> |
| 2658 | |
Noah Jacobson | 3ad80f4 | 2020-07-21 01:28:22 -0400 | [diff] [blame] | 2659 | <action> |
| 2660 | <conditions> |
| 2661 | <condition var1="tw_is_fbe" var2="1"/> |
| 2662 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2663 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2664 | </conditions> |
| 2665 | <actions> |
| 2666 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2667 | <action function="page">multiuser_warning</action> |
| 2668 | </actions> |
| 2669 | </action> |
| 2670 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2671 | <template name="statusbar"/> |
| 2672 | |
| 2673 | <text style="text_m"> |
| 2674 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2675 | <text>{@restore_hdr=Restore} > {@sel_backup_hdr=Select Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2676 | </text> |
| 2677 | |
| 2678 | <fileselector> |
| 2679 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 2680 | <text>%tw_storage_display_name%</text> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2681 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2682 | <path name="tw_backups_folder"/> |
| 2683 | <data name="tw_restore" default=""/> |
| 2684 | <selection name="tw_restore_name"/> |
| 2685 | </fileselector> |
| 2686 | |
| 2687 | <button> |
| 2688 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2689 | <highlight color="%highlight_color%"/> |
| 2690 | <image resource="q_btn_storage"/> |
| 2691 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2692 | <action function="set">tw_storagetext={@restore_btn=Restore} > {@select_storage_btn=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2693 | <action function="set">tw_back=restore</action> |
| 2694 | <action function="page">select_storage</action> |
| 2695 | </actions> |
| 2696 | </button> |
| 2697 | |
| 2698 | <action> |
| 2699 | <condition var1="tw_restore" op="modified"/> |
| 2700 | <actions> |
| 2701 | <action function="readBackup"/> |
| 2702 | <action function="set">tw_back=restore</action> |
| 2703 | <action function="page">restore_read</action> |
| 2704 | </actions> |
| 2705 | </action> |
| 2706 | |
| 2707 | <action> |
| 2708 | <touch key="home"/> |
| 2709 | <action function="page">main</action> |
| 2710 | </action> |
| 2711 | |
| 2712 | <action> |
| 2713 | <touch key="back"/> |
| 2714 | <action function="page">main</action> |
| 2715 | </action> |
| 2716 | </page> |
| 2717 | |
| 2718 | <page name="restore_read"> |
| 2719 | <action> |
| 2720 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2721 | <actions> |
| 2722 | <action function="set">tw_password_fail=0</action> |
| 2723 | <action function="page">restore_decrypt</action> |
| 2724 | </actions> |
| 2725 | </action> |
| 2726 | |
| 2727 | <action> |
| 2728 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2729 | <actions> |
| 2730 | <action function="page">restore_select</action> |
| 2731 | </actions> |
| 2732 | </action> |
| 2733 | </page> |
| 2734 | |
| 2735 | <page name="restore_decrypt"> |
| 2736 | <template name="page"/> |
| 2737 | |
| 2738 | <template name="statusbar"/> |
| 2739 | |
| 2740 | <text style="text_m"> |
| 2741 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2742 | <text>{@restore_hdr=Restore} > {@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2743 | </text> |
| 2744 | |
| 2745 | <text style="text_m_accent"> |
| 2746 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2747 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2748 | </text> |
| 2749 | |
| 2750 | <input> |
| 2751 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2752 | <text>%tw_restore_display%</text> |
| 2753 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2754 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2755 | <action function="page">try_restore_decrypt</action> |
| 2756 | </input> |
| 2757 | |
| 2758 | <fill color="%accent_color%"> |
| 2759 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2760 | </fill> |
| 2761 | |
| 2762 | <fill color="%text_fail_color%"> |
| 2763 | <condition var1="tw_password_fail" var2="1"/> |
| 2764 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2765 | </fill> |
| 2766 | |
| 2767 | <text style="text_m_fail"> |
| 2768 | <condition var1="tw_password_fail" var2="1"/> |
| 2769 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2770 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2771 | </text> |
| 2772 | |
| 2773 | <button style="main_button_half_height"> |
| 2774 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2775 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2776 | <actions> |
| 2777 | <action function="set">tw_page_done=1</action> |
| 2778 | <action function="page">restore</action> |
| 2779 | </actions> |
| 2780 | </button> |
| 2781 | |
| 2782 | <button style="main_button_half_height"> |
| 2783 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2784 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2785 | <actions> |
| 2786 | <action function="set">tw_back=restore</action> |
| 2787 | <action function="set">tw_action=cmd</action> |
| 2788 | <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] | 2789 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2790 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2791 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2792 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2793 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2794 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2795 | <action function="page">confirm_action</action> |
| 2796 | </actions> |
| 2797 | </button> |
| 2798 | |
| 2799 | <template name="keyboardtemplate"/> |
| 2800 | |
| 2801 | <action> |
| 2802 | <touch key="home"/> |
| 2803 | <action function="page">main</action> |
| 2804 | </action> |
| 2805 | |
| 2806 | <action> |
| 2807 | <touch key="back"/> |
| 2808 | <action function="page">restore</action> |
| 2809 | </action> |
| 2810 | </page> |
| 2811 | |
| 2812 | <page name="try_restore_decrypt"> |
| 2813 | <template name="page"/> |
| 2814 | |
| 2815 | <template name="statusbar"/> |
| 2816 | |
| 2817 | <text style="text_m"> |
| 2818 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2819 | <text>{@restore_hdr=Restore} > {@restore_try_decrypt_s=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2820 | </text> |
| 2821 | |
| 2822 | <template name="console"/> |
| 2823 | |
| 2824 | <template name="progress_bar"/> |
| 2825 | |
| 2826 | <action> |
| 2827 | <action function="decrypt_backup"/> |
| 2828 | </action> |
| 2829 | |
| 2830 | <action> |
| 2831 | <conditions> |
| 2832 | <condition var1="tw_operation_state" var2="1"/> |
| 2833 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2834 | </conditions> |
| 2835 | <actions> |
| 2836 | <action function="set">tw_password_fail=1</action> |
| 2837 | <action function="page">restore_decrypt</action> |
| 2838 | </actions> |
| 2839 | </action> |
| 2840 | |
| 2841 | <action> |
| 2842 | <conditions> |
| 2843 | <condition var1="tw_operation_state" var2="1"/> |
| 2844 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2845 | </conditions> |
| 2846 | <actions> |
| 2847 | <action function="set">tw_page_done=1</action> |
| 2848 | <action function="page">restore_select</action> |
| 2849 | </actions> |
| 2850 | </action> |
| 2851 | </page> |
| 2852 | |
| 2853 | <page name="restore_select"> |
| 2854 | <template name="page"/> |
| 2855 | |
| 2856 | <template name="statusbar"/> |
| 2857 | |
| 2858 | <text style="text_m"> |
| 2859 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2860 | <text>{@restore_hdr=Restore} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2861 | </text> |
| 2862 | |
| 2863 | <partitionlist style="partitionlist_headerless_cb"> |
| 2864 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2865 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2866 | <listtype name="restore"/> |
| 2867 | </partitionlist> |
| 2868 | |
| 2869 | <fill color="%accent_color%"> |
| 2870 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2871 | </fill> |
| 2872 | |
| 2873 | <button> |
| 2874 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2875 | <highlight color="%highlight_color%"/> |
| 2876 | <image resource="q_btn_arrow_left"/> |
| 2877 | <action function="page">restore</action> |
| 2878 | </button> |
| 2879 | |
| 2880 | <button> |
| 2881 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2882 | <highlight color="%highlight_color%"/> |
| 2883 | <image resource="q_btn_delete"/> |
| 2884 | <actions> |
| 2885 | <action function="set">tw_back=restore</action> |
| 2886 | <action function="set">tw_action=cmd</action> |
| 2887 | <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] | 2888 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2889 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2890 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2891 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2892 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2893 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2894 | <action function="page">confirm_action</action> |
| 2895 | </actions> |
| 2896 | </button> |
| 2897 | |
| 2898 | <button> |
| 2899 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2900 | <highlight color="%highlight_color%"/> |
| 2901 | <image resource="q_btn_accept"/> |
| 2902 | <action function="page">restore_confirm</action> |
| 2903 | </button> |
| 2904 | |
| 2905 | <button> |
| 2906 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2907 | <highlight color="%highlight_color%"/> |
| 2908 | <image resource="q_btn_arrow_right"/> |
| 2909 | <actions> |
| 2910 | <action function="set">tw_back=restore_select</action> |
| 2911 | <action function="page">restore_options</action> |
| 2912 | </actions> |
| 2913 | </button> |
| 2914 | |
| 2915 | <action> |
| 2916 | <touch key="home"/> |
| 2917 | <action function="page">main</action> |
| 2918 | </action> |
| 2919 | |
| 2920 | <action> |
| 2921 | <touch key="back"/> |
| 2922 | <action function="page">%tw_back%</action> |
| 2923 | </action> |
| 2924 | </page> |
| 2925 | |
| 2926 | <page name="restore_options"> |
| 2927 | <template name="page"/> |
| 2928 | |
| 2929 | <template name="statusbar"/> |
| 2930 | |
| 2931 | <text style="text_m"> |
| 2932 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2933 | <text>{@restore_hdr=Restore} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2934 | </text> |
| 2935 | |
| 2936 | <listbox style="scrolllist"> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2937 | <condition var1="tw_enable_adb_backup" op="=" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2938 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2939 | <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}"> |
| 2940 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2941 | </listitem> |
| 2942 | </listbox> |
| 2943 | |
| 2944 | <button> |
| 2945 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2946 | <highlight color="%highlight_color%"/> |
| 2947 | <image resource="q_btn_arrow_left"/> |
| 2948 | <action function="page">restore_select</action> |
| 2949 | </button> |
| 2950 | |
| 2951 | <button> |
| 2952 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2953 | <highlight color="%highlight_color%"/> |
| 2954 | <image resource="q_btn_accept_transp"/> |
| 2955 | <actions> |
| 2956 | <action function="set">tw_back=restore_options</action> |
| 2957 | <action function="page">restore_confirm</action> |
| 2958 | </actions> |
| 2959 | </button> |
| 2960 | |
| 2961 | <action> |
| 2962 | <touch key="home"/> |
| 2963 | <action function="page">main</action> |
| 2964 | </action> |
| 2965 | |
| 2966 | <action> |
| 2967 | <touch key="back"/> |
| 2968 | <action function="page">%tw_back%</action> |
| 2969 | </action> |
| 2970 | |
| 2971 | <action> |
| 2972 | <touch key="power+voldown"/> |
| 2973 | <action function="screenshot"/> |
| 2974 | </action> |
| 2975 | </page> |
| 2976 | |
| 2977 | <page name="renamebackup"> |
| 2978 | <template name="page"/> |
| 2979 | |
| 2980 | <template name="statusbar"/> |
| 2981 | |
| 2982 | <text style="text_m"> |
| 2983 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2984 | <text>{@restore_hdr=Restore} > {@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2985 | </text> |
| 2986 | |
| 2987 | <text style="text_m_accent"> |
| 2988 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2989 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2990 | </text> |
| 2991 | |
| 2992 | <input> |
| 2993 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2994 | <text>%tw_backup_rename%</text> |
| 2995 | <data name="tw_backup_rename"/> |
| 2996 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2997 | <actions> |
| 2998 | <action function="set">tw_back=restore</action> |
| 2999 | <action function="set">tw_action=cmd</action> |
| 3000 | <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] | 3001 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 3002 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 3003 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 3004 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 3005 | <action function="set">tw_slider_text={@swipe_rename= Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3006 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 3007 | <action function="set">tw_existpage=renamebackup</action> |
| 3008 | <action function="set">tw_notexistpage=confirm_action</action> |
| 3009 | <action function="page">filecheck</action> |
| 3010 | </actions> |
| 3011 | </input> |
| 3012 | |
| 3013 | <fill color="%accent_color%"> |
| 3014 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 3015 | </fill> |
| 3016 | |
| 3017 | <fill color="%text_fail_color%"> |
| 3018 | <condition var1="tw_fileexists" var2="1"/> |
| 3019 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 3020 | </fill> |
| 3021 | |
| 3022 | <text style="text_m_fail"> |
| 3023 | <condition var1="tw_fileexists" var2="1"/> |
| 3024 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3025 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3026 | </text> |
| 3027 | |
| 3028 | <button style="main_button_half_height"> |
| 3029 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3030 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3031 | <action function="page">restore_confirm</action> |
| 3032 | </button> |
| 3033 | |
| 3034 | <template name="keyboardtemplate"/> |
| 3035 | |
| 3036 | <action> |
| 3037 | <touch key="home"/> |
| 3038 | <action function="page">main</action> |
| 3039 | </action> |
| 3040 | |
| 3041 | <action> |
| 3042 | <touch key="back"/> |
| 3043 | <action function="page">restore_confirm</action> |
| 3044 | </action> |
| 3045 | </page> |
| 3046 | |
| 3047 | <page name="restore_confirm"> |
| 3048 | <template name="page"/> |
| 3049 | |
| 3050 | <template name="statusbar"/> |
| 3051 | |
| 3052 | <text style="text_m"> |
| 3053 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3054 | <text>{@restore_hdr=Restore} > {@confirm_hdr=Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3055 | </text> |
| 3056 | |
| 3057 | <text style="text_m_accent"> |
| 3058 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3059 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3060 | </text> |
| 3061 | |
| 3062 | <text style="text_m"> |
| 3063 | <placement x="%indent%" y="%row2_y%"/> |
| 3064 | <text>%tw_restore_name%</text> |
| 3065 | </text> |
| 3066 | |
| 3067 | <fill color="%accent_color%"> |
| 3068 | <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/> |
| 3069 | </fill> |
| 3070 | |
| 3071 | <button> |
| 3072 | <fill color="%transparent%"/> |
| 3073 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 3074 | <actions> |
| 3075 | <action function="set">tw_back=restore_confirm</action> |
| 3076 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 3077 | <action function="set">tw_fileexists=0</action> |
| 3078 | <action function="page">renamebackup</action> |
| 3079 | </actions> |
| 3080 | </button> |
| 3081 | |
| 3082 | <text style="text_m_accent"> |
| 3083 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3084 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3085 | </text> |
| 3086 | |
| 3087 | <partitionlist style="partitionlist_summary"> |
| 3088 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 3089 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 3090 | <listtype name="restore"/> |
| 3091 | </partitionlist> |
| 3092 | |
| 3093 | <button> |
| 3094 | <fill color="%transparent%"/> |
| 3095 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 3096 | <actions> |
| 3097 | <action function="set">tw_back=restore_confirm</action> |
| 3098 | <action function="page">restore_select</action> |
| 3099 | </actions> |
| 3100 | </button> |
| 3101 | |
| 3102 | <listbox style="listbox_options"> |
| 3103 | <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3104 | <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}"> |
| 3105 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3106 | </listitem> |
| 3107 | </listbox> |
| 3108 | |
| 3109 | <text style="text_m_accent"> |
| 3110 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3111 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3112 | </text> |
| 3113 | |
| 3114 | <button> |
| 3115 | <fill color="%transparent%"/> |
| 3116 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/> |
| 3117 | <actions> |
| 3118 | <action function="set">tw_back=restore_confirm</action> |
| 3119 | <action function="page">restore_options</action> |
| 3120 | </actions> |
| 3121 | </button> |
| 3122 | |
| 3123 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3124 | <text>{@swipe_restore_s= Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3125 | <action function="page">restore_run</action> |
| 3126 | </slider> |
| 3127 | |
| 3128 | <action> |
| 3129 | <touch key="home"/> |
| 3130 | <action function="page">main</action> |
| 3131 | </action> |
| 3132 | |
| 3133 | <action> |
| 3134 | <touch key="back"/> |
| 3135 | <action function="page">restore_options</action> |
| 3136 | </action> |
| 3137 | </page> |
| 3138 | |
| 3139 | <page name="restore_run"> |
| 3140 | <template name="page"/> |
| 3141 | |
| 3142 | <template name="statusbar"/> |
| 3143 | |
| 3144 | <text style="text_m"> |
| 3145 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 3146 | <text>%tw_operation% %tw_partition%</text> |
| 3147 | </text> |
| 3148 | |
| 3149 | <template name="console"/> |
| 3150 | |
| 3151 | <template name="progress_bar"/> |
| 3152 | |
| 3153 | <text style="text_m"> |
| 3154 | <placement x="%indent%" y="%row14a_y%"/> |
| 3155 | <text>%tw_size_progress%</text> |
| 3156 | </text> |
| 3157 | |
| 3158 | <action> |
| 3159 | <condition var1="tw_operation_state" var2="1"/> |
| 3160 | <actions> |
| 3161 | <action function="set">tw_back=restore</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3162 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3163 | <action function="set">tw_show_reboot=1</action> |
| 3164 | <action function="page">action_complete</action> |
| 3165 | </actions> |
| 3166 | </action> |
| 3167 | |
| 3168 | <action> |
| 3169 | <action function="nandroid">restore</action> |
| 3170 | </action> |
| 3171 | </page> |
| 3172 | |
| 3173 | <page name="mount"> |
| 3174 | <template name="page"/> |
| 3175 | |
| 3176 | <template name="statusbar"/> |
| 3177 | |
| 3178 | <text style="text_m"> |
| 3179 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3180 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3181 | </text> |
| 3182 | |
| 3183 | <partitionlist style="partitionlist_headerless_cb"> |
| 3184 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 3185 | <listtype name="mount"/> |
| 3186 | </partitionlist> |
| 3187 | |
| 3188 | <fill color="%accent_color%"> |
| 3189 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 3190 | </fill> |
| 3191 | |
| 3192 | <button style="checkbox"> |
| 3193 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
| 3194 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3195 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3196 | <image resource="checkbox_false"/> |
| 3197 | <action function="mountsystemtoggle">1</action> |
| 3198 | </button> |
| 3199 | |
| 3200 | <button style="checkbox"> |
| 3201 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 3202 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3203 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3204 | <image resource="checkbox_true"/> |
| 3205 | <actions> |
| 3206 | <action function="set">tw_lifetime_writes=2</action> |
| 3207 | <action function="page">system_readonly_check</action> |
| 3208 | </actions> |
| 3209 | </button> |
| 3210 | |
| 3211 | <button style="checkbox"> |
| 3212 | <conditions> |
| 3213 | <condition var1="tw_has_mtp" var2="1"/> |
| 3214 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 3215 | </conditions> |
| 3216 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 3217 | <image resource="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3218 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3219 | <action function="startmtp"/> |
| 3220 | </button> |
| 3221 | |
| 3222 | <button style="checkbox"> |
| 3223 | <conditions> |
| 3224 | <condition var1="tw_has_mtp" var2="1"/> |
| 3225 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 3226 | </conditions> |
| 3227 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 3228 | <image resource="checkbox_true"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3229 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3230 | <action function="stopmtp"/> |
| 3231 | </button> |
| 3232 | |
| 3233 | <button> |
| 3234 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 3235 | <highlight color="%highlight_color%"/> |
| 3236 | <image resource="q_btn_storage"/> |
| 3237 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3238 | <action function="set">tw_storagetext={@mount_hdr=Mount} > {@select_storage_hdr=Select Storage}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3239 | <action function="set">tw_back=mount</action> |
| 3240 | <action function="page">select_storage</action> |
| 3241 | </actions> |
| 3242 | </button> |
| 3243 | |
| 3244 | <button> |
| 3245 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3246 | <highlight color="%highlight_color%"/> |
| 3247 | <image resource="q_btn_arrow_right"/> |
| 3248 | <action function="page">mount_options</action> |
| 3249 | </button> |
| 3250 | |
| 3251 | <action> |
| 3252 | <touch key="home"/> |
| 3253 | <action function="page">main</action> |
| 3254 | </action> |
| 3255 | |
| 3256 | <action> |
| 3257 | <touch key="back"/> |
| 3258 | <action function="page">main</action> |
| 3259 | </action> |
| 3260 | </page> |
| 3261 | |
| 3262 | <page name="mount_options"> |
| 3263 | <template name="page"/> |
| 3264 | |
| 3265 | <template name="statusbar"/> |
| 3266 | |
| 3267 | <text style="text_m"> |
| 3268 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3269 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3270 | </text> |
| 3271 | |
| 3272 | <button style="main_button_full_width"> |
| 3273 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 3274 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3275 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3276 | <action function="page">usb_mount</action> |
| 3277 | </button> |
| 3278 | |
| 3279 | <button style="main_button_full_width"> |
| 3280 | <conditions> |
| 3281 | <condition var1="tw_is_encrypted" var2="1"/> |
| 3282 | <condition var1="tw_is_decrypted" var2="0"/> |
| 3283 | </conditions> |
| 3284 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3285 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 3286 | <action function="set">tw_crypto_user_id=0</action> |
| 3287 | <action function="set">tw_crypto_password=</action> |
| 3288 | <action function="set">tw_password_fail=0</action> |
| 3289 | <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3290 | <action function="page">decrypt</action> |
| 3291 | </button> |
| 3292 | |
| 3293 | <button> |
| 3294 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3295 | <highlight color="%highlight_color%"/> |
| 3296 | <image resource="q_btn_arrow_left"/> |
| 3297 | <action function="page">mount</action> |
| 3298 | </button> |
| 3299 | |
| 3300 | <action> |
| 3301 | <touch key="home"/> |
| 3302 | <action function="page">main</action> |
| 3303 | </action> |
| 3304 | |
| 3305 | <action> |
| 3306 | <touch key="back"/> |
| 3307 | <action function="page">mount</action> |
| 3308 | </action> |
| 3309 | </page> |
| 3310 | |
| 3311 | <page name="usb_mount"> |
| 3312 | <template name="page"/> |
| 3313 | |
| 3314 | <template name="statusbar"/> |
| 3315 | |
| 3316 | <text style="text_m"> |
| 3317 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3318 | <text>{@mount_hdr=Mount} > {@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3319 | </text> |
| 3320 | |
| 3321 | <text style="text_m_accent"> |
| 3322 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3323 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3324 | </text> |
| 3325 | |
| 3326 | <text style="text_m_fail"> |
| 3327 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3328 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3329 | </text> |
| 3330 | |
| 3331 | <text style="text_m_fail"> |
| 3332 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3333 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3334 | </text> |
| 3335 | |
| 3336 | <button style="main_button"> |
| 3337 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3338 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3339 | <action function="page">usb_umount</action> |
| 3340 | </button> |
| 3341 | |
| 3342 | <action> |
| 3343 | <action function="mount">usb</action> |
| 3344 | <action function="set">tw_busy=1</action> |
| 3345 | </action> |
| 3346 | </page> |
| 3347 | |
| 3348 | <page name="usb_umount"> |
| 3349 | <action> |
| 3350 | <action function="unmount">usb</action> |
| 3351 | </action> |
| 3352 | |
| 3353 | <action> |
| 3354 | <action function="page">mount_options</action> |
| 3355 | <action function="set">tw_busy=0</action> |
| 3356 | </action> |
| 3357 | </page> |
| 3358 | |
| 3359 | <page name="system_readonly_check"> |
| 3360 | <action> |
| 3361 | <action function="checkpartitionlifetimewrites">/system</action> |
| 3362 | </action> |
| 3363 | |
| 3364 | <action> |
| 3365 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 3366 | <actions> |
| 3367 | <action function="mountsystemtoggle">0</action> |
| 3368 | <action function="page">mount</action> |
| 3369 | </actions> |
| 3370 | </action> |
| 3371 | |
| 3372 | <action> |
| 3373 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 3374 | <actions> |
| 3375 | <action function="set">tw_back=mount</action> |
| 3376 | <action function="page">system_readonly</action> |
| 3377 | </actions> |
| 3378 | </action> |
| 3379 | </page> |
| 3380 | |
| 3381 | <page name="reboot"> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3382 | <action> |
| 3383 | <action function="checkforapp"></action> |
| 3384 | <action function="page">reboot2</action> |
| 3385 | </action> |
| 3386 | </page> |
| 3387 | |
| 3388 | <page name="reboot2"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3389 | <template name="page"/> |
| 3390 | |
| 3391 | <template name="statusbar"/> |
| 3392 | |
| 3393 | <text style="text_m"> |
| 3394 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3395 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3396 | </text> |
| 3397 | |
| 3398 | <button style="main_button"> |
| 3399 | <condition var1="tw_reboot_system" var2="1"/> |
| 3400 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3401 | <text>{@rb_system_btn=System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3402 | <actions> |
| 3403 | <action function="set">tw_back=reboot</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 3404 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3405 | </actions> |
| 3406 | </button> |
| 3407 | |
| 3408 | <button style="main_button"> |
| 3409 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 3410 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3411 | <text>{@rb_poweroff_btn=Power Off}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3412 | <actions> |
| 3413 | <action function="set">tw_back=reboot</action> |
| 3414 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3415 | <action function="set">tw_action_param=poweroff</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3416 | <action function="set">tw_reboot_param=poweroff</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3417 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3418 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3419 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 3420 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 3421 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 3422 | <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3423 | <action function="page">rebootcheck</action> |
| 3424 | </actions> |
| 3425 | </button> |
| 3426 | |
| 3427 | <button style="main_button"> |
| 3428 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 3429 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3430 | <text>{@rb_recovery_btn=Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3431 | <actions> |
| 3432 | <action function="set">tw_back=reboot</action> |
| 3433 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3434 | <action function="set">tw_action_param=recovery</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3435 | <action function="set">tw_reboot_param=recovery</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3436 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3437 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3438 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3439 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3440 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3441 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3442 | <action function="page">rebootcheck</action> |
| 3443 | </actions> |
| 3444 | </button> |
| 3445 | |
| 3446 | <button style="main_button"> |
| 3447 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 3448 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3449 | <text>{@rb_bootloader_btn=Bootloader}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3450 | <actions> |
| 3451 | <action function="set">tw_back=reboot</action> |
| 3452 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3453 | <action function="set">tw_action_param=bootloader</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3454 | <action function="set">tw_reboot_param=bootloader</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3455 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3456 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3457 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3458 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3459 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3460 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3461 | <action function="page">rebootcheck</action> |
| 3462 | </actions> |
| 3463 | </button> |
| 3464 | |
| 3465 | <button style="main_button"> |
| 3466 | <condition var1="tw_download_mode" var2="1"/> |
| 3467 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3468 | <text>{@rb_download_btn=Download}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3469 | <actions> |
| 3470 | <action function="set">tw_back=reboot</action> |
| 3471 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3472 | <action function="set">tw_action_param=download</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3473 | <action function="set">tw_reboot_param=download</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3474 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3475 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3476 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3477 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3478 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3479 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3480 | <action function="page">rebootcheck</action> |
| 3481 | </actions> |
| 3482 | </button> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3483 | |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3484 | <button style="main_button"> |
| 3485 | <condition var1="tw_edl_mode" var2="1"/> |
| 3486 | <placement x="%col1_x_right%" y="%row11_y%"/> |
| 3487 | <text>{@rb_edl_btn=Edl}</text> |
| 3488 | <actions> |
| 3489 | <action function="set">tw_back=reboot</action> |
| 3490 | <action function="set">tw_action=reboot</action> |
| 3491 | <action function="set">tw_action_param=edl</action> |
| 3492 | <action function="set">tw_reboot_param=edl</action> |
| 3493 | <action function="set">tw_has_action2=0</action> |
| 3494 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3495 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3496 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3497 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3498 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
| 3499 | <action function="page">rebootcheck</action> |
| 3500 | </actions> |
| 3501 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3502 | |
| 3503 | <action> |
| 3504 | <touch key="home"/> |
| 3505 | <action function="page">main</action> |
| 3506 | </action> |
| 3507 | |
| 3508 | <action> |
| 3509 | <touch key="back"/> |
| 3510 | <action function="page">main</action> |
| 3511 | </action> |
| 3512 | </page> |
| 3513 | |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3514 | <page name="installapp"> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3515 | <template name="page"/> |
| 3516 | |
| 3517 | <template name="statusbar"/> |
| 3518 | |
| 3519 | <text style="text_m"> |
| 3520 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3521 | <text>%tw_appinstall_title% > {@reboot_install_app_hdr=Install TWRP App}</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3522 | </text> |
| 3523 | |
| 3524 | <text style="text_m_accent"> |
| 3525 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
| 3526 | <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text> |
| 3527 | </text> |
| 3528 | |
| 3529 | <text style="text_m"> |
| 3530 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3531 | <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text> |
| 3532 | </text> |
| 3533 | |
| 3534 | <checkbox> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3535 | <condition var1="tw_mount_system_ro" var2="0"/> |
| 3536 | <placement x="%indent%" y="%row5_y%"/> |
| 3537 | <text>{@reboot_install_app_system=Install as a System App}</text> |
| 3538 | <data variable="tw_app_install_system"/> |
| 3539 | </checkbox> |
| 3540 | |
| 3541 | <button style="main_button_half_height"> |
| 3542 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | fa67cbf | 2018-07-20 12:22:33 -0500 | [diff] [blame] | 3543 | <text>{@install_cancel=Do not Install}</text> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3544 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3545 | </button> |
| 3546 | |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3547 | <slider> |
| 3548 | <text>{@swipe_confirm= Confirm}</text> |
| 3549 | <actions> |
| 3550 | <action function="set">tw_action=installapp</action> |
| 3551 | <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action> |
| 3552 | <action function="set">tw_action_text2=</action> |
| 3553 | <action function="set">tw_complete_text1={@successful=Successful}</action> |
| 3554 | <action function="page">action_page</action> |
| 3555 | </actions> |
| 3556 | </slider> |
| 3557 | |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3558 | <action> |
| 3559 | <touch key="home"/> |
| 3560 | <actions> |
| 3561 | <action function="set">tw_app_install_status=0</action> |
| 3562 | <action function="page">main</action> |
| 3563 | </actions> |
| 3564 | </action> |
| 3565 | |
| 3566 | <action> |
| 3567 | <touch key="back"/> |
| 3568 | <actions> |
| 3569 | <action function="set">tw_app_install_status=0</action> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3570 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3571 | </actions> |
| 3572 | </action> |
| 3573 | </page> |
| 3574 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3575 | <page name="system_readonly"> |
| 3576 | <template name="page"/> |
| 3577 | |
| 3578 | <template name="statusbar"/> |
| 3579 | |
| 3580 | <text style="text_m"> |
| 3581 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3582 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3583 | </text> |
| 3584 | |
| 3585 | <text style="text_m_accent"> |
| 3586 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3587 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3588 | </text> |
| 3589 | |
| 3590 | <text style="text_m"> |
| 3591 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3592 | <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3593 | </text> |
| 3594 | |
| 3595 | <text style="text_m"> |
| 3596 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3597 | <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] | 3598 | </text> |
| 3599 | |
| 3600 | <text style="text_m"> |
| 3601 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3602 | <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] | 3603 | </text> |
| 3604 | |
| 3605 | <text style="text_m"> |
| 3606 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3607 | <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] | 3608 | </text> |
| 3609 | |
| 3610 | <text style="text_m_fail"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3611 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3612 | <text>{@sys_rop5=Installing zips or performing adb operations may still}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3613 | </text> |
| 3614 | |
| 3615 | <text style="text_m_fail"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3616 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3617 | <text>{@sys_rop6=modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3618 | </text> |
| 3619 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3620 | <button style="main_button_half_height"> |
| 3621 | <placement x="%col1_x_right%" y="%row8a_y%"/> |
| 3622 | <text>{@sel_lang_btn=Select Language}</text> |
| 3623 | <action function="page">settings_language</action> |
| 3624 | </button> |
| 3625 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3626 | <checkbox> |
| 3627 | <condition var1="tw_is_encrypted" var2="0"/> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3628 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3629 | <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] | 3630 | <data variable="tw_never_show_system_ro_page"/> |
| 3631 | </checkbox> |
| 3632 | |
| 3633 | <button style="main_button_half_height"> |
| 3634 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3635 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3636 | <actions> |
| 3637 | <action function="mountsystemtoggle">1</action> |
| 3638 | <action function="set">tw_page_done=1</action> |
| 3639 | <action function="page">%tw_back%</action> |
| 3640 | </actions> |
| 3641 | </button> |
| 3642 | |
| 3643 | <button style="main_button_half_height"> |
| 3644 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3645 | <text>{@swipe_allow_mod_s=Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3646 | <actions> |
| 3647 | <action function="mountsystemtoggle">0</action> |
| 3648 | <action function="set">tw_page_done=1</action> |
| 3649 | <action function="page">%tw_back%</action> |
| 3650 | </actions> |
| 3651 | </button> |
| 3652 | </page> |
| 3653 | |
| 3654 | <page name="settings"> |
| 3655 | <template name="page"/> |
| 3656 | |
| 3657 | <template name="statusbar"/> |
| 3658 | |
| 3659 | <text style="text_m"> |
| 3660 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3661 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3662 | </text> |
| 3663 | |
| 3664 | <button style="main_button"> |
| 3665 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3666 | <text>{@settings_gen_btn=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3667 | <action function="page">settings_general</action> |
| 3668 | </button> |
| 3669 | |
| 3670 | <button style="main_button"> |
| 3671 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3672 | <text>{@settings_tz_btn=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3673 | <action function="page">settings_timezone</action> |
| 3674 | </button> |
| 3675 | |
| 3676 | <button style="main_button"> |
| 3677 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3678 | <text>{@settings_screen_btn=Screen}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3679 | <action function="page">settings_screen</action> |
| 3680 | </button> |
| 3681 | |
| 3682 | <button style="main_button"> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3683 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3684 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3685 | <text>{@settings_vibration_btn=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3686 | <action function="page">settings_vibration</action> |
| 3687 | </button> |
| 3688 | |
| 3689 | <button style="main_button"> |
| 3690 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3691 | <text>{@settings_language_btn=Language}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3692 | <action function="page">settings_language</action> |
| 3693 | </button> |
| 3694 | |
| 3695 | <button> |
| 3696 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3697 | <highlight color="%highlight_color%"/> |
| 3698 | <image resource="q_btn_reset"/> |
| 3699 | <action function="restoredefaultsettings"/> |
| 3700 | </button> |
| 3701 | |
| 3702 | <action> |
| 3703 | <touch key="home"/> |
| 3704 | <action function="page">main</action> |
| 3705 | </action> |
| 3706 | |
| 3707 | <action> |
| 3708 | <touch key="back"/> |
| 3709 | <action function="page">main3</action> |
| 3710 | </action> |
| 3711 | </page> |
| 3712 | |
| 3713 | <page name="settings_general"> |
| 3714 | <template name="page"/> |
| 3715 | |
| 3716 | <template name="statusbar"/> |
| 3717 | |
| 3718 | <text style="text_m"> |
| 3719 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3720 | <text>{@settings_hdr=Settings} > {@settings_gen_s_hdr=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3721 | </text> |
| 3722 | |
| 3723 | <listbox style="scrolllist"> |
| 3724 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3725 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3726 | <data variable="tw_signed_zip_verify"/> |
| 3727 | </listitem> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 3728 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 3729 | <data variable="tw_install_reboot"/> |
| 3730 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3731 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3732 | <data variable="tw_rm_rf"/> |
| 3733 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 3734 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
| 3735 | <data variable="tw_disable_free_space"/> |
| 3736 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3737 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 3738 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3739 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3740 | <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}"> |
| 3741 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3742 | </listitem> |
epicX | 40b7f7a | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 3743 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 3744 | <data variable="tw_skip_digest_check_zip"/> |
| 3745 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3746 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3747 | <data variable="tw_military_time"/> |
| 3748 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3749 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3750 | <data variable="tw_simulate_actions"/> |
| 3751 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3752 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3753 | <data variable="tw_simulate_fail"/> |
| 3754 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3755 | </listitem> |
bigbiff bigbiff | 1c01fab | 2017-08-07 18:41:14 -0400 | [diff] [blame] | 3756 | <listitem name="{@sha2_chk=Use SHA2 for hashing}"> |
| 3757 | <condition var1="tw_no_sha2" var2="0"/> |
| 3758 | <data variable="tw_use_sha2"/> |
| 3759 | </listitem> |
Chaosmaster | ff4f958 | 2020-01-26 15:38:11 +0100 | [diff] [blame] | 3760 | <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}"> |
| 3761 | <data variable="tw_unmount_system"/> |
| 3762 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3763 | </listbox> |
| 3764 | |
| 3765 | <action> |
| 3766 | <touch key="home"/> |
| 3767 | <action function="page">main</action> |
| 3768 | </action> |
| 3769 | |
| 3770 | <action> |
| 3771 | <touch key="back"/> |
| 3772 | <action function="page">settings</action> |
| 3773 | </action> |
| 3774 | </page> |
| 3775 | |
| 3776 | <page name="settings_timezone"> |
| 3777 | <template name="page"/> |
| 3778 | |
| 3779 | <template name="statusbar"/> |
| 3780 | |
| 3781 | <text style="text_m"> |
| 3782 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3783 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3784 | </text> |
| 3785 | |
| 3786 | <text color="%text_color%"> |
| 3787 | <font resource="font_m"/> |
| 3788 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3789 | <text>%tw_time%</text> |
| 3790 | </text> |
| 3791 | |
| 3792 | <listbox style="listbox_headerless"> |
| 3793 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/> |
| 3794 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3795 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3796 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3797 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3798 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3799 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3800 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3801 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3802 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3803 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3804 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3805 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3806 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3807 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3808 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3809 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3810 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3811 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3812 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3813 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3814 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3815 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3816 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3817 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3818 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3819 | </listbox> |
| 3820 | |
| 3821 | <button> |
| 3822 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3823 | <highlight color="%highlight_color%"/> |
| 3824 | <image resource="q_btn_arrow_right"/> |
| 3825 | <actions> |
| 3826 | <action function="setguitimezone"/> |
| 3827 | <action function="page">settings_timezone2</action> |
| 3828 | </actions> |
| 3829 | </button> |
| 3830 | |
| 3831 | <action> |
| 3832 | <condition var1="tw_time_zone_guisel" op="modified"/> |
| 3833 | <action function="setguitimezone"/> |
| 3834 | </action> |
| 3835 | |
| 3836 | <action> |
| 3837 | <touch key="home"/> |
| 3838 | <actions> |
| 3839 | <action function="page">main</action> |
| 3840 | <action function="setguitimezone"/> |
| 3841 | </actions> |
| 3842 | </action> |
| 3843 | |
| 3844 | <action> |
| 3845 | <touch key="back"/> |
| 3846 | <actions> |
| 3847 | <action function="page">settings</action> |
| 3848 | <action function="setguitimezone"/> |
| 3849 | </actions> |
| 3850 | </action> |
| 3851 | |
| 3852 | <action> |
| 3853 | <touch key="power+voldown"/> |
| 3854 | <action function="screenshot"/> |
| 3855 | </action> |
| 3856 | </page> |
| 3857 | |
| 3858 | <page name="settings_timezone2"> |
| 3859 | <template name="page"/> |
| 3860 | |
| 3861 | <template name="statusbar"/> |
| 3862 | |
| 3863 | <text style="text_m"> |
| 3864 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3865 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3866 | </text> |
| 3867 | |
| 3868 | <text color="%text_color%"> |
| 3869 | <font resource="font_m"/> |
| 3870 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3871 | <text>%tw_time%</text> |
| 3872 | </text> |
| 3873 | |
| 3874 | <checkbox> |
| 3875 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 3876 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3877 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3878 | <data variable="tw_time_zone_guidst"/> |
| 3879 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3880 | </checkbox> |
| 3881 | |
| 3882 | <text style="text_m_accent"> |
| 3883 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3884 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3885 | </text> |
| 3886 | |
| 3887 | <button style="main_button_quarter_width"> |
| 3888 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3889 | <text>{@tz_offset_0=0}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3890 | <actions> |
| 3891 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3892 | <action function="setguitimezone"/> |
| 3893 | </actions> |
| 3894 | </button> |
| 3895 | |
| 3896 | <button style="main_button_quarter_width"> |
| 3897 | <placement x="%btn4_col2_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3898 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3899 | <actions> |
| 3900 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3901 | <action function="setguitimezone"/> |
| 3902 | </actions> |
| 3903 | </button> |
| 3904 | |
| 3905 | <button style="main_button_quarter_width"> |
| 3906 | <placement x="%btn4_col3_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3907 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3908 | <actions> |
| 3909 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3910 | <action function="setguitimezone"/> |
| 3911 | </actions> |
| 3912 | </button> |
| 3913 | |
| 3914 | <button style="main_button_quarter_width"> |
| 3915 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3916 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3917 | <actions> |
| 3918 | <action function="set">tw_time_zone_guioffset=45</action> |
| 3919 | <action function="setguitimezone"/> |
| 3920 | </actions> |
| 3921 | </button> |
| 3922 | |
| 3923 | <button> |
| 3924 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3925 | <highlight color="%highlight_color%"/> |
| 3926 | <image resource="q_btn_arrow_left"/> |
| 3927 | <actions> |
| 3928 | <action function="setguitimezone"/> |
| 3929 | <action function="page">settings_timezone</action> |
| 3930 | </actions> |
| 3931 | </button> |
| 3932 | |
| 3933 | <text style="text_m_accent"> |
| 3934 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3935 | <text>{@curr_tz_s=Current Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3936 | </text> |
| 3937 | |
| 3938 | <text style="text_m"> |
| 3939 | <placement x="%btn4_col2_x%" y="%row12a_y%"/> |
| 3940 | <text>%tw_time_zone%</text> |
| 3941 | </text> |
| 3942 | |
| 3943 | <action> |
| 3944 | <condition var1="tw_time_zone_guidst" op="modified"/> |
| 3945 | <action function="setguitimezone"/> |
| 3946 | </action> |
| 3947 | |
| 3948 | <action> |
| 3949 | <touch key="home"/> |
| 3950 | <actions> |
| 3951 | <action function="setguitimezone"/> |
| 3952 | <action function="page">main</action> |
| 3953 | </actions> |
| 3954 | </action> |
| 3955 | |
| 3956 | <action> |
| 3957 | <touch key="back"/> |
| 3958 | <actions> |
| 3959 | <action function="setguitimezone"/> |
| 3960 | <action function="page">settings_timezone</action> |
| 3961 | </actions> |
| 3962 | </action> |
| 3963 | </page> |
| 3964 | |
| 3965 | <page name="settings_screen"> |
| 3966 | <template name="page"/> |
| 3967 | |
| 3968 | <template name="statusbar"/> |
| 3969 | |
| 3970 | <text style="text_m"> |
| 3971 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3972 | <text>{@settings_hdr=Settings} > {@settings_screen_timeout_hdr=Screen Timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3973 | </text> |
| 3974 | |
| 3975 | <button style="checkbox"> |
| 3976 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 3977 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3978 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3979 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3980 | <image resource="checkbox_false"/> |
| 3981 | <action function="set">tw_screen_timeout_secs=60</action> |
| 3982 | </button> |
| 3983 | |
| 3984 | <button style="checkbox"> |
| 3985 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3986 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3987 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3988 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3989 | <image resource="checkbox_true"/> |
| 3990 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3991 | </button> |
| 3992 | |
| 3993 | <slidervalue> |
| 3994 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3995 | <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3996 | <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3997 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3998 | </slidervalue> |
| 3999 | |
| 4000 | <text style="text_m_fail"> |
| 4001 | <condition var1="tw_no_screen_timeout" op="=" var2="1"/> |
| 4002 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4003 | <text>{@screen_to_na=Screen timeout setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4004 | </text> |
| 4005 | |
| 4006 | <button> |
| 4007 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4008 | <highlight color="%highlight_color%"/> |
| 4009 | <image resource="q_btn_arrow_right"/> |
| 4010 | <action function="page">settings_screen2</action> |
| 4011 | </button> |
| 4012 | |
| 4013 | <action> |
| 4014 | <touch key="home"/> |
| 4015 | <action function="page">main</action> |
| 4016 | </action> |
| 4017 | |
| 4018 | <action> |
| 4019 | <touch key="back"/> |
| 4020 | <action function="page">settings</action> |
| 4021 | </action> |
| 4022 | </page> |
| 4023 | |
| 4024 | <page name="settings_screen2"> |
| 4025 | <template name="page"/> |
| 4026 | |
| 4027 | <template name="statusbar"/> |
| 4028 | |
| 4029 | <text style="text_m"> |
| 4030 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4031 | <text>{@settings_hdr=Settings} > {@settings_screen_bright_btn=Screen Brightness}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4032 | </text> |
| 4033 | |
| 4034 | <slidervalue> |
| 4035 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 4036 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4037 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4038 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 4039 | <actions> |
| 4040 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 4041 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 4042 | <action function="compute">tw_brightness/100</action> |
| 4043 | <action function="setbrightness">%tw_brightness%</action> |
| 4044 | </actions> |
| 4045 | </slidervalue> |
| 4046 | |
| 4047 | <text style="text_m_fail"> |
| 4048 | <condition var1="tw_has_brightnesss_file" var2="0"/> |
| 4049 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4050 | <text>{@screen_bright_na=Brightness setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4051 | </text> |
| 4052 | |
| 4053 | <button> |
| 4054 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4055 | <highlight color="%highlight_color%"/> |
| 4056 | <image resource="q_btn_arrow_left"/> |
| 4057 | <action function="page">settings_screen</action> |
| 4058 | </button> |
| 4059 | |
| 4060 | <action> |
| 4061 | <touch key="home"/> |
| 4062 | <action function="page">main</action> |
| 4063 | </action> |
| 4064 | |
| 4065 | <action> |
| 4066 | <touch key="back"/> |
| 4067 | <action function="page">settings</action> |
| 4068 | </action> |
| 4069 | </page> |
| 4070 | |
| 4071 | <page name="settings_vibration"> |
| 4072 | <template name="page"/> |
| 4073 | |
| 4074 | <template name="statusbar"/> |
| 4075 | |
| 4076 | <text style="text_m"> |
| 4077 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4078 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4079 | </text> |
| 4080 | |
| 4081 | <slidervalue> |
| 4082 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4083 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4084 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 4085 | </slidervalue> |
| 4086 | |
| 4087 | <button> |
| 4088 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4089 | <highlight color="%highlight_color%"/> |
| 4090 | <image resource="q_btn_arrow_right"/> |
| 4091 | <action function="page">settings_vibration2</action> |
| 4092 | </button> |
| 4093 | |
| 4094 | <action> |
| 4095 | <touch key="home"/> |
| 4096 | <action function="page">main</action> |
| 4097 | </action> |
| 4098 | |
| 4099 | <action> |
| 4100 | <touch key="back"/> |
| 4101 | <action function="page">settings</action> |
| 4102 | </action> |
| 4103 | </page> |
| 4104 | |
| 4105 | <page name="settings_vibration2"> |
| 4106 | <template name="page"/> |
| 4107 | |
| 4108 | <template name="statusbar"/> |
| 4109 | |
| 4110 | <text style="text_m"> |
| 4111 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4112 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4113 | </text> |
| 4114 | |
| 4115 | <slidervalue> |
| 4116 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4117 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4118 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 4119 | </slidervalue> |
| 4120 | |
| 4121 | <button> |
| 4122 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4123 | <highlight color="%highlight_color%"/> |
| 4124 | <image resource="q_btn_arrow_left"/> |
| 4125 | <action function="page">settings_vibration</action> |
| 4126 | </button> |
| 4127 | |
| 4128 | <button> |
| 4129 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4130 | <highlight color="%highlight_color%"/> |
| 4131 | <image resource="q_btn_arrow_right"/> |
| 4132 | <action function="page">settings_vibration3</action> |
| 4133 | </button> |
| 4134 | |
| 4135 | <action> |
| 4136 | <touch key="home"/> |
| 4137 | <action function="page">main</action> |
| 4138 | </action> |
| 4139 | |
| 4140 | <action> |
| 4141 | <touch key="back"/> |
| 4142 | <action function="page">settings</action> |
| 4143 | </action> |
| 4144 | </page> |
| 4145 | |
| 4146 | <page name="settings_vibration3"> |
| 4147 | <template name="page"/> |
| 4148 | |
| 4149 | <template name="statusbar"/> |
| 4150 | |
| 4151 | <text style="text_m"> |
| 4152 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4153 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4154 | </text> |
| 4155 | |
| 4156 | <slidervalue> |
| 4157 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4158 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4159 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 4160 | </slidervalue> |
| 4161 | |
| 4162 | <button> |
| 4163 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4164 | <highlight color="%highlight_color%"/> |
| 4165 | <image resource="q_btn_arrow_left"/> |
| 4166 | <action function="page">settings_vibration2</action> |
| 4167 | </button> |
| 4168 | |
| 4169 | <action> |
| 4170 | <touch key="home"/> |
| 4171 | <action function="page">main</action> |
| 4172 | </action> |
| 4173 | |
| 4174 | <action> |
| 4175 | <touch key="back"/> |
| 4176 | <action function="page">settings</action> |
| 4177 | </action> |
| 4178 | </page> |
| 4179 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4180 | <page name="settings_language"> |
| 4181 | <template name="page"/> |
| 4182 | |
| 4183 | <template name="statusbar"/> |
| 4184 | |
| 4185 | <text style="text_m"> |
| 4186 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4187 | <text>{@settings_hdr=Settings} > {@language_hdr=Language} - %tw_language_display%</text> |
| 4188 | </text> |
| 4189 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4190 | <listbox style="scrolllist"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4191 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4192 | <icon selected="radio_true" unselected="radio_false" /> |
| 4193 | <data name="tw_language" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4194 | </listbox> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4195 | |
| 4196 | <button> |
| 4197 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4198 | <highlight color="%highlight_color%"/> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4199 | <image resource="q_btn_accept_transp"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4200 | <action function="setlanguage"></action> |
| 4201 | </button> |
| 4202 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4203 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4204 | <touch key="home" /> |
| 4205 | <action function="page">main</action> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4206 | </action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4207 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4208 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4209 | <touch key="back" /> |
| 4210 | <action function="page">settings</action> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4211 | </action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4212 | </page> |
| 4213 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4214 | <page name="advanced"> |
| 4215 | <template name="page"/> |
| 4216 | |
| 4217 | <template name="statusbar"/> |
| 4218 | |
| 4219 | <text style="text_m"> |
| 4220 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4221 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4222 | </text> |
| 4223 | |
| 4224 | <button style="main_button"> |
| 4225 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4226 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4227 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4228 | </button> |
| 4229 | |
| 4230 | <button style="main_button"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 4231 | <condition var1="tw_has_data_media" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4232 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 4233 | <text>{@fix_context_btn=Fix Contexts}</text> |
| 4234 | <action function="page">fixcontexts</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4235 | </button> |
| 4236 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4237 | <button> |
| 4238 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4239 | <highlight color="%highlight_color%"/> |
| 4240 | <image resource="q_btn_arrow_right"/> |
| 4241 | <action function="page">advanced2</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4242 | </button> |
| 4243 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4244 | <action> |
| 4245 | <touch key="home"/> |
| 4246 | <action function="page">main</action> |
| 4247 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4248 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4249 | <action> |
| 4250 | <touch key="back"/> |
| 4251 | <action function="page">main3</action> |
| 4252 | </action> |
| 4253 | </page> |
| 4254 | |
| 4255 | <page name="advanced2"> |
| 4256 | <template name="page"/> |
| 4257 | |
| 4258 | <template name="statusbar"/> |
| 4259 | |
| 4260 | <text style="text_m"> |
| 4261 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4262 | <text>{@advanced_hdr=Advanced}</text> |
| 4263 | </text> |
| 4264 | |
| 4265 | <listbox style="advanced_listbox"> |
| 4266 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
epicX | 98053c3 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 4267 | <listitem name="{@change_twrp_folder_btn=Change TWRP folder}"> |
| 4268 | <condition var1="tw_is_encrypted" var2="0"/> |
| 4269 | <action function="page">changeTwrpFolder</action> |
| 4270 | </listitem> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4271 | <listitem name="{@decrypt_users=Decrypt Users}"> |
| 4272 | <conditions> |
| 4273 | <condition var1="tw_is_fbe" var2="1"/> |
| 4274 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 4275 | </conditions> |
| 4276 | <actions> |
| 4277 | <action function="set">tw_crypto_user_id=</action> |
| 4278 | <action function="page">decrypt_users</action> |
| 4279 | </actions> |
| 4280 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4281 | <listitem name="{@reload_theme_btn=Reload Theme}"> |
| 4282 | <action function="reload"/> |
| 4283 | </listitem> |
| 4284 | <listitem name="{@part_sd_btn=Partition SD Card}"> |
| 4285 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 4286 | <actions> |
| 4287 | <action function="set">partitionlisterror=0</action> |
| 4288 | <action function="page">partsdcardsel</action> |
| 4289 | </actions> |
| 4290 | </listitem> |
| 4291 | <listitem name="{@dumlock_btn=HTC Dumlock}"> |
| 4292 | <condition var1="tw_show_dumlock" var2="1"/> |
| 4293 | <action function="page">htcdumlock</action> |
| 4294 | </listitem> |
| 4295 | <listitem name="{@inject_twrp_btn=Inject TWRP}"> |
| 4296 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 4297 | <actions> |
| 4298 | <action function="set">tw_back=advanced</action> |
| 4299 | <action function="set">tw_action=reinjecttwrp</action> |
| 4300 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 4301 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 4302 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 4303 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4304 | <action function="page">confirm_action</action> |
| 4305 | </actions> |
| 4306 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4307 | <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}"> |
| 4308 | <conditions> |
| 4309 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4310 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 4311 | </conditions> |
| 4312 | <actions> |
| 4313 | <action function="set">tw_repack_kernel=0</action> |
| 4314 | <action function="page">repackselect</action> |
| 4315 | </actions> |
| 4316 | </listitem> |
| 4317 | <listitem name="{@install_kernel=Install Kernel}"> |
| 4318 | <conditions> |
| 4319 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4320 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 4321 | </conditions> |
| 4322 | <actions> |
| 4323 | <action function="set">tw_repack_kernel=1</action> |
| 4324 | <action function="page">repackselect</action> |
| 4325 | </actions> |
| 4326 | </listitem> |
| 4327 | <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}"> |
| 4328 | <conditions> |
| 4329 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4330 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 4331 | </conditions> |
| 4332 | <actions> |
| 4333 | <action function="set">tw_back=advanced</action> |
| 4334 | <action function="set">tw_action=fixabrecoverybootloop</action> |
| 4335 | <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action> |
| 4336 | <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action> |
| 4337 | <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action> |
| 4338 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4339 | <action function="page">confirm_action</action> |
| 4340 | </actions> |
| 4341 | </listitem> |
Ethan Yonker | cbd4e0c | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 4342 | <listitem name="{@reboot_install_app_hdr=Install TWRP App}"> |
| 4343 | <condition var1="tw_app_install_status" var2="1"/> |
| 4344 | <actions> |
| 4345 | <action function="set">tw_back=advanced2</action> |
| 4346 | <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action> |
| 4347 | <action function="page">installapp</action> |
| 4348 | </actions> |
| 4349 | </listitem> |
Ethan Yonker | 76bbd3a | 2019-05-10 10:50:04 -0500 | [diff] [blame] | 4350 | <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}"> |
| 4351 | <condition var1="tw_app_installed_in_system" var2="1"/> |
| 4352 | <actions> |
| 4353 | <action function="set">tw_back=advanced</action> |
| 4354 | <action function="set">tw_action=uninstalltwrpsystemapp</action> |
| 4355 | <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action> |
| 4356 | <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action> |
| 4357 | <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action> |
| 4358 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4359 | <action function="page">confirm_action</action> |
| 4360 | </actions> |
| 4361 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4362 | </listbox> |
| 4363 | |
| 4364 | <button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4365 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4366 | <highlight color="%highlight_color%"/> |
| 4367 | <image resource="q_btn_arrow_left"/> |
| 4368 | <action function="page">advanced</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4369 | </button> |
| 4370 | |
| 4371 | <action> |
| 4372 | <touch key="home"/> |
| 4373 | <action function="page">main</action> |
| 4374 | </action> |
| 4375 | |
| 4376 | <action> |
| 4377 | <touch key="back"/> |
| 4378 | <action function="page">main3</action> |
| 4379 | </action> |
| 4380 | </page> |
| 4381 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4382 | <page name="partsdcardsel"> |
| 4383 | <template name="page"/> |
| 4384 | |
| 4385 | <template name="statusbar"/> |
| 4386 | |
| 4387 | <text style="text_m"> |
| 4388 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4389 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
| 4390 | </text> |
| 4391 | |
| 4392 | <partitionlist style="partitionlist_headerless_rb"> |
| 4393 | <data name="tw_storage_path"/> |
| 4394 | <listtype name="storage"/> |
| 4395 | </partitionlist> |
| 4396 | |
| 4397 | <text style="text_m_fail"> |
| 4398 | <condition var1="partitionlisterror" var2="1"/> |
| 4399 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
| 4400 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 4401 | </text> |
| 4402 | |
| 4403 | <button> |
| 4404 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 4405 | <highlight color="%highlight_color%"/> |
| 4406 | <image resource="q_btn_refresh"/> |
| 4407 | <action function="refreshsizes"/> |
| 4408 | </button> |
| 4409 | |
| 4410 | <button> |
| 4411 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 4412 | <highlight color="%highlight_color%"/> |
| 4413 | <image resource="q_btn_accept"/> |
| 4414 | <actions> |
| 4415 | <action function="getpartitiondetails">tw_storage_path</action> |
| 4416 | <action function="page">partsdcardcheck</action> |
| 4417 | </actions> |
| 4418 | </button> |
| 4419 | |
| 4420 | <action> |
| 4421 | <touch key="home"/> |
| 4422 | <action function="page">main</action> |
| 4423 | </action> |
| 4424 | |
| 4425 | <action> |
| 4426 | <touch key="back"/> |
| 4427 | <action function="page">advanced</action> |
| 4428 | </action> |
| 4429 | </page> |
| 4430 | |
| 4431 | <page name="partsdcardcheck"> |
| 4432 | <action> |
| 4433 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 4434 | <actions> |
| 4435 | <action function="set">partitionlisterror=0</action> |
| 4436 | <action function="page">partsdcard</action> |
| 4437 | </actions> |
| 4438 | </action> |
| 4439 | |
| 4440 | <action> |
| 4441 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 4442 | <actions> |
| 4443 | <action function="set">partitionlisterror=1</action> |
| 4444 | <action function="page">partsdcardsel</action> |
| 4445 | </actions> |
| 4446 | </action> |
| 4447 | </page> |
| 4448 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4449 | <page name="partsdcard"> |
| 4450 | <template name="page"/> |
| 4451 | |
| 4452 | <template name="statusbar"/> |
| 4453 | |
| 4454 | <text style="text_m"> |
| 4455 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4456 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4457 | </text> |
| 4458 | |
| 4459 | <text style="text_m_fail"> |
| 4460 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4461 | <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] | 4462 | </text> |
| 4463 | |
| 4464 | <text style="text_m_fail"> |
| 4465 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4466 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4467 | </text> |
| 4468 | |
| 4469 | <text style="text_m_accent"> |
| 4470 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4471 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4472 | </text> |
| 4473 | |
| 4474 | <text style="text_m"> |
| 4475 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4476 | <text>%tw_sdext_size%</text> |
| 4477 | </text> |
| 4478 | |
| 4479 | <button style="main_button_quarter_width"> |
| 4480 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4481 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4482 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4483 | </button> |
| 4484 | |
| 4485 | <button style="main_button_quarter_width"> |
| 4486 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4487 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4488 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4489 | </button> |
| 4490 | |
| 4491 | <button> |
| 4492 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4493 | <highlight color="%highlight_color%"/> |
| 4494 | <image resource="q_btn_arrow_right"/> |
| 4495 | <action function="page">partsdcard2</action> |
| 4496 | </button> |
| 4497 | |
| 4498 | <action> |
| 4499 | <touch key="home"/> |
| 4500 | <action function="page">main</action> |
| 4501 | </action> |
| 4502 | |
| 4503 | <action> |
| 4504 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4505 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4506 | </action> |
| 4507 | </page> |
| 4508 | |
| 4509 | <page name="partsdcard2"> |
| 4510 | <template name="page"/> |
| 4511 | |
| 4512 | <template name="statusbar"/> |
| 4513 | |
| 4514 | <text style="text_m"> |
| 4515 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4516 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4517 | </text> |
| 4518 | |
| 4519 | <text style="text_m_fail"> |
| 4520 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4521 | <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] | 4522 | </text> |
| 4523 | |
| 4524 | <text style="text_m_fail"> |
| 4525 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4526 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4527 | </text> |
| 4528 | |
| 4529 | <text style="text_m_accent"> |
| 4530 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4531 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4532 | </text> |
| 4533 | |
| 4534 | <text style="text_m"> |
| 4535 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4536 | <text>%tw_swap_size%</text> |
| 4537 | </text> |
| 4538 | |
| 4539 | <button style="main_button_quarter_width"> |
| 4540 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4541 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4542 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4543 | </button> |
| 4544 | |
| 4545 | <button style="main_button_quarter_width"> |
| 4546 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4547 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4548 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4549 | </button> |
| 4550 | |
| 4551 | <button> |
| 4552 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4553 | <highlight color="%highlight_color%"/> |
| 4554 | <image resource="q_btn_arrow_left"/> |
| 4555 | <action function="page">partsdcard</action> |
| 4556 | </button> |
| 4557 | |
| 4558 | <button> |
| 4559 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4560 | <highlight color="%highlight_color%"/> |
| 4561 | <image resource="q_btn_arrow_right"/> |
| 4562 | <action function="page">partsdcard3</action> |
| 4563 | </button> |
| 4564 | |
| 4565 | <action> |
| 4566 | <touch key="home"/> |
| 4567 | <action function="page">main</action> |
| 4568 | </action> |
| 4569 | |
| 4570 | <action> |
| 4571 | <touch key="back"/> |
| 4572 | <action function="page">advanced</action> |
| 4573 | </action> |
| 4574 | </page> |
| 4575 | |
| 4576 | <page name="partsdcard3"> |
| 4577 | <template name="page"/> |
| 4578 | |
| 4579 | <template name="statusbar"/> |
| 4580 | |
| 4581 | <text style="text_m"> |
| 4582 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4583 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4584 | </text> |
| 4585 | |
| 4586 | <text style="text_m_fail"> |
| 4587 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4588 | <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] | 4589 | </text> |
| 4590 | |
| 4591 | <text style="text_m_fail"> |
| 4592 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4593 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4594 | </text> |
| 4595 | |
| 4596 | <text style="text_m_accent"> |
| 4597 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4598 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4599 | </text> |
| 4600 | |
| 4601 | <text style="text_m"> |
| 4602 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4603 | <text>%tw_sdpart_file_system%</text> |
| 4604 | </text> |
| 4605 | |
| 4606 | <button style="main_button_quarter_width"> |
| 4607 | <placement x="%indent%" y="%row6_y%"/> |
| 4608 | <text>EXT3</text> |
| 4609 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4610 | </button> |
| 4611 | |
| 4612 | <button style="main_button_quarter_width"> |
| 4613 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
| 4614 | <text>EXT4</text> |
| 4615 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4616 | </button> |
| 4617 | |
| 4618 | <button> |
| 4619 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4620 | <highlight color="%highlight_color%"/> |
| 4621 | <image resource="q_btn_arrow_left"/> |
| 4622 | <action function="page">partsdcard2</action> |
| 4623 | </button> |
| 4624 | |
| 4625 | <button> |
| 4626 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4627 | <highlight color="%highlight_color%"/> |
| 4628 | <image resource="q_btn_arrow_right"/> |
| 4629 | <action function="page">partsdcard_confirm</action> |
| 4630 | </button> |
| 4631 | |
| 4632 | <action> |
| 4633 | <touch key="home"/> |
| 4634 | <action function="page">main</action> |
| 4635 | </action> |
| 4636 | |
| 4637 | <action> |
| 4638 | <touch key="back"/> |
| 4639 | <action function="page">advanced</action> |
| 4640 | </action> |
| 4641 | </page> |
| 4642 | |
| 4643 | <page name="partsdcard_confirm"> |
| 4644 | <template name="page"/> |
| 4645 | |
| 4646 | <template name="statusbar"/> |
| 4647 | |
| 4648 | <text style="text_m"> |
| 4649 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4650 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4651 | </text> |
| 4652 | |
| 4653 | <text style="text_m_fail"> |
| 4654 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4655 | <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] | 4656 | </text> |
| 4657 | |
| 4658 | <text style="text_m_fail"> |
| 4659 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4660 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4661 | </text> |
| 4662 | |
| 4663 | <text style="text_m_accent"> |
| 4664 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4665 | <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4666 | </text> |
| 4667 | |
| 4668 | <text style="text_m_accent"> |
| 4669 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4670 | <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4671 | </text> |
| 4672 | |
| 4673 | <text style="text_m_accent"> |
| 4674 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4675 | <text>{@file_system=File System:} %tw_sdpart_file_system%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4676 | </text> |
| 4677 | |
| 4678 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4679 | <text>{@swipe_part_sd_s=Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4680 | <action function="page">partsdcardaction</action> |
| 4681 | <actions> |
| 4682 | <action function="set">tw_back=partsdcard</action> |
| 4683 | <action function="set">tw_action=partitionsd</action> |
| 4684 | <action function="set">tw_has_action2=1</action> |
| 4685 | <action function="set">tw_action2=set</action> |
| 4686 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4687 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4688 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4689 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4690 | <action function="page">action_page</action> |
| 4691 | </actions> |
| 4692 | </slider> |
| 4693 | |
| 4694 | <action> |
| 4695 | <touch key="home"/> |
| 4696 | <action function="page">main</action> |
| 4697 | </action> |
| 4698 | |
| 4699 | <action> |
| 4700 | <touch key="back"/> |
| 4701 | <action function="page">advanced</action> |
| 4702 | </action> |
| 4703 | </page> |
| 4704 | |
| 4705 | <page name="htcdumlock"> |
| 4706 | <template name="page"/> |
| 4707 | |
| 4708 | <template name="statusbar"/> |
| 4709 | |
| 4710 | <text style="text_m"> |
| 4711 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4712 | <text>{@advanced_hdr=Advanced} > {@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4713 | </text> |
| 4714 | |
| 4715 | <button style="main_button_full_width"> |
| 4716 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4717 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4718 | <actions> |
| 4719 | <action function="set">tw_back=htcdumlock</action> |
| 4720 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4721 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 4722 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 4723 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 4724 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4725 | <action function="page">confirm_action</action> |
| 4726 | </actions> |
| 4727 | </button> |
| 4728 | |
| 4729 | <button style="main_button_full_width"> |
| 4730 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4731 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4732 | <actions> |
| 4733 | <action function="set">tw_back=htcdumlock</action> |
| 4734 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4735 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 4736 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 4737 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 4738 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4739 | <action function="page">confirm_action</action> |
| 4740 | </actions> |
| 4741 | </button> |
| 4742 | |
| 4743 | <button style="main_button_full_width"> |
| 4744 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4745 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4746 | <actions> |
| 4747 | <action function="set">tw_back=htcdumlock</action> |
| 4748 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4749 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 4750 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 4751 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4752 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4753 | <action function="page">confirm_action</action> |
| 4754 | </actions> |
| 4755 | </button> |
| 4756 | |
| 4757 | <action> |
| 4758 | <touch key="home"/> |
| 4759 | <action function="page">main</action> |
| 4760 | </action> |
| 4761 | |
| 4762 | <action> |
| 4763 | <touch key="back"/> |
| 4764 | <action function="page">advanced</action> |
| 4765 | </action> |
| 4766 | </page> |
| 4767 | |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4768 | <page name="repackselect"> |
| 4769 | <template name="page"/> |
| 4770 | |
| 4771 | <template name="statusbar"/> |
| 4772 | |
| 4773 | <text style="text_m"> |
| 4774 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4775 | <text>{@repack_image_hdr=Select Image}</text> |
| 4776 | </text> |
| 4777 | |
| 4778 | <fileselector> |
| 4779 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 4780 | <text>%tw_zip_location%</text> |
| 4781 | <filter extn=".img" folders="1" files="1"/> |
| 4782 | <path name="tw_zip_location" default="/sdcard"/> |
| 4783 | <data name="tw_filename"/> |
| 4784 | <selection name="tw_file"/> |
| 4785 | </fileselector> |
| 4786 | |
| 4787 | <button> |
| 4788 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4789 | <highlight color="%highlight_color%"/> |
| 4790 | <image resource="q_btn_storage"/> |
| 4791 | <actions> |
| 4792 | <action function="set">tw_storagetext={@install_hdr=Install} > {@select_storage_hdr=Select Storage}</action> |
| 4793 | <action function="set">tw_back=install</action> |
| 4794 | <action function="page">select_storage</action> |
| 4795 | </actions> |
| 4796 | </button> |
| 4797 | |
| 4798 | <action> |
| 4799 | <conditions> |
| 4800 | <condition var1="tw_filename" op="modified"/> |
| 4801 | </conditions> |
| 4802 | <action function="page">repackconfirm</action> |
| 4803 | </action> |
| 4804 | |
| 4805 | <action> |
| 4806 | <touch key="back"/> |
| 4807 | <action function="page">advanced</action> |
| 4808 | </action> |
| 4809 | |
| 4810 | <action> |
| 4811 | <touch key="home"/> |
| 4812 | <action function="page">main</action> |
| 4813 | </action> |
| 4814 | </page> |
| 4815 | |
| 4816 | <page name="repackconfirm"> |
| 4817 | <template name="page"/> |
| 4818 | |
| 4819 | <template name="statusbar"/> |
| 4820 | |
| 4821 | <text style="text_m"> |
| 4822 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4823 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4824 | <text>{@repack_kernel_confirm=Install Kernel?}</text> |
| 4825 | </text> |
| 4826 | |
| 4827 | <text style="text_m"> |
| 4828 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4829 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4830 | <text>{@repack_ramdisk_confirm=Install Recovery?}</text> |
| 4831 | </text> |
| 4832 | |
| 4833 | <text style="text_m_accent"> |
| 4834 | <placement x="%indent%" y="%row2_y%"/> |
| 4835 | <text>{@folder=Folder:}</text> |
| 4836 | </text> |
| 4837 | |
| 4838 | <text style="text_m"> |
| 4839 | <placement x="%indent%" y="%row3_y%"/> |
| 4840 | <text>%tw_zip_location%</text> |
| 4841 | </text> |
| 4842 | |
| 4843 | <text style="text_m_accent"> |
| 4844 | <placement x="%indent%" y="%row4_y%"/> |
| 4845 | <text>{@file=File:}</text> |
| 4846 | </text> |
| 4847 | |
| 4848 | <text style="text_m"> |
| 4849 | <placement x="%indent%" y="%row5_y%"/> |
| 4850 | <text>%tw_file%</text> |
| 4851 | </text> |
| 4852 | |
| 4853 | <checkbox> |
| 4854 | <placement x="%indent%" y="%row7_y%"/> |
| 4855 | <text>{@repack_backup_first=Back up existing image first}</text> |
| 4856 | <data variable="tw_repack_backup_first"/> |
| 4857 | </checkbox> |
| 4858 | |
| 4859 | <slider> |
| 4860 | <text>{@swipe_to_install=Swipe to Install}</text> |
| 4861 | <actions> |
| 4862 | <action function="set">tw_back=advanced</action> |
| 4863 | <action function="set">tw_action=repackimage</action> |
| 4864 | <action function="set">tw_action_param=/boot</action> |
| 4865 | <action function="set">tw_action_text1={@installing=Installing...}</action> |
| 4866 | <action function="set">tw_action_text2=</action> |
| 4867 | <action function="set">tw_complete_text1={@install_complete=Install Complete}</action> |
| 4868 | <action function="page">action_page</action> |
| 4869 | </actions> |
| 4870 | </slider> |
| 4871 | |
| 4872 | <action> |
| 4873 | <touch key="back"/> |
| 4874 | <action function="page">repackselect</action> |
| 4875 | </action> |
| 4876 | |
| 4877 | <action> |
| 4878 | <touch key="home"/> |
| 4879 | <action function="page">main</action> |
| 4880 | </action> |
| 4881 | </page> |
| 4882 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4883 | <page name="lock"> |
| 4884 | <background color="%semi_transparent%"/> |
| 4885 | |
| 4886 | <image> |
| 4887 | <image resource="unlock_icon"/> |
| 4888 | <placement x="%center_x%" y="%row6_y%" placement="4"/> |
| 4889 | </image> |
| 4890 | |
| 4891 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4892 | <text>{@swipe_unlock= Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4893 | <action function="overlay"/> |
| 4894 | </slider> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 4895 | |
| 4896 | <action> |
| 4897 | <touch key="power"/> |
| 4898 | <action function="togglebacklight"/> |
| 4899 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4900 | </page> |
| 4901 | |
| 4902 | <page name="filemanagerlist"> |
| 4903 | <template name="page"/> |
| 4904 | |
| 4905 | <template name="statusbar"/> |
| 4906 | |
| 4907 | <text style="text_m"> |
| 4908 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4909 | <text>{@fm_hdr=File Manager} > {@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4910 | </text> |
| 4911 | |
| 4912 | <fileselector> |
| 4913 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4914 | <text>%tw_file_location1%</text> |
| 4915 | <filter folders="1" files="1"/> |
| 4916 | <path name="tw_file_location1" default="/"/> |
| 4917 | <data name="tw_filename1"/> |
| 4918 | <selection name="tw_selection1"/> |
| 4919 | </fileselector> |
| 4920 | |
| 4921 | <button> |
| 4922 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4923 | <highlight color="%highlight_color%"/> |
| 4924 | <image resource="q_btn_folder"/> |
| 4925 | <actions> |
| 4926 | <action function="set">tw_filename1=tw_file_location1</action> |
| 4927 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4928 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4929 | <action function="page">filemanageroptions</action> |
| 4930 | </actions> |
| 4931 | </button> |
| 4932 | |
| 4933 | <action> |
| 4934 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4935 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4936 | <action function="set">tw_fm_isfolder=0</action> |
| 4937 | </actions> |
| 4938 | </action> |
| 4939 | |
| 4940 | <action> |
| 4941 | <touch key="home"/> |
| 4942 | <action function="page">main</action> |
| 4943 | </action> |
| 4944 | |
| 4945 | <action> |
| 4946 | <touch key="back"/> |
| 4947 | <action function="page">main3</action> |
| 4948 | </action> |
| 4949 | |
| 4950 | <action> |
| 4951 | <condition var1="tw_filename1" op="modified"/> |
| 4952 | <action function="page">filemanageroptions</action> |
| 4953 | </action> |
| 4954 | </page> |
| 4955 | |
| 4956 | <page name="filemanageroptions"> |
| 4957 | <template name="page"/> |
| 4958 | |
| 4959 | <template name="statusbar"/> |
| 4960 | |
| 4961 | <text style="text_m"> |
| 4962 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4963 | <text>%tw_fm_type% > %tw_filename1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4964 | </text> |
| 4965 | |
| 4966 | <button style="main_button"> |
| 4967 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 4968 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4969 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4970 | <actions> |
| 4971 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4972 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4973 | <action function="page">choosedestinationfolder</action> |
| 4974 | </actions> |
| 4975 | </button> |
| 4976 | |
| 4977 | <button style="main_button"> |
| 4978 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 4979 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4980 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4981 | <actions> |
| 4982 | <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] | 4983 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4984 | <action function="page">choosedestinationfolder</action> |
| 4985 | </actions> |
| 4986 | </button> |
| 4987 | |
| 4988 | <button style="main_button"> |
| 4989 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4990 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4991 | <actions> |
| 4992 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4993 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4994 | <action function="page">choosedestinationfolder</action> |
| 4995 | </actions> |
| 4996 | </button> |
| 4997 | |
| 4998 | <button style="main_button"> |
| 4999 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5000 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5001 | <actions> |
| 5002 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5003 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5004 | <action function="set">tw_fm_text2=</action> |
| 5005 | <action function="set">tw_fm_text3=</action> |
| 5006 | <action function="set">tw_include_text3=0</action> |
| 5007 | <action function="set">tw_back=filemanageroptions</action> |
| 5008 | <action function="page">filemanagerconfirm</action> |
| 5009 | </actions> |
| 5010 | </button> |
| 5011 | |
| 5012 | <button style="main_button"> |
| 5013 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5014 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5015 | <actions> |
| 5016 | <action function="set">tw_filemanager_rename=0000</action> |
| 5017 | <action function="set">tw_fm_text2=</action> |
| 5018 | <action function="set">tw_fm_text3=</action> |
| 5019 | <action function="set">tw_include_text3=0</action> |
| 5020 | <action function="set">tw_back=filemanageroptions</action> |
| 5021 | <action function="page">filemanagerchmod</action> |
| 5022 | </actions> |
| 5023 | </button> |
| 5024 | |
| 5025 | <button style="main_button"> |
| 5026 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5027 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5028 | <actions> |
| 5029 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5030 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5031 | <action function="set">tw_fm_text2=</action> |
| 5032 | <action function="set">tw_fm_text3=</action> |
| 5033 | <action function="set">tw_include_text3=0</action> |
| 5034 | <action function="set">tw_back=filemanageroptions</action> |
| 5035 | <action function="page">filemanagerconfirm</action> |
| 5036 | </actions> |
| 5037 | </button> |
| 5038 | |
| 5039 | <button style="main_button"> |
| 5040 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 5041 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5042 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5043 | <actions> |
| 5044 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5045 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5046 | <action function="set">tw_filemanager_command=mv</action> |
| 5047 | <action function="page">filemanagerrenamefile</action> |
| 5048 | </actions> |
| 5049 | </button> |
| 5050 | |
| 5051 | <button style="main_button"> |
| 5052 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 5053 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5054 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5055 | <actions> |
| 5056 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5057 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5058 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 5059 | <action function="page">filemanagerrenamefolder</action> |
| 5060 | </actions> |
| 5061 | </button> |
| 5062 | |
| 5063 | <action> |
| 5064 | <touch key="home"/> |
| 5065 | <action function="page">main</action> |
| 5066 | </action> |
| 5067 | |
| 5068 | <action> |
| 5069 | <touch key="back"/> |
| 5070 | <action function="page">filemanagerlist</action> |
| 5071 | </action> |
| 5072 | </page> |
| 5073 | |
| 5074 | <page name="choosedestinationfolder"> |
| 5075 | <template name="page"/> |
| 5076 | |
| 5077 | <template name="statusbar"/> |
| 5078 | |
| 5079 | <text style="text_m"> |
| 5080 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5081 | <text>{@fm_hdr=File Manager} > {@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5082 | </text> |
| 5083 | |
| 5084 | <fileselector> |
| 5085 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 5086 | <text>%tw_file_location2%</text> |
| 5087 | <filter folders="1" files="0"/> |
| 5088 | <path name="tw_file_location2" default="/"/> |
| 5089 | <data name="tw_filename2"/> |
| 5090 | <selection name="tw_selection2"/> |
| 5091 | </fileselector> |
| 5092 | |
| 5093 | <button> |
| 5094 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 5095 | <highlight color="%highlight_color%"/> |
| 5096 | <image resource="q_btn_folder"/> |
| 5097 | <actions> |
| 5098 | <action function="set">tw_fm_text2=to</action> |
| 5099 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 5100 | <action function="set">tw_include_text3=1</action> |
| 5101 | <action function="set">tw_back=filemanageroptions</action> |
| 5102 | <action function="page">filemanagerconfirm</action> |
| 5103 | </actions> |
| 5104 | </button> |
| 5105 | |
| 5106 | <action> |
| 5107 | <touch key="home"/> |
| 5108 | <action function="page">main</action> |
| 5109 | </action> |
| 5110 | |
| 5111 | <action> |
| 5112 | <touch key="back"/> |
| 5113 | <action function="page">filemanageroptions</action> |
| 5114 | </action> |
| 5115 | </page> |
| 5116 | |
| 5117 | <page name="filemanagerrenamefile"> |
| 5118 | <template name="page"/> |
| 5119 | |
| 5120 | <template name="statusbar"/> |
| 5121 | |
| 5122 | <text style="text_m"> |
| 5123 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5124 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5125 | </text> |
| 5126 | |
| 5127 | <text style="text_m_accent"> |
| 5128 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5129 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5130 | </text> |
| 5131 | |
| 5132 | <input> |
| 5133 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5134 | <text>%tw_filemanager_rename%</text> |
| 5135 | <data name="tw_filemanager_rename"/> |
| 5136 | <restrict minlen="1" maxlen="128"/> |
| 5137 | <actions> |
| 5138 | <action function="set">tw_fm_text2=to</action> |
| 5139 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 5140 | <action function="set">tw_include_text3=1</action> |
| 5141 | <action function="set">tw_back=filemanageroptions</action> |
| 5142 | <action function="page">filemanagerconfirm</action> |
| 5143 | </actions> |
| 5144 | </input> |
| 5145 | |
| 5146 | <fill color="%accent_color%"> |
| 5147 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 5148 | </fill> |
| 5149 | |
| 5150 | <button style="main_button_half_height"> |
| 5151 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5152 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5153 | <action function="page">filemanageroptions</action> |
| 5154 | </button> |
| 5155 | |
| 5156 | <template name="keyboardtemplate"/> |
| 5157 | |
| 5158 | <action> |
| 5159 | <touch key="home"/> |
| 5160 | <action function="page">main</action> |
| 5161 | </action> |
| 5162 | |
| 5163 | <action> |
| 5164 | <touch key="back"/> |
| 5165 | <action function="page">filemanageroptions</action> |
| 5166 | </action> |
| 5167 | </page> |
| 5168 | |
| 5169 | <page name="filemanagerrenamefolder"> |
| 5170 | <template name="page"/> |
| 5171 | |
| 5172 | <template name="statusbar"/> |
| 5173 | |
| 5174 | <text style="text_m"> |
| 5175 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5176 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5177 | </text> |
| 5178 | |
| 5179 | <text style="text_m_accent"> |
| 5180 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5181 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5182 | </text> |
| 5183 | |
| 5184 | <input> |
| 5185 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5186 | <text>%tw_filemanager_rename%</text> |
| 5187 | <data name="tw_filemanager_rename"/> |
| 5188 | <restrict minlen="1" maxlen="128"/> |
| 5189 | <actions> |
| 5190 | <action function="set">tw_fm_text2=to</action> |
| 5191 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 5192 | <action function="set">tw_include_text3=1</action> |
| 5193 | <action function="set">tw_back=filemanageroptions</action> |
| 5194 | <action function="page">filemanagerconfirm</action> |
| 5195 | </actions> |
| 5196 | </input> |
| 5197 | |
| 5198 | <fill color="%accent_color%"> |
| 5199 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5200 | </fill> |
| 5201 | |
| 5202 | <button style="main_button_half_height"> |
| 5203 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5204 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5205 | <action function="page">filemanageroptions</action> |
| 5206 | </button> |
| 5207 | |
| 5208 | <template name="keyboardtemplate"/> |
| 5209 | |
| 5210 | <action> |
| 5211 | <touch key="home"/> |
| 5212 | <action function="page">main</action> |
| 5213 | </action> |
| 5214 | |
| 5215 | <action> |
| 5216 | <touch key="back"/> |
| 5217 | <action function="page">filemanageroptions</action> |
| 5218 | </action> |
| 5219 | </page> |
| 5220 | |
| 5221 | <page name="filemanagerchmod"> |
| 5222 | <template name="page"/> |
| 5223 | |
| 5224 | <template name="statusbar"/> |
| 5225 | |
| 5226 | <text style="text_m"> |
| 5227 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5228 | <text>{@fm_hdr=File Manager} > {@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5229 | </text> |
| 5230 | |
| 5231 | <text style="text_m_accent"> |
| 5232 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5233 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5234 | </text> |
| 5235 | |
| 5236 | <input> |
| 5237 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5238 | <text>%tw_filemanager_rename%</text> |
| 5239 | <data name="tw_filemanager_rename"/> |
| 5240 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 5241 | <actions> |
| 5242 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 5243 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 5244 | <action function="set">tw_back=filemanageroptions</action> |
| 5245 | <action function="page">filemanagerconfirm</action> |
| 5246 | </actions> |
| 5247 | </input> |
| 5248 | |
| 5249 | <fill color="%accent_color%"> |
| 5250 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5251 | </fill> |
| 5252 | |
| 5253 | <button style="main_button_half_height"> |
| 5254 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5255 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5256 | <action function="page">filemanageroptions</action> |
| 5257 | </button> |
| 5258 | |
| 5259 | <template name="keyboardtemplate"/> |
| 5260 | |
| 5261 | <action> |
| 5262 | <touch key="home"/> |
| 5263 | <action function="page">main</action> |
| 5264 | </action> |
| 5265 | |
| 5266 | <action> |
| 5267 | <touch key="back"/> |
| 5268 | <action function="page">filemanageroptions</action> |
| 5269 | </action> |
| 5270 | </page> |
| 5271 | |
| 5272 | <page name="filemanagerconfirm"> |
| 5273 | <template name="page"/> |
| 5274 | |
| 5275 | <template name="statusbar"/> |
| 5276 | |
| 5277 | <text style="text_m"> |
| 5278 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5279 | <text>{@fm_hdr=File Manager} > {@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5280 | </text> |
| 5281 | |
| 5282 | <text style="text_m_accent"> |
| 5283 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5284 | <text>%tw_fm_text1%</text> |
| 5285 | </text> |
| 5286 | |
| 5287 | <text style="text_m"> |
| 5288 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 5289 | <text>%tw_filename1%</text> |
| 5290 | </text> |
| 5291 | |
| 5292 | <text style="text_m_accent"> |
| 5293 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 5294 | <text>%tw_fm_text2%</text> |
| 5295 | </text> |
| 5296 | |
| 5297 | <text style="text_m"> |
| 5298 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 5299 | <text>%tw_fm_text3%</text> |
| 5300 | </text> |
| 5301 | |
| 5302 | <text style="text_m"> |
| 5303 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5304 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5305 | </text> |
| 5306 | |
| 5307 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5308 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5309 | <action function="page">filemanageraction</action> |
| 5310 | </slider> |
| 5311 | |
| 5312 | <action> |
| 5313 | <touch key="back"/> |
| 5314 | <action function="page">%tw_back%</action> |
| 5315 | </action> |
| 5316 | |
| 5317 | <action> |
| 5318 | <touch key="home"/> |
| 5319 | <action function="page">main</action> |
| 5320 | </action> |
| 5321 | </page> |
| 5322 | |
| 5323 | <page name="filemanageraction"> |
| 5324 | <template name="page"/> |
| 5325 | |
| 5326 | <template name="statusbar"/> |
| 5327 | |
| 5328 | <text style="text_m"> |
| 5329 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5330 | <text>{@fm_hdr=File Manager} > %tw_fm_text1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5331 | </text> |
| 5332 | |
| 5333 | <template name="console"/> |
| 5334 | |
| 5335 | <template name="progress_bar"/> |
| 5336 | |
| 5337 | <action> |
| 5338 | <conditions> |
| 5339 | <condition var1="tw_operation_state" var2="1"/> |
| 5340 | <condition var1="tw_operation_status" var2="0"/> |
| 5341 | </conditions> |
| 5342 | <actions> |
| 5343 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5344 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5345 | <action function="page">action_complete</action> |
| 5346 | </actions> |
| 5347 | </action> |
| 5348 | |
| 5349 | <action> |
| 5350 | <conditions> |
| 5351 | <condition var1="tw_operation_state" var2="1"/> |
| 5352 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5353 | </conditions> |
| 5354 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5355 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5356 | <action function="page">action_complete</action> |
| 5357 | </actions> |
| 5358 | </action> |
| 5359 | |
| 5360 | <action> |
| 5361 | <condition var1="tw_include_text3" var2="0"/> |
| 5362 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 5363 | </action> |
| 5364 | |
| 5365 | <action> |
| 5366 | <condition var1="tw_include_text3" var2="1"/> |
| 5367 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 5368 | </action> |
| 5369 | </page> |
| 5370 | |
| 5371 | <page name="decrypt"> |
| 5372 | <template name="page"/> |
| 5373 | |
| 5374 | <template name="statusbar"/> |
| 5375 | |
| 5376 | <action> |
| 5377 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 5378 | <action function="page">decrypt_pattern</action> |
| 5379 | </action> |
| 5380 | |
| 5381 | <text style="text_m"> |
| 5382 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5383 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5384 | </text> |
| 5385 | |
| 5386 | <text style="text_m_accent"> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5387 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5388 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5389 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5390 | </text> |
| 5391 | |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5392 | <text style="text_m_accent"> |
| 5393 | <condition var1="tw_is_fbe" var2="1"/> |
| 5394 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 5395 | <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text> |
| 5396 | </text> |
| 5397 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5398 | <input> |
| 5399 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5400 | <text>%tw_crypto_display%</text> |
| 5401 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 5402 | <restrict minlen="1" maxlen="254"/> |
| 5403 | <action function="page">trydecrypt</action> |
| 5404 | </input> |
| 5405 | |
| 5406 | <fill color="%accent_color%"> |
| 5407 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5408 | </fill> |
| 5409 | |
| 5410 | <fill color="%text_fail_color%"> |
| 5411 | <condition var1="tw_password_fail" var2="1"/> |
| 5412 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5413 | </fill> |
| 5414 | |
| 5415 | <text style="text_m_fail"> |
| 5416 | <condition var1="tw_password_fail" var2="1"/> |
| 5417 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 5418 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5419 | </text> |
| 5420 | |
| 5421 | <button style="main_button_half_height"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5422 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 5423 | <text>{@sel_lang_btn=Select Language}</text> |
| 5424 | <action function="page">settings_language</action> |
| 5425 | </button> |
| 5426 | |
| 5427 | <button style="main_button_half_height"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5428 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5429 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5430 | <actions> |
| 5431 | <action function="set">tw_page_done=1</action> |
| 5432 | <action function="page">main</action> |
| 5433 | </actions> |
| 5434 | </button> |
| 5435 | |
| 5436 | <template name="keyboardtemplate"/> |
| 5437 | </page> |
| 5438 | |
| 5439 | <page name="decrypt_pattern"> |
| 5440 | <template name="page"/> |
| 5441 | |
| 5442 | <template name="statusbar"/> |
| 5443 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5444 | <action> |
| 5445 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5446 | </action> |
| 5447 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5448 | <text style="text_m"> |
| 5449 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5450 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5451 | </text> |
| 5452 | |
| 5453 | <text style="text_m_accent"> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5454 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5455 | <condition var1="tw_password_fail" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5456 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5457 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5458 | </text> |
| 5459 | |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5460 | <text style="text_m_accent"> |
| 5461 | <condition var1="tw_is_fbe" var2="1"/> |
| 5462 | <condition var1="tw_password_fail" op="!=" var2="1"/> |
| 5463 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 5464 | <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text> |
| 5465 | </text> |
| 5466 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5467 | <text style="text_m_fail"> |
| 5468 | <condition var1="tw_password_fail" var2="1"/> |
| 5469 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 5470 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5471 | </text> |
| 5472 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5473 | <text style="text_m"> |
| 5474 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5475 | <text>{@back_cancel=Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5476 | </text> |
| 5477 | |
| 5478 | <patternpassword> |
| 5479 | <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5480 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 5481 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 5482 | <data name="tw_crypto_password"/> |
| 5483 | <action function="page">trydecrypt</action> |
| 5484 | </patternpassword> |
| 5485 | |
| 5486 | <fill color="#000000"> |
| 5487 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5488 | </fill> |
| 5489 | |
| 5490 | <button> |
| 5491 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5492 | <image resource="back"/> |
| 5493 | <condition var1="tw_busy" var2="0"/> |
| 5494 | <actions> |
| 5495 | <action function="set">tw_page_done=1</action> |
| 5496 | <action function="page">main</action> |
| 5497 | </actions> |
| 5498 | </button> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5499 | |
| 5500 | <button> |
| 5501 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 5502 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5503 | <image resource="grid_less"/> |
| 5504 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5505 | </button> |
| 5506 | |
| 5507 | <button> |
| 5508 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 5509 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5510 | <image resource="grid_less"/> |
| 5511 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5512 | </button> |
| 5513 | |
| 5514 | <button> |
| 5515 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 5516 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5517 | <image resource="grid_less"/> |
| 5518 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 5519 | </button> |
| 5520 | |
| 5521 | <button> |
| 5522 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 5523 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5524 | <image resource="grid_less"/> |
| 5525 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 5526 | </button> |
| 5527 | |
| 5528 | <button> |
| 5529 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 5530 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5531 | <image resource="grid_more"/> |
| 5532 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 5533 | </button> |
| 5534 | |
| 5535 | <button> |
| 5536 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 5537 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5538 | <image resource="grid_more"/> |
| 5539 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 5540 | </button> |
| 5541 | |
| 5542 | <button> |
| 5543 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 5544 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5545 | <image resource="grid_more"/> |
| 5546 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 5547 | </button> |
| 5548 | |
| 5549 | <button> |
| 5550 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 5551 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5552 | <image resource="grid_more"/> |
| 5553 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 5554 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5555 | </page> |
| 5556 | |
| 5557 | <page name="trydecrypt"> |
| 5558 | <template name="page"/> |
| 5559 | |
| 5560 | <template name="statusbar"/> |
| 5561 | |
| 5562 | <text style="text_m"> |
| 5563 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5564 | <text>{@mount_hdr=Mount} > {@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5565 | </text> |
| 5566 | |
| 5567 | <template name="console"/> |
| 5568 | |
| 5569 | <template name="progress_bar"/> |
| 5570 | |
| 5571 | <action> |
| 5572 | <action function="decrypt"/> |
| 5573 | </action> |
| 5574 | |
| 5575 | <action> |
| 5576 | <conditions> |
| 5577 | <condition var1="tw_operation_state" var2="1"/> |
| 5578 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5579 | </conditions> |
| 5580 | <actions> |
| 5581 | <action function="set">tw_password_fail=1</action> |
| 5582 | <action function="page">decrypt</action> |
| 5583 | </actions> |
| 5584 | </action> |
| 5585 | |
| 5586 | <action> |
| 5587 | <conditions> |
| 5588 | <condition var1="tw_operation_state" var2="1"/> |
| 5589 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 5590 | </conditions> |
| 5591 | <actions> |
| 5592 | <action function="set">tw_page_done=1</action> |
| 5593 | <action function="page">main</action> |
| 5594 | </actions> |
| 5595 | </action> |
| 5596 | </page> |
| 5597 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5598 | <page name="terminalcommand"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5599 | <terminal> |
| 5600 | <condition var1="tw_hide_kb" var2="0"/> |
| 5601 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/> |
| 5602 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5603 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5604 | <terminal> |
| 5605 | <condition var1="tw_hide_kb" var2="1"/> |
| 5606 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/> |
| 5607 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5608 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5609 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5610 | |
| 5611 | <template name="keyboardtemplate"/> |
| 5612 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5613 | <fill color="#000000"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5614 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5615 | </fill> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5616 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5617 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5618 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5619 | <image resource="back" /> |
| 5620 | <condition var1="tw_busy" var2="0" /> |
| 5621 | <actions> |
| 5622 | <action function="set">tw_hide_kb=0</action> |
| 5623 | <action function="key">back</action> |
| 5624 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5625 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5626 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5627 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5628 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5629 | <image resource="home" /> |
| 5630 | <condition var1="tw_busy" var2="0" /> |
| 5631 | <actions> |
| 5632 | <action function="set">tw_hide_kb=0</action> |
| 5633 | <action function="key">home</action> |
| 5634 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5635 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5636 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5637 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5638 | <condition var1="tw_hide_kb" var2="0"/> |
| 5639 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5640 | <image resource="kb_hide" /> |
| 5641 | <condition var1="tw_busy" var2="0" /> |
| 5642 | <actions> |
| 5643 | <action function="set">tw_hide_kb=1</action> |
| 5644 | <action function="page">terminalcommand</action> |
| 5645 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5646 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5647 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5648 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5649 | <condition var1="tw_hide_kb" var2="1"/> |
| 5650 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5651 | <image resource="kb_show" /> |
| 5652 | <condition var1="tw_busy" var2="0" /> |
| 5653 | <actions> |
| 5654 | <action function="set">tw_hide_kb=0</action> |
| 5655 | <action function="page">terminalcommand</action> |
| 5656 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5657 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5658 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5659 | <action> |
| 5660 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5661 | <actions> |
| 5662 | <action function="set">tw_hide_kb=0</action> |
| 5663 | <action function="page">main</action> |
| 5664 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5665 | </action> |
| 5666 | |
| 5667 | <action> |
| 5668 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5669 | <actions> |
| 5670 | <action function="set">tw_hide_kb=0</action> |
| 5671 | <action function="page">advanced</action> |
| 5672 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5673 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5674 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5675 | <action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5676 | <touch key="power+voldown" /> |
| 5677 | <action function="screenshot" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5678 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5679 | </page> |
| 5680 | |
| 5681 | <page name="sideload"> |
| 5682 | <template name="page"/> |
| 5683 | |
| 5684 | <template name="statusbar"/> |
| 5685 | |
| 5686 | <text style="text_m"> |
| 5687 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5688 | <text>{@install_hdr=Install} > {@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5689 | </text> |
| 5690 | |
| 5691 | <text style="text_m_accent"> |
| 5692 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5693 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5694 | </text> |
| 5695 | |
| 5696 | <checkbox> |
| 5697 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5698 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5699 | <data variable="tw_wipe_dalvik"/> |
| 5700 | </checkbox> |
| 5701 | |
| 5702 | <checkbox> |
| 5703 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5704 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5705 | <data variable="tw_wipe_cache"/> |
| 5706 | </checkbox> |
| 5707 | |
| 5708 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5709 | <text>{@swipe_sideload= Start}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5710 | <actions> |
| 5711 | <action function="set">tw_back=install_type</action> |
| 5712 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5713 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5714 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5715 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5716 | <action function="set">tw_has_cancel=1</action> |
| 5717 | <action function="set">tw_show_reboot=1</action> |
| 5718 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5719 | <action function="page">action_page</action> |
| 5720 | </actions> |
| 5721 | </slider> |
| 5722 | |
| 5723 | <action> |
| 5724 | <touch key="home"/> |
| 5725 | <action function="page">main</action> |
| 5726 | </action> |
| 5727 | |
| 5728 | <action> |
| 5729 | <touch key="back"/> |
| 5730 | <action function="page">install_type</action> |
| 5731 | </action> |
| 5732 | </page> |
| 5733 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5734 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5735 | <template name="page"/> |
| 5736 | |
| 5737 | <template name="statusbar"/> |
| 5738 | |
| 5739 | <text style="text_m"> |
| 5740 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5741 | <text>{@advanced_hdr=Advanced} > {@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5742 | </text> |
| 5743 | |
| 5744 | <text style="text_m_accent"> |
| 5745 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5746 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5747 | </text> |
| 5748 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5749 | <text style="text_m_fail"> |
| 5750 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5751 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5752 | </text> |
| 5753 | |
| 5754 | <text style="text_m_fail"> |
| 5755 | <placement x="%center_x%" y="%row7a_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5756 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5757 | </text> |
| 5758 | |
| 5759 | <slider> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5760 | <text>{@swipe_fix_contexts= Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5761 | <actions> |
| 5762 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5763 | <action function="set">tw_action=fixcontexts</action> |
| 5764 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5765 | <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] | 5766 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5767 | <action function="set">tw_show_reboot=1</action> |
| 5768 | <action function="page">action_page</action> |
| 5769 | </actions> |
| 5770 | </slider> |
| 5771 | |
| 5772 | <action> |
| 5773 | <touch key="home"/> |
| 5774 | <action function="page">main</action> |
| 5775 | </action> |
| 5776 | |
| 5777 | <action> |
| 5778 | <touch key="back"/> |
| 5779 | <action function="page">advanced</action> |
| 5780 | </action> |
| 5781 | </page> |
| 5782 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5783 | <page name="slideout"> |
| 5784 | <fill color="%background_color%"> |
| 5785 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 5786 | </fill> |
| 5787 | |
| 5788 | <console> |
| 5789 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/> |
| 5790 | </console> |
| 5791 | |
| 5792 | <fill color="%fileselector_linecolor%"> |
| 5793 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5794 | </fill> |
| 5795 | |
| 5796 | <fill color="%fileselector_linecolor%"> |
| 5797 | <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/> |
| 5798 | </fill> |
| 5799 | |
| 5800 | <button> |
| 5801 | <fill color="%transparent%"/> |
| 5802 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5803 | <action function="overlay"/> |
| 5804 | </button> |
| 5805 | |
| 5806 | <action> |
Matt Mower | 0c347d5 | 2016-01-21 23:14:39 -0600 | [diff] [blame] | 5807 | <touch key="power"/> |
| 5808 | <action function="togglebacklight"/> |
| 5809 | </action> |
| 5810 | |
| 5811 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5812 | <touch key="power+voldown"/> |
| 5813 | <action function="screenshot"/> |
| 5814 | </action> |
| 5815 | </page> |
| 5816 | |
| 5817 | <page name="select_storage"> |
| 5818 | <template name="page"/> |
| 5819 | |
| 5820 | <template name="statusbar"/> |
| 5821 | |
| 5822 | <text style="text_m"> |
| 5823 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 5824 | <text>%tw_storagetext%</text> |
| 5825 | </text> |
| 5826 | |
| 5827 | <partitionlist style="partitionlist_headerless_rb"> |
| 5828 | <data name="tw_storage_path"/> |
| 5829 | <listtype name="storage"/> |
| 5830 | </partitionlist> |
| 5831 | |
| 5832 | <button> |
| 5833 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 5834 | <highlight color="%highlight_color%"/> |
| 5835 | <image resource="q_btn_refresh"/> |
| 5836 | <actions> |
| 5837 | <action function="refreshsizes"/> |
| 5838 | <action function="page">select_storage</action> |
| 5839 | </actions> |
| 5840 | </button> |
| 5841 | |
| 5842 | <button> |
| 5843 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 5844 | <highlight color="%highlight_color%"/> |
| 5845 | <image resource="q_btn_accept"/> |
| 5846 | <actions> |
| 5847 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 5848 | <action function="page">clear_vars</action> |
| 5849 | </actions> |
| 5850 | </button> |
| 5851 | |
| 5852 | <action> |
| 5853 | <touch key="power+voldown"/> |
| 5854 | <action function="screenshot"/> |
| 5855 | </action> |
| 5856 | </page> |
Noah Jacobson | 5a79f67 | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5857 | |
| 5858 | <page name="decrypt_users"> |
| 5859 | <template name="page"/> |
| 5860 | |
| 5861 | <text style="text_l"> |
| 5862 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 5863 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5864 | </text> |
| 5865 | |
| 5866 | <text style="text_m_accent"> |
| 5867 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5868 | <text>{@decrypt_users_selection=Select a user ID to decrypt}</text> |
| 5869 | </text> |
| 5870 | |
| 5871 | <listbox> |
| 5872 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 5873 | <text>{@select_user=Select User}</text> |
| 5874 | <icon selected="radio_true" unselected="radio_false" /> |
| 5875 | <data name="tw_crypto_user_id" /> |
| 5876 | </listbox> |
| 5877 | |
| 5878 | <button style="main_button_half_height"> |
| 5879 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 5880 | <text>{@decrypt_users=Decrypt Users}</text> |
| 5881 | <action function="set">tw_crypto_password=</action> |
| 5882 | <action function="set">tw_password_fail=0</action> |
| 5883 | <action function="page">decrypt</action> |
| 5884 | </button> |
| 5885 | |
| 5886 | <action> |
| 5887 | <touch key="home"/> |
| 5888 | <action function="page">main</action> |
| 5889 | </action> |
| 5890 | |
| 5891 | <action> |
| 5892 | <touch key="back"/> |
| 5893 | <action function="page">advanced</action> |
| 5894 | </action> |
| 5895 | </page> |
epicX | 98053c3 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 5896 | |
| 5897 | <page name="changeTwrpFolder"> |
| 5898 | <template name="page"/> |
| 5899 | |
| 5900 | <template name="statusbar"/> |
| 5901 | |
| 5902 | <text style="text_m"> |
| 5903 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 5904 | <text>{@change_twrp_folder_btn=Change TWRP folder}</text> |
| 5905 | </text> |
| 5906 | |
| 5907 | <text style="text_m_accent"> |
| 5908 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 5909 | <text>{@name=Name:}</text> |
| 5910 | </text> |
| 5911 | |
| 5912 | <input> |
| 5913 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5914 | <text>%tw_custom_folder%</text> |
| 5915 | <data name="tw_custom_folder"/> |
| 5916 | <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/> |
| 5917 | <actions> |
| 5918 | <action function="set">tw_back=changeTwrpFolder</action> |
| 5919 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 5920 | <action function="set">tw_action_param=%tw_custom_folder%</action> |
| 5921 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 5922 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 5923 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 5924 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action> |
| 5925 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 5926 | <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action> |
| 5927 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 5928 | <action function="set">tw_notexistpage=confirm_action</action> |
| 5929 | <action function="page">filecheck</action> |
| 5930 | </actions> |
| 5931 | </input> |
| 5932 | |
| 5933 | <fill color="%accent_color%"> |
| 5934 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 5935 | </fill> |
| 5936 | |
| 5937 | <fill color="%text_fail_color%"> |
| 5938 | <condition var1="tw_fileexists" var2="1"/> |
| 5939 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 5940 | </fill> |
| 5941 | |
| 5942 | <text style="text_m_fail"> |
| 5943 | <condition var1="tw_fileexists" var2="1"/> |
| 5944 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
| 5945 | <text>{@tw_folder_exists=A folder with that name already exists!}</text> |
| 5946 | </text> |
| 5947 | |
| 5948 | <button style="main_button_half_width_low"> |
| 5949 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 5950 | <text>{@cancel_btn=Cancel}</text> |
| 5951 | <action function="page">advanced2</action> |
| 5952 | </button> |
| 5953 | |
| 5954 | <button style="main_button_half_height"> |
| 5955 | <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/> |
| 5956 | <placement x="%col1_x_right%" y="%row4_y%"/> |
| 5957 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
| 5958 | <actions> |
| 5959 | <action function="set">tw_back=changeTwrpFolder</action> |
| 5960 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 5961 | <action function="set">tw_action_param=TWRP</action> |
| 5962 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 5963 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 5964 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 5965 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action> |
| 5966 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 5967 | <action function="set">tw_filecheck=/sdcard/TWRP</action> |
| 5968 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 5969 | <action function="set">tw_notexistpage=confirm_action</action> |
| 5970 | <action function="page">filecheck</action> |
| 5971 | </actions> |
| 5972 | </button> |
| 5973 | |
| 5974 | <template name="keyboardtemplate"/> |
| 5975 | |
| 5976 | <action> |
| 5977 | <touch key="home"/> |
| 5978 | <actions> |
| 5979 | <action function="page">main</action> |
| 5980 | </actions> |
| 5981 | </action> |
| 5982 | |
| 5983 | <action> |
| 5984 | <touch key="back"/> |
| 5985 | <actions> |
| 5986 | <action function="page">advanced2</action> |
| 5987 | </actions> |
| 5988 | </action> |
| 5989 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5990 | </pages> |
| 5991 | </recovery> |