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