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