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