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