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