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