Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 4 | <styles> |
| 5 | <style name="buttontext"> |
| 6 | <highlight color="%highlight_color%" /> |
| 7 | <font resource="font" color="%button_text_color%" /> |
| 8 | </style> |
| 9 | |
| 10 | <style name="button"> |
| 11 | <style name="buttontext" /> |
| 12 | <image resource="main_button" /> |
| 13 | </style> |
| 14 | |
| 15 | <style name="mediumbutton"> |
| 16 | <style name="buttontext" /> |
| 17 | <image resource="medium_button" /> |
| 18 | </style> |
| 19 | |
| 20 | <style name="fillbutton"> |
| 21 | <style name="buttontext" /> |
| 22 | <fill color="%button_fill_color%" /> |
| 23 | </style> |
| 24 | |
| 25 | <style name="rebootsystem"> |
| 26 | <condition var1="tw_reboot_system" var2="1" /> |
| 27 | <style name="button" /> |
| 28 | <text>Reboot System</text> |
| 29 | <actions> |
| 30 | <action function="set">tw_back=main2</action> |
| 31 | <action function="set">tw_action=reboot</action> |
| 32 | <action function="set">tw_action_param=system</action> |
| 33 | <action function="set">tw_has_action2=0</action> |
| 34 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 35 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 36 | <action function="set">tw_text3=</action> |
| 37 | <action function="set">tw_text4=</action> |
| 38 | <action function="set">tw_action_text1=Rebooting...</action> |
| 39 | <action function="set">tw_action_text2=</action> |
| 40 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 41 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 42 | <action function="page">rebootcheck</action> |
| 43 | </actions> |
| 44 | </style> |
| 45 | |
| 46 | <style name="scrolllist"> |
| 47 | <highlight color="%fileselector_highlight_color%" /> |
| 48 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 49 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 50 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 51 | <background color="%fileselector_background%" /> |
| 52 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 53 | </style> |
| 54 | |
| 55 | <style name="fileselector"> |
| 56 | <style name="scrolllist" /> |
| 57 | <icon folder="folder_icon" file="file_icon" /> |
| 58 | <sort name="tw_gui_sort_order" /> |
| 59 | </style> |
| 60 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 61 | <style name="patternpassword"> |
| 62 | <size name="tw_gui_pattern_grid_size" default="3" /> |
| 63 | </style> |
| 64 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 65 | <style name="partitionlist"> |
| 66 | <style name="scrolllist" /> |
| 67 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 68 | </style> |
| 69 | |
| 70 | <style name="text"> |
| 71 | <font resource="font" color="%text_color%" /> |
| 72 | </style> |
| 73 | |
| 74 | <style name="checkbox"> |
| 75 | <font resource="font" color="%text_color%" /> |
| 76 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 77 | </style> |
| 78 | |
| 79 | <style name="slider"> |
| 80 | <text>Swipe to Confirm</text> |
| 81 | <font resource="font" color="%text_color%" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 82 | <placement x="%center_x%" y="%slider_y%" placement="5" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 83 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 84 | </style> |
| 85 | |
| 86 | <style name="console"> |
| 87 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 88 | <font resource="fixed" /> |
that | 8d46c09 | 2015-02-26 01:30:04 +0100 | [diff] [blame] | 89 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 90 | </style> |
| 91 | |
| 92 | <style name="input"> |
| 93 | <background color="%input_background_color%" /> |
| 94 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 95 | <font resource="font" color="%text_color%" /> |
| 96 | </style> |
| 97 | |
| 98 | <style name="slidervalue"> |
| 99 | <font resource="font" color="%text_color%" /> |
| 100 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 101 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> |
| 102 | </style> |
| 103 | </styles> |
| 104 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 105 | <pages> |
| 106 | <page name="main"> |
| 107 | <object type="action"> |
| 108 | <actions> |
| 109 | <action function="set">tw_clear_destination=main2</action> |
| 110 | <action function="page">clear_vars</action> |
| 111 | </actions> |
| 112 | </object> |
| 113 | </page> |
| 114 | |
| 115 | <page name="main2"> |
| 116 | <object type="template" name="twrpheader" /> |
| 117 | |
| 118 | <object type="template" name="header" /> |
| 119 | |
| 120 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 121 | <placement x="%col1_x%" y="%row1_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 122 | <text>Install</text> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 123 | <action function="page">install_select</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 124 | </object> |
| 125 | |
| 126 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 127 | <placement x="%col2_x%" y="%row1_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 128 | <text>Wipe</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 129 | <action function="page">wipe</action> |
| 130 | </object> |
| 131 | |
| 132 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 133 | <placement x="%col1_x%" y="%row2_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 134 | <text>Backup</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 135 | <action function="page">backup</action> |
| 136 | </object> |
| 137 | |
| 138 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 139 | <placement x="%col2_x%" y="%row2_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 140 | <text>Restore</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 141 | <action function="page">restore</action> |
| 142 | </object> |
| 143 | |
| 144 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 145 | <placement x="%col1_x%" y="%row3_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 146 | <text>Mount</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 147 | <action function="page">mount</action> |
| 148 | </object> |
| 149 | |
| 150 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 151 | <placement x="%col2_x%" y="%row3_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 152 | <text>Settings</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 153 | <action function="page">settings</action> |
| 154 | </object> |
| 155 | |
| 156 | |
| 157 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 158 | <placement x="%col1_x%" y="%row4_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 159 | <text>Advanced</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 160 | <action function="page">advanced</action> |
| 161 | </object> |
| 162 | |
| 163 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 164 | <placement x="%col2_x%" y="%row4_home_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 165 | <text>Reboot</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 166 | <action function="page">reboot</action> |
| 167 | </object> |
| 168 | |
| 169 | <object type="template" name="footer" /> |
| 170 | </page> |
| 171 | |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 172 | <page name="install_select"> |
| 173 | <object type="template" name="twrpheader" /> |
| 174 | |
| 175 | <object type="template" name="header" /> |
| 176 | |
| 177 | <object type="button"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 178 | <placement x="%col1_x%" y="%row1_home_y%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 179 | <text>Install Zips</text> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 180 | <actions> |
| 181 | <action function="queueclear"></action> |
| 182 | <action function="page">install</action> |
| 183 | </actions> |
| 184 | </object> |
| 185 | |
| 186 | <object type="button"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 187 | <placement x="%col2_x%" y="%row1_home_y%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 188 | <text>Install Images</text> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 189 | <action function="page">install_image</action> |
| 190 | </object> |
| 191 | |
| 192 | <object type="action"> |
| 193 | <touch key="back" /> |
| 194 | <action function="page">main</action> |
| 195 | </object> |
| 196 | |
| 197 | <object type="action"> |
| 198 | <touch key="home" /> |
| 199 | <action function="page">main</action> |
| 200 | </object> |
| 201 | |
| 202 | <object type="template" name="footer" /> |
| 203 | </page> |
| 204 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 205 | <page name="install"> |
| 206 | <object type="template" name="header" /> |
| 207 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 208 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 209 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 210 | <text>Select Zip to Install</text> |
| 211 | </object> |
| 212 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 213 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 214 | <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 215 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 216 | <actions> |
| 217 | <action function="set">tw_back=install</action> |
| 218 | <action function="page">selectstorage</action> |
| 219 | </actions> |
| 220 | </object> |
| 221 | |
| 222 | <object type="fileselector"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 223 | <placement x="%fileselector_x%" y="%fileselector_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 224 | <text>%tw_zip_location%</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 225 | <filter extn=".zip" folders="1" files="1" /> |
| 226 | <path name="tw_zip_location" default="/sdcard" /> |
| 227 | <data name="tw_filename" /> |
| 228 | <selection name="tw_file" /> |
| 229 | </object> |
| 230 | |
| 231 | <object type="template" name="sort_options" /> |
| 232 | |
| 233 | <object type="action"> |
| 234 | <condition var1="tw_filename" op="modified" /> |
| 235 | <actions> |
| 236 | <action function="queuezip"></action> |
| 237 | <action function="page">flash_confirm</action> |
| 238 | </actions> |
| 239 | </object> |
| 240 | |
| 241 | <object type="action"> |
| 242 | <touch key="back" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 243 | <action function="page">install_select</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 244 | </object> |
| 245 | |
| 246 | <object type="action"> |
| 247 | <touch key="home" /> |
| 248 | <action function="page">main</action> |
| 249 | </object> |
| 250 | |
| 251 | <object type="template" name="footer" /> |
| 252 | </page> |
| 253 | |
| 254 | <page name="flash_confirm"> |
| 255 | <object type="template" name="header" /> |
| 256 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 257 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 258 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 259 | <text>This operation may install incompatible</text> |
| 260 | </object> |
| 261 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 262 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 263 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 264 | <text>software and render your device unusable.</text> |
| 265 | </object> |
| 266 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 267 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 268 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 269 | <text>Folder and File:</text> |
| 270 | </object> |
| 271 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 272 | <object type="text"> |
| 273 | <font resource="mediumfont" color="%text_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 274 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 275 | <text>%tw_zip_location%</text> |
| 276 | </object> |
| 277 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 278 | <object type="text"> |
| 279 | <font resource="mediumfont" color="%text_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 280 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 281 | <text>%tw_file%</text> |
| 282 | </object> |
| 283 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 284 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 285 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 286 | <text>Press back to cancel adding this zip.</text> |
| 287 | </object> |
| 288 | |
| 289 | <object type="checkbox"> |
| 290 | <placement x="%col1_x%" y="%row6_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 291 | <text>Zip file signature verification.</text> |
| 292 | <data variable="tw_signed_zip_verify" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 293 | </object> |
| 294 | |
| 295 | <object type="checkbox"> |
| 296 | <condition var1="tw_has_injecttwrp" var2="1" /> |
| 297 | <placement x="%col1_x%" y="%row7_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 298 | <text>Inject TWRP after install.</text> |
| 299 | <data variable="tw_inject_after_zip" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 300 | </object> |
| 301 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 302 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 303 | <placement x="%center_x%" y="%row11_text_y%" placement="5" /> |
| 304 | <text>File %tw_zip_queue_count% of max of 10</text> |
| 305 | </object> |
| 306 | |
| 307 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 308 | <text>Swipe to Confirm Flash</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 309 | <action function="flash">flash_zip</action> |
| 310 | </object> |
| 311 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 312 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 313 | <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> |
| 314 | <placement x="%col1_x%" y="%row_queue_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 315 | <text>Add More Zips</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 316 | <action function="page">install</action> |
| 317 | </object> |
| 318 | |
| 319 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 320 | <placement x="%col2_x%" y="%row_queue_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 321 | <text>Clear Zip Queue</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 322 | <actions> |
| 323 | <action function="queueclear"></action> |
| 324 | <action function="page">install</action> |
| 325 | </actions> |
| 326 | </object> |
| 327 | |
| 328 | <object type="action"> |
| 329 | <touch key="back" /> |
| 330 | <actions> |
| 331 | <action function="cancelzip"></action> |
| 332 | <action function="page">install</action> |
| 333 | </actions> |
| 334 | </object> |
| 335 | |
| 336 | <object type="action"> |
| 337 | <touch key="home" /> |
| 338 | <action function="page">main</action> |
| 339 | </object> |
| 340 | </page> |
| 341 | |
| 342 | <page name="flash_zip"> |
| 343 | <object type="template" name="header" /> |
| 344 | |
| 345 | <object type="console"> |
| 346 | <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 347 | </object> |
| 348 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 349 | <object type="text"> |
| 350 | <placement x="%center_x%" y="%row10_text_y%" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 351 | <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> |
| 352 | </object> |
| 353 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 354 | <object type="text"> |
| 355 | <font resource="mediumfont" color="%text_color%"/> |
| 356 | <placement x="%center_x%" y="%row11_text_y%" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 357 | <text>%tw_filename%</text> |
| 358 | </object> |
| 359 | |
| 360 | <object type="template" name="progress_bar" /> |
| 361 | |
| 362 | <object type="action"> |
| 363 | <condition var1="tw_operation_state" var2="1" /> |
| 364 | <action function="page">flash_done</action> |
| 365 | </object> |
| 366 | </page> |
| 367 | |
| 368 | <page name="flash_done"> |
| 369 | <object type="template" name="header" /> |
| 370 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 371 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 372 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 373 | <text>Zip Install Complete</text> |
| 374 | </object> |
| 375 | |
| 376 | <object type="console"> |
| 377 | <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 378 | </object> |
| 379 | |
| 380 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 381 | <placement x="%col1_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 382 | <text>Wipe cache/dalvik</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 383 | <actions> |
| 384 | <action function="set">tw_back=flash_done</action> |
| 385 | <action function="set">tw_action=wipe</action> |
| 386 | <action function="set">tw_action_param=/cache</action> |
| 387 | <action function="set">tw_has_action2=1</action> |
| 388 | <action function="set">tw_action2=wipe</action> |
| 389 | <action function="set">tw_action2_param=dalvik</action> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 390 | <action function="set">tw_text1=Wipe Cache & Dalvik?</action> |
| 391 | <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> |
| 392 | <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 393 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 394 | <action function="page">confirm_action</action> |
| 395 | </actions> |
| 396 | </object> |
| 397 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 398 | <object type="button" style="rebootsystem"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 399 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 400 | </object> |
| 401 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 402 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 403 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 404 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 405 | <placement x="%center_x%" y="%zip_status_y%" placement="5" /> |
| 406 | <text>Failed</text> |
| 407 | </object> |
| 408 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 409 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 410 | <condition var1="tw_operation_status" var2="0" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 411 | <font resource="font" color="%text_success_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 412 | <placement x="%center_x%" y="%zip_status_y%" placement="5" /> |
| 413 | <text>Successful</text> |
| 414 | </object> |
| 415 | |
| 416 | <object type="action"> |
| 417 | <touch key="back" /> |
| 418 | <actions> |
| 419 | <action function="set">tw_clear_destination=install</action> |
| 420 | <action function="page">clear_vars</action> |
| 421 | </actions> |
| 422 | </object> |
| 423 | |
| 424 | <object type="action"> |
| 425 | <touch key="home" /> |
| 426 | <actions> |
| 427 | <action function="set">tw_clear_destination=main2</action> |
| 428 | <action function="page">clear_vars</action> |
| 429 | </actions> |
| 430 | </object> |
| 431 | </page> |
| 432 | |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 433 | <page name="install_image"> |
| 434 | <object type="template" name="header" /> |
| 435 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 436 | <object type="text"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 437 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 438 | <text>Select Image to Install</text> |
| 439 | </object> |
| 440 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 441 | <object type="button" style="fillbutton"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 442 | <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 443 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 444 | <actions> |
| 445 | <action function="set">tw_back=install_image</action> |
| 446 | <action function="page">selectstorage</action> |
| 447 | </actions> |
| 448 | </object> |
| 449 | |
| 450 | <object type="fileselector"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 451 | <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 452 | <text>%tw_zip_location%</text> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 453 | <filter extn=".img" folders="1" files="1" /> |
| 454 | <path name="tw_zip_location" default="/sdcard" /> |
| 455 | <data name="tw_filename" /> |
| 456 | <selection name="tw_file" /> |
| 457 | </object> |
| 458 | |
| 459 | <object type="template" name="sort_options" /> |
| 460 | |
| 461 | <object type="action"> |
| 462 | <condition var1="tw_filename" op="modified" /> |
| 463 | <action function="page">flashimage_confirm</action> |
| 464 | </object> |
| 465 | |
| 466 | <object type="action"> |
| 467 | <touch key="back" /> |
| 468 | <action function="page">install_select</action> |
| 469 | </object> |
| 470 | |
| 471 | <object type="action"> |
| 472 | <touch key="home" /> |
| 473 | <action function="page">main</action> |
| 474 | </object> |
| 475 | |
| 476 | <object type="template" name="footer" /> |
| 477 | </page> |
| 478 | |
| 479 | <page name="flashimage_confirm"> |
| 480 | <object type="template" name="header" /> |
| 481 | |
| 482 | <object type="partitionlist"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 483 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%flash_list_height%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 484 | <text>Select Partition to Flash Image:</text> |
| 485 | <icon selected="radio_true" unselected="radio_false" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 486 | <data name="tw_flash_partition" /> |
| 487 | <listtype name="flashimg" /> |
| 488 | </object> |
| 489 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 490 | <object type="text"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 491 | <placement x="%center_x%" y="%row8_text_y%" placement="5" /> |
| 492 | <text>Folder:</text> |
| 493 | </object> |
| 494 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 495 | <object type="text"> |
| 496 | <font resource="mediumfont" color="%text_color%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 497 | <placement x="%center_x%" y="%row9_text_y%" placement="5" /> |
| 498 | <text>%tw_zip_location%</text> |
| 499 | </object> |
| 500 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 501 | <object type="text"> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 502 | <placement x="%center_x%" y="%row10_text_y%" placement="5" /> |
| 503 | <text>File to flash:</text> |
| 504 | </object> |
| 505 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 506 | <object type="text" > |
| 507 | <font resource="mediumfont" color="%text_color%" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 508 | <placement x="%center_x%" y="%row11_text_y%" placement="5" /> |
| 509 | <text>%tw_file%</text> |
| 510 | </object> |
| 511 | |
| 512 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 513 | <text>Swipe to Confirm Flash</text> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 514 | <actions> |
| 515 | <action function="set">tw_back=flashimage_confirm</action> |
| 516 | <action function="set">tw_action=flashimage</action> |
| 517 | <action function="set">tw_has_action2=0</action> |
| 518 | <action function="set">tw_action_text1=Flashing Image...</action> |
| 519 | <action function="set">tw_action_text2=</action> |
| 520 | <action function="set">tw_complete_text1=Image Flashed</action> |
| 521 | <action function="page">action_page</action> |
| 522 | </actions> |
| 523 | <action function="flashimage"></action> |
| 524 | </object> |
| 525 | |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 526 | <object type="action"> |
| 527 | <touch key="back" /> |
| 528 | <actions> |
| 529 | <action function="set">tw_clear_destination=install_image</action> |
| 530 | <action function="page">clear_vars</action> |
| 531 | </actions> |
| 532 | </object> |
| 533 | |
| 534 | <object type="action"> |
| 535 | <touch key="home" /> |
| 536 | <actions> |
| 537 | <action function="set">tw_clear_destination=main2</action> |
| 538 | <action function="page">clear_vars</action> |
| 539 | </actions> |
| 540 | </object> |
| 541 | </page> |
| 542 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 543 | <page name="clear_vars"> |
| 544 | <object type="action"> |
| 545 | <action function="set">tw_operation_state=0</action> |
| 546 | <action function="set">tw_text1=</action> |
| 547 | <action function="set">tw_text2=</action> |
| 548 | <action function="set">tw_text3=</action> |
| 549 | <action function="set">tw_text4=</action> |
| 550 | <action function="set">tw_action_text1=</action> |
| 551 | <action function="set">tw_action_text2=</action> |
| 552 | <action function="set">tw_action_param=</action> |
| 553 | <action function="set">tw_has_action2=0</action> |
| 554 | <action function="set">tw_action2=</action> |
| 555 | <action function="set">tw_action2_param=</action> |
| 556 | <action function="set">tw_has_cancel=0</action> |
| 557 | <action function="set">tw_cancel_action=</action> |
| 558 | <action function="set">tw_cancel_param=</action> |
| 559 | <action function="set">tw_show_exclamation=0</action> |
| 560 | <action function="set">tw_show_reboot=0</action> |
| 561 | <action function="page">%tw_clear_destination%</action> |
| 562 | </object> |
| 563 | </page> |
| 564 | |
| 565 | <page name="confirm_action"> |
| 566 | <object type="template" name="header" /> |
| 567 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 568 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 569 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 570 | <text>%tw_text1%</text> |
| 571 | </object> |
| 572 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 573 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 574 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 575 | <text>%tw_text2%</text> |
| 576 | </object> |
| 577 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 578 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 579 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 580 | <text>%tw_text3%</text> |
| 581 | </object> |
| 582 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 583 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 584 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 585 | <text>%tw_text4%</text> |
| 586 | </object> |
| 587 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 588 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 589 | <placement x="%center_x%" y="%row15_text_y%" placement="5" /> |
| 590 | <text>Press back button to cancel.</text> |
| 591 | </object> |
| 592 | |
| 593 | <object type="slider"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 594 | <text>%tw_slider_text%</text> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 595 | <action function="page">action_page</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 596 | </object> |
| 597 | |
| 598 | <object type="action"> |
| 599 | <touch key="back" /> |
| 600 | <actions> |
| 601 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 602 | <action function="page">clear_vars</action> |
| 603 | </actions> |
| 604 | </object> |
| 605 | |
| 606 | <object type="action"> |
| 607 | <touch key="home" /> |
| 608 | <action function="page">main</action> |
| 609 | </object> |
| 610 | </page> |
| 611 | |
| 612 | <page name="action_page"> |
| 613 | <object type="template" name="header" /> |
| 614 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 615 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 616 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 617 | <text>%tw_action_text1%</text> |
| 618 | </object> |
| 619 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 620 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 621 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 622 | <text>%tw_action_text2%</text> |
| 623 | </object> |
| 624 | |
| 625 | <object type="template" name="action_page_console" /> |
| 626 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 627 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 628 | <condition var1="tw_has_cancel" var2="1" /> |
| 629 | <placement x="%col_center_medium_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 630 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 631 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 632 | </object> |
| 633 | |
| 634 | <object type="template" name="progress_bar" /> |
| 635 | |
| 636 | <object type="action"> |
| 637 | <condition var1="tw_operation_state" var2="1" /> |
| 638 | <actions> |
| 639 | <action function="page">action_complete</action> |
| 640 | </actions> |
| 641 | </object> |
| 642 | |
| 643 | <object type="action"> |
| 644 | <condition var1="tw_has_action2" var2="0" /> |
| 645 | <actions> |
| 646 | <action function="%tw_action%">%tw_action_param%</action> |
| 647 | </actions> |
| 648 | </object> |
| 649 | |
| 650 | <object type="action"> |
| 651 | <condition var1="tw_has_action2" var2="1" /> |
| 652 | <actions> |
| 653 | <action function="%tw_action%">%tw_action_param%</action> |
| 654 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 655 | </actions> |
| 656 | </object> |
| 657 | </page> |
| 658 | |
| 659 | <page name="singleaction_page"> |
| 660 | <object type="template" name="header" /> |
| 661 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 662 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 663 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 664 | <text>%tw_action_text1%</text> |
| 665 | </object> |
| 666 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 667 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 668 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 669 | <text>%tw_action_text2%</text> |
| 670 | </object> |
| 671 | |
| 672 | <object type="template" name="action_page_console" /> |
| 673 | |
| 674 | <object type="template" name="progress_bar" /> |
| 675 | |
| 676 | <object type="action"> |
| 677 | <condition var1="tw_operation_state" var2="1" /> |
| 678 | <actions> |
| 679 | <action function="set">tw_page_done=1</action> |
| 680 | </actions> |
| 681 | </object> |
| 682 | |
| 683 | <object type="action"> |
| 684 | <condition var1="tw_has_action2" var2="0" /> |
| 685 | <actions> |
| 686 | <action function="%tw_action%">%tw_action_param%</action> |
| 687 | </actions> |
| 688 | </object> |
| 689 | |
| 690 | <object type="action"> |
| 691 | <condition var1="tw_has_action2" var2="1" /> |
| 692 | <actions> |
| 693 | <action function="%tw_action%">%tw_action_param%</action> |
| 694 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 695 | </actions> |
| 696 | </object> |
| 697 | </page> |
| 698 | |
| 699 | <page name="action_complete"> |
| 700 | <object type="template" name="header" /> |
| 701 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 702 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 703 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 704 | <text>%tw_complete_text1%</text> |
| 705 | </object> |
| 706 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 707 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 708 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 709 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 710 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 711 | <text>Failed</text> |
| 712 | </object> |
| 713 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 714 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 715 | <condition var1="tw_operation_status" var2="0" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 716 | <font resource="font" color="%text_success_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 717 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 718 | <text>Successful</text> |
| 719 | </object> |
| 720 | |
| 721 | <object type="template" name="action_page_console" /> |
| 722 | |
| 723 | <object type="action"> |
| 724 | <touch key="home" /> |
| 725 | <actions> |
| 726 | <action function="set">tw_clear_destination=main2</action> |
| 727 | <action function="page">clear_vars</action> |
| 728 | </actions> |
| 729 | </object> |
| 730 | |
| 731 | <object type="action"> |
| 732 | <touch key="back" /> |
| 733 | <actions> |
| 734 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 735 | <action function="page">clear_vars</action> |
| 736 | </actions> |
| 737 | </object> |
| 738 | </page> |
| 739 | |
| 740 | <page name="filecheck"> |
| 741 | <object type="action"> |
| 742 | <action function="fileexists">%tw_filecheck%</action> |
| 743 | </object> |
| 744 | |
| 745 | <object type="action"> |
| 746 | <conditions> |
| 747 | <condition var1="tw_operation_state" var2="1" /> |
| 748 | <condition var1="tw_operation_status" var2="0" /> |
| 749 | </conditions> |
| 750 | <actions> |
| 751 | <action function="set">tw_fileexists=1</action> |
| 752 | <action function="page">%tw_existpage%</action> |
| 753 | </actions> |
| 754 | </object> |
| 755 | |
| 756 | <object type="action"> |
| 757 | <conditions> |
| 758 | <condition var1="tw_operation_state" var2="1" /> |
| 759 | <condition var1="tw_operation_status" var2="1" /> |
| 760 | </conditions> |
| 761 | <actions> |
| 762 | <action function="set">tw_fileexists=0</action> |
| 763 | <action function="page">%tw_notexistpage%</action> |
| 764 | </actions> |
| 765 | </object> |
| 766 | </page> |
| 767 | |
| 768 | <page name="rebootcheck"> |
| 769 | <object type="action"> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 770 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 771 | <action function="reboot">%tw_action_param%</action> |
| 772 | </object> |
| 773 | |
| 774 | <object type="action"> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 775 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 776 | <action function="page">confirm_action</action> |
| 777 | </object> |
| 778 | </page> |
| 779 | |
| 780 | <page name="wipe"> |
| 781 | <object type="template" name="header" /> |
| 782 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 783 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 784 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 785 | <text>Factory Reset</text> |
| 786 | </object> |
| 787 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 788 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 789 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 790 | <text>Wipes Data, Cache, and Dalvik</text> |
| 791 | </object> |
| 792 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 793 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 794 | <condition var1="tw_has_data_media" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 795 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 796 | <text>(not including internal storage)</text> |
| 797 | </object> |
| 798 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 799 | <object type="text"> |
Captain Throwback | a7f5ce3 | 2014-10-10 09:33:20 -0400 | [diff] [blame] | 800 | <conditions> |
| 801 | <condition var1="tw_has_android_secure" var2="1" /> |
| 802 | <condition var1="fileexists" var2="/and-sec" /> |
| 803 | </conditions> |
Captain Throwback | a7f5ce3 | 2014-10-10 09:33:20 -0400 | [diff] [blame] | 804 | <placement x="%col2_x%" y="%row4_text_y%" placement="1" /> |
| 805 | <text>Android Secure </text> |
| 806 | </object> |
| 807 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 808 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 809 | <condition var1="tw_has_sdext_partition" var2="1" /> |
Captain Throwback | a7f5ce3 | 2014-10-10 09:33:20 -0400 | [diff] [blame] | 810 | <placement x="%col2_x%" y="%row4_text_y%" /> |
| 811 | <text> SD-EXT</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 812 | </object> |
| 813 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 814 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 815 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 816 | <text>Most of the time this is</text> |
| 817 | </object> |
| 818 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 819 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 820 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 821 | <text>the only wipe that you need.</text> |
| 822 | </object> |
| 823 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 824 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 825 | <placement x="%center_x%" y="%row16_text_y%" placement="5" /> |
| 826 | <text>Press back button to cancel.</text> |
| 827 | </object> |
| 828 | |
| 829 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 830 | <placement x="%col1_x%" y="%wipe_button_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 831 | <text>Advanced Wipe</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 832 | <actions> |
| 833 | <action function="set">partitionlisterror=0</action> |
| 834 | <action function="page">advancedwipe</action> |
| 835 | </actions> |
| 836 | </object> |
| 837 | |
| 838 | <object type="button"> |
Ethan Yonker | d79d9bc | 2014-12-20 15:38:29 -0600 | [diff] [blame] | 839 | <condition var1="tw_has_data_media" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 840 | <placement x="%col2_x%" y="%wipe_button_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 841 | <text>Format Data</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 842 | <actions> |
| 843 | <action function="page">formatdata</action> |
| 844 | </actions> |
| 845 | </object> |
| 846 | |
Ethan Yonker | d79d9bc | 2014-12-20 15:38:29 -0600 | [diff] [blame] | 847 | <object type="button"> |
| 848 | <conditions> |
| 849 | <condition var1="tw_is_encrypted" var2="1" /> |
| 850 | <condition var1="tw_has_data_media" var2="0" /> |
| 851 | </conditions> |
Ethan Yonker | d79d9bc | 2014-12-20 15:38:29 -0600 | [diff] [blame] | 852 | <placement x="%col2_x%" y="%wipe_button_y%" /> |
Ethan Yonker | d79d9bc | 2014-12-20 15:38:29 -0600 | [diff] [blame] | 853 | <text>Wipe Encryption</text> |
Ethan Yonker | d79d9bc | 2014-12-20 15:38:29 -0600 | [diff] [blame] | 854 | <actions> |
| 855 | <action function="set">tw_back=wipe</action> |
| 856 | <action function="set">tw_action=wipe</action> |
| 857 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 858 | <action function="set">tw_has_action2=0</action> |
| 859 | <action function="set">tw_text1=Wipe Encryption from Data?</action> |
| 860 | <action function="set">tw_text2=</action> |
| 861 | <action function="set">tw_action_text1=Formatting Data...</action> |
| 862 | <action function="set">tw_complete_text1=Data Format Complete</action> |
| 863 | <action function="set">tw_slider_text=Swipe to Format Data</action> |
| 864 | <action function="page">confirm_action</action> |
| 865 | </actions> |
| 866 | </object> |
| 867 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 868 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 869 | <text>Swipe to Factory Reset</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 870 | <actions> |
| 871 | <action function="set">tw_back=wipe</action> |
| 872 | <action function="set">tw_action=wipe</action> |
| 873 | <action function="set">tw_action_param=data</action> |
| 874 | <action function="set">tw_action_text1=Factory Reset...</action> |
| 875 | <action function="set">tw_complete_text1=Factory Reset Complete</action> |
| 876 | <action function="page">action_page</action> |
| 877 | </actions> |
| 878 | </object> |
| 879 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 880 | <object type="action"> |
| 881 | <touch key="back" /> |
| 882 | <action function="page">main</action> |
| 883 | </object> |
| 884 | |
| 885 | <object type="action"> |
| 886 | <touch key="home" /> |
| 887 | <action function="page">main</action> |
| 888 | </object> |
| 889 | </page> |
| 890 | |
| 891 | <page name="advancedwipe"> |
| 892 | <object type="template" name="header" /> |
| 893 | |
| 894 | <object type="action"> |
| 895 | <action function="set">tw_wipe_list=</action> |
| 896 | </object> |
| 897 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 898 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 899 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 900 | <text>Wipe Menu</text> |
| 901 | </object> |
| 902 | |
| 903 | <object type="partitionlist"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 904 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 905 | <text>Select Partitions to Wipe:</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 906 | <data name="tw_wipe_list" /> |
| 907 | <listtype name="wipe" /> |
| 908 | </object> |
| 909 | |
| 910 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 911 | <text>Swipe to Wipe</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 912 | <actions> |
| 913 | <action function="set">tw_back=advancedwipe</action> |
| 914 | <action function="set">tw_action=wipe</action> |
| 915 | <action function="set">tw_action_param=LIST</action> |
| 916 | <action function="set">tw_text1=Wipe Selected Partition(s)?</action> |
| 917 | <action function="set">tw_action_text1=Wiping Partition(s)...</action> |
| 918 | <action function="set">tw_complete_text1=Wipe Complete</action> |
| 919 | <action function="page">action_page</action> |
| 920 | </actions> |
| 921 | </object> |
| 922 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 923 | <object type="button" style="fillbutton"> |
Ethan Yonker | 751a85e | 2014-12-12 16:59:10 -0600 | [diff] [blame] | 924 | <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 925 | <text>Repair or Change File System</text> |
| 926 | <actions> |
| 927 | <action function="checkpartitionlist"></action> |
| 928 | <action function="page">checkpartitionlist</action> |
| 929 | </actions> |
| 930 | </object> |
| 931 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 932 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 933 | <condition var1="partitionlisterror" var2="1" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 934 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 935 | <placement x="%center_x%" y="%invalid_partition_y%" placement="5" /> |
| 936 | <text>Invalid partition selection</text> |
| 937 | </object> |
| 938 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 939 | <object type="action"> |
| 940 | <touch key="home" /> |
| 941 | <action function="page">main</action> |
| 942 | </object> |
| 943 | |
| 944 | <object type="action"> |
| 945 | <touch key="back" /> |
| 946 | <action function="page">wipe</action> |
| 947 | </object> |
| 948 | </page> |
| 949 | |
| 950 | <page name="formatdata"> |
| 951 | <object type="template" name="header" /> |
| 952 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 953 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 954 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 955 | <text>Format Data will wipe all of your apps,</text> |
| 956 | </object> |
| 957 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 958 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 959 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 960 | <text>backups, pictures, videos, media, and</text> |
| 961 | </object> |
| 962 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 963 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 964 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 965 | <text>removes encryption on internal storage.</text> |
| 966 | </object> |
| 967 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 968 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 969 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 970 | <text>This cannot be undone. Press back to cancel.</text> |
| 971 | </object> |
| 972 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 973 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 974 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 975 | <text>Type yes to continue.</text> |
| 976 | </object> |
| 977 | |
| 978 | <object type="input"> |
| 979 | <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 980 | <text>%tw_confirm_formatdata%</text> |
| 981 | <data name="tw_confirm_formatdata" /> |
| 982 | <restrict minlen="3" maxlen="3" allow="yes" /> |
| 983 | <action function="page">formatdata_confirm</action> |
| 984 | </object> |
| 985 | |
| 986 | <object type="template" name="keyboardtemplate" /> |
| 987 | |
| 988 | <object type="action"> |
| 989 | <touch key="home" /> |
| 990 | <action function="page">main</action> |
| 991 | </object> |
| 992 | |
| 993 | <object type="action"> |
| 994 | <touch key="back" /> |
| 995 | <action function="page">wipe</action> |
| 996 | </object> |
| 997 | |
| 998 | <object type="template" name="footer" /> |
| 999 | </page> |
| 1000 | |
| 1001 | <page name="formatdata_confirm"> |
| 1002 | <object type="action"> |
| 1003 | <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> |
| 1004 | <actions> |
| 1005 | <action function="set">tw_back=formatdata</action> |
| 1006 | <action function="set">tw_action=wipe</action> |
| 1007 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1008 | <action function="set">tw_action_text1=Formatting Data...</action> |
| 1009 | <action function="set">tw_complete_text1=Data Format Complete</action> |
| 1010 | <action function="page">action_page</action> |
| 1011 | </actions> |
| 1012 | </object> |
| 1013 | |
| 1014 | <object type="action"> |
| 1015 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 1016 | <action function="page">formatdata</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1017 | </object> |
| 1018 | </page> |
| 1019 | |
| 1020 | <page name="checkpartitionlist"> |
| 1021 | <object type="action"> |
| 1022 | <condition var1="tw_check_partition_list" op="=" var2="1" /> |
| 1023 | <actions> |
| 1024 | <action function="set">partitionlisterror=0</action> |
| 1025 | <action function="getpartitiondetails"></action> |
| 1026 | <action function="page">partitionoptions</action> |
| 1027 | </actions> |
| 1028 | </object> |
| 1029 | |
| 1030 | <object type="action"> |
| 1031 | <condition var1="tw_check_partition_list" op="!=" var2="1" /> |
| 1032 | <actions> |
| 1033 | <action function="set">partitionlisterror=1</action> |
| 1034 | <action function="set">tw_wipe_list=</action> |
| 1035 | <action function="page">advancedwipe</action> |
| 1036 | </actions> |
| 1037 | </object> |
| 1038 | </page> |
| 1039 | |
| 1040 | <page name="partitionoptions"> |
| 1041 | <object type="template" name="header" /> |
| 1042 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1043 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1044 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1045 | <text>Partition Options for: %tw_partition_name%</text> |
| 1046 | </object> |
| 1047 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1048 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1049 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1050 | <text>Mount Point: %tw_partition_mount_point%</text> |
| 1051 | </object> |
| 1052 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1053 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1054 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1055 | <text>Current file system: %tw_partition_file_system%</text> |
| 1056 | </object> |
| 1057 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1058 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1059 | <condition var1="tw_partition_is_present" op="!=" var2="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1060 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 1061 | <text>Present: Yes</text> |
| 1062 | </object> |
| 1063 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1064 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1065 | <condition var1="tw_partition_is_present" op="=" var2="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1066 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 1067 | <text>Present: No</text> |
| 1068 | </object> |
| 1069 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1070 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1071 | <condition var1="tw_partition_removable" op="!=" var2="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1072 | <placement x="%col2_x%" y="%row3_text_y%" /> |
| 1073 | <text>Removable: Yes</text> |
| 1074 | </object> |
| 1075 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1076 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1077 | <condition var1="tw_partition_removable" op="=" var2="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1078 | <placement x="%col2_x%" y="%row3_text_y%" /> |
| 1079 | <text>Removable: No</text> |
| 1080 | </object> |
| 1081 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1082 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1083 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 1084 | <text>Size: %tw_partition_size%MB</text> |
| 1085 | </object> |
| 1086 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1087 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1088 | <placement x="%col2_x%" y="%row4_text_y%" /> |
| 1089 | <text>Used: %tw_partition_used%MB</text> |
| 1090 | </object> |
| 1091 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1092 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1093 | <placement x="%col1_x%" y="%row5_text_y%" /> |
| 1094 | <text>Free: %tw_partition_free%MB</text> |
| 1095 | </object> |
| 1096 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1097 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1098 | <placement x="%col2_x%" y="%row5_text_y%" /> |
| 1099 | <text>Backup Size: %tw_partition_backup_size%MB</text> |
| 1100 | </object> |
| 1101 | |
| 1102 | <object type="button"> |
Ethan Yonker | a271915 | 2015-05-28 09:44:41 -0500 | [diff] [blame] | 1103 | <condition var1="tw_partition_can_resize" op="=" var2="1" /> |
| 1104 | <placement x="%col1_x%" y="%row3_y%" /> |
| 1105 | <text>Resize</text> |
| 1106 | <actions> |
| 1107 | <action function="set">tw_back=partitionoptions</action> |
| 1108 | <action function="set">tw_action=resize</action> |
| 1109 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1110 | <action function="set">tw_has_action2=1</action> |
| 1111 | <action function="set">tw_action2=getpartitiondetails</action> |
| 1112 | <action function="set">tw_text1=Resize %tw_partition_name%?</action> |
| 1113 | <action function="set">tw_text2=</action> |
| 1114 | <action function="set">tw_action_text1=Resizing...</action> |
| 1115 | <action function="set">tw_complete_text1=Resize Complete</action> |
| 1116 | <action function="set">tw_slider_text=Swipe to Resize</action> |
| 1117 | <action function="page">confirm_action</action> |
| 1118 | </actions> |
| 1119 | </object> |
| 1120 | |
| 1121 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1122 | <condition var1="tw_partition_can_repair" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1123 | <placement x="%col1_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1124 | <text>Repair</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1125 | <actions> |
| 1126 | <action function="set">tw_back=partitionoptions</action> |
| 1127 | <action function="set">tw_action=repair</action> |
| 1128 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1129 | <action function="set">tw_has_action2=0</action> |
| 1130 | <action function="set">tw_text1=Repair %tw_partition_name%?</action> |
| 1131 | <action function="set">tw_text2=</action> |
| 1132 | <action function="set">tw_action_text1=Repairing...</action> |
| 1133 | <action function="set">tw_complete_text1=Repair Complete</action> |
| 1134 | <action function="set">tw_slider_text=Swipe to Repair</action> |
| 1135 | <action function="page">confirm_action</action> |
| 1136 | </actions> |
| 1137 | </object> |
| 1138 | |
| 1139 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1140 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1141 | <text>Change File Sys</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1142 | <action function="page">selectfilesystem</action> |
| 1143 | </object> |
| 1144 | |
| 1145 | <object type="action"> |
| 1146 | <touch key="home" /> |
| 1147 | <action function="page">main</action> |
| 1148 | </object> |
| 1149 | |
| 1150 | <object type="action"> |
| 1151 | <touch key="back" /> |
| 1152 | <action function="page">advancedwipe</action> |
| 1153 | </object> |
| 1154 | |
| 1155 | <object type="template" name="footer" /> |
| 1156 | </page> |
| 1157 | |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1158 | <page name="refreshfilesystem"> |
| 1159 | <object type="action"> |
| 1160 | <condition var1="tw_check_partition_list" op="=" var2="1" /> |
| 1161 | <actions> |
| 1162 | <action function="set">partitionlisterror=0</action> |
| 1163 | <action function="getpartitiondetails"></action> |
| 1164 | <action function="page">selectfilesystem</action> |
| 1165 | </actions> |
| 1166 | </object> |
| 1167 | |
| 1168 | <object type="action"> |
| 1169 | <condition var1="tw_check_partition_list" op="!=" var2="1" /> |
| 1170 | <actions> |
| 1171 | <action function="set">partitionlisterror=1</action> |
| 1172 | <action function="set">tw_wipe_list=</action> |
| 1173 | <action function="page">advancedwipe</action> |
| 1174 | </actions> |
| 1175 | </object> |
| 1176 | </page> |
| 1177 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1178 | <page name="selectfilesystem"> |
| 1179 | <object type="template" name="header" /> |
| 1180 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1181 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1182 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1183 | <text>Change file system for: %tw_partition_name%</text> |
| 1184 | </object> |
| 1185 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1186 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1187 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1188 | <text>Mount Point: %tw_partition_mount_point%</text> |
| 1189 | </object> |
| 1190 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1191 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1192 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1193 | <text>Current file system: %tw_partition_file_system%</text> |
| 1194 | </object> |
| 1195 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1196 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1197 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1198 | <text>Proceed with caution!</text> |
| 1199 | </object> |
| 1200 | |
| 1201 | <object type="button"> |
| 1202 | <condition var1="tw_partition_ext" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1203 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1204 | <text>EXT2</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1205 | <actions> |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1206 | <action function="set">tw_back=refreshfilesystem</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1207 | <action function="set">tw_action=changefilesystem</action> |
| 1208 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1209 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1210 | <action function="set">tw_has_action2=0</action> |
| 1211 | <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> |
| 1212 | <action function="set">tw_text2=</action> |
| 1213 | <action function="set">tw_action_text1=Formatting...</action> |
| 1214 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1215 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1216 | <action function="page">confirm_action</action> |
| 1217 | </actions> |
| 1218 | </object> |
| 1219 | |
| 1220 | <object type="button"> |
| 1221 | <condition var1="tw_partition_ext" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1222 | <placement x="%col2_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1223 | <text>EXT3</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1224 | <actions> |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1225 | <action function="set">tw_back=refreshfilesystem</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1226 | <action function="set">tw_action=changefilesystem</action> |
| 1227 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1228 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1229 | <action function="set">tw_has_action2=0</action> |
| 1230 | <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> |
| 1231 | <action function="set">tw_text2=</action> |
| 1232 | <action function="set">tw_action_text1=Formatting...</action> |
| 1233 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1234 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1235 | <action function="page">confirm_action</action> |
| 1236 | </actions> |
| 1237 | </object> |
| 1238 | |
| 1239 | <object type="button"> |
| 1240 | <condition var1="tw_partition_ext" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1241 | <placement x="%col1_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1242 | <text>EXT4</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1243 | <actions> |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1244 | <action function="set">tw_back=refreshfilesystem</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1245 | <action function="set">tw_action=changefilesystem</action> |
| 1246 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1247 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1248 | <action function="set">tw_has_action2=0</action> |
| 1249 | <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> |
| 1250 | <action function="set">tw_text2=</action> |
| 1251 | <action function="set">tw_action_text1=Formatting...</action> |
| 1252 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1253 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1254 | <action function="page">confirm_action</action> |
| 1255 | </actions> |
| 1256 | </object> |
| 1257 | |
| 1258 | <object type="button"> |
| 1259 | <condition var1="tw_partition_f2fs" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1260 | <placement x="%col2_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1261 | <text>F2FS</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1262 | <actions> |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1263 | <action function="set">tw_back=refreshfilesystem</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1264 | <action function="set">tw_action=changefilesystem</action> |
| 1265 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1266 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1267 | <action function="set">tw_has_action2=0</action> |
| 1268 | <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> |
| 1269 | <action function="set">tw_text2=</action> |
| 1270 | <action function="set">tw_action_text1=Formatting...</action> |
| 1271 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1272 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1273 | <action function="page">confirm_action</action> |
| 1274 | </actions> |
| 1275 | </object> |
| 1276 | |
| 1277 | <object type="button"> |
| 1278 | <condition var1="tw_partition_vfat" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1279 | <placement x="%col1_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1280 | <text>FAT</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1281 | <actions> |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1282 | <action function="set">tw_back=refreshfilesystem</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1283 | <action function="set">tw_action=changefilesystem</action> |
| 1284 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1285 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1286 | <action function="set">tw_has_action2=0</action> |
| 1287 | <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> |
| 1288 | <action function="set">tw_text2=</action> |
| 1289 | <action function="set">tw_action_text1=Formatting...</action> |
| 1290 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1291 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1292 | <action function="page">confirm_action</action> |
| 1293 | </actions> |
| 1294 | </object> |
| 1295 | |
| 1296 | <object type="button"> |
| 1297 | <condition var1="tw_partition_exfat" op="=" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1298 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1299 | <text>exFAT</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1300 | <actions> |
Dees Troy | 298c438 | 2014-09-03 14:42:26 +0000 | [diff] [blame] | 1301 | <action function="set">tw_back=refreshfilesystem</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1302 | <action function="set">tw_action=changefilesystem</action> |
| 1303 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1304 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1305 | <action function="set">tw_has_action2=0</action> |
| 1306 | <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> |
| 1307 | <action function="set">tw_text2=</action> |
| 1308 | <action function="set">tw_action_text1=Formatting...</action> |
| 1309 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1310 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1311 | <action function="page">confirm_action</action> |
| 1312 | </actions> |
| 1313 | </object> |
| 1314 | |
| 1315 | <object type="action"> |
| 1316 | <touch key="home" /> |
| 1317 | <action function="page">main</action> |
| 1318 | </object> |
| 1319 | |
| 1320 | <object type="action"> |
| 1321 | <touch key="back" /> |
| 1322 | <action function="page">partitionoptions</action> |
| 1323 | </object> |
| 1324 | |
| 1325 | <object type="template" name="footer" /> |
| 1326 | </page> |
| 1327 | |
| 1328 | <page name="backup"> |
| 1329 | <object type="template" name="header" /> |
| 1330 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1331 | <object type="button" style="fillbutton"> |
Ethan Yonker | 751a85e | 2014-12-12 16:59:10 -0600 | [diff] [blame] | 1332 | <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1333 | <text>Backup Name: %tw_backup_name%</text> |
| 1334 | <actions> |
| 1335 | <action function="set">tw_fileexists=0</action> |
| 1336 | <action function="page">backupname1</action> |
| 1337 | </actions> |
| 1338 | </object> |
| 1339 | |
| 1340 | <object type="partitionlist"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1341 | <placement x="%listbox_x%" y="%backup_list_y%" w="%listbox_width%" h="%backup_list_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1342 | <text>Select Partitions to Back Up:</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1343 | <data name="tw_backup_list" /> |
| 1344 | <listtype name="backup" /> |
| 1345 | </object> |
| 1346 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1347 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1348 | <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1349 | <text>More...</text> |
| 1350 | <action function="page">backupoptions</action> |
| 1351 | </object> |
| 1352 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1353 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1354 | <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1355 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1356 | <actions> |
| 1357 | <action function="set">tw_back=backup</action> |
| 1358 | <action function="page">selectstorage</action> |
| 1359 | </actions> |
| 1360 | </object> |
| 1361 | |
| 1362 | <object type="checkbox"> |
| 1363 | <placement x="%col1_x%" y="%backup_button_row1%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1364 | <text>Compression</text> |
| 1365 | <data variable="tw_use_compression" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1366 | </object> |
| 1367 | |
| 1368 | <object type="slider"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1369 | <text>Swipe to Back Up</text> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1370 | <action function="page">backup_run</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1371 | </object> |
| 1372 | |
| 1373 | <object type="action"> |
| 1374 | <touch key="home" /> |
| 1375 | <action function="page">main</action> |
| 1376 | </object> |
| 1377 | |
| 1378 | <object type="action"> |
| 1379 | <touch key="back" /> |
| 1380 | <action function="page">main</action> |
| 1381 | </object> |
| 1382 | </page> |
| 1383 | |
| 1384 | <page name="backupoptions"> |
| 1385 | <object type="template" name="header" /> |
| 1386 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1387 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1388 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1389 | <text>More Backup Options</text> |
| 1390 | </object> |
| 1391 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1392 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1393 | <conditions> |
| 1394 | <condition var1="tw_include_encrypted_backup" var2="1" /> |
| 1395 | <condition var1="tw_encrypt_backup" var2="0" /> |
| 1396 | </conditions> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1397 | <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1398 | <text>No Encryption</text> |
| 1399 | <actions> |
| 1400 | <action function="page">backupencryption</action> |
| 1401 | </actions> |
| 1402 | </object> |
| 1403 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1404 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1405 | <conditions> |
| 1406 | <condition var1="tw_include_encrypted_backup" var2="1" /> |
| 1407 | <condition var1="tw_encrypt_backup" var2="1" /> |
| 1408 | </conditions> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1409 | <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1410 | <text>Using Encryption</text> |
| 1411 | <actions> |
| 1412 | <action function="set">tw_password_not_match=0</action> |
| 1413 | <action function="page">backupencryption</action> |
| 1414 | </actions> |
| 1415 | </object> |
| 1416 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1417 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1418 | <placement x="%col2_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1419 | <text>Refresh Sizes</text> |
| 1420 | <actions> |
| 1421 | <action function="refreshsizes"></action> |
| 1422 | <action function="page">backupoptions</action> |
| 1423 | </actions> |
| 1424 | </object> |
| 1425 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1426 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1427 | <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1428 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1429 | <actions> |
| 1430 | <action function="set">tw_back=backupotions</action> |
| 1431 | <action function="page">selectstorage</action> |
| 1432 | </actions> |
| 1433 | </object> |
| 1434 | |
| 1435 | <object type="checkbox"> |
| 1436 | <placement x="%col1_x%" y="%row2_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1437 | <text>Enable compression.</text> |
| 1438 | <data variable="tw_use_compression" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1439 | </object> |
| 1440 | |
| 1441 | <object type="checkbox"> |
bigbiff | bf1d672 | 2015-02-14 16:25:59 -0500 | [diff] [blame] | 1442 | <placement x="%col1_x%" y="%row3_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1443 | <text>Skip MD5 generation during backup.</text> |
| 1444 | <data variable="tw_skip_md5_generate" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1445 | </object> |
| 1446 | |
bigbiff | bf1d672 | 2015-02-14 16:25:59 -0500 | [diff] [blame] | 1447 | <object type="checkbox"> |
| 1448 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 1449 | <font resource="font" color="%text_color%" /> |
| 1450 | <text>Disable Free Space Check.</text> |
| 1451 | <data variable="tw_disable_free_space" /> |
| 1452 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1453 | </object> |
| 1454 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1455 | <object type="action"> |
| 1456 | <touch key="home" /> |
| 1457 | <action function="page">main</action> |
| 1458 | </object> |
| 1459 | |
| 1460 | <object type="action"> |
| 1461 | <touch key="back" /> |
| 1462 | <action function="page">backup</action> |
| 1463 | </object> |
| 1464 | </page> |
| 1465 | |
| 1466 | <page name="backupname1"> |
| 1467 | <object type="action"> |
| 1468 | <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 1469 | <action function="generatebackupname"></action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1470 | </object> |
| 1471 | |
| 1472 | <object type="action"> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 1473 | <action function="page">backupname2</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1474 | </object> |
| 1475 | </page> |
| 1476 | |
| 1477 | <page name="backupname2"> |
| 1478 | <object type="template" name="header" /> |
| 1479 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1480 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1481 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1482 | <text>Please Enter a Backup Name</text> |
| 1483 | </object> |
| 1484 | |
| 1485 | <object type="input"> |
| 1486 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1487 | <text>%tw_backup_name%</text> |
| 1488 | <data name="tw_backup_name" /> |
| 1489 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
| 1490 | <actions> |
| 1491 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1492 | <action function="set">tw_existpage=backupname2</action> |
| 1493 | <action function="set">tw_notexistpage=backup</action> |
| 1494 | <action function="page">filecheck</action> |
| 1495 | </actions> |
| 1496 | </object> |
| 1497 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1498 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1499 | <condition var1="tw_fileexists" var2="1" /> |
| 1500 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1501 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1502 | <text>A backup with that name already exists!</text> |
| 1503 | </object> |
| 1504 | |
| 1505 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1506 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1507 | <text>Append Date</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1508 | <action function="appenddatetobackupname"></action> |
| 1509 | </object> |
| 1510 | |
| 1511 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1512 | <placement x="%col2_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1513 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1514 | <actions> |
| 1515 | <action function="set">tw_backup_name=(Auto Generate)</action> |
| 1516 | <action function="page">backup</action> |
| 1517 | </actions> |
| 1518 | </object> |
| 1519 | |
| 1520 | <object type="template" name="keyboardtemplate" /> |
| 1521 | |
| 1522 | <object type="action"> |
| 1523 | <touch key="home" /> |
| 1524 | <actions> |
| 1525 | <action function="set">tw_backup_name=(Auto Generate)</action> |
| 1526 | <action function="page">main</action> |
| 1527 | </actions> |
| 1528 | </object> |
| 1529 | |
| 1530 | <object type="action"> |
| 1531 | <touch key="back" /> |
| 1532 | <actions> |
| 1533 | <action function="set">tw_backup_name=(Auto Generate)</action> |
| 1534 | <action function="page">backup</action> |
| 1535 | </actions> |
| 1536 | </object> |
| 1537 | |
| 1538 | <object type="template" name="footer" /> |
| 1539 | </page> |
| 1540 | |
| 1541 | <page name="backupencryption"> |
| 1542 | <object type="template" name="header" /> |
| 1543 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1544 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1545 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1546 | <text>Encrypt your backup?</text> |
| 1547 | </object> |
| 1548 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1549 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1550 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1551 | <text>Please Enter A Password:</text> |
| 1552 | </object> |
| 1553 | |
| 1554 | <object type="input"> |
| 1555 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1556 | <text>%tw_backup_encrypt_display%</text> |
| 1557 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> |
| 1558 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 1559 | <action function="page">backupencryption2</action> |
| 1560 | </object> |
| 1561 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1562 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1563 | <condition var1="tw_password_not_match" var2="1" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1564 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1565 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1566 | <text>Passwords Do Not Match</text> |
| 1567 | </object> |
| 1568 | |
| 1569 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1570 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1571 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1572 | <actions> |
| 1573 | <action function="set">tw_encrypt_backup=0</action> |
| 1574 | <action function="set">tw_backup_password=</action> |
| 1575 | <action function="set">tw_backup_password2=</action> |
| 1576 | <action function="set">tw_backup_encrypt_display=</action> |
| 1577 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1578 | <action function="page">backupoptions</action> |
| 1579 | </actions> |
| 1580 | </object> |
| 1581 | |
| 1582 | <object type="template" name="keyboardtemplate" /> |
| 1583 | |
| 1584 | <object type="action"> |
| 1585 | <touch key="home" /> |
| 1586 | <action function="page">main</action> |
| 1587 | </object> |
| 1588 | |
| 1589 | <object type="action"> |
| 1590 | <touch key="back" /> |
| 1591 | <action function="page">backupoptions</action> |
| 1592 | </object> |
| 1593 | |
| 1594 | <object type="template" name="footer" /> |
| 1595 | </page> |
| 1596 | |
| 1597 | <page name="backupencryption2"> |
| 1598 | <object type="template" name="header" /> |
| 1599 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1600 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1601 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1602 | <text>Encrypt your backup?</text> |
| 1603 | </object> |
| 1604 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1605 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1606 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1607 | <text>Please Enter Password Again:</text> |
| 1608 | </object> |
| 1609 | |
| 1610 | <object type="input"> |
| 1611 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1612 | <text>%tw_backup_encrypt_display2%</text> |
| 1613 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> |
| 1614 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 1615 | <actions> |
| 1616 | <action function="page">checkbackuppassword</action> |
| 1617 | </actions> |
| 1618 | </object> |
| 1619 | |
| 1620 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1621 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1622 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1623 | <actions> |
| 1624 | <action function="set">tw_encrypt_backup=0</action> |
| 1625 | <action function="set">tw_backup_password=</action> |
| 1626 | <action function="set">tw_backup_password2=</action> |
| 1627 | <action function="set">tw_backup_encrypt_display=</action> |
| 1628 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1629 | <action function="page">backupoptions</action> |
| 1630 | </actions> |
| 1631 | </object> |
| 1632 | |
| 1633 | <object type="template" name="keyboardtemplate" /> |
| 1634 | |
| 1635 | <object type="action"> |
| 1636 | <touch key="home" /> |
| 1637 | <action function="page">main</action> |
| 1638 | </object> |
| 1639 | |
| 1640 | <object type="action"> |
| 1641 | <touch key="back" /> |
| 1642 | <action function="page">backupoptions</action> |
| 1643 | </object> |
| 1644 | |
| 1645 | <object type="template" name="footer" /> |
| 1646 | </page> |
| 1647 | |
| 1648 | <page name="checkbackuppassword"> |
| 1649 | <object type="action"> |
| 1650 | <condition var1="tw_backup_password2" var2="tw_backup_password" /> |
| 1651 | <actions> |
| 1652 | <action function="set">tw_encrypt_backup=1</action> |
| 1653 | <action function="page">backupoptions</action> |
| 1654 | </actions> |
| 1655 | </object> |
| 1656 | |
| 1657 | <object type="action"> |
| 1658 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> |
| 1659 | <actions> |
| 1660 | <action function="set">tw_encrypt_backup=0</action> |
| 1661 | <action function="set">tw_password_not_match=1</action> |
| 1662 | <action function="set">tw_backup_password=</action> |
| 1663 | <action function="set">tw_backup_password2=</action> |
| 1664 | <action function="set">tw_backup_encrypt_display=</action> |
| 1665 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1666 | <action function="page">backupencryption</action> |
| 1667 | </actions> |
| 1668 | </object> |
| 1669 | </page> |
| 1670 | |
| 1671 | <page name="backup_run"> |
| 1672 | <object type="template" name="header" /> |
| 1673 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1674 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1675 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1676 | <text>%tw_operation% %tw_partition%</text> |
| 1677 | </object> |
| 1678 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1679 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1680 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1681 | <text>%tw_file_progress%</text> |
| 1682 | </object> |
| 1683 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1684 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1685 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1686 | <text>%tw_size_progress%</text> |
| 1687 | </object> |
| 1688 | |
| 1689 | <object type="template" name="action_page_console" /> |
| 1690 | |
bigbiff | 7abc5fe | 2015-01-17 16:53:12 -0500 | [diff] [blame] | 1691 | |
| 1692 | |
| 1693 | <object type="template" name="progress_bar" /> |
| 1694 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1695 | <object type="button" style="mediumbutton"> |
bigbiff | 7abc5fe | 2015-01-17 16:53:12 -0500 | [diff] [blame] | 1696 | <placement x="%col_center_medium_x%" y="%row4_y%" /> |
bigbiff | 7abc5fe | 2015-01-17 16:53:12 -0500 | [diff] [blame] | 1697 | <text>Cancel</text> |
bigbiff | 7abc5fe | 2015-01-17 16:53:12 -0500 | [diff] [blame] | 1698 | <actions> |
| 1699 | <action function="cancelbackup"></action> |
| 1700 | </actions> |
| 1701 | </object> |
| 1702 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1703 | <object type="template" name="progress_bar" /> |
| 1704 | |
| 1705 | <object type="action"> |
| 1706 | <action function="nandroid">backup</action> |
| 1707 | </object> |
| 1708 | |
| 1709 | <object type="action"> |
| 1710 | <condition var1="tw_operation_state" var2="1" /> |
bigbiff | 7abc5fe | 2015-01-17 16:53:12 -0500 | [diff] [blame] | 1711 | <condition var1="tw_cancel_backup" var2="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1712 | <actions> |
| 1713 | <action function="set">tw_back=backup</action> |
| 1714 | <action function="set">tw_complete_text1=Backup Complete</action> |
| 1715 | <action function="set">tw_show_reboot=1</action> |
| 1716 | <action function="page">action_complete</action> |
| 1717 | </actions> |
| 1718 | </object> |
bigbiff | 7abc5fe | 2015-01-17 16:53:12 -0500 | [diff] [blame] | 1719 | |
| 1720 | <object type="action"> |
| 1721 | <condition var1="tw_operation_state" var2="1" /> |
| 1722 | <condition var1="tw_cancel_backup" var2="1" /> |
| 1723 | <actions> |
| 1724 | <action function="set">tw_back=backup</action> |
| 1725 | <action function="set">tw_complete_text1=Backup Cancelled</action> |
| 1726 | <action function="set">tw_show_reboot=1</action> |
| 1727 | <action function="page">action_complete</action> |
| 1728 | </actions> |
| 1729 | </object> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1730 | </page> |
| 1731 | |
| 1732 | <page name="restore"> |
| 1733 | <object type="template" name="header" /> |
| 1734 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1735 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1736 | <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1737 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1738 | <actions> |
| 1739 | <action function="set">tw_back=restore</action> |
| 1740 | <action function="page">selectstorage</action> |
| 1741 | </actions> |
| 1742 | </object> |
| 1743 | |
| 1744 | <object type="fileselector"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1745 | <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1746 | <text>Select Package to Restore:</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1747 | <filter folders="1" files="0" nav="0" /> |
| 1748 | <path name="tw_backups_folder" /> |
| 1749 | <data name="tw_restore" default="" /> |
| 1750 | <selection name="tw_restore_name" /> |
| 1751 | </object> |
| 1752 | |
| 1753 | <object type="template" name="sort_options" /> |
| 1754 | |
| 1755 | <object type="action"> |
| 1756 | <condition var1="tw_restore" op="modified" /> |
| 1757 | <actions> |
| 1758 | <action function="readBackup"></action> |
| 1759 | <action function="page">restore_read</action> |
| 1760 | </actions> |
| 1761 | </object> |
| 1762 | |
| 1763 | <object type="action"> |
| 1764 | <touch key="home" /> |
| 1765 | <action function="page">main</action> |
| 1766 | </object> |
| 1767 | |
| 1768 | <object type="action"> |
| 1769 | <touch key="back" /> |
| 1770 | <action function="page">main</action> |
| 1771 | </object> |
| 1772 | |
| 1773 | <object type="template" name="footer" /> |
| 1774 | </page> |
| 1775 | |
| 1776 | <page name="restore_read"> |
| 1777 | <object type="action"> |
| 1778 | <condition var1="tw_restore_encrypted" var2="1" /> |
| 1779 | <actions> |
| 1780 | <action function="set">tw_password_fail=0</action> |
| 1781 | <action function="page">restore_decrypt</action> |
| 1782 | </actions> |
| 1783 | </object> |
| 1784 | |
| 1785 | <object type="action"> |
| 1786 | <condition var1="tw_restore_encrypted" var2="0" /> |
| 1787 | <actions> |
| 1788 | <action function="page">restore_select</action> |
| 1789 | </actions> |
| 1790 | </object> |
| 1791 | </page> |
| 1792 | |
| 1793 | <page name="restore_decrypt"> |
| 1794 | <object type="template" name="header" /> |
| 1795 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1796 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1797 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1798 | <text>Backup Encrypted</text> |
| 1799 | </object> |
| 1800 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1801 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1802 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1803 | <text>Please Enter Your Password:</text> |
| 1804 | </object> |
| 1805 | |
| 1806 | <object type="input"> |
| 1807 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1808 | <text>%tw_restore_display%</text> |
| 1809 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> |
| 1810 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 1811 | <actions> |
| 1812 | <action function="page">try_restore_decrypt</action> |
| 1813 | </actions> |
| 1814 | </object> |
| 1815 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1816 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1817 | <condition var1="tw_password_fail" var2="1" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1818 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1819 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1820 | <text>Password Failed, Please Try Again</text> |
| 1821 | </object> |
| 1822 | |
| 1823 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1824 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1825 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1826 | <actions> |
| 1827 | <action function="set">tw_page_done=1</action> |
| 1828 | <action function="page">restore</action> |
| 1829 | </actions> |
| 1830 | </object> |
| 1831 | |
| 1832 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1833 | <placement x="%col2_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1834 | <text>Delete</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1835 | <actions> |
| 1836 | <action function="set">tw_back=restore</action> |
| 1837 | <action function="set">tw_action=cmd</action> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 1838 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1839 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 1840 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1841 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 1842 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 1843 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 1844 | <action function="page">confirm_action</action> |
| 1845 | </actions> |
| 1846 | </object> |
| 1847 | |
| 1848 | <object type="template" name="keyboardtemplate" /> |
| 1849 | |
| 1850 | <object type="action"> |
| 1851 | <touch key="home" /> |
| 1852 | <action function="page">main</action> |
| 1853 | </object> |
| 1854 | |
| 1855 | <object type="action"> |
| 1856 | <touch key="back" /> |
| 1857 | <action function="page">restore</action> |
| 1858 | </object> |
| 1859 | |
| 1860 | <object type="template" name="footer" /> |
| 1861 | </page> |
| 1862 | |
| 1863 | <page name="try_restore_decrypt"> |
| 1864 | <object type="template" name="header" /> |
| 1865 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1866 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1867 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1868 | <text>Trying Decryption with Your Password</text> |
| 1869 | </object> |
| 1870 | |
| 1871 | <object type="template" name="action_page_console" /> |
| 1872 | |
| 1873 | <object type="template" name="progress_bar" /> |
| 1874 | |
| 1875 | <object type="action"> |
| 1876 | <action function="decrypt_backup"></action> |
| 1877 | </object> |
| 1878 | |
| 1879 | <object type="action"> |
| 1880 | <conditions> |
| 1881 | <condition var1="tw_operation_state" var2="1" /> |
| 1882 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 1883 | </conditions> |
| 1884 | <actions> |
| 1885 | <action function="set">tw_password_fail=1</action> |
| 1886 | <action function="page">restore_decrypt</action> |
| 1887 | </actions> |
| 1888 | </object> |
| 1889 | |
| 1890 | <object type="action"> |
| 1891 | <conditions> |
| 1892 | <condition var1="tw_operation_state" var2="1" /> |
| 1893 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 1894 | </conditions> |
| 1895 | <actions> |
| 1896 | <action function="set">tw_page_done=1</action> |
| 1897 | <action function="page">restore_select</action> |
| 1898 | </actions> |
| 1899 | </object> |
| 1900 | </page> |
| 1901 | |
| 1902 | <page name="restore_select"> |
| 1903 | <object type="template" name="header" /> |
| 1904 | |
| 1905 | <object type="partitionlist"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1906 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%restore_list_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1907 | <text>Restoring: %tw_restore_name%</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1908 | <data name="tw_restore_list" selectedlist="tw_restore_selected" /> |
| 1909 | <listtype name="restore" /> |
| 1910 | </object> |
| 1911 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1912 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1913 | <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1914 | <text>Rename Backup</text> |
| 1915 | <actions> |
| 1916 | <action function="set">tw_backup_rename=</action> |
| 1917 | <action function="set">tw_fileexists=0</action> |
| 1918 | <action function="page">renamebackup</action> |
| 1919 | </actions> |
| 1920 | </object> |
| 1921 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1922 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1923 | <placement x="%col2_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1924 | <text>Delete Backup</text> |
| 1925 | <actions> |
| 1926 | <action function="set">tw_back=restore</action> |
| 1927 | <action function="set">tw_action=cmd</action> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 1928 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1929 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 1930 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1931 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 1932 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 1933 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 1934 | <action function="page">confirm_action</action> |
| 1935 | </actions> |
| 1936 | </object> |
| 1937 | |
| 1938 | <object type="checkbox"> |
| 1939 | <placement x="%col1_x%" y="%backup_button_row1%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1940 | <text>Enable MD5 verification of backup.</text> |
| 1941 | <data variable="tw_skip_md5_check" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1942 | </object> |
| 1943 | |
| 1944 | <object type="slider"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1945 | <text>Swipe to Restore</text> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1946 | <action function="page">restore_run</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1947 | </object> |
| 1948 | |
| 1949 | <object type="action"> |
| 1950 | <touch key="home" /> |
| 1951 | <action function="page">main</action> |
| 1952 | </object> |
| 1953 | |
| 1954 | <object type="action"> |
| 1955 | <touch key="back" /> |
| 1956 | <action function="page">restore</action> |
| 1957 | </object> |
| 1958 | </page> |
| 1959 | |
| 1960 | <page name="renamebackup"> |
| 1961 | <object type="template" name="header" /> |
| 1962 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1963 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1964 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1965 | <text>Please Enter a New Backup Name</text> |
| 1966 | </object> |
| 1967 | |
| 1968 | <object type="input"> |
| 1969 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1970 | <text>%tw_backup_rename%</text> |
| 1971 | <data name="tw_backup_rename" /> |
| 1972 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
| 1973 | <actions> |
| 1974 | <action function="set">tw_back=restore</action> |
| 1975 | <action function="set">tw_action=cmd</action> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 1976 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1977 | <action function="set">tw_text1=Rename Backup?</action> |
| 1978 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1979 | <action function="set">tw_action_text1=Renaming Backup...</action> |
| 1980 | <action function="set">tw_complete_text1=Backup Rename Complete</action> |
| 1981 | <action function="set">tw_slider_text=Swipe to Rename</action> |
| 1982 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 1983 | <action function="set">tw_existpage=renamebackup</action> |
| 1984 | <action function="set">tw_notexistpage=confirm_action</action> |
| 1985 | <action function="page">filecheck</action> |
| 1986 | </actions> |
| 1987 | </object> |
| 1988 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1989 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1990 | <condition var1="tw_fileexists" var2="1" /> |
| 1991 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 1992 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1993 | <text>A backup with that name already exists!</text> |
| 1994 | </object> |
| 1995 | |
| 1996 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1997 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1998 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1999 | <action function="page">restore_select</action> |
| 2000 | </object> |
| 2001 | |
| 2002 | <object type="template" name="keyboardtemplate" /> |
| 2003 | |
| 2004 | <object type="action"> |
| 2005 | <touch key="home" /> |
| 2006 | <action function="page">main</action> |
| 2007 | </object> |
| 2008 | |
| 2009 | <object type="action"> |
| 2010 | <touch key="back" /> |
| 2011 | <action function="page">restore_select</action> |
| 2012 | </object> |
| 2013 | |
| 2014 | <object type="template" name="footer" /> |
| 2015 | </page> |
| 2016 | |
| 2017 | <page name="restore_run"> |
| 2018 | <object type="template" name="header" /> |
| 2019 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2020 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2021 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2022 | <text>%tw_operation% %tw_partition%</text> |
| 2023 | </object> |
| 2024 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2025 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2026 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 2027 | <text>%tw_size_progress%</text> |
| 2028 | </object> |
| 2029 | |
| 2030 | <object type="template" name="action_page_console" /> |
| 2031 | |
| 2032 | <object type="template" name="progress_bar" /> |
| 2033 | |
| 2034 | <object type="action"> |
| 2035 | <condition var1="tw_operation_state" var2="1" /> |
| 2036 | <actions> |
| 2037 | <action function="set">tw_back=restore_select</action> |
| 2038 | <action function="set">tw_complete_text1=Restore Complete</action> |
| 2039 | <action function="set">tw_show_reboot=1</action> |
| 2040 | <action function="page">action_complete</action> |
| 2041 | </actions> |
| 2042 | </object> |
| 2043 | |
| 2044 | <object type="action"> |
| 2045 | <action function="nandroid">restore</action> |
| 2046 | </object> |
| 2047 | </page> |
| 2048 | |
| 2049 | <page name="selectstorage"> |
| 2050 | <object type="template" name="header" /> |
| 2051 | |
| 2052 | <object type="partitionlist"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2053 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2054 | <text>Select Storage:</text> |
| 2055 | <icon selected="radio_true" unselected="radio_false" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2056 | <data name="tw_storage_path" /> |
| 2057 | <listtype name="storage" /> |
| 2058 | </object> |
| 2059 | |
| 2060 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2061 | <placement x="%col_center_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2062 | <text>OK</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2063 | <actions> |
| 2064 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 2065 | <action function="page">clear_vars</action> |
| 2066 | </actions> |
| 2067 | </object> |
| 2068 | |
| 2069 | <object type="action"> |
| 2070 | <touch key="home" /> |
| 2071 | <action function="page">main</action> |
| 2072 | </object> |
| 2073 | |
| 2074 | <object type="action"> |
| 2075 | <touch key="back" /> |
| 2076 | <actions> |
| 2077 | <action function="page">%tw_back%</action> |
| 2078 | </actions> |
| 2079 | </object> |
| 2080 | |
| 2081 | <object type="template" name="footer" /> |
| 2082 | </page> |
| 2083 | |
| 2084 | <page name="mount"> |
| 2085 | <object type="template" name="header" /> |
| 2086 | |
| 2087 | <object type="partitionlist"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2088 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2089 | <text>Select Partitions to Mount:</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2090 | <listtype name="mount" /> |
| 2091 | </object> |
| 2092 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2093 | <object type="button" style="fillbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2094 | <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2095 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 2096 | <actions> |
| 2097 | <action function="set">tw_back=mount</action> |
| 2098 | <action function="page">selectstorage</action> |
| 2099 | </actions> |
| 2100 | </object> |
| 2101 | |
| 2102 | <object type="button"> |
Ethan Yonker | 3d49ea7 | 2014-08-04 09:14:12 -0500 | [diff] [blame] | 2103 | <condition var1="tw_has_usb_storage" var2="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2104 | <placement x="%col1_x%" y="row4_y" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2105 | <text>USB Storage</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2106 | <action function="page">usb_mount</action> |
| 2107 | </object> |
| 2108 | |
| 2109 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2110 | <conditions> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2111 | <condition var1="tw_has_mtp" var2="1" /> |
| 2112 | <condition var1="tw_mtp_enabled" var2="0" /> |
| 2113 | </conditions> |
| 2114 | <placement x="%col2_x%" y="row4_y" /> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2115 | <text>Enable MTP</text> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2116 | <action function="startmtp"></action> |
| 2117 | </object> |
| 2118 | |
| 2119 | <object type="button"> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2120 | <conditions> |
| 2121 | <condition var1="tw_has_mtp" var2="1" /> |
| 2122 | <condition var1="tw_mtp_enabled" var2="1" /> |
| 2123 | </conditions> |
| 2124 | <placement x="%col2_x%" y="row4_y" /> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2125 | <text>Disable MTP</text> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2126 | <action function="stopmtp"></action> |
| 2127 | </object> |
| 2128 | |
| 2129 | <object type="button"> |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 2130 | <conditions> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2131 | <condition var1="tw_is_encrypted" var2="1" /> |
| 2132 | <condition var1="tw_is_decrypted" var2="0" /> |
| 2133 | </conditions> |
| 2134 | <placement x="%col2_x%" y="row4_y" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2135 | <text>Decrypt Data</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2136 | <action function="page">decrypt</action> |
| 2137 | </object> |
| 2138 | |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2139 | <object type="button"> |
Ethan Yonker | b7a54a3 | 2015-10-05 10:16:27 -0500 | [diff] [blame] | 2140 | <placement x="%col1_x%" y="%system_ro_y%" textplacement="6" /> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2141 | <font resource="font" color="%text_color%" /> |
| 2142 | <condition var1="tw_mount_system_ro" op="=" var2="0" /> |
| 2143 | <text>Only mount system read-only</text> |
| 2144 | <image resource="checkbox_false" /> |
Ethan Yonker | d6966f4 | 2015-05-30 14:52:16 -0500 | [diff] [blame] | 2145 | <action function="mountsystemtoggle">1</action> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2146 | </object> |
| 2147 | |
| 2148 | <object type="button"> |
Ethan Yonker | b7a54a3 | 2015-10-05 10:16:27 -0500 | [diff] [blame] | 2149 | <placement x="%col1_x%" y="%system_ro_y%" textplacement="6" /> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2150 | <font resource="font" color="%text_color%" /> |
| 2151 | <condition var1="tw_mount_system_ro" op="!=" var2="0" /> |
| 2152 | <text>Only mount system read-only</text> |
| 2153 | <image resource="checkbox_true" /> |
| 2154 | <actions> |
| 2155 | <action function="set">tw_lifetime_writes=2</action> |
| 2156 | <action function="page">system_readonly_check</action> |
| 2157 | </actions> |
| 2158 | </object> |
| 2159 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2160 | <object type="action"> |
| 2161 | <touch key="home" /> |
| 2162 | <action function="page">main</action> |
| 2163 | </object> |
| 2164 | |
| 2165 | <object type="action"> |
| 2166 | <touch key="back" /> |
| 2167 | <action function="page">main</action> |
| 2168 | </object> |
| 2169 | |
| 2170 | <object type="template" name="footer" /> |
| 2171 | </page> |
| 2172 | |
| 2173 | <page name="usb_mount"> |
| 2174 | <object type="template" name="header" /> |
| 2175 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2176 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2177 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2178 | <text>USB Storage Mounted</text> |
| 2179 | </object> |
| 2180 | |
| 2181 | <object type="text" color="%text_color%"> |
| 2182 | <placement x="%col1_x%" y="%row1_text_y%" /> |
| 2183 | <font resource="font" /> |
| 2184 | <text>Be sure to safely remove your device</text> |
| 2185 | </object> |
| 2186 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2187 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2188 | <placement x="%col1_x%" y="%row2_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2189 | <text>from your computer before unmounting!</text> |
| 2190 | </object> |
| 2191 | |
| 2192 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2193 | <placement x="%col1_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2194 | <text>Unmount</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2195 | <action function="page">usb_umount</action> |
| 2196 | </object> |
| 2197 | |
| 2198 | <object type="action"> |
| 2199 | <action function="mount">usb</action> |
| 2200 | </object> |
| 2201 | |
| 2202 | <object type="template" name="footer" /> |
| 2203 | </page> |
| 2204 | |
| 2205 | <page name="usb_umount"> |
| 2206 | <object type="action"> |
| 2207 | <action function="unmount">usb</action> |
| 2208 | </object> |
| 2209 | |
| 2210 | <object type="action"> |
| 2211 | <action function="page">mount</action> |
| 2212 | </object> |
| 2213 | </page> |
| 2214 | |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2215 | <page name="system_readonly_check"> |
| 2216 | <object type="action"> |
| 2217 | <action function="checkpartitionlifetimewrites">/system</action> |
| 2218 | </object> |
| 2219 | |
| 2220 | <object type="action"> |
Ethan Yonker | d6966f4 | 2015-05-30 14:52:16 -0500 | [diff] [blame] | 2221 | <condition var1="tw_lifetime_writes" var2="1" /> |
| 2222 | <actions> |
| 2223 | <action function="mountsystemtoggle">0</action> |
| 2224 | <action function="page">mount</action> |
| 2225 | </actions> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2226 | </object> |
| 2227 | |
| 2228 | <object type="action"> |
Ethan Yonker | d6966f4 | 2015-05-30 14:52:16 -0500 | [diff] [blame] | 2229 | <condition var1="tw_lifetime_writes" var2="0" /> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 2230 | <actions> |
| 2231 | <action function="set">tw_back=mount</action> |
| 2232 | <action function="page">system_readonly</action> |
| 2233 | </actions> |
| 2234 | </object> |
| 2235 | </page> |
| 2236 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2237 | <page name="reboot"> |
| 2238 | <object type="template" name="header" /> |
| 2239 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2240 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2241 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2242 | <text>Reboot Menu</text> |
| 2243 | </object> |
| 2244 | |
Ethan Yonker | 72b90ab | 2015-02-23 08:35:48 -0600 | [diff] [blame] | 2245 | <object type="button" style="rebootsystem"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2246 | <placement x="%col1_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2247 | <text>System</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2248 | </object> |
| 2249 | |
| 2250 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2251 | <condition var1="tw_reboot_poweroff" var2="1" /> |
| 2252 | <placement x="%col2_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2253 | <text>Power Off</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2254 | <actions> |
| 2255 | <action function="set">tw_back=reboot</action> |
| 2256 | <action function="set">tw_action=reboot</action> |
| 2257 | <action function="set">tw_action_param=poweroff</action> |
| 2258 | <action function="set">tw_has_action2=0</action> |
| 2259 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2260 | <action function="set">tw_text2=sure you wish to power off?</action> |
| 2261 | <action function="set">tw_action_text1=Turning Off...</action> |
| 2262 | <action function="set">tw_complete_text1=Turning Off...</action> |
| 2263 | <action function="set">tw_slider_text=Swipe to Power Off</action> |
| 2264 | <action function="page">rebootcheck</action> |
| 2265 | </actions> |
| 2266 | </object> |
| 2267 | |
| 2268 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2269 | <condition var1="tw_reboot_recovery" var2="1" /> |
| 2270 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2271 | <text>Recovery</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2272 | <actions> |
| 2273 | <action function="set">tw_back=reboot</action> |
| 2274 | <action function="set">tw_action=reboot</action> |
| 2275 | <action function="set">tw_action_param=recovery</action> |
| 2276 | <action function="set">tw_has_action2=0</action> |
| 2277 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2278 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2279 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2280 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2281 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2282 | <action function="page">rebootcheck</action> |
| 2283 | </actions> |
| 2284 | </object> |
| 2285 | |
| 2286 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2287 | <condition var1="tw_reboot_bootloader" var2="1" /> |
| 2288 | <placement x="%col2_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2289 | <text>Bootloader</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2290 | <actions> |
| 2291 | <action function="set">tw_back=reboot</action> |
| 2292 | <action function="set">tw_action=reboot</action> |
| 2293 | <action function="set">tw_action_param=bootloader</action> |
| 2294 | <action function="set">tw_has_action2=0</action> |
| 2295 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2296 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2297 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2298 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2299 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2300 | <action function="page">rebootcheck</action> |
| 2301 | </actions> |
| 2302 | </object> |
| 2303 | |
| 2304 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2305 | <condition var1="tw_download_mode" var2="1" /> |
| 2306 | <placement x="%col1_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2307 | <text>Download</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2308 | <actions> |
| 2309 | <action function="set">tw_back=reboot</action> |
| 2310 | <action function="set">tw_action=reboot</action> |
| 2311 | <action function="set">tw_action_param=download</action> |
| 2312 | <action function="set">tw_has_action2=0</action> |
| 2313 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2314 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2315 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2316 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2317 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2318 | <action function="page">rebootcheck</action> |
| 2319 | </actions> |
| 2320 | </object> |
| 2321 | |
| 2322 | <object type="action"> |
| 2323 | <touch key="home" /> |
| 2324 | <action function="page">main</action> |
| 2325 | </object> |
| 2326 | |
| 2327 | <object type="action"> |
| 2328 | <touch key="back" /> |
| 2329 | <action function="page">main</action> |
| 2330 | </object> |
| 2331 | |
| 2332 | <object type="template" name="footer" /> |
| 2333 | </page> |
| 2334 | |
| 2335 | <page name="settings"> |
| 2336 | <object type="template" name="header" /> |
| 2337 | |
| 2338 | <object type="checkbox"> |
| 2339 | <placement x="%col1_x%" y="%row1_header_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2340 | <text>Zip file signature verification.</text> |
| 2341 | <data variable="tw_signed_zip_verify" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2342 | </object> |
| 2343 | |
| 2344 | <object type="checkbox"> |
| 2345 | <placement x="%col1_x%" y="%row1_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2346 | <text>Use rm -rf instead of formatting.</text> |
| 2347 | <data variable="tw_rm_rf" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2348 | </object> |
| 2349 | |
| 2350 | <object type="checkbox"> |
| 2351 | <placement x="%col1_x%" y="%row2_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2352 | <text>Skip MD5 generation during backup.</text> |
| 2353 | <data variable="tw_skip_md5_generate" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2354 | </object> |
| 2355 | |
| 2356 | <object type="checkbox"> |
| 2357 | <placement x="%col1_x%" y="%row3_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2358 | <text>Enable MD5 verification of backup files.</text> |
| 2359 | <data variable="tw_skip_md5_check" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2360 | </object> |
| 2361 | |
| 2362 | <object type="checkbox"> |
| 2363 | <placement x="%col1_x%" y="%row4_text_y%" /> |
Captain Throwback | 5f4fd8c | 2014-10-10 10:36:09 -0400 | [diff] [blame] | 2364 | <text>Use 24-hour clock.</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2365 | <data variable="tw_military_time" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2366 | </object> |
| 2367 | |
| 2368 | <object type="checkbox"> |
| 2369 | <placement x="%col1_x%" y="%row5_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2370 | <text>Simulate actions for theme testing.</text> |
| 2371 | <data variable="tw_simulate_actions" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2372 | </object> |
| 2373 | |
| 2374 | <object type="checkbox"> |
| 2375 | <condition var1="tw_simulate_actions" var2="1" /> |
| 2376 | <placement x="%col1_x%" y="%row6_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2377 | <text>Simulate failure for actions.</text> |
| 2378 | <data variable="tw_simulate_fail" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2379 | </object> |
| 2380 | |
| 2381 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2382 | <placement x="%col1_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2383 | <text>Time Zone</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2384 | <action function="page">timezone</action> |
| 2385 | </object> |
| 2386 | |
| 2387 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2388 | <placement x="%col2_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2389 | <text>Screen</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2390 | <action function="page">screen</action> |
| 2391 | </object> |
| 2392 | |
| 2393 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2394 | <placement x="%col1_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2395 | <text>Restore Defaults</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2396 | <action function="restoredefaultsettings"></action> |
| 2397 | </object> |
| 2398 | |
| 2399 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2400 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2401 | <text>Vibration</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2402 | <action function="page">vibrate</action> |
| 2403 | </object> |
| 2404 | |
| 2405 | <object type="action"> |
| 2406 | <touch key="home" /> |
| 2407 | <action function="page">main</action> |
| 2408 | </object> |
| 2409 | |
| 2410 | <object type="action"> |
| 2411 | <touch key="back" /> |
| 2412 | <action function="page">main</action> |
| 2413 | </object> |
| 2414 | |
| 2415 | <object type="template" name="footer" /> |
| 2416 | </page> |
| 2417 | |
| 2418 | <page name="timezone"> |
| 2419 | <object type="template" name="header" /> |
| 2420 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2421 | <object type="listbox" style="scrolllist"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2422 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2423 | <text>Select Time Zone:</text> |
| 2424 | <icon selected="radio_true" unselected="radio_false" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2425 | <data name="tw_time_zone_guisel" /> |
| 2426 | <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> |
| 2427 | <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> |
| 2428 | <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> |
that | 202e51b | 2015-03-24 21:07:59 +0100 | [diff] [blame] | 2429 | <listitem name="(UTC -8) Pacific Time">PST8;PDT,M3.2.0,M11.1.0</listitem> |
| 2430 | <listitem name="(UTC -7) Mountain Time">MST7;MDT,M3.2.0,M11.1.0</listitem> |
| 2431 | <listitem name="(UTC -6) Central Time">CST6;CDT,M3.2.0,M11.1.0</listitem> |
| 2432 | <listitem name="(UTC -5) Eastern Time">EST5;EDT,M3.2.0,M11.1.0</listitem> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2433 | <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> |
| 2434 | <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> |
| 2435 | <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> |
| 2436 | <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> |
that | 202e51b | 2015-03-24 21:07:59 +0100 | [diff] [blame] | 2437 | <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST,M3.5.0,M10.5.0</listitem> |
| 2438 | <listitem name="(UTC +1) Berlin, Brussels, Paris">CET-1;CEST,M3.5.0,M10.5.0</listitem> |
| 2439 | <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET,M3.5.0,M10.5.0</listitem> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2440 | <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> |
| 2441 | <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> |
| 2442 | <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> |
| 2443 | <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> |
| 2444 | <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> |
| 2445 | <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> |
| 2446 | <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> |
| 2447 | <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> |
| 2448 | <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> |
| 2449 | <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> |
| 2450 | </object> |
| 2451 | |
| 2452 | <object type="checkbox"> |
| 2453 | <placement x="%col1_x%" y="%row_dst_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2454 | <text>Do you use daylight savings time (DST)?</text> |
| 2455 | <data variable="tw_time_zone_guidst" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2456 | </object> |
| 2457 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2458 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2459 | <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> |
| 2460 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 2461 | </object> |
| 2462 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2463 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2464 | <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2465 | <text>None</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2466 | <action function="set">tw_time_zone_guioffset=0</action> |
| 2467 | </object> |
| 2468 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2469 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2470 | <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2471 | <text>15</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2472 | <action function="set">tw_time_zone_guioffset=15</action> |
| 2473 | </object> |
| 2474 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2475 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2476 | <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2477 | <text>30</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2478 | <action function="set">tw_time_zone_guioffset=30</action> |
| 2479 | </object> |
| 2480 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2481 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2482 | <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2483 | <text>45</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2484 | <action function="set">tw_time_zone_guioffset=45</action> |
| 2485 | </object> |
| 2486 | |
| 2487 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2488 | <placement x="%col_center_x%" y="%tz_set_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2489 | <text>Set Time Zone</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2490 | <action function="setguitimezone"></action> |
| 2491 | </object> |
| 2492 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2493 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2494 | <placement x="%center_x%" y="%tz_current_y%" placement="5" /> |
| 2495 | <text>Current Time Zone: %tw_time_zone%</text> |
| 2496 | </object> |
| 2497 | |
| 2498 | <object type="action"> |
| 2499 | <touch key="home" /> |
| 2500 | <action function="page">main</action> |
| 2501 | </object> |
| 2502 | |
| 2503 | <object type="action"> |
| 2504 | <touch key="back" /> |
| 2505 | <action function="page">settings</action> |
| 2506 | </object> |
| 2507 | </page> |
| 2508 | |
| 2509 | <page name="screen"> |
| 2510 | <object type="template" name="header" /> |
| 2511 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2512 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2513 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2514 | <text>Screen Settings</text> |
| 2515 | </object> |
| 2516 | |
| 2517 | <object type="button"> |
Ethan Yonker | 25474e4 | 2015-10-26 21:42:02 -0500 | [diff] [blame] | 2518 | <placement x="%col1_x%" y="%row2_text_y%" textplacement="6" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2519 | <font resource="font" color="%text_color%" /> |
| 2520 | <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> |
| 2521 | <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> |
| 2522 | <text>Enable screen timeout.</text> |
| 2523 | <image resource="checkbox_false" /> |
| 2524 | <action function="set">tw_screen_timeout_secs=60</action> |
| 2525 | </object> |
| 2526 | |
| 2527 | <object type="button"> |
Ethan Yonker | 25474e4 | 2015-10-26 21:42:02 -0500 | [diff] [blame] | 2528 | <placement x="%col1_x%" y="%row2_text_y%" textplacement="6" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2529 | <font resource="font" color="%text_color%" /> |
| 2530 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> |
| 2531 | <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> |
| 2532 | <text>Enable screen timeout.</text> |
| 2533 | <image resource="checkbox_true" /> |
| 2534 | <action function="set">tw_screen_timeout_secs=0</action> |
| 2535 | </object> |
| 2536 | |
| 2537 | <object type="slidervalue"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2538 | <conditions> |
| 2539 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> |
| 2540 | <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> |
| 2541 | </conditions> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2542 | <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2543 | <text>Screen timeout in seconds:</text> |
| 2544 | <data variable="tw_screen_timeout_secs" min="15" max="300" /> |
| 2545 | </object> |
| 2546 | |
| 2547 | <object type="slidervalue"> |
| 2548 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
| 2549 | <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2550 | <text>Brightness: %tw_brightness_pct%%</text> |
| 2551 | <data variable="tw_brightness_pct" min="10" max="100" /> |
| 2552 | <actions> |
| 2553 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 2554 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 2555 | <action function="compute">tw_brightness/100</action> |
xNUTx | e85f02d | 2014-07-18 01:30:58 +0200 | [diff] [blame] | 2556 | <action function="setbrightness">%tw_brightness%</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2557 | </actions> |
| 2558 | </object> |
| 2559 | |
| 2560 | <object type="action"> |
| 2561 | <touch key="home" /> |
| 2562 | <action function="page">main</action> |
| 2563 | </object> |
| 2564 | |
| 2565 | <object type="action"> |
| 2566 | <touch key="back" /> |
| 2567 | <action function="page">settings</action> |
| 2568 | </object> |
| 2569 | |
| 2570 | <object type="template" name="footer" /> |
| 2571 | </page> |
| 2572 | |
| 2573 | <page name="vibrate"> |
| 2574 | <object type="template" name="header" /> |
| 2575 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2576 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2577 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2578 | <text>Vibration Settings :</text> |
| 2579 | </object> |
| 2580 | |
| 2581 | <object type="slidervalue"> |
| 2582 | <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2583 | <text>Button Vibration:</text> |
| 2584 | <data variable="tw_button_vibrate" min="0" max="300" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2585 | </object> |
| 2586 | |
| 2587 | <object type="slidervalue"> |
| 2588 | <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2589 | <text>Keyboard Vibration:</text> |
| 2590 | <data variable="tw_keyboard_vibrate" min="0" max="300" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2591 | </object> |
| 2592 | |
| 2593 | <object type="slidervalue"> |
| 2594 | <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2595 | <text>Action Vibration:</text> |
| 2596 | <data variable="tw_action_vibrate" min="0" max="500" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2597 | </object> |
| 2598 | |
| 2599 | <object type="action"> |
| 2600 | <touch key="home" /> |
| 2601 | <action function="page">main</action> |
| 2602 | </object> |
| 2603 | |
| 2604 | <object type="action"> |
| 2605 | <touch key="back" /> |
| 2606 | <action function="page">settings</action> |
| 2607 | </object> |
| 2608 | |
| 2609 | <object type="template" name="footer" /> |
| 2610 | </page> |
| 2611 | |
| 2612 | <page name="advanced"> |
| 2613 | <object type="template" name="header" /> |
| 2614 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2615 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2616 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2617 | <text>Advanced</text> |
| 2618 | </object> |
| 2619 | |
| 2620 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2621 | <placement x="%col1_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2622 | <text>Copy Log to SD</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2623 | <actions> |
| 2624 | <action function="set">tw_back=advanced</action> |
| 2625 | <action function="set">tw_action=copylog</action> |
| 2626 | <action function="set">tw_text1=Copy Log to SD Card?</action> |
| 2627 | <action function="set">tw_action_text1=Copying Log to SD Card...</action> |
| 2628 | <action function="set">tw_complete_text1=Log Copy Complete</action> |
| 2629 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2630 | <action function="page">confirm_action</action> |
| 2631 | </actions> |
| 2632 | </object> |
| 2633 | |
| 2634 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2635 | <placement x="%col2_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2636 | <text>Fix Permissions</text> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 2637 | <action function="page">fixperms</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2638 | </object> |
| 2639 | |
| 2640 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2641 | <condition var1="tw_allow_partition_sdcard" var2="1" /> |
| 2642 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2643 | <text>Partition SD Card</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2644 | <action function="page">partsdcard</action> |
| 2645 | </object> |
| 2646 | |
| 2647 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2648 | <placement x="%col2_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2649 | <text>File Manager</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2650 | <action function="page">filemanagerlist</action> |
| 2651 | </object> |
| 2652 | |
| 2653 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2654 | <placement x="%col1_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2655 | <text>Terminal Command</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2656 | <action function="page">terminalfolder</action> |
| 2657 | </object> |
| 2658 | |
| 2659 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2660 | <placement x="%col2_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2661 | <text>Reload Theme</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2662 | <action function="reload"></action> |
| 2663 | </object> |
| 2664 | |
| 2665 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2666 | <placement x="%col1_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2667 | <text>ADB Sideload</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2668 | <action function="page">sideload</action> |
| 2669 | </object> |
| 2670 | |
| 2671 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2672 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2673 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2674 | <text>HTC Dumlock</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2675 | <action function="page">htcdumlock</action> |
| 2676 | </object> |
| 2677 | |
| 2678 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2679 | <condition var1="tw_has_injecttwrp" var2="1" /> |
| 2680 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2681 | <text>Re-Inject TWRP</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2682 | <actions> |
| 2683 | <action function="set">tw_back=advanced</action> |
| 2684 | <action function="set">tw_action=reinjecttwrp</action> |
| 2685 | <action function="set">tw_text1=Re-Inject TWRP?</action> |
| 2686 | <action function="set">tw_action_text1=Re-Injecting TWRP...</action> |
| 2687 | <action function="set">tw_complete_text1=TWRP Injection Complete</action> |
| 2688 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2689 | <action function="page">confirm_action</action> |
| 2690 | </actions> |
| 2691 | </object> |
| 2692 | |
| 2693 | <object type="action"> |
| 2694 | <touch key="home" /> |
| 2695 | <action function="page">main</action> |
| 2696 | </object> |
| 2697 | |
| 2698 | <object type="action"> |
| 2699 | <touch key="back" /> |
| 2700 | <action function="page">main</action> |
| 2701 | </object> |
| 2702 | |
| 2703 | <object type="template" name="footer" /> |
| 2704 | </page> |
| 2705 | |
| 2706 | <page name="partsdcard"> |
| 2707 | <object type="template" name="header" /> |
| 2708 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2709 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2710 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2711 | <text>Partition SD Card</text> |
| 2712 | </object> |
| 2713 | |
| 2714 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2715 | <placement x="%col1_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2716 | <text></text> |
| 2717 | <image resource="minus_button" /> |
| 2718 | <action function="addsubtract">tw_sdext_size-128</action> |
| 2719 | </object> |
| 2720 | |
| 2721 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2722 | <placement x="%sd_plus_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2723 | <text></text> |
| 2724 | <image resource="plus_button" /> |
| 2725 | <action function="addsubtract">tw_sdext_size+128</action> |
| 2726 | </object> |
| 2727 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2728 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2729 | <placement x="%sdext_text_x%" y="%sdext_text_y%" /> |
| 2730 | <text>EXT Size: %tw_sdext_size%</text> |
| 2731 | </object> |
| 2732 | |
| 2733 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2734 | <placement x="%col1_x%" y="%sdswap_button_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2735 | <text></text> |
| 2736 | <image resource="minus_button" /> |
| 2737 | <action function="addsubtract">tw_swap_size-32</action> |
| 2738 | </object> |
| 2739 | |
| 2740 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2741 | <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2742 | <text></text> |
| 2743 | <image resource="plus_button" /> |
| 2744 | <action function="addsubtract">tw_swap_size+32</action> |
| 2745 | </object> |
| 2746 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2747 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2748 | <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> |
| 2749 | <text>Swap Size: %tw_swap_size%</text> |
| 2750 | </object> |
| 2751 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2752 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2753 | <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> |
| 2754 | <text>File system: %tw_sdpart_file_system%</text> |
| 2755 | </object> |
| 2756 | |
| 2757 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2758 | <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> |
| 2759 | <font resource="font" color="%button_text_color%" /> |
| 2760 | <text>EXT3</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2761 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 2762 | </object> |
| 2763 | |
| 2764 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2765 | <condition var1="tw_sdext_disable_ext4" var2="0" /> |
| 2766 | <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2767 | <text>EXT4</text> |
| 2768 | <image resource="main_button" /> |
| 2769 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 2770 | </object> |
| 2771 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2772 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2773 | <placement x="%col1_x%" y="%row10_text_y%" /> |
| 2774 | <text>You will lose all files on your SD card!</text> |
| 2775 | </object> |
| 2776 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2777 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2778 | <placement x="%col1_x%" y="%row11_text_y%" /> |
| 2779 | <text>This action cannot be undone!</text> |
| 2780 | </object> |
| 2781 | |
| 2782 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2783 | <text>Swipe to Partition</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2784 | <actions> |
| 2785 | <action function="set">tw_back=partsdcard</action> |
| 2786 | <action function="set">tw_action=partitionsd</action> |
| 2787 | <action function="set">tw_has_action2=1</action> |
| 2788 | <action function="set">tw_action2=set</action> |
| 2789 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 2790 | <action function="set">tw_action_text1=Partitioning SD Card...</action> |
| 2791 | <action function="set">tw_action_text2=This will take a few minutes.</action> |
| 2792 | <action function="set">tw_complete_text1=Partitioning Complete</action> |
| 2793 | <action function="page">action_page</action> |
| 2794 | </actions> |
| 2795 | </object> |
| 2796 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2797 | <object type="action"> |
| 2798 | <touch key="home" /> |
| 2799 | <action function="page">main</action> |
| 2800 | </object> |
| 2801 | |
| 2802 | <object type="action"> |
| 2803 | <touch key="back" /> |
| 2804 | <action function="page">advanced</action> |
| 2805 | </object> |
| 2806 | </page> |
| 2807 | |
| 2808 | <page name="htcdumlock"> |
| 2809 | <object type="template" name="header" /> |
| 2810 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2811 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2812 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2813 | <text>HTC Dumlock</text> |
| 2814 | </object> |
| 2815 | |
| 2816 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2817 | <placement x="%col1_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2818 | <text>Restore Original Boot</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2819 | <actions> |
| 2820 | <action function="set">tw_back=htcdumlock</action> |
| 2821 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
| 2822 | <action function="set">tw_text1=Restore original boot image?</action> |
| 2823 | <action function="set">tw_action_text1=Restoring Original Boot...</action> |
| 2824 | <action function="set">tw_complete_text1=Restore Original Boot Complete</action> |
| 2825 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2826 | <action function="page">confirm_action</action> |
| 2827 | </actions> |
| 2828 | </object> |
| 2829 | |
| 2830 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2831 | <placement x="%col2_x%" y="%row1_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2832 | <text>Reflash Recovery</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2833 | <actions> |
| 2834 | <action function="set">tw_back=htcdumlock</action> |
| 2835 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
| 2836 | <action function="set">tw_text1=Reflash recovery to boot?</action> |
| 2837 | <action function="set">tw_action_text1=Flashing recovery to boot...</action> |
| 2838 | <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> |
| 2839 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2840 | <action function="page">confirm_action</action> |
| 2841 | </actions> |
| 2842 | </object> |
| 2843 | |
| 2844 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2845 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2846 | <text>Install HTC Dumlock</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2847 | <actions> |
| 2848 | <action function="set">tw_back=htcdumlock</action> |
| 2849 | <action function="set">tw_action=installhtcdumlock</action> |
| 2850 | <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> |
| 2851 | <action function="set">tw_action_text1=Installing HTC Dumlock...</action> |
| 2852 | <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> |
| 2853 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2854 | <action function="page">confirm_action</action> |
| 2855 | </actions> |
| 2856 | </object> |
| 2857 | |
| 2858 | <object type="action"> |
| 2859 | <touch key="home" /> |
| 2860 | <action function="page">main</action> |
| 2861 | </object> |
| 2862 | |
| 2863 | <object type="action"> |
| 2864 | <touch key="back" /> |
| 2865 | <action function="page">advanced</action> |
| 2866 | </object> |
| 2867 | |
| 2868 | <object type="template" name="footer" /> |
| 2869 | </page> |
| 2870 | |
| 2871 | <page name="lock"> |
| 2872 | <background color="#000000A0" /> |
| 2873 | |
| 2874 | <object type="image"> |
| 2875 | <image resource="unlock-icon" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 2876 | <placement x="%center_x%" y="%lock_y%" placement="4" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2877 | </object> |
| 2878 | |
| 2879 | <object type="slider"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2880 | <text>Swipe to Unlock</text> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2881 | <action function="overlay"></action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2882 | </object> |
| 2883 | </page> |
| 2884 | |
| 2885 | <page name="filemanagerlist"> |
| 2886 | <object type="template" name="header" /> |
| 2887 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2888 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2889 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2890 | <text>File Manager: Select a File or Folder</text> |
| 2891 | </object> |
| 2892 | |
| 2893 | <object type="fileselector"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2894 | <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2895 | <text>%tw_file_location1%</text> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 2896 | <filter folders="1" files="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2897 | <path name="tw_file_location1" default="/" /> |
| 2898 | <data name="tw_filename1" /> |
| 2899 | <selection name="tw_selection1" /> |
| 2900 | </object> |
| 2901 | |
| 2902 | <object type="template" name="sort_options" /> |
| 2903 | |
| 2904 | <object type="action"> |
| 2905 | <actions> |
| 2906 | <action function="set">tw_fm_type=File</action> |
| 2907 | <action function="set">tw_fm_isfolder=0</action> |
| 2908 | </actions> |
| 2909 | </object> |
| 2910 | |
| 2911 | <object type="action"> |
| 2912 | <touch key="home" /> |
| 2913 | <action function="page">main</action> |
| 2914 | </object> |
| 2915 | |
| 2916 | <object type="action"> |
| 2917 | <touch key="back" /> |
| 2918 | <action function="page">advanced</action> |
| 2919 | </object> |
| 2920 | |
| 2921 | <object type="action"> |
| 2922 | <condition var1="tw_filename1" op="modified" /> |
| 2923 | <actions> |
| 2924 | <action function="page">filemanageroptions</action> |
| 2925 | </actions> |
| 2926 | </object> |
| 2927 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2928 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2929 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2930 | <text>Select</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2931 | <actions> |
| 2932 | <action function="set">tw_filename1=tw_file_location1</action> |
| 2933 | <action function="set">tw_fm_isfolder=1</action> |
| 2934 | <action function="set">tw_fm_type=Folder</action> |
| 2935 | <action function="page">filemanageroptions</action> |
| 2936 | </actions> |
| 2937 | </object> |
| 2938 | </page> |
| 2939 | |
| 2940 | <page name="filemanageroptions"> |
| 2941 | <object type="template" name="header" /> |
| 2942 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2943 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2944 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2945 | <text>%tw_fm_type% Selected:</text> |
| 2946 | </object> |
| 2947 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 2948 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2949 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 2950 | <text>%tw_filename1%</text> |
| 2951 | </object> |
| 2952 | |
| 2953 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2954 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 2955 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2956 | <text>Copy File</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2957 | <actions> |
| 2958 | <action function="set">tw_filemanager_command=cp</action> |
| 2959 | <action function="set">tw_fm_text1=Copying</action> |
| 2960 | <action function="page">choosedestinationfolder</action> |
| 2961 | </actions> |
| 2962 | </object> |
| 2963 | |
| 2964 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2965 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 2966 | <placement x="%col1_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2967 | <text>Copy Folder</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2968 | <actions> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 2969 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2970 | <action function="set">tw_fm_text1=Copying</action> |
| 2971 | <action function="page">choosedestinationfolder</action> |
| 2972 | </actions> |
| 2973 | </object> |
| 2974 | |
| 2975 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2976 | <placement x="%col2_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2977 | <text>Move</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2978 | <actions> |
| 2979 | <action function="set">tw_filemanager_command=mv</action> |
| 2980 | <action function="set">tw_fm_text1=Moving</action> |
| 2981 | <action function="page">choosedestinationfolder</action> |
| 2982 | </actions> |
| 2983 | </object> |
| 2984 | |
| 2985 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2986 | <placement x="%col1_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2987 | <text>chmod 755</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 2988 | <actions> |
| 2989 | <action function="set">tw_filemanager_command=chmod 755</action> |
| 2990 | <action function="set">tw_fm_text1=chmod 755</action> |
| 2991 | <action function="set">tw_fm_text2=</action> |
| 2992 | <action function="set">tw_fm_text3=</action> |
| 2993 | <action function="set">tw_include_text3=0</action> |
| 2994 | <action function="set">tw_back=filemanageroptions</action> |
| 2995 | <action function="page">filemanagerconfirm</action> |
| 2996 | </actions> |
| 2997 | </object> |
| 2998 | |
| 2999 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3000 | <placement x="%col2_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3001 | <text>chmod</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3002 | <actions> |
| 3003 | <action function="set">tw_filemanager_rename=0000</action> |
| 3004 | <action function="set">tw_fm_text2=</action> |
| 3005 | <action function="set">tw_fm_text3=</action> |
| 3006 | <action function="set">tw_include_text3=0</action> |
| 3007 | <action function="set">tw_back=filemanageroptions</action> |
| 3008 | <action function="page">filemanagerchmod</action> |
| 3009 | </actions> |
| 3010 | </object> |
| 3011 | |
| 3012 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3013 | <placement x="%col1_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3014 | <text>Delete</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3015 | <actions> |
| 3016 | <action function="set">tw_filemanager_command=rm -rf</action> |
| 3017 | <action function="set">tw_fm_text1=Deleting</action> |
| 3018 | <action function="set">tw_fm_text2=</action> |
| 3019 | <action function="set">tw_fm_text3=</action> |
| 3020 | <action function="set">tw_include_text3=0</action> |
| 3021 | <action function="set">tw_back=filemanageroptions</action> |
| 3022 | <action function="page">filemanagerconfirm</action> |
| 3023 | </actions> |
| 3024 | </object> |
| 3025 | |
| 3026 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3027 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3028 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3029 | <text>Rename File</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3030 | <actions> |
| 3031 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3032 | <action function="set">tw_fm_text1=Renaming</action> |
| 3033 | <action function="set">tw_filemanager_command=mv</action> |
| 3034 | <action function="page">filemanagerrenamefile</action> |
| 3035 | </actions> |
| 3036 | </object> |
| 3037 | |
| 3038 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3039 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3040 | <placement x="%col2_x%" y="%row4_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3041 | <text>Rename Folder</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3042 | <actions> |
| 3043 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3044 | <action function="set">tw_fm_text1=Renaming</action> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 3045 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3046 | <action function="page">filemanagerrenamefolder</action> |
| 3047 | </actions> |
| 3048 | </object> |
| 3049 | |
| 3050 | <object type="action"> |
| 3051 | <touch key="home" /> |
| 3052 | <action function="page">main</action> |
| 3053 | </object> |
| 3054 | |
| 3055 | <object type="action"> |
| 3056 | <touch key="back" /> |
| 3057 | <action function="page">filemanagerlist</action> |
| 3058 | </object> |
| 3059 | |
| 3060 | <object type="template" name="footer" /> |
| 3061 | </page> |
| 3062 | |
| 3063 | <page name="choosedestinationfolder"> |
| 3064 | <object type="template" name="header" /> |
| 3065 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3066 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3067 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 3068 | <text>Browse to Destination & Press Select</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3069 | </object> |
| 3070 | |
| 3071 | <object type="fileselector"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3072 | <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3073 | <text>%tw_file_location2%</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3074 | <filter folders="1" files="0" /> |
| 3075 | <path name="tw_file_location2" default="/" /> |
| 3076 | <data name="tw_filename2" /> |
| 3077 | <selection name="tw_selection2" /> |
| 3078 | </object> |
| 3079 | |
| 3080 | <object type="template" name="sort_options" /> |
| 3081 | |
| 3082 | <object type="action"> |
| 3083 | <touch key="home" /> |
| 3084 | <action function="page">main</action> |
| 3085 | </object> |
| 3086 | |
| 3087 | <object type="action"> |
| 3088 | <touch key="back" /> |
| 3089 | <action function="page">filemanageroptions</action> |
| 3090 | </object> |
| 3091 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3092 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3093 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3094 | <text>Select</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3095 | <actions> |
| 3096 | <action function="set">tw_fm_text2=to</action> |
| 3097 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3098 | <action function="set">tw_include_text3=1</action> |
| 3099 | <action function="set">tw_back=filemanageroptions</action> |
| 3100 | <action function="page">filemanagerconfirm</action> |
| 3101 | </actions> |
| 3102 | </object> |
| 3103 | </page> |
| 3104 | |
| 3105 | <page name="filemanagerrenamefile"> |
| 3106 | <object type="template" name="header" /> |
| 3107 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3108 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3109 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3110 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3111 | </object> |
| 3112 | |
| 3113 | <object type="input"> |
| 3114 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3115 | <text>%tw_filemanager_rename%</text> |
| 3116 | <data name="tw_filemanager_rename" /> |
| 3117 | <restrict minlen="1" maxlen="128" /> |
| 3118 | <actions> |
| 3119 | <action function="set">tw_fm_text2=to</action> |
| 3120 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3121 | <action function="set">tw_include_text3=1</action> |
| 3122 | <action function="set">tw_back=filemanageroptions</action> |
| 3123 | <action function="page">filemanagerconfirm</action> |
| 3124 | </actions> |
| 3125 | </object> |
| 3126 | |
| 3127 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3128 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3129 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3130 | <action function="page">filemanageroptions</action> |
| 3131 | </object> |
| 3132 | |
| 3133 | <object type="template" name="keyboardtemplate" /> |
| 3134 | |
| 3135 | <object type="action"> |
| 3136 | <touch key="home" /> |
| 3137 | <action function="page">main</action> |
| 3138 | </object> |
| 3139 | |
| 3140 | <object type="action"> |
| 3141 | <touch key="back" /> |
| 3142 | <action function="page">filemanageroptions</action> |
| 3143 | </object> |
| 3144 | |
| 3145 | <object type="template" name="footer" /> |
| 3146 | </page> |
| 3147 | |
| 3148 | <page name="filemanagerrenamefolder"> |
| 3149 | <object type="template" name="header" /> |
| 3150 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3151 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3152 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3153 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3154 | </object> |
| 3155 | |
| 3156 | <object type="input"> |
| 3157 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3158 | <text>%tw_filemanager_rename%</text> |
| 3159 | <data name="tw_filemanager_rename" /> |
| 3160 | <restrict minlen="1" maxlen="128" /> |
| 3161 | <actions> |
| 3162 | <action function="set">tw_fm_text2=to</action> |
| 3163 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3164 | <action function="set">tw_include_text3=1</action> |
| 3165 | <action function="set">tw_back=filemanageroptions</action> |
| 3166 | <action function="page">filemanagerconfirm</action> |
| 3167 | </actions> |
| 3168 | </object> |
| 3169 | |
| 3170 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3171 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3172 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3173 | <action function="page">filemanageroptions</action> |
| 3174 | </object> |
| 3175 | |
| 3176 | <object type="template" name="keyboardtemplate" /> |
| 3177 | |
| 3178 | <object type="action"> |
| 3179 | <touch key="home" /> |
| 3180 | <action function="page">main</action> |
| 3181 | </object> |
| 3182 | |
| 3183 | <object type="action"> |
| 3184 | <touch key="back" /> |
| 3185 | <action function="page">filemanageroptions</action> |
| 3186 | </object> |
| 3187 | |
| 3188 | <object type="template" name="footer" /> |
| 3189 | </page> |
| 3190 | |
| 3191 | <page name="filemanagerchmod"> |
| 3192 | <object type="template" name="header" /> |
| 3193 | |
| 3194 | <object type="text" color="%text_color%"> |
| 3195 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3196 | <font resource="font" /> |
| 3197 | <text>Please Enter New Permissions</text> |
| 3198 | </object> |
| 3199 | |
| 3200 | <object type="input"> |
| 3201 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3202 | <text>%tw_filemanager_rename%</text> |
| 3203 | <data name="tw_filemanager_rename" /> |
| 3204 | <restrict minlen="3" maxlen="4" allow="0123456789" /> |
| 3205 | <actions> |
| 3206 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3207 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3208 | <action function="set">tw_back=filemanageroptions</action> |
| 3209 | <action function="page">filemanagerconfirm</action> |
| 3210 | </actions> |
| 3211 | </object> |
| 3212 | |
| 3213 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3214 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3215 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3216 | <action function="page">filemanageroptions</action> |
| 3217 | </object> |
| 3218 | |
| 3219 | <object type="template" name="keyboardtemplate" /> |
| 3220 | |
| 3221 | <object type="action"> |
| 3222 | <touch key="home" /> |
| 3223 | <action function="page">main</action> |
| 3224 | </object> |
| 3225 | |
| 3226 | <object type="action"> |
| 3227 | <touch key="back" /> |
| 3228 | <action function="page">filemanageroptions</action> |
| 3229 | </object> |
| 3230 | |
| 3231 | <object type="template" name="footer" /> |
| 3232 | </page> |
| 3233 | |
| 3234 | <page name="filemanagerconfirm"> |
| 3235 | <object type="template" name="header" /> |
| 3236 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3237 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3238 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3239 | <text>%tw_fm_text1%</text> |
| 3240 | </object> |
| 3241 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3242 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3243 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3244 | <text>%tw_filename1%</text> |
| 3245 | </object> |
| 3246 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3247 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3248 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3249 | <text>%tw_fm_text2%</text> |
| 3250 | </object> |
| 3251 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3252 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3253 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3254 | <text>%tw_fm_text3%</text> |
| 3255 | </object> |
| 3256 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3257 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3258 | <placement x="%center_x%" y="%row10_text_y%" placement="5"/> |
| 3259 | <text>Press back button to cancel.</text> |
| 3260 | </object> |
| 3261 | |
| 3262 | <object type="slider"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3263 | <action function="page">filemanageracction</action> |
| 3264 | </object> |
| 3265 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3266 | <object type="action"> |
| 3267 | <touch key="back" /> |
| 3268 | <action function="page">%tw_back%</action> |
| 3269 | </object> |
| 3270 | |
| 3271 | <object type="action"> |
| 3272 | <touch key="home" /> |
| 3273 | <action function="page">main</action> |
| 3274 | </object> |
| 3275 | </page> |
| 3276 | |
| 3277 | <page name="filemanageracction"> |
| 3278 | <object type="template" name="header" /> |
| 3279 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3280 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3281 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3282 | <text>%tw_fm_text1%</text> |
| 3283 | </object> |
| 3284 | |
| 3285 | <object type="template" name="action_page_console" /> |
| 3286 | |
| 3287 | <object type="template" name="progress_bar" /> |
| 3288 | |
| 3289 | <object type="action"> |
| 3290 | <conditions> |
| 3291 | <condition var1="tw_operation_state" var2="1" /> |
| 3292 | <condition var1="tw_operation_status" var2="0" /> |
| 3293 | </conditions> |
| 3294 | <actions> |
| 3295 | <action function="set">tw_back=filemanagerlist</action> |
| 3296 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3297 | <action function="page">action_complete</action> |
| 3298 | </actions> |
| 3299 | </object> |
| 3300 | |
| 3301 | <object type="action"> |
| 3302 | <conditions> |
| 3303 | <condition var1="tw_operation_state" var2="1" /> |
| 3304 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3305 | </conditions> |
| 3306 | <actions> |
| 3307 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3308 | <action function="page">action_complete</action> |
| 3309 | </actions> |
| 3310 | </object> |
| 3311 | |
| 3312 | <object type="action"> |
| 3313 | <condition var1="tw_include_text3" var2="0" /> |
| 3314 | <actions> |
| 3315 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3316 | </actions> |
| 3317 | </object> |
| 3318 | |
| 3319 | <object type="action"> |
| 3320 | <condition var1="tw_include_text3" var2="1" /> |
| 3321 | <actions> |
| 3322 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3323 | </actions> |
| 3324 | </object> |
| 3325 | </page> |
| 3326 | |
| 3327 | <page name="decrypt"> |
| 3328 | <object type="template" name="header" /> |
| 3329 | |
Vojtech Bocek | 7e11ac5 | 2015-03-05 23:21:49 +0100 | [diff] [blame] | 3330 | <object type="action"> |
| 3331 | <condition var1="tw_crypto_pwtype" var2="2" /> |
| 3332 | <action function="page">decrypt_pattern</action> |
| 3333 | </object> |
| 3334 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3335 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3336 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3337 | <text>Please Enter Your Password</text> |
| 3338 | </object> |
| 3339 | |
| 3340 | <object type="input"> |
| 3341 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3342 | <text>%tw_crypto_display%</text> |
| 3343 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> |
| 3344 | <restrict minlen="1" maxlen="254" /> |
| 3345 | <actions> |
| 3346 | <action function="page">trydecrypt</action> |
| 3347 | </actions> |
| 3348 | </object> |
| 3349 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3350 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3351 | <condition var1="tw_password_fail" var2="1" /> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3352 | <font resource="font" color="%text_fail_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3353 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 3354 | <text>Password Failed, Please Try Again</text> |
| 3355 | </object> |
| 3356 | |
| 3357 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3358 | <placement x="%col_center_x%" y="%row2_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3359 | <text>Cancel</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3360 | <actions> |
| 3361 | <action function="set">tw_page_done=1</action> |
| 3362 | <action function="page">main</action> |
| 3363 | </actions> |
| 3364 | </object> |
| 3365 | |
| 3366 | <object type="template" name="keyboardtemplate" /> |
| 3367 | |
| 3368 | <object type="template" name="footer" /> |
| 3369 | </page> |
| 3370 | |
Vojtech Bocek | 7e11ac5 | 2015-03-05 23:21:49 +0100 | [diff] [blame] | 3371 | <page name="decrypt_pattern"> |
| 3372 | <object type="template" name="header" /> |
| 3373 | |
| 3374 | <object type="text"> |
| 3375 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3376 | <text>Please Enter Your Pattern</text> |
| 3377 | </object> |
| 3378 | |
| 3379 | <object type="text"> |
| 3380 | <condition var1="tw_password_fail" var2="1" /> |
| 3381 | <font resource="font" color="%text_fail_color%"/> |
| 3382 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3383 | <text>Pattern Failed, Please Try Again</text> |
| 3384 | </object> |
| 3385 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 3386 | <object type="template" name="pattern_options" /> |
| 3387 | |
Vojtech Bocek | 7e11ac5 | 2015-03-05 23:21:49 +0100 | [diff] [blame] | 3388 | <object type="patternpassword"> |
| 3389 | <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" /> |
| 3390 | <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" /> |
| 3391 | <line color="%pattern_line_color%" width="%pattern_line_width%" /> |
| 3392 | <data name="tw_crypto_password"/> |
| 3393 | <action function="page">trydecrypt</action> |
| 3394 | </object> |
| 3395 | |
| 3396 | <object type="button"> |
| 3397 | <placement x="%col_center_x%" y="%row4_y%" /> |
| 3398 | <text>Cancel</text> |
| 3399 | <actions> |
| 3400 | <action function="set">tw_page_done=1</action> |
| 3401 | <action function="page">main</action> |
| 3402 | </actions> |
| 3403 | </object> |
| 3404 | |
| 3405 | <object type="template" name="footer" /> |
| 3406 | </page> |
| 3407 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3408 | <page name="trydecrypt"> |
| 3409 | <object type="template" name="header" /> |
| 3410 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3411 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3412 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3413 | <text>Trying Decryption with Your Password</text> |
| 3414 | </object> |
| 3415 | |
| 3416 | <object type="template" name="action_page_console" /> |
| 3417 | |
| 3418 | <object type="template" name="progress_bar" /> |
| 3419 | |
| 3420 | <object type="action"> |
| 3421 | <action function="decrypt"></action> |
| 3422 | </object> |
| 3423 | |
| 3424 | <object type="action"> |
| 3425 | <conditions> |
| 3426 | <condition var1="tw_operation_state" var2="1" /> |
| 3427 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3428 | </conditions> |
| 3429 | <actions> |
| 3430 | <action function="set">tw_password_fail=1</action> |
| 3431 | <action function="page">decrypt</action> |
| 3432 | </actions> |
| 3433 | </object> |
| 3434 | |
| 3435 | <object type="action"> |
| 3436 | <conditions> |
| 3437 | <condition var1="tw_operation_state" var2="1" /> |
| 3438 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 3439 | </conditions> |
| 3440 | <actions> |
| 3441 | <action function="set">tw_page_done=1</action> |
| 3442 | <action function="page">main</action> |
| 3443 | </actions> |
| 3444 | </object> |
| 3445 | </page> |
| 3446 | |
| 3447 | <page name="terminalfolder"> |
| 3448 | <object type="template" name="header" /> |
| 3449 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3450 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3451 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3452 | <text>Browse to Starting Folder</text> |
| 3453 | </object> |
| 3454 | |
| 3455 | <object type="fileselector"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3456 | <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3457 | <text>%tw_terminal_location%</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3458 | <filter folders="1" files="0" /> |
| 3459 | <path name="tw_terminal_location" default="/" /> |
| 3460 | <data name="tw_terminal" /> |
| 3461 | <selection name="tw_terminal_selection" /> |
| 3462 | </object> |
| 3463 | |
| 3464 | <object type="template" name="sort_options" /> |
| 3465 | |
| 3466 | <object type="action"> |
| 3467 | <touch key="home" /> |
| 3468 | <action function="page">main</action> |
| 3469 | </object> |
| 3470 | |
| 3471 | <object type="action"> |
| 3472 | <touch key="back" /> |
| 3473 | <action function="page">advanced</action> |
| 3474 | </object> |
| 3475 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3476 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3477 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3478 | <text>Select</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3479 | <actions> |
| 3480 | <action function="page">terminalcommand</action> |
| 3481 | </actions> |
| 3482 | </object> |
| 3483 | </page> |
| 3484 | |
| 3485 | <page name="terminalcommand"> |
| 3486 | <object type="template" name="header" /> |
| 3487 | |
| 3488 | <object type="console"> |
| 3489 | <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3490 | </object> |
| 3491 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3492 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3493 | <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3494 | <text>Starting Path: %tw_terminal_location%</text> |
| 3495 | </object> |
| 3496 | |
| 3497 | <object type="input"> |
| 3498 | <condition var1="tw_terminal_state" var2="0" /> |
| 3499 | <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3500 | <text>%tw_terminal_command%</text> |
Matt Mower | 5aa29ab | 2015-02-25 23:50:55 -0600 | [diff] [blame] | 3501 | <font resource="fixed" color="%text_color%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3502 | <data name="tw_terminal_command" /> |
| 3503 | <restrict minlen="1" /> |
| 3504 | <action function="terminalcommand">%tw_terminal_command%</action> |
| 3505 | </object> |
| 3506 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3507 | <object type="button" style="mediumbutton"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3508 | <condition var1="tw_terminal_state" var2="1" /> |
| 3509 | <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3510 | <text>KILL</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3511 | <action function="killterminal"></action> |
| 3512 | </object> |
| 3513 | |
| 3514 | <object type="template" name="keyboardtemplate" /> |
| 3515 | |
| 3516 | <object type="action"> |
| 3517 | <touch key="home" /> |
| 3518 | <action function="page">main</action> |
| 3519 | </object> |
| 3520 | |
| 3521 | <object type="action"> |
| 3522 | <touch key="back" /> |
| 3523 | <action function="page">terminalfolder</action> |
| 3524 | </object> |
| 3525 | </page> |
| 3526 | |
| 3527 | <page name="sideload"> |
| 3528 | <object type="template" name="header" /> |
| 3529 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3530 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3531 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3532 | <text>ADB Sideload</text> |
| 3533 | </object> |
| 3534 | |
| 3535 | <object type="checkbox"> |
| 3536 | <placement x="%col1_x%" y="%row2_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3537 | <text>Wipe Dalvik Cache.</text> |
| 3538 | <data variable="tw_wipe_dalvik" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3539 | </object> |
| 3540 | |
| 3541 | <object type="checkbox"> |
| 3542 | <placement x="%col1_x%" y="%row3_text_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3543 | <text>Wipe Cache.</text> |
| 3544 | <data variable="tw_wipe_cache" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3545 | </object> |
| 3546 | |
| 3547 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3548 | <text>Swipe to Start Sideload</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3549 | <actions> |
| 3550 | <action function="set">tw_back=advanced</action> |
| 3551 | <action function="set">tw_action=adbsideload</action> |
| 3552 | <action function="set">tw_action_text1=ADB Sideload</action> |
| 3553 | <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> |
| 3554 | <action function="set">tw_complete_text1=ADB Sideload Complete</action> |
| 3555 | <action function="set">tw_has_cancel=1</action> |
| 3556 | <action function="set">tw_show_reboot=1</action> |
| 3557 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 3558 | <action function="page">action_page</action> |
| 3559 | </actions> |
| 3560 | </object> |
| 3561 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3562 | <object type="action"> |
| 3563 | <touch key="home" /> |
| 3564 | <action function="page">main</action> |
| 3565 | </object> |
| 3566 | |
| 3567 | <object type="action"> |
| 3568 | <touch key="back" /> |
| 3569 | <action function="page">advanced</action> |
| 3570 | </object> |
| 3571 | </page> |
| 3572 | |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3573 | <page name="fixperms"> |
| 3574 | <object type="template" name="header" /> |
| 3575 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3576 | <object type="text"> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3577 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3578 | <text>Fix Permissions</text> |
| 3579 | </object> |
| 3580 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3581 | <object type="text"> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3582 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 3583 | <text>Note: Fixing permissions is rarely needed.</text> |
| 3584 | </object> |
| 3585 | |
| 3586 | <object type="checkbox"> |
| 3587 | <placement x="%col1_x%" y="%row3_text_y%" /> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3588 | <text>Also fix SELinux contexts</text> |
| 3589 | <data variable="tw_fixperms_restorecon" /> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3590 | </object> |
| 3591 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3592 | <object type="text"> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3593 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 3594 | <text>Fixing SELinux contexts may cause</text> |
| 3595 | </object> |
| 3596 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3597 | <object type="text"> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3598 | <placement x="%col1_x%" y="%row5_text_y%" /> |
| 3599 | <text>your device to not boot properly.</text> |
| 3600 | </object> |
| 3601 | |
| 3602 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3603 | <text>Swipe to Fix Permissions</text> |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3604 | <actions> |
| 3605 | <action function="set">tw_back=advanced</action> |
| 3606 | <action function="set">tw_action=fixpermissions</action> |
| 3607 | <action function="set">tw_action_text1=Fixing Permissions...</action> |
| 3608 | <action function="set">tw_complete_text1=Fix Permissions Complete</action> |
| 3609 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 3610 | <action function="set">tw_show_reboot=1</action> |
| 3611 | <action function="page">action_page</action> |
| 3612 | </actions> |
| 3613 | </object> |
| 3614 | |
that | a3d31fb | 2014-12-21 22:27:40 +0100 | [diff] [blame] | 3615 | <object type="action"> |
| 3616 | <touch key="home" /> |
| 3617 | <action function="page">main</action> |
| 3618 | </object> |
| 3619 | |
| 3620 | <object type="action"> |
| 3621 | <touch key="back" /> |
| 3622 | <action function="page">advanced</action> |
| 3623 | </object> |
| 3624 | |
| 3625 | <object type="template" name="footer" /> |
| 3626 | </page> |
| 3627 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3628 | <page name="installsu"> |
| 3629 | <object type="template" name="header" /> |
| 3630 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3631 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3632 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3633 | <text>Install SuperSU?</text> |
| 3634 | </object> |
| 3635 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3636 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3637 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3638 | <text>Your device does not appear to be rooted.</text> |
| 3639 | </object> |
| 3640 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3641 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3642 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3643 | <text>Install SuperSU now?</text> |
| 3644 | </object> |
| 3645 | |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3646 | <object type="text"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3647 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3648 | <text>This will root your device.</text> |
| 3649 | </object> |
| 3650 | |
| 3651 | <object type="button"> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3652 | <placement x="%col_center_x%" y="%row3_y%" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3653 | <text>Do Not Install</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3654 | <action function="set">tw_page_done=1</action> |
| 3655 | </object> |
| 3656 | |
| 3657 | <object type="slider"> |
Ethan Yonker | 21ff02a | 2015-02-18 14:35:00 -0600 | [diff] [blame] | 3658 | <text>Swipe to Install</text> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3659 | <actions> |
| 3660 | <action function="set">tw_action=installsu</action> |
| 3661 | <action function="set">tw_action_text1=Installing SuperSU</action> |
| 3662 | <action function="set">tw_action_text2=</action> |
| 3663 | <action function="page">singleaction_page</action> |
| 3664 | </actions> |
| 3665 | </object> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3666 | </page> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 3667 | |
| 3668 | <page name="system_readonly"> |
| 3669 | <object type="template" name="header" /> |
| 3670 | |
| 3671 | <object type="text"> |
| 3672 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
Ethan Yonker | 961d20e | 2015-06-29 14:00:03 -0500 | [diff] [blame] | 3673 | <text>Keep System Read Only?</text> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 3674 | </object> |
| 3675 | |
| 3676 | <object type="text"> |
| 3677 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3678 | <text>TWRP can leave your system partition unmodified</text> |
| 3679 | </object> |
| 3680 | |
| 3681 | <object type="text"> |
| 3682 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 3683 | <text>to make it easier for you to take official updates.</text> |
| 3684 | </object> |
| 3685 | |
| 3686 | <object type="text"> |
| 3687 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 3688 | <text>TWRP will be unable to prevent the stock ROM from</text> |
| 3689 | </object> |
| 3690 | |
| 3691 | <object type="text"> |
| 3692 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 3693 | <text>replacing TWRP and will not offer to root your device.</text> |
| 3694 | </object> |
| 3695 | |
| 3696 | <object type="text"> |
| 3697 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 3698 | <text>Installing zips or performing adb operations may still</text> |
| 3699 | </object> |
| 3700 | |
| 3701 | <object type="text"> |
| 3702 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 3703 | <text>modify the system partition.</text> |
| 3704 | </object> |
| 3705 | |
| 3706 | <object type="checkbox"> |
| 3707 | <condition var1="tw_is_encrypted" var2="0" /> |
| 3708 | <placement x="%col1_x%" y="%row7_text_y%" /> |
| 3709 | <text>Never show this screen during boot again</text> |
| 3710 | <data variable="tw_never_show_system_ro_page" /> |
| 3711 | </object> |
| 3712 | |
| 3713 | <object type="button"> |
| 3714 | <placement x="%col_center_x%" y="%row9_text_y%" /> |
| 3715 | <text>Keep Read Only</text> |
| 3716 | <actions> |
Ethan Yonker | d6966f4 | 2015-05-30 14:52:16 -0500 | [diff] [blame] | 3717 | <action function="mountsystemtoggle">1</action> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 3718 | <action function="set">tw_page_done=1</action> |
| 3719 | <action function="page">%tw_back%</action> |
| 3720 | </actions> |
| 3721 | </object> |
| 3722 | |
| 3723 | <object type="slider"> |
| 3724 | <text>Swipe to Allow Modifications</text> |
| 3725 | <actions> |
Ethan Yonker | d6966f4 | 2015-05-30 14:52:16 -0500 | [diff] [blame] | 3726 | <action function="mountsystemtoggle">0</action> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 3727 | <action function="set">tw_page_done=1</action> |
| 3728 | <action function="page">%tw_back%</action> |
| 3729 | </actions> |
| 3730 | </object> |
| 3731 | </page> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 3732 | </pages> |
| 3733 | </recovery> |