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