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