z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <recovery> |
| 3 | <styles> |
| 4 | <style name="text_l"> |
| 5 | <font resource="font_l" color="%text_color%"/> |
| 6 | </style> |
| 7 | |
| 8 | <style name="text_m"> |
| 9 | <font resource="font_m" color="%text_color%"/> |
| 10 | </style> |
| 11 | |
| 12 | <style name="text_m_accent"> |
| 13 | <font resource="font_m" color="%accent_color%"/> |
| 14 | </style> |
| 15 | |
| 16 | <style name="text_m_fail"> |
| 17 | <font resource="font_m" color="%text_fail_color%"/> |
| 18 | </style> |
| 19 | |
| 20 | <style name="text_s"> |
| 21 | <font resource="font_s" color="%text_color%"/> |
| 22 | </style> |
| 23 | |
| 24 | <style name="input"> |
| 25 | <background color="%background_color%"/> |
| 26 | <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/> |
| 27 | <font resource="font_m" color="%text_color%"/> |
| 28 | </style> |
| 29 | |
| 30 | <style name="checkbox"> |
| 31 | <font resource="font_m" color="%text_color%"/> |
| 32 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 33 | </style> |
| 34 | |
| 35 | <style name="main_button"> |
| 36 | <highlight color="%highlight_color%"/> |
| 37 | <font resource="font_l" color="%text_button_color%"/> |
| 38 | <image resource="main_button"/> |
| 39 | </style> |
| 40 | |
| 41 | <style name="main_button_full_width"> |
| 42 | <highlight color="%highlight_color%"/> |
| 43 | <font resource="font_l" color="%text_button_color%"/> |
| 44 | <image resource="main_button_full_width"/> |
| 45 | </style> |
| 46 | |
| 47 | <style name="main_button_quarter_width"> |
| 48 | <highlight color="%highlight_color%"/> |
| 49 | <font resource="font_l" color="%text_button_color%"/> |
| 50 | <image resource="main_button_quarter_width"/> |
| 51 | </style> |
| 52 | |
| 53 | <style name="main_button_half_height"> |
| 54 | <highlight color="%highlight_color%"/> |
| 55 | <font resource="font_m" color="%text_button_color%"/> |
| 56 | <image resource="main_button_half_height"/> |
| 57 | </style> |
| 58 | |
| 59 | <style name="main_button_half_height_full_width"> |
| 60 | <highlight color="%highlight_color%"/> |
| 61 | <font resource="font_m" color="%text_button_color%"/> |
| 62 | <image resource="main_button_half_height_full_width"/> |
| 63 | </style> |
| 64 | |
| 65 | <style name="button_third_width"> |
| 66 | <highlight color="%highlight_color%"/> |
| 67 | <font resource="font_m" color="%text_button_color%"/> |
| 68 | <image resource="tab_3"/> |
| 69 | </style> |
| 70 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 71 | <style name="button_navbar"> |
| 72 | <font resource="font_m" color="%text_button_color%"/> |
| 73 | </style> |
| 74 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 75 | <style name="console"> |
| 76 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 77 | <font resource="fixed"/> |
| 78 | </style> |
| 79 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 80 | <style name="terminal"> |
| 81 | <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 82 | <background color="%background_color%"/> |
| 83 | <font resource="fixed" spacing="2" color="%text_color%"/> |
| 84 | </style> |
| 85 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 86 | <style name="fileselector"> |
| 87 | <highlight color="%fileselector_highlight_color%"/> |
| 88 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 89 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 90 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 91 | <sort name="tw_gui_sort_order"/> |
| 92 | <icon folder="folder" file="file"/> |
| 93 | <background color="%background_color%"/> |
| 94 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 95 | </style> |
| 96 | |
| 97 | <style name="listbox"> |
| 98 | <highlight color="%fileselector_highlight_color%"/> |
| 99 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 100 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 101 | <icon selected="radio_true" unselected="radio_false"/> |
| 102 | <background color="%background_color%"/> |
| 103 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 104 | </style> |
| 105 | |
| 106 | <style name="listbox_headerless"> |
| 107 | <highlight color="%fileselector_highlight_color%"/> |
| 108 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 109 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 110 | <icon selected="radio_true" unselected="radio_false"/> |
| 111 | <background color="%background_color%"/> |
| 112 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 113 | </style> |
| 114 | |
| 115 | <style name="listbox_options"> |
| 116 | <background color="%background_color%"/> |
| 117 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 118 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 119 | </style> |
| 120 | |
| 121 | <style name="scrolllist"> |
| 122 | <highlight color="%fileselector_highlight_color%"/> |
| 123 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 124 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 125 | <background color="%background_color%"/> |
| 126 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
nkk71 | 1a230e4 | 2017-08-07 00:28:19 +0300 | [diff] [blame] | 127 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 128 | </style> |
| 129 | |
| 130 | <style name="partitionlist"> |
| 131 | <highlight color="%fileselector_highlight_color%"/> |
| 132 | <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/> |
| 133 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 134 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 135 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 136 | <background color="%background_color%"/> |
| 137 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 138 | </style> |
| 139 | |
| 140 | <style name="partitionlist_summary"> |
| 141 | <highlight color="%fileselector_highlight_color%"/> |
| 142 | <background color="%background_color%"/> |
| 143 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 144 | <icon selected="checkbox_true_small" unselected="checkbox_false_small"/> |
| 145 | </style> |
| 146 | |
| 147 | <style name="partitionlist_headerless_rb"> |
| 148 | <highlight color="%fileselector_highlight_color%"/> |
| 149 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 150 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 151 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 152 | <icon selected="radio_true" unselected="radio_false"/> |
| 153 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 154 | <background color="%background_color%"/> |
| 155 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 156 | </style> |
| 157 | |
| 158 | <style name="partitionlist_headerless_cb"> |
| 159 | <highlight color="%fileselector_highlight_color%"/> |
| 160 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/> |
| 161 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 162 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 163 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 164 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 165 | <background color="%background_color%"/> |
| 166 | <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> |
| 167 | </style> |
| 168 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 169 | <style name="advanced_listbox"> |
| 170 | <highlight color="%fileselector_highlight_color%"/> |
| 171 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 172 | <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> |
| 173 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 174 | <icon selected="handle" unselected="handle"/> |
| 175 | <background color="%background_color%"/> |
| 176 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 177 | </style> |
| 178 | |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 179 | <style name="options_listbox"> |
| 180 | <highlight color="%fileselector_highlight_color%"/> |
| 181 | <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 182 | <separator color="%background_color%" height="%fileselector_separatorheight%"/> |
| 183 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 184 | <background color="%background_color%"/> |
| 185 | <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> |
| 186 | </style> |
| 187 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 188 | <style name="slider"> |
| 189 | <placement x="%center_x%" y="%slider_y%"/> |
| 190 | <font resource="font_l" color="%text_color%"/> |
| 191 | <resource base="slider" used="slider_used" touch="slider_touch"/> |
| 192 | </style> |
| 193 | |
| 194 | <style name="slidervalue"> |
| 195 | <resource handle="handle"/> |
| 196 | <font resource="font_m" color="%text_color%"/> |
| 197 | <colors line="%fileselector_linecolor%"/> |
| 198 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> |
| 199 | </style> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 200 | |
| 201 | <style name="patternpassword"> |
| 202 | <size name="tw_gui_pattern_grid_size" default="3"/> |
| 203 | </style> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 204 | </styles> |
| 205 | |
| 206 | <pages> |
| 207 | <page name="main"> |
| 208 | <action> |
| 209 | <actions> |
| 210 | <action function="set">tw_clear_destination=main2</action> |
| 211 | <action function="page">clear_vars</action> |
| 212 | </actions> |
| 213 | </action> |
| 214 | </page> |
| 215 | |
| 216 | <page name="main2"> |
| 217 | <template name="page"/> |
| 218 | |
| 219 | <button style="main_button"> |
| 220 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 221 | <text>{@install_btn=Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 222 | <action function="page">install_type</action> |
| 223 | </button> |
| 224 | |
| 225 | <button style="main_button"> |
| 226 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 227 | <text>{@wipe_btn=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 228 | <action function="page">wipe_type1</action> |
| 229 | </button> |
| 230 | |
| 231 | <button style="main_button"> |
| 232 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 233 | <text>{@backup_btn=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 234 | <actions> |
| 235 | <action function="set">tw_back=main</action> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 236 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 237 | </actions> |
| 238 | </button> |
| 239 | |
| 240 | <button style="main_button"> |
| 241 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 242 | <text>{@restore_btn=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 243 | <action function="page">restore</action> |
| 244 | </button> |
| 245 | |
| 246 | <button style="main_button"> |
| 247 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 248 | <text>{@reboot_btn=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 249 | <action function="page">reboot</action> |
| 250 | </button> |
| 251 | |
| 252 | <button> |
| 253 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 254 | <highlight color="%highlight_color%"/> |
| 255 | <image resource="q_btn_arrow_right"/> |
| 256 | <action function="page">main3</action> |
| 257 | </button> |
| 258 | </page> |
| 259 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 260 | <page name="copylog"> |
| 261 | <template name="page"/> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 262 | |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 263 | <checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 264 | <placement x="%indent%" y="%row1_y%"/> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 265 | <text>{@include_kernel_log=Include Kernel Log}</text> |
| 266 | <data variable="tw_include_kernel_log" value="1"/> |
| 267 | </checkbox> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 268 | |
Captain Throwback | 5297893 | 2021-09-05 15:11:07 -0400 | [diff] [blame] | 269 | <checkbox> |
| 270 | <condition var1="tw_logcat_exists" var2="1"/> |
| 271 | <placement x="%indent%" y="%row2_y%"/> |
| 272 | <text>{@include_logcat=Include Logcat}</text> |
| 273 | <data variable="tw_include_logcat" value="1"/> |
| 274 | </checkbox> |
| 275 | |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 276 | <slider> |
| 277 | <text>{@swipe_confirm= Confirm}</text> |
| 278 | <actions> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 279 | <action function="set">tw_back=main3</action> |
| 280 | <action function="set">tw_action=copylog</action> |
| 281 | <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action> |
| 282 | <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] | 283 | <action function="page">action_page</action> |
| 284 | </actions> |
| 285 | </slider> |
| 286 | |
| 287 | <action> |
| 288 | <touch key="back"/> |
| 289 | <action function="page">main2</action> |
| 290 | </action> |
| 291 | |
| 292 | <action> |
| 293 | <touch key="home"/> |
| 294 | <action function="page">main</action> |
| 295 | </action> |
Matt Mower | 3267662 | 2017-01-18 18:56:13 -0600 | [diff] [blame] | 296 | </page> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 297 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 298 | <page name="main3"> |
| 299 | <template name="page"/> |
| 300 | |
| 301 | <button style="main_button"> |
| 302 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 303 | <text>{@mount_btn=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 304 | <action function="page">mount</action> |
| 305 | </button> |
| 306 | |
| 307 | <button style="main_button"> |
| 308 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 309 | <text>{@settings_btn=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 310 | <action function="page">settings</action> |
| 311 | </button> |
| 312 | |
| 313 | <button style="main_button"> |
| 314 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 315 | <text>{@files_btn=Files}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 316 | <action function="page">filemanagerlist</action> |
| 317 | </button> |
| 318 | |
| 319 | <button style="main_button"> |
| 320 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 321 | <text>{@copy_log_btn=Copy Log}</text> |
bigbiff bigbiff | bad332a | 2016-07-29 21:18:13 -0400 | [diff] [blame] | 322 | <action function="page">copylog</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 323 | </button> |
| 324 | |
| 325 | <button style="main_button"> |
| 326 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 327 | <text>{@advanced_btn=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 328 | <action function="page">advanced</action> |
| 329 | </button> |
| 330 | |
| 331 | <button> |
| 332 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 333 | <highlight color="%highlight_color%"/> |
| 334 | <image resource="q_btn_arrow_left"/> |
| 335 | <action function="page">main2</action> |
| 336 | </button> |
| 337 | |
| 338 | <action> |
| 339 | <touch key="back"/> |
| 340 | <action function="page">main2</action> |
| 341 | </action> |
| 342 | |
| 343 | <action> |
| 344 | <touch key="home"/> |
| 345 | <action function="page">main</action> |
| 346 | </action> |
| 347 | </page> |
| 348 | |
| 349 | <page name="install_type"> |
| 350 | <template name="page"/> |
| 351 | |
| 352 | <template name="statusbar"/> |
| 353 | |
| 354 | <text style="text_m"> |
| 355 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 356 | <text>{@install_hdr=Install} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 357 | </text> |
| 358 | |
| 359 | <button style="main_button_full_width"> |
| 360 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 361 | <text>{@install_zip_btn=Install Zip}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 362 | <actions> |
| 363 | <action function="queueclear"/> |
| 364 | <action function="set">tw_selectimage=0</action> |
| 365 | <action function="page">install</action> |
| 366 | </actions> |
| 367 | </button> |
| 368 | |
| 369 | <button style="main_button_full_width"> |
| 370 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 371 | <text>{@install_image_btn=Install Image}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 372 | <actions> |
| 373 | <action function="queueclear"/> |
| 374 | <action function="set">tw_selectimage=1</action> |
| 375 | <action function="page">install</action> |
| 376 | </actions> |
| 377 | </button> |
| 378 | |
| 379 | <button style="main_button_full_width"> |
| 380 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 381 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 382 | <action function="page">sideload</action> |
| 383 | </button> |
| 384 | |
| 385 | <action> |
| 386 | <touch key="home"/> |
| 387 | <action function="page">main</action> |
| 388 | </action> |
| 389 | |
| 390 | <action> |
| 391 | <touch key="back"/> |
| 392 | <action function="page">main</action> |
| 393 | </action> |
| 394 | </page> |
| 395 | |
| 396 | <page name="install"> |
| 397 | <template name="page"/> |
| 398 | |
| 399 | <template name="statusbar"/> |
| 400 | |
| 401 | <text style="text_m"> |
| 402 | <condition var1="tw_selectimage" var2="0"/> |
| 403 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 404 | <text>{@install_zip_hdr=Install Zip} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 405 | </text> |
| 406 | |
| 407 | <text style="text_m"> |
| 408 | <condition var1="tw_selectimage" var2="1"/> |
| 409 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 410 | <text>{@install_image_hdr=Install Image} > {@install_select_file_hdr=Select File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 411 | </text> |
| 412 | |
| 413 | <fileselector> |
| 414 | <condition var1="tw_selectimage" var2="0"/> |
| 415 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 416 | <text>%tw_zip_location%</text> |
mauronofrio | 6d3bf89 | 2019-10-26 19:47:55 +0200 | [diff] [blame] | 417 | <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/> |
Ian Macdonald | e7c34e5 | 2021-01-23 18:52:28 +0100 | [diff] [blame] | 418 | <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 419 | <path name="tw_zip_location" default="/sdcard"/> |
| 420 | <data name="tw_filename"/> |
| 421 | <selection name="tw_file"/> |
| 422 | </fileselector> |
| 423 | |
| 424 | <fileselector> |
| 425 | <condition var1="tw_selectimage" var2="1"/> |
| 426 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 427 | <text>%tw_zip_location%</text> |
| 428 | <filter extn=".img" folders="1" files="1"/> |
| 429 | <path name="tw_zip_location" default="/sdcard"/> |
| 430 | <data name="tw_filename"/> |
| 431 | <selection name="tw_file"/> |
| 432 | </fileselector> |
| 433 | |
| 434 | <button> |
| 435 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 436 | <highlight color="%highlight_color%"/> |
| 437 | <image resource="q_btn_storage"/> |
| 438 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 439 | <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] | 440 | <action function="set">tw_back=install</action> |
| 441 | <action function="page">select_storage</action> |
| 442 | </actions> |
| 443 | </button> |
| 444 | |
| 445 | <action> |
| 446 | <conditions> |
| 447 | <condition var1="tw_selectimage" var2="0"/> |
| 448 | <condition var1="tw_filename" op="modified"/> |
| 449 | </conditions> |
| 450 | <actions> |
| 451 | <action function="queuezip"/> |
| 452 | <action function="page">flash_queue</action> |
| 453 | </actions> |
| 454 | </action> |
| 455 | |
| 456 | <action> |
| 457 | <conditions> |
| 458 | <condition var1="tw_selectimage" var2="1"/> |
| 459 | <condition var1="tw_filename" op="modified"/> |
| 460 | </conditions> |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 461 | <actions> |
| 462 | <action function="set">tw_is_slot_part=0</action> |
| 463 | <action function="page">flashimage_type</action> |
| 464 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 465 | </action> |
| 466 | |
| 467 | <action> |
| 468 | <touch key="back"/> |
| 469 | <action function="page">install_type</action> |
| 470 | </action> |
| 471 | |
| 472 | <action> |
| 473 | <touch key="home"/> |
| 474 | <action function="page">main</action> |
| 475 | </action> |
| 476 | </page> |
| 477 | |
| 478 | <page name="flash_queue"> |
| 479 | <template name="page"/> |
| 480 | |
| 481 | <template name="statusbar"/> |
| 482 | |
| 483 | <text style="text_m"> |
| 484 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 485 | <text>{@install_zip_hdr=Install Zip} > {@queue_hdr=Queue}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 486 | </text> |
| 487 | |
| 488 | <text style="text_m_accent"> |
| 489 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 490 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 491 | </text> |
| 492 | |
| 493 | <text style="text_m"> |
| 494 | <placement x="%indent%" y="%row2_y%"/> |
| 495 | <text>%tw_file%</text> |
| 496 | </text> |
| 497 | |
| 498 | <text style="text_m_accent"> |
| 499 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 500 | <text>{@folder=Folder:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 501 | </text> |
| 502 | |
| 503 | <text style="text_m"> |
| 504 | <placement x="%indent%" y="%row5_y%"/> |
| 505 | <text>%tw_zip_location%</text> |
| 506 | </text> |
| 507 | |
| 508 | <text style="text_m"> |
| 509 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 510 | <text>{@zip_back_clear=Press back button to clear the queue.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 511 | </text> |
| 512 | |
| 513 | <button> |
| 514 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 515 | <highlight color="%highlight_color%"/> |
| 516 | <image resource="q_btn_arrow_left"/> |
| 517 | <actions> |
| 518 | <action function="queueclear"/> |
| 519 | <action function="page">install</action> |
| 520 | </actions> |
| 521 | </button> |
| 522 | |
| 523 | <button> |
| 524 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 525 | <highlight color="%highlight_color%"/> |
| 526 | <image resource="q_btn_addzip"/> |
| 527 | <action function="page">install</action> |
| 528 | </button> |
| 529 | |
| 530 | <button> |
| 531 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 532 | <highlight color="%highlight_color%"/> |
| 533 | <image resource="q_btn_accept"/> |
| 534 | <action function="page">flash_confirm</action> |
| 535 | </button> |
| 536 | |
| 537 | <button> |
| 538 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 539 | <highlight color="%highlight_color%"/> |
| 540 | <image resource="q_btn_arrow_right"/> |
| 541 | <action function="page">flash_options</action> |
| 542 | </button> |
| 543 | |
| 544 | <action> |
| 545 | <touch key="back"/> |
| 546 | <actions> |
| 547 | <action function="queueclear"/> |
| 548 | <action function="page">install</action> |
| 549 | </actions> |
| 550 | </action> |
| 551 | |
| 552 | <action> |
| 553 | <touch key="home"/> |
| 554 | <action function="page">main</action> |
| 555 | </action> |
| 556 | </page> |
| 557 | |
| 558 | <page name="flash_options"> |
| 559 | <template name="page"/> |
| 560 | |
| 561 | <template name="statusbar"/> |
| 562 | |
| 563 | <text style="text_m"> |
| 564 | <condition var1="tw_selectimage" var2="0"/> |
| 565 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 566 | <text>{@install_zip_hdr=Install Zip} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 567 | </text> |
| 568 | |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 569 | <listbox style="options_listbox"> |
| 570 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%listbox_options_height%"/> |
| 571 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
| 572 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
| 573 | <data variable="tw_signed_zip_verify"/> |
| 574 | </listitem> |
| 575 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 576 | <data variable="tw_skip_digest_check_zip"/> |
| 577 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 578 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 579 | <conditions> |
| 580 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 581 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 582 | </conditions> |
| 583 | <data variable="tw_auto_reflashtwrp"/> |
| 584 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 585 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 586 | <data variable="tw_install_reboot"/> |
| 587 | </listitem> |
| 588 | <listitem name="{@inject_twrp_chk=Inject TWRP after install}"> |
| 589 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 590 | <data variable="tw_inject_after_zip"/> |
| 591 | </listitem> |
| 592 | </listbox> |
bigbiff | a869fc7 | 2016-03-01 19:40:36 -0500 | [diff] [blame] | 593 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 594 | <button> |
| 595 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 596 | <highlight color="%highlight_color%"/> |
| 597 | <image resource="q_btn_arrow_left"/> |
| 598 | <action function="page">flash_queue</action> |
| 599 | </button> |
| 600 | |
| 601 | <button> |
| 602 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 603 | <highlight color="%highlight_color%"/> |
| 604 | <image resource="q_btn_accept_transp"/> |
| 605 | <action function="page">flash_confirm</action> |
| 606 | </button> |
| 607 | |
| 608 | <action> |
| 609 | <touch key="back"/> |
| 610 | <action function="page">flash_queue</action> |
| 611 | </action> |
| 612 | |
| 613 | <action> |
| 614 | <touch key="home"/> |
| 615 | <action function="page">main</action> |
| 616 | </action> |
| 617 | </page> |
| 618 | |
| 619 | <page name="flash_confirm"> |
| 620 | <template name="page"/> |
| 621 | |
| 622 | <template name="statusbar"/> |
| 623 | |
| 624 | <text style="text_m"> |
| 625 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 626 | <text>{@install_zip_hdr=Install Zip} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 627 | </text> |
| 628 | |
| 629 | <text style="text_m_accent"> |
| 630 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 631 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 632 | </text> |
| 633 | |
| 634 | <text style="text_m"> |
| 635 | <placement x="%indent%" y="%row2_y%"/> |
| 636 | <text>%tw_file%</text> |
| 637 | </text> |
| 638 | |
| 639 | <button> |
| 640 | <fill color="%transparent%"/> |
| 641 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 642 | <action function="page">flash_queue</action> |
| 643 | </button> |
| 644 | |
| 645 | <text style="text_m_accent"> |
| 646 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 647 | <text>{@zip_queue=Queue:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 648 | </text> |
| 649 | |
| 650 | <text style="text_m"> |
| 651 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 652 | <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 653 | </text> |
| 654 | |
| 655 | <button> |
| 656 | <fill color="%transparent%"/> |
| 657 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 658 | <action function="page">flash_queue</action> |
| 659 | </button> |
| 660 | |
| 661 | <listbox style="listbox_options"> |
| 662 | <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] | 663 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 664 | <data variable="tw_signed_zip_verify"/> |
| 665 | </listitem> |
| 666 | </listbox> |
| 667 | |
| 668 | <text style="text_m_accent"> |
| 669 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 670 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 671 | </text> |
| 672 | |
| 673 | <text style="text_m"> |
| 674 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 675 | <condition var1="tw_inject_after_zip" var2="1"/> |
| 676 | <placement x="%indent%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 677 | <text>{@inject_twrp_chk=Inject TWRP after install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 678 | </text> |
| 679 | |
| 680 | <button> |
| 681 | <fill color="%transparent%"/> |
| 682 | <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/> |
| 683 | <action function="page">flash_options</action> |
| 684 | </button> |
| 685 | |
| 686 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 687 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 688 | <action function="flash">flash_zip</action> |
| 689 | </slider> |
| 690 | |
| 691 | <action> |
| 692 | <touch key="back"/> |
| 693 | <actions> |
| 694 | <action function="cancelzip"/> |
| 695 | <action function="page">install</action> |
| 696 | </actions> |
| 697 | </action> |
| 698 | |
| 699 | <action> |
| 700 | <touch key="home"/> |
| 701 | <action function="page">main</action> |
| 702 | </action> |
| 703 | </page> |
| 704 | |
| 705 | <page name="flash_zip"> |
| 706 | <template name="page"/> |
| 707 | |
| 708 | <template name="statusbar"/> |
| 709 | |
| 710 | <text style="text_m"> |
| 711 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 712 | <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 713 | </text> |
| 714 | |
| 715 | <template name="console"/> |
| 716 | |
| 717 | <template name="progress_bar"/> |
| 718 | |
| 719 | <action> |
| 720 | <condition var1="tw_operation_state" var2="1"/> |
| 721 | <action function="page">flash_done</action> |
| 722 | </action> |
| 723 | </page> |
| 724 | |
| 725 | <page name="flash_done"> |
| 726 | <template name="page"/> |
| 727 | |
| 728 | <template name="statusbar"/> |
| 729 | |
| 730 | <text style="text_m_fail"> |
| 731 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 732 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 733 | <text>{@install_failed=Installation Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 734 | </text> |
| 735 | |
| 736 | <text style="text_m"> |
| 737 | <condition var1="tw_operation_status" var2="0"/> |
| 738 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 739 | <text>{@install_successful=Installation Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 740 | </text> |
| 741 | |
| 742 | <template name="console"/> |
| 743 | |
| 744 | <button style="main_button_half_height"> |
bigbiff bigbiff | 19874f1 | 2019-01-08 20:06:57 -0500 | [diff] [blame] | 745 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 746 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 747 | <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 748 | <actions> |
| 749 | <action function="set">tw_back=flash_done</action> |
| 750 | <action function="set">tw_action=wipe</action> |
| 751 | <action function="set">tw_action_param=/cache</action> |
| 752 | <action function="set">tw_has_action2=1</action> |
| 753 | <action function="set">tw_action2=wipe</action> |
| 754 | <action function="set">tw_action2_param=dalvik</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 755 | <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache & Dalvik?}</action> |
| 756 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache & Dalvik...}</action> |
| 757 | <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] | 758 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
| 759 | <action function="page">confirm_action</action> |
| 760 | </actions> |
| 761 | </button> |
| 762 | |
| 763 | <button style="main_button_half_height"> |
| 764 | <condition var1="tw_ab_device" var2="1"/> |
| 765 | <placement x="%indent%" y="%row21a_y%"/> |
| 766 | <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> |
| 767 | <actions> |
| 768 | <action function="set">tw_back=flash_done</action> |
| 769 | <action function="set">tw_action=wipe</action> |
| 770 | <action function="set">tw_action_param=dalvik</action> |
| 771 | <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> |
| 772 | <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> |
| 773 | <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> |
| 774 | <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 775 | <action function="page">confirm_action</action> |
| 776 | </actions> |
| 777 | </button> |
| 778 | |
| 779 | <button style="main_button_half_height"> |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 780 | <condition var1="tw_ab_device" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 781 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 782 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 783 | <actions> |
| 784 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 785 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 786 | </actions> |
| 787 | </button> |
| 788 | |
Chaosmaster | 7b66bf5 | 2020-02-07 20:33:43 +0100 | [diff] [blame] | 789 | <button style="main_button_half_height"> |
| 790 | <condition var1="tw_ab_device" var2="1"/> |
| 791 | <placement x="%col1_x_right%" y="%row13_y%"/> |
| 792 | <text>{@reboot_btn=Reboot}</text> |
| 793 | <actions> |
| 794 | <action function="set">tw_back=main2</action> |
| 795 | <action function="page">reboot</action> |
| 796 | </actions> |
| 797 | </button> |
| 798 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 799 | <action> |
| 800 | <touch key="back"/> |
| 801 | <actions> |
| 802 | <action function="set">tw_clear_destination=install_type</action> |
| 803 | <action function="page">clear_vars</action> |
| 804 | </actions> |
| 805 | </action> |
| 806 | |
| 807 | <action> |
| 808 | <touch key="home"/> |
| 809 | <actions> |
| 810 | <action function="set">tw_clear_destination=main2</action> |
| 811 | <action function="page">clear_vars</action> |
| 812 | </actions> |
| 813 | </action> |
Matt Mower | 9a2a205 | 2016-05-31 21:31:22 -0500 | [diff] [blame] | 814 | |
| 815 | <action> |
| 816 | <conditions> |
| 817 | <condition var1="tw_install_reboot" var2="1"/> |
| 818 | <condition var1="tw_operation_status" var2="0"/> |
| 819 | <condition var1="tw_reboot_system" var2="1"/> |
| 820 | </conditions> |
| 821 | <actions> |
| 822 | <action function="set">tw_sleep=%tw_sleep_total%</action> |
| 823 | <action function="page">flash_sleep_and_reboot</action> |
| 824 | </actions> |
| 825 | </action> |
| 826 | </page> |
| 827 | |
| 828 | <page name="flash_sleep_and_reboot"> |
| 829 | <template name="page"/> |
| 830 | |
| 831 | <template name="statusbar"/> |
| 832 | |
| 833 | <text style="text_m"> |
| 834 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 835 | <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text> |
| 836 | </text> |
| 837 | |
| 838 | <template name="console"/> |
| 839 | |
| 840 | <template name="progress_bar"/> |
| 841 | |
| 842 | <button style="main_button_half_height"> |
| 843 | <condition var1="tw_sleep" op=">" var2="0"/> |
| 844 | <placement x="%col1_x_right%" y="%row13_y%"/> |
| 845 | <text>{@cancel_btn=Cancel}</text> |
| 846 | <actions> |
| 847 | <action function="set">tw_install_reboot=0</action> |
| 848 | <action function="page">flash_done</action> |
| 849 | </actions> |
| 850 | </button> |
| 851 | |
| 852 | <action> |
| 853 | <conditions> |
| 854 | <condition var1="tw_sleep" var2="tw_sleep_total"/> |
| 855 | <condition var1="tw_install_reboot" var2="1"/> |
| 856 | </conditions> |
| 857 | <action function="sleepcounter">%tw_sleep_total%</action> |
| 858 | </action> |
| 859 | |
| 860 | <action> |
| 861 | <conditions> |
| 862 | <condition var1="tw_sleep" var2="0"/> |
| 863 | <condition var1="tw_install_reboot" var2="1"/> |
| 864 | </conditions> |
| 865 | <actions> |
| 866 | <action function="sleep">50000</action> |
| 867 | <action function="set">tw_back=main2</action> |
| 868 | <action function="page">reboot_system_routine</action> |
| 869 | </actions> |
| 870 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 871 | </page> |
| 872 | |
| 873 | <page name="flashimage_type"> |
| 874 | <template name="page"/> |
| 875 | |
| 876 | <template name="statusbar"/> |
| 877 | |
| 878 | <text style="text_m"> |
| 879 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 880 | <text>{@install_image_hdr=Install Image} > {@install_sel_target=Select Target Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 881 | </text> |
| 882 | |
| 883 | <partitionlist style="partitionlist_headerless_rb"> |
| 884 | <data name="tw_flash_partition"/> |
| 885 | <listtype name="flashimg"/> |
| 886 | </partitionlist> |
| 887 | |
epicX | 8f52c0a | 2021-02-24 23:12:08 +0530 | [diff] [blame] | 888 | <button style="checkbox"> |
| 889 | <conditions> |
| 890 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 891 | <condition var1="tw_flash_both_slots" op="=" var2="0"/> |
| 892 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 893 | </conditions> |
| 894 | <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/> |
| 895 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 896 | <image resource="checkbox_false"/> |
| 897 | <action function="set">tw_flash_both_slots=1</action> |
| 898 | </button> |
| 899 | |
| 900 | <button style="checkbox"> |
| 901 | <conditions> |
| 902 | <condition var1="tw_is_slot_part" op="=" var2="1"/> |
| 903 | <condition var1="tw_flash_both_slots" op="=" var2="1"/> |
| 904 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 905 | </conditions> |
| 906 | <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/> |
| 907 | <text>{@flash_ab_both_slots=Flash to both slots}</text> |
| 908 | <image resource="checkbox_true"/> |
| 909 | <action function="set">tw_flash_both_slots=0</action> |
| 910 | </button> |
| 911 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 912 | <button> |
| 913 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 914 | <highlight color="%highlight_color%"/> |
| 915 | <image resource="q_btn_arrow_left"/> |
| 916 | <action function="page">install</action> |
| 917 | </button> |
| 918 | |
| 919 | <button> |
| 920 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 921 | <highlight color="%highlight_color%"/> |
| 922 | <image resource="q_btn_accept_transp"/> |
| 923 | <action function="page">flashimage_confirm</action> |
| 924 | </button> |
| 925 | |
| 926 | <action> |
| 927 | <touch key="back"/> |
| 928 | <action function="page">install</action> |
| 929 | </action> |
| 930 | |
| 931 | <action> |
| 932 | <touch key="home"/> |
| 933 | <action function="page">main</action> |
| 934 | </action> |
| 935 | </page> |
| 936 | |
| 937 | <page name="flashimage_confirm"> |
| 938 | <template name="page"/> |
| 939 | |
| 940 | <template name="statusbar"/> |
| 941 | |
| 942 | <text style="text_m"> |
| 943 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 944 | <text>{@install_image_hdr=Install Image} > {@confirm_flash_hdr=Confirm Flash}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 945 | </text> |
| 946 | |
| 947 | <text style="text_m_accent"> |
| 948 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 949 | <text>{@file=File:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 950 | </text> |
| 951 | |
| 952 | <text style="text_m"> |
| 953 | <placement x="%indent%" y="%row2_y%"/> |
| 954 | <text>%tw_file%</text> |
| 955 | </text> |
| 956 | |
| 957 | <button> |
| 958 | <fill color="%transparent%"/> |
| 959 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 960 | <action function="page">install</action> |
| 961 | </button> |
| 962 | |
| 963 | <text style="text_m_accent"> |
| 964 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 965 | <text>{@target_partition=Target Partition:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 966 | </text> |
| 967 | |
| 968 | <text style="text_m"> |
| 969 | <placement x="%indent%" y="%row5_y%"/> |
| 970 | <text>%tw_flash_partition%</text> |
| 971 | </text> |
| 972 | |
| 973 | <button> |
| 974 | <fill color="%transparent%"/> |
| 975 | <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/> |
| 976 | <action function="page">flashimage_type</action> |
| 977 | </button> |
| 978 | |
| 979 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 980 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 981 | <actions> |
| 982 | <action function="set">tw_back=flashimage_confirm</action> |
| 983 | <action function="set">tw_action=flashimage</action> |
| 984 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 985 | <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 986 | <action function="set">tw_action_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 987 | <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 988 | <action function="page">action_page</action> |
| 989 | </actions> |
| 990 | <action function="flashimage"/> |
| 991 | </slider> |
| 992 | |
| 993 | <action> |
| 994 | <touch key="back"/> |
| 995 | <actions> |
| 996 | <action function="set">tw_clear_destination=install</action> |
| 997 | <action function="page">clear_vars</action> |
| 998 | </actions> |
| 999 | </action> |
| 1000 | |
| 1001 | <action> |
| 1002 | <touch key="home"/> |
| 1003 | <actions> |
| 1004 | <action function="set">tw_clear_destination=main2</action> |
| 1005 | <action function="page">clear_vars</action> |
| 1006 | </actions> |
| 1007 | </action> |
| 1008 | </page> |
| 1009 | |
| 1010 | <page name="clear_vars"> |
| 1011 | <action> |
| 1012 | <action function="set">tw_operation_state=0</action> |
| 1013 | <action function="set">tw_text1=</action> |
| 1014 | <action function="set">tw_text2=</action> |
| 1015 | <action function="set">tw_text3=</action> |
| 1016 | <action function="set">tw_text4=</action> |
| 1017 | <action function="set">tw_action_text1=</action> |
| 1018 | <action function="set">tw_action_text2=</action> |
| 1019 | <action function="set">tw_action_param=</action> |
| 1020 | <action function="set">tw_has_action2=0</action> |
| 1021 | <action function="set">tw_action2=</action> |
| 1022 | <action function="set">tw_action2_param=</action> |
| 1023 | <action function="set">tw_has_cancel=0</action> |
| 1024 | <action function="set">tw_cancel_action=</action> |
| 1025 | <action function="set">tw_cancel_param=</action> |
| 1026 | <action function="set">tw_show_exclamation=0</action> |
| 1027 | <action function="set">tw_show_reboot=0</action> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1028 | <action function="set">tw_crypto_user_id=</action> |
| 1029 | <action function="set">tw_multiuser_warning_accepted=</action> |
| 1030 | <action function="set">tw_multiuser_warning_destination=</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1031 | <action function="page">%tw_clear_destination%</action> |
| 1032 | </action> |
| 1033 | </page> |
| 1034 | |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1035 | <page name="reboot_system_routine"> |
| 1036 | <action> |
| 1037 | <action function="set">tw_back=main2</action> |
| 1038 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 1039 | <action function="set">tw_action_param=system</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1040 | <action function="set">tw_has_action2=0</action> |
| 1041 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 1042 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 1043 | <action function="set">tw_text3=</action> |
| 1044 | <action function="set">tw_text4=</action> |
| 1045 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 1046 | <action function="set">tw_action_text2=</action> |
| 1047 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 1048 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
| 1049 | <action function="page">rebootcheck</action> |
| 1050 | </action> |
| 1051 | </page> |
| 1052 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1053 | <page name="confirm_action"> |
| 1054 | <template name="page"/> |
| 1055 | |
| 1056 | <template name="statusbar"/> |
| 1057 | |
| 1058 | <text style="text_m"> |
| 1059 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1060 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1061 | </text> |
| 1062 | |
| 1063 | <text style="text_m_accent"> |
| 1064 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 1065 | <text>%tw_text1%</text> |
| 1066 | </text> |
| 1067 | |
| 1068 | <text style="text_m_accent"> |
| 1069 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 1070 | <text>%tw_text2%</text> |
| 1071 | </text> |
| 1072 | |
| 1073 | <text style="text_m"> |
| 1074 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 1075 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 1076 | <text>%tw_text3%</text> |
| 1077 | </text> |
| 1078 | |
| 1079 | <text style="text_m"> |
| 1080 | <condition var1="tw_action" op="!=" var2="changefilesystem"/> |
| 1081 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 1082 | <text>%tw_text4%</text> |
| 1083 | </text> |
| 1084 | |
| 1085 | <text style="text_m_fail"> |
| 1086 | <condition var1="tw_action" var2="changefilesystem"/> |
| 1087 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 1088 | <text>%tw_text3%</text> |
| 1089 | </text> |
| 1090 | |
| 1091 | <text style="text_m_fail"> |
| 1092 | <condition var1="tw_action" var2="changefilesystem"/> |
| 1093 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 1094 | <text>%tw_text4%</text> |
| 1095 | </text> |
| 1096 | |
| 1097 | <text style="text_m"> |
| 1098 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1099 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1100 | </text> |
| 1101 | |
| 1102 | <slider> |
| 1103 | <text>%tw_slider_text%</text> |
| 1104 | <action function="page">action_page</action> |
| 1105 | </slider> |
| 1106 | |
| 1107 | <action> |
| 1108 | <touch key="back"/> |
| 1109 | <actions> |
| 1110 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1111 | <action function="page">clear_vars</action> |
| 1112 | </actions> |
| 1113 | </action> |
| 1114 | |
| 1115 | <action> |
| 1116 | <touch key="home"/> |
| 1117 | <action function="page">main</action> |
| 1118 | </action> |
| 1119 | </page> |
| 1120 | |
| 1121 | <page name="action_page"> |
| 1122 | <template name="page"/> |
| 1123 | |
| 1124 | <template name="statusbar"/> |
| 1125 | |
| 1126 | <text style="text_m"> |
| 1127 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 1128 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 1129 | </text> |
| 1130 | |
| 1131 | <template name="console"/> |
| 1132 | |
| 1133 | <template name="progress_bar"/> |
| 1134 | |
| 1135 | <button style="main_button_half_height"> |
| 1136 | <condition var1="tw_has_cancel" var2="1"/> |
| 1137 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1138 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1139 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 1140 | </button> |
| 1141 | |
| 1142 | <action> |
| 1143 | <condition var1="tw_operation_state" var2="1"/> |
| 1144 | <actions> |
| 1145 | <action function="page">action_complete</action> |
| 1146 | </actions> |
| 1147 | </action> |
| 1148 | |
| 1149 | <action> |
| 1150 | <condition var1="tw_has_action2" var2="0"/> |
| 1151 | <actions> |
| 1152 | <action function="%tw_action%">%tw_action_param%</action> |
| 1153 | </actions> |
| 1154 | </action> |
| 1155 | |
| 1156 | <action> |
| 1157 | <condition var1="tw_has_action2" var2="1"/> |
| 1158 | <actions> |
| 1159 | <action function="%tw_action%">%tw_action_param%</action> |
| 1160 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1161 | </actions> |
| 1162 | </action> |
| 1163 | </page> |
| 1164 | |
| 1165 | <page name="singleaction_page"> |
| 1166 | <template name="page"/> |
| 1167 | |
| 1168 | <template name="statusbar"/> |
| 1169 | |
| 1170 | <text style="text_m"> |
| 1171 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 1172 | <text>%tw_action_text1% %tw_action_text2%</text> |
| 1173 | </text> |
| 1174 | |
| 1175 | <template name="console"/> |
| 1176 | |
| 1177 | <template name="progress_bar"/> |
| 1178 | |
| 1179 | <action> |
| 1180 | <condition var1="tw_operation_state" var2="1"/> |
| 1181 | <actions> |
| 1182 | <action function="set">tw_page_done=1</action> |
| 1183 | </actions> |
| 1184 | </action> |
| 1185 | |
| 1186 | <action> |
| 1187 | <condition var1="tw_has_action2" var2="0"/> |
| 1188 | <actions> |
| 1189 | <action function="%tw_action%">%tw_action_param%</action> |
| 1190 | </actions> |
| 1191 | </action> |
| 1192 | |
| 1193 | <action> |
| 1194 | <condition var1="tw_has_action2" var2="1"/> |
| 1195 | <actions> |
| 1196 | <action function="%tw_action%">%tw_action_param%</action> |
| 1197 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 1198 | </actions> |
| 1199 | </action> |
| 1200 | </page> |
| 1201 | |
| 1202 | <page name="action_complete"> |
| 1203 | <template name="page"/> |
| 1204 | |
| 1205 | <template name="statusbar"/> |
| 1206 | |
| 1207 | <text style="text_m_fail"> |
| 1208 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 1209 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1210 | <text>%tw_complete_text1% {@failed=Failed}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1211 | </text> |
| 1212 | |
| 1213 | <text style="text_m"> |
| 1214 | <condition var1="tw_operation_status" var2="0"/> |
| 1215 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1216 | <text>%tw_complete_text1% {@successful=Successful}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1217 | </text> |
| 1218 | |
| 1219 | <template name="console"/> |
| 1220 | |
| 1221 | <button style="main_button_half_height"> |
| 1222 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1223 | <text>{@back_btn=Back}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1224 | <actions> |
| 1225 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1226 | <action function="page">clear_vars</action> |
| 1227 | </actions> |
| 1228 | </button> |
| 1229 | |
| 1230 | <button style="main_button_half_height"> |
| 1231 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1232 | <text>{@reboot_system_btn=Reboot System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1233 | <actions> |
| 1234 | <action function="set">tw_back=main2</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 1235 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1236 | </actions> |
| 1237 | </button> |
| 1238 | |
| 1239 | <action> |
| 1240 | <touch key="home"/> |
| 1241 | <actions> |
| 1242 | <action function="set">tw_clear_destination=main2</action> |
| 1243 | <action function="page">clear_vars</action> |
| 1244 | </actions> |
| 1245 | </action> |
| 1246 | |
| 1247 | <action> |
| 1248 | <touch key="back"/> |
| 1249 | <actions> |
| 1250 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1251 | <action function="page">clear_vars</action> |
| 1252 | </actions> |
| 1253 | </action> |
| 1254 | </page> |
| 1255 | |
| 1256 | <page name="filecheck"> |
| 1257 | <action> |
| 1258 | <action function="fileexists">%tw_filecheck%</action> |
| 1259 | </action> |
| 1260 | |
| 1261 | <action> |
| 1262 | <conditions> |
| 1263 | <condition var1="tw_operation_state" var2="1"/> |
| 1264 | <condition var1="tw_operation_status" var2="0"/> |
| 1265 | </conditions> |
| 1266 | <actions> |
| 1267 | <action function="set">tw_fileexists=1</action> |
| 1268 | <action function="page">%tw_existpage%</action> |
| 1269 | </actions> |
| 1270 | </action> |
| 1271 | |
| 1272 | <action> |
| 1273 | <conditions> |
| 1274 | <condition var1="tw_operation_state" var2="1"/> |
| 1275 | <condition var1="tw_operation_status" var2="1"/> |
| 1276 | </conditions> |
| 1277 | <actions> |
| 1278 | <action function="set">tw_fileexists=0</action> |
| 1279 | <action function="page">%tw_notexistpage%</action> |
| 1280 | </actions> |
| 1281 | </action> |
| 1282 | </page> |
| 1283 | |
| 1284 | <page name="rebootcheck"> |
| 1285 | <action> |
| 1286 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 1287 | <action function="reboot">%tw_reboot_param%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1288 | </action> |
| 1289 | |
| 1290 | <action> |
| 1291 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%"/> |
| 1292 | <action function="page">confirm_action</action> |
| 1293 | </action> |
| 1294 | </page> |
| 1295 | |
| 1296 | <page name="wipe_type1"> |
| 1297 | <template name="page"/> |
| 1298 | |
| 1299 | <template name="statusbar"/> |
| 1300 | |
| 1301 | <text style="text_m"> |
| 1302 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1303 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1304 | </text> |
| 1305 | |
| 1306 | <button style="main_button_full_width"> |
| 1307 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1308 | <text>{@factory_reset_btn=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1309 | <action function="page">wipe</action> |
| 1310 | </button> |
| 1311 | |
| 1312 | <button style="main_button_full_width"> |
| 1313 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1314 | <text>{@advanced_wipe_btn=Advanced Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1315 | <actions> |
| 1316 | <action function="set">partitionlisterror=0</action> |
| 1317 | <action function="page">advancedwipe</action> |
| 1318 | </actions> |
| 1319 | </button> |
| 1320 | |
| 1321 | <button> |
| 1322 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1323 | <highlight color="%highlight_color%"/> |
| 1324 | <image resource="q_btn_arrow_right"/> |
| 1325 | <action function="page">wipe_type2</action> |
| 1326 | </button> |
| 1327 | |
| 1328 | <action> |
| 1329 | <touch key="home"/> |
| 1330 | <action function="page">main</action> |
| 1331 | </action> |
| 1332 | |
| 1333 | <action> |
| 1334 | <touch key="back"/> |
| 1335 | <action function="page">main</action> |
| 1336 | </action> |
| 1337 | </page> |
| 1338 | |
| 1339 | <page name="wipe_type2"> |
| 1340 | <template name="page"/> |
| 1341 | |
| 1342 | <template name="statusbar"/> |
| 1343 | |
| 1344 | <text style="text_m"> |
| 1345 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1346 | <text>{@wipe_hdr=Wipe} > {@select_type_hdr=Select Type}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1347 | </text> |
| 1348 | |
| 1349 | <button style="main_button_full_width"> |
| 1350 | <condition var1="tw_has_data_media" var2="1"/> |
| 1351 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1352 | <text>{@format_data_btn=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1353 | <action function="page">formatdata</action> |
| 1354 | </button> |
| 1355 | |
| 1356 | <button style="main_button_full_width"> |
| 1357 | <conditions> |
| 1358 | <condition var1="tw_is_encrypted" var2="1"/> |
| 1359 | <condition var1="tw_has_data_media" var2="0"/> |
| 1360 | </conditions> |
| 1361 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1362 | <text>{@wipe_enc_btn=Wipe Encryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1363 | <actions> |
| 1364 | <action function="set">tw_back=wipe</action> |
| 1365 | <action function="set">tw_action=wipe</action> |
| 1366 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1367 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1368 | <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1369 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1370 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1371 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
| 1372 | <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1373 | <action function="page">confirm_action</action> |
| 1374 | </actions> |
| 1375 | </button> |
| 1376 | |
| 1377 | <button style="main_button_full_width"> |
| 1378 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1379 | <text>{@file_sys_opt=File System Options}</text><actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1380 | <action function="set">partitionlisterror=0</action> |
| 1381 | <action function="page">partitionoptions_select</action> |
| 1382 | </actions> |
| 1383 | </button> |
| 1384 | |
| 1385 | <button> |
| 1386 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1387 | <highlight color="%highlight_color%"/> |
| 1388 | <image resource="q_btn_arrow_left"/> |
| 1389 | <action function="page">wipe_type1</action> |
| 1390 | </button> |
| 1391 | |
| 1392 | <action> |
| 1393 | <touch key="home"/> |
| 1394 | <action function="page">main</action> |
| 1395 | </action> |
| 1396 | |
| 1397 | <action> |
| 1398 | <touch key="back"/> |
| 1399 | <action function="page">main</action> |
| 1400 | </action> |
| 1401 | </page> |
| 1402 | |
| 1403 | <page name="wipe"> |
| 1404 | <template name="page"/> |
| 1405 | |
| 1406 | <template name="statusbar"/> |
| 1407 | |
| 1408 | <text style="text_m"> |
| 1409 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1410 | <text>{@wipe_hdr=Wipe} > {@factory_reset_hdr=Factory Reset}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1411 | </text> |
| 1412 | |
| 1413 | <text style="text_m_accent"> |
| 1414 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1415 | <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1416 | </text> |
| 1417 | |
| 1418 | <text style="text_m_accent"> |
bigbiff | adc599e | 2020-05-28 19:36:30 +0000 | [diff] [blame] | 1419 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1420 | <text>{@factory_reset5=(not including users/lockscreen)}</text> |
| 1421 | </text> |
| 1422 | |
| 1423 | <text style="text_m_accent"> |
| 1424 | <condition var1="tw_has_data_media" var2="1"/> |
| 1425 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1426 | <text>{@factory_reset2=(not including internal storage)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1427 | </text> |
| 1428 | |
| 1429 | <text style="text_m_accent"> |
| 1430 | <conditions> |
| 1431 | <condition var1="tw_has_android_secure" var2="1"/> |
| 1432 | <condition var1="fileexists" var2="/and-sec"/> |
| 1433 | </conditions> |
| 1434 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1435 | <text>{@android_secure=Android Secure}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1436 | </text> |
| 1437 | |
| 1438 | <text style="text_m_accent"> |
| 1439 | <condition var1="tw_has_sdext_partition" var2="1"/> |
| 1440 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1441 | <text>{@sdext=SD-EXT}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1442 | </text> |
| 1443 | |
| 1444 | <text style="text_m"> |
| 1445 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1446 | <text>{@factory_reset3=Most of the time this is}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1447 | </text> |
| 1448 | |
| 1449 | <text style="text_m"> |
| 1450 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1451 | <text>{@factory_reset4=the only wipe that you need.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1452 | </text> |
| 1453 | |
| 1454 | <text style="text_m"> |
| 1455 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1456 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1457 | </text> |
| 1458 | |
| 1459 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1460 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1461 | <actions> |
| 1462 | <action function="set">tw_back=wipe</action> |
| 1463 | <action function="set">tw_action=wipe</action> |
| 1464 | <action function="set">tw_action_param=data</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1465 | <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action> |
| 1466 | <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1467 | <action function="page">action_page</action> |
| 1468 | </actions> |
| 1469 | </slider> |
| 1470 | |
| 1471 | <action> |
| 1472 | <touch key="back"/> |
| 1473 | <action function="page">wipe_type1</action> |
| 1474 | </action> |
| 1475 | |
| 1476 | <action> |
| 1477 | <touch key="home"/> |
| 1478 | <action function="page">main</action> |
| 1479 | </action> |
| 1480 | </page> |
| 1481 | |
| 1482 | <page name="advancedwipe"> |
| 1483 | <action> |
| 1484 | <action function="set">tw_wipe_list=</action> |
| 1485 | </action> |
| 1486 | |
| 1487 | <template name="page"/> |
| 1488 | |
| 1489 | <template name="statusbar"/> |
| 1490 | |
| 1491 | <text style="text_m"> |
| 1492 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1493 | <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] | 1494 | </text> |
| 1495 | |
| 1496 | <partitionlist style="partitionlist_headerless_cb"> |
| 1497 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1498 | <data name="tw_wipe_list"/> |
| 1499 | <listtype name="wipe"/> |
| 1500 | </partitionlist> |
| 1501 | |
| 1502 | <fill color="%accent_color%"> |
| 1503 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1504 | </fill> |
| 1505 | |
| 1506 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1507 | <text>{@swipe_wipe_s= Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1508 | <actions> |
| 1509 | <action function="set">tw_back=advancedwipe</action> |
| 1510 | <action function="set">tw_action=wipe</action> |
| 1511 | <action function="set">tw_action_param=LIST</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1512 | <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action> |
| 1513 | <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action> |
| 1514 | <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1515 | <action function="page">action_page</action> |
| 1516 | </actions> |
| 1517 | </slider> |
| 1518 | |
| 1519 | <action> |
| 1520 | <touch key="home"/> |
| 1521 | <action function="page">main</action> |
| 1522 | </action> |
| 1523 | |
| 1524 | <action> |
| 1525 | <touch key="back"/> |
| 1526 | <action function="page">wipe_type1</action> |
| 1527 | </action> |
| 1528 | </page> |
| 1529 | |
| 1530 | <page name="formatdata"> |
| 1531 | <template name="page"/> |
| 1532 | |
| 1533 | <template name="statusbar"/> |
| 1534 | |
| 1535 | <text style="text_m"> |
| 1536 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1537 | <text>{@wipe_hdr=Wipe} > {@format_data_hdr=Format Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1538 | </text> |
| 1539 | |
| 1540 | <text style="text_m_fail"> |
| 1541 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1542 | <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1543 | </text> |
| 1544 | |
| 1545 | <text style="text_m_fail"> |
| 1546 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1547 | <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1548 | </text> |
| 1549 | |
| 1550 | <text style="text_m"> |
| 1551 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1552 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1553 | </text> |
| 1554 | |
| 1555 | <input> |
| 1556 | <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/> |
| 1557 | <text>%tw_confirm_formatdata%</text> |
| 1558 | <data name="tw_confirm_formatdata"/> |
| 1559 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1560 | <action function="page">formatdata_confirm</action> |
| 1561 | </input> |
| 1562 | |
| 1563 | <fill color="%accent_color%"> |
| 1564 | <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/> |
| 1565 | </fill> |
| 1566 | |
| 1567 | <template name="keyboardtemplate"/> |
| 1568 | |
| 1569 | <action> |
| 1570 | <touch key="home"/> |
| 1571 | <action function="page">main</action> |
| 1572 | </action> |
| 1573 | |
| 1574 | <action> |
| 1575 | <touch key="back"/> |
| 1576 | <action function="page">wipe_type2</action> |
| 1577 | </action> |
| 1578 | </page> |
| 1579 | |
| 1580 | <page name="formatdata_confirm"> |
| 1581 | <action> |
| 1582 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1583 | <actions> |
| 1584 | <action function="set">tw_back=formatdata</action> |
| 1585 | <action function="set">tw_action=wipe</action> |
| 1586 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1587 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1588 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1589 | <action function="page">action_page</action> |
| 1590 | </actions> |
| 1591 | </action> |
| 1592 | |
| 1593 | <action> |
| 1594 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1595 | <action function="page">formatdata</action> |
| 1596 | </action> |
| 1597 | </page> |
| 1598 | |
| 1599 | <page name="checkpartitionlist"> |
| 1600 | <action> |
| 1601 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1602 | <actions> |
| 1603 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1604 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1605 | <action function="page">partitionoptions</action> |
| 1606 | </actions> |
| 1607 | </action> |
| 1608 | |
| 1609 | <action> |
| 1610 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1611 | <actions> |
| 1612 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1613 | <action function="page">partitionoptions_select</action> |
| 1614 | </actions> |
| 1615 | </action> |
| 1616 | </page> |
| 1617 | |
| 1618 | <page name="partitionoptions_select"> |
| 1619 | <action> |
| 1620 | <action function="set">tw_wipe_list=</action> |
| 1621 | </action> |
| 1622 | |
| 1623 | <template name="page"/> |
| 1624 | |
| 1625 | <template name="statusbar"/> |
| 1626 | |
| 1627 | <text style="text_m"> |
| 1628 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1629 | <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] | 1630 | </text> |
| 1631 | |
| 1632 | <partitionlist style="partitionlist_headerless_cb"> |
| 1633 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 1634 | <data name="tw_wipe_list"/> |
| 1635 | <listtype name="wipe"/> |
| 1636 | </partitionlist> |
| 1637 | |
| 1638 | <fill color="%accent_color%"> |
| 1639 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 1640 | </fill> |
| 1641 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1642 | <text style="text_m_fail"> |
| 1643 | <condition var1="partitionlisterror" var2="1"/> |
| 1644 | <placement x="%col1_x_left%" y="%row12_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1645 | <text>{@invalid_part_sel=Invalid partition selection}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1646 | </text> |
| 1647 | |
| 1648 | <button> |
| 1649 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 1650 | <highlight color="%highlight_color%"/> |
| 1651 | <image resource="q_btn_arrow_right"/><actions> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1652 | <action function="checkpartitionlist">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1653 | <action function="page">checkpartitionlist</action> |
| 1654 | </actions> |
| 1655 | </button> |
| 1656 | |
| 1657 | <action> |
| 1658 | <touch key="home"/> |
| 1659 | <action function="page">main</action> |
| 1660 | </action> |
| 1661 | |
| 1662 | <action> |
| 1663 | <touch key="back"/> |
| 1664 | <action function="page">wipe_type2</action> |
| 1665 | </action> |
| 1666 | </page> |
| 1667 | |
| 1668 | <page name="partitionoptions"> |
| 1669 | |
| 1670 | <template name="page"/> |
| 1671 | |
| 1672 | <template name="statusbar"/> |
| 1673 | |
| 1674 | <text style="text_m"> |
| 1675 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1676 | <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] | 1677 | </text> |
| 1678 | |
| 1679 | <text style="text_m_accent"> |
| 1680 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1681 | <text>{@partition=Partition: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1682 | </text> |
| 1683 | |
| 1684 | <text style="text_m_accent"> |
| 1685 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1686 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1687 | </text> |
| 1688 | |
| 1689 | <text style="text_m"> |
| 1690 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1691 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1692 | <text>{@part_present_yes=Present: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1693 | </text> |
| 1694 | |
| 1695 | <text style="text_m"> |
| 1696 | <condition var1="tw_partition_is_present" var2="0"/> |
| 1697 | <placement x="%col1_x_left%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1698 | <text>{@part_present_no=Present: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1699 | </text> |
| 1700 | |
| 1701 | <text style="text_m"> |
| 1702 | <condition var1="tw_partition_removable" var2="1"/> |
| 1703 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1704 | <text>{@part_removable_yes=Removable: Yes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1705 | </text> |
| 1706 | |
| 1707 | <text style="text_m"> |
| 1708 | <condition var1="tw_partition_removable" var2="0"/> |
| 1709 | <placement x="%col1_x_right%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1710 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1711 | </text> |
| 1712 | |
| 1713 | <text style="text_m"> |
| 1714 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1715 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1716 | </text> |
| 1717 | |
| 1718 | <text style="text_m"> |
| 1719 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1720 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1721 | </text> |
| 1722 | |
| 1723 | <text style="text_m"> |
| 1724 | <placement x="%col1_x_left%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1725 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1726 | </text> |
| 1727 | |
| 1728 | <text style="text_m"> |
| 1729 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1730 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1731 | </text> |
| 1732 | |
| 1733 | <button style="main_button"> |
| 1734 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1735 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1736 | <text>{@resize_btn_s=Resize}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1737 | <actions> |
| 1738 | <action function="set">tw_back=partitionoptions</action> |
| 1739 | <action function="set">tw_action=resize</action> |
| 1740 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1741 | <action function="set">tw_has_action2=1</action> |
| 1742 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1743 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1744 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1745 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1746 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1747 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1748 | <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1749 | <action function="page">confirm_action</action> |
| 1750 | </actions> |
| 1751 | </button> |
| 1752 | |
| 1753 | <button style="main_button"> |
| 1754 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1755 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1756 | <text>{@repair_btn_s=Repair}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1757 | <actions> |
| 1758 | <action function="set">tw_back=partitionoptions</action> |
| 1759 | <action function="set">tw_action=repair</action> |
| 1760 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1761 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1762 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1763 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1764 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1765 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1766 | <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1767 | <action function="page">confirm_action</action> |
| 1768 | </actions> |
| 1769 | </button> |
| 1770 | |
| 1771 | <button> |
| 1772 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1773 | <highlight color="%highlight_color%"/> |
| 1774 | <image resource="q_btn_arrow_left"/> |
| 1775 | <action function="page">partitionoptions_select</action> |
| 1776 | </button> |
| 1777 | |
| 1778 | <button style="main_button"> |
| 1779 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1780 | <text>{@change_fs_btn_s=Change}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1781 | <action function="page">selectfilesystem</action> |
| 1782 | </button> |
| 1783 | |
| 1784 | <action> |
| 1785 | <touch key="home"/> |
| 1786 | <action function="page">main</action> |
| 1787 | </action> |
| 1788 | |
| 1789 | <action> |
| 1790 | <touch key="back"/> |
| 1791 | <action function="page">partitionoptions_select</action> |
| 1792 | </action> |
| 1793 | </page> |
| 1794 | |
| 1795 | <page name="refreshfilesystem"> |
| 1796 | <action> |
| 1797 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1798 | <actions> |
| 1799 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1800 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1801 | <action function="page">selectfilesystem</action> |
| 1802 | </actions> |
| 1803 | </action> |
| 1804 | |
| 1805 | <action> |
| 1806 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1807 | <actions> |
| 1808 | <action function="set">partitionlisterror=1</action> |
| 1809 | <action function="set">tw_wipe_list=</action> |
| 1810 | <action function="page">advancedwipe</action> |
| 1811 | </actions> |
| 1812 | </action> |
| 1813 | </page> |
| 1814 | |
| 1815 | <page name="selectfilesystem"> |
| 1816 | <template name="page"/> |
| 1817 | |
| 1818 | <template name="statusbar"/> |
| 1819 | |
| 1820 | <text style="text_m"> |
| 1821 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1822 | <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] | 1823 | </text> |
| 1824 | |
| 1825 | <button style="main_button"> |
| 1826 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1827 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 1828 | <text>EXT2</text> |
| 1829 | <actions> |
| 1830 | <action function="set">tw_back=refreshfilesystem</action> |
| 1831 | <action function="set">tw_action=changefilesystem</action> |
| 1832 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1833 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1834 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1835 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1836 | <action function="set">tw_text2=EXT2</action> |
| 1837 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1838 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1839 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1840 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1841 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1842 | <action function="page">confirm_action</action> |
| 1843 | </actions> |
| 1844 | </button> |
| 1845 | |
| 1846 | <button style="main_button"> |
| 1847 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1848 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 1849 | <text>EXT3</text> |
| 1850 | <actions> |
| 1851 | <action function="set">tw_back=refreshfilesystem</action> |
| 1852 | <action function="set">tw_action=changefilesystem</action> |
| 1853 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1854 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1855 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1856 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1857 | <action function="set">tw_text2=EXT3</action> |
| 1858 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1859 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1860 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1861 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1862 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1863 | <action function="page">confirm_action</action> |
| 1864 | </actions> |
| 1865 | </button> |
| 1866 | |
| 1867 | <button style="main_button"> |
| 1868 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1869 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 1870 | <text>EXT4</text> |
| 1871 | <actions> |
| 1872 | <action function="set">tw_back=refreshfilesystem</action> |
| 1873 | <action function="set">tw_action=changefilesystem</action> |
| 1874 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1875 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1876 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1877 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1878 | <action function="set">tw_text2=EXT4</action> |
| 1879 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1880 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1881 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1882 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1883 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1884 | <action function="page">confirm_action</action> |
| 1885 | </actions> |
| 1886 | </button> |
| 1887 | |
| 1888 | <button style="main_button"> |
| 1889 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1890 | <placement x="%col1_x_right%" y="%row1_y%"/> |
| 1891 | <text>FAT</text> |
| 1892 | <actions> |
| 1893 | <action function="set">tw_back=refreshfilesystem</action> |
| 1894 | <action function="set">tw_action=changefilesystem</action> |
| 1895 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1896 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1897 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1898 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1899 | <action function="set">tw_text2=FAT</action> |
| 1900 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1901 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1902 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1903 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1904 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1905 | <action function="page">confirm_action</action> |
| 1906 | </actions> |
| 1907 | </button> |
| 1908 | |
| 1909 | <button style="main_button"> |
| 1910 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1911 | <placement x="%col1_x_right%" y="%row6_y%"/> |
| 1912 | <text>exFAT</text> |
| 1913 | <actions> |
| 1914 | <action function="set">tw_back=refreshfilesystem</action> |
| 1915 | <action function="set">tw_action=changefilesystem</action> |
| 1916 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1917 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1918 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1919 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1920 | <action function="set">tw_text2=exFAT</action> |
| 1921 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1922 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1923 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1924 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1925 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1926 | <action function="page">confirm_action</action> |
| 1927 | </actions> |
| 1928 | </button> |
| 1929 | |
| 1930 | <button style="main_button"> |
| 1931 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1932 | <placement x="%col1_x_right%" y="%row11_y%"/> |
| 1933 | <text>F2FS</text> |
| 1934 | <actions> |
| 1935 | <action function="set">tw_back=refreshfilesystem</action> |
| 1936 | <action function="set">tw_action=changefilesystem</action> |
| 1937 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1938 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1939 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1940 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1941 | <action function="set">tw_text2=F2FS</action> |
| 1942 | <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action> |
| 1943 | <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action> |
| 1944 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1945 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1946 | <action function="set">tw_slider_text={@swipe_change_s= Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1947 | <action function="page">confirm_action</action> |
| 1948 | </actions> |
| 1949 | </button> |
| 1950 | |
| 1951 | <action> |
| 1952 | <touch key="home"/> |
| 1953 | <action function="page">main</action> |
| 1954 | </action> |
| 1955 | |
| 1956 | <action> |
| 1957 | <touch key="back"/> |
| 1958 | <action function="page">partitionoptions</action> |
| 1959 | </action> |
| 1960 | </page> |
| 1961 | |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1962 | <page name="backup"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1963 | <template name="page"/> |
| 1964 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 1965 | <action> |
| 1966 | <conditions> |
| 1967 | <condition var1="tw_is_fbe" var2="1"/> |
| 1968 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 1969 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 1970 | </conditions> |
| 1971 | <actions> |
| 1972 | <action function="set">tw_multiuser_warning_destination=backup</action> |
| 1973 | <action function="page">multiuser_warning</action> |
| 1974 | </actions> |
| 1975 | </action> |
| 1976 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1977 | <template name="statusbar"/> |
| 1978 | |
| 1979 | <text style="text_m"> |
| 1980 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1981 | <text>{@backup_hdr=Backup} > {@select_storage_hdr=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1982 | </text> |
| 1983 | |
| 1984 | <partitionlist style="partitionlist_headerless_rb"> |
| 1985 | <data name="tw_storage_path"/> |
| 1986 | <listtype name="storage"/> |
| 1987 | </partitionlist> |
| 1988 | |
| 1989 | <button> |
| 1990 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 1991 | <highlight color="%highlight_color%"/> |
| 1992 | <image resource="q_btn_refresh"/> |
| 1993 | <actions> |
| 1994 | <action function="refreshsizes"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 1995 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1996 | </actions> |
| 1997 | </button> |
| 1998 | |
| 1999 | <button> |
| 2000 | <condition var1="tw_back" var2="backup_confirm"/> |
| 2001 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2002 | <highlight color="%highlight_color%"/> |
| 2003 | <image resource="q_btn_accept"/> |
| 2004 | <action function="page">backup_confirm</action> |
| 2005 | </button> |
| 2006 | |
| 2007 | <button> |
| 2008 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2009 | <highlight color="%highlight_color%"/> |
| 2010 | <image resource="q_btn_arrow_right"/> |
| 2011 | <actions> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2012 | <action function="set">tw_back=backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2013 | <action function="page">backup_selectpartitions</action> |
| 2014 | </actions> |
| 2015 | </button> |
| 2016 | |
| 2017 | <action> |
| 2018 | <touch key="home"/> |
| 2019 | <action function="page">main</action> |
| 2020 | </action> |
| 2021 | |
| 2022 | <action> |
| 2023 | <touch key="back"/> |
| 2024 | <action function="page">%tw_back%</action> |
| 2025 | </action> |
| 2026 | |
| 2027 | <action> |
| 2028 | <touch key="power+voldown"/> |
| 2029 | <action function="screenshot"/> |
| 2030 | </action> |
| 2031 | </page> |
| 2032 | |
| 2033 | <page name="backup_selectpartitions"> |
| 2034 | <template name="page"/> |
| 2035 | |
| 2036 | <template name="statusbar"/> |
| 2037 | |
| 2038 | <text style="text_m"> |
| 2039 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2040 | <text>{@backup_hdr=Backup} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2041 | </text> |
| 2042 | |
| 2043 | <partitionlist style="partitionlist_headerless_cb"> |
| 2044 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2045 | <data name="tw_backup_list"/> |
| 2046 | <listtype name="backup"/> |
| 2047 | </partitionlist> |
| 2048 | |
| 2049 | <fill color="%accent_color%"> |
| 2050 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2051 | </fill> |
| 2052 | |
| 2053 | <button> |
| 2054 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2055 | <highlight color="%highlight_color%"/> |
| 2056 | <image resource="q_btn_arrow_left"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2057 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2058 | </button> |
| 2059 | |
| 2060 | <button> |
| 2061 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2062 | <highlight color="%highlight_color%"/> |
| 2063 | <image resource="q_btn_refresh"/> |
| 2064 | <action function="page">backup_selectpartitions</action> |
| 2065 | </button> |
| 2066 | |
| 2067 | <button> |
| 2068 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2069 | <highlight color="%highlight_color%"/> |
| 2070 | <image resource="q_btn_accept"/> |
| 2071 | <action function="page">backup_confirm</action> |
| 2072 | </button> |
| 2073 | |
| 2074 | <button> |
| 2075 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2076 | <highlight color="%highlight_color%"/> |
| 2077 | <image resource="q_btn_arrow_right"/> |
| 2078 | <actions> |
| 2079 | <action function="set">tw_back=backup_selectpartitions</action> |
| 2080 | <action function="page">backup_options</action> |
| 2081 | </actions> |
| 2082 | </button> |
| 2083 | |
| 2084 | <action> |
| 2085 | <touch key="home"/> |
| 2086 | <action function="page">main</action> |
| 2087 | </action> |
| 2088 | |
| 2089 | <action> |
| 2090 | <touch key="back"/> |
| 2091 | <action function="page">%tw_back%</action> |
| 2092 | </action> |
| 2093 | |
| 2094 | <action> |
| 2095 | <touch key="power+voldown"/> |
| 2096 | <action function="screenshot"/> |
| 2097 | </action> |
| 2098 | </page> |
| 2099 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2100 | <page name="multiuser_warning"> |
| 2101 | <template name="page"/> |
| 2102 | |
| 2103 | <text style="text_m"> |
| 2104 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2105 | <text>{@multiuser_warning_hdr=Multiuser Warning}</text> |
| 2106 | </text> |
| 2107 | |
| 2108 | <text style="text_m_fail"> |
| 2109 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 2110 | <text>{@multiuser_warning1=Not all users decrypted!}</text> |
| 2111 | </text> |
| 2112 | |
| 2113 | <text style="text_m_fail"> |
| 2114 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
| 2115 | <text>{@multiuser_warning2=Backup/restore operations may fail!}</text> |
| 2116 | </text> |
| 2117 | |
| 2118 | <button style="main_button_full_width"> |
| 2119 | <placement x="%col1_x_left%" y="%row6_y%"/> |
| 2120 | <text>{@decrypt_users=Decrypt Users}</text> |
| 2121 | <action function="page">decrypt_users</action> |
| 2122 | </button> |
| 2123 | |
| 2124 | <slider> |
| 2125 | <text>{@multiuser_warning_accept=Continue Anyway}</text> |
| 2126 | <actions> |
| 2127 | <action function="set">tw_multiuser_warning_accepted=1</action> |
| 2128 | <action function="page">%tw_multiuser_warning_destination%</action> |
| 2129 | </actions> |
| 2130 | </slider> |
| 2131 | |
| 2132 | <action> |
| 2133 | <touch key="home"/> |
| 2134 | <action function="page">main</action> |
| 2135 | </action> |
| 2136 | |
| 2137 | <action> |
| 2138 | <touch key="back"/> |
| 2139 | <action function="page">main</action> |
| 2140 | </action> |
| 2141 | </page> |
| 2142 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2143 | <page name="backup_options"> |
| 2144 | <template name="page"/> |
| 2145 | |
| 2146 | <template name="statusbar"/> |
| 2147 | |
| 2148 | <text style="text_m"> |
| 2149 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2150 | <text>{@backup_hdr=Backup} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2151 | </text> |
| 2152 | |
| 2153 | <listbox style="scrolllist"> |
| 2154 | <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] | 2155 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2156 | <data variable="tw_use_compression"/> |
| 2157 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2158 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 2159 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2160 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 2161 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2162 | <data variable="tw_disable_free_space"/> |
| 2163 | </listitem> |
| 2164 | </listbox> |
| 2165 | |
| 2166 | <button> |
| 2167 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2168 | <highlight color="%highlight_color%"/> |
| 2169 | <image resource="q_btn_arrow_left"/> |
| 2170 | <action function="page">backup_selectpartitions</action> |
| 2171 | </button> |
| 2172 | |
| 2173 | <button> |
| 2174 | <conditions> |
| 2175 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2176 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2177 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2178 | </conditions> |
| 2179 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2180 | <highlight color="%highlight_color%"/> |
| 2181 | <image resource="q_btn_encryption_dis"/> |
| 2182 | <actions> |
| 2183 | <action function="set">tw_password_not_match=0</action> |
| 2184 | <action function="set">tw_back=backup_options</action> |
| 2185 | <action function="page">backupencryption</action> |
| 2186 | </actions> |
| 2187 | </button> |
| 2188 | |
| 2189 | <button> |
| 2190 | <conditions> |
| 2191 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2192 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2193 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2194 | </conditions> |
| 2195 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2196 | <highlight color="%highlight_color%"/> |
| 2197 | <image resource="q_btn_encryption_en"/> |
| 2198 | <actions> |
| 2199 | <action function="set">tw_password_not_match=0</action> |
| 2200 | <action function="set">tw_back=backup_options</action> |
| 2201 | <action function="page">backupencryption</action> |
| 2202 | </actions> |
| 2203 | </button> |
| 2204 | |
| 2205 | <button> |
| 2206 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2207 | <highlight color="%highlight_color%"/> |
| 2208 | <image resource="q_btn_accept_transp"/> |
| 2209 | <actions> |
| 2210 | <action function="set">tw_back=backup_options</action> |
| 2211 | <action function="page">backup_confirm</action> |
| 2212 | </actions> |
| 2213 | </button> |
| 2214 | |
| 2215 | <action> |
| 2216 | <touch key="home"/> |
| 2217 | <action function="page">main</action> |
| 2218 | </action> |
| 2219 | |
| 2220 | <action> |
| 2221 | <touch key="back"/> |
| 2222 | <action function="page">%tw_back%</action> |
| 2223 | </action> |
| 2224 | |
| 2225 | <action> |
| 2226 | <touch key="power+voldown"/> |
| 2227 | <action function="screenshot"/> |
| 2228 | </action> |
| 2229 | </page> |
| 2230 | |
| 2231 | <page name="backup_confirm"> |
| 2232 | <template name="page"/> |
| 2233 | |
| 2234 | <template name="statusbar"/> |
| 2235 | |
| 2236 | <text style="text_m"> |
| 2237 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 090751a | 2016-01-23 16:31:41 -0600 | [diff] [blame] | 2238 | <text>{@backup_hdr=Backup} > {@backup_confirm_hdr=Confirm Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2239 | </text> |
| 2240 | |
| 2241 | <text style="text_m_accent"> |
| 2242 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2243 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2244 | </text> |
| 2245 | |
| 2246 | <text style="text_m"> |
| 2247 | <placement x="%col1_x_left%" y="%row2_y%"/> |
| 2248 | <text>%tw_backup_name%</text> |
| 2249 | </text> |
| 2250 | |
| 2251 | <fill color="%accent_color%"> |
| 2252 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/> |
| 2253 | </fill> |
| 2254 | |
| 2255 | <button> |
| 2256 | <fill color="%transparent%"/> |
| 2257 | <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2258 | <actions> |
| 2259 | <action function="set">tw_back=backup_confirm</action> |
| 2260 | <action function="set">tw_fileexists=0</action> |
| 2261 | <action function="page">backup_name1</action> |
| 2262 | </actions> |
| 2263 | </button> |
| 2264 | |
| 2265 | <fill color="%background_color%"> |
| 2266 | <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2267 | </fill> |
| 2268 | |
| 2269 | <text style="text_m_accent"> |
| 2270 | <placement x="%col1_x_left%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2271 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2272 | </text> |
| 2273 | |
| 2274 | <partitionlist style="partitionlist_summary"> |
| 2275 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 2276 | <data name="tw_backup_list"/> |
| 2277 | <listtype name="backup"/> |
| 2278 | </partitionlist> |
| 2279 | |
| 2280 | <button> |
| 2281 | <fill color="%transparent%"/> |
| 2282 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 2283 | <actions> |
| 2284 | <action function="set">tw_back=backup_confirm</action> |
| 2285 | <action function="page">backup_selectpartitions</action> |
| 2286 | </actions> |
| 2287 | </button> |
| 2288 | |
| 2289 | <text style="text_m_accent"> |
| 2290 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2291 | <text>{@storage=Storage:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2292 | </text> |
| 2293 | |
| 2294 | <text style="text_m"> |
| 2295 | <placement x="%col1_x_right%" y="%row2_y%"/> |
| 2296 | <text>%tw_storage_display_name%</text> |
| 2297 | </text> |
| 2298 | |
| 2299 | <button> |
| 2300 | <fill color="%transparent%"/> |
| 2301 | <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/> |
| 2302 | <actions> |
| 2303 | <action function="set">tw_back=backup_confirm</action> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2304 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2305 | </actions> |
| 2306 | </button> |
| 2307 | |
| 2308 | <text style="text_m_accent"> |
| 2309 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2310 | <text>{@encryption=Encryption:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2311 | </text> |
| 2312 | |
| 2313 | <text style="text_m"> |
| 2314 | <conditions> |
| 2315 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2316 | <condition var1="tw_encrypt_backup" var2="0"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2317 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2318 | </conditions> |
| 2319 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2320 | <text>{@disabled=Disabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2321 | </text> |
| 2322 | |
| 2323 | <text style="text_m"> |
| 2324 | <conditions> |
| 2325 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 2326 | <condition var1="tw_encrypt_backup" var2="1"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2327 | <condition var1="tw_enable_adb_backup" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2328 | </conditions> |
| 2329 | <placement x="%col1_x_right%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2330 | <text>{@enabled=Enabled}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2331 | </text> |
| 2332 | |
| 2333 | <button> |
| 2334 | <fill color="%transparent%"/> |
| 2335 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/> |
| 2336 | <actions> |
| 2337 | <action function="set">tw_back=backup_confirm</action> |
| 2338 | <action function="page">backupencryption</action> |
| 2339 | </actions> |
| 2340 | </button> |
| 2341 | |
| 2342 | <listbox style="listbox_options"> |
| 2343 | <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] | 2344 | <listitem name="{@enable_backup_comp_chk=Enable compression}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2345 | <data variable="tw_use_compression"/> |
| 2346 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 2347 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 2348 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2349 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 2350 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2351 | <data variable="tw_disable_free_space"/> |
| 2352 | </listitem> |
| 2353 | </listbox> |
| 2354 | |
| 2355 | <text style="text_m_accent"> |
| 2356 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2357 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2358 | </text> |
| 2359 | |
| 2360 | <button> |
| 2361 | <fill color="%transparent%"/> |
| 2362 | <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/> |
| 2363 | <actions> |
| 2364 | <action function="set">tw_back=backup_confirm</action> |
| 2365 | <action function="page">backup_options</action> |
| 2366 | </actions> |
| 2367 | </button> |
| 2368 | |
| 2369 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2370 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2371 | <action function="page">backup_run</action> |
| 2372 | </slider> |
| 2373 | |
| 2374 | <action> |
| 2375 | <touch key="home"/> |
| 2376 | <action function="page">main</action> |
| 2377 | </action> |
| 2378 | |
| 2379 | <action> |
| 2380 | <touch key="back"/> |
bigbiff | ce8f83c | 2015-12-12 18:30:21 -0500 | [diff] [blame] | 2381 | <action function="page">backup</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2382 | </action> |
| 2383 | </page> |
| 2384 | |
| 2385 | <page name="backup_name1"> |
| 2386 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2387 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2388 | <action function="generatebackupname"/> |
| 2389 | </action> |
| 2390 | |
| 2391 | <action> |
| 2392 | <action function="page">backup_name2</action> |
| 2393 | </action> |
| 2394 | </page> |
| 2395 | |
| 2396 | <page name="backup_name2"> |
| 2397 | <template name="page"/> |
| 2398 | |
| 2399 | <template name="statusbar"/> |
| 2400 | |
| 2401 | <text style="text_m"> |
| 2402 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2403 | <text>{@backup_hdr=Backup} > {@backup_name_hdr=Set Backup Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2404 | </text> |
| 2405 | |
| 2406 | <text style="text_m_accent"> |
| 2407 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2408 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2409 | </text> |
| 2410 | |
| 2411 | <input> |
| 2412 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2413 | <text>%tw_backup_name%</text> |
| 2414 | <data name="tw_backup_name"/> |
| 2415 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2416 | <actions> |
| 2417 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 2418 | <action function="set">tw_existpage=backup_name2</action> |
| 2419 | <action function="set">tw_notexistpage=backup_confirm</action> |
| 2420 | <action function="page">filecheck</action> |
| 2421 | </actions> |
| 2422 | </input> |
| 2423 | |
| 2424 | <fill color="%accent_color%"> |
| 2425 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2426 | </fill> |
| 2427 | |
| 2428 | <fill color="%text_fail_color%"> |
| 2429 | <condition var1="tw_fileexists" var2="1"/> |
| 2430 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2431 | </fill> |
| 2432 | |
| 2433 | <text style="text_m_fail"> |
| 2434 | <condition var1="tw_fileexists" var2="1"/> |
| 2435 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2436 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2437 | </text> |
| 2438 | |
| 2439 | <button style="main_button_half_height"> |
| 2440 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2441 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2442 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2443 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2444 | <action function="page">backup_confirm</action> |
| 2445 | </actions> |
| 2446 | </button> |
| 2447 | |
| 2448 | <button style="main_button_half_height"> |
| 2449 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2450 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2451 | <action function="appenddatetobackupname"/> |
| 2452 | </button> |
| 2453 | |
| 2454 | <template name="keyboardtemplate"/> |
| 2455 | |
| 2456 | <action> |
| 2457 | <touch key="home"/> |
| 2458 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2459 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2460 | <action function="page">main</action> |
| 2461 | </actions> |
| 2462 | </action> |
| 2463 | |
| 2464 | <action> |
| 2465 | <touch key="back"/> |
| 2466 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2467 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2468 | <action function="page">backup_confirm</action> |
| 2469 | </actions> |
| 2470 | </action> |
| 2471 | </page> |
| 2472 | |
| 2473 | <page name="backupencryption"> |
| 2474 | <template name="page"/> |
| 2475 | |
| 2476 | <template name="statusbar"/> |
| 2477 | |
| 2478 | <text style="text_m"> |
| 2479 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2480 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2481 | </text> |
| 2482 | |
| 2483 | <text style="text_m_accent"> |
| 2484 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2485 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2486 | </text> |
| 2487 | |
| 2488 | <input> |
| 2489 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2490 | <text>%tw_backup_encrypt_display%</text> |
| 2491 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 2492 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2493 | <action function="page">backupencryption2</action> |
| 2494 | </input> |
| 2495 | |
| 2496 | <fill color="%accent_color%"> |
| 2497 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2498 | </fill> |
| 2499 | |
| 2500 | <fill color="%text_fail_color%"> |
| 2501 | <condition var1="tw_password_not_match" var2="1"/> |
| 2502 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2503 | </fill> |
| 2504 | |
| 2505 | <text style="text_m_fail"> |
| 2506 | <condition var1="tw_password_not_match" var2="1"/> |
| 2507 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2508 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2509 | </text> |
| 2510 | |
| 2511 | <button style="main_button_half_height"> |
| 2512 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2513 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2514 | <actions> |
| 2515 | <action function="set">tw_encrypt_backup=0</action> |
| 2516 | <action function="set">tw_backup_password=</action> |
| 2517 | <action function="set">tw_backup_password2=</action> |
| 2518 | <action function="set">tw_backup_encrypt_display=</action> |
| 2519 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2520 | <action function="page">%tw_back%</action> |
| 2521 | </actions> |
| 2522 | </button> |
| 2523 | |
| 2524 | <template name="keyboardtemplate"/> |
| 2525 | |
| 2526 | <action> |
| 2527 | <touch key="home"/> |
| 2528 | <action function="page">main</action> |
| 2529 | </action> |
| 2530 | |
| 2531 | <action> |
| 2532 | <touch key="back"/> |
| 2533 | <action function="page">%tw_back%</action> |
| 2534 | </action> |
| 2535 | </page> |
| 2536 | |
| 2537 | <page name="backupencryption2"> |
| 2538 | <template name="page"/> |
| 2539 | |
| 2540 | <template name="statusbar"/> |
| 2541 | |
| 2542 | <text style="text_m"> |
| 2543 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2544 | <text>{@backup_hdr=Backup} > {@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2545 | </text> |
| 2546 | |
| 2547 | <text style="text_m_accent"> |
| 2548 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2549 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2550 | </text> |
| 2551 | |
| 2552 | <input> |
| 2553 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2554 | <text>%tw_backup_encrypt_display2%</text> |
| 2555 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 2556 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2557 | <action function="page">checkbackuppassword</action> |
| 2558 | </input> |
| 2559 | |
| 2560 | <fill color="%accent_color%"> |
| 2561 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2562 | </fill> |
| 2563 | |
| 2564 | <button style="main_button_half_height"> |
| 2565 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2566 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2567 | <actions> |
| 2568 | <action function="set">tw_encrypt_backup=0</action> |
| 2569 | <action function="set">tw_backup_password=</action> |
| 2570 | <action function="set">tw_backup_password2=</action> |
| 2571 | <action function="set">tw_backup_encrypt_display=</action> |
| 2572 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2573 | <action function="page">%tw_back%</action> |
| 2574 | </actions> |
| 2575 | </button> |
| 2576 | |
| 2577 | <template name="keyboardtemplate"/> |
| 2578 | |
| 2579 | <action> |
| 2580 | <touch key="home"/> |
| 2581 | <action function="page">main</action> |
| 2582 | </action> |
| 2583 | |
| 2584 | <action> |
| 2585 | <touch key="back"/> |
| 2586 | <action function="page">%tw_back%</action> |
| 2587 | </action> |
| 2588 | </page> |
| 2589 | |
| 2590 | <page name="checkbackuppassword"> |
| 2591 | <action> |
| 2592 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 2593 | <actions> |
| 2594 | <action function="set">tw_encrypt_backup=1</action> |
| 2595 | <action function="page">%tw_back%</action> |
| 2596 | </actions> |
| 2597 | </action> |
| 2598 | |
| 2599 | <action> |
| 2600 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 2601 | <actions> |
| 2602 | <action function="set">tw_encrypt_backup=0</action> |
| 2603 | <action function="set">tw_password_not_match=1</action> |
| 2604 | <action function="set">tw_backup_password=</action> |
| 2605 | <action function="set">tw_backup_password2=</action> |
| 2606 | <action function="set">tw_backup_encrypt_display=</action> |
| 2607 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2608 | <action function="page">backupencryption</action> |
| 2609 | </actions> |
| 2610 | </action> |
| 2611 | </page> |
| 2612 | |
| 2613 | <page name="backup_run"> |
| 2614 | <template name="page"/> |
| 2615 | |
| 2616 | <template name="statusbar"/> |
| 2617 | |
| 2618 | <text style="text_m"> |
| 2619 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2620 | <text>%tw_operation% %tw_partition%</text> |
| 2621 | </text> |
| 2622 | |
| 2623 | <template name="console"/> |
| 2624 | |
| 2625 | <template name="progress_bar"/> |
| 2626 | |
| 2627 | <text style="text_m"> |
| 2628 | <placement x="%indent%" y="%row13a_y%"/> |
| 2629 | <text>%tw_file_progress%</text> |
| 2630 | </text> |
| 2631 | |
| 2632 | <text style="text_m"> |
| 2633 | <placement x="%indent%" y="%row14a_y%"/> |
| 2634 | <text>%tw_size_progress%</text> |
| 2635 | </text> |
| 2636 | |
| 2637 | <button style="main_button_half_height"> |
| 2638 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2639 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2640 | <action function="cancelbackup"/> |
| 2641 | </button> |
| 2642 | |
| 2643 | <action> |
| 2644 | <action function="nandroid">backup</action> |
| 2645 | </action> |
| 2646 | |
| 2647 | <action> |
| 2648 | <condition var1="tw_operation_state" var2="1"/> |
| 2649 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2650 | <actions> |
| 2651 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2652 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2653 | <action function="set">tw_show_reboot=1</action> |
| 2654 | <action function="page">action_complete</action> |
| 2655 | </actions> |
| 2656 | </action> |
| 2657 | |
| 2658 | <action> |
| 2659 | <condition var1="tw_operation_state" var2="1"/> |
| 2660 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2661 | <actions> |
| 2662 | <action function="set">tw_back=backup_selectpartitions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2663 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2664 | <action function="set">tw_show_reboot=1</action> |
| 2665 | <action function="page">action_complete</action> |
| 2666 | </actions> |
| 2667 | </action> |
| 2668 | </page> |
| 2669 | |
| 2670 | <page name="restore"> |
| 2671 | <template name="page"/> |
| 2672 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 2673 | <action> |
| 2674 | <conditions> |
| 2675 | <condition var1="tw_is_fbe" var2="1"/> |
| 2676 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2677 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2678 | </conditions> |
| 2679 | <actions> |
| 2680 | <action function="set">tw_multiuser_warning_destination=restore</action> |
| 2681 | <action function="page">multiuser_warning</action> |
| 2682 | </actions> |
| 2683 | </action> |
| 2684 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2685 | <template name="statusbar"/> |
| 2686 | |
| 2687 | <text style="text_m"> |
| 2688 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2689 | <text>{@restore_hdr=Restore} > {@sel_backup_hdr=Select Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2690 | </text> |
| 2691 | |
| 2692 | <fileselector> |
| 2693 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 2694 | <text>%tw_storage_display_name%</text> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 2695 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2696 | <path name="tw_backups_folder"/> |
| 2697 | <data name="tw_restore" default=""/> |
| 2698 | <selection name="tw_restore_name"/> |
| 2699 | </fileselector> |
| 2700 | |
| 2701 | <button> |
| 2702 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2703 | <highlight color="%highlight_color%"/> |
| 2704 | <image resource="q_btn_storage"/> |
| 2705 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2706 | <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] | 2707 | <action function="set">tw_back=restore</action> |
| 2708 | <action function="page">select_storage</action> |
| 2709 | </actions> |
| 2710 | </button> |
| 2711 | |
| 2712 | <action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2713 | <condition var1="tw_crypto_pwtype" op="!=" var2="0"/> |
| 2714 | <actions> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 2715 | <action function="page">restore_keymaster</action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2716 | </actions> |
| 2717 | </action> |
| 2718 | |
| 2719 | <action> |
| 2720 | <condition var1="tw_restore" op="modified"/> |
| 2721 | <actions> |
| 2722 | <action function="readBackup"/> |
| 2723 | <action function="set">tw_back=restore</action> |
| 2724 | <action function="page">restore_read</action> |
| 2725 | </actions> |
| 2726 | </action> |
| 2727 | |
| 2728 | <action> |
| 2729 | <touch key="home"/> |
| 2730 | <action function="page">main</action> |
| 2731 | </action> |
| 2732 | |
| 2733 | <action> |
| 2734 | <touch key="back"/> |
| 2735 | <action function="page">main</action> |
| 2736 | </action> |
| 2737 | </page> |
| 2738 | |
| 2739 | <page name="restore_force"> |
| 2740 | <template name="page"/> |
| 2741 | |
| 2742 | <action> |
| 2743 | <conditions> |
| 2744 | <condition var1="tw_is_fbe" var2="1"/> |
| 2745 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 2746 | <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/> |
| 2747 | </conditions> |
| 2748 | <actions> |
sekaiacg | 750c6aa | 2021-12-06 12:27:46 +0800 | [diff] [blame] | 2749 | <action function="set">tw_multiuser_warning_destination=restore_force</action> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 2750 | <action function="page">multiuser_warning</action> |
| 2751 | </actions> |
| 2752 | </action> |
| 2753 | |
| 2754 | <template name="statusbar"/> |
| 2755 | |
| 2756 | <text style="text_m"> |
| 2757 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 2758 | <text>{@restore_hdr=Restore} > {@sel_backup_hdr=Select Backup}</text> |
| 2759 | </text> |
| 2760 | |
| 2761 | <fileselector> |
| 2762 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 2763 | <text>%tw_storage_display_name%</text> |
| 2764 | <filter folders="1" files="1" nav="0" extn=".ab"/> |
| 2765 | <path name="tw_backups_folder"/> |
| 2766 | <data name="tw_restore" default=""/> |
| 2767 | <selection name="tw_restore_name"/> |
| 2768 | </fileselector> |
| 2769 | |
| 2770 | <button> |
| 2771 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2772 | <highlight color="%highlight_color%"/> |
| 2773 | <image resource="q_btn_storage"/> |
| 2774 | <actions> |
| 2775 | <action function="set">tw_storagetext={@restore_btn=Restore} > {@select_storage_btn=Select Storage}</action> |
| 2776 | <action function="set">tw_back=restore</action> |
| 2777 | <action function="page">select_storage</action> |
| 2778 | </actions> |
| 2779 | </button> |
| 2780 | |
| 2781 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2782 | <condition var1="tw_restore" op="modified"/> |
| 2783 | <actions> |
| 2784 | <action function="readBackup"/> |
| 2785 | <action function="set">tw_back=restore</action> |
| 2786 | <action function="page">restore_read</action> |
| 2787 | </actions> |
| 2788 | </action> |
| 2789 | |
| 2790 | <action> |
| 2791 | <touch key="home"/> |
| 2792 | <action function="page">main</action> |
| 2793 | </action> |
| 2794 | |
| 2795 | <action> |
| 2796 | <touch key="back"/> |
| 2797 | <action function="page">main</action> |
| 2798 | </action> |
| 2799 | </page> |
| 2800 | |
| 2801 | <page name="restore_read"> |
| 2802 | <action> |
| 2803 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2804 | <actions> |
| 2805 | <action function="set">tw_password_fail=0</action> |
| 2806 | <action function="page">restore_decrypt</action> |
| 2807 | </actions> |
| 2808 | </action> |
| 2809 | |
| 2810 | <action> |
| 2811 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2812 | <actions> |
| 2813 | <action function="page">restore_select</action> |
| 2814 | </actions> |
| 2815 | </action> |
| 2816 | </page> |
| 2817 | |
| 2818 | <page name="restore_decrypt"> |
| 2819 | <template name="page"/> |
| 2820 | |
| 2821 | <template name="statusbar"/> |
| 2822 | |
| 2823 | <text style="text_m"> |
| 2824 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2825 | <text>{@restore_hdr=Restore} > {@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2826 | </text> |
| 2827 | |
| 2828 | <text style="text_m_accent"> |
| 2829 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2830 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2831 | </text> |
| 2832 | |
| 2833 | <input> |
| 2834 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 2835 | <text>%tw_restore_display%</text> |
| 2836 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2837 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2838 | <action function="page">try_restore_decrypt</action> |
| 2839 | </input> |
| 2840 | |
| 2841 | <fill color="%accent_color%"> |
| 2842 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 2843 | </fill> |
| 2844 | |
| 2845 | <fill color="%text_fail_color%"> |
| 2846 | <condition var1="tw_password_fail" var2="1"/> |
| 2847 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2848 | </fill> |
| 2849 | |
| 2850 | <text style="text_m_fail"> |
| 2851 | <condition var1="tw_password_fail" var2="1"/> |
| 2852 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2853 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2854 | </text> |
| 2855 | |
| 2856 | <button style="main_button_half_height"> |
| 2857 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2858 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2859 | <actions> |
| 2860 | <action function="set">tw_page_done=1</action> |
| 2861 | <action function="page">restore</action> |
| 2862 | </actions> |
| 2863 | </button> |
| 2864 | |
| 2865 | <button style="main_button_half_height"> |
| 2866 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2867 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2868 | <actions> |
| 2869 | <action function="set">tw_back=restore</action> |
| 2870 | <action function="set">tw_action=cmd</action> |
| 2871 | <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] | 2872 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2873 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2874 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2875 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2876 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2877 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2878 | <action function="page">confirm_action</action> |
| 2879 | </actions> |
| 2880 | </button> |
| 2881 | |
| 2882 | <template name="keyboardtemplate"/> |
| 2883 | |
| 2884 | <action> |
| 2885 | <touch key="home"/> |
| 2886 | <action function="page">main</action> |
| 2887 | </action> |
| 2888 | |
| 2889 | <action> |
| 2890 | <touch key="back"/> |
| 2891 | <action function="page">restore</action> |
| 2892 | </action> |
| 2893 | </page> |
| 2894 | |
| 2895 | <page name="try_restore_decrypt"> |
| 2896 | <template name="page"/> |
| 2897 | |
| 2898 | <template name="statusbar"/> |
| 2899 | |
| 2900 | <text style="text_m"> |
| 2901 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2902 | <text>{@restore_hdr=Restore} > {@restore_try_decrypt_s=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2903 | </text> |
| 2904 | |
| 2905 | <template name="console"/> |
| 2906 | |
| 2907 | <template name="progress_bar"/> |
| 2908 | |
| 2909 | <action> |
| 2910 | <action function="decrypt_backup"/> |
| 2911 | </action> |
| 2912 | |
| 2913 | <action> |
| 2914 | <conditions> |
| 2915 | <condition var1="tw_operation_state" var2="1"/> |
| 2916 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2917 | </conditions> |
| 2918 | <actions> |
| 2919 | <action function="set">tw_password_fail=1</action> |
| 2920 | <action function="page">restore_decrypt</action> |
| 2921 | </actions> |
| 2922 | </action> |
| 2923 | |
| 2924 | <action> |
| 2925 | <conditions> |
| 2926 | <condition var1="tw_operation_state" var2="1"/> |
| 2927 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2928 | </conditions> |
| 2929 | <actions> |
| 2930 | <action function="set">tw_page_done=1</action> |
| 2931 | <action function="page">restore_select</action> |
| 2932 | </actions> |
| 2933 | </action> |
| 2934 | </page> |
| 2935 | |
| 2936 | <page name="restore_select"> |
| 2937 | <template name="page"/> |
| 2938 | |
| 2939 | <template name="statusbar"/> |
| 2940 | |
| 2941 | <text style="text_m"> |
| 2942 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2943 | <text>{@restore_hdr=Restore} > {@sel_part_hdr=Select Partitions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2944 | </text> |
| 2945 | |
| 2946 | <partitionlist style="partitionlist_headerless_cb"> |
| 2947 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 2948 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2949 | <listtype name="restore"/> |
| 2950 | </partitionlist> |
| 2951 | |
| 2952 | <fill color="%accent_color%"> |
| 2953 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 2954 | </fill> |
| 2955 | |
| 2956 | <button> |
| 2957 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 2958 | <highlight color="%highlight_color%"/> |
| 2959 | <image resource="q_btn_arrow_left"/> |
| 2960 | <action function="page">restore</action> |
| 2961 | </button> |
| 2962 | |
| 2963 | <button> |
| 2964 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 2965 | <highlight color="%highlight_color%"/> |
| 2966 | <image resource="q_btn_delete"/> |
| 2967 | <actions> |
| 2968 | <action function="set">tw_back=restore</action> |
| 2969 | <action function="set">tw_action=cmd</action> |
| 2970 | <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] | 2971 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2972 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2973 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2974 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2975 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2976 | <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2977 | <action function="page">confirm_action</action> |
| 2978 | </actions> |
| 2979 | </button> |
| 2980 | |
| 2981 | <button> |
| 2982 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 2983 | <highlight color="%highlight_color%"/> |
| 2984 | <image resource="q_btn_accept"/> |
| 2985 | <action function="page">restore_confirm</action> |
| 2986 | </button> |
| 2987 | |
| 2988 | <button> |
| 2989 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 2990 | <highlight color="%highlight_color%"/> |
| 2991 | <image resource="q_btn_arrow_right"/> |
| 2992 | <actions> |
| 2993 | <action function="set">tw_back=restore_select</action> |
| 2994 | <action function="page">restore_options</action> |
| 2995 | </actions> |
| 2996 | </button> |
| 2997 | |
| 2998 | <action> |
| 2999 | <touch key="home"/> |
| 3000 | <action function="page">main</action> |
| 3001 | </action> |
| 3002 | |
| 3003 | <action> |
| 3004 | <touch key="back"/> |
| 3005 | <action function="page">%tw_back%</action> |
| 3006 | </action> |
| 3007 | </page> |
| 3008 | |
| 3009 | <page name="restore_options"> |
| 3010 | <template name="page"/> |
| 3011 | |
| 3012 | <template name="statusbar"/> |
| 3013 | |
| 3014 | <text style="text_m"> |
| 3015 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3016 | <text>{@restore_hdr=Restore} > {@options_hdr=Options}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3017 | </text> |
| 3018 | |
| 3019 | <listbox style="scrolllist"> |
bigbiff bigbiff | 19fb79c | 2016-09-05 21:04:51 -0400 | [diff] [blame] | 3020 | <condition var1="tw_enable_adb_backup" op="=" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3021 | <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] | 3022 | <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}"> |
| 3023 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3024 | </listitem> |
| 3025 | </listbox> |
| 3026 | |
| 3027 | <button> |
| 3028 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3029 | <highlight color="%highlight_color%"/> |
| 3030 | <image resource="q_btn_arrow_left"/> |
| 3031 | <action function="page">restore_select</action> |
| 3032 | </button> |
| 3033 | |
| 3034 | <button> |
| 3035 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3036 | <highlight color="%highlight_color%"/> |
| 3037 | <image resource="q_btn_accept_transp"/> |
| 3038 | <actions> |
| 3039 | <action function="set">tw_back=restore_options</action> |
| 3040 | <action function="page">restore_confirm</action> |
| 3041 | </actions> |
| 3042 | </button> |
| 3043 | |
| 3044 | <action> |
| 3045 | <touch key="home"/> |
| 3046 | <action function="page">main</action> |
| 3047 | </action> |
| 3048 | |
| 3049 | <action> |
| 3050 | <touch key="back"/> |
| 3051 | <action function="page">%tw_back%</action> |
| 3052 | </action> |
| 3053 | |
| 3054 | <action> |
| 3055 | <touch key="power+voldown"/> |
| 3056 | <action function="screenshot"/> |
| 3057 | </action> |
| 3058 | </page> |
| 3059 | |
| 3060 | <page name="renamebackup"> |
| 3061 | <template name="page"/> |
| 3062 | |
| 3063 | <template name="statusbar"/> |
| 3064 | |
| 3065 | <text style="text_m"> |
| 3066 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3067 | <text>{@restore_hdr=Restore} > {@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3068 | </text> |
| 3069 | |
| 3070 | <text style="text_m_accent"> |
| 3071 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3072 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3073 | </text> |
| 3074 | |
| 3075 | <input> |
| 3076 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 3077 | <text>%tw_backup_rename%</text> |
| 3078 | <data name="tw_backup_rename"/> |
| 3079 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 3080 | <actions> |
| 3081 | <action function="set">tw_back=restore</action> |
| 3082 | <action function="set">tw_action=cmd</action> |
| 3083 | <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] | 3084 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 3085 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 3086 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 3087 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 3088 | <action function="set">tw_slider_text={@swipe_rename= Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3089 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 3090 | <action function="set">tw_existpage=renamebackup</action> |
| 3091 | <action function="set">tw_notexistpage=confirm_action</action> |
| 3092 | <action function="page">filecheck</action> |
| 3093 | </actions> |
| 3094 | </input> |
| 3095 | |
| 3096 | <fill color="%accent_color%"> |
| 3097 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 3098 | </fill> |
| 3099 | |
| 3100 | <fill color="%text_fail_color%"> |
| 3101 | <condition var1="tw_fileexists" var2="1"/> |
| 3102 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 3103 | </fill> |
| 3104 | |
| 3105 | <text style="text_m_fail"> |
| 3106 | <condition var1="tw_fileexists" var2="1"/> |
| 3107 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3108 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3109 | </text> |
| 3110 | |
| 3111 | <button style="main_button_half_height"> |
| 3112 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3113 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3114 | <action function="page">restore_confirm</action> |
| 3115 | </button> |
| 3116 | |
| 3117 | <template name="keyboardtemplate"/> |
| 3118 | |
| 3119 | <action> |
| 3120 | <touch key="home"/> |
| 3121 | <action function="page">main</action> |
| 3122 | </action> |
| 3123 | |
| 3124 | <action> |
| 3125 | <touch key="back"/> |
| 3126 | <action function="page">restore_confirm</action> |
| 3127 | </action> |
| 3128 | </page> |
| 3129 | |
| 3130 | <page name="restore_confirm"> |
| 3131 | <template name="page"/> |
| 3132 | |
| 3133 | <template name="statusbar"/> |
| 3134 | |
| 3135 | <text style="text_m"> |
| 3136 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3137 | <text>{@restore_hdr=Restore} > {@confirm_hdr=Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3138 | </text> |
| 3139 | |
| 3140 | <text style="text_m_accent"> |
| 3141 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3142 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3143 | </text> |
| 3144 | |
| 3145 | <text style="text_m"> |
| 3146 | <placement x="%indent%" y="%row2_y%"/> |
| 3147 | <text>%tw_restore_name%</text> |
| 3148 | </text> |
| 3149 | |
| 3150 | <fill color="%accent_color%"> |
| 3151 | <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/> |
| 3152 | </fill> |
| 3153 | |
| 3154 | <button> |
| 3155 | <fill color="%transparent%"/> |
| 3156 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/> |
| 3157 | <actions> |
| 3158 | <action function="set">tw_back=restore_confirm</action> |
| 3159 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 3160 | <action function="set">tw_fileexists=0</action> |
| 3161 | <action function="page">renamebackup</action> |
| 3162 | </actions> |
| 3163 | </button> |
| 3164 | |
| 3165 | <text style="text_m_accent"> |
| 3166 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3167 | <text>{@partitions=Partitions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3168 | </text> |
| 3169 | |
| 3170 | <partitionlist style="partitionlist_summary"> |
| 3171 | <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/> |
| 3172 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 3173 | <listtype name="restore"/> |
| 3174 | </partitionlist> |
| 3175 | |
| 3176 | <button> |
| 3177 | <fill color="%transparent%"/> |
| 3178 | <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/> |
| 3179 | <actions> |
| 3180 | <action function="set">tw_back=restore_confirm</action> |
| 3181 | <action function="page">restore_select</action> |
| 3182 | </actions> |
| 3183 | </button> |
| 3184 | |
| 3185 | <listbox style="listbox_options"> |
| 3186 | <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] | 3187 | <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}"> |
| 3188 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3189 | </listitem> |
| 3190 | </listbox> |
| 3191 | |
| 3192 | <text style="text_m_accent"> |
| 3193 | <placement x="%col1_x_right%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3194 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3195 | </text> |
| 3196 | |
| 3197 | <button> |
| 3198 | <fill color="%transparent%"/> |
| 3199 | <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/> |
| 3200 | <actions> |
| 3201 | <action function="set">tw_back=restore_confirm</action> |
| 3202 | <action function="page">restore_options</action> |
| 3203 | </actions> |
| 3204 | </button> |
| 3205 | |
| 3206 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3207 | <text>{@swipe_restore_s= Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3208 | <action function="page">restore_run</action> |
| 3209 | </slider> |
| 3210 | |
| 3211 | <action> |
| 3212 | <touch key="home"/> |
| 3213 | <action function="page">main</action> |
| 3214 | </action> |
| 3215 | |
| 3216 | <action> |
| 3217 | <touch key="back"/> |
| 3218 | <action function="page">restore_options</action> |
| 3219 | </action> |
| 3220 | </page> |
| 3221 | |
| 3222 | <page name="restore_run"> |
| 3223 | <template name="page"/> |
| 3224 | |
| 3225 | <template name="statusbar"/> |
| 3226 | |
| 3227 | <text style="text_m"> |
| 3228 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 3229 | <text>%tw_operation% %tw_partition%</text> |
| 3230 | </text> |
| 3231 | |
| 3232 | <template name="console"/> |
| 3233 | |
| 3234 | <template name="progress_bar"/> |
| 3235 | |
| 3236 | <text style="text_m"> |
| 3237 | <placement x="%indent%" y="%row14a_y%"/> |
| 3238 | <text>%tw_size_progress%</text> |
| 3239 | </text> |
| 3240 | |
| 3241 | <action> |
| 3242 | <condition var1="tw_operation_state" var2="1"/> |
| 3243 | <actions> |
| 3244 | <action function="set">tw_back=restore</action> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3245 | <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3246 | <action function="set">tw_show_reboot=1</action> |
| 3247 | <action function="page">action_complete</action> |
| 3248 | </actions> |
| 3249 | </action> |
| 3250 | |
| 3251 | <action> |
| 3252 | <action function="nandroid">restore</action> |
| 3253 | </action> |
| 3254 | </page> |
| 3255 | |
| 3256 | <page name="mount"> |
| 3257 | <template name="page"/> |
| 3258 | |
| 3259 | <template name="statusbar"/> |
| 3260 | |
| 3261 | <text style="text_m"> |
| 3262 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3263 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3264 | </text> |
| 3265 | |
| 3266 | <partitionlist style="partitionlist_headerless_cb"> |
| 3267 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/> |
| 3268 | <listtype name="mount"/> |
| 3269 | </partitionlist> |
| 3270 | |
| 3271 | <fill color="%accent_color%"> |
| 3272 | <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 3273 | </fill> |
| 3274 | |
| 3275 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 3276 | <conditions> |
bigbiff | b640d97 | 2021-10-12 19:08:10 -0400 | [diff] [blame] | 3277 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 3278 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 3279 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3280 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3281 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3282 | <image resource="checkbox_false"/> |
| 3283 | <action function="mountsystemtoggle">1</action> |
| 3284 | </button> |
| 3285 | |
| 3286 | <button style="checkbox"> |
bigbiff | ee7b7ff | 2020-03-23 15:08:27 -0400 | [diff] [blame] | 3287 | <conditions> |
| 3288 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 3289 | <condition var1="tw_is_super" op="=" var2="0"/> |
| 3290 | </conditions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3291 | <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3292 | <text>{@mount_sys_ro_s_chk=Mount System RO}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3293 | <image resource="checkbox_true"/> |
| 3294 | <actions> |
| 3295 | <action function="set">tw_lifetime_writes=2</action> |
| 3296 | <action function="page">system_readonly_check</action> |
| 3297 | </actions> |
| 3298 | </button> |
| 3299 | |
| 3300 | <button style="checkbox"> |
| 3301 | <conditions> |
| 3302 | <condition var1="tw_has_mtp" var2="1"/> |
| 3303 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 3304 | </conditions> |
| 3305 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 3306 | <image resource="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3307 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3308 | <action function="startmtp"/> |
| 3309 | </button> |
| 3310 | |
| 3311 | <button style="checkbox"> |
| 3312 | <conditions> |
| 3313 | <condition var1="tw_has_mtp" var2="1"/> |
| 3314 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 3315 | </conditions> |
| 3316 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 3317 | <image resource="checkbox_true"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3318 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3319 | <action function="stopmtp"/> |
| 3320 | </button> |
| 3321 | |
| 3322 | <button> |
| 3323 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 3324 | <highlight color="%highlight_color%"/> |
| 3325 | <image resource="q_btn_storage"/> |
| 3326 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3327 | <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] | 3328 | <action function="set">tw_back=mount</action> |
| 3329 | <action function="page">select_storage</action> |
| 3330 | </actions> |
| 3331 | </button> |
| 3332 | |
| 3333 | <button> |
| 3334 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3335 | <highlight color="%highlight_color%"/> |
| 3336 | <image resource="q_btn_arrow_right"/> |
| 3337 | <action function="page">mount_options</action> |
| 3338 | </button> |
| 3339 | |
| 3340 | <action> |
| 3341 | <touch key="home"/> |
| 3342 | <action function="page">main</action> |
| 3343 | </action> |
| 3344 | |
| 3345 | <action> |
| 3346 | <touch key="back"/> |
| 3347 | <action function="page">main</action> |
| 3348 | </action> |
| 3349 | </page> |
| 3350 | |
| 3351 | <page name="mount_options"> |
| 3352 | <template name="page"/> |
| 3353 | |
| 3354 | <template name="statusbar"/> |
| 3355 | |
| 3356 | <text style="text_m"> |
| 3357 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3358 | <text>{@mount_hdr=Mount} > %tw_storage_display_name%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3359 | </text> |
| 3360 | |
| 3361 | <button style="main_button_full_width"> |
| 3362 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 3363 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3364 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3365 | <action function="page">usb_mount</action> |
| 3366 | </button> |
| 3367 | |
| 3368 | <button style="main_button_full_width"> |
| 3369 | <conditions> |
| 3370 | <condition var1="tw_is_encrypted" var2="1"/> |
| 3371 | <condition var1="tw_is_decrypted" var2="0"/> |
| 3372 | </conditions> |
| 3373 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3374 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 3375 | <action function="set">tw_crypto_user_id=0</action> |
| 3376 | <action function="set">tw_crypto_password=</action> |
| 3377 | <action function="set">tw_password_fail=0</action> |
| 3378 | <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3379 | <action function="page">decrypt</action> |
| 3380 | </button> |
| 3381 | |
| 3382 | <button> |
| 3383 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 3384 | <highlight color="%highlight_color%"/> |
| 3385 | <image resource="q_btn_arrow_left"/> |
| 3386 | <action function="page">mount</action> |
| 3387 | </button> |
| 3388 | |
| 3389 | <action> |
| 3390 | <touch key="home"/> |
| 3391 | <action function="page">main</action> |
| 3392 | </action> |
| 3393 | |
| 3394 | <action> |
| 3395 | <touch key="back"/> |
| 3396 | <action function="page">mount</action> |
| 3397 | </action> |
| 3398 | </page> |
| 3399 | |
| 3400 | <page name="usb_mount"> |
| 3401 | <template name="page"/> |
| 3402 | |
| 3403 | <template name="statusbar"/> |
| 3404 | |
| 3405 | <text style="text_m"> |
| 3406 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3407 | <text>{@mount_hdr=Mount} > {@usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3408 | </text> |
| 3409 | |
| 3410 | <text style="text_m_accent"> |
| 3411 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3412 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3413 | </text> |
| 3414 | |
| 3415 | <text style="text_m_fail"> |
| 3416 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3417 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3418 | </text> |
| 3419 | |
| 3420 | <text style="text_m_fail"> |
| 3421 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3422 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3423 | </text> |
| 3424 | |
| 3425 | <button style="main_button"> |
| 3426 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3427 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3428 | <action function="page">usb_umount</action> |
| 3429 | </button> |
| 3430 | |
| 3431 | <action> |
| 3432 | <action function="mount">usb</action> |
| 3433 | <action function="set">tw_busy=1</action> |
| 3434 | </action> |
| 3435 | </page> |
| 3436 | |
| 3437 | <page name="usb_umount"> |
| 3438 | <action> |
| 3439 | <action function="unmount">usb</action> |
| 3440 | </action> |
| 3441 | |
| 3442 | <action> |
| 3443 | <action function="page">mount_options</action> |
| 3444 | <action function="set">tw_busy=0</action> |
| 3445 | </action> |
| 3446 | </page> |
| 3447 | |
| 3448 | <page name="system_readonly_check"> |
| 3449 | <action> |
| 3450 | <action function="checkpartitionlifetimewrites">/system</action> |
| 3451 | </action> |
| 3452 | |
| 3453 | <action> |
| 3454 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 3455 | <actions> |
| 3456 | <action function="mountsystemtoggle">0</action> |
| 3457 | <action function="page">mount</action> |
| 3458 | </actions> |
| 3459 | </action> |
| 3460 | |
| 3461 | <action> |
| 3462 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 3463 | <actions> |
| 3464 | <action function="set">tw_back=mount</action> |
| 3465 | <action function="page">system_readonly</action> |
| 3466 | </actions> |
| 3467 | </action> |
| 3468 | </page> |
| 3469 | |
| 3470 | <page name="reboot"> |
| 3471 | <template name="page"/> |
| 3472 | |
| 3473 | <template name="statusbar"/> |
| 3474 | |
| 3475 | <text style="text_m"> |
| 3476 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Matt Mower | 3c36697 | 2015-12-25 19:28:31 -0600 | [diff] [blame] | 3477 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3478 | </text> |
| 3479 | |
| 3480 | <button style="main_button"> |
| 3481 | <condition var1="tw_reboot_system" var2="1"/> |
| 3482 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3483 | <text>{@rb_system_btn=System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3484 | <actions> |
| 3485 | <action function="set">tw_back=reboot</action> |
Matt Mower | 908dd25 | 2016-05-25 02:26:50 -0500 | [diff] [blame] | 3486 | <action function="page">reboot_system_routine</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3487 | </actions> |
| 3488 | </button> |
| 3489 | |
| 3490 | <button style="main_button"> |
| 3491 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 3492 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3493 | <text>{@rb_poweroff_btn=Power Off}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3494 | <actions> |
| 3495 | <action function="set">tw_back=reboot</action> |
| 3496 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3497 | <action function="set">tw_action_param=poweroff</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3498 | <action function="set">tw_reboot_param=poweroff</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3499 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3500 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3501 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 3502 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 3503 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 3504 | <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3505 | <action function="page">rebootcheck</action> |
| 3506 | </actions> |
| 3507 | </button> |
| 3508 | |
| 3509 | <button style="main_button"> |
| 3510 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 3511 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3512 | <text>{@rb_recovery_btn=Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3513 | <actions> |
| 3514 | <action function="set">tw_back=reboot</action> |
| 3515 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3516 | <action function="set">tw_action_param=recovery</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3517 | <action function="set">tw_reboot_param=recovery</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3518 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3519 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3520 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3521 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3522 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3523 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3524 | <action function="page">rebootcheck</action> |
| 3525 | </actions> |
| 3526 | </button> |
| 3527 | |
| 3528 | <button style="main_button"> |
| 3529 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 3530 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3531 | <text>{@rb_bootloader_btn=Bootloader}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3532 | <actions> |
| 3533 | <action function="set">tw_back=reboot</action> |
| 3534 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3535 | <action function="set">tw_action_param=bootloader</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3536 | <action function="set">tw_reboot_param=bootloader</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3537 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3538 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3539 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3540 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3541 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3542 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3543 | <action function="page">rebootcheck</action> |
| 3544 | </actions> |
| 3545 | </button> |
| 3546 | |
| 3547 | <button style="main_button"> |
| 3548 | <condition var1="tw_download_mode" var2="1"/> |
| 3549 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3550 | <text>{@rb_download_btn=Download}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3551 | <actions> |
| 3552 | <action function="set">tw_back=reboot</action> |
| 3553 | <action function="set">tw_action=reboot</action> |
Ethan Yonker | 0afc1fd | 2017-03-22 15:27:47 -0500 | [diff] [blame] | 3554 | <action function="set">tw_action_param=download</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3555 | <action function="set">tw_reboot_param=download</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3556 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3557 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3558 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3559 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3560 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3561 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3562 | <action function="page">rebootcheck</action> |
| 3563 | </actions> |
| 3564 | </button> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3565 | |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3566 | <button style="main_button"> |
| 3567 | <condition var1="tw_edl_mode" var2="1"/> |
| 3568 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Aseem Athale | dd81b9a | 2021-11-08 13:12:30 +0530 | [diff] [blame] | 3569 | <text>{@rb_edl_btn=EDL}</text> |
mauronofrio | e9a49ef | 2018-10-03 13:38:16 +0200 | [diff] [blame] | 3570 | <actions> |
| 3571 | <action function="set">tw_back=reboot</action> |
| 3572 | <action function="set">tw_action=reboot</action> |
| 3573 | <action function="set">tw_action_param=edl</action> |
| 3574 | <action function="set">tw_reboot_param=edl</action> |
| 3575 | <action function="set">tw_has_action2=0</action> |
| 3576 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 3577 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 3578 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 3579 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 3580 | <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action> |
| 3581 | <action function="page">rebootcheck</action> |
| 3582 | </actions> |
| 3583 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3584 | |
| 3585 | <action> |
| 3586 | <touch key="home"/> |
| 3587 | <action function="page">main</action> |
| 3588 | </action> |
| 3589 | |
| 3590 | <action> |
| 3591 | <touch key="back"/> |
| 3592 | <action function="page">main</action> |
| 3593 | </action> |
| 3594 | </page> |
| 3595 | |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3596 | <page name="installapp"> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3597 | <template name="page"/> |
| 3598 | |
| 3599 | <template name="statusbar"/> |
| 3600 | |
| 3601 | <text style="text_m"> |
| 3602 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3603 | <text>%tw_appinstall_title% > {@reboot_install_app_hdr=Install TWRP App}</text> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3604 | </text> |
| 3605 | |
| 3606 | <text style="text_m_accent"> |
| 3607 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
| 3608 | <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text> |
| 3609 | </text> |
| 3610 | |
| 3611 | <text style="text_m"> |
| 3612 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3613 | <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text> |
| 3614 | </text> |
| 3615 | |
| 3616 | <checkbox> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3617 | <condition var1="tw_mount_system_ro" var2="0"/> |
| 3618 | <placement x="%indent%" y="%row5_y%"/> |
| 3619 | <text>{@reboot_install_app_system=Install as a System App}</text> |
| 3620 | <data variable="tw_app_install_system"/> |
| 3621 | </checkbox> |
| 3622 | |
| 3623 | <button style="main_button_half_height"> |
| 3624 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | fa67cbf | 2018-07-20 12:22:33 -0500 | [diff] [blame] | 3625 | <text>{@install_cancel=Do not Install}</text> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3626 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3627 | </button> |
| 3628 | |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3629 | <slider> |
| 3630 | <text>{@swipe_confirm= Confirm}</text> |
| 3631 | <actions> |
| 3632 | <action function="set">tw_action=installapp</action> |
| 3633 | <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action> |
| 3634 | <action function="set">tw_action_text2=</action> |
| 3635 | <action function="set">tw_complete_text1={@successful=Successful}</action> |
| 3636 | <action function="page">action_page</action> |
| 3637 | </actions> |
| 3638 | </slider> |
| 3639 | |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3640 | <action> |
| 3641 | <touch key="home"/> |
| 3642 | <actions> |
| 3643 | <action function="set">tw_app_install_status=0</action> |
| 3644 | <action function="page">main</action> |
| 3645 | </actions> |
| 3646 | </action> |
| 3647 | |
| 3648 | <action> |
| 3649 | <touch key="back"/> |
| 3650 | <actions> |
| 3651 | <action function="set">tw_app_install_status=0</action> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 3652 | <action function="page">%tw_back%</action> |
Ethan Yonker | 64c5c0a | 2017-03-06 12:42:54 -0600 | [diff] [blame] | 3653 | </actions> |
| 3654 | </action> |
| 3655 | </page> |
| 3656 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3657 | <page name="system_readonly"> |
| 3658 | <template name="page"/> |
| 3659 | |
| 3660 | <template name="statusbar"/> |
| 3661 | |
| 3662 | <text style="text_m"> |
| 3663 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3664 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3665 | </text> |
| 3666 | |
| 3667 | <text style="text_m_accent"> |
| 3668 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3669 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3670 | </text> |
| 3671 | |
| 3672 | <text style="text_m"> |
| 3673 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3674 | <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3675 | </text> |
| 3676 | |
| 3677 | <text style="text_m"> |
| 3678 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3679 | <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] | 3680 | </text> |
| 3681 | |
| 3682 | <text style="text_m"> |
| 3683 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3684 | <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] | 3685 | </text> |
| 3686 | |
| 3687 | <text style="text_m"> |
| 3688 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3689 | <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] | 3690 | </text> |
| 3691 | |
| 3692 | <text style="text_m_fail"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3693 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3694 | <text>{@sys_rop5=Installing zips or performing adb operations may still}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3695 | </text> |
| 3696 | |
| 3697 | <text style="text_m_fail"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3698 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3699 | <text>{@sys_rop6=modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3700 | </text> |
| 3701 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3702 | <button style="main_button_half_height"> |
| 3703 | <placement x="%col1_x_right%" y="%row8a_y%"/> |
| 3704 | <text>{@sel_lang_btn=Select Language}</text> |
| 3705 | <action function="page">settings_language</action> |
| 3706 | </button> |
| 3707 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3708 | <checkbox> |
| 3709 | <condition var1="tw_is_encrypted" var2="0"/> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 3710 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3711 | <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] | 3712 | <data variable="tw_never_show_system_ro_page"/> |
| 3713 | </checkbox> |
| 3714 | |
| 3715 | <button style="main_button_half_height"> |
| 3716 | <placement x="%col1_x_left%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3717 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3718 | <actions> |
| 3719 | <action function="mountsystemtoggle">1</action> |
| 3720 | <action function="set">tw_page_done=1</action> |
| 3721 | <action function="page">%tw_back%</action> |
| 3722 | </actions> |
| 3723 | </button> |
| 3724 | |
| 3725 | <button style="main_button_half_height"> |
| 3726 | <placement x="%col1_x_right%" y="%row13_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3727 | <text>{@swipe_allow_mod_s=Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3728 | <actions> |
| 3729 | <action function="mountsystemtoggle">0</action> |
| 3730 | <action function="set">tw_page_done=1</action> |
| 3731 | <action function="page">%tw_back%</action> |
| 3732 | </actions> |
| 3733 | </button> |
| 3734 | </page> |
| 3735 | |
| 3736 | <page name="settings"> |
| 3737 | <template name="page"/> |
| 3738 | |
| 3739 | <template name="statusbar"/> |
| 3740 | |
| 3741 | <text style="text_m"> |
| 3742 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3743 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3744 | </text> |
| 3745 | |
| 3746 | <button style="main_button"> |
| 3747 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3748 | <text>{@settings_gen_btn=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3749 | <action function="page">settings_general</action> |
| 3750 | </button> |
| 3751 | |
| 3752 | <button style="main_button"> |
| 3753 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3754 | <text>{@settings_tz_btn=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3755 | <action function="page">settings_timezone</action> |
| 3756 | </button> |
| 3757 | |
| 3758 | <button style="main_button"> |
| 3759 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3760 | <text>{@settings_screen_btn=Screen}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3761 | <action function="page">settings_screen</action> |
| 3762 | </button> |
| 3763 | |
| 3764 | <button style="main_button"> |
bigbiff bigbiff | 3ed778a | 2019-03-12 19:28:31 -0400 | [diff] [blame] | 3765 | <condition var1="tw_disable_haptics" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3766 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3767 | <text>{@settings_vibration_btn=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3768 | <action function="page">settings_vibration</action> |
| 3769 | </button> |
| 3770 | |
| 3771 | <button style="main_button"> |
| 3772 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3773 | <text>{@settings_language_btn=Language}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3774 | <action function="page">settings_language</action> |
| 3775 | </button> |
| 3776 | |
| 3777 | <button> |
| 3778 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 3779 | <highlight color="%highlight_color%"/> |
| 3780 | <image resource="q_btn_reset"/> |
| 3781 | <action function="restoredefaultsettings"/> |
| 3782 | </button> |
| 3783 | |
| 3784 | <action> |
| 3785 | <touch key="home"/> |
| 3786 | <action function="page">main</action> |
| 3787 | </action> |
| 3788 | |
| 3789 | <action> |
| 3790 | <touch key="back"/> |
| 3791 | <action function="page">main3</action> |
| 3792 | </action> |
| 3793 | </page> |
| 3794 | |
| 3795 | <page name="settings_general"> |
| 3796 | <template name="page"/> |
| 3797 | |
| 3798 | <template name="statusbar"/> |
| 3799 | |
| 3800 | <text style="text_m"> |
| 3801 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3802 | <text>{@settings_hdr=Settings} > {@settings_gen_s_hdr=General}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3803 | </text> |
| 3804 | |
| 3805 | <listbox style="scrolllist"> |
| 3806 | <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] | 3807 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3808 | <data variable="tw_signed_zip_verify"/> |
| 3809 | </listitem> |
Matt Mower | 8dc25b7 | 2016-04-25 23:06:53 -0500 | [diff] [blame] | 3810 | <listitem name="{@install_reboot_chk=Reboot after installation is complete}"> |
| 3811 | <data variable="tw_install_reboot"/> |
| 3812 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3813 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3814 | <data variable="tw_rm_rf"/> |
| 3815 | </listitem> |
Matt Mower | bfccfb8 | 2016-04-25 23:22:31 -0500 | [diff] [blame] | 3816 | <listitem name="{@disable_backup_space_chk=Disable free space check before backup}"> |
| 3817 | <data variable="tw_disable_free_space"/> |
| 3818 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3819 | <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}"> |
| 3820 | <data variable="tw_skip_digest_generate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3821 | </listitem> |
bigbiff bigbiff | 56cf564 | 2016-08-19 17:43:45 -0400 | [diff] [blame] | 3822 | <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}"> |
| 3823 | <data variable="tw_skip_digest_check"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3824 | </listitem> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 3825 | <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}"> |
| 3826 | <data variable="tw_skip_digest_check_zip"/> |
| 3827 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3828 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3829 | <data variable="tw_military_time"/> |
| 3830 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3831 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3832 | <data variable="tw_simulate_actions"/> |
| 3833 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3834 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3835 | <data variable="tw_simulate_fail"/> |
| 3836 | <condition var1="tw_simulate_actions" var2="1"/> |
| 3837 | </listitem> |
bigbiff bigbiff | 1c01fab | 2017-08-07 18:41:14 -0400 | [diff] [blame] | 3838 | <listitem name="{@sha2_chk=Use SHA2 for hashing}"> |
| 3839 | <condition var1="tw_no_sha2" var2="0"/> |
| 3840 | <data variable="tw_use_sha2"/> |
| 3841 | </listitem> |
Chaosmaster | ff4f958 | 2020-01-26 15:38:11 +0100 | [diff] [blame] | 3842 | <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}"> |
| 3843 | <data variable="tw_unmount_system"/> |
| 3844 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 3845 | <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}"> |
| 3846 | <conditions> |
| 3847 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 3848 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 3849 | </conditions> |
| 3850 | <data variable="tw_auto_reflashtwrp"/> |
| 3851 | </listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3852 | </listbox> |
| 3853 | |
| 3854 | <action> |
| 3855 | <touch key="home"/> |
| 3856 | <action function="page">main</action> |
| 3857 | </action> |
| 3858 | |
| 3859 | <action> |
| 3860 | <touch key="back"/> |
| 3861 | <action function="page">settings</action> |
| 3862 | </action> |
| 3863 | </page> |
| 3864 | |
| 3865 | <page name="settings_timezone"> |
| 3866 | <template name="page"/> |
| 3867 | |
| 3868 | <template name="statusbar"/> |
| 3869 | |
| 3870 | <text style="text_m"> |
| 3871 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3872 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3873 | </text> |
| 3874 | |
| 3875 | <text color="%text_color%"> |
| 3876 | <font resource="font_m"/> |
| 3877 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3878 | <text>%tw_time%</text> |
| 3879 | </text> |
| 3880 | |
| 3881 | <listbox style="listbox_headerless"> |
| 3882 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/> |
| 3883 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3884 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 3885 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 3886 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 3887 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 3888 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 3889 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 3890 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 3891 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 3892 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 3893 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 3894 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 3895 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 3896 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 3897 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 3898 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 3899 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 3900 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 3901 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 3902 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 3903 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 3904 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 3905 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 3906 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 3907 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3908 | </listbox> |
| 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 | <actions> |
| 3915 | <action function="setguitimezone"/> |
| 3916 | <action function="page">settings_timezone2</action> |
| 3917 | </actions> |
| 3918 | </button> |
| 3919 | |
| 3920 | <action> |
| 3921 | <condition var1="tw_time_zone_guisel" op="modified"/> |
| 3922 | <action function="setguitimezone"/> |
| 3923 | </action> |
| 3924 | |
| 3925 | <action> |
| 3926 | <touch key="home"/> |
| 3927 | <actions> |
| 3928 | <action function="page">main</action> |
| 3929 | <action function="setguitimezone"/> |
| 3930 | </actions> |
| 3931 | </action> |
| 3932 | |
| 3933 | <action> |
| 3934 | <touch key="back"/> |
| 3935 | <actions> |
| 3936 | <action function="page">settings</action> |
| 3937 | <action function="setguitimezone"/> |
| 3938 | </actions> |
| 3939 | </action> |
| 3940 | |
| 3941 | <action> |
| 3942 | <touch key="power+voldown"/> |
| 3943 | <action function="screenshot"/> |
| 3944 | </action> |
| 3945 | </page> |
| 3946 | |
| 3947 | <page name="settings_timezone2"> |
| 3948 | <template name="page"/> |
| 3949 | |
| 3950 | <template name="statusbar"/> |
| 3951 | |
| 3952 | <text style="text_m"> |
| 3953 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3954 | <text>{@settings_hdr=Settings} > {@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3955 | </text> |
| 3956 | |
| 3957 | <text color="%text_color%"> |
| 3958 | <font resource="font_m"/> |
| 3959 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
| 3960 | <text>%tw_time%</text> |
| 3961 | </text> |
| 3962 | |
| 3963 | <checkbox> |
| 3964 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 3965 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3966 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3967 | <data variable="tw_time_zone_guidst"/> |
| 3968 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 3969 | </checkbox> |
| 3970 | |
| 3971 | <text style="text_m_accent"> |
| 3972 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3973 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3974 | </text> |
| 3975 | |
| 3976 | <button style="main_button_quarter_width"> |
| 3977 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3978 | <text>{@tz_offset_0=0}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3979 | <actions> |
| 3980 | <action function="set">tw_time_zone_guioffset=0</action> |
| 3981 | <action function="setguitimezone"/> |
| 3982 | </actions> |
| 3983 | </button> |
| 3984 | |
| 3985 | <button style="main_button_quarter_width"> |
| 3986 | <placement x="%btn4_col2_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3987 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3988 | <actions> |
| 3989 | <action function="set">tw_time_zone_guioffset=15</action> |
| 3990 | <action function="setguitimezone"/> |
| 3991 | </actions> |
| 3992 | </button> |
| 3993 | |
| 3994 | <button style="main_button_quarter_width"> |
| 3995 | <placement x="%btn4_col3_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3996 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3997 | <actions> |
| 3998 | <action function="set">tw_time_zone_guioffset=30</action> |
| 3999 | <action function="setguitimezone"/> |
| 4000 | </actions> |
| 4001 | </button> |
| 4002 | |
| 4003 | <button style="main_button_quarter_width"> |
| 4004 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4005 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4006 | <actions> |
| 4007 | <action function="set">tw_time_zone_guioffset=45</action> |
| 4008 | <action function="setguitimezone"/> |
| 4009 | </actions> |
| 4010 | </button> |
| 4011 | |
| 4012 | <button> |
| 4013 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4014 | <highlight color="%highlight_color%"/> |
| 4015 | <image resource="q_btn_arrow_left"/> |
| 4016 | <actions> |
| 4017 | <action function="setguitimezone"/> |
| 4018 | <action function="page">settings_timezone</action> |
| 4019 | </actions> |
| 4020 | </button> |
| 4021 | |
| 4022 | <text style="text_m_accent"> |
| 4023 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4024 | <text>{@curr_tz_s=Current Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4025 | </text> |
| 4026 | |
| 4027 | <text style="text_m"> |
| 4028 | <placement x="%btn4_col2_x%" y="%row12a_y%"/> |
| 4029 | <text>%tw_time_zone%</text> |
| 4030 | </text> |
| 4031 | |
| 4032 | <action> |
| 4033 | <condition var1="tw_time_zone_guidst" op="modified"/> |
| 4034 | <action function="setguitimezone"/> |
| 4035 | </action> |
| 4036 | |
| 4037 | <action> |
| 4038 | <touch key="home"/> |
| 4039 | <actions> |
| 4040 | <action function="setguitimezone"/> |
| 4041 | <action function="page">main</action> |
| 4042 | </actions> |
| 4043 | </action> |
| 4044 | |
| 4045 | <action> |
| 4046 | <touch key="back"/> |
| 4047 | <actions> |
| 4048 | <action function="setguitimezone"/> |
| 4049 | <action function="page">settings_timezone</action> |
| 4050 | </actions> |
| 4051 | </action> |
| 4052 | </page> |
| 4053 | |
| 4054 | <page name="settings_screen"> |
| 4055 | <template name="page"/> |
| 4056 | |
| 4057 | <template name="statusbar"/> |
| 4058 | |
| 4059 | <text style="text_m"> |
| 4060 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4061 | <text>{@settings_hdr=Settings} > {@settings_screen_timeout_hdr=Screen Timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4062 | </text> |
| 4063 | |
| 4064 | <button style="checkbox"> |
| 4065 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 4066 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 4067 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4068 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4069 | <image resource="checkbox_false"/> |
| 4070 | <action function="set">tw_screen_timeout_secs=60</action> |
| 4071 | </button> |
| 4072 | |
| 4073 | <button style="checkbox"> |
| 4074 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 4075 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 4076 | <placement x="%indent%" y="%row1_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4077 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4078 | <image resource="checkbox_true"/> |
| 4079 | <action function="set">tw_screen_timeout_secs=0</action> |
| 4080 | </button> |
| 4081 | |
| 4082 | <slidervalue> |
| 4083 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 4084 | <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4085 | <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] | 4086 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 4087 | </slidervalue> |
| 4088 | |
| 4089 | <text style="text_m_fail"> |
| 4090 | <condition var1="tw_no_screen_timeout" op="=" var2="1"/> |
| 4091 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4092 | <text>{@screen_to_na=Screen timeout setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4093 | </text> |
| 4094 | |
| 4095 | <button> |
| 4096 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4097 | <highlight color="%highlight_color%"/> |
| 4098 | <image resource="q_btn_arrow_right"/> |
| 4099 | <action function="page">settings_screen2</action> |
| 4100 | </button> |
| 4101 | |
| 4102 | <action> |
| 4103 | <touch key="home"/> |
| 4104 | <action function="page">main</action> |
| 4105 | </action> |
| 4106 | |
| 4107 | <action> |
| 4108 | <touch key="back"/> |
| 4109 | <action function="page">settings</action> |
| 4110 | </action> |
| 4111 | </page> |
| 4112 | |
| 4113 | <page name="settings_screen2"> |
| 4114 | <template name="page"/> |
| 4115 | |
| 4116 | <template name="statusbar"/> |
| 4117 | |
| 4118 | <text style="text_m"> |
| 4119 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4120 | <text>{@settings_hdr=Settings} > {@settings_screen_bright_btn=Screen Brightness}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4121 | </text> |
| 4122 | |
| 4123 | <slidervalue> |
| 4124 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 4125 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4126 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4127 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 4128 | <actions> |
| 4129 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 4130 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 4131 | <action function="compute">tw_brightness/100</action> |
| 4132 | <action function="setbrightness">%tw_brightness%</action> |
| 4133 | </actions> |
| 4134 | </slidervalue> |
| 4135 | |
| 4136 | <text style="text_m_fail"> |
| 4137 | <condition var1="tw_has_brightnesss_file" var2="0"/> |
| 4138 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4139 | <text>{@screen_bright_na=Brightness setting unavailable}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4140 | </text> |
| 4141 | |
| 4142 | <button> |
| 4143 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4144 | <highlight color="%highlight_color%"/> |
| 4145 | <image resource="q_btn_arrow_left"/> |
| 4146 | <action function="page">settings_screen</action> |
| 4147 | </button> |
| 4148 | |
| 4149 | <action> |
| 4150 | <touch key="home"/> |
| 4151 | <action function="page">main</action> |
| 4152 | </action> |
| 4153 | |
| 4154 | <action> |
| 4155 | <touch key="back"/> |
| 4156 | <action function="page">settings</action> |
| 4157 | </action> |
| 4158 | </page> |
| 4159 | |
| 4160 | <page name="settings_vibration"> |
| 4161 | <template name="page"/> |
| 4162 | |
| 4163 | <template name="statusbar"/> |
| 4164 | |
| 4165 | <text style="text_m"> |
| 4166 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4167 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4168 | </text> |
| 4169 | |
| 4170 | <slidervalue> |
| 4171 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4172 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4173 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 4174 | </slidervalue> |
| 4175 | |
| 4176 | <button> |
| 4177 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4178 | <highlight color="%highlight_color%"/> |
| 4179 | <image resource="q_btn_arrow_right"/> |
| 4180 | <action function="page">settings_vibration2</action> |
| 4181 | </button> |
| 4182 | |
| 4183 | <action> |
| 4184 | <touch key="home"/> |
| 4185 | <action function="page">main</action> |
| 4186 | </action> |
| 4187 | |
| 4188 | <action> |
| 4189 | <touch key="back"/> |
| 4190 | <action function="page">settings</action> |
| 4191 | </action> |
| 4192 | </page> |
| 4193 | |
| 4194 | <page name="settings_vibration2"> |
| 4195 | <template name="page"/> |
| 4196 | |
| 4197 | <template name="statusbar"/> |
| 4198 | |
| 4199 | <text style="text_m"> |
| 4200 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4201 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4202 | </text> |
| 4203 | |
| 4204 | <slidervalue> |
| 4205 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4206 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4207 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 4208 | </slidervalue> |
| 4209 | |
| 4210 | <button> |
| 4211 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4212 | <highlight color="%highlight_color%"/> |
| 4213 | <image resource="q_btn_arrow_left"/> |
| 4214 | <action function="page">settings_vibration</action> |
| 4215 | </button> |
| 4216 | |
| 4217 | <button> |
| 4218 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4219 | <highlight color="%highlight_color%"/> |
| 4220 | <image resource="q_btn_arrow_right"/> |
| 4221 | <action function="page">settings_vibration3</action> |
| 4222 | </button> |
| 4223 | |
| 4224 | <action> |
| 4225 | <touch key="home"/> |
| 4226 | <action function="page">main</action> |
| 4227 | </action> |
| 4228 | |
| 4229 | <action> |
| 4230 | <touch key="back"/> |
| 4231 | <action function="page">settings</action> |
| 4232 | </action> |
| 4233 | </page> |
| 4234 | |
| 4235 | <page name="settings_vibration3"> |
| 4236 | <template name="page"/> |
| 4237 | |
| 4238 | <template name="statusbar"/> |
| 4239 | |
| 4240 | <text style="text_m"> |
| 4241 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4242 | <text>{@settings_hdr=Settings} > {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4243 | </text> |
| 4244 | |
| 4245 | <slidervalue> |
| 4246 | <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4247 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4248 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 4249 | </slidervalue> |
| 4250 | |
| 4251 | <button> |
| 4252 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4253 | <highlight color="%highlight_color%"/> |
| 4254 | <image resource="q_btn_arrow_left"/> |
| 4255 | <action function="page">settings_vibration2</action> |
| 4256 | </button> |
| 4257 | |
| 4258 | <action> |
| 4259 | <touch key="home"/> |
| 4260 | <action function="page">main</action> |
| 4261 | </action> |
| 4262 | |
| 4263 | <action> |
| 4264 | <touch key="back"/> |
| 4265 | <action function="page">settings</action> |
| 4266 | </action> |
| 4267 | </page> |
| 4268 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4269 | <page name="settings_language"> |
| 4270 | <template name="page"/> |
| 4271 | |
| 4272 | <template name="statusbar"/> |
| 4273 | |
| 4274 | <text style="text_m"> |
| 4275 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4276 | <text>{@settings_hdr=Settings} > {@language_hdr=Language} - %tw_language_display%</text> |
| 4277 | </text> |
| 4278 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4279 | <listbox style="scrolllist"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4280 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 4281 | <icon selected="radio_true" unselected="radio_false" /> |
| 4282 | <data name="tw_language" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4283 | </listbox> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4284 | |
| 4285 | <button> |
| 4286 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4287 | <highlight color="%highlight_color%"/> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4288 | <image resource="q_btn_accept_transp"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4289 | <action function="setlanguage"></action> |
| 4290 | </button> |
| 4291 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4292 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4293 | <touch key="home" /> |
| 4294 | <action function="page">main</action> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4295 | </action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4296 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4297 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4298 | <touch key="back" /> |
| 4299 | <action function="page">settings</action> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 4300 | </action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4301 | </page> |
| 4302 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4303 | <page name="advanced"> |
| 4304 | <template name="page"/> |
| 4305 | |
| 4306 | <template name="statusbar"/> |
| 4307 | |
| 4308 | <text style="text_m"> |
| 4309 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4310 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4311 | </text> |
| 4312 | |
| 4313 | <button style="main_button"> |
| 4314 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4315 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4316 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4317 | </button> |
| 4318 | |
| 4319 | <button style="main_button"> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 4320 | <condition var1="tw_has_data_media" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4321 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 4322 | <text>{@fix_context_btn=Fix Contexts}</text> |
| 4323 | <action function="page">fixcontexts</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4324 | </button> |
| 4325 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4326 | <button> |
| 4327 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4328 | <highlight color="%highlight_color%"/> |
| 4329 | <image resource="q_btn_arrow_right"/> |
| 4330 | <action function="page">advanced2</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4331 | </button> |
| 4332 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4333 | <action> |
| 4334 | <touch key="home"/> |
| 4335 | <action function="page">main</action> |
| 4336 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4337 | |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4338 | <action> |
| 4339 | <touch key="back"/> |
| 4340 | <action function="page">main3</action> |
| 4341 | </action> |
| 4342 | </page> |
| 4343 | |
| 4344 | <page name="advanced2"> |
| 4345 | <template name="page"/> |
| 4346 | |
| 4347 | <template name="statusbar"/> |
| 4348 | |
| 4349 | <text style="text_m"> |
| 4350 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4351 | <text>{@advanced_hdr=Advanced}</text> |
| 4352 | </text> |
| 4353 | |
| 4354 | <listbox style="advanced_listbox"> |
| 4355 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 4356 | <listitem name="{@change_twrp_folder_btn=Change TWRP folder}"> |
nebrassy | a9e4c46 | 2021-12-20 20:09:40 +0100 | [diff] [blame] | 4357 | <condition var1="tw_is_decrypted" var2="1"/> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 4358 | <action function="page">changeTwrpFolder</action> |
| 4359 | </listitem> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 4360 | <listitem name="{@decrypt_users=Decrypt Users}"> |
| 4361 | <conditions> |
| 4362 | <condition var1="tw_is_fbe" var2="1"/> |
| 4363 | <condition var1="tw_all_users_decrypted" var2="0"/> |
| 4364 | </conditions> |
| 4365 | <actions> |
| 4366 | <action function="set">tw_crypto_user_id=</action> |
| 4367 | <action function="page">decrypt_users</action> |
| 4368 | </actions> |
| 4369 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4370 | <listitem name="{@reload_theme_btn=Reload Theme}"> |
| 4371 | <action function="reload"/> |
| 4372 | </listitem> |
| 4373 | <listitem name="{@part_sd_btn=Partition SD Card}"> |
| 4374 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 4375 | <actions> |
| 4376 | <action function="set">partitionlisterror=0</action> |
| 4377 | <action function="page">partsdcardsel</action> |
| 4378 | </actions> |
| 4379 | </listitem> |
| 4380 | <listitem name="{@dumlock_btn=HTC Dumlock}"> |
| 4381 | <condition var1="tw_show_dumlock" var2="1"/> |
| 4382 | <action function="page">htcdumlock</action> |
| 4383 | </listitem> |
| 4384 | <listitem name="{@inject_twrp_btn=Inject TWRP}"> |
| 4385 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 4386 | <actions> |
| 4387 | <action function="set">tw_back=advanced</action> |
| 4388 | <action function="set">tw_action=reinjecttwrp</action> |
| 4389 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 4390 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 4391 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 4392 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4393 | <action function="page">confirm_action</action> |
| 4394 | </actions> |
| 4395 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4396 | <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}"> |
| 4397 | <conditions> |
| 4398 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4399 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 4400 | </conditions> |
| 4401 | <actions> |
| 4402 | <action function="set">tw_repack_kernel=0</action> |
| 4403 | <action function="page">repackselect</action> |
| 4404 | </actions> |
| 4405 | </listitem> |
nebrassy | ac29e69 | 2021-05-20 13:03:30 +0200 | [diff] [blame] | 4406 | <listitem name="{@reflash_twrp=Flash Current TWRP}"> |
| 4407 | <conditions> |
| 4408 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4409 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 4410 | </conditions> |
| 4411 | <actions> |
| 4412 | <action function="set">tw_repack_kernel=0</action> |
| 4413 | <action function="set">tw_back=advanced</action> |
| 4414 | <action function="set">tw_action=reflashtwrp</action> |
| 4415 | <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action> |
| 4416 | <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action> |
| 4417 | <action function="set">tw_complete_text1={@reflash_twrp_complete=Done Flashing TWRP}</action> |
| 4418 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4419 | <action function="page">confirm_action</action> |
| 4420 | </actions> |
| 4421 | </listitem> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4422 | <listitem name="{@install_kernel=Install Kernel}"> |
| 4423 | <conditions> |
| 4424 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4425 | <condition var1="tw_has_repack_tools" var2="1"/> |
| 4426 | </conditions> |
| 4427 | <actions> |
| 4428 | <action function="set">tw_repack_kernel=1</action> |
| 4429 | <action function="page">repackselect</action> |
| 4430 | </actions> |
| 4431 | </listitem> |
| 4432 | <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}"> |
| 4433 | <conditions> |
| 4434 | <condition var1="tw_has_boot_slots" var2="1"/> |
| 4435 | <condition var1="tw_has_repack_tools" var2="1"/> |
Captain Throwback | bc2cfa3 | 2021-09-16 10:04:26 -0400 | [diff] [blame] | 4436 | <condition var1="tw_uses_initramfs" var2="1"/> |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4437 | </conditions> |
| 4438 | <actions> |
| 4439 | <action function="set">tw_back=advanced</action> |
| 4440 | <action function="set">tw_action=fixabrecoverybootloop</action> |
| 4441 | <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action> |
| 4442 | <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action> |
| 4443 | <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action> |
| 4444 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4445 | <action function="page">confirm_action</action> |
| 4446 | </actions> |
| 4447 | </listitem> |
Ethan Yonker | 8581ab3 | 2020-12-17 14:51:50 -0600 | [diff] [blame] | 4448 | <listitem name="{@reboot_install_app_hdr=Install TWRP App}"> |
| 4449 | <condition var1="tw_app_install_status" var2="1"/> |
| 4450 | <actions> |
| 4451 | <action function="set">tw_back=advanced2</action> |
| 4452 | <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action> |
| 4453 | <action function="page">installapp</action> |
| 4454 | </actions> |
| 4455 | </listitem> |
Ethan Yonker | 76bbd3a | 2019-05-10 10:50:04 -0500 | [diff] [blame] | 4456 | <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}"> |
| 4457 | <condition var1="tw_app_installed_in_system" var2="1"/> |
| 4458 | <actions> |
| 4459 | <action function="set">tw_back=advanced</action> |
| 4460 | <action function="set">tw_action=uninstalltwrpsystemapp</action> |
| 4461 | <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action> |
| 4462 | <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action> |
| 4463 | <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action> |
| 4464 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4465 | <action function="page">confirm_action</action> |
| 4466 | </actions> |
| 4467 | </listitem> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 4468 | <listitem name="{@unmap_super_devices=Unmap Super Devices}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 4469 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | cfa875c | 2021-06-20 16:20:27 -0400 | [diff] [blame] | 4470 | <actions> |
| 4471 | <action function="set">tw_back=advanced</action> |
| 4472 | <action function="set">tw_action=unmapsuperdevices</action> |
| 4473 | <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action> |
| 4474 | <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action> |
| 4475 | <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action> |
| 4476 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4477 | <action function="page">confirm_action</action> |
| 4478 | </actions> |
| 4479 | </listitem> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 4480 | <listitem name="{@merges_snapshots=Merge Snapshots}"> |
bigbiff | ab76bd7 | 2021-10-11 10:17:48 -0400 | [diff] [blame] | 4481 | <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/> |
bigbiff | d21252f | 2021-09-18 15:56:32 -0400 | [diff] [blame] | 4482 | <actions> |
| 4483 | <action function="set">tw_back=advanced</action> |
| 4484 | <action function="set">tw_action=mergesnapshots</action> |
| 4485 | <action function="set">tw_text1={@merge_snapshots_confirm=Merge Snapshots?}</action> |
| 4486 | <action function="set">tw_action_text1={@merging_snapshots=Merging Snapshots...}</action> |
| 4487 | <action function="set">tw_complete_text1={@merging_snapshots_complete=Merged Snapshots}</action> |
| 4488 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4489 | <action function="page">confirm_action</action> |
| 4490 | </actions> |
| 4491 | </listitem> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4492 | </listbox> |
| 4493 | |
| 4494 | <button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4495 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 64e0a65 | 2018-07-25 09:52:17 -0500 | [diff] [blame] | 4496 | <highlight color="%highlight_color%"/> |
| 4497 | <image resource="q_btn_arrow_left"/> |
| 4498 | <action function="page">advanced</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4499 | </button> |
| 4500 | |
| 4501 | <action> |
| 4502 | <touch key="home"/> |
| 4503 | <action function="page">main</action> |
| 4504 | </action> |
| 4505 | |
| 4506 | <action> |
| 4507 | <touch key="back"/> |
| 4508 | <action function="page">main3</action> |
| 4509 | </action> |
| 4510 | </page> |
| 4511 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4512 | <page name="partsdcardsel"> |
| 4513 | <template name="page"/> |
| 4514 | |
| 4515 | <template name="statusbar"/> |
| 4516 | |
| 4517 | <text style="text_m"> |
| 4518 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4519 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
| 4520 | </text> |
| 4521 | |
| 4522 | <partitionlist style="partitionlist_headerless_rb"> |
| 4523 | <data name="tw_storage_path"/> |
| 4524 | <listtype name="storage"/> |
| 4525 | </partitionlist> |
| 4526 | |
| 4527 | <text style="text_m_fail"> |
| 4528 | <condition var1="partitionlisterror" var2="1"/> |
| 4529 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
| 4530 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 4531 | </text> |
| 4532 | |
| 4533 | <button> |
| 4534 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 4535 | <highlight color="%highlight_color%"/> |
| 4536 | <image resource="q_btn_refresh"/> |
| 4537 | <action function="refreshsizes"/> |
| 4538 | </button> |
| 4539 | |
| 4540 | <button> |
| 4541 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 4542 | <highlight color="%highlight_color%"/> |
| 4543 | <image resource="q_btn_accept"/> |
| 4544 | <actions> |
| 4545 | <action function="getpartitiondetails">tw_storage_path</action> |
| 4546 | <action function="page">partsdcardcheck</action> |
| 4547 | </actions> |
| 4548 | </button> |
| 4549 | |
| 4550 | <action> |
| 4551 | <touch key="home"/> |
| 4552 | <action function="page">main</action> |
| 4553 | </action> |
| 4554 | |
| 4555 | <action> |
| 4556 | <touch key="back"/> |
| 4557 | <action function="page">advanced</action> |
| 4558 | </action> |
| 4559 | </page> |
| 4560 | |
| 4561 | <page name="partsdcardcheck"> |
| 4562 | <action> |
| 4563 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 4564 | <actions> |
| 4565 | <action function="set">partitionlisterror=0</action> |
| 4566 | <action function="page">partsdcard</action> |
| 4567 | </actions> |
| 4568 | </action> |
| 4569 | |
| 4570 | <action> |
| 4571 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 4572 | <actions> |
| 4573 | <action function="set">partitionlisterror=1</action> |
| 4574 | <action function="page">partsdcardsel</action> |
| 4575 | </actions> |
| 4576 | </action> |
| 4577 | </page> |
| 4578 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4579 | <page name="partsdcard"> |
| 4580 | <template name="page"/> |
| 4581 | |
| 4582 | <template name="statusbar"/> |
| 4583 | |
| 4584 | <text style="text_m"> |
| 4585 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4586 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4587 | </text> |
| 4588 | |
| 4589 | <text style="text_m_fail"> |
| 4590 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4591 | <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] | 4592 | </text> |
| 4593 | |
| 4594 | <text style="text_m_fail"> |
| 4595 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4596 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4597 | </text> |
| 4598 | |
| 4599 | <text style="text_m_accent"> |
| 4600 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4601 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4602 | </text> |
| 4603 | |
| 4604 | <text style="text_m"> |
| 4605 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4606 | <text>%tw_sdext_size%</text> |
| 4607 | </text> |
| 4608 | |
| 4609 | <button style="main_button_quarter_width"> |
| 4610 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4611 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4612 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4613 | </button> |
| 4614 | |
| 4615 | <button style="main_button_quarter_width"> |
| 4616 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4617 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4618 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4619 | </button> |
| 4620 | |
| 4621 | <button> |
| 4622 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4623 | <highlight color="%highlight_color%"/> |
| 4624 | <image resource="q_btn_arrow_right"/> |
| 4625 | <action function="page">partsdcard2</action> |
| 4626 | </button> |
| 4627 | |
| 4628 | <action> |
| 4629 | <touch key="home"/> |
| 4630 | <action function="page">main</action> |
| 4631 | </action> |
| 4632 | |
| 4633 | <action> |
| 4634 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4635 | <action function="page">partsdcardsel</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4636 | </action> |
| 4637 | </page> |
| 4638 | |
| 4639 | <page name="partsdcard2"> |
| 4640 | <template name="page"/> |
| 4641 | |
| 4642 | <template name="statusbar"/> |
| 4643 | |
| 4644 | <text style="text_m"> |
| 4645 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4646 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4647 | </text> |
| 4648 | |
| 4649 | <text style="text_m_fail"> |
| 4650 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4651 | <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] | 4652 | </text> |
| 4653 | |
| 4654 | <text style="text_m_fail"> |
| 4655 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4656 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4657 | </text> |
| 4658 | |
| 4659 | <text style="text_m_accent"> |
| 4660 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4661 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4662 | </text> |
| 4663 | |
| 4664 | <text style="text_m"> |
| 4665 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4666 | <text>%tw_swap_size%</text> |
| 4667 | </text> |
| 4668 | |
| 4669 | <button style="main_button_quarter_width"> |
| 4670 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4671 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4672 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4673 | </button> |
| 4674 | |
| 4675 | <button style="main_button_quarter_width"> |
| 4676 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4677 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 4678 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4679 | </button> |
| 4680 | |
| 4681 | <button> |
| 4682 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4683 | <highlight color="%highlight_color%"/> |
| 4684 | <image resource="q_btn_arrow_left"/> |
| 4685 | <action function="page">partsdcard</action> |
| 4686 | </button> |
| 4687 | |
| 4688 | <button> |
| 4689 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4690 | <highlight color="%highlight_color%"/> |
| 4691 | <image resource="q_btn_arrow_right"/> |
| 4692 | <action function="page">partsdcard3</action> |
| 4693 | </button> |
| 4694 | |
| 4695 | <action> |
| 4696 | <touch key="home"/> |
| 4697 | <action function="page">main</action> |
| 4698 | </action> |
| 4699 | |
| 4700 | <action> |
| 4701 | <touch key="back"/> |
| 4702 | <action function="page">advanced</action> |
| 4703 | </action> |
| 4704 | </page> |
| 4705 | |
| 4706 | <page name="partsdcard3"> |
| 4707 | <template name="page"/> |
| 4708 | |
| 4709 | <template name="statusbar"/> |
| 4710 | |
| 4711 | <text style="text_m"> |
| 4712 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4713 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4714 | </text> |
| 4715 | |
| 4716 | <text style="text_m_fail"> |
| 4717 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4718 | <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] | 4719 | </text> |
| 4720 | |
| 4721 | <text style="text_m_fail"> |
| 4722 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4723 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4724 | </text> |
| 4725 | |
| 4726 | <text style="text_m_accent"> |
| 4727 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4728 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4729 | </text> |
| 4730 | |
| 4731 | <text style="text_m"> |
| 4732 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 4733 | <text>%tw_sdpart_file_system%</text> |
| 4734 | </text> |
| 4735 | |
| 4736 | <button style="main_button_quarter_width"> |
| 4737 | <placement x="%indent%" y="%row6_y%"/> |
| 4738 | <text>EXT3</text> |
| 4739 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 4740 | </button> |
| 4741 | |
| 4742 | <button style="main_button_quarter_width"> |
| 4743 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
| 4744 | <text>EXT4</text> |
| 4745 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 4746 | </button> |
| 4747 | |
| 4748 | <button> |
| 4749 | <placement x="%col1_x_left%" y="%row11_y%"/> |
| 4750 | <highlight color="%highlight_color%"/> |
| 4751 | <image resource="q_btn_arrow_left"/> |
| 4752 | <action function="page">partsdcard2</action> |
| 4753 | </button> |
| 4754 | |
| 4755 | <button> |
| 4756 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4757 | <highlight color="%highlight_color%"/> |
| 4758 | <image resource="q_btn_arrow_right"/> |
| 4759 | <action function="page">partsdcard_confirm</action> |
| 4760 | </button> |
| 4761 | |
| 4762 | <action> |
| 4763 | <touch key="home"/> |
| 4764 | <action function="page">main</action> |
| 4765 | </action> |
| 4766 | |
| 4767 | <action> |
| 4768 | <touch key="back"/> |
| 4769 | <action function="page">advanced</action> |
| 4770 | </action> |
| 4771 | </page> |
| 4772 | |
| 4773 | <page name="partsdcard_confirm"> |
| 4774 | <template name="page"/> |
| 4775 | |
| 4776 | <template name="statusbar"/> |
| 4777 | |
| 4778 | <text style="text_m"> |
| 4779 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4780 | <text>{@advanced_hdr=Advanced} > {@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4781 | </text> |
| 4782 | |
| 4783 | <text style="text_m_fail"> |
| 4784 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4785 | <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] | 4786 | </text> |
| 4787 | |
| 4788 | <text style="text_m_fail"> |
| 4789 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4790 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4791 | </text> |
| 4792 | |
| 4793 | <text style="text_m_accent"> |
| 4794 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4795 | <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4796 | </text> |
| 4797 | |
| 4798 | <text style="text_m_accent"> |
| 4799 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4800 | <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4801 | </text> |
| 4802 | |
| 4803 | <text style="text_m_accent"> |
| 4804 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4805 | <text>{@file_system=File System:} %tw_sdpart_file_system%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4806 | </text> |
| 4807 | |
| 4808 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4809 | <text>{@swipe_part_sd_s=Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4810 | <action function="page">partsdcardaction</action> |
| 4811 | <actions> |
| 4812 | <action function="set">tw_back=partsdcard</action> |
| 4813 | <action function="set">tw_action=partitionsd</action> |
| 4814 | <action function="set">tw_has_action2=1</action> |
| 4815 | <action function="set">tw_action2=set</action> |
| 4816 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4817 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 4818 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 4819 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4820 | <action function="page">action_page</action> |
| 4821 | </actions> |
| 4822 | </slider> |
| 4823 | |
| 4824 | <action> |
| 4825 | <touch key="home"/> |
| 4826 | <action function="page">main</action> |
| 4827 | </action> |
| 4828 | |
| 4829 | <action> |
| 4830 | <touch key="back"/> |
| 4831 | <action function="page">advanced</action> |
| 4832 | </action> |
| 4833 | </page> |
| 4834 | |
| 4835 | <page name="htcdumlock"> |
| 4836 | <template name="page"/> |
| 4837 | |
| 4838 | <template name="statusbar"/> |
| 4839 | |
| 4840 | <text style="text_m"> |
| 4841 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4842 | <text>{@advanced_hdr=Advanced} > {@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4843 | </text> |
| 4844 | |
| 4845 | <button style="main_button_full_width"> |
| 4846 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4847 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4848 | <actions> |
| 4849 | <action function="set">tw_back=htcdumlock</action> |
| 4850 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4851 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 4852 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 4853 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 4854 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4855 | <action function="page">confirm_action</action> |
| 4856 | </actions> |
| 4857 | </button> |
| 4858 | |
| 4859 | <button style="main_button_full_width"> |
| 4860 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4861 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4862 | <actions> |
| 4863 | <action function="set">tw_back=htcdumlock</action> |
| 4864 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4865 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 4866 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 4867 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 4868 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4869 | <action function="page">confirm_action</action> |
| 4870 | </actions> |
| 4871 | </button> |
| 4872 | |
| 4873 | <button style="main_button_full_width"> |
| 4874 | <placement x="%indent%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4875 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4876 | <actions> |
| 4877 | <action function="set">tw_back=htcdumlock</action> |
| 4878 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4879 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 4880 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 4881 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 4882 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4883 | <action function="page">confirm_action</action> |
| 4884 | </actions> |
| 4885 | </button> |
| 4886 | |
| 4887 | <action> |
| 4888 | <touch key="home"/> |
| 4889 | <action function="page">main</action> |
| 4890 | </action> |
| 4891 | |
| 4892 | <action> |
| 4893 | <touch key="back"/> |
| 4894 | <action function="page">advanced</action> |
| 4895 | </action> |
| 4896 | </page> |
| 4897 | |
Ethan Yonker | 53796e7 | 2019-01-11 22:49:52 -0600 | [diff] [blame] | 4898 | <page name="repackselect"> |
| 4899 | <template name="page"/> |
| 4900 | |
| 4901 | <template name="statusbar"/> |
| 4902 | |
| 4903 | <text style="text_m"> |
| 4904 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4905 | <text>{@repack_image_hdr=Select Image}</text> |
| 4906 | </text> |
| 4907 | |
| 4908 | <fileselector> |
| 4909 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 4910 | <text>%tw_zip_location%</text> |
| 4911 | <filter extn=".img" folders="1" files="1"/> |
| 4912 | <path name="tw_zip_location" default="/sdcard"/> |
| 4913 | <data name="tw_filename"/> |
| 4914 | <selection name="tw_file"/> |
| 4915 | </fileselector> |
| 4916 | |
| 4917 | <button> |
| 4918 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 4919 | <highlight color="%highlight_color%"/> |
| 4920 | <image resource="q_btn_storage"/> |
| 4921 | <actions> |
| 4922 | <action function="set">tw_storagetext={@install_hdr=Install} > {@select_storage_hdr=Select Storage}</action> |
| 4923 | <action function="set">tw_back=install</action> |
| 4924 | <action function="page">select_storage</action> |
| 4925 | </actions> |
| 4926 | </button> |
| 4927 | |
| 4928 | <action> |
| 4929 | <conditions> |
| 4930 | <condition var1="tw_filename" op="modified"/> |
| 4931 | </conditions> |
| 4932 | <action function="page">repackconfirm</action> |
| 4933 | </action> |
| 4934 | |
| 4935 | <action> |
| 4936 | <touch key="back"/> |
| 4937 | <action function="page">advanced</action> |
| 4938 | </action> |
| 4939 | |
| 4940 | <action> |
| 4941 | <touch key="home"/> |
| 4942 | <action function="page">main</action> |
| 4943 | </action> |
| 4944 | </page> |
| 4945 | |
| 4946 | <page name="repackconfirm"> |
| 4947 | <template name="page"/> |
| 4948 | |
| 4949 | <template name="statusbar"/> |
| 4950 | |
| 4951 | <text style="text_m"> |
| 4952 | <condition var1="tw_repack_kernel" var2="1"/> |
| 4953 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4954 | <text>{@repack_kernel_confirm=Install Kernel?}</text> |
| 4955 | </text> |
| 4956 | |
| 4957 | <text style="text_m"> |
| 4958 | <condition var1="tw_repack_kernel" var2="0"/> |
| 4959 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 4960 | <text>{@repack_ramdisk_confirm=Install Recovery?}</text> |
| 4961 | </text> |
| 4962 | |
| 4963 | <text style="text_m_accent"> |
| 4964 | <placement x="%indent%" y="%row2_y%"/> |
| 4965 | <text>{@folder=Folder:}</text> |
| 4966 | </text> |
| 4967 | |
| 4968 | <text style="text_m"> |
| 4969 | <placement x="%indent%" y="%row3_y%"/> |
| 4970 | <text>%tw_zip_location%</text> |
| 4971 | </text> |
| 4972 | |
| 4973 | <text style="text_m_accent"> |
| 4974 | <placement x="%indent%" y="%row4_y%"/> |
| 4975 | <text>{@file=File:}</text> |
| 4976 | </text> |
| 4977 | |
| 4978 | <text style="text_m"> |
| 4979 | <placement x="%indent%" y="%row5_y%"/> |
| 4980 | <text>%tw_file%</text> |
| 4981 | </text> |
| 4982 | |
| 4983 | <checkbox> |
| 4984 | <placement x="%indent%" y="%row7_y%"/> |
| 4985 | <text>{@repack_backup_first=Back up existing image first}</text> |
| 4986 | <data variable="tw_repack_backup_first"/> |
| 4987 | </checkbox> |
| 4988 | |
| 4989 | <slider> |
| 4990 | <text>{@swipe_to_install=Swipe to Install}</text> |
| 4991 | <actions> |
| 4992 | <action function="set">tw_back=advanced</action> |
| 4993 | <action function="set">tw_action=repackimage</action> |
| 4994 | <action function="set">tw_action_param=/boot</action> |
| 4995 | <action function="set">tw_action_text1={@installing=Installing...}</action> |
| 4996 | <action function="set">tw_action_text2=</action> |
| 4997 | <action function="set">tw_complete_text1={@install_complete=Install Complete}</action> |
| 4998 | <action function="page">action_page</action> |
| 4999 | </actions> |
| 5000 | </slider> |
| 5001 | |
| 5002 | <action> |
| 5003 | <touch key="back"/> |
| 5004 | <action function="page">repackselect</action> |
| 5005 | </action> |
| 5006 | |
| 5007 | <action> |
| 5008 | <touch key="home"/> |
| 5009 | <action function="page">main</action> |
| 5010 | </action> |
| 5011 | </page> |
| 5012 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5013 | <page name="lock"> |
| 5014 | <background color="%semi_transparent%"/> |
| 5015 | |
| 5016 | <image> |
| 5017 | <image resource="unlock_icon"/> |
| 5018 | <placement x="%center_x%" y="%row6_y%" placement="4"/> |
| 5019 | </image> |
| 5020 | |
| 5021 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5022 | <text>{@swipe_unlock= Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5023 | <action function="overlay"/> |
| 5024 | </slider> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 5025 | |
| 5026 | <action> |
| 5027 | <touch key="power"/> |
| 5028 | <action function="togglebacklight"/> |
| 5029 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5030 | </page> |
| 5031 | |
| 5032 | <page name="filemanagerlist"> |
| 5033 | <template name="page"/> |
| 5034 | |
| 5035 | <template name="statusbar"/> |
| 5036 | |
| 5037 | <text style="text_m"> |
| 5038 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5039 | <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] | 5040 | </text> |
| 5041 | |
| 5042 | <fileselector> |
| 5043 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 5044 | <text>%tw_file_location1%</text> |
| 5045 | <filter folders="1" files="1"/> |
| 5046 | <path name="tw_file_location1" default="/"/> |
| 5047 | <data name="tw_filename1"/> |
| 5048 | <selection name="tw_selection1"/> |
| 5049 | </fileselector> |
| 5050 | |
| 5051 | <button> |
| 5052 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 5053 | <highlight color="%highlight_color%"/> |
| 5054 | <image resource="q_btn_folder"/> |
| 5055 | <actions> |
| 5056 | <action function="set">tw_filename1=tw_file_location1</action> |
| 5057 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5058 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5059 | <action function="page">filemanageroptions</action> |
| 5060 | </actions> |
| 5061 | </button> |
| 5062 | |
| 5063 | <action> |
| 5064 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5065 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5066 | <action function="set">tw_fm_isfolder=0</action> |
| 5067 | </actions> |
| 5068 | </action> |
| 5069 | |
| 5070 | <action> |
| 5071 | <touch key="home"/> |
| 5072 | <action function="page">main</action> |
| 5073 | </action> |
| 5074 | |
| 5075 | <action> |
| 5076 | <touch key="back"/> |
| 5077 | <action function="page">main3</action> |
| 5078 | </action> |
| 5079 | |
| 5080 | <action> |
| 5081 | <condition var1="tw_filename1" op="modified"/> |
| 5082 | <action function="page">filemanageroptions</action> |
| 5083 | </action> |
| 5084 | </page> |
| 5085 | |
| 5086 | <page name="filemanageroptions"> |
| 5087 | <template name="page"/> |
| 5088 | |
| 5089 | <template name="statusbar"/> |
| 5090 | |
| 5091 | <text style="text_m"> |
| 5092 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5093 | <text>%tw_fm_type% > %tw_filename1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5094 | </text> |
| 5095 | |
| 5096 | <button style="main_button"> |
| 5097 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 5098 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5099 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5100 | <actions> |
| 5101 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5102 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5103 | <action function="page">choosedestinationfolder</action> |
| 5104 | </actions> |
| 5105 | </button> |
| 5106 | |
| 5107 | <button style="main_button"> |
| 5108 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 5109 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5110 | <text>{@fm_copy_btn=Copy}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5111 | <actions> |
| 5112 | <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] | 5113 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5114 | <action function="page">choosedestinationfolder</action> |
| 5115 | </actions> |
| 5116 | </button> |
| 5117 | |
| 5118 | <button style="main_button"> |
| 5119 | <placement x="%col1_x_right%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5120 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5121 | <actions> |
| 5122 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5123 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5124 | <action function="page">choosedestinationfolder</action> |
| 5125 | </actions> |
| 5126 | </button> |
| 5127 | |
| 5128 | <button style="main_button"> |
| 5129 | <placement x="%col1_x_left%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5130 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5131 | <actions> |
| 5132 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5133 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5134 | <action function="set">tw_fm_text2=</action> |
| 5135 | <action function="set">tw_fm_text3=</action> |
| 5136 | <action function="set">tw_include_text3=0</action> |
| 5137 | <action function="set">tw_back=filemanageroptions</action> |
| 5138 | <action function="page">filemanagerconfirm</action> |
| 5139 | </actions> |
| 5140 | </button> |
| 5141 | |
| 5142 | <button style="main_button"> |
| 5143 | <placement x="%col1_x_right%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5144 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5145 | <actions> |
| 5146 | <action function="set">tw_filemanager_rename=0000</action> |
| 5147 | <action function="set">tw_fm_text2=</action> |
| 5148 | <action function="set">tw_fm_text3=</action> |
| 5149 | <action function="set">tw_include_text3=0</action> |
| 5150 | <action function="set">tw_back=filemanageroptions</action> |
| 5151 | <action function="page">filemanagerchmod</action> |
| 5152 | </actions> |
| 5153 | </button> |
| 5154 | |
| 5155 | <button style="main_button"> |
| 5156 | <placement x="%col1_x_left%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5157 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5158 | <actions> |
| 5159 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5160 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5161 | <action function="set">tw_fm_text2=</action> |
| 5162 | <action function="set">tw_fm_text3=</action> |
| 5163 | <action function="set">tw_include_text3=0</action> |
| 5164 | <action function="set">tw_back=filemanageroptions</action> |
| 5165 | <action function="page">filemanagerconfirm</action> |
| 5166 | </actions> |
| 5167 | </button> |
| 5168 | |
| 5169 | <button style="main_button"> |
| 5170 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 5171 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5172 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5173 | <actions> |
| 5174 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5175 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5176 | <action function="set">tw_filemanager_command=mv</action> |
| 5177 | <action function="page">filemanagerrenamefile</action> |
| 5178 | </actions> |
| 5179 | </button> |
| 5180 | |
| 5181 | <button style="main_button"> |
| 5182 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 5183 | <placement x="%col1_x_right%" y="%row11_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5184 | <text>{@fm_rename_btn=Rename}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5185 | <actions> |
| 5186 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5187 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5188 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 5189 | <action function="page">filemanagerrenamefolder</action> |
| 5190 | </actions> |
| 5191 | </button> |
| 5192 | |
| 5193 | <action> |
| 5194 | <touch key="home"/> |
| 5195 | <action function="page">main</action> |
| 5196 | </action> |
| 5197 | |
| 5198 | <action> |
| 5199 | <touch key="back"/> |
| 5200 | <action function="page">filemanagerlist</action> |
| 5201 | </action> |
| 5202 | </page> |
| 5203 | |
| 5204 | <page name="choosedestinationfolder"> |
| 5205 | <template name="page"/> |
| 5206 | |
| 5207 | <template name="statusbar"/> |
| 5208 | |
| 5209 | <text style="text_m"> |
| 5210 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5211 | <text>{@fm_hdr=File Manager} > {@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5212 | </text> |
| 5213 | |
| 5214 | <fileselector> |
| 5215 | <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 5216 | <text>%tw_file_location2%</text> |
| 5217 | <filter folders="1" files="0"/> |
| 5218 | <path name="tw_file_location2" default="/"/> |
| 5219 | <data name="tw_filename2"/> |
| 5220 | <selection name="tw_selection2"/> |
| 5221 | </fileselector> |
| 5222 | |
| 5223 | <button> |
| 5224 | <placement x="%btn4_col4_x%" y="%row11_y%"/> |
| 5225 | <highlight color="%highlight_color%"/> |
| 5226 | <image resource="q_btn_folder"/> |
| 5227 | <actions> |
| 5228 | <action function="set">tw_fm_text2=to</action> |
| 5229 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 5230 | <action function="set">tw_include_text3=1</action> |
| 5231 | <action function="set">tw_back=filemanageroptions</action> |
| 5232 | <action function="page">filemanagerconfirm</action> |
| 5233 | </actions> |
| 5234 | </button> |
| 5235 | |
| 5236 | <action> |
| 5237 | <touch key="home"/> |
| 5238 | <action function="page">main</action> |
| 5239 | </action> |
| 5240 | |
| 5241 | <action> |
| 5242 | <touch key="back"/> |
| 5243 | <action function="page">filemanageroptions</action> |
| 5244 | </action> |
| 5245 | </page> |
| 5246 | |
| 5247 | <page name="filemanagerrenamefile"> |
| 5248 | <template name="page"/> |
| 5249 | |
| 5250 | <template name="statusbar"/> |
| 5251 | |
| 5252 | <text style="text_m"> |
| 5253 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5254 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5255 | </text> |
| 5256 | |
| 5257 | <text style="text_m_accent"> |
| 5258 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5259 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5260 | </text> |
| 5261 | |
| 5262 | <input> |
| 5263 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5264 | <text>%tw_filemanager_rename%</text> |
| 5265 | <data name="tw_filemanager_rename"/> |
| 5266 | <restrict minlen="1" maxlen="128"/> |
| 5267 | <actions> |
| 5268 | <action function="set">tw_fm_text2=to</action> |
| 5269 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 5270 | <action function="set">tw_include_text3=1</action> |
| 5271 | <action function="set">tw_back=filemanageroptions</action> |
| 5272 | <action function="page">filemanagerconfirm</action> |
| 5273 | </actions> |
| 5274 | </input> |
| 5275 | |
| 5276 | <fill color="%accent_color%"> |
| 5277 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 5278 | </fill> |
| 5279 | |
| 5280 | <button style="main_button_half_height"> |
| 5281 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5282 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5283 | <action function="page">filemanageroptions</action> |
| 5284 | </button> |
| 5285 | |
| 5286 | <template name="keyboardtemplate"/> |
| 5287 | |
| 5288 | <action> |
| 5289 | <touch key="home"/> |
| 5290 | <action function="page">main</action> |
| 5291 | </action> |
| 5292 | |
| 5293 | <action> |
| 5294 | <touch key="back"/> |
| 5295 | <action function="page">filemanageroptions</action> |
| 5296 | </action> |
| 5297 | </page> |
| 5298 | |
| 5299 | <page name="filemanagerrenamefolder"> |
| 5300 | <template name="page"/> |
| 5301 | |
| 5302 | <template name="statusbar"/> |
| 5303 | |
| 5304 | <text style="text_m"> |
| 5305 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5306 | <text>{@fm_hdr=File Manager} > {@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5307 | </text> |
| 5308 | |
| 5309 | <text style="text_m_accent"> |
| 5310 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5311 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5312 | </text> |
| 5313 | |
| 5314 | <input> |
| 5315 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5316 | <text>%tw_filemanager_rename%</text> |
| 5317 | <data name="tw_filemanager_rename"/> |
| 5318 | <restrict minlen="1" maxlen="128"/> |
| 5319 | <actions> |
| 5320 | <action function="set">tw_fm_text2=to</action> |
| 5321 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 5322 | <action function="set">tw_include_text3=1</action> |
| 5323 | <action function="set">tw_back=filemanageroptions</action> |
| 5324 | <action function="page">filemanagerconfirm</action> |
| 5325 | </actions> |
| 5326 | </input> |
| 5327 | |
| 5328 | <fill color="%accent_color%"> |
| 5329 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5330 | </fill> |
| 5331 | |
| 5332 | <button style="main_button_half_height"> |
| 5333 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5334 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5335 | <action function="page">filemanageroptions</action> |
| 5336 | </button> |
| 5337 | |
| 5338 | <template name="keyboardtemplate"/> |
| 5339 | |
| 5340 | <action> |
| 5341 | <touch key="home"/> |
| 5342 | <action function="page">main</action> |
| 5343 | </action> |
| 5344 | |
| 5345 | <action> |
| 5346 | <touch key="back"/> |
| 5347 | <action function="page">filemanageroptions</action> |
| 5348 | </action> |
| 5349 | </page> |
| 5350 | |
| 5351 | <page name="filemanagerchmod"> |
| 5352 | <template name="page"/> |
| 5353 | |
| 5354 | <template name="statusbar"/> |
| 5355 | |
| 5356 | <text style="text_m"> |
| 5357 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5358 | <text>{@fm_hdr=File Manager} > {@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5359 | </text> |
| 5360 | |
| 5361 | <text style="text_m_accent"> |
| 5362 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5363 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5364 | </text> |
| 5365 | |
| 5366 | <input> |
| 5367 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5368 | <text>%tw_filemanager_rename%</text> |
| 5369 | <data name="tw_filemanager_rename"/> |
| 5370 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 5371 | <actions> |
| 5372 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 5373 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 5374 | <action function="set">tw_back=filemanageroptions</action> |
| 5375 | <action function="page">filemanagerconfirm</action> |
| 5376 | </actions> |
| 5377 | </input> |
| 5378 | |
| 5379 | <fill color="%accent_color%"> |
| 5380 | <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5381 | </fill> |
| 5382 | |
| 5383 | <button style="main_button_half_height"> |
| 5384 | <placement x="%col1_x_left%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5385 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5386 | <action function="page">filemanageroptions</action> |
| 5387 | </button> |
| 5388 | |
| 5389 | <template name="keyboardtemplate"/> |
| 5390 | |
| 5391 | <action> |
| 5392 | <touch key="home"/> |
| 5393 | <action function="page">main</action> |
| 5394 | </action> |
| 5395 | |
| 5396 | <action> |
| 5397 | <touch key="back"/> |
| 5398 | <action function="page">filemanageroptions</action> |
| 5399 | </action> |
| 5400 | </page> |
| 5401 | |
| 5402 | <page name="filemanagerconfirm"> |
| 5403 | <template name="page"/> |
| 5404 | |
| 5405 | <template name="statusbar"/> |
| 5406 | |
| 5407 | <text style="text_m"> |
| 5408 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5409 | <text>{@fm_hdr=File Manager} > {@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5410 | </text> |
| 5411 | |
| 5412 | <text style="text_m_accent"> |
| 5413 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 5414 | <text>%tw_fm_text1%</text> |
| 5415 | </text> |
| 5416 | |
| 5417 | <text style="text_m"> |
| 5418 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 5419 | <text>%tw_filename1%</text> |
| 5420 | </text> |
| 5421 | |
| 5422 | <text style="text_m_accent"> |
| 5423 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 5424 | <text>%tw_fm_text2%</text> |
| 5425 | </text> |
| 5426 | |
| 5427 | <text style="text_m"> |
| 5428 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 5429 | <text>%tw_fm_text3%</text> |
| 5430 | </text> |
| 5431 | |
| 5432 | <text style="text_m"> |
| 5433 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5434 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5435 | </text> |
| 5436 | |
| 5437 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5438 | <text>{@swipe_confirm= Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5439 | <action function="page">filemanageraction</action> |
| 5440 | </slider> |
| 5441 | |
| 5442 | <action> |
| 5443 | <touch key="back"/> |
| 5444 | <action function="page">%tw_back%</action> |
| 5445 | </action> |
| 5446 | |
| 5447 | <action> |
| 5448 | <touch key="home"/> |
| 5449 | <action function="page">main</action> |
| 5450 | </action> |
| 5451 | </page> |
| 5452 | |
| 5453 | <page name="filemanageraction"> |
| 5454 | <template name="page"/> |
| 5455 | |
| 5456 | <template name="statusbar"/> |
| 5457 | |
| 5458 | <text style="text_m"> |
| 5459 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5460 | <text>{@fm_hdr=File Manager} > %tw_fm_text1%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5461 | </text> |
| 5462 | |
| 5463 | <template name="console"/> |
| 5464 | |
| 5465 | <template name="progress_bar"/> |
| 5466 | |
| 5467 | <action> |
| 5468 | <conditions> |
| 5469 | <condition var1="tw_operation_state" var2="1"/> |
| 5470 | <condition var1="tw_operation_status" var2="0"/> |
| 5471 | </conditions> |
| 5472 | <actions> |
| 5473 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5474 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5475 | <action function="page">action_complete</action> |
| 5476 | </actions> |
| 5477 | </action> |
| 5478 | |
| 5479 | <action> |
| 5480 | <conditions> |
| 5481 | <condition var1="tw_operation_state" var2="1"/> |
| 5482 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5483 | </conditions> |
| 5484 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5485 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5486 | <action function="page">action_complete</action> |
| 5487 | </actions> |
| 5488 | </action> |
| 5489 | |
| 5490 | <action> |
| 5491 | <condition var1="tw_include_text3" var2="0"/> |
| 5492 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 5493 | </action> |
| 5494 | |
| 5495 | <action> |
| 5496 | <condition var1="tw_include_text3" var2="1"/> |
| 5497 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 5498 | </action> |
| 5499 | </page> |
| 5500 | |
| 5501 | <page name="decrypt"> |
| 5502 | <template name="page"/> |
| 5503 | |
| 5504 | <template name="statusbar"/> |
| 5505 | |
| 5506 | <action> |
| 5507 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 5508 | <action function="page">decrypt_pattern</action> |
| 5509 | </action> |
| 5510 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 5511 | <action> |
| 5512 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 5513 | <action function="page">decrypt_pin</action> |
| 5514 | </action> |
| 5515 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5516 | <text style="text_m"> |
| 5517 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5518 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5519 | </text> |
| 5520 | |
| 5521 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5522 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5523 | <placement x="%col1_x_left%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5524 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5525 | </text> |
| 5526 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5527 | <text style="text_m_accent"> |
| 5528 | <condition var1="tw_is_fbe" var2="1"/> |
| 5529 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 5530 | <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text> |
| 5531 | </text> |
| 5532 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5533 | <input> |
| 5534 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5535 | <text>%tw_crypto_display%</text> |
| 5536 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 5537 | <restrict minlen="1" maxlen="254"/> |
| 5538 | <action function="page">trydecrypt</action> |
| 5539 | </input> |
| 5540 | |
| 5541 | <fill color="%accent_color%"> |
| 5542 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5543 | </fill> |
| 5544 | |
| 5545 | <fill color="%text_fail_color%"> |
| 5546 | <condition var1="tw_password_fail" var2="1"/> |
| 5547 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5548 | </fill> |
| 5549 | |
| 5550 | <text style="text_m_fail"> |
| 5551 | <condition var1="tw_password_fail" var2="1"/> |
| 5552 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 5553 | <text>{@decrypt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5554 | </text> |
| 5555 | |
| 5556 | <button style="main_button_half_height"> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5557 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 5558 | <text>{@sel_lang_btn=Select Language}</text> |
| 5559 | <action function="page">settings_language</action> |
| 5560 | </button> |
| 5561 | |
| 5562 | <button style="main_button_half_height"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5563 | <placement x="%col1_x_right%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5564 | <text>{@cancel_btn=Cancel}</text> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5565 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5566 | </button> |
| 5567 | |
| 5568 | <template name="keyboardtemplate"/> |
| 5569 | </page> |
| 5570 | |
| 5571 | <page name="decrypt_pattern"> |
| 5572 | <template name="page"/> |
| 5573 | |
| 5574 | <template name="statusbar"/> |
| 5575 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5576 | <action> |
| 5577 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5578 | </action> |
| 5579 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5580 | <text style="text_m"> |
| 5581 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5582 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5583 | </text> |
| 5584 | |
| 5585 | <text style="text_m_accent"> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5586 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5587 | <condition var1="tw_password_fail" op="!=" var2="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5588 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5589 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5590 | </text> |
| 5591 | |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 5592 | <text style="text_m_accent"> |
| 5593 | <condition var1="tw_is_fbe" var2="1"/> |
| 5594 | <condition var1="tw_password_fail" op="!=" var2="1"/> |
| 5595 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 5596 | <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text> |
| 5597 | </text> |
| 5598 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5599 | <text style="text_m_fail"> |
| 5600 | <condition var1="tw_password_fail" var2="1"/> |
| 5601 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
sndnvaps | 793ec58 | 2016-01-28 19:41:44 +0800 | [diff] [blame] | 5602 | <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5603 | </text> |
| 5604 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5605 | <text style="text_m"> |
| 5606 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5607 | <text>{@back_cancel=Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5608 | </text> |
| 5609 | |
| 5610 | <patternpassword> |
| 5611 | <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5612 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 5613 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 5614 | <data name="tw_crypto_password"/> |
| 5615 | <action function="page">trydecrypt</action> |
| 5616 | </patternpassword> |
| 5617 | |
| 5618 | <fill color="#000000"> |
| 5619 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 5620 | </fill> |
| 5621 | |
| 5622 | <button> |
| 5623 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5624 | <image resource="back"/> |
| 5625 | <condition var1="tw_busy" var2="0"/> |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5626 | <action function="page">canceldecrypt</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5627 | </button> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 5628 | |
| 5629 | <button> |
| 5630 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 5631 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5632 | <image resource="grid_less"/> |
| 5633 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5634 | </button> |
| 5635 | |
| 5636 | <button> |
| 5637 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 5638 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5639 | <image resource="grid_less"/> |
| 5640 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 5641 | </button> |
| 5642 | |
| 5643 | <button> |
| 5644 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 5645 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5646 | <image resource="grid_less"/> |
| 5647 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 5648 | </button> |
| 5649 | |
| 5650 | <button> |
| 5651 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 5652 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 5653 | <image resource="grid_less"/> |
| 5654 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 5655 | </button> |
| 5656 | |
| 5657 | <button> |
| 5658 | <condition var1="tw_gui_pattern_grid_size" var2="3"/> |
| 5659 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5660 | <image resource="grid_more"/> |
| 5661 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 5662 | </button> |
| 5663 | |
| 5664 | <button> |
| 5665 | <condition var1="tw_gui_pattern_grid_size" var2="4"/> |
| 5666 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5667 | <image resource="grid_more"/> |
| 5668 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 5669 | </button> |
| 5670 | |
| 5671 | <button> |
| 5672 | <condition var1="tw_gui_pattern_grid_size" var2="5"/> |
| 5673 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5674 | <image resource="grid_more"/> |
| 5675 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 5676 | </button> |
| 5677 | |
| 5678 | <button> |
| 5679 | <condition var1="tw_gui_pattern_grid_size" var2="6"/> |
| 5680 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 5681 | <image resource="grid_more"/> |
| 5682 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 5683 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5684 | </page> |
| 5685 | |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 5686 | <page name="decrypt_pin"> |
| 5687 | <template name="page"/> |
| 5688 | |
| 5689 | <template name="statusbar"/> |
| 5690 | |
| 5691 | <text style="text_m"> |
| 5692 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 5693 | <text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text> |
| 5694 | </text> |
| 5695 | |
| 5696 | <text style="text_m_accent"> |
| 5697 | <condition var1="tw_is_fbe" op="!=" var2="1"/> |
| 5698 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 5699 | <text>{@decrypt_data_enter_pass=Enter PIN:}</text> |
| 5700 | </text> |
| 5701 | |
| 5702 | <text style="text_m_accent"> |
| 5703 | <condition var1="tw_is_fbe" var2="1"/> |
| 5704 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 5705 | <text>{@decrypt_data_enter_pass_fbe=Enter PIN for User [%tw_crypto_user_id%]}</text> |
| 5706 | </text> |
| 5707 | |
| 5708 | <input> |
| 5709 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 5710 | <text>%tw_crypto_display%</text> |
| 5711 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 5712 | <restrict minlen="1" maxlen="254"/> |
| 5713 | <action function="page">trydecrypt</action> |
| 5714 | </input> |
| 5715 | |
| 5716 | <fill color="%accent_color%"> |
| 5717 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5718 | </fill> |
| 5719 | |
| 5720 | <fill color="%text_fail_color%"> |
| 5721 | <condition var1="tw_password_fail" var2="1"/> |
| 5722 | <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 5723 | </fill> |
| 5724 | |
| 5725 | <text style="text_m_fail"> |
| 5726 | <condition var1="tw_password_fail" var2="1"/> |
| 5727 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
| 5728 | <text>{@decrypt_data_failed=PIN failed, please try again!}</text> |
| 5729 | </text> |
| 5730 | |
| 5731 | <button style="main_button_half_height"> |
| 5732 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 5733 | <text>{@sel_lang_btn=Select Language}</text> |
| 5734 | <action function="page">settings_language</action> |
| 5735 | </button> |
| 5736 | |
| 5737 | <button style="main_button_half_height"> |
| 5738 | <placement x="%col1_x_right%" y="%row4_y%"/> |
| 5739 | <text>{@cancel_btn=Cancel}</text> |
| 5740 | <action function="page">canceldecrypt</action> |
| 5741 | </button> |
| 5742 | |
| 5743 | <template name="keyboardnum"/> |
| 5744 | </page> |
| 5745 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5746 | <page name="trydecrypt"> |
| 5747 | <template name="page"/> |
| 5748 | |
| 5749 | <template name="statusbar"/> |
| 5750 | |
| 5751 | <text style="text_m"> |
| 5752 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5753 | <text>{@mount_hdr=Mount} > {@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5754 | </text> |
| 5755 | |
| 5756 | <template name="console"/> |
| 5757 | |
| 5758 | <template name="progress_bar"/> |
| 5759 | |
| 5760 | <action> |
| 5761 | <action function="decrypt"/> |
| 5762 | </action> |
| 5763 | |
| 5764 | <action> |
| 5765 | <conditions> |
| 5766 | <condition var1="tw_operation_state" var2="1"/> |
| 5767 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 5768 | </conditions> |
| 5769 | <actions> |
| 5770 | <action function="set">tw_password_fail=1</action> |
| 5771 | <action function="page">decrypt</action> |
| 5772 | </actions> |
| 5773 | </action> |
| 5774 | |
| 5775 | <action> |
| 5776 | <conditions> |
| 5777 | <condition var1="tw_operation_state" var2="1"/> |
| 5778 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 5779 | </conditions> |
| 5780 | <actions> |
| 5781 | <action function="set">tw_page_done=1</action> |
| 5782 | <action function="page">main</action> |
| 5783 | </actions> |
| 5784 | </action> |
| 5785 | </page> |
| 5786 | |
Captain Throwback | 89b56a1 | 2021-02-10 18:25:07 -0500 | [diff] [blame] | 5787 | <page name="canceldecrypt"> |
| 5788 | <template name="page"/> |
| 5789 | |
| 5790 | <template name="statusbar"/> |
| 5791 | |
| 5792 | <text style="text_m"> |
| 5793 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 5794 | <text>{@cancel_btn=Cancel} > {@refresh_sizes_btn=Refresh Sizes}</text> |
| 5795 | </text> |
| 5796 | |
| 5797 | <template name="console"/> |
| 5798 | |
| 5799 | <template name="progress_bar"/> |
| 5800 | |
| 5801 | <action> |
| 5802 | <action function="refreshsizes"/> |
| 5803 | </action> |
| 5804 | |
| 5805 | <action> |
| 5806 | <conditions> |
| 5807 | <condition var1="tw_operation_state" var2="1"/> |
| 5808 | </conditions> |
| 5809 | <actions> |
| 5810 | <action function="set">tw_page_done=1</action> |
| 5811 | <action function="page">main</action> |
| 5812 | </actions> |
| 5813 | </action> |
| 5814 | </page> |
| 5815 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5816 | <page name="terminalcommand"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5817 | <terminal> |
| 5818 | <condition var1="tw_hide_kb" var2="0"/> |
| 5819 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/> |
| 5820 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5821 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5822 | <terminal> |
| 5823 | <condition var1="tw_hide_kb" var2="1"/> |
| 5824 | <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/> |
| 5825 | </terminal> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5826 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5827 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5828 | |
| 5829 | <template name="keyboardtemplate"/> |
| 5830 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5831 | <fill color="#000000"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5832 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5833 | </fill> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5834 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5835 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5836 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5837 | <image resource="back" /> |
| 5838 | <condition var1="tw_busy" var2="0" /> |
| 5839 | <actions> |
| 5840 | <action function="set">tw_hide_kb=0</action> |
| 5841 | <action function="key">back</action> |
| 5842 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5843 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5844 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5845 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5846 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 5847 | <image resource="home" /> |
| 5848 | <condition var1="tw_busy" var2="0" /> |
| 5849 | <actions> |
| 5850 | <action function="set">tw_hide_kb=0</action> |
| 5851 | <action function="key">home</action> |
| 5852 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5853 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5854 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5855 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5856 | <condition var1="tw_hide_kb" var2="0"/> |
| 5857 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5858 | <image resource="kb_hide" /> |
| 5859 | <condition var1="tw_busy" var2="0" /> |
| 5860 | <actions> |
| 5861 | <action function="set">tw_hide_kb=1</action> |
| 5862 | <action function="page">terminalcommand</action> |
| 5863 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5864 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5865 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5866 | <button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5867 | <condition var1="tw_hide_kb" var2="1"/> |
| 5868 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 5869 | <image resource="kb_show" /> |
| 5870 | <condition var1="tw_busy" var2="0" /> |
| 5871 | <actions> |
| 5872 | <action function="set">tw_hide_kb=0</action> |
| 5873 | <action function="page">terminalcommand</action> |
| 5874 | </actions> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5875 | </button> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5876 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5877 | <action> |
| 5878 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5879 | <actions> |
| 5880 | <action function="set">tw_hide_kb=0</action> |
| 5881 | <action function="page">main</action> |
| 5882 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5883 | </action> |
| 5884 | |
| 5885 | <action> |
| 5886 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5887 | <actions> |
| 5888 | <action function="set">tw_hide_kb=0</action> |
| 5889 | <action function="page">advanced</action> |
| 5890 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5891 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5892 | |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5893 | <action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 5894 | <touch key="power+voldown" /> |
| 5895 | <action function="screenshot" /> |
z31s1g | 608d7ff | 2016-01-18 19:47:25 +0100 | [diff] [blame] | 5896 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5897 | </page> |
| 5898 | |
| 5899 | <page name="sideload"> |
| 5900 | <template name="page"/> |
| 5901 | |
| 5902 | <template name="statusbar"/> |
| 5903 | |
| 5904 | <text style="text_m"> |
| 5905 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5906 | <text>{@install_hdr=Install} > {@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5907 | </text> |
| 5908 | |
| 5909 | <text style="text_m_accent"> |
| 5910 | <placement x="%indent%" y="%row1_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5911 | <text>{@options=Options:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5912 | </text> |
| 5913 | |
| 5914 | <checkbox> |
| 5915 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5916 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5917 | <data variable="tw_wipe_dalvik"/> |
| 5918 | </checkbox> |
| 5919 | |
| 5920 | <checkbox> |
| 5921 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5922 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5923 | <data variable="tw_wipe_cache"/> |
| 5924 | </checkbox> |
| 5925 | |
| 5926 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5927 | <text>{@swipe_sideload= Start}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5928 | <actions> |
| 5929 | <action function="set">tw_back=install_type</action> |
| 5930 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 5931 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 5932 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 5933 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5934 | <action function="set">tw_has_cancel=1</action> |
| 5935 | <action function="set">tw_show_reboot=1</action> |
| 5936 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 5937 | <action function="page">action_page</action> |
| 5938 | </actions> |
| 5939 | </slider> |
| 5940 | |
| 5941 | <action> |
| 5942 | <touch key="home"/> |
| 5943 | <action function="page">main</action> |
| 5944 | </action> |
| 5945 | |
| 5946 | <action> |
| 5947 | <touch key="back"/> |
| 5948 | <action function="page">install_type</action> |
| 5949 | </action> |
| 5950 | </page> |
| 5951 | |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5952 | <page name="fixcontexts"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5953 | <template name="page"/> |
| 5954 | |
| 5955 | <template name="statusbar"/> |
| 5956 | |
| 5957 | <text style="text_m"> |
| 5958 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5959 | <text>{@advanced_hdr=Advanced} > {@fix_contexts_hdr=Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5960 | </text> |
| 5961 | |
| 5962 | <text style="text_m_accent"> |
| 5963 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5964 | <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5965 | </text> |
| 5966 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5967 | <text style="text_m_fail"> |
| 5968 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5969 | <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5970 | </text> |
| 5971 | |
| 5972 | <text style="text_m_fail"> |
| 5973 | <placement x="%center_x%" y="%row7a_y%" placement="5"/> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5974 | <text>{@fix_contexts_note3=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5975 | </text> |
| 5976 | |
| 5977 | <slider> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5978 | <text>{@swipe_fix_contexts= Fix Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5979 | <actions> |
| 5980 | <action function="set">tw_back=advanced</action> |
Ethan Yonker | b5fab76 | 2016-01-28 14:03:33 -0600 | [diff] [blame] | 5981 | <action function="set">tw_action=fixcontexts</action> |
| 5982 | <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action> |
| 5983 | <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] | 5984 | <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 5985 | <action function="set">tw_show_reboot=1</action> |
| 5986 | <action function="page">action_page</action> |
| 5987 | </actions> |
| 5988 | </slider> |
| 5989 | |
| 5990 | <action> |
| 5991 | <touch key="home"/> |
| 5992 | <action function="page">main</action> |
| 5993 | </action> |
| 5994 | |
| 5995 | <action> |
| 5996 | <touch key="back"/> |
| 5997 | <action function="page">advanced</action> |
| 5998 | </action> |
| 5999 | </page> |
| 6000 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 6001 | <page name="slideout"> |
| 6002 | <fill color="%background_color%"> |
| 6003 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 6004 | </fill> |
| 6005 | |
| 6006 | <console> |
| 6007 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/> |
| 6008 | </console> |
| 6009 | |
| 6010 | <fill color="%fileselector_linecolor%"> |
| 6011 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 6012 | </fill> |
| 6013 | |
| 6014 | <fill color="%fileselector_linecolor%"> |
| 6015 | <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/> |
| 6016 | </fill> |
| 6017 | |
| 6018 | <button> |
| 6019 | <fill color="%transparent%"/> |
| 6020 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 6021 | <action function="overlay"/> |
| 6022 | </button> |
| 6023 | |
| 6024 | <action> |
Matt Mower | 0c347d5 | 2016-01-21 23:14:39 -0600 | [diff] [blame] | 6025 | <touch key="power"/> |
| 6026 | <action function="togglebacklight"/> |
| 6027 | </action> |
| 6028 | |
| 6029 | <action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 6030 | <touch key="power+voldown"/> |
| 6031 | <action function="screenshot"/> |
| 6032 | </action> |
| 6033 | </page> |
| 6034 | |
| 6035 | <page name="select_storage"> |
| 6036 | <template name="page"/> |
| 6037 | |
| 6038 | <template name="statusbar"/> |
| 6039 | |
| 6040 | <text style="text_m"> |
| 6041 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 6042 | <text>%tw_storagetext%</text> |
| 6043 | </text> |
| 6044 | |
| 6045 | <partitionlist style="partitionlist_headerless_rb"> |
| 6046 | <data name="tw_storage_path"/> |
| 6047 | <listtype name="storage"/> |
| 6048 | </partitionlist> |
| 6049 | |
| 6050 | <button> |
| 6051 | <placement x="%btn4_col2_x%" y="%row11_y%"/> |
| 6052 | <highlight color="%highlight_color%"/> |
| 6053 | <image resource="q_btn_refresh"/> |
| 6054 | <actions> |
| 6055 | <action function="refreshsizes"/> |
| 6056 | <action function="page">select_storage</action> |
| 6057 | </actions> |
| 6058 | </button> |
| 6059 | |
| 6060 | <button> |
| 6061 | <placement x="%btn4_col3_x%" y="%row11_y%"/> |
| 6062 | <highlight color="%highlight_color%"/> |
| 6063 | <image resource="q_btn_accept"/> |
| 6064 | <actions> |
| 6065 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 6066 | <action function="page">clear_vars</action> |
| 6067 | </actions> |
| 6068 | </button> |
| 6069 | |
| 6070 | <action> |
| 6071 | <touch key="power+voldown"/> |
| 6072 | <action function="screenshot"/> |
| 6073 | </action> |
| 6074 | </page> |
Noah Jacobson | 81d638d | 2019-04-28 00:10:07 -0400 | [diff] [blame] | 6075 | |
| 6076 | <page name="decrypt_users"> |
| 6077 | <template name="page"/> |
| 6078 | |
| 6079 | <text style="text_l"> |
| 6080 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 6081 | <text>{@decrypt_users=Decrypt Users}</text> |
| 6082 | </text> |
| 6083 | |
| 6084 | <text style="text_m_accent"> |
| 6085 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6086 | <text>{@decrypt_users_selection=Select a user ID to decrypt}</text> |
| 6087 | </text> |
| 6088 | |
| 6089 | <listbox> |
| 6090 | <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/> |
| 6091 | <text>{@select_user=Select User}</text> |
| 6092 | <icon selected="radio_true" unselected="radio_false" /> |
| 6093 | <data name="tw_crypto_user_id" /> |
| 6094 | </listbox> |
| 6095 | |
| 6096 | <button style="main_button_half_height"> |
| 6097 | <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/> |
| 6098 | <text>{@decrypt_users=Decrypt Users}</text> |
| 6099 | <action function="set">tw_crypto_password=</action> |
| 6100 | <action function="set">tw_password_fail=0</action> |
| 6101 | <action function="page">decrypt</action> |
| 6102 | </button> |
| 6103 | |
| 6104 | <action> |
| 6105 | <touch key="home"/> |
| 6106 | <action function="page">main</action> |
| 6107 | </action> |
| 6108 | |
| 6109 | <action> |
| 6110 | <touch key="back"/> |
| 6111 | <action function="page">advanced</action> |
| 6112 | </action> |
| 6113 | </page> |
epicX | a721f95 | 2021-01-04 13:01:31 +0530 | [diff] [blame] | 6114 | |
| 6115 | <page name="changeTwrpFolder"> |
| 6116 | <template name="page"/> |
| 6117 | |
| 6118 | <template name="statusbar"/> |
| 6119 | |
| 6120 | <text style="text_m"> |
| 6121 | <placement x="%col1_x_left%" y="%row1_header_y%"/> |
| 6122 | <text>{@change_twrp_folder_btn=Change TWRP folder}</text> |
| 6123 | </text> |
| 6124 | |
| 6125 | <text style="text_m_accent"> |
| 6126 | <placement x="%col1_x_left%" y="%row1_y%"/> |
| 6127 | <text>{@name=Name:}</text> |
| 6128 | </text> |
| 6129 | |
| 6130 | <input> |
| 6131 | <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/> |
| 6132 | <text>%tw_custom_folder%</text> |
| 6133 | <data name="tw_custom_folder"/> |
| 6134 | <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/> |
| 6135 | <actions> |
| 6136 | <action function="set">tw_back=changeTwrpFolder</action> |
| 6137 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 6138 | <action function="set">tw_action_param=%tw_custom_folder%</action> |
| 6139 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 6140 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 6141 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 6142 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action> |
| 6143 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 6144 | <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action> |
| 6145 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 6146 | <action function="set">tw_notexistpage=confirm_action</action> |
| 6147 | <action function="page">filecheck</action> |
| 6148 | </actions> |
| 6149 | </input> |
| 6150 | |
| 6151 | <fill color="%accent_color%"> |
| 6152 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 6153 | </fill> |
| 6154 | |
| 6155 | <fill color="%text_fail_color%"> |
| 6156 | <condition var1="tw_fileexists" var2="1"/> |
| 6157 | <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/> |
| 6158 | </fill> |
| 6159 | |
| 6160 | <text style="text_m_fail"> |
| 6161 | <condition var1="tw_fileexists" var2="1"/> |
| 6162 | <placement x="%col1_x_left%" y="%row3_input_y%"/> |
| 6163 | <text>{@tw_folder_exists=A folder with that name already exists!}</text> |
| 6164 | </text> |
| 6165 | |
| 6166 | <button style="main_button_half_width_low"> |
| 6167 | <placement x="%col1_x_left%" y="%row4_y%"/> |
| 6168 | <text>{@cancel_btn=Cancel}</text> |
| 6169 | <action function="page">advanced2</action> |
| 6170 | </button> |
| 6171 | |
| 6172 | <button style="main_button_half_height"> |
| 6173 | <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/> |
| 6174 | <placement x="%col1_x_right%" y="%row4_y%"/> |
| 6175 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
| 6176 | <actions> |
| 6177 | <action function="set">tw_back=changeTwrpFolder</action> |
| 6178 | <action function="set">tw_action=applycustomtwrpfolder</action> |
| 6179 | <action function="set">tw_action_param=TWRP</action> |
| 6180 | <action function="set">tw_text1={@confirm_action=Confirm}</action> |
| 6181 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 6182 | <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action> |
| 6183 | <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action> |
| 6184 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
| 6185 | <action function="set">tw_filecheck=/sdcard/TWRP</action> |
| 6186 | <action function="set">tw_existpage=changeTwrpFolder</action> |
| 6187 | <action function="set">tw_notexistpage=confirm_action</action> |
| 6188 | <action function="page">filecheck</action> |
| 6189 | </actions> |
| 6190 | </button> |
| 6191 | |
| 6192 | <template name="keyboardtemplate"/> |
| 6193 | |
| 6194 | <action> |
| 6195 | <touch key="home"/> |
| 6196 | <actions> |
| 6197 | <action function="page">main</action> |
| 6198 | </actions> |
| 6199 | </action> |
| 6200 | |
| 6201 | <action> |
| 6202 | <touch key="back"/> |
| 6203 | <actions> |
| 6204 | <action function="page">advanced2</action> |
| 6205 | </actions> |
| 6206 | </action> |
| 6207 | </page> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6208 | |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6209 | <page name="restore_keymaster"> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6210 | <template name="page"/> |
| 6211 | <text style="text_m_accent"> |
| 6212 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6213 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6214 | <text>{@restore_with_pin_password1=PIN/Password is enabled}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6215 | </text> |
| 6216 | <text style="text_m_accent"> |
| 6217 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6218 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6219 | <text>{@restore_with_pin_password2=PIN/Password should be disabled before restore}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6220 | </text> |
| 6221 | <text style="text_l"> |
| 6222 | <condition var1="tw_crypto_pwtype" var2="1"/> |
| 6223 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Captain Throwback | 02e7457 | 2022-01-10 12:55:05 -0500 | [diff] [blame] | 6224 | <text>{@restore_pin_password=Restore While PIN/Password Enabled?}</text> |
bigbiff | 8f5fad3 | 2021-11-03 20:39:02 -0400 | [diff] [blame] | 6225 | </text> |
| 6226 | <text style="text_m_accent"> |
| 6227 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6228 | <placement x="%center_x%" y="%row1_y%" placement="5"/> |
| 6229 | <text>{@restore_with_pattern1=Pattern is enabled}</text> |
| 6230 | </text> |
| 6231 | <text style="text_m_accent"> |
| 6232 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6233 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6234 | <text>{@restore_with_pattern2=Pattern should be disabled before restore}</text> |
| 6235 | </text> |
| 6236 | <text style="text_l"> |
| 6237 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6238 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 6239 | <text>{@restore_pattern=Restore While Pattern Enabled?}</text> |
| 6240 | </text> |
| 6241 | |
| 6242 | <text style="text_m_accent"> |
| 6243 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 6244 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6245 | <text>{@restore_with_pin1=PIN is enabled}</text> |
| 6246 | </text> |
| 6247 | |
| 6248 | <text style="text_m_accent"> |
| 6249 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6250 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 6251 | <text>{@restore_with_pin2=PIN should be disabled before restore}</text> |
| 6252 | </text> |
| 6253 | |
| 6254 | <text style="text_l"> |
| 6255 | <condition var1="tw_crypto_pwtype" var2="3"/> |
| 6256 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 6257 | <text>{@restore_pin=Restore While PIN Enabled?}</text> |
| 6258 | </text> |
| 6259 | |
| 6260 | <slider> |
| 6261 | <text>{@continue_restore_encrypted=Continue Restore?}</text> |
| 6262 | <actions> |
| 6263 | <action function="page">restore_force</action> |
| 6264 | </actions> |
| 6265 | </slider> |
| 6266 | <action> |
| 6267 | <touch key="home"/> |
| 6268 | <action function="page">main</action> |
| 6269 | </action> |
| 6270 | <action> |
| 6271 | <touch key="back"/> |
| 6272 | <actions> |
| 6273 | <action function="page">main</action> |
| 6274 | </actions> |
| 6275 | </action> |
| 6276 | </page> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 6277 | </pages> |
| 6278 | </recovery> |