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