z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <recovery> |
| 3 | <styles> |
| 4 | <style name="text_l"> |
| 5 | <font resource="font_l" color="%text_color%"/> |
| 6 | </style> |
| 7 | |
| 8 | <style name="text_m"> |
| 9 | <font resource="font_m" color="%text_color%"/> |
| 10 | </style> |
| 11 | |
| 12 | <style name="text_m_accent"> |
| 13 | <font resource="font_m" color="%accent_color%"/> |
| 14 | </style> |
| 15 | |
| 16 | <style name="text_m_fail"> |
| 17 | <font resource="font_m" color="%text_fail_color%"/> |
| 18 | </style> |
| 19 | |
| 20 | <style name="text_s"> |
| 21 | <font resource="font_s" color="%text_color%"/> |
| 22 | </style> |
| 23 | |
| 24 | <style name="input"> |
| 25 | <background color="%background_color%"/> |
| 26 | <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/> |
| 27 | <font resource="font_m" color="%text_color%"/> |
| 28 | </style> |
| 29 | |
| 30 | <style name="checkbox"> |
| 31 | <font resource="font_m" color="%text_color%"/> |
| 32 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 33 | </style> |
| 34 | |
| 35 | <style name="main_button"> |
| 36 | <highlight color="%highlight_color%"/> |
| 37 | <font resource="font_l" color="%text_button_color%"/> |
| 38 | <image resource="main_button"/> |
| 39 | </style> |
| 40 | |
| 41 | <style name="main_button_half_height"> |
| 42 | <highlight color="%highlight_color%"/> |
| 43 | <font resource="font_m" color="%text_button_color%"/> |
| 44 | <image resource="main_button_half_height"/> |
| 45 | </style> |
| 46 | |
| 47 | <style name="main_button_half_height_full_width"> |
| 48 | <highlight color="%highlight_color%"/> |
| 49 | <font resource="font_m" color="%text_button_color%"/> |
| 50 | <image resource="main_button_half_height_full_width"/> |
| 51 | </style> |
| 52 | |
| 53 | <style name="button_third_width"> |
| 54 | <highlight color="%highlight_color%"/> |
| 55 | <font resource="font_m" color="%text_button_color%"/> |
| 56 | <image resource="tab_3"/> |
| 57 | </style> |
| 58 | |
| 59 | <style name="button_quarter_width"> |
| 60 | <highlight color="%highlight_color%"/> |
| 61 | <font resource="font_m" color="%text_button_color%"/> |
| 62 | <image resource="tab_4"/> |
| 63 | </style> |
| 64 | |
| 65 | <style name="fab"> |
| 66 | <highlight color="%highlight_color%"/> |
| 67 | <placement x="%indent_right%" y="%row21a_y%" placement="1"/> |
| 68 | <font resource="font_m" color="%button_text_color%"/> |
| 69 | </style> |
| 70 | |
| 71 | <style name="tab"> |
| 72 | <highlight color="%highlight_color%"/> |
| 73 | <fill color="%accent_color%"/> |
| 74 | <font resource="font_s" color="%text_button_color%"/> |
| 75 | </style> |
| 76 | |
| 77 | <style name="console"> |
| 78 | <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> |
| 79 | <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/> |
| 80 | <font resource="fixed"/> |
| 81 | </style> |
| 82 | |
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 | |
| 1080 | <text style="text_m"> |
| 1081 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1082 | <text>{@format_data_undo=This cannot be undone.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1083 | </text> |
| 1084 | |
| 1085 | <text style="text_m"> |
| 1086 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1087 | <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1088 | </text> |
| 1089 | |
| 1090 | <input> |
| 1091 | <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/> |
| 1092 | <text>%tw_confirm_formatdata%</text> |
| 1093 | <data name="tw_confirm_formatdata"/> |
| 1094 | <restrict minlen="3" maxlen="3" allow="yes"/> |
| 1095 | <action function="page">formatdata_confirm</action> |
| 1096 | </input> |
| 1097 | |
| 1098 | <fill color="%accent_color%"> |
| 1099 | <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/> |
| 1100 | </fill> |
| 1101 | |
| 1102 | <template name="keyboardtemplate"/> |
| 1103 | |
| 1104 | <action> |
| 1105 | <touch key="home"/> |
| 1106 | <action function="page">main</action> |
| 1107 | </action> |
| 1108 | |
| 1109 | <action> |
| 1110 | <touch key="back"/> |
| 1111 | <action function="page">wipe</action> |
| 1112 | </action> |
| 1113 | </page> |
| 1114 | |
| 1115 | <page name="formatdata_confirm"> |
| 1116 | <action> |
| 1117 | <condition var1="tw_confirm_formatdata" op="=" var2="yes"/> |
| 1118 | <actions> |
| 1119 | <action function="set">tw_back=formatdata</action> |
| 1120 | <action function="set">tw_action=wipe</action> |
| 1121 | <action function="set">tw_action_param=DATAMEDIA</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1122 | <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action> |
| 1123 | <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1124 | <action function="page">action_page</action> |
| 1125 | </actions> |
| 1126 | </action> |
| 1127 | |
| 1128 | <action> |
| 1129 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/> |
| 1130 | <action function="page">formatdata</action> |
| 1131 | </action> |
| 1132 | </page> |
| 1133 | |
| 1134 | <page name="checkpartitionlist"> |
| 1135 | <action> |
| 1136 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1137 | <actions> |
| 1138 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1139 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1140 | <action function="page">partitionoptions</action> |
| 1141 | </actions> |
| 1142 | </action> |
| 1143 | |
| 1144 | <action> |
| 1145 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1146 | <actions> |
| 1147 | <action function="set">partitionlisterror=1</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1148 | <action function="page">advancedwipe</action> |
| 1149 | </actions> |
| 1150 | </action> |
| 1151 | </page> |
| 1152 | |
| 1153 | <page name="partitionoptions"> |
| 1154 | <template name="page"/> |
| 1155 | |
| 1156 | <text style="text_l"> |
| 1157 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1158 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1159 | </text> |
| 1160 | |
| 1161 | <text style="text_m"> |
| 1162 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1163 | <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1164 | </text> |
| 1165 | |
| 1166 | <text style="text_m_accent"> |
| 1167 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1168 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1169 | </text> |
| 1170 | |
| 1171 | <text style="text_m_accent"> |
| 1172 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1173 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1174 | </text> |
| 1175 | |
| 1176 | <text style="text_m"> |
| 1177 | <condition var1="tw_partition_is_present" var2="1"/> |
| 1178 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1179 | <text>{@part_present_yes=Present: Yes}</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="0"/> |
| 1184 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1185 | <text>{@part_present_no=Present: No}</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_removable" var2="1"/> |
| 1190 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1191 | <text>{@part_removable_yes=Removable: Yes}</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="0"/> |
| 1196 | <placement x="%center_x%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1197 | <text>{@part_removable_no=Removable: No}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1198 | </text> |
| 1199 | |
| 1200 | <text style="text_m"> |
| 1201 | <placement x="%indent%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1202 | <text>{@part_size=Size: %tw_partition_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1203 | </text> |
| 1204 | |
| 1205 | <text style="text_m"> |
| 1206 | <placement x="%center_x%" y="%row7_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1207 | <text>{@part_used=Used: %tw_partition_used%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1208 | </text> |
| 1209 | |
| 1210 | <text style="text_m"> |
| 1211 | <placement x="%indent%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1212 | <text>{@part_free=Free: %tw_partition_free%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1213 | </text> |
| 1214 | |
| 1215 | <text style="text_m"> |
| 1216 | <placement x="%center_x%" y="%row9_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1217 | <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1218 | </text> |
| 1219 | |
| 1220 | <button style="main_button_half_height"> |
| 1221 | <condition var1="tw_partition_can_resize" op="=" var2="1"/> |
| 1222 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1223 | <text>{@resize_btn=Resize File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1224 | <actions> |
| 1225 | <action function="set">tw_back=partitionoptions</action> |
| 1226 | <action function="set">tw_action=resize</action> |
| 1227 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1228 | <action function="set">tw_has_action2=1</action> |
| 1229 | <action function="set">tw_action2=getpartitiondetails</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1230 | <action function="set">tw_action2_param=tw_wipe_list</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1231 | <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1232 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1233 | <action function="set">tw_action_text1={@resizing=Resizing...}</action> |
| 1234 | <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action> |
| 1235 | <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1236 | <action function="page">confirm_action</action> |
| 1237 | </actions> |
| 1238 | </button> |
| 1239 | |
| 1240 | <button style="main_button_half_height"> |
| 1241 | <condition var1="tw_partition_can_repair" op="=" var2="1"/> |
| 1242 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1243 | <text>{@repair_btn=Repair File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1244 | <actions> |
| 1245 | <action function="set">tw_back=partitionoptions</action> |
| 1246 | <action function="set">tw_action=repair</action> |
| 1247 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1248 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1249 | <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1250 | <action function="set">tw_text2=</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1251 | <action function="set">tw_action_text1={@repairing=Repairing...}</action> |
| 1252 | <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action> |
| 1253 | <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1254 | <action function="page">confirm_action</action> |
| 1255 | </actions> |
| 1256 | </button> |
| 1257 | |
| 1258 | <button style="main_button_half_height"> |
| 1259 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1260 | <text>{@change_fs_btn=Change File System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1261 | <action function="page">selectfilesystem</action> |
| 1262 | </button> |
| 1263 | |
| 1264 | <action> |
| 1265 | <touch key="home"/> |
| 1266 | <action function="page">main</action> |
| 1267 | </action> |
| 1268 | |
| 1269 | <action> |
| 1270 | <touch key="back"/> |
| 1271 | <action function="page">advancedwipe</action> |
| 1272 | </action> |
| 1273 | </page> |
| 1274 | |
| 1275 | <page name="refreshfilesystem"> |
| 1276 | <action> |
| 1277 | <condition var1="tw_check_partition_list" op="=" var2="1"/> |
| 1278 | <actions> |
| 1279 | <action function="set">partitionlisterror=0</action> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 1280 | <action function="getpartitiondetails">tw_wipe_list</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1281 | <action function="page">selectfilesystem</action> |
| 1282 | </actions> |
| 1283 | </action> |
| 1284 | |
| 1285 | <action> |
| 1286 | <condition var1="tw_check_partition_list" op="!=" var2="1"/> |
| 1287 | <actions> |
| 1288 | <action function="set">partitionlisterror=1</action> |
| 1289 | <action function="set">tw_wipe_list=</action> |
| 1290 | <action function="page">advancedwipe</action> |
| 1291 | </actions> |
| 1292 | </action> |
| 1293 | </page> |
| 1294 | |
| 1295 | <page name="selectfilesystem"> |
| 1296 | <template name="page"/> |
| 1297 | |
| 1298 | <text style="text_l"> |
| 1299 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1300 | <text>{@wipe_hdr=Wipe}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1301 | </text> |
| 1302 | |
| 1303 | <text style="text_m"> |
| 1304 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1305 | <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1306 | </text> |
| 1307 | |
| 1308 | <text style="text_m_accent"> |
| 1309 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1310 | <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1311 | </text> |
| 1312 | |
| 1313 | <text style="text_m_accent"> |
| 1314 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1315 | <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1316 | </text> |
| 1317 | |
| 1318 | <text style="text_m_fail"> |
| 1319 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1320 | <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1321 | </text> |
| 1322 | |
| 1323 | <text style="text_m_fail"> |
| 1324 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1325 | <text>{@change_fs_warn2=file systems. Proceed with caution!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1326 | </text> |
| 1327 | |
| 1328 | <button style="main_button_half_height"> |
| 1329 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1330 | <placement x="%indent%" y="%row15a_y%"/> |
| 1331 | <text>EXT2</text> |
| 1332 | <actions> |
| 1333 | <action function="set">tw_back=refreshfilesystem</action> |
| 1334 | <action function="set">tw_action=changefilesystem</action> |
| 1335 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1336 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1337 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1338 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1339 | <action function="set">tw_text2=EXT2</action> |
| 1340 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1341 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1342 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1343 | <action function="page">confirm_action</action> |
| 1344 | </actions> |
| 1345 | </button> |
| 1346 | |
| 1347 | <button style="main_button_half_height"> |
| 1348 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1349 | <placement x="%indent%" y="%row18a_y%"/> |
| 1350 | <text>EXT3</text> |
| 1351 | <actions> |
| 1352 | <action function="set">tw_back=refreshfilesystem</action> |
| 1353 | <action function="set">tw_action=changefilesystem</action> |
| 1354 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1355 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1356 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1357 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1358 | <action function="set">tw_text2=EXT3</action> |
| 1359 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1360 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1361 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1362 | <action function="page">confirm_action</action> |
| 1363 | </actions> |
| 1364 | </button> |
| 1365 | |
| 1366 | <button style="main_button_half_height"> |
| 1367 | <condition var1="tw_partition_ext" op="=" var2="1"/> |
| 1368 | <placement x="%indent%" y="%row21a_y%"/> |
| 1369 | <text>EXT4</text> |
| 1370 | <actions> |
| 1371 | <action function="set">tw_back=refreshfilesystem</action> |
| 1372 | <action function="set">tw_action=changefilesystem</action> |
| 1373 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1374 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1375 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1376 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1377 | <action function="set">tw_text2=EXT4</action> |
| 1378 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1379 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1380 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1381 | <action function="page">confirm_action</action> |
| 1382 | </actions> |
| 1383 | </button> |
| 1384 | |
| 1385 | <button style="main_button_half_height"> |
| 1386 | <condition var1="tw_partition_vfat" op="=" var2="1"/> |
| 1387 | <placement x="%center_x%" y="%row15a_y%"/> |
| 1388 | <text>FAT</text> |
| 1389 | <actions> |
| 1390 | <action function="set">tw_back=refreshfilesystem</action> |
| 1391 | <action function="set">tw_action=changefilesystem</action> |
| 1392 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1393 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1394 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1395 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1396 | <action function="set">tw_text2=FAT</action> |
| 1397 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1398 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1399 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1400 | <action function="page">confirm_action</action> |
| 1401 | </actions> |
| 1402 | </button> |
| 1403 | |
| 1404 | <button style="main_button_half_height"> |
| 1405 | <condition var1="tw_partition_exfat" op="=" var2="1"/> |
| 1406 | <placement x="%center_x%" y="%row18a_y%"/> |
| 1407 | <text>exFAT</text> |
| 1408 | <actions> |
| 1409 | <action function="set">tw_back=refreshfilesystem</action> |
| 1410 | <action function="set">tw_action=changefilesystem</action> |
| 1411 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1412 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1413 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1414 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1415 | <action function="set">tw_text2=exFAT</action> |
| 1416 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1417 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1418 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1419 | <action function="page">confirm_action</action> |
| 1420 | </actions> |
| 1421 | </button> |
| 1422 | |
| 1423 | <button style="main_button_half_height"> |
| 1424 | <condition var1="tw_partition_f2fs" op="=" var2="1"/> |
| 1425 | <placement x="%center_x%" y="%row21a_y%"/> |
| 1426 | <text>F2FS</text> |
| 1427 | <actions> |
| 1428 | <action function="set">tw_back=refreshfilesystem</action> |
| 1429 | <action function="set">tw_action=changefilesystem</action> |
| 1430 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1431 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1432 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1433 | <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action> |
| 1434 | <action function="set">tw_text2=F2FS</action> |
| 1435 | <action function="set">tw_action_text1={@formatting=Formatting...}</action> |
| 1436 | <action function="set">tw_complete_text1={@format_complete=Format Complete}</action> |
| 1437 | <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1438 | <action function="page">confirm_action</action> |
| 1439 | </actions> |
| 1440 | </button> |
| 1441 | |
| 1442 | <action> |
| 1443 | <touch key="home"/> |
| 1444 | <action function="page">main</action> |
| 1445 | </action> |
| 1446 | |
| 1447 | <action> |
| 1448 | <touch key="back"/> |
| 1449 | <action function="page">partitionoptions</action> |
| 1450 | </action> |
| 1451 | </page> |
| 1452 | |
| 1453 | <page name="backup"> |
| 1454 | <template name="page"/> |
| 1455 | |
| 1456 | <text style="text_l"> |
| 1457 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1458 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1459 | </text> |
| 1460 | |
| 1461 | <text style="text_m"> |
| 1462 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1463 | <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] | 1464 | </text> |
| 1465 | |
| 1466 | <template name="tabs_backup"/> |
| 1467 | |
| 1468 | <fill color="%text_color%"> |
| 1469 | <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1470 | </fill> |
| 1471 | |
| 1472 | <button style="tab"> |
| 1473 | <conditions> |
| 1474 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1475 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1476 | </conditions> |
| 1477 | <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] | 1478 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1479 | <font resource="font_s" color="%text_color%"/> |
| 1480 | <actions> |
| 1481 | <action function="set">tw_password_not_match=0</action> |
| 1482 | <action function="page">backupencryption</action> |
| 1483 | </actions> |
| 1484 | </button> |
| 1485 | |
| 1486 | <button style="tab"> |
| 1487 | <conditions> |
| 1488 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1489 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1490 | </conditions> |
| 1491 | <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] | 1492 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1493 | <font resource="font_s" color="%text_success_color%"/> |
| 1494 | <actions> |
| 1495 | <action function="set">tw_password_not_match=0</action> |
| 1496 | <action function="page">backupencryption</action> |
| 1497 | </actions> |
| 1498 | </button> |
| 1499 | |
| 1500 | <text style="text_m_accent"> |
| 1501 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1502 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1503 | </text> |
| 1504 | |
| 1505 | <text style="text_m"> |
| 1506 | <placement x="%indent%" y="%row4a_y%"/> |
| 1507 | <text>%tw_backup_name%</text> |
| 1508 | </text> |
| 1509 | |
| 1510 | <fill color="%fileselector_linecolor%"> |
| 1511 | <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/> |
| 1512 | </fill> |
| 1513 | |
| 1514 | <button> |
| 1515 | <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/> |
| 1516 | <fill color="%transparent%"/> |
| 1517 | <actions> |
| 1518 | <action function="set">tw_fileexists=0</action> |
| 1519 | <action function="page">backupname1</action> |
| 1520 | </actions> |
| 1521 | </button> |
| 1522 | |
| 1523 | <partitionlist> |
| 1524 | <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] | 1525 | <text>{@sel_part_backup=Select Partitions to Backup:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1526 | <data name="tw_backup_list"/> |
| 1527 | <listtype name="backup"/> |
| 1528 | </partitionlist> |
| 1529 | |
| 1530 | <button style="main_button_half_height"> |
| 1531 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1532 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1533 | <actions> |
| 1534 | <action function="set">tw_back=backup</action> |
| 1535 | <action function="overlay">select_storage</action> |
| 1536 | </actions> |
| 1537 | </button> |
| 1538 | |
| 1539 | <button style="main_button_half_height"> |
| 1540 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1541 | <text>{@refresh_sizes_btn=Refresh Sizes}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1542 | <actions> |
| 1543 | <action function="refreshsizes"/> |
| 1544 | <action function="page">backup</action> |
| 1545 | </actions> |
| 1546 | </button> |
| 1547 | |
| 1548 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1549 | <text>{@swipe_backup=Swipe to Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1550 | <action function="page">backup_run</action> |
| 1551 | </slider> |
| 1552 | |
| 1553 | <action> |
| 1554 | <touch key="home"/> |
| 1555 | <action function="page">main</action> |
| 1556 | </action> |
| 1557 | |
| 1558 | <action> |
| 1559 | <touch key="back"/> |
| 1560 | <action function="page">main</action> |
| 1561 | </action> |
| 1562 | </page> |
| 1563 | |
| 1564 | <page name="backup_options"> |
| 1565 | <template name="page"/> |
| 1566 | |
| 1567 | <text style="text_l"> |
| 1568 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1569 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1570 | </text> |
| 1571 | |
| 1572 | <text style="text_m"> |
| 1573 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1574 | <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] | 1575 | </text> |
| 1576 | |
| 1577 | <template name="tabs_backup"/> |
| 1578 | |
| 1579 | <fill color="%text_color%"> |
| 1580 | <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1581 | </fill> |
| 1582 | |
| 1583 | <button style="tab"> |
| 1584 | <conditions> |
| 1585 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1586 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1587 | </conditions> |
| 1588 | <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] | 1589 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1590 | <font resource="font_s" color="%text_color%"/> |
| 1591 | <actions> |
| 1592 | <action function="set">tw_password_not_match=0</action> |
| 1593 | <action function="page">backupencryption</action> |
| 1594 | </actions> |
| 1595 | </button> |
| 1596 | |
| 1597 | <button style="tab"> |
| 1598 | <conditions> |
| 1599 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1600 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1601 | </conditions> |
| 1602 | <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] | 1603 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1604 | <font resource="font_s" color="%text_success_color%"/> |
| 1605 | <actions> |
| 1606 | <action function="set">tw_password_not_match=0</action> |
| 1607 | <action function="page">backupencryption</action> |
| 1608 | </actions> |
| 1609 | </button> |
| 1610 | |
| 1611 | <checkbox> |
| 1612 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1613 | <text>{@enable_backup_comp_chk=Enable compression}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1614 | <data variable="tw_use_compression"/> |
| 1615 | </checkbox> |
| 1616 | |
| 1617 | <checkbox> |
| 1618 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1619 | <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1620 | <data variable="tw_skip_md5_generate"/> |
| 1621 | </checkbox> |
| 1622 | |
| 1623 | <checkbox> |
| 1624 | <placement x="%indent%" y="%row6a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1625 | <text>{@disable_backup_space_chk=Disable Free Space Check}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1626 | <data variable="tw_disable_free_space"/> |
| 1627 | </checkbox> |
| 1628 | |
| 1629 | <action> |
| 1630 | <touch key="home"/> |
| 1631 | <action function="page">main</action> |
| 1632 | </action> |
| 1633 | |
| 1634 | <action> |
| 1635 | <touch key="back"/> |
| 1636 | <action function="page">backup</action> |
| 1637 | </action> |
| 1638 | </page> |
| 1639 | |
| 1640 | <page name="backupname1"> |
| 1641 | <action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1642 | <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1643 | <action function="generatebackupname"/> |
| 1644 | </action> |
| 1645 | |
| 1646 | <action> |
| 1647 | <action function="page">backupname2</action> |
| 1648 | </action> |
| 1649 | </page> |
| 1650 | |
| 1651 | <page name="backupname2"> |
| 1652 | <template name="page"/> |
| 1653 | |
| 1654 | <text style="text_l"> |
| 1655 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1656 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1657 | </text> |
| 1658 | |
| 1659 | <text style="text_m"> |
| 1660 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1661 | <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] | 1662 | </text> |
| 1663 | |
| 1664 | <template name="tabs_backup"/> |
| 1665 | |
| 1666 | <fill color="%text_color%"> |
| 1667 | <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1668 | </fill> |
| 1669 | |
| 1670 | <button style="tab"> |
| 1671 | <conditions> |
| 1672 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1673 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1674 | </conditions> |
| 1675 | <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] | 1676 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1677 | <font resource="font_s" color="%text_color%"/> |
| 1678 | <actions> |
| 1679 | <action function="set">tw_password_not_match=0</action> |
| 1680 | <action function="page">backupencryption</action> |
| 1681 | </actions> |
| 1682 | </button> |
| 1683 | |
| 1684 | <button style="tab"> |
| 1685 | <conditions> |
| 1686 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1687 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1688 | </conditions> |
| 1689 | <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] | 1690 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1691 | <font resource="font_s" color="%text_success_color%"/> |
| 1692 | <actions> |
| 1693 | <action function="set">tw_password_not_match=0</action> |
| 1694 | <action function="page">backupencryption</action> |
| 1695 | </actions> |
| 1696 | </button> |
| 1697 | |
| 1698 | <text style="text_m_accent"> |
| 1699 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1700 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1701 | </text> |
| 1702 | |
| 1703 | <input> |
| 1704 | <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/> |
| 1705 | <text>%tw_backup_name%</text> |
| 1706 | <data name="tw_backup_name"/> |
| 1707 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 1708 | <actions> |
| 1709 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1710 | <action function="set">tw_existpage=backupname2</action> |
| 1711 | <action function="set">tw_notexistpage=backup</action> |
| 1712 | <action function="page">filecheck</action> |
| 1713 | </actions> |
| 1714 | </input> |
| 1715 | |
| 1716 | <fill color="%accent_color%"> |
| 1717 | <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1718 | </fill> |
| 1719 | |
| 1720 | <fill color="%text_fail_color%"> |
| 1721 | <condition var1="tw_fileexists" var2="1"/> |
| 1722 | <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1723 | </fill> |
| 1724 | |
| 1725 | <text style="text_m_fail"> |
| 1726 | <condition var1="tw_fileexists" var2="1"/> |
| 1727 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1728 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1729 | </text> |
| 1730 | |
| 1731 | <button style="main_button_half_height"> |
| 1732 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1733 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1734 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1735 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1736 | <action function="page">backup</action> |
| 1737 | </actions> |
| 1738 | </button> |
| 1739 | |
| 1740 | <button style="main_button_half_height"> |
| 1741 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1742 | <text>{@append_date_btn=Append Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1743 | <action function="appenddatetobackupname"/> |
| 1744 | </button> |
| 1745 | |
| 1746 | <template name="keyboardtemplate"/> |
| 1747 | |
| 1748 | <action> |
| 1749 | <touch key="home"/> |
| 1750 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1751 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1752 | <action function="page">main</action> |
| 1753 | </actions> |
| 1754 | </action> |
| 1755 | |
| 1756 | <action> |
| 1757 | <touch key="back"/> |
| 1758 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1759 | <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1760 | <action function="page">backup</action> |
| 1761 | </actions> |
| 1762 | </action> |
| 1763 | </page> |
| 1764 | |
| 1765 | <page name="backupencryption"> |
| 1766 | <template name="page"/> |
| 1767 | |
| 1768 | <text style="text_l"> |
| 1769 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1770 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1771 | </text> |
| 1772 | |
| 1773 | <text style="text_m"> |
| 1774 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1775 | <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] | 1776 | </text> |
| 1777 | |
| 1778 | <template name="tabs_backup"/> |
| 1779 | |
| 1780 | <button style="tab"> |
| 1781 | <conditions> |
| 1782 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1783 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1784 | </conditions> |
| 1785 | <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] | 1786 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1787 | <font resource="font_s" color="%text_color%"/> |
| 1788 | <actions> |
| 1789 | <action function="set">tw_password_not_match=0</action> |
| 1790 | <action function="page">backupencryption</action> |
| 1791 | </actions> |
| 1792 | </button> |
| 1793 | |
| 1794 | <button style="tab"> |
| 1795 | <conditions> |
| 1796 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1797 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1798 | </conditions> |
| 1799 | <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] | 1800 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1801 | <font resource="font_s" color="%text_success_color%"/> |
| 1802 | <actions> |
| 1803 | <action function="set">tw_password_not_match=0</action> |
| 1804 | <action function="page">backupencryption</action> |
| 1805 | </actions> |
| 1806 | </button> |
| 1807 | |
| 1808 | <fill color="%text_color%"> |
| 1809 | <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1810 | </fill> |
| 1811 | |
| 1812 | <text style="text_m_accent"> |
| 1813 | <placement x="%center_x%" y="%row3a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1814 | <text>{@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1815 | </text> |
| 1816 | |
| 1817 | <text style="text_m"> |
| 1818 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1819 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1820 | </text> |
| 1821 | |
| 1822 | <input> |
| 1823 | <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/> |
| 1824 | <text>%tw_backup_encrypt_display%</text> |
| 1825 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/> |
| 1826 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 1827 | <action function="page">backupencryption2</action> |
| 1828 | </input> |
| 1829 | |
| 1830 | <fill color="%accent_color%"> |
| 1831 | <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1832 | </fill> |
| 1833 | |
| 1834 | <fill color="%text_fail_color%"> |
| 1835 | <condition var1="tw_password_not_match" var2="1"/> |
| 1836 | <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1837 | </fill> |
| 1838 | |
| 1839 | <text style="text_m_fail"> |
| 1840 | <condition var1="tw_password_not_match" var2="1"/> |
| 1841 | <placement x="%indent%" y="%row8a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1842 | <text>{@pass_not_match=Passwords do not match!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1843 | </text> |
| 1844 | |
| 1845 | <button style="main_button_half_height"> |
| 1846 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1847 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1848 | <actions> |
| 1849 | <action function="set">tw_encrypt_backup=0</action> |
| 1850 | <action function="set">tw_backup_password=</action> |
| 1851 | <action function="set">tw_backup_password2=</action> |
| 1852 | <action function="set">tw_backup_encrypt_display=</action> |
| 1853 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1854 | <action function="page">backup</action> |
| 1855 | </actions> |
| 1856 | </button> |
| 1857 | |
| 1858 | <template name="keyboardtemplate"/> |
| 1859 | |
| 1860 | <action> |
| 1861 | <touch key="home"/> |
| 1862 | <action function="page">main</action> |
| 1863 | </action> |
| 1864 | |
| 1865 | <action> |
| 1866 | <touch key="back"/> |
| 1867 | <action function="page">backup</action> |
| 1868 | </action> |
| 1869 | </page> |
| 1870 | |
| 1871 | <page name="backupencryption2"> |
| 1872 | <template name="page"/> |
| 1873 | |
| 1874 | <text style="text_l"> |
| 1875 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1876 | <text>{@backup_hdr=Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1877 | </text> |
| 1878 | |
| 1879 | <text style="text_m"> |
| 1880 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1881 | <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] | 1882 | </text> |
| 1883 | |
| 1884 | <template name="tabs_backup"/> |
| 1885 | |
| 1886 | <button style="tab"> |
| 1887 | <conditions> |
| 1888 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1889 | <condition var1="tw_encrypt_backup" var2="0"/> |
| 1890 | </conditions> |
| 1891 | <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] | 1892 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1893 | <font resource="font_s" color="%text_color%"/> |
| 1894 | <actions> |
| 1895 | <action function="set">tw_password_not_match=0</action> |
| 1896 | <action function="page">backupencryption</action> |
| 1897 | </actions> |
| 1898 | </button> |
| 1899 | |
| 1900 | <button style="tab"> |
| 1901 | <conditions> |
| 1902 | <condition var1="tw_include_encrypted_backup" var2="1"/> |
| 1903 | <condition var1="tw_encrypt_backup" var2="1"/> |
| 1904 | </conditions> |
| 1905 | <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] | 1906 | <text>{@encryption_tab=ENCRYPTION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1907 | <font resource="font_s" color="%text_success_color%"/> |
| 1908 | <actions> |
| 1909 | <action function="set">tw_password_not_match=0</action> |
| 1910 | <action function="page">backupencryption</action> |
| 1911 | </actions> |
| 1912 | </button> |
| 1913 | |
| 1914 | <fill color="%text_color%"> |
| 1915 | <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/> |
| 1916 | </fill> |
| 1917 | |
| 1918 | <text style="text_m_accent"> |
| 1919 | <placement x="%center_x%" y="%row3a_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1920 | <text>{@encrypt_backup=Encrypt your Backup?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1921 | </text> |
| 1922 | |
| 1923 | <text style="text_m"> |
| 1924 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1925 | <text>{@enter_pass2=Enter Password again:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1926 | </text> |
| 1927 | |
| 1928 | <input> |
| 1929 | <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/> |
| 1930 | <text>%tw_backup_encrypt_display2%</text> |
| 1931 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/> |
| 1932 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 1933 | <action function="page">checkbackuppassword</action> |
| 1934 | </input> |
| 1935 | |
| 1936 | <fill color="%accent_color%"> |
| 1937 | <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 1938 | </fill> |
| 1939 | |
| 1940 | <button style="main_button_half_height"> |
| 1941 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 1942 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1943 | <actions> |
| 1944 | <action function="set">tw_encrypt_backup=0</action> |
| 1945 | <action function="set">tw_backup_password=</action> |
| 1946 | <action function="set">tw_backup_password2=</action> |
| 1947 | <action function="set">tw_backup_encrypt_display=</action> |
| 1948 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1949 | <action function="page">backup</action> |
| 1950 | </actions> |
| 1951 | </button> |
| 1952 | |
| 1953 | <template name="keyboardtemplate"/> |
| 1954 | |
| 1955 | <action> |
| 1956 | <touch key="home"/> |
| 1957 | <action function="page">main</action> |
| 1958 | </action> |
| 1959 | |
| 1960 | <action> |
| 1961 | <touch key="back"/> |
| 1962 | <action function="page">backup</action> |
| 1963 | </action> |
| 1964 | </page> |
| 1965 | |
| 1966 | <page name="checkbackuppassword"> |
| 1967 | <action> |
| 1968 | <condition var1="tw_backup_password2" var2="tw_backup_password"/> |
| 1969 | <actions> |
| 1970 | <action function="set">tw_encrypt_backup=1</action> |
| 1971 | <action function="page">backup</action> |
| 1972 | </actions> |
| 1973 | </action> |
| 1974 | |
| 1975 | <action> |
| 1976 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/> |
| 1977 | <actions> |
| 1978 | <action function="set">tw_encrypt_backup=0</action> |
| 1979 | <action function="set">tw_password_not_match=1</action> |
| 1980 | <action function="set">tw_backup_password=</action> |
| 1981 | <action function="set">tw_backup_password2=</action> |
| 1982 | <action function="set">tw_backup_encrypt_display=</action> |
| 1983 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1984 | <action function="page">backupencryption</action> |
| 1985 | </actions> |
| 1986 | </action> |
| 1987 | </page> |
| 1988 | |
| 1989 | <page name="backup_run"> |
| 1990 | <template name="page"/> |
| 1991 | |
| 1992 | <text style="text_l"> |
| 1993 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 1994 | <text>%tw_operation%</text> |
| 1995 | </text> |
| 1996 | |
| 1997 | <text style="text_m"> |
| 1998 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 1999 | <text>%tw_partition% Partition</text> |
| 2000 | </text> |
| 2001 | |
| 2002 | <template name="console"/> |
| 2003 | |
| 2004 | <template name="progress_bar"/> |
| 2005 | |
| 2006 | <text style="text_m_accent"> |
| 2007 | <placement x="%indent%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2008 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2009 | </text> |
| 2010 | |
| 2011 | <text style="text_m"> |
| 2012 | <placement x="%indent%" y="%row20_y%"/> |
| 2013 | <text>%tw_file_progress%</text> |
| 2014 | </text> |
| 2015 | |
| 2016 | <text style="text_m"> |
| 2017 | <placement x="%indent%" y="%row21_y%"/> |
| 2018 | <text>%tw_size_progress%</text> |
| 2019 | </text> |
| 2020 | |
| 2021 | <button style="main_button_half_height"> |
| 2022 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2023 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2024 | <action function="cancelbackup"/> |
| 2025 | </button> |
| 2026 | |
| 2027 | <action> |
| 2028 | <action function="nandroid">backup</action> |
| 2029 | </action> |
| 2030 | |
| 2031 | <action> |
| 2032 | <condition var1="tw_operation_state" var2="1"/> |
| 2033 | <condition var1="tw_cancel_backup" var2="0"/> |
| 2034 | <actions> |
| 2035 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2036 | <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2037 | <action function="set">tw_show_reboot=1</action> |
| 2038 | <action function="page">action_complete</action> |
| 2039 | </actions> |
| 2040 | </action> |
| 2041 | |
| 2042 | <action> |
| 2043 | <condition var1="tw_operation_state" var2="1"/> |
| 2044 | <condition var1="tw_cancel_backup" var2="1"/> |
| 2045 | <actions> |
| 2046 | <action function="set">tw_back=backup</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2047 | <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2048 | <action function="set">tw_show_reboot=1</action> |
| 2049 | <action function="page">action_complete</action> |
| 2050 | </actions> |
| 2051 | </action> |
| 2052 | </page> |
| 2053 | |
| 2054 | <page name="restore"> |
| 2055 | <template name="page"/> |
| 2056 | |
| 2057 | <text style="text_l"> |
| 2058 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2059 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2060 | </text> |
| 2061 | |
| 2062 | <text style="text_m"> |
| 2063 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2064 | <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] | 2065 | </text> |
| 2066 | |
| 2067 | <template name="sort_options"/> |
| 2068 | |
| 2069 | <fileselector> |
| 2070 | <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] | 2071 | <text>{@restore_sel_pack_fs=Select Package to Restore:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2072 | <filter folders="1" files="0" nav="0"/> |
| 2073 | <path name="tw_backups_folder"/> |
| 2074 | <data name="tw_restore" default=""/> |
| 2075 | <selection name="tw_restore_name"/> |
| 2076 | </fileselector> |
| 2077 | |
| 2078 | <button style="main_button_half_height"> |
| 2079 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2080 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2081 | <actions> |
| 2082 | <action function="set">tw_back=restore</action> |
| 2083 | <action function="overlay">select_storage</action> |
| 2084 | </actions> |
| 2085 | </button> |
| 2086 | |
| 2087 | <action> |
| 2088 | <condition var1="tw_restore" op="modified"/> |
| 2089 | <actions> |
| 2090 | <action function="readBackup"/> |
| 2091 | <action function="page">restore_read</action> |
| 2092 | </actions> |
| 2093 | </action> |
| 2094 | |
| 2095 | <action> |
| 2096 | <touch key="home"/> |
| 2097 | <action function="page">main</action> |
| 2098 | </action> |
| 2099 | |
| 2100 | <action> |
| 2101 | <touch key="back"/> |
| 2102 | <action function="page">main</action> |
| 2103 | </action> |
| 2104 | </page> |
| 2105 | |
| 2106 | <page name="restore_read"> |
| 2107 | <action> |
| 2108 | <condition var1="tw_restore_encrypted" var2="1"/> |
| 2109 | <actions> |
| 2110 | <action function="set">tw_password_fail=0</action> |
| 2111 | <action function="page">restore_decrypt</action> |
| 2112 | </actions> |
| 2113 | </action> |
| 2114 | |
| 2115 | <action> |
| 2116 | <condition var1="tw_restore_encrypted" var2="0"/> |
| 2117 | <actions> |
| 2118 | <action function="page">restore_select</action> |
| 2119 | </actions> |
| 2120 | </action> |
| 2121 | </page> |
| 2122 | |
| 2123 | <page name="restore_decrypt"> |
| 2124 | <template name="page"/> |
| 2125 | |
| 2126 | <text style="text_l"> |
| 2127 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2128 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2129 | </text> |
| 2130 | |
| 2131 | <text style="text_m"> |
| 2132 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2133 | <text>{@restore_enc_backup_hdr=Encrypted Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2134 | </text> |
| 2135 | |
| 2136 | <text style="text_m_accent"> |
| 2137 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2138 | <text>{@enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2139 | </text> |
| 2140 | |
| 2141 | <input> |
| 2142 | <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 2143 | <text>%tw_restore_display%</text> |
| 2144 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/> |
| 2145 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/> |
| 2146 | <action function="page">try_restore_decrypt</action> |
| 2147 | </input> |
| 2148 | |
| 2149 | <fill color="%accent_color%"> |
| 2150 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2151 | </fill> |
| 2152 | |
| 2153 | <fill color="%text_fail_color%"> |
| 2154 | <condition var1="tw_password_fail" var2="1"/> |
| 2155 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2156 | </fill> |
| 2157 | |
| 2158 | <text style="text_m_fail"> |
| 2159 | <condition var1="tw_password_fail" var2="1"/> |
| 2160 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2161 | <text>{@restore_dec_fail=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2162 | </text> |
| 2163 | |
| 2164 | <button style="main_button_half_height"> |
| 2165 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2166 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2167 | <actions> |
| 2168 | <action function="set">tw_page_done=1</action> |
| 2169 | <action function="page">restore</action> |
| 2170 | </actions> |
| 2171 | </button> |
| 2172 | |
| 2173 | <button style="main_button_half_height"> |
| 2174 | <placement x="%center_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2175 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2176 | <actions> |
| 2177 | <action function="set">tw_back=restore</action> |
| 2178 | <action function="set">tw_action=cmd</action> |
| 2179 | <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] | 2180 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
| 2181 | <action function="set">tw_text2=%tw_restore_name%</action> |
| 2182 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2183 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2184 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2185 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2186 | <action function="page">confirm_action</action> |
| 2187 | </actions> |
| 2188 | </button> |
| 2189 | |
| 2190 | <template name="keyboardtemplate"/> |
| 2191 | |
| 2192 | <action> |
| 2193 | <touch key="home"/> |
| 2194 | <action function="page">main</action> |
| 2195 | </action> |
| 2196 | |
| 2197 | <action> |
| 2198 | <touch key="back"/> |
| 2199 | <action function="page">restore</action> |
| 2200 | </action> |
| 2201 | </page> |
| 2202 | |
| 2203 | <page name="try_restore_decrypt"> |
| 2204 | <template name="page"/> |
| 2205 | |
| 2206 | <text style="text_l"> |
| 2207 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2208 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2209 | </text> |
| 2210 | |
| 2211 | <text style="text_m"> |
| 2212 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2213 | <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2214 | </text> |
| 2215 | |
| 2216 | <template name="console"/> |
| 2217 | |
| 2218 | <template name="progress_bar"/> |
| 2219 | |
| 2220 | <action> |
| 2221 | <action function="decrypt_backup"/> |
| 2222 | </action> |
| 2223 | |
| 2224 | <action> |
| 2225 | <conditions> |
| 2226 | <condition var1="tw_operation_state" var2="1"/> |
| 2227 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 2228 | </conditions> |
| 2229 | <actions> |
| 2230 | <action function="set">tw_password_fail=1</action> |
| 2231 | <action function="page">restore_decrypt</action> |
| 2232 | </actions> |
| 2233 | </action> |
| 2234 | |
| 2235 | <action> |
| 2236 | <conditions> |
| 2237 | <condition var1="tw_operation_state" var2="1"/> |
| 2238 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 2239 | </conditions> |
| 2240 | <actions> |
| 2241 | <action function="set">tw_page_done=1</action> |
| 2242 | <action function="page">restore_select</action> |
| 2243 | </actions> |
| 2244 | </action> |
| 2245 | </page> |
| 2246 | |
| 2247 | <page name="restore_select"> |
| 2248 | <template name="page"/> |
| 2249 | |
| 2250 | <text style="text_l"> |
| 2251 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2252 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2253 | </text> |
| 2254 | |
| 2255 | <text style="text_m"> |
| 2256 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2257 | <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2258 | </text> |
| 2259 | |
| 2260 | <text style="text_m_accent"> |
| 2261 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2262 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2263 | </text> |
| 2264 | |
| 2265 | <text style="text_m"> |
| 2266 | <placement x="%indent%" y="%row3_y%"/> |
| 2267 | <text>%tw_restore_name%</text> |
| 2268 | </text> |
| 2269 | |
| 2270 | <fill color="%fileselector_linecolor%"> |
| 2271 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/> |
| 2272 | </fill> |
| 2273 | |
| 2274 | <button> |
| 2275 | <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/> |
| 2276 | <fill color="%transparent%"/> |
| 2277 | <actions> |
| 2278 | <action function="set">tw_backup_rename=%tw_restore_name%</action> |
| 2279 | <action function="set">tw_fileexists=0</action> |
| 2280 | <action function="page">renamebackup</action> |
| 2281 | </actions> |
| 2282 | </button> |
| 2283 | |
| 2284 | <partitionlist> |
| 2285 | <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] | 2286 | <text>{@restore_sel_part=Select Partitions to Restore:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2287 | <data name="tw_restore_list" selectedlist="tw_restore_selected"/> |
| 2288 | <listtype name="restore"/> |
| 2289 | </partitionlist> |
| 2290 | |
| 2291 | <checkbox> |
| 2292 | <placement x="%indent%" y="%row17_y%"/> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2293 | <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2294 | <data variable="tw_skip_md5_check"/> |
| 2295 | </checkbox> |
| 2296 | |
| 2297 | <button style="main_button_half_height"> |
| 2298 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2299 | <text>{@del_backup_btn=Delete Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2300 | <actions> |
| 2301 | <action function="set">tw_back=restore</action> |
| 2302 | <action function="set">tw_action=cmd</action> |
| 2303 | <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] | 2304 | <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2305 | <action function="set">tw_text2=%tw_restore_name%</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2306 | <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action> |
| 2307 | <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action> |
| 2308 | <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action> |
| 2309 | <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2310 | <action function="page">confirm_action</action> |
| 2311 | </actions> |
| 2312 | </button> |
| 2313 | |
| 2314 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2315 | <text>{@swipe_restore=Swipe to Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2316 | <action function="page">restore_run</action> |
| 2317 | </slider> |
| 2318 | |
| 2319 | <action> |
| 2320 | <touch key="home"/> |
| 2321 | <action function="page">main</action> |
| 2322 | </action> |
| 2323 | |
| 2324 | <action> |
| 2325 | <touch key="back"/> |
| 2326 | <action function="page">restore</action> |
| 2327 | </action> |
| 2328 | </page> |
| 2329 | |
| 2330 | <page name="renamebackup"> |
| 2331 | <template name="page"/> |
| 2332 | |
| 2333 | <text style="text_l"> |
| 2334 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2335 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2336 | </text> |
| 2337 | |
| 2338 | <text style="text_m"> |
| 2339 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2340 | <text>{@rename_backup_hdr=Rename Backup}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2341 | </text> |
| 2342 | |
| 2343 | <text style="text_m_accent"> |
| 2344 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2345 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2346 | </text> |
| 2347 | |
| 2348 | <input> |
| 2349 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 2350 | <text>%tw_backup_rename%</text> |
| 2351 | <data name="tw_backup_rename"/> |
| 2352 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/> |
| 2353 | <actions> |
| 2354 | <action function="set">tw_back=restore</action> |
| 2355 | <action function="set">tw_action=cmd</action> |
| 2356 | <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] | 2357 | <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action> |
| 2358 | <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action> |
| 2359 | <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action> |
| 2360 | <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action> |
| 2361 | <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2362 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2363 | <action function="set">tw_existpage=renamebackup</action> |
| 2364 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2365 | <action function="page">filecheck</action> |
| 2366 | </actions> |
| 2367 | </input> |
| 2368 | |
| 2369 | <fill color="%accent_color%"> |
| 2370 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2371 | </fill> |
| 2372 | |
| 2373 | <fill color="%text_fail_color%"> |
| 2374 | <condition var1="tw_fileexists" var2="1"/> |
| 2375 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 2376 | </fill> |
| 2377 | |
| 2378 | <text style="text_m_fail"> |
| 2379 | <condition var1="tw_fileexists" var2="1"/> |
| 2380 | <placement x="%indent%" y="%row4a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2381 | <text>{@backup_name_exists=A backup with that name already exists!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2382 | </text> |
| 2383 | |
| 2384 | <button style="main_button_half_height"> |
| 2385 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2386 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2387 | <action function="page">restore_select</action> |
| 2388 | </button> |
| 2389 | |
| 2390 | <template name="keyboardtemplate"/> |
| 2391 | |
| 2392 | <action> |
| 2393 | <touch key="home"/> |
| 2394 | <action function="page">main</action> |
| 2395 | </action> |
| 2396 | |
| 2397 | <action> |
| 2398 | <touch key="back"/> |
| 2399 | <action function="page">restore_select</action> |
| 2400 | </action> |
| 2401 | </page> |
| 2402 | |
| 2403 | <page name="restore_run"> |
| 2404 | <template name="page"/> |
| 2405 | |
| 2406 | <text style="text_l"> |
| 2407 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2408 | <text>{@restore_hdr=Restore}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2409 | </text> |
| 2410 | |
| 2411 | <text style="text_m"> |
| 2412 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 2413 | <text>%tw_operation% %tw_partition%</text> |
| 2414 | </text> |
| 2415 | |
| 2416 | <template name="console"/> |
| 2417 | |
| 2418 | <template name="progress_bar"/> |
| 2419 | |
| 2420 | <text style="text_m_accent"> |
| 2421 | <placement x="%indent%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2422 | <text>{@progress=Progress:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2423 | </text> |
| 2424 | |
| 2425 | <text style="text_m"> |
| 2426 | <placement x="%indent%" y="%row20_y%"/> |
| 2427 | <text>%tw_size_progress%</text> |
| 2428 | </text> |
| 2429 | |
| 2430 | <action> |
| 2431 | <condition var1="tw_operation_state" var2="1"/> |
| 2432 | <actions> |
| 2433 | <action function="set">tw_back=restore_select</action> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2434 | <action function="set">tw_complete_text1={@restore_completed=Restore Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2435 | <action function="set">tw_show_reboot=1</action> |
| 2436 | <action function="page">action_complete</action> |
| 2437 | </actions> |
| 2438 | </action> |
| 2439 | |
| 2440 | <action> |
| 2441 | <action function="nandroid">restore</action> |
| 2442 | </action> |
| 2443 | </page> |
| 2444 | |
| 2445 | <page name="mount"> |
| 2446 | <template name="page"/> |
| 2447 | |
| 2448 | <text style="text_l"> |
| 2449 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2450 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2451 | </text> |
| 2452 | |
| 2453 | <text style="text_m"> |
| 2454 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2455 | <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] | 2456 | </text> |
| 2457 | |
| 2458 | <partitionlist> |
| 2459 | <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] | 2460 | <text>{@mount_sel_part=Select Partitions to Mount:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2461 | <listtype name="mount"/> |
| 2462 | </partitionlist> |
| 2463 | |
| 2464 | <button style="checkbox"> |
| 2465 | <condition var1="tw_mount_system_ro" op="=" var2="0"/> |
| 2466 | <placement x="%indent%" y="%row15a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2467 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2468 | <image resource="checkbox_false"/> |
| 2469 | <action function="mountsystemtoggle">1</action> |
| 2470 | </button> |
| 2471 | |
| 2472 | <button style="checkbox"> |
| 2473 | <condition var1="tw_mount_system_ro" op="!=" var2="0"/> |
| 2474 | <placement x="%indent%" y="%row15a_y%" textplacement="6"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2475 | <text>{@mount_sys_ro_chk=Mount system partition read-only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2476 | <image resource="checkbox_true"/> |
| 2477 | <actions> |
| 2478 | <action function="set">tw_lifetime_writes=2</action> |
| 2479 | <action function="page">system_readonly_check</action> |
| 2480 | </actions> |
| 2481 | </button> |
| 2482 | |
| 2483 | <button style="main_button_half_height"> |
| 2484 | <condition var1="tw_has_usb_storage" var2="1"/> |
| 2485 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2486 | <text>{@mount_usb_storage_btn=Mount USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2487 | <action function="page">usb_mount</action> |
| 2488 | </button> |
| 2489 | |
| 2490 | <button style="main_button_half_height"> |
| 2491 | <conditions> |
| 2492 | <condition var1="tw_is_encrypted" var2="1"/> |
| 2493 | <condition var1="tw_is_decrypted" var2="0"/> |
| 2494 | </conditions> |
| 2495 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2496 | <text>{@decrypt_data_btn=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2497 | <action function="page">decrypt</action> |
| 2498 | </button> |
| 2499 | |
| 2500 | <button style="main_button_half_height"> |
| 2501 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2502 | <text>{@select_storage_btn=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2503 | <actions> |
| 2504 | <action function="set">tw_back=mount</action> |
| 2505 | <action function="overlay">select_storage</action> |
| 2506 | </actions> |
| 2507 | </button> |
| 2508 | |
| 2509 | <button style="main_button_half_height"> |
| 2510 | <conditions> |
| 2511 | <condition var1="tw_has_mtp" var2="1"/> |
| 2512 | <condition var1="tw_mtp_enabled" var2="0"/> |
| 2513 | </conditions> |
| 2514 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2515 | <text>{@enable_mtp_btn=Enable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2516 | <action function="startmtp"/> |
| 2517 | </button> |
| 2518 | |
| 2519 | <button style="main_button_half_height"> |
| 2520 | <conditions> |
| 2521 | <condition var1="tw_has_mtp" var2="1"/> |
| 2522 | <condition var1="tw_mtp_enabled" var2="1"/> |
| 2523 | </conditions> |
| 2524 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2525 | <text>{@disable_mtp_btn=Disable MTP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2526 | <action function="stopmtp"/> |
| 2527 | </button> |
| 2528 | |
| 2529 | <action> |
| 2530 | <touch key="home"/> |
| 2531 | <action function="page">main</action> |
| 2532 | </action> |
| 2533 | |
| 2534 | <action> |
| 2535 | <touch key="back"/> |
| 2536 | <action function="page">main</action> |
| 2537 | </action> |
| 2538 | </page> |
| 2539 | |
| 2540 | <page name="usb_mount"> |
| 2541 | <template name="page"/> |
| 2542 | |
| 2543 | <text style="text_l"> |
| 2544 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2545 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2546 | </text> |
| 2547 | |
| 2548 | <text style="text_m"> |
| 2549 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2550 | <text>{usb_storage_hdr=USB Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2551 | </text> |
| 2552 | |
| 2553 | <text style="text_m_accent"> |
| 2554 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2555 | <text>{@usb_stor_mnt1=USB Storage Mounted}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2556 | </text> |
| 2557 | |
| 2558 | <text style="text_m"> |
| 2559 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2560 | <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2561 | </text> |
| 2562 | |
| 2563 | <text style="text_m"> |
| 2564 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2565 | <text>{@usb_stor_mnt3=from your computer before unmounting!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2566 | </text> |
| 2567 | |
| 2568 | <button style="main_button_half_height"> |
| 2569 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2570 | <text>{@unmount_btn=Unmount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2571 | <action function="page">usb_umount</action> |
| 2572 | </button> |
| 2573 | |
| 2574 | <action> |
| 2575 | <action function="mount">usb</action> |
| 2576 | <action function="set">tw_busy=1</action> |
| 2577 | </action> |
| 2578 | </page> |
| 2579 | |
| 2580 | <page name="usb_umount"> |
| 2581 | <action> |
| 2582 | <action function="unmount">usb</action> |
| 2583 | </action> |
| 2584 | |
| 2585 | <action> |
| 2586 | <action function="page">mount</action> |
| 2587 | <action function="set">tw_busy=0</action> |
| 2588 | </action> |
| 2589 | </page> |
| 2590 | |
| 2591 | <page name="system_readonly_check"> |
| 2592 | <action> |
| 2593 | <action function="checkpartitionlifetimewrites">/system</action> |
| 2594 | </action> |
| 2595 | |
| 2596 | <action> |
| 2597 | <condition var1="tw_lifetime_writes" var2="1"/> |
| 2598 | <actions> |
| 2599 | <action function="mountsystemtoggle">0</action> |
| 2600 | <action function="page">mount</action> |
| 2601 | </actions> |
| 2602 | </action> |
| 2603 | |
| 2604 | <action> |
| 2605 | <condition var1="tw_lifetime_writes" var2="0"/> |
| 2606 | <actions> |
| 2607 | <action function="set">tw_back=mount</action> |
| 2608 | <action function="page">system_readonly</action> |
| 2609 | </actions> |
| 2610 | </action> |
| 2611 | </page> |
| 2612 | |
| 2613 | <page name="reboot"> |
| 2614 | <template name="page"/> |
| 2615 | |
| 2616 | <text style="text_l"> |
| 2617 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2618 | <text>{@reboot_hdr=Reboot Menu}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2619 | </text> |
| 2620 | |
| 2621 | <button style="main_button"> |
| 2622 | <condition var1="tw_reboot_system" var2="1"/> |
| 2623 | <placement x="%indent%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2624 | <text>{@rb_system_btn=System}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2625 | <actions> |
| 2626 | <action function="set">tw_back=reboot</action> |
| 2627 | <action function="set">tw_action=reboot</action> |
| 2628 | <action function="set">tw_action_param=system</action> |
| 2629 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2630 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2631 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2632 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2633 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2634 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2635 | <action function="page">rebootcheck</action> |
| 2636 | </actions> |
| 2637 | </button> |
| 2638 | |
| 2639 | <button style="main_button"> |
| 2640 | <condition var1="tw_reboot_poweroff" var2="1"/> |
| 2641 | <placement x="%center_x%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2642 | <text>{@rb_poweroff_btn=Power Off}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2643 | <actions> |
| 2644 | <action function="set">tw_back=reboot</action> |
| 2645 | <action function="set">tw_action=reboot</action> |
| 2646 | <action function="set">tw_action_param=poweroff</action> |
| 2647 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2648 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2649 | <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action> |
| 2650 | <action function="set">tw_action_text1={@turning_off=Turning Off...}</action> |
| 2651 | <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action> |
| 2652 | <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] | 2653 | <action function="page">rebootcheck</action> |
| 2654 | </actions> |
| 2655 | </button> |
| 2656 | |
| 2657 | <button style="main_button"> |
| 2658 | <condition var1="tw_reboot_recovery" var2="1"/> |
| 2659 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2660 | <text>{@rb_recovery_btn=Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2661 | <actions> |
| 2662 | <action function="set">tw_back=reboot</action> |
| 2663 | <action function="set">tw_action=reboot</action> |
| 2664 | <action function="set">tw_action_param=recovery</action> |
| 2665 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2666 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2667 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2668 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2669 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2670 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2671 | <action function="page">rebootcheck</action> |
| 2672 | </actions> |
| 2673 | </button> |
| 2674 | |
| 2675 | <button style="main_button"> |
| 2676 | <condition var1="tw_reboot_bootloader" var2="1"/> |
| 2677 | <placement x="%center_x%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2678 | <text>{@rb_bootloader_btn=Bootloader}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2679 | <actions> |
| 2680 | <action function="set">tw_back=reboot</action> |
| 2681 | <action function="set">tw_action=reboot</action> |
| 2682 | <action function="set">tw_action_param=bootloader</action> |
| 2683 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2684 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2685 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2686 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2687 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2688 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2689 | <action function="page">rebootcheck</action> |
| 2690 | </actions> |
| 2691 | </button> |
| 2692 | |
| 2693 | <button style="main_button"> |
| 2694 | <condition var1="tw_download_mode" var2="1"/> |
| 2695 | <placement x="%indent%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2696 | <text>{@rb_download_btn=Download}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2697 | <actions> |
| 2698 | <action function="set">tw_back=reboot</action> |
| 2699 | <action function="set">tw_action=reboot</action> |
| 2700 | <action function="set">tw_action_param=download</action> |
| 2701 | <action function="set">tw_has_action2=0</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2702 | <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action> |
| 2703 | <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action> |
| 2704 | <action function="set">tw_action_text1={@rebooting=Rebooting...}</action> |
| 2705 | <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action> |
| 2706 | <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2707 | <action function="page">rebootcheck</action> |
| 2708 | </actions> |
| 2709 | </button> |
| 2710 | |
| 2711 | <action> |
| 2712 | <touch key="home"/> |
| 2713 | <action function="page">main</action> |
| 2714 | </action> |
| 2715 | |
| 2716 | <action> |
| 2717 | <touch key="back"/> |
| 2718 | <action function="page">main</action> |
| 2719 | </action> |
| 2720 | </page> |
| 2721 | |
| 2722 | <page name="system_readonly"> |
| 2723 | <template name="page"/> |
| 2724 | |
| 2725 | <text style="text_l"> |
| 2726 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2727 | <text>{@sys_ro_hdr=Unmodified System Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2728 | </text> |
| 2729 | |
| 2730 | <text style="text_m_accent"> |
| 2731 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2732 | <text>{@sys_ro_keep=Keep System Read only?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2733 | </text> |
| 2734 | |
| 2735 | <text style="text_m"> |
| 2736 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2737 | <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2738 | </text> |
| 2739 | |
| 2740 | <text style="text_m"> |
| 2741 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2742 | <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] | 2743 | </text> |
| 2744 | |
| 2745 | <text style="text_m"> |
| 2746 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2747 | <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] | 2748 | </text> |
| 2749 | |
| 2750 | <text style="text_m"> |
| 2751 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2752 | <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] | 2753 | </text> |
| 2754 | |
| 2755 | <text style="text_m_fail"> |
| 2756 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2757 | <text>{@sys_rop5=Installing zips or performing adb operations may still}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2758 | </text> |
| 2759 | |
| 2760 | <text style="text_m_fail"> |
| 2761 | <placement x="%center_x%" y="%row10_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2762 | <text>{@sys_rop6=modify the system partition.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2763 | </text> |
| 2764 | |
| 2765 | <checkbox> |
| 2766 | <condition var1="tw_is_encrypted" var2="0"/> |
| 2767 | <placement x="%indent%" y="%row15_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2768 | <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] | 2769 | <data variable="tw_never_show_system_ro_page"/> |
| 2770 | </checkbox> |
| 2771 | |
| 2772 | <button style="main_button_half_height"> |
| 2773 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2774 | <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2775 | <actions> |
| 2776 | <action function="mountsystemtoggle">1</action> |
| 2777 | <action function="set">tw_page_done=1</action> |
| 2778 | <action function="page">%tw_back%</action> |
| 2779 | </actions> |
| 2780 | </button> |
| 2781 | |
| 2782 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2783 | <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2784 | <actions> |
| 2785 | <action function="mountsystemtoggle">0</action> |
| 2786 | <action function="set">tw_page_done=1</action> |
| 2787 | <action function="page">%tw_back%</action> |
| 2788 | </actions> |
| 2789 | </slider> |
| 2790 | </page> |
| 2791 | |
| 2792 | <page name="settings"> |
| 2793 | <template name="page"/> |
| 2794 | |
| 2795 | <text style="text_l"> |
| 2796 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2797 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2798 | </text> |
| 2799 | |
| 2800 | <text style="text_m"> |
| 2801 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2802 | <text>{@settings_gen_hdr=General Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2803 | </text> |
| 2804 | |
| 2805 | <template name="tabs_settings"/> |
| 2806 | |
| 2807 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2808 | <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] | 2809 | </fill> |
| 2810 | |
| 2811 | <listbox style="scrolllist"> |
| 2812 | <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/> |
| 2813 | <icon selected="checkbox_true" unselected="checkbox_false"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2814 | <listitem name="{@zip_sig_chk=Zip signature verification}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2815 | <data variable="tw_signed_zip_verify"/> |
| 2816 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2817 | <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2818 | <data variable="tw_rm_rf"/> |
| 2819 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2820 | <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2821 | <data variable="tw_skip_md5_generate"/> |
| 2822 | </listitem> |
Ethan Yonker | 4c105b9 | 2016-01-05 16:23:28 -0600 | [diff] [blame] | 2823 | <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2824 | <data variable="tw_skip_md5_check"/> |
| 2825 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2826 | <listitem name="{@use24clock_chk=Use 24-hour clock}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2827 | <data variable="tw_military_time"/> |
| 2828 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2829 | <listitem name="{@rev_navbar_chk=Reversed navbar layout}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2830 | <data variable="tw_samsung_navbar"/> |
| 2831 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2832 | <listitem name="{@simact_chk=Simulate actions for theme testing}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2833 | <data variable="tw_simulate_actions"/> |
| 2834 | </listitem> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2835 | <listitem name="{@simfail_chk=Simulate failure for actions}"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2836 | <condition var1="tw_simulate_actions" var2="1"/> |
| 2837 | <data variable="tw_simulate_fail"/> |
| 2838 | </listitem> |
| 2839 | </listbox> |
| 2840 | |
| 2841 | <button style="main_button_half_height"> |
| 2842 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2843 | <text>{@restore_defaults_btn=Restore Defaults}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2844 | <action function="restoredefaultsettings"/> |
| 2845 | </button> |
| 2846 | |
| 2847 | <action> |
| 2848 | <touch key="home"/> |
| 2849 | <action function="page">main</action> |
| 2850 | </action> |
| 2851 | |
| 2852 | <action> |
| 2853 | <touch key="back"/> |
| 2854 | <action function="page">main</action> |
| 2855 | </action> |
| 2856 | </page> |
| 2857 | |
| 2858 | <page name="settings_timezone"> |
| 2859 | <template name="page"/> |
| 2860 | |
| 2861 | <text style="text_l"> |
| 2862 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2863 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2864 | </text> |
| 2865 | |
| 2866 | <text style="text_m"> |
| 2867 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2868 | <text>{@time_zone_hdr=Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2869 | </text> |
| 2870 | |
| 2871 | <template name="tabs_settings"/> |
| 2872 | |
| 2873 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2874 | <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] | 2875 | </fill> |
| 2876 | |
| 2877 | <listbox> |
| 2878 | <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] | 2879 | <text>{@sel_tz_list=Select Time Zone:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2880 | <data name="tw_time_zone_guisel"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2881 | <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem> |
| 2882 | <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem> |
| 2883 | <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem> |
| 2884 | <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 2885 | <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 2886 | <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 2887 | <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem> |
| 2888 | <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem> |
| 2889 | <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem> |
| 2890 | <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem> |
| 2891 | <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem> |
| 2892 | <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 2893 | <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 2894 | <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem> |
| 2895 | <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem> |
| 2896 | <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem> |
| 2897 | <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem> |
| 2898 | <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem> |
| 2899 | <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem> |
| 2900 | <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem> |
| 2901 | <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem> |
| 2902 | <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem> |
| 2903 | <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem> |
| 2904 | <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2905 | </listbox> |
| 2906 | |
| 2907 | <text style="text_m_accent"> |
| 2908 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2909 | <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2910 | </text> |
| 2911 | |
| 2912 | <button style="button_quarter_width"> |
| 2913 | <placement x="%indent%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2914 | <text>{@tz_offset_none=None}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2915 | <action function="set">tw_time_zone_guioffset=0</action> |
| 2916 | </button> |
| 2917 | |
| 2918 | <button style="button_quarter_width"> |
| 2919 | <placement x="%btn4_col2_x%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2920 | <text>{@tz_offset_15=15}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2921 | <action function="set">tw_time_zone_guioffset=15</action> |
| 2922 | </button> |
| 2923 | |
| 2924 | <button style="button_quarter_width"> |
| 2925 | <placement x="%btn4_col3_x%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2926 | <text>{@tz_offset_30=30}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2927 | <action function="set">tw_time_zone_guioffset=30</action> |
| 2928 | </button> |
| 2929 | |
| 2930 | <button style="button_quarter_width"> |
| 2931 | <placement x="%btn4_col4_x%" y="%row16a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2932 | <text>{@tz_offset_45=45}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2933 | <action function="set">tw_time_zone_guioffset=45</action> |
| 2934 | </button> |
| 2935 | |
| 2936 | <checkbox> |
| 2937 | <placement x="%indent%" y="%row18a_y%"/> |
| 2938 | <font resource="font_m" color="%text_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2939 | <text>{@use_dst_chk=Use daylight savings time (DST)}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2940 | <data variable="tw_time_zone_guidst"/> |
| 2941 | <image checked="checkbox_true" unchecked="checkbox_false"/> |
| 2942 | </checkbox> |
| 2943 | |
| 2944 | <text color="%text_color%"> |
| 2945 | <font resource="font_m"/> |
| 2946 | <placement x="%indent%" y="%row20_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2947 | <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2948 | </text> |
| 2949 | |
| 2950 | <button> |
| 2951 | <highlight color="%highlight_color%"/> |
| 2952 | <placement x="%center_x%" y="%row21a_y%"/> |
| 2953 | <font resource="font_m" color="%text_button_color%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2954 | <text>{@set_tz_btn=Set Time Zone}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2955 | <image resource="main_button_half_height"/> |
| 2956 | <action function="setguitimezone"/> |
| 2957 | </button> |
| 2958 | |
| 2959 | <action> |
| 2960 | <touch key="home"/> |
| 2961 | <action function="page">main</action> |
| 2962 | </action> |
| 2963 | |
| 2964 | <action> |
| 2965 | <touch key="back"/> |
| 2966 | <action function="page">main</action> |
| 2967 | </action> |
| 2968 | </page> |
| 2969 | |
| 2970 | <page name="settings_screen"> |
| 2971 | <template name="page"/> |
| 2972 | |
| 2973 | <text style="text_l"> |
| 2974 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2975 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2976 | </text> |
| 2977 | |
| 2978 | <text style="text_m"> |
| 2979 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2980 | <text>{@settings_screen_hdr=Screen Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2981 | </text> |
| 2982 | |
| 2983 | <template name="tabs_settings"/> |
| 2984 | |
| 2985 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2986 | <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] | 2987 | </fill> |
| 2988 | |
| 2989 | <button> |
| 2990 | <placement x="%indent%" y="%row3a_y%" textplacement="6"/> |
| 2991 | <font resource="font_m" color="%text_color%"/> |
| 2992 | <condition var1="tw_screen_timeout_secs" op="=" var2="0"/> |
| 2993 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 2994 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2995 | <image resource="checkbox_false"/> |
| 2996 | <action function="set">tw_screen_timeout_secs=60</action> |
| 2997 | </button> |
| 2998 | |
| 2999 | <button> |
| 3000 | <placement x="%indent%" y="%row3a_y%" textplacement="6"/> |
| 3001 | <font resource="font_m" color="%text_color%"/> |
| 3002 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3003 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3004 | <text>{@enable_timeout_chk=Enable screen timeout}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3005 | <image resource="checkbox_true"/> |
| 3006 | <action function="set">tw_screen_timeout_secs=0</action> |
| 3007 | </button> |
| 3008 | |
| 3009 | <slidervalue> |
| 3010 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/> |
| 3011 | <condition var1="tw_no_screen_timeout" op="!=" var2="1"/> |
| 3012 | <placement x="indent" y="%row5_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3013 | <text>{@screen_to_slider=Screen timeout in seconds:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3014 | <data variable="tw_screen_timeout_secs" min="15" max="300"/> |
| 3015 | </slidervalue> |
| 3016 | |
| 3017 | <slidervalue> |
| 3018 | <condition var1="tw_has_brightnesss_file" var2="1"/> |
| 3019 | <placement x="indent" y="%row10_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3020 | <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3021 | <data variable="tw_brightness_pct" min="10" max="100"/> |
| 3022 | <actions> |
| 3023 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3024 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3025 | <action function="compute">tw_brightness/100</action> |
| 3026 | <action function="setbrightness">%tw_brightness%</action> |
| 3027 | </actions> |
| 3028 | </slidervalue> |
| 3029 | |
| 3030 | <action> |
| 3031 | <touch key="home"/> |
| 3032 | <action function="page">main</action> |
| 3033 | </action> |
| 3034 | |
| 3035 | <action> |
| 3036 | <touch key="back"/> |
| 3037 | <action function="page">main</action> |
| 3038 | </action> |
| 3039 | </page> |
| 3040 | |
| 3041 | <page name="settings_vibration"> |
| 3042 | <template name="page"/> |
| 3043 | |
| 3044 | <text style="text_l"> |
| 3045 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3046 | <text>{@settings_hdr=Settings}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3047 | </text> |
| 3048 | |
| 3049 | <text style="text_m"> |
| 3050 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3051 | <text>{@vibration_hdr=Vibration}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3052 | </text> |
| 3053 | |
| 3054 | <template name="tabs_settings"/> |
| 3055 | |
| 3056 | <fill color="%text_color%"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3057 | <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] | 3058 | </fill> |
| 3059 | |
| 3060 | <slidervalue> |
| 3061 | <placement x="indent" y="%row4_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3062 | <text>{@button_vibration=Button Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3063 | <data variable="tw_button_vibrate" min="0" max="300"/> |
| 3064 | </slidervalue> |
| 3065 | |
| 3066 | <slidervalue> |
| 3067 | <placement x="indent" y="%row9_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3068 | <text>{@kb_vibration=Keyboard Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3069 | <data variable="tw_keyboard_vibrate" min="0" max="300"/> |
| 3070 | </slidervalue> |
| 3071 | |
| 3072 | <slidervalue> |
| 3073 | <placement x="indent" y="%row14_y%" w="%content_width%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3074 | <text>{@act_vibration=Action Vibration:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3075 | <data variable="tw_action_vibrate" min="0" max="500"/> |
| 3076 | </slidervalue> |
| 3077 | |
| 3078 | <action> |
| 3079 | <touch key="home"/> |
| 3080 | <action function="page">main</action> |
| 3081 | </action> |
| 3082 | |
| 3083 | <action> |
| 3084 | <touch key="back"/> |
| 3085 | <action function="page">main</action> |
| 3086 | </action> |
| 3087 | </page> |
| 3088 | |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3089 | <page name="settings_language"> |
| 3090 | <template name="page"/> |
| 3091 | |
| 3092 | <text style="text_l"> |
| 3093 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3094 | <text>{@settings_hdr=Settings}</text> |
| 3095 | </text> |
| 3096 | |
| 3097 | <text style="text_m"> |
| 3098 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3099 | <text>{@language_hdr=Language - %tw_language_display%}</text> |
| 3100 | </text> |
| 3101 | |
| 3102 | <template name="tabs_settings"/> |
| 3103 | |
| 3104 | <fill color="%text_color%"> |
| 3105 | <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> |
| 3106 | </fill> |
| 3107 | |
| 3108 | <listbox> |
| 3109 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/> |
| 3110 | <text>{@select_language=Select Language:}</text> |
| 3111 | <icon selected="radio_true" unselected="radio_false" /> |
| 3112 | <data name="tw_language" /> |
| 3113 | </listbox> |
| 3114 | |
| 3115 | <button style="main_button_half_height"> |
| 3116 | <placement x="%center_x%" y="%row21a_y%"/> |
| 3117 | <text>{@set_language_btn=Set Language}</text> |
| 3118 | <action function="setlanguage"></action> |
| 3119 | </button> |
| 3120 | |
| 3121 | <action> |
| 3122 | <touch key="home" /> |
| 3123 | <action function="page">main</action> |
| 3124 | </action> |
| 3125 | |
| 3126 | <action> |
| 3127 | <touch key="back" /> |
| 3128 | <action function="page">settings</action> |
| 3129 | </action> |
| 3130 | </page> |
| 3131 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3132 | <page name="advanced"> |
| 3133 | <template name="page"/> |
| 3134 | |
| 3135 | <text style="text_l"> |
| 3136 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3137 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3138 | </text> |
| 3139 | |
| 3140 | <button style="main_button"> |
| 3141 | <placement x="%indent%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3142 | <text>{@copy_log_btn=Copy Log}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3143 | <actions> |
| 3144 | <action function="set">tw_back=advanced</action> |
| 3145 | <action function="set">tw_action=copylog</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3146 | <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action> |
| 3147 | <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action> |
| 3148 | <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action> |
| 3149 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3150 | <action function="page">confirm_action</action> |
| 3151 | </actions> |
| 3152 | </button> |
| 3153 | |
| 3154 | <button style="main_button"> |
| 3155 | <placement x="%center_x%" y="%row2a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3156 | <text>{@fix_perm_btn=Fix Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3157 | <action function="page">fixperms</action> |
| 3158 | </button> |
| 3159 | |
| 3160 | <button style="main_button"> |
| 3161 | <condition var1="tw_allow_partition_sdcard" var2="1"/> |
| 3162 | <placement x="%indent%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3163 | <text>{@part_sd_btn=Partition SD Card}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3164 | <actions> |
| 3165 | <action function="set">partitionlisterror=0</action> |
| 3166 | <action function="page">partsdcardsel</action> |
| 3167 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3168 | </button> |
| 3169 | |
| 3170 | <button style="main_button"> |
| 3171 | <placement x="%center_x%" y="%row8_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3172 | <text>{@file_manager_btn=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3173 | <action function="page">filemanagerlist</action> |
| 3174 | </button> |
| 3175 | |
| 3176 | <button style="main_button"> |
| 3177 | <placement x="%indent%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3178 | <text>{@terminal_btn=Terminal}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 3179 | <action function="page">terminalcommand</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3180 | </button> |
| 3181 | |
| 3182 | <button style="main_button"> |
| 3183 | <placement x="%center_x%" y="%row13a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3184 | <text>{@reload_theme_btn=Reload Theme}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3185 | <action function="reload"/> |
| 3186 | </button> |
| 3187 | |
| 3188 | <button style="main_button"> |
| 3189 | <placement x="%indent%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3190 | <text>{@adb_sideload_btn=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3191 | <action function="page">sideload</action> |
| 3192 | </button> |
| 3193 | |
| 3194 | <button style="main_button"> |
| 3195 | <condition var1="tw_show_dumlock" var2="1"/> |
| 3196 | <placement x="%center_x%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3197 | <text>{@dumlock_btn=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3198 | <action function="page">htcdumlock</action> |
| 3199 | </button> |
| 3200 | |
| 3201 | <button style="main_button"> |
| 3202 | <condition var1="tw_has_injecttwrp" var2="1"/> |
| 3203 | <placement x="%center_x%" y="%row19_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3204 | <text>{@inject_twrp_btn=Inject TWRP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3205 | <actions> |
| 3206 | <action function="set">tw_back=advanced</action> |
| 3207 | <action function="set">tw_action=reinjecttwrp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3208 | <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> |
| 3209 | <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> |
| 3210 | <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> |
| 3211 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3212 | <action function="page">confirm_action</action> |
| 3213 | </actions> |
| 3214 | </button> |
| 3215 | |
| 3216 | <action> |
| 3217 | <touch key="home"/> |
| 3218 | <action function="page">main</action> |
| 3219 | </action> |
| 3220 | |
| 3221 | <action> |
| 3222 | <touch key="back"/> |
| 3223 | <action function="page">main</action> |
| 3224 | </action> |
| 3225 | </page> |
| 3226 | |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3227 | <page name="partsdcardsel"> |
| 3228 | <template name="page"/> |
| 3229 | |
| 3230 | <text style="text_l"> |
| 3231 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
| 3232 | <text>{@advanced_hdr=Advanced}</text> |
| 3233 | </text> |
| 3234 | |
| 3235 | <text style="text_m"> |
| 3236 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3237 | <text>{@part_sd_hdr=Partition SD Card}</text> |
| 3238 | </text> |
| 3239 | |
| 3240 | <partitionlist style="partitionlist_storage"> |
| 3241 | <text>{@sel_storage_list=Select Storage}</text> |
| 3242 | <data name="tw_storage_path"/> |
| 3243 | <listtype name="storage"/> |
| 3244 | </partitionlist> |
| 3245 | |
| 3246 | <text style="text_m_fail"> |
| 3247 | <condition var1="partitionlisterror" var2="1"/> |
| 3248 | <placement x="%center_x%" y="%row17_y%" placement="5"/> |
| 3249 | <text>{@invalid_partsd_sel=You must select a removable device}</text> |
| 3250 | </text> |
| 3251 | |
| 3252 | <button style="button_third_width"> |
| 3253 | <placement x="%dialog_button_x%" y="%row14_y%"/> |
| 3254 | <text>{@ok_btn=OK}</text> |
| 3255 | <actions> |
| 3256 | <action function="getpartitiondetails">tw_storage_path</action> |
| 3257 | <action function="page">partsdcardcheck</action> |
| 3258 | </actions> |
| 3259 | </button> |
| 3260 | |
| 3261 | <action> |
| 3262 | <touch key="home"/> |
| 3263 | <action function="page">main</action> |
| 3264 | </action> |
| 3265 | |
| 3266 | <action> |
| 3267 | <touch key="back"/> |
| 3268 | <action function="page">advanced</action> |
| 3269 | </action> |
| 3270 | </page> |
| 3271 | |
| 3272 | <page name="partsdcardcheck"> |
| 3273 | <action> |
| 3274 | <condition var1="tw_partition_removable" op="=" var2="1"/> |
| 3275 | <actions> |
| 3276 | <action function="set">partitionlisterror=0</action> |
| 3277 | <action function="page">partsdcard</action> |
| 3278 | </actions> |
| 3279 | </action> |
| 3280 | |
| 3281 | <action> |
| 3282 | <condition var1="tw_partition_removable" op="!=" var2="1"/> |
| 3283 | <actions> |
| 3284 | <action function="set">partitionlisterror=1</action> |
| 3285 | <action function="page">partsdcardsel</action> |
| 3286 | </actions> |
| 3287 | </action> |
| 3288 | </page> |
| 3289 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3290 | <page name="partsdcard"> |
| 3291 | <template name="page"/> |
| 3292 | |
| 3293 | <text style="text_l"> |
| 3294 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3295 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3296 | </text> |
| 3297 | |
| 3298 | <text style="text_m"> |
| 3299 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3300 | <text>{@part_sd_hdr=Partition SD Card}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3301 | </text> |
| 3302 | |
| 3303 | <text style="text_m_fail"> |
| 3304 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3305 | <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] | 3306 | </text> |
| 3307 | |
| 3308 | <text style="text_m_fail"> |
| 3309 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3310 | <text>{@part_sd_undo=This action cannot be undone!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3311 | </text> |
| 3312 | |
| 3313 | <text style="text_m_accent"> |
| 3314 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3315 | <text>{@part_sd_ext_sz=EXT Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3316 | </text> |
| 3317 | |
| 3318 | <text style="text_m"> |
| 3319 | <placement x="%center_x%" y="%row6a_y%" placement="5"/> |
| 3320 | <text>%tw_sdext_size%</text> |
| 3321 | </text> |
| 3322 | |
| 3323 | <button style="button_quarter_width"> |
| 3324 | <placement x="%indent%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3325 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3326 | <action function="addsubtract">tw_sdext_size-256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3327 | </button> |
| 3328 | |
| 3329 | <button style="button_quarter_width"> |
| 3330 | <placement x="%btn4_col4_x%" y="%row6_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3331 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3332 | <action function="addsubtract">tw_sdext_size+256</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3333 | </button> |
| 3334 | |
| 3335 | <text style="text_m_accent"> |
| 3336 | <placement x="%center_x%" y="%row9_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3337 | <text>{@part_sd_swap_sz=Swap Size:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3338 | </text> |
| 3339 | |
| 3340 | <text style="text_m"> |
| 3341 | <placement x="%center_x%" y="%row10a_y%" placement="5"/> |
| 3342 | <text>%tw_swap_size%</text> |
| 3343 | </text> |
| 3344 | |
| 3345 | <button style="button_quarter_width"> |
| 3346 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3347 | <text>{@part_sd_m=-}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3348 | <action function="addsubtract">tw_swap_size-64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3349 | </button> |
| 3350 | |
| 3351 | <button style="button_quarter_width"> |
| 3352 | <placement x="%btn4_col4_x%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3353 | <text>{@part_sd_p=+}</text> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3354 | <action function="addsubtract">tw_swap_size+64</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3355 | </button> |
| 3356 | |
| 3357 | <text style="text_m_accent"> |
| 3358 | <placement x="%center_x%" y="%row13_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3359 | <text>{@file_system=File System:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3360 | </text> |
| 3361 | |
| 3362 | <text style="text_m"> |
| 3363 | <placement x="%center_x%" y="%row14a_y%" placement="5"/> |
| 3364 | <text>%tw_sdpart_file_system%</text> |
| 3365 | </text> |
| 3366 | |
| 3367 | <button style="button_quarter_width"> |
| 3368 | <placement x="%indent%" y="%row14_y%"/> |
| 3369 | <text>EXT3</text> |
| 3370 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 3371 | </button> |
| 3372 | |
| 3373 | <button style="button_quarter_width"> |
| 3374 | <placement x="%btn4_col4_x%" y="%row14_y%"/> |
| 3375 | <text>EXT4</text> |
| 3376 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 3377 | </button> |
| 3378 | |
| 3379 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3380 | <text>{@swipe_part_sd=Swipe to Partition}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3381 | <action function="page">partsdcardaction</action> |
| 3382 | <actions> |
| 3383 | <action function="set">tw_back=partsdcard</action> |
| 3384 | <action function="set">tw_action=partitionsd</action> |
| 3385 | <action function="set">tw_has_action2=1</action> |
| 3386 | <action function="set">tw_action2=set</action> |
| 3387 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3388 | <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action> |
| 3389 | <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action> |
| 3390 | <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3391 | <action function="page">action_page</action> |
| 3392 | </actions> |
| 3393 | </slider> |
| 3394 | |
| 3395 | <action> |
| 3396 | <touch key="home"/> |
| 3397 | <action function="page">main</action> |
| 3398 | </action> |
| 3399 | |
| 3400 | <action> |
| 3401 | <touch key="back"/> |
Ethan Yonker | 483e9f4 | 2016-01-11 22:21:18 -0600 | [diff] [blame] | 3402 | <actions> |
| 3403 | <action function="set">partitionlisterror=0</action> |
| 3404 | <action function="page">partsdcardsel</action> |
| 3405 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3406 | </action> |
| 3407 | </page> |
| 3408 | |
| 3409 | <page name="htcdumlock"> |
| 3410 | <template name="page"/> |
| 3411 | |
| 3412 | <text style="text_l"> |
| 3413 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3414 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3415 | </text> |
| 3416 | |
| 3417 | <text style="text_m"> |
| 3418 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3419 | <text>{@dumlock_hdr=HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3420 | </text> |
| 3421 | |
| 3422 | <button style="main_button_half_height_full_width"> |
| 3423 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3424 | <text>{@dumlock_restore_btn=Restore Original Boot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3425 | <actions> |
| 3426 | <action function="set">tw_back=htcdumlock</action> |
| 3427 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3428 | <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action> |
| 3429 | <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action> |
| 3430 | <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action> |
| 3431 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3432 | <action function="page">confirm_action</action> |
| 3433 | </actions> |
| 3434 | </button> |
| 3435 | |
| 3436 | <button style="main_button_half_height_full_width"> |
| 3437 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3438 | <text>{@dumlock_reflash_btn=Reflash Recovery}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3439 | <actions> |
| 3440 | <action function="set">tw_back=htcdumlock</action> |
| 3441 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3442 | <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action> |
| 3443 | <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action> |
| 3444 | <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action> |
| 3445 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3446 | <action function="page">confirm_action</action> |
| 3447 | </actions> |
| 3448 | </button> |
| 3449 | |
| 3450 | <button style="main_button_half_height_full_width"> |
| 3451 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3452 | <text>{@dumlock_install_btn=Install HTC Dumlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3453 | <actions> |
| 3454 | <action function="set">tw_back=htcdumlock</action> |
| 3455 | <action function="set">tw_action=installhtcdumlock</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3456 | <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action> |
| 3457 | <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action> |
| 3458 | <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action> |
| 3459 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3460 | <action function="page">confirm_action</action> |
| 3461 | </actions> |
| 3462 | </button> |
| 3463 | |
| 3464 | <action> |
| 3465 | <touch key="home"/> |
| 3466 | <action function="page">main</action> |
| 3467 | </action> |
| 3468 | |
| 3469 | <action> |
| 3470 | <touch key="back"/> |
| 3471 | <action function="page">advanced</action> |
| 3472 | </action> |
| 3473 | </page> |
| 3474 | |
| 3475 | <page name="lock"> |
| 3476 | <background color="%semi_transparent%"/> |
| 3477 | |
| 3478 | <image> |
| 3479 | <image resource="unlock_icon"/> |
| 3480 | <placement x="%center_x%" y="%row10_y%" placement="4"/> |
| 3481 | </image> |
| 3482 | |
| 3483 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3484 | <text>{@swipe_to_unlock=Swipe to Unlock}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3485 | <action function="overlay"/> |
| 3486 | </slider> |
| 3487 | </page> |
| 3488 | |
| 3489 | <page name="filemanagerlist"> |
| 3490 | <template name="page"/> |
| 3491 | |
| 3492 | <text style="text_l"> |
| 3493 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3494 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3495 | </text> |
| 3496 | |
| 3497 | <text style="text_m"> |
| 3498 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3499 | <text>{@fm_sel_file=Select a File or Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3500 | </text> |
| 3501 | |
| 3502 | <template name="sort_options"/> |
| 3503 | |
| 3504 | <fileselector> |
| 3505 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 3506 | <text>%tw_file_location1%</text> |
| 3507 | <filter folders="1" files="1"/> |
| 3508 | <path name="tw_file_location1" default="/"/> |
| 3509 | <data name="tw_filename1"/> |
| 3510 | <selection name="tw_selection1"/> |
| 3511 | </fileselector> |
| 3512 | |
| 3513 | <button style="fab"> |
| 3514 | <image resource="fab_selectfolder"/> |
| 3515 | <actions> |
| 3516 | <action function="set">tw_filename1=tw_file_location1</action> |
| 3517 | <action function="set">tw_fm_isfolder=1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3518 | <action function="set">tw_fm_type={@fm_type_folder=Folder}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3519 | <action function="page">filemanageroptions</action> |
| 3520 | </actions> |
| 3521 | </button> |
| 3522 | |
| 3523 | <action> |
| 3524 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3525 | <action function="set">tw_fm_type={@fm_type_file=File}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3526 | <action function="set">tw_fm_isfolder=0</action> |
| 3527 | </actions> |
| 3528 | </action> |
| 3529 | |
| 3530 | <action> |
| 3531 | <touch key="home"/> |
| 3532 | <action function="page">main</action> |
| 3533 | </action> |
| 3534 | |
| 3535 | <action> |
| 3536 | <touch key="back"/> |
| 3537 | <action function="page">advanced</action> |
| 3538 | </action> |
| 3539 | |
| 3540 | <action> |
| 3541 | <condition var1="tw_filename1" op="modified"/> |
| 3542 | <action function="page">filemanageroptions</action> |
| 3543 | </action> |
| 3544 | </page> |
| 3545 | |
| 3546 | <page name="filemanageroptions"> |
| 3547 | <template name="page"/> |
| 3548 | |
| 3549 | <text style="text_l"> |
| 3550 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3551 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3552 | </text> |
| 3553 | |
| 3554 | <text style="text_m"> |
| 3555 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3556 | <text>{@fm_choose_act=Choose Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3557 | </text> |
| 3558 | |
| 3559 | <text style="text_m_accent"> |
| 3560 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3561 | <text>{@fm_selected=%tw_fm_type% selected:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3562 | </text> |
| 3563 | |
| 3564 | <text style="text_m"> |
| 3565 | <placement x="%indent%" y="%row3_y%"/> |
| 3566 | <text>%tw_filename1%</text> |
| 3567 | </text> |
| 3568 | |
| 3569 | <button style="main_button_half_height"> |
| 3570 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 3571 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3572 | <text>{@fm_copy_file_btn=Copy File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3573 | <actions> |
| 3574 | <action function="set">tw_filemanager_command=cp</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3575 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3576 | <action function="page">choosedestinationfolder</action> |
| 3577 | </actions> |
| 3578 | </button> |
| 3579 | |
| 3580 | <button style="main_button_half_height"> |
| 3581 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 3582 | <placement x="%indent%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3583 | <text>{@fm_copy_folder_btn=Copy Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3584 | <actions> |
| 3585 | <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] | 3586 | <action function="set">tw_fm_text1={@fm_copying=Copying}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3587 | <action function="page">choosedestinationfolder</action> |
| 3588 | </actions> |
| 3589 | </button> |
| 3590 | |
| 3591 | <button style="main_button_half_height"> |
| 3592 | <placement x="%center_x%" y="%row15a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3593 | <text>{@fm_move_btn=Move}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3594 | <actions> |
| 3595 | <action function="set">tw_filemanager_command=mv</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3596 | <action function="set">tw_fm_text1={@fm_moving=Moving}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3597 | <action function="page">choosedestinationfolder</action> |
| 3598 | </actions> |
| 3599 | </button> |
| 3600 | |
| 3601 | <button style="main_button_half_height"> |
| 3602 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3603 | <text>{@fm_chmod755_btn=chmod 755}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3604 | <actions> |
| 3605 | <action function="set">tw_filemanager_command=chmod 755</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3606 | <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3607 | <action function="set">tw_fm_text2=</action> |
| 3608 | <action function="set">tw_fm_text3=</action> |
| 3609 | <action function="set">tw_include_text3=0</action> |
| 3610 | <action function="set">tw_back=filemanageroptions</action> |
| 3611 | <action function="page">filemanagerconfirm</action> |
| 3612 | </actions> |
| 3613 | </button> |
| 3614 | |
| 3615 | <button style="main_button_half_height"> |
| 3616 | <placement x="%center_x%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3617 | <text>{@fm_chmod_btn=chmod}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3618 | <actions> |
| 3619 | <action function="set">tw_filemanager_rename=0000</action> |
| 3620 | <action function="set">tw_fm_text2=</action> |
| 3621 | <action function="set">tw_fm_text3=</action> |
| 3622 | <action function="set">tw_include_text3=0</action> |
| 3623 | <action function="set">tw_back=filemanageroptions</action> |
| 3624 | <action function="page">filemanagerchmod</action> |
| 3625 | </actions> |
| 3626 | </button> |
| 3627 | |
| 3628 | <button style="main_button_half_height"> |
| 3629 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3630 | <text>{@fm_delete_btn=Delete}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3631 | <actions> |
| 3632 | <action function="set">tw_filemanager_command=rm -rf</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3633 | <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3634 | <action function="set">tw_fm_text2=</action> |
| 3635 | <action function="set">tw_fm_text3=</action> |
| 3636 | <action function="set">tw_include_text3=0</action> |
| 3637 | <action function="set">tw_back=filemanageroptions</action> |
| 3638 | <action function="page">filemanagerconfirm</action> |
| 3639 | </actions> |
| 3640 | </button> |
| 3641 | |
| 3642 | <button style="main_button_half_height"> |
| 3643 | <condition var1="tw_fm_isfolder" var2="0"/> |
| 3644 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3645 | <text>{@fm_rename_file_btn=Rename File}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3646 | <actions> |
| 3647 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3648 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3649 | <action function="set">tw_filemanager_command=mv</action> |
| 3650 | <action function="page">filemanagerrenamefile</action> |
| 3651 | </actions> |
| 3652 | </button> |
| 3653 | |
| 3654 | <button style="main_button_half_height"> |
| 3655 | <condition var1="tw_fm_isfolder" var2="1"/> |
| 3656 | <placement x="%center_x%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3657 | <text>{@fm_rename_folder_btn=Rename Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3658 | <actions> |
| 3659 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3660 | <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3661 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 3662 | <action function="page">filemanagerrenamefolder</action> |
| 3663 | </actions> |
| 3664 | </button> |
| 3665 | |
| 3666 | <action> |
| 3667 | <touch key="home"/> |
| 3668 | <action function="page">main</action> |
| 3669 | </action> |
| 3670 | |
| 3671 | <action> |
| 3672 | <touch key="back"/> |
| 3673 | <action function="page">filemanagerlist</action> |
| 3674 | </action> |
| 3675 | </page> |
| 3676 | |
| 3677 | <page name="choosedestinationfolder"> |
| 3678 | <template name="page"/> |
| 3679 | |
| 3680 | <text style="text_l"> |
| 3681 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3682 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3683 | </text> |
| 3684 | |
| 3685 | <text style="text_m"> |
| 3686 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3687 | <text>{@fm_sel_dest=Select Destination Folder}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3688 | </text> |
| 3689 | |
| 3690 | <template name="sort_options"/> |
| 3691 | |
| 3692 | <fileselector> |
| 3693 | <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/> |
| 3694 | <text>%tw_file_location2%</text> |
| 3695 | <filter folders="1" files="0"/> |
| 3696 | <path name="tw_file_location2" default="/"/> |
| 3697 | <data name="tw_filename2"/> |
| 3698 | <selection name="tw_selection2"/> |
| 3699 | </fileselector> |
| 3700 | |
| 3701 | <button style="fab"> |
| 3702 | <image resource="fab_selectfolder"/> |
| 3703 | <actions> |
| 3704 | <action function="set">tw_fm_text2=to</action> |
| 3705 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3706 | <action function="set">tw_include_text3=1</action> |
| 3707 | <action function="set">tw_back=filemanageroptions</action> |
| 3708 | <action function="page">filemanagerconfirm</action> |
| 3709 | </actions> |
| 3710 | </button> |
| 3711 | |
| 3712 | <action> |
| 3713 | <touch key="home"/> |
| 3714 | <action function="page">main</action> |
| 3715 | </action> |
| 3716 | |
| 3717 | <action> |
| 3718 | <touch key="back"/> |
| 3719 | <action function="page">filemanageroptions</action> |
| 3720 | </action> |
| 3721 | </page> |
| 3722 | |
| 3723 | <page name="filemanagerrenamefile"> |
| 3724 | <template name="page"/> |
| 3725 | |
| 3726 | <text style="text_l"> |
| 3727 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3728 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3729 | </text> |
| 3730 | |
| 3731 | <text style="text_m"> |
| 3732 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3733 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3734 | </text> |
| 3735 | |
| 3736 | <text style="text_m_accent"> |
| 3737 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3738 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3739 | </text> |
| 3740 | |
| 3741 | <input> |
| 3742 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 3743 | <text>%tw_filemanager_rename%</text> |
| 3744 | <data name="tw_filemanager_rename"/> |
| 3745 | <restrict minlen="1" maxlen="128"/> |
| 3746 | <actions> |
| 3747 | <action function="set">tw_fm_text2=to</action> |
| 3748 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3749 | <action function="set">tw_include_text3=1</action> |
| 3750 | <action function="set">tw_back=filemanageroptions</action> |
| 3751 | <action function="page">filemanagerconfirm</action> |
| 3752 | </actions> |
| 3753 | </input> |
| 3754 | |
| 3755 | <fill color="%accent_color%"> |
| 3756 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 3757 | </fill> |
| 3758 | |
| 3759 | <button style="main_button_half_height"> |
| 3760 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3761 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3762 | <action function="page">filemanageroptions</action> |
| 3763 | </button> |
| 3764 | |
| 3765 | <template name="keyboardtemplate"/> |
| 3766 | |
| 3767 | <action> |
| 3768 | <touch key="home"/> |
| 3769 | <action function="page">main</action> |
| 3770 | </action> |
| 3771 | |
| 3772 | <action> |
| 3773 | <touch key="back"/> |
| 3774 | <action function="page">filemanageroptions</action> |
| 3775 | </action> |
| 3776 | </page> |
| 3777 | |
| 3778 | <page name="filemanagerrenamefolder"> |
| 3779 | <template name="page"/> |
| 3780 | |
| 3781 | <text style="text_l"> |
| 3782 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3783 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3784 | </text> |
| 3785 | |
| 3786 | <text style="text_m"> |
| 3787 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3788 | <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3789 | </text> |
| 3790 | |
| 3791 | <text style="text_m_accent"> |
| 3792 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3793 | <text>{@name=Name:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3794 | </text> |
| 3795 | |
| 3796 | <input> |
| 3797 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 3798 | <text>%tw_filemanager_rename%</text> |
| 3799 | <data name="tw_filemanager_rename"/> |
| 3800 | <restrict minlen="1" maxlen="128"/> |
| 3801 | <actions> |
| 3802 | <action function="set">tw_fm_text2=to</action> |
| 3803 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3804 | <action function="set">tw_include_text3=1</action> |
| 3805 | <action function="set">tw_back=filemanageroptions</action> |
| 3806 | <action function="page">filemanagerconfirm</action> |
| 3807 | </actions> |
| 3808 | </input> |
| 3809 | |
| 3810 | <fill color="%accent_color%"> |
| 3811 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 3812 | </fill> |
| 3813 | |
| 3814 | <button style="main_button_half_height"> |
| 3815 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3816 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3817 | <action function="page">filemanageroptions</action> |
| 3818 | </button> |
| 3819 | |
| 3820 | <template name="keyboardtemplate"/> |
| 3821 | |
| 3822 | <action> |
| 3823 | <touch key="home"/> |
| 3824 | <action function="page">main</action> |
| 3825 | </action> |
| 3826 | |
| 3827 | <action> |
| 3828 | <touch key="back"/> |
| 3829 | <action function="page">filemanageroptions</action> |
| 3830 | </action> |
| 3831 | </page> |
| 3832 | |
| 3833 | <page name="filemanagerchmod"> |
| 3834 | <template name="page"/> |
| 3835 | |
| 3836 | <text style="text_l"> |
| 3837 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3838 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3839 | </text> |
| 3840 | |
| 3841 | <text style="text_m"> |
| 3842 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3843 | <text>{@fm_set_perms_hdr=Set Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3844 | </text> |
| 3845 | |
| 3846 | <text style="text_m_accent"> |
| 3847 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3848 | <text>{@fm_perms=Permissions:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3849 | </text> |
| 3850 | |
| 3851 | <input> |
| 3852 | <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/> |
| 3853 | <text>%tw_filemanager_rename%</text> |
| 3854 | <data name="tw_filemanager_rename"/> |
| 3855 | <restrict minlen="3" maxlen="4" allow="0123456789"/> |
| 3856 | <actions> |
| 3857 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3858 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3859 | <action function="set">tw_back=filemanageroptions</action> |
| 3860 | <action function="page">filemanagerconfirm</action> |
| 3861 | </actions> |
| 3862 | </input> |
| 3863 | |
| 3864 | <fill color="%accent_color%"> |
| 3865 | <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 3866 | </fill> |
| 3867 | |
| 3868 | <button style="main_button_half_height"> |
| 3869 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3870 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3871 | <action function="page">filemanageroptions</action> |
| 3872 | </button> |
| 3873 | |
| 3874 | <template name="keyboardtemplate"/> |
| 3875 | |
| 3876 | <action> |
| 3877 | <touch key="home"/> |
| 3878 | <action function="page">main</action> |
| 3879 | </action> |
| 3880 | |
| 3881 | <action> |
| 3882 | <touch key="back"/> |
| 3883 | <action function="page">filemanageroptions</action> |
| 3884 | </action> |
| 3885 | </page> |
| 3886 | |
| 3887 | <page name="filemanagerconfirm"> |
| 3888 | <template name="page"/> |
| 3889 | |
| 3890 | <text style="text_l"> |
| 3891 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3892 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3893 | </text> |
| 3894 | |
| 3895 | <text style="text_m"> |
| 3896 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3897 | <text>{@confirm_action=Confirm Action}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3898 | </text> |
| 3899 | |
| 3900 | <text style="text_m_accent"> |
| 3901 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
| 3902 | <text>%tw_fm_text1%</text> |
| 3903 | </text> |
| 3904 | |
| 3905 | <text style="text_m"> |
| 3906 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 3907 | <text>%tw_filename1%</text> |
| 3908 | </text> |
| 3909 | |
| 3910 | <text style="text_m_accent"> |
| 3911 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
| 3912 | <text>%tw_fm_text2%</text> |
| 3913 | </text> |
| 3914 | |
| 3915 | <text style="text_m"> |
| 3916 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
| 3917 | <text>%tw_fm_text3%</text> |
| 3918 | </text> |
| 3919 | |
| 3920 | <text style="text_m"> |
| 3921 | <placement x="%center_x%" y="%row8_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3922 | <text>{@back_cancel=Press back button to cancel.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3923 | </text> |
| 3924 | |
| 3925 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3926 | <text>{@swipe_to_confirm=Swipe to Confirm}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3927 | <action function="page">filemanageraction</action> |
| 3928 | </slider> |
| 3929 | |
| 3930 | <action> |
| 3931 | <touch key="back"/> |
| 3932 | <action function="page">%tw_back%</action> |
| 3933 | </action> |
| 3934 | |
| 3935 | <action> |
| 3936 | <touch key="home"/> |
| 3937 | <action function="page">main</action> |
| 3938 | </action> |
| 3939 | </page> |
| 3940 | |
| 3941 | <page name="filemanageraction"> |
| 3942 | <template name="page"/> |
| 3943 | |
| 3944 | <text style="text_l"> |
| 3945 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3946 | <text>{@fm_hdr=File Manager}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3947 | </text> |
| 3948 | |
| 3949 | <text style="text_m"> |
| 3950 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
| 3951 | <text>%tw_fm_text1%</text> |
| 3952 | </text> |
| 3953 | |
| 3954 | <template name="console"/> |
| 3955 | |
| 3956 | <template name="progress_bar"/> |
| 3957 | |
| 3958 | <action> |
| 3959 | <conditions> |
| 3960 | <condition var1="tw_operation_state" var2="1"/> |
| 3961 | <condition var1="tw_operation_status" var2="0"/> |
| 3962 | </conditions> |
| 3963 | <actions> |
| 3964 | <action function="set">tw_back=filemanagerlist</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3965 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3966 | <action function="page">action_complete</action> |
| 3967 | </actions> |
| 3968 | </action> |
| 3969 | |
| 3970 | <action> |
| 3971 | <conditions> |
| 3972 | <condition var1="tw_operation_state" var2="1"/> |
| 3973 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 3974 | </conditions> |
| 3975 | <actions> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 3976 | <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 3977 | <action function="page">action_complete</action> |
| 3978 | </actions> |
| 3979 | </action> |
| 3980 | |
| 3981 | <action> |
| 3982 | <condition var1="tw_include_text3" var2="0"/> |
| 3983 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3984 | </action> |
| 3985 | |
| 3986 | <action> |
| 3987 | <condition var1="tw_include_text3" var2="1"/> |
| 3988 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3989 | </action> |
| 3990 | </page> |
| 3991 | |
| 3992 | <page name="decrypt"> |
| 3993 | <template name="page"/> |
| 3994 | |
| 3995 | <action> |
| 3996 | <condition var1="tw_crypto_pwtype" var2="2"/> |
| 3997 | <action function="page">decrypt_pattern</action> |
| 3998 | </action> |
| 3999 | |
| 4000 | <text style="text_l"> |
| 4001 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4002 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4003 | </text> |
| 4004 | |
| 4005 | <text style="text_m"> |
| 4006 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4007 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4008 | </text> |
| 4009 | |
| 4010 | <text style="text_m_accent"> |
| 4011 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4012 | <text>{@decrypt_data_enter_pass=Enter Password:}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4013 | </text> |
| 4014 | |
| 4015 | <input> |
| 4016 | <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/> |
| 4017 | <text>%tw_crypto_display%</text> |
| 4018 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/> |
| 4019 | <restrict minlen="1" maxlen="254"/> |
| 4020 | <action function="page">trydecrypt</action> |
| 4021 | </input> |
| 4022 | |
| 4023 | <fill color="%accent_color%"> |
| 4024 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4025 | </fill> |
| 4026 | |
| 4027 | <fill color="%text_fail_color%"> |
| 4028 | <condition var1="tw_password_fail" var2="1"/> |
| 4029 | <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 4030 | </fill> |
| 4031 | |
| 4032 | <text style="text_m_fail"> |
| 4033 | <condition var1="tw_password_fail" var2="1"/> |
| 4034 | <placement x="%indent%" y="%row5_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4035 | <text>{@decryt_data_failed=Password failed, please try again!}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4036 | </text> |
| 4037 | |
| 4038 | <button style="main_button_half_height"> |
| 4039 | <placement x="%indent%" y="%row10_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4040 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4041 | <actions> |
| 4042 | <action function="set">tw_page_done=1</action> |
| 4043 | <action function="page">main</action> |
| 4044 | </actions> |
| 4045 | </button> |
| 4046 | |
| 4047 | <template name="keyboardtemplate"/> |
| 4048 | </page> |
| 4049 | |
| 4050 | <page name="decrypt_pattern"> |
| 4051 | <template name="page"/> |
| 4052 | |
| 4053 | <text style="text_l"> |
| 4054 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4055 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4056 | </text> |
| 4057 | |
| 4058 | <text style="text_m"> |
| 4059 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4060 | <text>{@decrypt_data_hdr=Decrypt Data}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4061 | </text> |
| 4062 | |
| 4063 | <text style="text_m_accent"> |
| 4064 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4065 | <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4066 | </text> |
| 4067 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4068 | <text style="text_m_fail"> |
| 4069 | <condition var1="tw_password_fail" var2="1"/> |
| 4070 | <placement x="%center_x%" y="%row3_y%" placement="5"/> |
| 4071 | <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text> |
| 4072 | </text> |
| 4073 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4074 | <patternpassword> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4075 | <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4076 | <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/> |
| 4077 | <line color="%fileselector_linecolor%" width="%pattern_line_w%"/> |
| 4078 | <data name="tw_crypto_password"/> |
| 4079 | <action function="page">trydecrypt</action> |
| 4080 | </patternpassword> |
| 4081 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 4082 | <button style="button_quarter_width"> |
| 4083 | <placement x="%indent%" y="%row19a_y%"/> |
| 4084 | <text>3x3</text> |
| 4085 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 4086 | </button> |
| 4087 | |
| 4088 | <button style="button_quarter_width"> |
| 4089 | <placement x="%btn4_col2_x%" y="%row19a_y%"/> |
| 4090 | <text>4x4</text> |
| 4091 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 4092 | </button> |
| 4093 | |
| 4094 | <button style="button_quarter_width"> |
| 4095 | <placement x="%btn4_col3_x%" y="%row19a_y%"/> |
| 4096 | <text>5x5</text> |
| 4097 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 4098 | </button> |
| 4099 | |
| 4100 | <button style="button_quarter_width"> |
| 4101 | <placement x="%btn4_col4_x%" y="%row19a_y%"/> |
| 4102 | <text>6x6</text> |
| 4103 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 4104 | </button> |
| 4105 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4106 | <button style="main_button_half_height"> |
| 4107 | <placement x="%indent%" y="%row21a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4108 | <text>{@cancel_btn=Cancel}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4109 | <actions> |
| 4110 | <action function="set">tw_page_done=1</action> |
| 4111 | <action function="page">main</action> |
| 4112 | </actions> |
| 4113 | </button> |
| 4114 | </page> |
| 4115 | |
| 4116 | <page name="trydecrypt"> |
| 4117 | <template name="page"/> |
| 4118 | |
| 4119 | <text style="text_l"> |
| 4120 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4121 | <text>{@mount_hdr=Mount}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4122 | </text> |
| 4123 | |
| 4124 | <text style="text_m"> |
| 4125 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4126 | <text>{@decrypt_data_trying=Trying Decryption}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4127 | </text> |
| 4128 | |
| 4129 | <template name="console"/> |
| 4130 | |
| 4131 | <template name="progress_bar"/> |
| 4132 | |
| 4133 | <action> |
| 4134 | <action function="decrypt"/> |
| 4135 | </action> |
| 4136 | |
| 4137 | <action> |
| 4138 | <conditions> |
| 4139 | <condition var1="tw_operation_state" var2="1"/> |
| 4140 | <condition var1="tw_operation_status" op="!=" var2="0"/> |
| 4141 | </conditions> |
| 4142 | <actions> |
| 4143 | <action function="set">tw_password_fail=1</action> |
| 4144 | <action function="page">decrypt</action> |
| 4145 | </actions> |
| 4146 | </action> |
| 4147 | |
| 4148 | <action> |
| 4149 | <conditions> |
| 4150 | <condition var1="tw_operation_state" var2="1"/> |
| 4151 | <condition var1="tw_operation_status" op="=" var2="0"/> |
| 4152 | </conditions> |
| 4153 | <actions> |
| 4154 | <action function="set">tw_page_done=1</action> |
| 4155 | <action function="page">main</action> |
| 4156 | </actions> |
| 4157 | </action> |
| 4158 | </page> |
| 4159 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4160 | <page name="terminalcommand"> |
| 4161 | <template name="page"/> |
| 4162 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4163 | <fill color="%background_color%"> |
| 4164 | <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] | 4165 | </fill> |
| 4166 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4167 | <terminal> |
| 4168 | <condition var1="tw_hide_kb" var2="0"/> |
| 4169 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/> |
| 4170 | </terminal> |
| 4171 | |
| 4172 | <terminal> |
| 4173 | <condition var1="tw_hide_kb" var2="1"/> |
| 4174 | <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/> |
| 4175 | </terminal> |
| 4176 | |
| 4177 | <template name="keyboardterminaltemplate"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4178 | |
| 4179 | <template name="keyboardtemplate"/> |
| 4180 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4181 | <object type="fill" color="#000000"> |
| 4182 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 4183 | </object> |
| 4184 | |
| 4185 | <object type="button"> |
| 4186 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4187 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4188 | <image resource="back" /> |
| 4189 | <condition var1="tw_busy" var2="0" /> |
| 4190 | <actions> |
| 4191 | <action function="set">tw_hide_kb=0</action> |
| 4192 | <action function="key">back</action> |
| 4193 | </actions> |
| 4194 | </object> |
| 4195 | |
| 4196 | <object type="button"> |
| 4197 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4198 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 4199 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4200 | <image resource="kb_hide" /> |
| 4201 | <condition var1="tw_busy" var2="0" /> |
| 4202 | <actions> |
| 4203 | <action function="set">tw_hide_kb=1</action> |
| 4204 | <action function="page">terminalcommand</action> |
| 4205 | </actions> |
| 4206 | </object> |
| 4207 | |
| 4208 | <object type="button"> |
| 4209 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4210 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 4211 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4212 | <image resource="kb_show" /> |
| 4213 | <condition var1="tw_busy" var2="0" /> |
| 4214 | <actions> |
| 4215 | <action function="set">tw_hide_kb=0</action> |
| 4216 | <action function="page">terminalcommand</action> |
| 4217 | </actions> |
| 4218 | </object> |
| 4219 | |
| 4220 | <object type="button"> |
| 4221 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 4222 | <image resource="home" /> |
| 4223 | <condition var1="tw_busy" var2="0" /> |
| 4224 | <actions> |
| 4225 | <action function="set">tw_hide_kb=0</action> |
| 4226 | <action function="key">home</action> |
| 4227 | </actions> |
| 4228 | </object> |
| 4229 | |
| 4230 | <object type="button"> |
| 4231 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4232 | <condition var1="tw_hide_kb" op="=" var2="0" /> |
| 4233 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4234 | <image resource="kb_hide" /> |
| 4235 | <condition var1="tw_busy" var2="0" /> |
| 4236 | <actions> |
| 4237 | <action function="set">tw_hide_kb=1</action> |
| 4238 | <action function="page">terminalcommand</action> |
| 4239 | </actions> |
| 4240 | </object> |
| 4241 | |
| 4242 | <object type="button"> |
| 4243 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 4244 | <condition var1="tw_hide_kb" op="=" var2="1" /> |
| 4245 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4246 | <image resource="kb_show" /> |
| 4247 | <condition var1="tw_busy" var2="0" /> |
| 4248 | <actions> |
| 4249 | <action function="set">tw_hide_kb=0</action> |
| 4250 | <action function="page">terminalcommand</action> |
| 4251 | </actions> |
| 4252 | </object> |
| 4253 | |
| 4254 | <object type="button"> |
| 4255 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 4256 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 4257 | <image resource="back" /> |
| 4258 | <condition var1="tw_busy" var2="0" /> |
| 4259 | <actions> |
| 4260 | <action function="set">tw_hide_kb=0</action> |
| 4261 | <action function="key">back</action> |
| 4262 | </actions> |
| 4263 | </object> |
| 4264 | |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4265 | <action> |
| 4266 | <touch key="home"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4267 | <actions> |
| 4268 | <action function="set">tw_hide_kb=0</action> |
| 4269 | <action function="page">main</action> |
| 4270 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4271 | </action> |
| 4272 | |
| 4273 | <action> |
| 4274 | <touch key="back"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4275 | <actions> |
| 4276 | <action function="set">tw_hide_kb=0</action> |
| 4277 | <action function="page">advanced</action> |
| 4278 | </actions> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4279 | </action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4280 | |
| 4281 | <object type="action"> |
| 4282 | <touch key="power+voldown" /> |
| 4283 | <action function="screenshot" /> |
| 4284 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4285 | </page> |
| 4286 | |
| 4287 | <page name="sideload"> |
| 4288 | <template name="page"/> |
| 4289 | |
| 4290 | <text style="text_l"> |
| 4291 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4292 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4293 | </text> |
| 4294 | |
| 4295 | <text style="text_m"> |
| 4296 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4297 | <text>{@adb_sideload_hdr=ADB Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4298 | </text> |
| 4299 | |
| 4300 | <checkbox> |
| 4301 | <placement x="%indent%" y="%row2_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4302 | <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4303 | <data variable="tw_wipe_dalvik"/> |
| 4304 | </checkbox> |
| 4305 | |
| 4306 | <checkbox> |
| 4307 | <placement x="%indent%" y="%row3a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4308 | <text>{@sideload_wipe_cache_chk=Wipe Cache}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4309 | <data variable="tw_wipe_cache"/> |
| 4310 | </checkbox> |
| 4311 | |
| 4312 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4313 | <text>{@swipe_to_sideload=Swipe to Start Sideload}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4314 | <actions> |
| 4315 | <action function="set">tw_back=advanced</action> |
| 4316 | <action function="set">tw_action=adbsideload</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4317 | <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action> |
| 4318 | <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action> |
| 4319 | <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4320 | <action function="set">tw_has_cancel=1</action> |
| 4321 | <action function="set">tw_show_reboot=1</action> |
| 4322 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 4323 | <action function="page">action_page</action> |
| 4324 | </actions> |
| 4325 | </slider> |
| 4326 | |
| 4327 | <action> |
| 4328 | <touch key="home"/> |
| 4329 | <action function="page">main</action> |
| 4330 | </action> |
| 4331 | |
| 4332 | <action> |
| 4333 | <touch key="back"/> |
| 4334 | <action function="page">advanced</action> |
| 4335 | </action> |
| 4336 | </page> |
| 4337 | |
| 4338 | <page name="fixperms"> |
| 4339 | <template name="page"/> |
| 4340 | |
| 4341 | <text style="text_l"> |
| 4342 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4343 | <text>{@advanced_hdr=Advanced}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4344 | </text> |
| 4345 | |
| 4346 | <text style="text_m"> |
| 4347 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4348 | <text>{@fix_perms_hdr=Fix Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4349 | </text> |
| 4350 | |
| 4351 | <text style="text_m_accent"> |
| 4352 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4353 | <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4354 | </text> |
| 4355 | |
| 4356 | <checkbox> |
| 4357 | <placement x="%indent%" y="%row4_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4358 | <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4359 | <data variable="tw_fixperms_restorecon"/> |
| 4360 | </checkbox> |
| 4361 | |
| 4362 | <text style="text_m_fail"> |
| 4363 | <placement x="%center_x%" y="%row6_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4364 | <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4365 | </text> |
| 4366 | |
| 4367 | <text style="text_m_fail"> |
| 4368 | <placement x="%center_x%" y="%row7_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4369 | <text>{@fix_perms_sel_note2=your device to not boot properly.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4370 | </text> |
| 4371 | |
| 4372 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4373 | <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4374 | <actions> |
| 4375 | <action function="set">tw_back=advanced</action> |
| 4376 | <action function="set">tw_action=fixpermissions</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4377 | <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action> |
| 4378 | <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action> |
| 4379 | <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4380 | <action function="set">tw_show_reboot=1</action> |
| 4381 | <action function="page">action_page</action> |
| 4382 | </actions> |
| 4383 | </slider> |
| 4384 | |
| 4385 | <action> |
| 4386 | <touch key="home"/> |
| 4387 | <action function="page">main</action> |
| 4388 | </action> |
| 4389 | |
| 4390 | <action> |
| 4391 | <touch key="back"/> |
| 4392 | <action function="page">advanced</action> |
| 4393 | </action> |
| 4394 | </page> |
| 4395 | |
| 4396 | <page name="installsu"> |
| 4397 | <template name="page"/> |
| 4398 | |
| 4399 | <text style="text_l"> |
| 4400 | <placement x="%col1_x_header%" y="%row3_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4401 | <text>{@reboot_hdr=Reboot}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4402 | </text> |
| 4403 | |
| 4404 | <text style="text_m"> |
| 4405 | <placement x="%col1_x_header%" y="%row4_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4406 | <text>{@su_hdr=SuperSU Check}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4407 | </text> |
| 4408 | |
| 4409 | <text style="text_m_accent"> |
| 4410 | <placement x="%center_x%" y="%row2_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4411 | <text>{@su_note1=Your device does not appear to be rooted.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4412 | </text> |
| 4413 | |
| 4414 | <text style="text_m"> |
| 4415 | <placement x="%center_x%" y="%row4_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4416 | <text>{@su_note2=Install SuperSU now?}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4417 | </text> |
| 4418 | |
| 4419 | <text style="text_m"> |
| 4420 | <placement x="%center_x%" y="%row5_y%" placement="5"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4421 | <text>{@su_note3=This will root your device.}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4422 | </text> |
| 4423 | |
| 4424 | <button style="main_button_half_height"> |
| 4425 | <placement x="%indent%" y="%row18a_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4426 | <text>{@su_cancel=Do not Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4427 | <action function="set">tw_page_done=1</action> |
| 4428 | </button> |
| 4429 | |
| 4430 | <slider> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4431 | <text>{@swipe_su_to_install=Swipe to Install}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4432 | <actions> |
| 4433 | <action function="set">tw_action=installsu</action> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4434 | <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4435 | <action function="set">tw_action_text2=</action> |
| 4436 | <action function="page">singleaction_page</action> |
| 4437 | </actions> |
| 4438 | </slider> |
| 4439 | </page> |
| 4440 | |
| 4441 | <page name="slideout"> |
| 4442 | <fill color="%background_color%"> |
| 4443 | <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/> |
| 4444 | </fill> |
| 4445 | |
| 4446 | <console> |
| 4447 | <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/> |
| 4448 | </console> |
| 4449 | |
| 4450 | <button> |
| 4451 | <fill color="%transparent%"/> |
| 4452 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 4453 | <action function="overlay"/> |
| 4454 | </button> |
| 4455 | |
| 4456 | <action> |
| 4457 | <touch key="power+voldown"/> |
| 4458 | <action function="screenshot"/> |
| 4459 | </action> |
| 4460 | </page> |
| 4461 | |
| 4462 | <page name="select_storage"> |
| 4463 | <fill color="%semi_transparent%"> |
| 4464 | <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/> |
| 4465 | </fill> |
| 4466 | |
| 4467 | <fill color="%background_color%"> |
| 4468 | <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/> |
| 4469 | </fill> |
| 4470 | |
| 4471 | <partitionlist style="partitionlist_storage"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4472 | <text>{@sel_storage_list=Select Storage}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4473 | <data name="tw_storage_path"/> |
| 4474 | <listtype name="storage"/> |
| 4475 | </partitionlist> |
| 4476 | |
| 4477 | <button style="button_third_width"> |
| 4478 | <placement x="%dialog_button_x%" y="%row14_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 4479 | <text>{@ok_btn=OK}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 4480 | <actions> |
| 4481 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 4482 | <action function="overlay"/> |
| 4483 | <action function="page">clear_vars</action> |
| 4484 | </actions> |
| 4485 | </button> |
| 4486 | |
| 4487 | <fill color="#000000"> |
| 4488 | <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/> |
| 4489 | </fill> |
| 4490 | |
| 4491 | <button> |
| 4492 | <condition var1="tw_samsung_navbar" op="!=" var2="1"/> |
| 4493 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4494 | <image resource="back"/> |
| 4495 | <condition var1="tw_busy" var2="0"/> |
| 4496 | <actions> |
| 4497 | <action function="overlay"/> |
| 4498 | <action function="key">%tw_back%</action> |
| 4499 | </actions> |
| 4500 | </button> |
| 4501 | |
| 4502 | <button> |
| 4503 | <condition var1="tw_samsung_navbar" op="=" var2="1"/> |
| 4504 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4505 | <image resource="console"/> |
| 4506 | <condition var1="tw_busy" var2="0"/> |
| 4507 | <action function="overlay">slideout</action> |
| 4508 | </button> |
| 4509 | |
| 4510 | <button> |
| 4511 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 4512 | <image resource="home"/> |
| 4513 | <condition var1="tw_busy" var2="0"/> |
| 4514 | <actions> |
| 4515 | <action function="overlay"/> |
| 4516 | <action function="key">home</action> |
| 4517 | </actions> |
| 4518 | </button> |
| 4519 | |
| 4520 | <button> |
| 4521 | <condition var1="tw_samsung_navbar" op="!=" var2="1"/> |
| 4522 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4523 | <image resource="console"/> |
| 4524 | <condition var1="tw_busy" var2="0"/> |
| 4525 | <action function="overlay">slideout</action> |
| 4526 | </button> |
| 4527 | |
| 4528 | <button> |
| 4529 | <condition var1="tw_samsung_navbar" op="=" var2="1"/> |
| 4530 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 4531 | <image resource="back"/> |
| 4532 | <condition var1="tw_busy" var2="0"/> |
| 4533 | <actions> |
| 4534 | <action function="overlay"/> |
| 4535 | <action function="key">%tw_back%</action> |
| 4536 | </actions> |
| 4537 | </button> |
| 4538 | |
| 4539 | <action> |
| 4540 | <touch key="power+voldown"/> |
| 4541 | <action function="screenshot"/> |
| 4542 | </action> |
| 4543 | </page> |
| 4544 | </pages> |
| 4545 | </recovery> |