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