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