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