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