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