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