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